@media (max-width: 860px) {
  body.gcrm-mobile-drawer-open {
    overflow: hidden !important;
  }

  .gcrm-mobile-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 999998;
    background: rgba(35, 25, 12, .46);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease;
  }

  body.gcrm-mobile-drawer-open .gcrm-mobile-drawer-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .gcrm-mobile-drawer-host {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(94vw, 470px);
    max-width: 94vw;
    height: 100dvh;
    z-index: 999999;
    background: #fffaf0;
    border-left: 1px solid rgba(166, 124, 55, .35);
    border-radius: 24px 0 0 24px;
    box-shadow: -18px 0 48px rgba(45, 31, 12, .30);
    transform: translateX(105%);
    opacity: 0;
    visibility: hidden;
    transition: transform .24s ease, opacity .18s ease, visibility .18s ease;
    display: flex;
    flex-direction: column;
  }

  body.gcrm-mobile-drawer-open .gcrm-mobile-drawer-host {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .gcrm-mobile-drawer-header {
    flex: 0 0 auto;
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    background: linear-gradient(135deg, #fff7df 0%, #f3e7cb 100%);
    border-bottom: 1px solid rgba(166, 124, 55, .28);
    border-radius: 24px 0 0 0;
  }

  .gcrm-mobile-drawer-title {
    margin: 0;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 800;
    color: #3a2a14;
  }

  .gcrm-mobile-drawer-close {
    border: 1px solid rgba(166, 124, 55, .35);
    background: #fffaf0;
    color: #5c3d13;
    border-radius: 999px;
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 1;
    font-weight: 800;
    cursor: pointer;
  }

  .gcrm-mobile-drawer-content {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding: 12px;
    background: #fffaf0;
  }

  .gcrm-mobile-drawer-content > * {
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    border-radius: 16px !important;
    box-shadow: none !important;
  }

  .gcrm-mobile-drawer-content textarea,
  .gcrm-mobile-drawer-content input,
  .gcrm-mobile-drawer-content select,
  .gcrm-mobile-drawer-content button {
    max-width: 100% !important;
  }

  .gcrm-mobile-drawer-content textarea {
    min-height: 140px !important;
  }

  .gcrm-mobile-selected-row {
    outline: 3px solid rgba(124, 85, 24, .25) !important;
    outline-offset: -3px !important;
  }

  .gcrm-mobile-drawer-placeholder {
    display: none !important;
  }
}
