/* BitePDF editor mobile final overrides.
   Loaded after the large legacy stylesheet so phone layout stays readable. */

@media (max-width: 760px) {
  body[data-has-docs="false"] .drop-panel,
  body[data-has-docs="false"] .drop-panel h2,
  body[data-has-docs="false"] .drop-panel p,
  body[data-has-docs="false"] .drop-panel small {
    color: #111827 !important;
  }

  body[data-has-docs="false"] .drop-panel {
    background: #fffaf2 !important;
    border-color: #dfd0b9 !important;
  }

  body[data-has-docs="false"] .drop-panel p,
  body[data-has-docs="false"] .drop-panel small {
    color: #4b5563 !important;
  }

  body[data-has-docs="true"] .topbar,
  body[data-has-docs="true"] .workspace,
  body[data-has-docs="true"] .preview-toolbar,
  body[data-has-docs="true"] .workspace-actions,
  body[data-has-docs="true"] .preview-stage,
  body[data-has-docs="true"] .preview-shell,
  body[data-has-docs="true"] .status-strip {
    color: #111827 !important;
    background-color: #fffaf2 !important;
    background-image:
      linear-gradient(rgba(15, 23, 42, 0.055) 1px, transparent 1px),
      linear-gradient(90deg, rgba(15, 23, 42, 0.055) 1px, transparent 1px) !important;
    border-color: #dfd0b9 !important;
  }

  body[data-has-docs="true"] .workspace {
    padding: 12px 12px calc(96px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body[data-has-docs="true"] .preview-toolbar,
  body[data-has-docs="true"] .workspace-actions {
    gap: 8px !important;
    padding: 8px !important;
    border-radius: 18px !important;
  }

  body[data-has-docs="true"] .workspace-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    overflow: visible !important;
  }

  body[data-has-docs="true"][data-mobile-mode] .workspace-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body[data-has-docs="true"] .workspace-actions > button:nth-of-type(n + 5) {
    display: none !important;
  }

  body[data-has-docs="true"] .workspace-actions button {
    min-width: 0 !important;
    width: 100% !important;
    min-height: 48px !important;
    padding: 0 10px !important;
    overflow: hidden !important;
    color: #111827 !important;
    background: #fffdfa !important;
    border-color: #d9c8ac !important;
    font-size: 0 !important;
    white-space: nowrap !important;
  }

  body[data-has-docs="true"] .workspace-actions button::after {
    content: attr(data-short-label) !important;
    display: block !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    color: #111827 !important;
    font-size: 15px !important;
    line-height: 1 !important;
  }

  body[data-has-docs="true"] .workspace-actions button::before {
    display: none !important;
  }

  body[data-has-docs="true"] .workspace-actions button.active::after {
    color: #fffaf2 !important;
  }

  body[data-has-docs="true"] .workspace-more {
    display: block !important;
    grid-column: span 2 !important;
  }

  body[data-has-docs="true"] .workspace-more summary {
    width: 100% !important;
    min-height: 42px !important;
    justify-content: center !important;
    color: #111827 !important;
    background: #f4ead9 !important;
    border-color: #d9c8ac !important;
    font-size: 13px !important;
  }

  body[data-has-docs="true"] .multi-doc-card {
    color: #111827 !important;
    background: #fffdfa !important;
    border-color: #d9c8ac !important;
  }
}

body[data-modal-open="access"] .sidebar-resizer,
body[data-modal-open="access"] .sidebar-resizer::after {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Mobile production polish: keep the upload path simple, prevent the header
   controls from stacking, and hide navigation chrome while a modal is active. */
@media (max-width: 760px) {
  .brand-mark {
    overflow: hidden !important;
    display: inline-grid !important;
    place-items: center !important;
    flex: 0 0 auto !important;
  }

  .brand-mark img,
  .brand-mark svg {
    display: block !important;
    width: 76% !important;
    height: 76% !important;
    object-fit: contain !important;
  }

  body[data-has-docs="false"] .brand-mark img,
  body[data-has-docs="false"] .brand-mark svg {
    width: 72% !important;
    height: 72% !important;
    padding: 0 !important;
  }

  body[data-has-docs="true"] .topbar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas:
      "brand menu"
      "open download" !important;
    gap: 12px !important;
    align-items: center !important;
    padding: 14px 16px 12px !important;
    background: #fffaf2 !important;
    border-bottom: 1px solid rgba(34, 24, 16, 0.14) !important;
  }

  body[data-has-docs="true"] .brand {
    grid-area: brand !important;
    max-width: 190px !important;
    min-width: 0 !important;
    gap: 10px !important;
    overflow: hidden !important;
    color: #16110c !important;
  }

  body[data-has-docs="true"] .brand-mark {
    width: 44px !important;
    height: 44px !important;
    flex: 0 0 44px !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #fffdfa !important;
  }

  body[data-has-docs="true"] .brand-mark img,
  body[data-has-docs="true"] .brand-mark svg {
    width: 82% !important;
    height: 82% !important;
    padding: 0 !important;
    object-fit: contain !important;
  }

  body[data-has-docs="true"] .mobile-menu-button {
    grid-area: menu !important;
    display: inline-grid !important;
    width: 52px !important;
    height: 52px !important;
    border-radius: 18px !important;
  }

  body[data-has-docs="true"] .toolbar {
    grid-area: open !important;
    display: block !important;
    min-width: 0 !important;
  }

  body[data-has-docs="true"] .toolbar .tool-button:not(#openButton) {
    display: none !important;
  }

  body[data-has-docs="true"] #openButton,
  body[data-has-docs="true"] #downloadButton {
    width: 100% !important;
    min-height: 58px !important;
    justify-content: center !important;
    border-radius: 18px !important;
    font-size: 18px !important;
  }

  body[data-has-docs="true"] .top-actions {
    grid-area: download !important;
    display: block !important;
    min-width: 0 !important;
  }

  body[data-has-docs="true"] .top-actions > :not(#downloadButton) {
    display: none !important;
  }

  body[data-modal-open="access"] .mobile-mode-tabs,
  body[data-processing="true"] .mobile-mode-tabs,
  body.mobile-processing-active .mobile-mode-tabs {
    display: none !important;
  }

  body[data-has-docs="true"] .preview-toolbar {
    padding: 10px !important;
    gap: 10px !important;
  }

  body[data-has-docs="true"] .zoom-controls {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 8px !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  body[data-has-docs="true"] #rotateLeftButton,
  body[data-has-docs="true"] #rotateRightButton,
  body[data-has-docs="true"] #toggleIncludeButton {
    display: none !important;
  }

  body[data-has-docs="true"] .workspace-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    padding: 10px !important;
  }

  body[data-has-docs="true"] .workspace-actions > button:nth-of-type(n + 3),
  body[data-has-docs="true"] .workspace-more {
    display: none !important;
  }

  body[data-has-docs="true"] .workspace-actions > button {
    min-height: 58px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    border-radius: 16px !important;
    font-size: 18px !important;
  }

  .mobile-processing-card {
    border-radius: 30px !important;
    background: #fffaf2 !important;
    border-color: #d8c7aa !important;
    box-shadow: 0 30px 80px rgba(17, 13, 9, 0.32) !important;
    color: #111827 !important;
  }

  .mobile-processing-icon {
    background: #ffffff !important;
    animation: bitepdf-mobile-processing-pulse 1.2s ease-in-out infinite !important;
  }

  .mobile-processing-icon svg {
    stroke: #16110c !important;
  }

  .mobile-processing-bar span {
    background: linear-gradient(90deg, #f3a869, #d7b870) !important;
  }

  .mobile-processing-copy strong,
  .mobile-processing-copy span {
    color: #111827 !important;
  }

  .mobile-processing-copy span {
    color: #315cf4 !important;
  }

  .mobile-processing-card p {
    color: #475569 !important;
  }

  @keyframes bitepdf-mobile-processing-pulse {
    0%,
    100% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(216, 183, 122, 0.24);
    }
    50% {
      transform: scale(1.035);
      box-shadow: 0 0 0 18px rgba(216, 183, 122, 0);
    }
  }
}

/* Mobile landing lock.
   The phone entry point should be upload-first, not a compressed copy of the full editor. */
@media (max-width: 760px) {
  body[data-has-docs="false"] {
    background: #fffaf2 !important;
    color: #111827 !important;
  }

  body[data-has-docs="false"] .workspace {
    min-height: calc(100svh - 112px) !important;
    padding: 18px 18px calc(28px + env(safe-area-inset-bottom, 0px)) !important;
    display: block !important;
    overflow: auto !important;
    background:
      radial-gradient(circle at 50% 14%, rgba(216, 183, 122, 0.18), transparent 38%),
      #fffaf2 !important;
  }

  body[data-has-docs="false"] .mobile-mode-tabs,
  body[data-has-docs="false"] .toolbar,
  body[data-has-docs="false"] .top-actions,
  body[data-has-docs="false"] .mobile-app-intro,
  body[data-has-docs="false"] .entry-hero,
  body[data-has-docs="false"] .mobile-start-panel,
  body[data-has-docs="false"] .drop-capabilities,
  body[data-has-docs="false"] .drop-panel h2,
  body[data-has-docs="false"] .drop-panel p,
  body[data-has-docs="false"] .drop-panel small {
    display: none !important;
  }

  body[data-has-docs="false"] .drop-screen {
    width: min(100%, 420px) !important;
    min-height: calc(100svh - 156px) !important;
    margin: 0 auto !important;
    padding: 4px 0 24px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 16px !important;
    text-align: center !important;
  }

  body[data-has-docs="false"] .drop-screen::before {
    content: "Compress PDF";
    order: 0;
    display: block;
    margin-top: 10px;
    color: #111827;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 13vw, 58px);
    font-weight: 900;
    line-height: 0.96;
    letter-spacing: 0;
  }

  body[data-has-docs="false"] .drop-screen::after {
    content: "Upload a PDF, shrink it, preview it, then download.";
    order: 1;
    max-width: 340px;
    color: #334155;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.35;
    display: none;
  }

  body[data-has-docs="false"] .drop-panel {
    order: 2;
    width: min(100%, 360px) !important;
    min-height: min(56svh, 430px) !important;
    margin: 12px auto 0 !important;
    padding: 26px 22px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 24px !important;
    border: 2px dashed rgba(17, 24, 39, 0.22) !important;
    border-radius: 30px !important;
    background: #f3a869 !important;
    box-shadow: 0 22px 46px rgba(61, 45, 28, 0.18) !important;
  }

  body[data-has-docs="false"] .drop-panel svg {
    order: 0;
    width: 116px !important;
    height: 116px !important;
    padding: 28px !important;
    border-radius: 999px !important;
    color: #111827 !important;
    background: #fffaf2 !important;
    border: 0 !important;
    stroke-width: 1.8 !important;
    filter: drop-shadow(0 12px 26px rgba(61, 45, 28, 0.2)) !important;
  }

  body[data-has-docs="false"] .primary-drop-button {
    order: 1;
    width: 100% !important;
    min-height: 70px !important;
    padding: 0 24px !important;
    border: 0 !important;
    border-radius: 18px !important;
    color: #111827 !important;
    background: #fffaf2 !important;
    box-shadow: 0 12px 26px rgba(61, 45, 28, 0.12) !important;
    font-size: 24px !important;
    font-weight: 950 !important;
    letter-spacing: 0 !important;
  }

  body[data-has-docs="false"] .topbar {
    min-height: 92px !important;
    padding: 16px 22px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #fffaf2 !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  body[data-has-docs="false"] .brand {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    color: #111827 !important;
    font-size: 27px !important;
    font-weight: 950 !important;
    text-decoration: none !important;
  }

  body[data-has-docs="false"] .brand-mark {
    width: 48px !important;
    height: 48px !important;
    border-radius: 15px !important;
    background: #fff !important;
    box-shadow: 0 10px 24px rgba(61, 45, 28, 0.12) !important;
  }

  body[data-has-docs="false"] .mobile-menu-button {
    position: static !important;
    display: inline-flex !important;
    width: 58px !important;
    height: 58px !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 19px !important;
    border: 1px solid rgba(17, 24, 39, 0.12) !important;
    background: #111827 !important;
    box-shadow: 0 12px 28px rgba(61, 45, 28, 0.16) !important;
  }

  body[data-has-docs="false"] .mobile-menu-button span {
    background: #fffaf2 !important;
  }

  body[data-has-docs="false"] .left-rail,
  body[data-has-docs="false"] .asset-tray,
  body[data-has-docs="false"] .status-strip {
    display: none !important;
  }

  body[data-has-docs="false"] .workspace {
    min-height: calc(100svh - 92px) !important;
    padding: 8px 18px calc(22px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body[data-has-docs="false"] .drop-screen {
    min-height: calc(100svh - 124px) !important;
    padding: 0 0 22px !important;
    gap: 18px !important;
  }

  body[data-has-docs="false"] .drop-screen::before {
    margin-top: 2px !important;
  }

  body[data-has-docs="false"] .drop-screen::after {
    content: "" !important;
    display: none !important;
  }

  body[data-has-docs="false"] .drop-panel {
    width: min(100%, 370px) !important;
    min-height: min(64svh, 500px) !important;
    margin-top: 0 !important;
  }

  body[data-has-docs="false"] .drop-panel svg {
    flex: 0 0 auto !important;
  }
}

/* Final mobile fit/readability pass. Keep the phone path upload-first and make
   the post-compression checkout surface readable instead of heavy/dark. */
@media (max-width: 760px) {
  body[data-has-docs="false"] .topbar {
    min-height: 76px !important;
    padding: 12px 16px !important;
  }

  body[data-has-docs="false"] .brand {
    max-width: calc(100vw - 92px) !important;
    min-width: 0 !important;
    gap: 9px !important;
    overflow: hidden !important;
    font-size: 24px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  body[data-has-docs="false"] .brand-mark {
    width: 44px !important;
    height: 44px !important;
    flex: 0 0 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
  }

  body[data-has-docs="false"] .brand-mark img,
  body[data-has-docs="false"] .brand-mark svg {
    width: 84% !important;
    height: 84% !important;
    padding: 0 !important;
    object-fit: contain !important;
  }

  body[data-has-docs="false"] .mobile-menu-button {
    width: 48px !important;
    height: 48px !important;
    flex: 0 0 48px !important;
    border-radius: 17px !important;
  }

  body[data-has-docs="false"] .workspace {
    min-height: calc(100svh - 76px) !important;
    padding: 2px 18px calc(20px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body[data-has-docs="false"] .drop-screen {
    min-height: calc(100svh - 106px) !important;
  }

  #accessModal {
    padding: 12px !important;
    background: rgba(15, 23, 42, 0.42) !important;
    align-items: center !important;
  }

  #accessModal .modal {
    width: min(100%, 430px) !important;
    max-height: calc(100svh - 24px) !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    overflow: auto !important;
    border-radius: 28px !important;
    border: 1px solid #e5c884 !important;
    background: #fffaf2 !important;
    color: #111827 !important;
    box-shadow: 0 30px 70px rgba(17, 24, 39, 0.28) !important;
  }

  #accessModal .modal-auth,
  #accessModal .modal-plans {
    padding: 24px 22px !important;
    background: #fffaf2 !important;
    border: 0 !important;
    color: #111827 !important;
  }

  #accessModal .modal-auth {
    padding-bottom: 10px !important;
  }

  #accessModal .modal-plans {
    padding-top: 8px !important;
    gap: 10px !important;
  }

  #accessModal .modal-close {
    top: 14px !important;
    right: 14px !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 16px !important;
    color: #fffaf2 !important;
    background: #1f1712 !important;
    border: 1px solid #d9b96e !important;
  }

  #accessModal .modal-auth .eyebrow,
  #accessModal .launch-promo-note span,
  #accessModal .unlock-result span {
    color: #8a5b16 !important;
  }

  #accessModal .modal-auth h2,
  #accessModal .modal-auth p,
  #accessModal .modal-auth label,
  #accessModal .modal-auth strong,
  #accessModal .modal-plans,
  #accessModal .modal-plans strong,
  #accessModal .plan-button,
  #accessModal .plan-button strong,
  #accessModal .plan-button small,
  #accessModal .local-pricing-note,
  #accessModal .launch-promo-note,
  #accessModal .launch-promo-note small,
  #accessModal .modal-note,
  #accessModal .checkout-stage {
    color: #111827 !important;
  }

  #accessModal .modal-auth h2 {
    max-width: calc(100% - 48px) !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: clamp(32px, 9vw, 44px) !important;
    line-height: 1.03 !important;
    letter-spacing: 0 !important;
  }

  #accessModal .modal-auth > p:not(.eyebrow) {
    font-size: 16px !important;
    line-height: 1.45 !important;
  }

  #accessModal .unlock-result,
  #accessModal .checkout-stage,
  #accessModal .launch-promo-note,
  #accessModal .local-pricing-note {
    background: #fffdfa !important;
    border: 1px solid #e5c884 !important;
    border-radius: 18px !important;
  }

  #accessModal .unlock-result strong,
  #accessModal .unlock-result .positive,
  #accessModal .unlock-result .negative {
    color: #111827 !important;
  }

  #accessModal .modal-plan-trust {
    display: none !important;
  }

  #accessModal .plan-button {
    min-height: 78px !important;
    grid-template-columns: 1fr auto !important;
    align-items: center !important;
    padding: 16px !important;
    border-radius: 18px !important;
    background: #fffdfa !important;
    border: 1px solid #e5c884 !important;
  }

  #accessModal .plan-button.recommended {
    background: #fff3dc !important;
    box-shadow: 0 0 0 3px rgba(216, 183, 122, 0.2) !important;
  }

  #accessModal .plan-button span {
    color: #8a5b16 !important;
    font-size: 13px !important;
  }

  #accessModal .plan-button strong {
    color: #9a6416 !important;
    font-size: 30px !important;
  }

  #accessModal .plan-button small {
    grid-column: 1 / -1 !important;
    color: #475569 !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
  }

  #accessModal .wide-button.primary,
  #accessModal #clerkSignInButton {
    background: #111827 !important;
    color: #fffaf2 !important;
    border-color: #111827 !important;
  }

  #accessModal .modal {
    gap: 14px !important;
  }

  #accessModal .local-pricing-note {
    font-size: 14px !important;
    line-height: 1.35 !important;
    padding: 12px 14px !important;
  }

  #accessModal .launch-promo-note {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    gap: 4px 10px !important;
    padding: 12px 14px !important;
  }

  #accessModal .launch-promo-note span,
  #accessModal .launch-promo-note strong,
  #accessModal .launch-promo-note code,
  #accessModal .launch-promo-note small {
    min-width: 0 !important;
  }

  #accessModal .launch-promo-note small {
    grid-column: 1 / -1 !important;
  }

  #accessModal .modal-note {
    background: #fff8e8 !important;
    border: 1px solid #e5c884 !important;
    border-radius: 14px !important;
    padding: 11px 12px !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    font-weight: 800 !important;
  }

  #accessModal .checkout-stage {
    padding: 12px 14px !important;
    gap: 10px !important;
  }

  #accessModal .checkout-stage strong {
    color: #111827 !important;
    font-size: 15px !important;
  }

  #accessModal .checkout-stage p {
    margin-top: 2px !important;
    color: #475569 !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
  }

  #accessModal .plan-button {
    min-height: 66px !important;
    padding: 13px 14px !important;
  }

  #accessModal .plan-button strong {
    font-size: 26px !important;
  }
}

@media (max-width: 760px) {
  body[data-has-docs="true"][data-mobile-mode="preview"] .viewport-edit-tools {
    display: flex !important;
    gap: 8px !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    padding: 8px !important;
    margin: 0 12px 8px !important;
    border: 1px solid #2f2318 !important;
    border-radius: 16px !important;
    background: rgba(24, 17, 12, 0.92) !important;
    scrollbar-width: none !important;
  }

  body[data-has-docs="true"][data-mobile-mode="preview"] .viewport-edit-tools::-webkit-scrollbar {
    display: none !important;
  }

  body[data-has-docs="true"][data-mobile-mode="preview"] .viewport-edit-tools .tool-button {
    flex: 0 0 auto !important;
    min-height: 42px !important;
    padding: 8px 13px !important;
    white-space: nowrap !important;
  }
}

/* Final phone entry guard: allow a short scroll path and show the support footer. */
.mobile-empty-footer {
  display: none;
}

@media (max-width: 760px) {
  body[data-has-docs="false"] {
    overflow: hidden !important;
  }

  body[data-has-docs="false"] .app-shell {
    min-height: 100svh !important;
    overflow: hidden !important;
  }

  body[data-has-docs="false"] .workspace {
    min-height: calc(100svh - 76px) !important;
    max-height: calc(100svh - 76px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 8px 18px calc(28px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body[data-has-docs="false"] .drop-screen {
    width: min(100%, 420px) !important;
    min-height: auto !important;
    margin: 0 auto !important;
    padding: 0 0 30px !important;
    gap: 16px !important;
    isolation: isolate !important;
  }

  body[data-has-docs="false"] .drop-panel {
    min-height: clamp(310px, 52svh, 430px) !important;
    margin-top: 2px !important;
  }

  body[data-has-docs="false"] .mobile-start-panel {
    order: 3 !important;
    display: grid !important;
    width: 100% !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  body[data-has-docs="false"] .mobile-start-panel button {
    min-width: 0 !important;
    min-height: 86px !important;
    display: grid !important;
    align-content: center !important;
    justify-items: start !important;
    gap: 5px !important;
    padding: 13px !important;
    border: 1px solid rgba(74, 56, 39, 0.28) !important;
    border-radius: 18px !important;
    color: #111827 !important;
    background: rgba(255, 250, 242, 0.92) !important;
    box-shadow: none !important;
    text-align: left !important;
  }

  body[data-has-docs="false"] .mobile-start-panel button strong,
  body[data-has-docs="false"] .mobile-start-panel button span {
    color: #111827 !important;
  }

  body[data-has-docs="false"] .mobile-start-panel button > span:last-child {
    font-size: 12px !important;
    line-height: 1.2 !important;
    color: #6b5f52 !important;
  }

  body[data-has-docs="false"] .mobile-tool-icon {
    width: 28px !important;
    height: 28px !important;
    display: grid !important;
    place-items: center !important;
    color: #111827 !important;
  }

  body[data-has-docs="false"] .mobile-tool-icon svg {
    width: 22px !important;
    height: 22px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.9 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
  }

  body[data-has-docs="false"] .mobile-empty-footer {
    order: 4 !important;
    display: grid !important;
    width: 100% !important;
    gap: 10px !important;
    margin-top: 2px !important;
    padding: 16px !important;
    border: 1px solid rgba(74, 56, 39, 0.3) !important;
    border-radius: 20px !important;
    color: #111827 !important;
    background: rgba(255, 250, 242, 0.92) !important;
    text-align: left !important;
  }

  body[data-has-docs="false"] .mobile-empty-footer strong {
    color: #111827 !important;
    font-size: 18px !important;
    line-height: 1.15 !important;
  }

  body[data-has-docs="false"] .mobile-empty-footer p {
    margin: 0 !important;
    color: #5d5248 !important;
    font-size: 13px !important;
    line-height: 1.38 !important;
  }

  body[data-has-docs="false"] .mobile-empty-footer nav {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  body[data-has-docs="false"] .mobile-empty-footer a {
    color: #111827 !important;
    font-weight: 900 !important;
    text-decoration: none !important;
  }

  body[data-has-docs="false"] .mobile-empty-footer nav a {
    min-height: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 13px !important;
    border: 1px solid rgba(74, 56, 39, 0.32) !important;
    border-radius: 999px !important;
    background: #fffaf2 !important;
  }

  body[data-has-docs="false"] .mobile-empty-email {
    width: fit-content !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
  }

  @media (max-height: 720px) {
    body[data-has-docs="false"] .drop-panel {
      min-height: 300px !important;
      padding-block: 20px !important;
    }

    body[data-has-docs="false"] .drop-panel svg {
      width: 96px !important;
      height: 96px !important;
      padding: 23px !important;
    }
  }
}
