/* Public navigation and consistent spacing. Loaded after the legacy theme layers. */
.mobile-nav { display:none; }
.mobile-services { box-sizing:border-box; width:min(480px,calc(100% - 24px)); max-height:calc(100dvh - 40px); overflow:auto; margin:auto auto 12px; padding:24px; border:1px solid var(--commerce-line); border-radius:24px; color:var(--commerce-ink); background:var(--commerce-soft); box-shadow:0 20px 80px #0004; }
.mobile-services::backdrop { background:rgba(9,18,27,.48); backdrop-filter:blur(5px); }
.mobile-services header { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:20px; }
.mobile-services header span { display:block; margin-bottom:6px; color:var(--commerce-muted); font-size:10px; font-weight:750; letter-spacing:.1em; }
.mobile-services h2 { margin:0; font-size:26px; line-height:1.2; letter-spacing:-.025em; }
.mobile-services header button { display:grid; place-items:center; flex:0 0 44px; width:44px; height:44px; padding:0; border:1px solid var(--commerce-line); border-radius:50%; color:var(--commerce-ink); background:var(--commerce-card); }
.mobile-services-list { display:grid; gap:10px; }
.mobile-services-list button { width:100%; display:grid; grid-template-columns:44px minmax(0,1fr) 18px; align-items:center; gap:12px; min-height:84px; padding:16px; border:1px solid var(--commerce-line); border-radius:16px; color:var(--commerce-ink); background:var(--commerce-card); font:inherit; text-align:left; cursor:pointer; }
.mobile-services-list button>i { display:grid; place-items:center; width:44px; height:44px; border-radius:12px; color:var(--commerce-red); background:rgba(237,16,41,.07); }
.mobile-services-list strong { display:block; font-size:16px; line-height:1.3; }
.mobile-services-list small { display:block; margin-top:5px; font-size:12px; line-height:1.45; color:var(--commerce-muted); }
.mobile-services .ci-icon { width:22px; height:22px; }
.mobile-services-contact { display:flex; gap:12px; align-items:center; margin-top:20px; padding:16px 0 0; border-top:1px solid var(--commerce-line); color:var(--commerce-muted); font-size:12px; line-height:1.5; text-decoration:none; }
.mobile-services-contact strong { display:block; color:var(--commerce-ink); font-size:15px; }
.mobile-services :is(button,a):focus-visible,.mobile-nav-item:focus-visible { outline:2px solid var(--commerce-red); outline-offset:3px; }
body.mobile-services-open { overflow:hidden; }

/* Keep the import parameter panel legible inside the dark manager desk. */
html.manager-route:root body.ci-v9.admin-desk .customs-params-block { padding:18px!important; border:1px solid var(--desk-line)!important; border-radius:12px!important; background:#252527!important; color:#f1f2f4!important; box-shadow:none!important; }
html.manager-route:root body.ci-v9.admin-desk .customs-params-block :is(p,small,.entity-guidance),
html.manager-route:root body.ci-v9.admin-desk .import-note span { color:#b8bbc5!important; font-size:12px!important; line-height:1.6!important; }
html.manager-route:root body.ci-v9.admin-desk .customs-params-block :is(input,select) { background:#19191c!important; color:#f1f2f4!important; border-color:#ffffff26!important; }
html.manager-route:root body.ci-v9.admin-desk .admin-deal-filter-empty { background:#202022!important; color:#b8bbc5!important; border:1px dashed #ffffff26!important; border-radius:12px!important; padding:28px 18px!important; font-size:13px!important; line-height:1.6!important; }

/* Typography follows the available column width rather than the viewport width. */
html:root body.ci-v9 .commerce-root-copy h1,
html:root body.ci-v9 .commerce-detail-copy h1 { margin:16px 0 20px; font-family:Manrope,Arial,sans-serif; font-weight:800; font-size:clamp(36px,3.7vw,60px); line-height:1.12; letter-spacing:-.045em; overflow-wrap:normal; word-break:normal; }
html:root body.ci-v9 .commerce-root-hero { gap:36px; padding:48px; min-height:0; }
html:root body.ci-v9 .commerce-root-proof { margin:0; }
html:root body.ci-v9 .commerce-root-stats { position:static; grid-column:1/-1; flex-wrap:wrap; gap:16px 32px; padding-top:24px; margin-top:4px; border-top:1px solid #ffffff18; }
html:root body.ci-v9 .commerce-root-stats span { gap:8px; }
html:root body.ci-v9 .commerce-root-copy>a { margin-top:24px; }
html:root body.ci-v9 .commerce-breadcrumbs { flex-wrap:wrap; gap:8px; line-height:1.5; margin-bottom:16px; }
html:root body.ci-v9 .commerce-view :is(h2,h3) { line-height:1.22; }
html:root body.ci-v9 .commerce-view :is(input,textarea,select) { min-width:0; }

/* Login stays close to its heading; no viewport-filling gaps between form fields. */
html:root body.ci-v9 .profile-auth-layout { grid-template-columns:minmax(250px,.85fr) minmax(0,1.65fr); gap:20px; align-items:start; }
html:root body.ci-v9 .profile-auth-desktop .profile-auth-grid { min-width:0; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; align-items:start; align-content:start; }
html:root body.ci-v9 .profile-auth-desktop .profile-auth-card { height:auto!important; min-height:0!important; padding:24px; border-radius:20px; }
html:root body.ci-v9 .profile-auth-desktop .profile-auth-intro { min-height:0; padding:28px; border-radius:20px; }
html:root body.ci-v9 .profile-auth-intro .profile-premium-head { margin:0!important; }
html:root body.ci-v9 .profile-auth-intro .profile-premium-head h1 { font-size:clamp(32px,3.4vw,48px)!important; line-height:1.12!important; letter-spacing:-.04em!important; margin:12px 0!important; }
html:root body.ci-v9 .profile-auth-benefits { margin-top:28px; }
html:root body.ci-v9 .profile-auth-desktop .profile-auth-card h2 { font-size:22px!important; line-height:1.25; margin:0 0 8px; }
html:root body.ci-v9 .profile-auth-card>i { margin-bottom:16px; }
html:root body.ci-v9 .profile-auth-grid>.profile-auth-card>.profile-auth-form { margin-top:16px!important; gap:14px; }
html:root body.ci-v9 .profile-auth-card>.primary-btn { margin-top:8px!important; }
html:root body.ci-v9 .profile-auth-tabs { margin:4px 0 0; min-height:46px; }
html:root body.ci-v9 .profile-auth-tabs button { min-height:40px; }

@media (min-width:900px) {
  html:root body.ci-v9:not(.admin-desk) #app>.view:not(.catalog-view):not(.about-view) { padding-top:32px!important; }
  html:root body.ci-v9 .commerce-root-hero { grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr); }
}
@media (min-width:900px) and (max-width:1199px) {
  html:root body.ci-v9 .profile-auth-layout { grid-template-columns:minmax(240px,.8fr) minmax(0,1.2fr); }
  html:root body.ci-v9 .profile-auth-desktop .profile-auth-grid { grid-template-columns:1fr; }
  html:root body.ci-v9 .commerce-root-hero { padding:32px; gap:24px; }
}
@media (max-width:899px) {
  html:root body.ci-v9 { --mobile-nav-space:calc(72px + env(safe-area-inset-bottom,0px)); }
  html:root body.ci-v9:not(.admin-desk) { padding-bottom:var(--mobile-nav-space)!important; }
  html:root { scroll-padding-top:84px; scroll-padding-bottom:92px; }
  html:root body.ci-v9:not(.admin-desk) .topbar { position:sticky!important; top:0!important; z-index:90!important; display:flex!important; align-items:center!important; justify-content:space-between!important; gap:12px!important; width:100%!important; min-height:66px!important; height:auto!important; margin:0!important; padding:10px 16px!important; border:0!important; border-bottom:1px solid var(--commerce-line)!important; border-radius:0!important; }
  html:root body.ci-v9 .topbar .top-nav { display:none!important; }
  html:root body.ci-v9 .topbar .brand { display:flex!important; align-items:center!important; justify-content:flex-start!important; gap:9px!important; width:auto!important; flex:1 1 auto!important; min-width:0!important; padding:0!important; }
  html:root body.ci-v9 .topbar .brand>img { width:38px!important; height:38px!important; }
  html:root body.ci-v9 .topbar .brand-copy { display:flex!important; flex-direction:column!important; gap:3px!important; width:auto!important; max-width:none!important; white-space:nowrap!important; }
  html:root body.ci-v9 .topbar .brand-copy strong { display:block!important; font-size:13px!important; line-height:1.2!important; white-space:nowrap; }
  html:root body.ci-v9 .topbar .brand-copy small { display:block!important; font-size:8px!important; line-height:1.25!important; letter-spacing:.02em!important; }
  html:root body.ci-v9 .top-actions { display:flex!important; gap:6px!important; margin:0!important; flex-shrink:0; }
  html:root body.ci-v9 .top-actions :is(.theme-toggle,.top-contact) { display:grid!important; place-items:center!important; width:44px!important; min-width:44px!important; height:44px!important; margin:0!important; padding:0!important; }
  html:root body.ci-v9 .top-actions .theme-toggle span { display:none!important; }
  html:root body.ci-v9:not(.admin-desk) #app { padding:16px 16px 0!important; }
  html:root body.ci-v9 .market-intro h1 { font-size:clamp(25px,7.6vw,36px)!important; line-height:1.15!important; }
  html:root body.ci-v9 .glass-search-row { grid-template-columns:minmax(0,1fr) 48px!important; gap:10px!important; }
  html:root body.ci-v9 .glass-search { min-width:0!important; width:100%!important; }
  html:root body.ci-v9 .glass-search input { min-width:0!important; width:100%!important; font-size:14px!important; }
  html:root body.ci-v9 .glass-search-row .filter-open-button { width:48px!important; min-width:48px!important; }
  html:root body.ci-v9 .smart-filter.open { background:var(--commerce-soft)!important; isolation:isolate; box-shadow:0 -16px 80px #0003!important; }
  html:root body.ci-v9 .smart-filter.open .smart-filter-trigger { display:none!important; }
  html:root body.ci-v9 .smart-filter-topline [data-action="close-filter-panel"] { min-height:44px!important; }
  html:root body.ci-v9 .smart-filter-footer { padding-bottom:max(14px,env(safe-area-inset-bottom,0px))!important; }
  html:root body.ci-v9:has(.smart-filter.open) #ai-root .ai-fab { display:none!important; }
  html:root body.ci-v9:not(.admin-desk) #app>.view:not(.catalog-view):not(.about-view) { width:100%!important; max-width:100%!important; margin:0 auto!important; padding:0 0 24px!important; }
  html:root body.ci-v9 .mobile-nav { position:fixed; z-index:100; right:0; bottom:0; left:0; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:2px; box-sizing:border-box; padding:6px max(8px,env(safe-area-inset-right,0px)) calc(6px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px)); border-top:1px solid var(--commerce-line); background:var(--commerce-card); box-shadow:0 -6px 24px #12222b08; backdrop-filter:blur(20px); }
  html:root body.ci-v9 .mobile-nav-item { min-width:0; min-height:54px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; padding:6px 2px; border:0; border-radius:12px; background:transparent; color:var(--commerce-muted); font:700 10px/1.2 Manrope,Arial,sans-serif; cursor:pointer; -webkit-tap-highlight-color:transparent; }
  html:root body.ci-v9 .mobile-nav-item .ci-icon { width:22px; height:22px; }
  html:root body.ci-v9 .mobile-nav-item.active { color:var(--commerce-red); background:rgba(237,16,41,.07); }
  html:root body.ci-v9.admin-desk .mobile-nav { display:none; }
  html:root body.ci-v9.modal-open .mobile-nav { visibility:hidden; pointer-events:none; }
  html:root body.ci-v9.modal-open .topbar { z-index:0!important; }
  html:root body.ci-v9.modal-open #ai-root .ai-fab { display:none!important; }
  /* Leave registration and service form controls clear of the floating launcher. */
  html:root body.ci-v9:has(.profile-auth-form,#service-application-form) #ai-root .ai-fab { display:none!important; }
  html:root body.ci-v9 .mobile-services { margin-bottom:max(12px,env(safe-area-inset-bottom,0px)); }
  html:root body.ci-v9:not(.admin-desk) #ai-root .ai-fab { bottom:calc(var(--mobile-nav-space) + 14px)!important; right:16px!important; width:48px!important; height:48px!important; }
  html:root body.ci-v9:not(.admin-desk) #ai-root .ai-panel { bottom:calc(var(--mobile-nav-space) + 12px)!important; max-height:calc(100dvh - var(--mobile-nav-space) - 92px)!important; }
  html:root body.ci-v9:not(.admin-desk) #toast-root { bottom:calc(var(--mobile-nav-space) + 14px)!important; }
  html:root body.ci-v9 .commerce-root-hero { grid-template-columns:minmax(0,1fr); padding:24px 20px; gap:24px; border-radius:20px; }
  html:root body.ci-v9 .commerce-root-copy h1,
  html:root body.ci-v9 .commerce-detail-copy h1 { font-size:clamp(28px,7.8vw,42px); line-height:1.14; margin:14px 0 16px; letter-spacing:-.045em; }
  html:root body.ci-v9 .commerce-root-copy>span { font-size:10px; line-height:1.5; letter-spacing:.1em; }
  html:root body.ci-v9 .commerce-root-copy p { font-size:14px; line-height:1.65; }
  html:root body.ci-v9 .commerce-root-proof { padding:20px; }
  html:root body.ci-v9 .commerce-root-stats { gap:16px; justify-content:space-between; padding-top:20px; }
  html:root body.ci-v9 .commerce-root-stats span { flex-direction:column; gap:4px; }
  html:root body.ci-v9 .commerce-brand-directory,
  html:root body.ci-v9 .commerce-root-process,
  html:root body.ci-v9 .commerce-faq { margin-top:20px; padding:24px 20px; }
  html:root body.ci-v9 .commerce-view :is(h2,h3) { overflow-wrap:normal; word-break:normal; }
  html:root body.ci-v9 .commerce-brand-directory h2,
  html:root body.ci-v9 .commerce-root-process h2,
  html:root body.ci-v9 .commerce-faq h2 { font-size:26px; line-height:1.22; }
  html:root body.ci-v9 .profile-auth-layout { display:grid; grid-template-columns:minmax(0,1fr); gap:16px; }
  html:root body.ci-v9 .profile-auth-desktop .profile-auth-grid { grid-template-columns:minmax(0,1fr); }
  html:root body.ci-v9 .profile-auth-desktop .profile-auth-intro { margin:0; padding:20px; }
  html:root body.ci-v9 .profile-auth-intro .profile-premium-head h1 { font-size:30px!important; margin:10px 0!important; }
  html:root body.ci-v9 .profile-auth-intro .profile-premium-head h1 br { display:none; }
  html:root body.ci-v9 .profile-auth-intro .profile-premium-head p { font-size:13px!important; line-height:1.6!important; }
  html:root body.ci-v9 .profile-auth-benefits { display:none; }
  html:root body.ci-v9 .company-globe-stage { --mobile-map-height:clamp(320px,52svh,440px); padding-top:calc(var(--mobile-map-height) + 12px)!important; }
  html:root body.ci-v9 .company-globe-stage::before,
  html:root body.ci-v9 #company-globe,
  html:root body.ci-v9 .globe-vector-overlay { height:var(--mobile-map-height)!important; }
  html:root body.ci-v9 .globe-city-tooltip { bottom:calc(var(--mobile-nav-space) + 12px)!important; }
  html:root body.ci-v9 .company-video-ribbon { width:100%!important; max-width:100%!important; margin-inline:0!important; }
  html:root body.ci-v9 .profile-auth-desktop .profile-auth-card { padding:20px; }
  html:root body.ci-v9 .profile-auth-account>i { display:none; }
  html:root body.ci-v9 .profile-auth-desktop .profile-auth-form input,
  html:root body.ci-v9 .commerce-view :is(input,select,textarea),
  html:root body.ci-v9 .checkout-form :is(input,select,textarea) { font-size:16px!important; }
}
@media (prefers-reduced-motion:reduce) {
  .mobile-nav-item,.mobile-services { transition:none; animation:none; }
}
