:root {
  --ink: #0b1424;
  --ink-2: #101d32;
  --ink-3: #192b46;
  --paper: #f5f3ed;
  --white: #fffefa;
  --muted: #77766f;
  --line: #dedbd2;
  --dark-line: rgba(211,225,255,.12);
  --gold: #d7ad53;
  --gold-2: #f0ce78;
  --gold-soft: #f2e5bf;
  --green: #3dbb83;
  --red: #d96762;
  --shadow: 0 22px 70px rgba(20,18,10,.12);
  --radius: 20px;
  --sidebar: 248px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); font: 15px/1.5 "DM Sans", sans-serif; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
h1,h2,h3,h4,p { margin-top: 0; }
.skip-link { position: fixed; z-index: 100; left: 12px; top: -50px; background: var(--gold); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.launch-ribbon { height: 28px; display: flex; align-items: center; justify-content: center; gap: 9px; background: var(--gold); color: #151106; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.launch-ribbon span { width: 6px; height: 6px; border-radius: 50%; background: #172418; box-shadow: 0 0 0 3px rgba(17,51,22,.14); }
.launch-ribbon b { opacity: .45; }

.topbar { height: 76px; position: sticky; top: 0; z-index: 40; display: grid; grid-template-columns: var(--sidebar) 1fr auto; align-items: center; background: rgba(8,18,33,.98); color: var(--white); border-bottom: 1px solid var(--dark-line); }
.brand { height: 100%; display: flex; align-items: center; gap: 9px; padding: 0 27px; text-decoration: none; font: 800 20px "Manrope", sans-serif; border-right: 1px solid var(--dark-line); }
.brand-logo { display: block; flex: 0 0 38px; width: 38px !important; min-width: 38px; max-width: 38px; height: 38px !important; max-height: 38px; object-fit: contain; filter: drop-shadow(0 3px 8px rgba(0,0,0,.24)); }
.topbar-context { padding-left: 30px; color: #8d8c84; font-size: 12px; letter-spacing: .07em; text-transform: uppercase; }
.topbar-context strong { color: #d9d6ce; }
.topbar-actions { height: 100%; display: flex; align-items: center; gap: 8px; padding: 0 22px; }
.icon-button { width: 42px; height: 42px; position: relative; border: 1px solid var(--dark-line); color: #dde5f2; background: #14233a; border-radius: 12px; font-size: 21px; }
.icon-button i { display: none; position: absolute; right: 8px; top: 8px; width: 7px; height: 7px; background: var(--gold); border-radius: 50%; }
.icon-button i.show { display: block; }
.account-button { min-width: 174px; display: flex; align-items: center; gap: 11px; border: 0; color: var(--white); background: transparent; text-align: left; }
.avatar { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid #6f5e38; background: #17243a; color: var(--gold-2); border-radius: 12px; font: 800 15px "Manrope"; }
.account-copy { display: flex; flex-direction: column; min-width: 0; }
.account-copy small { color: var(--gold); font-size: 8px; letter-spacing: .14em; }
.account-copy strong { max-width: 135px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.mobile-menu { display: none; }
.nav-scrim { display: none; }

.app-layout { min-height: calc(100vh - 104px); display: grid; grid-template-columns: var(--sidebar) minmax(0,1fr); }
.sidebar { position: sticky; top: 76px; height: calc(100vh - 76px); z-index: 30; display: flex; flex-direction: column; justify-content: space-between; padding: 22px 15px; color: #d8d5cc; background: var(--ink); border-right: 1px solid var(--dark-line); overflow-y: auto; }
.nav-section-label { margin: 16px 13px 8px; color: #706e67; font-size: 9px; font-weight: 700; letter-spacing: .18em; }
.primary-nav a { display: flex; align-items: center; gap: 12px; margin: 3px 0; padding: 11px 13px; color: #aaa89f; border-radius: 11px; text-decoration: none; font-size: 13px; font-weight: 600; }
.primary-nav a:hover { color: #fff; background: #111f34; }
.primary-nav a.active { color: var(--gold-2); background: linear-gradient(90deg,#1d2d46,#14233a); box-shadow: inset 3px 0 var(--gold); }
.nav-icon { width: 20px; display: inline-grid; place-items: center; font-size: 16px; }
.nav-badge { margin-left: auto; min-width: 21px; padding: 2px 6px; color: var(--ink); background: var(--gold); border-radius: 10px; text-align: center; font-size: 9px; }
.mode-switch { display: grid; grid-template-columns: repeat(auto-fit,minmax(48px,1fr)); gap: 3px; padding: 4px; margin: 0 4px 18px; background: #101b2e; border: 1px solid var(--dark-line); border-radius: 12px; }
.mode-switch button { padding: 8px 3px; border: 0; color: #77756e; background: transparent; border-radius: 8px; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.mode-switch button.active { color: #161106; background: var(--gold); }
.launch-card { padding: 18px; color: #eef2f8; background: linear-gradient(145deg,#1b2739,#0d1828); border: 1px solid #3b4658; border-radius: 15px; }
.launch-card span { color: var(--gold); font-size: 8px; font-weight: 800; letter-spacing: .14em; }
.launch-card strong { display: block; margin: 8px 0 4px; font: 700 14px "Manrope"; }
.launch-card p { margin-bottom: 13px; color: #918e85; font-size: 11px; }
.launch-card button { padding: 0; border: 0; color: var(--gold-2); background: none; font-size: 11px; font-weight: 700; }
.launch-card button + button { display: block; margin-top: 8px; }
.launch-card b { margin-left: 4px; }
.legal-mini { padding: 9px 5px 0; margin: 0; color: #56554f; font-size: 9px; }
.legal-mini a { color: #9a8757; text-decoration: none; }
.legal-mini a:hover { color: var(--gold-2); text-decoration: underline; }

.content { min-width: 0; padding: 32px clamp(22px,4vw,58px) 70px; overflow: hidden; }
.page { max-width: 1280px; margin: 0 auto; animation: pageIn .35s ease both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(7px); } }
.page-loading { min-height: 60vh; display: grid; place-content: center; justify-items: center; gap: 14px; color: var(--muted); }
.gold-spinner { width: 34px; height: 34px; border: 2px solid #d7d2c5; border-top-color: var(--gold); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin-bottom: 26px; }
.eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; color: #8b6e30; font-size: 9px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow:before { content:""; width: 15px; height: 1px; background: var(--gold); }
.page-heading h1 { margin: 0; font: 800 clamp(30px,3.5vw,46px)/1.03 "Manrope"; letter-spacing: -.045em; }
.page-heading p { max-width: 520px; margin: 8px 0 0; color: var(--muted); }
.heading-actions { display: flex; gap: 8px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border: 1px solid transparent; border-radius: 10px; text-decoration: none; font-size: 12px; font-weight: 700; }
.button:disabled { opacity: .5; cursor: not-allowed; }
.google-signin { width: min(360px,100%); min-height: 44px; display: flex; align-items: center; justify-content: center; margin: 0 auto; }
.google-signin-loading { width: 100%; padding: 12px 16px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 5px; text-align: center; font: 700 12px "Manrope"; }
.app-install-panel { display: grid; grid-template-columns: 94px 1fr; align-items: center; gap: 20px; background: linear-gradient(145deg,#fff,#f8f3e6); }
.app-install-panel h2 { margin: 5px 0 7px; font: 800 22px "Manrope"; }
.app-install-panel p { margin: 0 0 17px; color: var(--muted); font-size: 12px; }
.app-install-icon { width: 90px; height: 90px; display: grid; place-items: center; overflow: hidden; background: var(--ink); border: 1px solid #6b5526; border-radius: 24px; box-shadow: 0 13px 30px rgba(8,18,32,.22); }
.app-install-icon img { width: 76px; height: 76px; object-fit: contain; }
.app-install-guide { display: grid; grid-template-columns: 82px 1fr; align-items: center; gap: 20px; }
.app-install-guide img { width: 82px; height: 82px; padding: 8px; object-fit: contain; background: var(--ink); border-radius: 20px; }
.app-install-guide strong { display: block; font: 800 18px "Manrope"; }
.app-install-guide p { margin: 6px 0; color: var(--muted); }
.app-install-guide small { color: #8b887f; }
.button.gold { color: #171105; background: linear-gradient(145deg,var(--gold-2),var(--gold)); box-shadow: 0 9px 25px rgba(160,113,24,.18); }
.button.dark { color: white; background: var(--ink); }
.button.light { color: var(--ink); background: var(--white); border-color: var(--line); }
.button.ghost { color: #6d5622; background: #f4ecd8; border-color: #e0c986; }
.text-link { border: 0; padding: 0; color: #795e25; background: none; font-size: 12px; font-weight: 700; }

.hero-panel { position: relative; min-height: 390px; display: grid; grid-template-columns: minmax(0,1.2fr) minmax(310px,.8fr); overflow: hidden; margin-bottom: 26px; color: var(--white); background: radial-gradient(circle at 82% 15%,#44391f 0,transparent 29%), linear-gradient(135deg,#091322,#172945); border: 1px solid #293b55; border-radius: 27px; box-shadow: var(--shadow); }
.hero-panel:after { content:"C"; position: absolute; right: -35px; bottom: -115px; color: rgba(215,173,83,.05); font: 800 440px/1 "Manrope"; }
.hero-copy { z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: clamp(32px,5vw,65px); }
.hero-copy .eyebrow { color: var(--gold-2); }
.hero-copy h1 { max-width: 690px; margin: 0 0 18px; font: 800 clamp(38px,5vw,68px)/.96 "Manrope"; letter-spacing: -.055em; }
.hero-copy h1 em { color: var(--gold-2); font-style: normal; }
.hero-copy > p { max-width: 570px; color: #a8a59d; font-size: 16px; }
.hero-actions { display: flex; gap: 10px; margin-top: 12px; }
.hero-stat { z-index: 2; align-self: center; margin: 35px; padding: 26px; background: rgba(255,255,255,.06); border: 1px solid rgba(240,206,120,.24); border-radius: 20px; backdrop-filter: blur(8px); }
.hero-stat > span { color: var(--gold); font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.hero-stat strong { display: block; margin: 12px 0; font: 800 56px/1 "Manrope"; }
.hero-stat strong small { font-size: 16px; color: #aaa79f; }
.hero-stat p { margin: 0; color: #9c9991; font-size: 12px; }
.mini-bars { height: 74px; display: flex; align-items: end; gap: 7px; margin-top: 20px; }
.mini-bars i { flex: 1; min-height: 10px; background: linear-gradient(var(--gold-2),#69542a); border-radius: 4px 4px 0 0; }

.metric-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 25px; }
.metric { padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.metric > span { display: flex; align-items: center; justify-content: space-between; color: #8a8880; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.metric > span i { width: 28px; height: 28px; display: grid; place-items: center; color: #8b6d2e; background: #f5ebd3; border-radius: 8px; font-style: normal; }
.metric strong { display: block; margin-top: 12px; font: 800 29px "Manrope"; }
.metric small { color: var(--muted); }

.section-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 30px 0 15px; }
.section-row h2 { margin: 0; font: 800 22px "Manrope"; letter-spacing: -.03em; }
.section-row p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.pack-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; }
.pack-card { --pack-accent: #d7ad53; position: relative; isolation: isolate; min-height: 355px; display: flex; flex-direction: column; padding: 25px; overflow: hidden; color: #f6f8fc; background: linear-gradient(145deg,#0c1729 0%,#162740 58%,#1d304a 100%); border: 1px solid rgba(171,194,228,.2); border-radius: 24px; box-shadow: 0 18px 45px rgba(8,18,34,.16); animation: packReveal .56s cubic-bezier(.2,.74,.2,1) both; animation-delay: calc(var(--pack-index,0) * 90ms); transition: transform .3s cubic-bezier(.2,.74,.2,1),border-color .3s ease,box-shadow .3s ease; }
.pack-card.featured { --pack-accent: #f0ce78; background: radial-gradient(circle at 88% 7%,rgba(212,170,74,.32),transparent 31%),linear-gradient(145deg,#0d182a,#1c2d44 68%,#2c3540); border-color: rgba(240,206,120,.48); }
.pack-card.current { border-color: rgba(240,206,120,.85); box-shadow: 0 20px 58px rgba(103,72,13,.22),inset 0 0 0 1px rgba(240,206,120,.18); }
.pack-card.planned { opacity: .92; background: linear-gradient(145deg,#111b2d,#202d40); border-color: rgba(171,194,228,.17); }
.pack-card:before { content:""; position: absolute; z-index: 3; inset: -80% auto -80% -55%; width: 32%; pointer-events: none; background: linear-gradient(90deg,transparent,rgba(255,244,206,.1),transparent); transform: rotate(18deg) translateX(-250%); animation: packSheen 1.05s ease-out both; animation-delay: calc(.22s + var(--pack-index,0) * 90ms); }
.pack-card:after { content: attr(data-days); position: absolute; z-index: -1; right: -12px; bottom: -57px; color: rgba(240,206,120,.045); font: 800 184px/1 "Manrope"; letter-spacing: -.09em; }
.pack-glow { position: absolute; z-index: -1; width: 210px; height: 210px; right: -105px; top: -105px; background: radial-gradient(circle,rgba(240,206,120,.19),transparent 68%); border-radius: 50%; animation: packGlow 7s ease-in-out infinite; }
.pack-card .pack-top { z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pack-tag { overflow: hidden; color: var(--gold-2); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.pack-status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; color: #bdc8d7; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.08); border-radius: 999px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.pack-status i { width: 6px; height: 6px; flex: 0 0 6px; background: #8c9aab; border-radius: 50%; }
.pack-status.ready { color: #f1d58e; background: rgba(215,173,83,.12); border-color: rgba(240,206,120,.2); }
.pack-status.ready i { background: var(--gold-2); box-shadow: 0 0 0 4px rgba(240,206,120,.1); }
.pack-heading { z-index: 1; margin: 35px 0 9px; }
.pack-days { display: inline-block; margin-bottom: 8px; color: #d8be7a; font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.pack-card h3 { z-index: 1; margin: 0; font: 800 clamp(23px,2vw,29px)/1.05 "Manrope"; letter-spacing: -.035em; }
.pack-card > p { z-index: 1; flex: 1; margin-bottom: 19px; color: #aab4c2; font-size: 14px; line-height: 1.55; }
.pack-progress { z-index: 1; margin-bottom: 20px; }
.pack-progress > div { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; color: #9eabba; font-size: 10px; }
.pack-progress strong { color: #dce3ed; font-weight: 700; }
.pack-progress-track { height: 5px; display: block; overflow: hidden; background: rgba(255,255,255,.09); border-radius: 999px; }
.pack-progress-track i { width: var(--pack-progress,0%); height: 100%; display: block; background: linear-gradient(90deg,#b98b2d,var(--gold-2)); border-radius: inherit; box-shadow: 0 0 12px rgba(240,206,120,.28); animation: packProgress .7s cubic-bezier(.2,.74,.2,1) both; animation-delay: calc(.18s + var(--pack-index,0) * 90ms); }
.pack-card .pack-bottom { z-index: 1; display: flex; align-items: end; justify-content: space-between; gap: 14px; }
.pack-price { flex: 0 0 auto; font: 800 34px/1 "Manrope"; letter-spacing: -.04em; }
.pack-price small { display: block; margin-top: 6px; color: #8d99a8; font: 600 9px "DM Sans"; letter-spacing: .07em; }
.pack-card .button { min-height: 42px; padding: 0 15px; }
.pack-action { position: relative; min-width: 140px; overflow: hidden; }
.pack-action b { transition: transform .22s ease; }
.pack-action:hover b { transform: translate(2px,-2px); }
.button.pack-secondary { color: #f2daa0; background: rgba(255,255,255,.075); border-color: rgba(240,206,120,.24); box-shadow: none; }
.button.pack-secondary:hover { color: #fff1c6; background: rgba(240,206,120,.13); border-color: rgba(240,206,120,.42); }
.pack-status-summary { display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 17px; padding: 18px; color: #e8edf5; background: linear-gradient(145deg,#0c1729,#1a2b44); border: 1px solid #2e405c; border-radius: 17px; }
.pack-status-summary strong { font: 800 17px "Manrope"; }
.pack-status-summary p { margin: 5px 0 0; color: #aeb8c6; font-size: 13px; }
.pack-summary-number { width: 66px; height: 66px; display: grid; place-items: center; color: #181207; background: linear-gradient(145deg,var(--gold-2),var(--gold)); border-radius: 18px; font: 800 29px "Manrope"; box-shadow: 0 10px 25px rgba(160,113,24,.2); }
.modal-pack-progress { margin: 20px 2px 0; }
.modal-pack-progress > div { color: var(--muted); }
.modal-pack-progress strong { color: var(--ink); }
.modal-pack-progress .pack-progress-track { background: #e4e0d6; }
@media (hover:hover) and (pointer:fine) {
  .pack-card:hover { transform: translateY(-7px); border-color: rgba(240,206,120,.48); box-shadow: 0 26px 65px rgba(8,18,34,.23); }
  .pack-card:hover .pack-glow { transform: scale(1.15); }
}
@keyframes packReveal { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes packSheen { from { transform: rotate(18deg) translateX(-250%); } to { transform: rotate(18deg) translateX(850%); } }
@keyframes packGlow { 0%,100% { opacity: .52; transform: scale(.9); } 50% { opacity: .9; transform: scale(1.08); } }
@keyframes packProgress { from { width: 0; } to { width: var(--pack-progress,0%); } }

.split-grid { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(280px,.75fr); gap: 16px; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.panel-pad { padding: 23px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; border-bottom: 1px solid #e8e5dd; }
.panel-head h3 { margin: 0; font: 800 16px "Manrope"; }
.panel-head span { color: var(--muted); font-size: 10px; }
.offer-list { padding: 5px 20px; }
.offer-row { display: grid; grid-template-columns: 45px 1fr auto; align-items: center; gap: 13px; padding: 14px 0; border-bottom: 1px solid #ece9e2; }
.offer-row:last-child { border: 0; }
.offer-monogram { width: 43px; height: 43px; display: grid; place-items: center; color: #7a5b1d; background: #eee4cc; border-radius: 12px; font-weight: 800; }
.offer-row strong { display: block; font-size: 13px; }
.offer-row p { margin: 1px 0 0; color: var(--muted); font-size: 11px; }
.offer-row .status-pill { justify-self: end; }
.status-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; color: #4f724e; background: #e6f2e6; border-radius: 12px; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.status-pill.pending { color: #846622; background: #f7efd6; }
.status-pill.rejected,.status-pill.paused { color: #8e4b48; background: #f9e4e2; }
.status-pill.ended { color: #69665f; background: #ece9e2; }
.status-pill:before { content:""; width: 5px; height: 5px; background: currentColor; border-radius: 50%; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 17px; }
.filter-bar button,.filter-bar select { min-height: 36px; padding: 0 12px; color: #68665f; background: var(--white); border: 1px solid var(--line); border-radius: 9px; font-size: 11px; }
.filter-bar button.active { color: #171105; background: var(--gold); border-color: var(--gold); font-weight: 700; }
.region-switcher { display: grid; grid-template-columns: auto repeat(2,minmax(190px,1fr)); align-items: stretch; gap: 8px; margin-bottom: 18px; padding: 8px; background: #eae6da; border: 1px solid #d8d2c4; border-radius: 15px; }
.region-switcher > span { display: flex; align-items: center; padding: 0 12px; color: #77736b; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.region-switcher button { min-height: 54px; display: flex; flex-direction: column; justify-content: center; padding: 8px 14px; color: #626057; background: rgba(255,255,255,.58); border: 1px solid transparent; border-radius: 10px; text-align: left; }
.region-switcher button strong { font: 800 14px "Manrope"; }
.region-switcher button small { margin-top: 2px; color: #88857d; font-size: 10px; }
.region-switcher button.active { color: #181207; background: linear-gradient(145deg,var(--gold-2),var(--gold)); border-color: #c79d40; box-shadow: 0 7px 18px rgba(118,84,19,.12); }
.region-switcher button.active small { color: #5f491a; }
.catalog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.business-card { padding: 0; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 17px; }
.business-visual { height: 120px; position: relative; display: grid; place-items: center; color: rgba(255,255,255,.9); background: radial-gradient(circle at 30% 30%,#756239,#14243b 70%); font: 800 38px "Manrope"; }
.business-visual span { position: absolute; right: 12px; top: 12px; padding: 4px 7px; color: #151106; background: var(--gold-2); border-radius: 7px; font: 700 8px "DM Sans"; }
.business-body { padding: 17px; }
.business-body small { color: #8b6d2e; font-weight: 700; }
.business-body h3 { margin: 6px 0 2px; font: 800 16px "Manrope"; }
.business-body strong { display: block; margin: 12px 0 3px; }
.business-body p { margin-bottom: 13px; color: var(--muted); font-size: 11px; }
.business-actions { display: flex; justify-content: space-between; align-items: center; }

.pass-shell { max-width: 920px; margin: 0 auto; }
.carlin-pass { position: relative; min-height: 380px; display: grid; grid-template-columns: 1fr 300px; overflow: hidden; color: var(--white); background: radial-gradient(circle at 100% 0,#4b3c1b,transparent 35%),linear-gradient(145deg,#091322,#1a2b45); border: 1px solid #5b4b2a; border-radius: 28px; box-shadow: 0 30px 80px rgba(5,13,26,.26); }
.carlin-pass:before { content:""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg,transparent,var(--gold-2),transparent); }
.pass-info { padding: 42px; display: flex; flex-direction: column; }
.pass-brand { display: flex; align-items: center; gap: 10px; font: 800 17px "Manrope"; }
.pass-logo { display: block; flex: 0 0 42px; width: 42px !important; max-width: 42px; height: 42px !important; max-height: 42px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0,0,0,.3)); }
.pass-info h2 { margin: 55px 0 5px; font: 800 37px "Manrope"; letter-spacing: -.04em; }
.pass-info > p { color: #8f8c84; }
.pass-meta { display: flex; gap: 40px; margin-top: auto; }
.pass-meta span { color: #6f6d67; font-size: 8px; letter-spacing: .12em; }
.pass-meta strong { display: block; color: #e8e3d8; font-size: 12px; }
.qr-zone { display: grid; place-content: center; justify-items: center; margin: 20px; padding: 22px; color: var(--ink); background: #fffefa; border-radius: 20px; text-align: center; }
.qr-zone canvas { width: 210px; height: 210px; image-rendering: pixelated; }
.qr-zone strong { margin-top: 6px; font-size: 11px; }
.qr-zone small { color: #8c6c2b; font-size: 9px; }
.countdown { width: 100%; margin-top: 11px; height: 4px; overflow: hidden; background: #e4e0d7; border-radius: 4px; }
.countdown i { display: block; height: 100%; background: var(--gold); transition: width .8s linear; }
.no-pass { padding: 50px; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: 24px; }
.no-pass .empty-icon { width: 72px; height: 72px; display: grid; place-items: center; margin: 0 auto 20px; color: #8d6e2d; background: #f5ebd3; border-radius: 22px; font: 800 27px "Manrope"; }
.no-pass h2 { font: 800 24px "Manrope"; }
.no-pass p { max-width: 480px; margin: 0 auto 20px; color: var(--muted); }

.pass-offer-picker { padding: 24px; margin-bottom: 18px; }
.pass-offer-picker .section-row { margin-top: 0; }
.pass-offer-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,240px),1fr)); gap: 10px; }
.pass-offer { min-width: 0; display: grid; grid-template-columns: 44px minmax(0,1fr) auto; align-items: center; gap: 11px; padding: 12px; color: var(--ink); background: #faf8f2; border: 1px solid var(--line); border-radius: 12px; text-align: left; }
.pass-offer > span { width: 44px; height: 44px; display: grid; place-items: center; color: var(--gold-2); background: var(--ink); border-radius: 11px; font-weight: 800; }
.pass-offer strong,.pass-offer small { display: block; overflow: hidden; text-overflow: ellipsis; }
.pass-offer small { color: var(--muted); white-space: nowrap; }
.pass-offer.selected { border-color: var(--gold); background: #fbf3df; box-shadow: 0 0 0 3px rgba(215,173,83,.12); }
.checkout-pass { padding: clamp(22px,4vw,38px); color: var(--white); background: radial-gradient(circle at 100% 0,#4b3c1b,transparent 34%),linear-gradient(145deg,#091322,#1a2b45); border: 1px solid #5b4b2a; border-radius: 24px; box-shadow: 0 25px 70px rgba(5,13,26,.2); }
.checkout-pass-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.checkout-pass-head h2 { margin: 0 0 4px; font: 800 clamp(25px,4vw,38px) "Manrope"; }
.checkout-pass-head > div > strong { display: block; color: var(--gold-2); font-size: 18px; }
.checkout-pass-head p { max-width: 680px; margin: 8px 0 0; color: #aaa79e; }
.pass-code-grid { display: grid; grid-template-columns: minmax(0,1fr) 230px; gap: 15px; margin-top: 25px; }
.barcode-zone,.qr-zone.compact { min-width: 0; display: grid; place-content: center; justify-items: center; padding: 18px; color: var(--ink); background: #fff; border-radius: 16px; text-align: center; }
.barcode-zone canvas { width: 100%; max-width: 680px; height: 148px; }
.barcode-zone strong { margin-top: 8px; font: 800 clamp(17px,3vw,26px) ui-monospace,SFMono-Regular,Consolas,monospace; letter-spacing: .08em; }
.barcode-zone small,.qr-zone.compact small { color: #756b52; font-size: 9px; font-weight: 700; letter-spacing: .08em; }
.qr-zone.compact { margin: 0; }
.qr-zone.compact canvas { width: 180px; height: 180px; }
.pass-expiry { display: grid; grid-template-columns: auto minmax(100px,1fr) auto; align-items: center; gap: 14px; margin-top: 15px; color: #d7d2c7; font-size: 11px; }
.pass-expiry .countdown { margin: 0; background: #32415a; }
.pass-expiry .text-link { color: var(--gold-2); }
.checkout-note { margin-top: 18px; padding: 14px 16px; color: #c7c4bc; background: rgba(255,255,255,.06); border: 1px solid var(--dark-line); border-radius: 11px; font-size: 11px; }
.checkout-note strong { color: var(--white); }

.partner-test-builder { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 18px 0; padding: clamp(20px,3vw,28px); color: #f8f4e9; background: radial-gradient(circle at 90% 0,#4b3c1b,transparent 40%),linear-gradient(135deg,#101e33,#091322); border: 1px solid #4c493f; border-radius: var(--radius); }
.partner-test-builder h2 { margin: 4px 0 6px; font: 800 clamp(19px,3vw,25px) "Manrope"; }
.partner-test-builder p { max-width: 650px; margin: 0; color: #aaa79e; }
.partner-test-builder .button { flex: 0 0 auto; }
.test-pass-safety { display: grid; gap: 3px; margin-top: 18px; padding: 14px 16px; color: #473817; background: #fbf3df; border: 1px solid #dfc98f; border-radius: 11px; font-size: 11px; }
.test-pass-safety strong { font: 800 13px "Manrope"; }
.test-pass-modal { padding-top: 18px; }
.test-pass-banner { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; padding: 11px 15px; color: #fff; background: #8f362f; border-radius: 11px; letter-spacing: .12em; }
.test-pass-banner strong { font: 800 13px "Manrope"; }
.test-pass-banner span { font-size: 10px; font-weight: 800; }
.test-pass-preview { padding: clamp(18px,3vw,28px); }
.test-pass-dialog { width: min(760px,100%); }
.founder-preview-builder { margin-top: 18px; }

.scanner { max-width: 720px; margin: 0 auto; padding: clamp(24px,4vw,44px); text-align: center; }
.scanner-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; margin-bottom: 25px; }
.scanner-steps span { padding: 9px 6px; color: #6e6b63; background: #f5f1e6; border: 1px solid var(--line); border-radius: 9px; font-size: 10px; font-weight: 700; }
.scanner-steps b { width: 20px; height: 20px; display: inline-grid; place-items: center; margin-right: 4px; color: var(--ink); background: var(--gold); border-radius: 50%; }
.scan-icon { width: 84px; height: 84px; display: grid; place-items: center; margin: 0 auto 18px; color: var(--gold-2); background: var(--ink); border: 1px solid #594a29; border-radius: 24px; font-size: 30px; }
.scanner h2 { font: 800 27px "Manrope"; }
.scanner > p { color: var(--muted); }
.scan-form { display: grid; gap: 13px; margin-top: 25px; text-align: left; }
.scan-form textarea { min-height: 110px; resize: vertical; }
.scan-result { margin-top: 20px; padding: 24px; color: #235f45; background: #e5f3ea; border: 1px solid #b7ddc7; border-radius: 15px; }
.scan-result strong { display: block; font: 800 17px "Manrope"; }
.scan-result p { margin: 7px 0 0; }
.scan-result.pending { color: #173d2d; background: #e2f5e9; border: 3px solid #42a46f; }
.scan-result.complete { color: #123d2a; background: #d8f4e3; border: 4px solid #2d9b61; }
.scan-result.rejected { color: #792f2b; background: #fde4e1; border: 4px solid #d45c55; }
.scan-result.cancelled { color: #625840; background: #f7f0df; border-color: #dfc98f; }
.scan-result > strong { font-size: clamp(20px,4vw,30px); }
.scan-confirm-actions { display: grid; grid-template-columns: 1fr auto; gap: 9px; margin: 16px 0 10px; }
.scan-confirm-actions .button { min-height: 54px; }
.terminal-readiness { display: grid; justify-items: center; gap: 7px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.terminal-readiness small { max-width: 500px; color: var(--muted); }
.discount-callout { margin-top: 12px; padding: 15px; color: #17230c; background: var(--gold-2); border-radius: 11px; font: 800 clamp(20px,4vw,30px) "Manrope"; }
.scan-offer-summary { display: grid; gap: 3px; padding: 16px; color: #edf2f9; background: var(--ink); border: 1px solid #5b4b2a; border-radius: 12px; }
.scan-offer-summary span { color: var(--gold); font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.scan-offer-summary strong { font: 800 20px "Manrope"; }
.scan-offer-summary small { color: #9d9a92; }
.scan-primary { width: 100%; min-height: 52px; }
.scan-fallback { padding: 12px; color: var(--muted); background: #f8f6f0; border: 1px solid var(--line); border-radius: 11px; }
.scan-fallback summary { cursor: pointer; font-size: 11px; font-weight: 700; }
.scan-fallback[open] summary { margin-bottom: 12px; }
.scan-fallback .button { width: 100%; margin-top: 10px; }

.chart-panel { min-height: 285px; padding: 24px; }
.bar-chart { height: 190px; display: flex; align-items: end; gap: 12px; padding-top: 26px; border-bottom: 1px solid var(--line); }
.bar-chart div { flex: 1; min-width: 15px; position: relative; height: var(--h); background: linear-gradient(var(--gold-2),#ad8133); border-radius: 6px 6px 0 0; }
.bar-chart div span { position: absolute; bottom: -24px; left: 50%; transform: translateX(-50%); color: #8c8a83; font-size: 9px; }
.empty-chart { height: 200px; display: grid; place-content: center; color: var(--muted); text-align: center; }
.empty-chart b { color: var(--ink); }

.form-panel { padding: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1/-1; }
.field label { color: #55534e; font-size: 11px; font-weight: 700; }
.field small { color: #929087; font-size: 9px; }
.field input,.field textarea,.field select,.scan-form input,.scan-form textarea,.scan-form select { width: 100%; padding: 11px 12px; color: var(--ink); background: #fbfaf7; border: 1px solid #d8d4ca; border-radius: 9px; outline: none; }
.field input:focus,.field textarea:focus,.field select:focus,.scan-form input:focus,.scan-form textarea:focus,.scan-form select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(215,173,83,.13); }
.field textarea { min-height: 92px; resize: vertical; }
.form-footer { grid-column: 1/-1; display: flex; justify-content: flex-end; gap: 9px; padding-top: 8px; }
.form-divider { display: flex; align-items: baseline; gap: 9px; padding: 15px 0 2px; border-top: 1px solid var(--line); }
.form-divider strong { font: 800 15px "Manrope"; }
.form-divider span { color: var(--muted); font-size: 10px; }
.pos-status,.pos-review { padding: 14px; background: #f7f2e5; border: 1px solid #e4d6ac; border-radius: 11px; }
.pos-status p,.pos-review p { margin: 7px 0 0; color: var(--muted); font-size: 10px; }
.pos-review { margin: 15px 0; }
.pos-review small { color: #746a54; }
.consent { grid-column: 1/-1; display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: 10px; }
.consent input { width: auto; margin-top: 2px; }
.checkout-consents { display: grid; gap: 12px; margin-top: 18px; padding: 16px; background: #f8f5ed; border: 1px solid var(--line); border-radius: 12px; }
.inline-link { display: inline; padding: 0; border: 0; color: #775a20; background: transparent; font-weight: 700; text-decoration: underline; }
.legal-page { padding: clamp(22px,4vw,42px); }
.legal-page section { max-width: 850px; padding: 0 0 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.legal-page section:last-of-type { margin-bottom: 0; }
.legal-page h2 { margin-bottom: 7px; font: 800 19px "Manrope"; }
.legal-page p { margin-bottom: 0; color: var(--muted); }
.legal-links { display: flex; flex-wrap: wrap; gap: 17px; padding-top: 5px; }

.application-card { display: grid; grid-template-columns: 1fr auto; gap: 18px; padding: 20px; border-bottom: 1px solid #ebe7de; }
.application-card:last-child { border: 0; }
.application-card h3 { margin-bottom: 4px; font: 800 16px "Manrope"; }
.application-card p { margin: 0; color: var(--muted); font-size: 11px; }
.application-card .offer-quote { margin-top: 12px; color: var(--ink); font-size: 12px; }
.deal-guide { display: grid; grid-template-columns: auto 1fr 1fr; gap: 18px; align-items: center; padding: 18px 21px; margin-bottom: 18px; color: var(--muted); font-size: 10px; }
.deal-guide strong { color: var(--ink); font: 800 13px "Manrope"; }
.deal-stack { display: grid; gap: 16px; }
.deal-config-form { padding: clamp(19px,3vw,27px); }
.deal-card-head { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: start; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.deal-card-head h2 { margin: 10px 0 5px; font: 800 21px "Manrope"; }
.deal-card-head p { margin: 0; color: var(--muted); }
.deal-pack-count { min-width: 74px; color: #8a6826; font: 800 24px "Manrope"; text-align: right; }
.deal-pack-count small { display: block; color: var(--muted); font-size: 8px; letter-spacing: .13em; }
.pack-assignment { padding: 0; margin: 20px 0; border: 0; }
.pack-assignment legend { padding: 0 0 9px; color: #55534e; font-size: 11px; font-weight: 700; }
.pack-assignment-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; }
.pack-option { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 13px; background: #fbfaf7; border: 1px solid #ddd8cc; border-radius: 11px; cursor: pointer; }
.pack-option:has(input:checked) { background: #f8f0dc; border-color: #d8b35c; box-shadow: inset 0 0 0 1px rgba(216,179,92,.18); }
.pack-option input { width: 17px; height: 17px; margin: 0; accent-color: #a77b25; }
.pack-option span { display: grid; min-width: 0; }
.pack-option strong { overflow: hidden; color: var(--ink); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.pack-option small { color: var(--muted); font-size: 8px; }
.deal-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.deal-save-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 17px; }
.deal-save-row p { max-width: 610px; margin: 0; color: var(--muted); font-size: 10px; }
.review-pack-assignment { margin-top: 17px; }
.launch-gate { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 13px 15px; margin-top: 16px; color: #705a26; background: #faf2dc; border: 1px solid #ead39b; border-radius: 11px; }
.launch-gate.ready { color: #2e6543; background: #eaf5ed; border-color: #bbddc5; }
.launch-gate span { color: inherit; font-size: 10px; text-align: right; }
.pack-unavailable { padding: 13px; margin: 0; color: var(--muted); background: #f7f5ef; border-radius: 10px; }
.approval-explainer { display: grid; gap: 4px; padding: 14px; margin: 15px 0; color: #6d5927; background: #faf2dc; border: 1px solid #e5ce93; border-radius: 11px; }
.approval-explainer.full { grid-column: 1/-1; }
.approval-explainer span { color: #746a54; font-size: 10px; }
.regional-pack-notice { margin-bottom: 16px; border-color: #dbc784; background: #fbf4df; }
.regional-pack-notice p { margin: 4px 0 0; color: #756b52; font-size: 11px; }
.ad-request-plan { display: inline-block; margin-top: 10px; color: #8b6e30; font-weight: 700; }
.app-actions { display: flex; align-items: flex-start; gap: 6px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th,td { padding: 13px 16px; text-align: left; border-bottom: 1px solid #ece9e1; font-size: 11px; }
th { color: #8d8a82; background: #faf8f3; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
td strong { display: block; }
.mono-ref { font: 700 10px ui-monospace,SFMono-Regular,Consolas,monospace; letter-spacing: .08em; }
.status-pill.online { color: #16613f; background: #dff4e9; }
.empty-state { padding: 45px 24px; text-align: center; color: var(--muted); }
.empty-state .empty-icon { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 15px; color: #896a2b; background: #f5ecd7; border-radius: 17px; font-size: 23px; }
.empty-state h3 { margin-bottom: 6px; color: var(--ink); font: 800 18px "Manrope"; }
.empty-state p { max-width: 450px; margin: 0 auto 17px; }

.profile-card { padding: 24px; }
.profile-head { display: flex; align-items: center; gap: 15px; margin-bottom: 21px; }
.profile-head .avatar { width: 58px; height: 58px; font-size: 21px; }
.profile-head h2 { margin: 0; font: 800 19px "Manrope"; }
.profile-head p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.settings-list { border-top: 1px solid var(--line); }
.settings-row { width: 100%; display: flex; align-items: center; gap: 12px; padding: 15px 0; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; }
.settings-row i { width: 34px; height: 34px; display: grid; place-items: center; background: #f1ead9; border-radius: 9px; font-style: normal; }
.settings-row span { flex: 1; }
.settings-row small { display: block; color: var(--muted); }

.modal-backdrop { position: fixed; z-index: 80; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(4,4,3,.74); backdrop-filter: blur(5px); }
.modal-backdrop[hidden] { display: none; }
.modal { width: min(600px,100%); max-height: 88vh; overflow-y: auto; background: var(--white); border-radius: 20px; box-shadow: 0 30px 100px rgba(0,0,0,.4); }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; padding: 23px 25px 18px; border-bottom: 1px solid var(--line); }
.modal-head h2 { margin: 0; font: 800 20px "Manrope"; }
.modal-head p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.modal-close { width: 34px; height: 34px; border: 0; background: #eeeae0; border-radius: 9px; }
.modal-body { padding: 24px 25px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; padding: 17px 25px 23px; border-top: 1px solid var(--line); }
.ai-launch { position: fixed; z-index: 70; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 6px 14px 6px 7px; color: #f6eed8; background: rgba(10,20,36,.96); border: 1px solid #68552d; border-radius: 24px; box-shadow: 0 12px 35px rgba(5,13,26,.28); backdrop-filter: blur(10px); }
.ai-launch span { width: 29px; height: 29px; display: grid; place-items: center; color: #161106; background: var(--gold); border-radius: 50%; }
.ai-launch b { font: 700 12px "Manrope"; }
.ai-launch:hover { border-color: var(--gold); transform: translateY(-1px); }
.ai-dialog { width: min(680px,100%); height: min(720px,88vh); display: grid; grid-template-rows: auto minmax(0,1fr) auto auto auto; overflow: hidden; }
.ai-modal-head { background: linear-gradient(135deg,#0a1424,#152640); border-color: #31415a; }
.ai-modal-head h2 { color: #fff; }
.ai-modal-head p { color: #99978f; }
.ai-modal-head .modal-close { color: #eef2f8; background: #1b2b43; }
.ai-title-row { display: flex; align-items: center; gap: 9px; }
.ai-title-row > span { width: 28px; height: 28px; display: grid; place-items: center; color: #171105; background: var(--gold); border-radius: 9px; }
.ai-title-row small { padding: 4px 7px; color: var(--gold-2); background: rgba(215,173,83,.1); border: 1px solid rgba(215,173,83,.25); border-radius: 5px; font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.ai-transcript { min-height: 0; display: flex; flex-direction: column; gap: 14px; padding: 22px; overflow-y: auto; background: #f7f5ef; }
.ai-message { display: flex; align-items: flex-start; gap: 10px; max-width: 88%; }
.ai-message > span { flex: 0 0 30px; width: 30px; height: 30px; display: grid; place-items: center; color: var(--gold-2); background: var(--ink); border-radius: 9px; font: 800 11px "Manrope"; }
.ai-message p { margin: 0; padding: 11px 13px; color: #363a40; background: #fff; border: 1px solid var(--line); border-radius: 4px 13px 13px; font-size: 13px; line-height: 1.55; }
.ai-message.user { align-self: flex-end; flex-direction: row-reverse; }
.ai-message.user > span { color: #191307; background: var(--gold); }
.ai-message.user p { color: #f2f5f8; background: #12223a; border-color: #263955; border-radius: 13px 4px 13px 13px; }
.ai-message.loading p { display: flex; gap: 4px; padding: 16px; }
.ai-message.loading i { width: 6px; height: 6px; background: #ac8a43; border-radius: 50%; animation: aiPulse .9s infinite alternate; }
.ai-message.loading i:nth-child(2) { animation-delay: .18s; }
.ai-message.loading i:nth-child(3) { animation-delay: .36s; }
@keyframes aiPulse { to { opacity: .25; transform: translateY(-3px); } }
.ai-prompts { display: flex; gap: 7px; padding: 12px 18px 0; overflow-x: auto; background: #fff; }
.ai-prompts button { flex: 0 0 auto; max-width: 260px; padding: 7px 10px; color: #725a27; background: #faf5e8; border: 1px solid #e1ce9a; border-radius: 18px; font-size: 10px; }
.ai-form { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; padding: 12px 18px; background: #fff; }
.ai-form input { min-width: 0; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; }
.ai-foot { display: flex; align-items: center; justify-content: space-between; padding: 0 18px 12px; color: #8a887f; background: #fff; font-size: 9px; }
.ai-foot button { padding: 0; color: #80662f; background: none; border: 0; font-size: 9px; }
.notification { padding: 13px 0; border-bottom: 1px solid var(--line); }
.notification:last-child { border: 0; }
.notification strong { display: block; }
.notification p { margin: 2px 0; color: var(--muted); font-size: 11px; }
.notification small { color: #9b7832; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: -100px; transform: translateX(-50%); max-width: calc(100vw - 30px); padding: 12px 18px; color: white; background: #101d32; border: 1px solid #63532f; border-radius: 11px; box-shadow: 0 20px 55px rgba(5,13,26,.32); font-size: 12px; transition: bottom .3s ease; }
.toast.show { bottom: 24px; }
.toast.error { border-color: #87423e; }
.bottom-nav { display: none; }

.advertising-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 26px; padding: clamp(22px,4vw,34px); color: #f8f4e9; background: radial-gradient(circle at 80% 0,#493c20 0,transparent 34%),linear-gradient(135deg,#101e33,#091322); border: 1px solid #3e4653; border-radius: var(--radius); }
.advertising-cta h2 { margin-bottom: 6px; font: 800 clamp(21px,3vw,30px) "Manrope"; }
.advertising-cta p { max-width: 620px; margin-bottom: 0; color: #a6a39a; }
.advertising-cta .eyebrow { color: var(--gold-2); }
.founder-ad-cta { margin-top: 18px; }
.sponsor-grid,.sponsor-strip { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,280px),1fr)); gap: 14px; }
.sponsor-strip { margin-bottom: 18px; }
.sponsor-card { position: relative; display: grid; grid-template-columns: 62px 1fr; gap: 16px; padding: 22px; overflow: hidden; background: linear-gradient(145deg,#fffefa,#f6f0df); border: 1px solid #dcc785; border-radius: var(--radius); box-shadow: 0 12px 34px rgba(35,27,10,.07); }
.sponsor-card:before { content:""; position:absolute; left:0; right:0; top:0; height:3px; background:linear-gradient(90deg,var(--gold),var(--gold-2)); }
.sponsor-label { position: absolute; right: 14px; top: 12px; color: #8b6e30; font-size: 8px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.sponsor-mark { width: 62px; height: 62px; display: grid; place-items: center; margin-top: 8px; color: var(--gold-2); background: var(--ink); border: 1px solid #614e27; border-radius: 17px; font: 800 19px "Manrope"; }
.sponsor-copy { min-width: 0; }
.sponsor-copy small { display: block; padding-right: 76px; color: #777168; font-weight: 700; }
.sponsor-copy h3 { margin: 7px 0 5px; font: 800 18px "Manrope"; }
.sponsor-copy p { margin-bottom: 13px; color: var(--muted); font-size: 11px; }
.sponsor-copy .button { min-height: 36px; padding: 0 13px; }
.advertise-hero { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(230px,.6fr); gap: 28px; align-items: center; padding: clamp(25px,5vw,48px); color: #f8f5ec; background: radial-gradient(circle at 84% 8%,#544320 0,transparent 32%),linear-gradient(135deg,#0d1b30,#08121f); border-color: #3c4657; }
.advertise-hero h2 { margin: 18px 0 7px; font: 800 clamp(27px,4vw,43px)/1.06 "Manrope"; letter-spacing: -.04em; }
.advertise-hero p { max-width: 690px; color: #aaa79e; }
.advertise-proof { padding: 26px; background: rgba(255,255,255,.05); border: 1px solid rgba(240,206,120,.24); border-radius: 18px; }
.advertise-proof strong { display: block; color: var(--gold-2); font: 800 48px "Manrope"; }
.advertise-proof span { font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.advertise-proof p { margin: 13px 0 0; font-size: 11px; }
.ad-plan-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; }
.ad-plan { display: flex; flex-direction: column; min-height: 360px; padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.ad-plan.featured { border-color: #c7a044; box-shadow: 0 18px 45px rgba(118,84,19,.12); }
.ad-plan > span { color: #8b6e30; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ad-plan h3 { margin: 14px 0 5px; font: 800 20px "Manrope"; }
.ad-price { font: 800 38px "Manrope"; }
.ad-price small { color: var(--muted); font-size: 12px; }
.ad-plan p,.ad-plan li { color: var(--muted); font-size: 11px; }
.ad-plan ul { flex: 1; padding-left: 18px; }
.ad-plan li { margin: 7px 0; }
.ad-form-note { padding: 13px 15px; color: #756235; background: #f8f0db; border: 1px solid #e4d29e; border-radius: 10px; font-size: 10px; }
.ad-form-note.full { grid-column: 1/-1; }
.button.compact { min-height: 34px; padding: 0 11px; font-size: 10px; }

.launch-banner { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 22px; padding: 24px 28px; color: #f7f4ec; background: radial-gradient(circle at 86% 0,#4e4021 0,transparent 32%),linear-gradient(135deg,#101e33,#091322); border: 1px solid #485160; border-radius: var(--radius); }
.launch-banner h2 { margin: 10px 0 4px; font: 800 clamp(20px,3vw,28px) "Manrope"; }
.launch-banner p { max-width: 690px; margin: 0; color: #aaa69d; }
.launch-banner > strong { flex: 0 0 auto; color: var(--gold-2); font-size: 10px; letter-spacing: .14em; }
.launch-banner.compact-banner { padding-block: 18px; }
.launch-banner.compact-banner h2 { font-size: 20px; }
.partner-intake-steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; margin-bottom: 22px; overflow: hidden; }
.partner-intake-steps > div { padding: 20px; border-right: 1px solid var(--line); }
.partner-intake-steps > div:last-child { border-right: 0; }
.partner-intake-steps span { width: 27px; height: 27px; display: grid; place-items: center; margin-bottom: 12px; color: #7b5c1d; background: #f2e5c6; border-radius: 8px; font: 800 11px "Manrope"; }
.partner-intake-steps strong { display: block; font: 800 13px "Manrope"; }
.partner-intake-steps p { margin: 5px 0 0; color: var(--muted); font-size: 10px; }
.shop-visit-checklist { padding: 15px; color: #4f4c45; background: #f8f5ed; border: 1px solid var(--line); border-radius: 11px; }
.shop-visit-checklist ol { padding-left: 20px; margin: 8px 0 0; }
.shop-visit-checklist li { margin: 5px 0; color: var(--muted); font-size: 10px; }
.meeting-list { padding-left: 21px; margin: 12px 0 0; color: #5d5b54; }
.meeting-list li { margin: 9px 0; padding-left: 4px; }
.role-boundary { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; margin-top: 18px; }
.role-boundary > div { padding: 24px; border-right: 1px solid var(--line); }
.role-boundary > div:last-child { border-right: 0; }
.role-boundary p { margin: 0; color: var(--muted); }
.pipeline-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.pipeline-grid > .panel { grid-column: 1/-1; }
.pipeline-card { padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(30,24,12,.04); }
.pipeline-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.pipeline-card h3 { margin: 10px 0 3px; font: 800 20px "Manrope"; }
.pipeline-card-head p,.pipeline-contact { color: var(--muted); font-size: 12px; }
.pipeline-contact { padding: 10px 0; margin: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.pipeline-meta { display: grid; gap: 6px; margin-top: 14px; color: #77746c; font-size: 11px; }
.filter-bar .pipeline-add { color: #fff; background: var(--ink); border-color: var(--ink); }
.workspace-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.workspace-card { min-height: 260px; display: flex; flex-direction: column; padding: 28px; color: #f3f4f6; background: linear-gradient(145deg,#0e1b2f,#1a2b44); border: 1px solid #34465f; border-radius: var(--radius); }
.workspace-card > span { color: var(--gold); font: 800 11px "Manrope"; letter-spacing: .14em; }
.workspace-card h2 { margin: 28px 0 8px; font: 800 28px "Manrope"; }
.workspace-card p { flex: 1; color: #aaa9a2; }
.workspace-card .button { align-self: flex-start; }
.founder-access-note { margin-top: 18px; }
.founder-access-note strong { font: 800 19px "Manrope"; }
.founder-access-note p { color: var(--muted); }
.access-create-form { margin-bottom: 28px; }
.access-create-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.access-people-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.access-people-grid > .panel { grid-column: 1/-1; }
.access-person-card { min-width: 0; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 34px rgba(30,24,12,.05); }
.access-person-card.founder-card { border-color: #cda94f; background: linear-gradient(145deg,#fffdf7,#f8efd7); }
.access-person-head { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 12px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.access-person-head h3 { margin: 0 0 2px; font: 800 17px "Manrope"; }
.access-person-head p { margin: 0; overflow-wrap: anywhere; color: var(--muted); font-size: 12px; }
.access-person-head small { display: block; margin-top: 3px; color: #929087; font-size: 11px; }
.access-avatar { width: 43px; height: 43px; display: grid; place-items: center; color: #f5d880; background: var(--ink); border-radius: 12px; font: 800 14px "Manrope"; }
.role-form,.access-create-grid { min-width: 0; }
.role-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding-top: 17px; }
.role-main-field,.role-scope-field { min-width: 0; }
.role-main-field label,.role-scope-field label { display: block; margin-bottom: 6px; color: #5f5d56; font-size: 12px; font-weight: 700; }
.role-main-field select,.role-scope-field select { width: 100%; min-height: 44px; min-width: 0; padding: 9px 11px; border: 1px solid #d8d4ca; border-radius: 9px; background: #fbfaf7; color: var(--ink); font-size: 13px; }
.role-main-field select:focus,.role-scope-field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(215,173,83,.13); }
.role-scope-field small { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; }
.role-customer-note { min-height: 68px; padding: 11px 13px; background: #f5f2e9; border: 1px solid var(--line); border-radius: 9px; }
.role-customer-note strong,.role-customer-note small { display: block; }
.role-save { grid-column: 1/-1; display: flex; align-items: center; gap: 12px; padding-top: 3px; }
.role-form-status { color: #765d24; font-size: 12px; font-weight: 600; }
.founder-lock { padding-top: 17px; }
.founder-lock p { margin: 4px 0 0; color: var(--muted); }
td small { display: block; margin-top: 4px; color: var(--muted); }

.operations-board { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(330px,.88fr); gap: 16px; margin-bottom: 16px; }
.operations-lower { align-items: start; grid-template-columns: minmax(0,1fr) minmax(360px,1fr); margin-bottom: 26px; }
.operations-panel { min-width: 0; padding: 22px; overflow: hidden; }
.operations-panel .panel-head { align-items: flex-start; padding: 0 0 18px; }
.operations-panel .panel-head h2 { margin: 5px 0 0; font: 800 22px "Manrope"; }
.operations-priorities { background: linear-gradient(145deg,#fffefa,#f9f5e9); }
.operations-task-list { display: grid; gap: 8px; }
.operations-task { width: 100%; min-width: 0; display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 11px 12px; color: var(--ink); background: rgba(255,255,255,.82); border: 1px solid var(--line); border-radius: 12px; text-align: left; transition: transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
.operations-task:hover { transform: translateY(-1px); border-color: #bea255; box-shadow: 0 8px 22px rgba(30,24,12,.07); }
.operations-task > span { width: 42px; height: 42px; display: grid; place-items: center; color: #181207; background: var(--gold-soft); border-radius: 11px; font: 800 17px "Manrope"; }
.operations-task div { min-width: 0; }
.operations-task strong,.operations-task small { display: block; }
.operations-task strong { font: 800 13px "Manrope"; }
.operations-task small { margin-top: 2px; color: var(--muted); font-size: 11px; }
.operations-task > b { color: #967221; font-size: 18px; }
.payment-health { color: #f6f8fc; background: radial-gradient(circle at 100% 0,rgba(215,173,83,.28),transparent 34%),linear-gradient(145deg,#0b1628,#182b45); border-color: #334861; }
.payment-health .eyebrow,.payment-health .panel-head h2 { color: #f6f8fc; }
.payment-health .eyebrow:before { background: var(--gold-2); }
.payment-health .status-pill { border-color: rgba(240,206,120,.34); }
.payment-health-main { display: grid; gap: 2px; padding: 3px 0 18px; }
.payment-health-main > strong { color: var(--gold-2); font: 800 clamp(30px,4vw,46px) "Manrope"; letter-spacing: -.04em; }
.payment-health-main > span { color: #afb9c8; font-size: 12px; }
.health-checks { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.health-checks > div { min-width: 0; display: grid; grid-template-columns: auto minmax(0,1fr); column-gap: 8px; padding: 11px; background: rgba(255,255,255,.055); border: 1px solid rgba(213,225,243,.11); border-radius: 11px; }
.health-checks strong,.health-checks small { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.health-checks strong { font-size: 11px; }
.health-checks small { grid-column: 2; color: #99a6b8; font-size: 10px; }
.health-dot { width: 8px; height: 8px; margin-top: 4px; background: #c56c62; border-radius: 50%; box-shadow: 0 0 0 4px rgba(197,108,98,.1); }
.health-dot.ready { background: var(--green); box-shadow: 0 0 0 4px rgba(61,187,131,.1); }
.payment-foot { display: grid; gap: 3px; margin: 16px 0; color: #9facbd; font-size: 10px; }
.payment-health .button.light { color: #f6f8fc; background: rgba(255,255,255,.07); border-color: rgba(213,225,243,.16); }
.pipeline-bars { display: grid; gap: 9px; }
.pipeline-bar { display: grid; grid-template-columns: 116px minmax(0,1fr) 26px; align-items: center; gap: 10px; }
.pipeline-bar > span { overflow: hidden; color: #5f5d56; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.pipeline-bar > i,.region-pack-progress i { height: 7px; overflow: hidden; background: #ece8dd; border-radius: 999px; }
.pipeline-bar > i > b,.region-pack-progress i > b { min-width: 0; height: 100%; display: block; background: linear-gradient(90deg,#ac7d24,var(--gold-2)); border-radius: inherit; }
.pipeline-bar > strong { text-align: right; font: 800 12px "Manrope"; }
.due-leads { display: grid; gap: 8px; margin-top: 19px; padding-top: 16px; border-top: 1px solid var(--line); }
.due-leads > strong { font: 800 12px "Manrope"; }
.due-leads > div { display: grid; grid-template-columns: 34px minmax(0,1fr); align-items: center; gap: 9px; }
.due-leads > div > span { width: 34px; height: 34px; display: grid; place-items: center; color: var(--gold-2); background: var(--ink); border-radius: 9px; font: 800 10px "Manrope"; }
.due-leads p,.due-leads b,.due-leads small { min-width: 0; display: block; margin: 0; }
.due-leads b { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.due-leads small { color: var(--muted); font-size: 10px; }
.region-operations { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
.region-operations > section { min-width: 0; padding: 15px; background: #f8f6f0; border: 1px solid var(--line); border-radius: 13px; }
.region-operation-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.region-operation-head strong,.region-operation-head small { display: block; }
.region-operation-head > div > strong { font: 800 14px "Manrope"; }
.region-operation-head > div > small { margin-top: 2px; color: var(--muted); font-size: 10px; }
.region-operation-head > span { color: #966f1e; text-align: right; font: 800 23px "Manrope"; }
.region-operation-head > span small { color: var(--muted); font-size: 8px; letter-spacing: .12em; }
.region-stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; margin: 14px 0; }
.region-stat-row > span { padding: 8px 4px; background: #fff; border: 1px solid #e7e2d6; border-radius: 9px; text-align: center; font: 800 15px "Manrope"; }
.region-stat-row small { display: block; color: var(--muted); font: 500 8px "DM Sans"; }
.region-pack-progress { display: grid; gap: 8px; }
.region-pack-progress > div { display: grid; gap: 4px; }
.region-pack-progress span { display: flex; justify-content: space-between; gap: 8px; color: #69665f; font-size: 9px; }
.region-pack-progress i { height: 5px; }

html[data-device="desktop"] .app-layout { width: 100%; grid-template-columns: minmax(224px,var(--sidebar)) minmax(0,1fr); }
html[data-device="desktop"] .sidebar { position: sticky; left: auto; top: 76px; width: auto; height: calc(100dvh - 76px); transform: none; }
html[data-device="desktop"] .content { width: 100%; min-width: 0; }
html[data-device="desktop"] .page { width: 100%; }
html[data-device="desktop"] .mobile-menu,
html[data-device="desktop"] .nav-scrim,
html[data-device="desktop"] .bottom-nav { display: none !important; }

html[data-device="tablet"] .topbar { grid-template-columns: auto auto 1fr auto; }
html[data-device="tablet"] .mobile-menu { display: block; margin-left: 12px; border: 0; color: white; background: transparent; font-size: 20px; }
html[data-device="tablet"] .brand { padding: 0 16px; border-right: 0; }
html[data-device="tablet"] .topbar-context { padding-left: 12px; }
html[data-device="tablet"] .app-layout { display: block; }
html[data-device="tablet"] .sidebar { position: fixed; z-index: 51; left: -280px; top: 76px; width: 248px; height: calc(100dvh - 76px); transition: left .25s ease; box-shadow: 20px 0 60px rgba(5,13,26,.4); }
html[data-device="tablet"] .sidebar.open { left: 0; }
html[data-device="tablet"] .content { width: 100%; padding: 30px 28px 70px; }
html[data-device="tablet"] .nav-scrim.show { position: fixed; z-index: 50; inset: 76px 0 0; display: block; border: 0; background: rgba(5,13,26,.46); backdrop-filter: blur(2px); }
html[data-device="tablet"] .bottom-nav { display: none; }

html[data-device="phone"] .nav-scrim.show { position: fixed; z-index: 29; inset: 87px 0 0; display: block; border: 0; background: rgba(5,13,26,.46); backdrop-filter: blur(2px); }

@media (max-width: 1050px) {
  :root { --sidebar: 210px; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .pack-grid,.catalog-grid { grid-template-columns: 1fr 1fr; }
  .hero-panel { grid-template-columns: 1fr; }
  .hero-stat { display: none; }
  .partner-intake-steps { grid-template-columns: 1fr 1fr; }
  .partner-intake-steps > div:nth-child(2) { border-right: 0; }
  .partner-intake-steps > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .operations-board,.operations-lower { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .launch-ribbon { height: 24px; font-size: 8px; }
  .topbar { height: 63px; grid-template-columns: auto 1fr auto; }
  .mobile-menu { display: block; margin-left: 9px; border: 0; color: white; background: transparent; font-size: 20px; }
  .brand { padding: 0 8px; border: 0; font-size: 16px; }
  .brand-logo { flex-basis: 32px; width: 32px !important; min-width: 32px; max-width: 32px; height: 32px !important; max-height: 32px; }
  .topbar-context,.account-copy,.icon-button { display: none; }
  .topbar-actions { padding: 0 10px; }
  .account-button { min-width: auto; }
  .account-button .avatar { width: 34px; height: 34px; }
  .app-layout { display: block; min-height: calc(100vh - 87px); }
  .sidebar { position: fixed; left: -260px; top: 87px; width: 248px; height: calc(100dvh - 87px); transition: left .25s ease; box-shadow: 20px 0 60px rgba(5,13,26,.4); }
  .sidebar.open { left: 0; }
  .content { padding: 22px 15px 95px; }
  .page-heading { align-items: flex-start; }
  .page-heading h1 { font-size: 31px; }
  .heading-actions { display: none; }
  .region-switcher { grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; }
  .region-switcher > span { grid-column: 1/-1; padding: 3px 6px 1px; }
  .region-switcher button { min-width: 0; padding: 8px 10px; }
  .region-switcher button strong { font-size: 12px; }
  .hero-panel { min-height: 440px; border-radius: 22px; }
  .hero-copy { padding: 34px 25px; }
  .hero-copy h1 { font-size: 42px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .metric-grid,.pack-grid,.catalog-grid,.split-grid,.form-grid { grid-template-columns: 1fr; }
  .ad-plan-grid,.advertise-hero { grid-template-columns: 1fr; }
  .workspace-grid,.pipeline-grid,.role-boundary { grid-template-columns: 1fr; }
  .role-boundary > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .role-boundary > div:last-child { border-bottom: 0; }
  .launch-banner { align-items: flex-start; flex-direction: column; padding: 22px; }
  .partner-intake-steps { grid-template-columns: 1fr; }
  .partner-intake-steps > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .partner-intake-steps > div:last-child { border-bottom: 0; }
  .launch-gate { align-items: flex-start; flex-direction: column; }
  .launch-gate span { text-align: left; }
  .access-create-grid,.access-people-grid,.role-form { grid-template-columns: 1fr; }
  .access-person-card { padding: 18px; }
  .access-person-head { grid-template-columns: auto minmax(0,1fr); }
  .access-person-head .status-pill { grid-column: 2; justify-self: start; }
  .role-save { align-items: stretch; flex-direction: column; }
  .role-form .button,.access-create-grid .button,.workspace-card .button { width: 100%; }
  .advertising-cta { align-items: stretch; flex-direction: column; }
  .advertising-cta .button { width: 100%; }
  .sponsor-card { grid-template-columns: 50px 1fr; padding: 19px; }
  .sponsor-mark { width: 50px; height: 50px; border-radius: 14px; }
  .app-install-panel { grid-template-columns: 74px 1fr; gap: 15px; }
  .app-install-icon { width: 70px; height: 70px; border-radius: 19px; }
  .app-install-icon img { width: 59px; height: 59px; }
  .metric-grid { gap: 9px; }
  .metric { padding: 16px; }
  .metric strong { font-size: 24px; }
  .pack-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .pack-grid { margin-inline: -15px; padding: 2px 15px 12px; scroll-padding-inline: 15px; scrollbar-width: none; }
  .pack-grid::-webkit-scrollbar { display: none; }
  .pack-card { min-width: min(86vw,390px); min-height: 390px; padding: 22px; scroll-snap-align: center; }
  .pack-card .pack-bottom { display: grid; grid-template-columns: 1fr; align-items: stretch; }
  .pack-action { width: 100%; }
  .pack-status-summary { grid-template-columns: 62px 1fr; padding: 15px; }
  .pack-summary-number { width: 56px; height: 56px; border-radius: 15px; font-size: 25px; }
  .carlin-pass { grid-template-columns: 1fr; }
  .pass-code-grid { grid-template-columns: 1fr; }
  .partner-test-builder { align-items: stretch; flex-direction: column; }
  .partner-test-builder .button { width: 100%; }
  .barcode-zone canvas { height: 120px; }
  .pass-expiry { grid-template-columns: 1fr; text-align: center; }
  .checkout-pass-head { flex-direction: column; }
  .pass-info { min-height: 280px; padding: 30px; }
  .pass-info h2 { margin-top: 35px; }
  .qr-zone { margin-top: 0; }
  .application-card { grid-template-columns: 1fr; }
  .deal-guide { grid-template-columns: 1fr; gap: 8px; }
  .deal-card-head { grid-template-columns: 1fr; }
  .deal-pack-count { text-align: left; }
  .pack-assignment-grid,.deal-controls { grid-template-columns: 1fr; }
  .deal-save-row { align-items: stretch; flex-direction: column; }
  .deal-save-row .button { width: 100%; }
  .filter-bar { display: grid; grid-template-columns: 1fr; }
  .filter-bar button,.filter-bar select { width: 100%; min-width: 0; }
  .operations-panel { padding: 18px; }
  .health-checks,.region-operations { grid-template-columns: 1fr; }
  .operations-task { grid-template-columns: 38px minmax(0,1fr) auto; padding: 10px; }
  .operations-task > span { width: 38px; height: 38px; }
  .pipeline-bar { grid-template-columns: 92px minmax(0,1fr) 22px; gap: 7px; }
  .modal-actions { flex-direction: column-reverse; }
  .modal-actions .button,.modal-actions .google-signin { width: 100%; }
  .scanner { padding: 24px 16px; }
  .scanner-steps { grid-template-columns: 1fr; }
  .scan-confirm-actions { grid-template-columns: 1fr; }
  .app-actions { flex-wrap: wrap; }
  .bottom-nav { position: fixed; z-index: 35; left: 10px; right: 10px; bottom: 10px; display: grid; grid-template-columns: repeat(var(--nav-count,5),1fr); padding: 7px; color: #9fa9b8; background: rgba(10,20,36,.96); border: 1px solid #31435f; border-radius: 17px; box-shadow: 0 10px 45px rgba(5,13,26,.4); backdrop-filter: blur(12px); }
  .bottom-nav a { display: grid; justify-items: center; gap: 1px; padding: 5px 2px; border-radius: 9px; text-decoration: none; font-size: 8px; }
  .bottom-nav a .nav-icon { font-size: 15px; }
  .bottom-nav a.active { color: var(--gold-2); background: #1b2d48; }
  .bottom-nav.dense a { padding-inline: 0; font-size: 6px; }
  .bottom-nav.dense a .nav-icon { font-size: 13px; }
  .toast.show { bottom: 88px; }
  .ai-launch { right: 14px; bottom: 88px; min-height: 38px; padding: 5px 11px 5px 5px; }
  .ai-launch span { width: 27px; height: 27px; }
  .ai-dialog { height: min(760px,92vh); }
  .ai-transcript { padding: 16px 13px; }
  .ai-message { max-width: 96%; }
  .ai-prompts { padding-inline: 13px; }
  .ai-form { padding-inline: 13px; }
}

@media (max-width: 420px) {
  .brand-name { display: none; }
  .page-heading p { font-size: 11px; }
  .hero-copy h1 { font-size: 37px; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .pack-card { min-width: 88vw; }
  .pass-meta { gap: 20px; }
}

@media (prefers-reduced-motion: reduce) { *,*:before,*:after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
