/* FXR sales team portal. Phone first; sidebar layout from 900px. Tokens come from brand.css. */
body { background: var(--bg); min-height: 100vh; overflow-x: hidden; }
html { overflow-x: hidden; }
body::before { content: ''; position: fixed; left: 0; right: 0; top: -20vh; height: 70vh; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(11, 180, 228, 0.16), transparent 60%); }
#app { position: relative; z-index: 1; }

/* boot */
.boot { min-height: 100vh; display: grid; place-items: center; }
.boot-mark { text-align: center; }
.boot-mark img { width: 96px; height: 96px; margin: 0 auto 10px; border-radius: 50%; animation: pulse 1.4s var(--ease) infinite; }
.boot-mark .fxr-mark { font-size: 42px; display: block; }
.boot-mark small { letter-spacing: 0.4em; color: var(--text-3); font-weight: 700; font-size: 11px; }
@keyframes pulse { 50% { opacity: 0.55; transform: scale(0.97); } }

/* type */
h1, h2, h3, h4 { font-family: var(--display); margin: 0; letter-spacing: 0.005em; line-height: 1.15; }
h1 { font-size: clamp(26px, 6vw, 36px); font-weight: 850; }
h2 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
h3 { font-size: 16px; font-weight: 750; }
h4 { font-size: 14px; font-weight: 700; color: var(--text-2); }
p { margin: 0 0 10px; }
.eyebrow { font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin: 0 0 4px; }
.muted { color: var(--text-2); }
.small { font-size: 13px; }
.tiny { font-size: 11.5px; margin-top: 8px; }
.center { text-align: center; }
.link { color: var(--text-2); text-decoration: none; font-weight: 600; }
.link:hover { color: var(--text); }
.grow { flex: 1; min-width: 0; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.ic { flex: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 12px;
  border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text); font-weight: 650; font-size: 15px; text-decoration: none;
  cursor: pointer; transition: transform 0.12s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.2s; white-space: nowrap; }
.btn:hover { background: var(--surface-3); }
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn.primary { background: linear-gradient(180deg, var(--accent-2), var(--accent) 55%, var(--accent-3)); border-color: transparent; color: var(--accent-ink); font-weight: 750; box-shadow: 0 6px 22px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,.35); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; }
.btn.danger { background: var(--bad); border-color: transparent; color: #fff; }
.btn.big { min-height: 54px; font-size: 16.5px; border-radius: 14px; }
.btn.sm { min-height: 34px; padding: 0 12px; font-size: 13.5px; border-radius: 10px; }
.btn.block { display: flex; width: 100%; }
.btn.icon-only { padding: 0; width: 46px; }
.btn.busy { color: transparent !important; position: relative; }
.btn.busy::after { content: ''; position: absolute; width: 18px; height: 18px; border: 2.5px solid rgba(127,127,127,.4); border-top-color: currentColor; color: var(--text); border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.danger-text { color: var(--bad); }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.btn-row.center { justify-content: center; }
.icon-btn { background: none; border: 0; color: var(--text-3); cursor: pointer; padding: 6px; border-radius: 8px; display: grid; place-items: center; }
.icon-btn:hover { color: var(--text); background: var(--surface-3); }

/* cards */
.card { background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; margin-bottom: 14px; }
.card.glow { position: relative; overflow: hidden; border-color: rgba(11, 180, 228, 0.25); }
.card.glow::before { content: ''; position: absolute; inset: -40% -10% auto auto; width: 70%; height: 140%; pointer-events: none;
  background: radial-gradient(circle, rgba(11, 180, 228, 0.22), transparent 65%); }
.card > * { position: relative; }
.two-col { display: grid; gap: 14px; }
.two-col > .card { margin-bottom: 0; }
.two-col { margin-bottom: 14px; }
.empty { text-align: center; color: var(--text-3); padding: 18px 8px; display: grid; justify-items: center; gap: 6px; list-style: none; }
.empty p { margin: 0; font-size: 14px; }
.empty.big { padding: 60px 16px; }
.banner { display: flex; align-items: center; gap: 10px; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; font-size: 14px; margin-bottom: 14px; }
.banner.good { border-color: rgba(48, 209, 88, 0.4); background: rgba(48, 209, 88, 0.08); }
.contest-banner { border-color: var(--line-2); background: linear-gradient(90deg, rgba(11, 180, 228, 0.14), rgba(11, 180, 228, 0.03)); color: var(--text); }
.contest-banner .ic { color: var(--warn); }

/* forms */
.form { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field > span { font-size: 12.5px; font-weight: 650; color: var(--text-2); }
input, select, textarea { width: 100%; background: var(--bg); border: 1px solid var(--line-2); border-radius: 11px; padding: 12px 13px; font-size: 16px; min-height: 46px; transition: border-color 0.2s, box-shadow 0.2s; }
textarea { resize: vertical; min-height: 0; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(11, 180, 228, 0.18); }
input[type="date"] { color-scheme: dark; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grid4 { display: grid; grid-template-columns: 0.7fr 1fr 1fr 0.9fr; gap: 8px; }
.check { display: flex; gap: 10px; align-items: center; font-size: 14.5px; cursor: pointer; }
.check input { width: 20px; height: 20px; min-height: 0; accent-color: var(--accent); }
.form-err { color: var(--bad); font-size: 14px; margin: 0; }
.search { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; padding: 0 12px; margin-bottom: 12px; color: var(--text-3); }
.search input { border: 0; background: transparent; padding-left: 0; box-shadow: none !important; }

/* segmented + chips */
.seg { display: flex; gap: 4px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 4px; margin-bottom: 12px; }
.seg > button, .seg > a, .seg > label { flex: 1; text-align: center; border: 0; background: none; border-radius: 9px; padding: 8px 6px; font-weight: 650; font-size: 13.5px;
  color: var(--text-2); cursor: pointer; text-decoration: none; transition: background 0.2s, color 0.2s; }
.seg > .on, .seg > label:has(input:checked) { background: var(--surface-3); color: var(--text); box-shadow: 0 1px 0 var(--line-2) inset; }
.seg label input, .chips.pick input { position: absolute; opacity: 0; pointer-events: none; }
.big-seg > a, .big-seg > button { padding: 10px 6px; font-size: 14.5px; }
.temp-seg label:has(input[value="hot"]:checked) { background: rgba(255, 128, 50, 0.2); color: #ffad7a; }
.temp-seg label:has(input[value="warm"]:checked) { background: rgba(255, 159, 10, 0.18); color: #ffc46b; }
.temp-seg label:has(input[value="cold"]:checked) { background: rgba(160, 190, 255, 0.16); color: #c3d4ff; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 12px; scrollbar-width: none; flex-wrap: nowrap; }
.chips::-webkit-scrollbar { display: none; }
.chips.pick, .field .chips { flex-wrap: wrap; overflow: visible; }
.chips > button, .chips > label > span { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text-2);
  border-radius: 999px; padding: 8px 13px; font-size: 13.5px; font-weight: 650; cursor: pointer; white-space: nowrap; transition: all 0.15s; }
.chips > label { position: relative; }
.chips > button i, .chips > label > span i { font-style: normal; color: var(--text-3); font-weight: 600; }
.chips > button.on, .chips > label:has(input:checked) > span { background: rgba(11, 180, 228, 0.14); border-color: rgba(11, 180, 228, 0.55); color: #fff; }
.chips > button.on i { color: var(--accent-2); }

/* pills + tags */
.pill { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--surface-3); color: var(--text-2); text-transform: capitalize; white-space: nowrap; }
.pill.confirmed, .pill.s-interested { background: rgba(48, 209, 88, 0.14); color: #7ee2a0; }
.pill.requested, .pill.s-new { background: rgba(160, 190, 255, 0.14); color: #c3d4ff; }
.pill.in_progress, .pill.on_the_way, .pill.s-quoted { background: rgba(255, 214, 10, 0.14); color: #ffe680; }
.pill.s-won { background: rgba(11, 180, 228, 0.2); color: var(--accent-2); }
.pill.s-lost, .pill.s-dnc { background: rgba(255, 255, 255, 0.05); color: var(--text-3); }
.kind { font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--info); background: rgba(11, 180, 228, 0.12); padding: 2px 7px; border-radius: 6px; }
.badge { font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; background: var(--accent); color: var(--accent-ink); padding: 3px 8px; border-radius: 6px; }
.temp-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; text-transform: capitalize; }
.temp-tag.hot { color: #ffad7a; } .temp-tag.warm { color: #ffd27a; } .temp-tag.cold { color: #c3d4ff; }
.temp-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.temp-dot.hot, .temp-bar.hot { background: #ff8032; box-shadow: 0 0 10px rgba(255, 128, 50, 0.6); }
.temp-dot.warm, .temp-bar.warm { background: #ffc43d; }
.temp-dot.cold, .temp-bar.cold { background: #8fb0ff; }

/* avatar */
.av { display: inline-grid; place-items: center; flex: none; border-radius: 50%; font-weight: 800; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.55); font-family: var(--display);
  background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--c) 100%, #fff 25%), var(--c) 55%, color-mix(in srgb, var(--c) 70%, #000)); box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px color-mix(in srgb, var(--c) 55%, transparent); }

/* lists */
.list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; }
.list > li, .board > li, .lead-list > li { min-width: 0; }
.li-link { display: flex; align-items: center; gap: 12px; padding: 10px 6px; border-radius: 12px; text-decoration: none; color: inherit; }
a.li-link:hover { background: var(--surface-2); }
.li-link b { display: block; font-size: 15px; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.li-link small { color: var(--text-3); font-size: 12.5px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.due { font-size: 12px; font-weight: 700; }
.due { color: var(--accent-2); }
.due.late, .late { color: var(--warn) !important; }
.date-badge { width: 46px; text-align: center; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 4px 0; flex: none; }
.date-badge small { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); font-weight: 800; }
.date-badge b { font-family: var(--display); font-size: 19px; line-height: 1.1; }
.loading { display: flex; justify-content: center; gap: 7px; padding: 60px 0; }
.loading.sm { padding: 18px 0; }
.loading span { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); animation: bounce 0.9s infinite ease-in-out; }
.loading span:nth-child(2) { animation-delay: 0.15s; } .loading span:nth-child(3) { animation-delay: 0.3s; }
@keyframes bounce { 0%, 80%, 100% { transform: scale(0.5); opacity: 0.4; } 40% { transform: scale(1); opacity: 1; } }

/* ---------- auth ---------- */
.auth-page { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; overflow-x: hidden; }
.auth { width: 100%; max-width: 420px; }
.auth-hero { text-align: center; position: relative; margin-bottom: 22px; }
.auth-glow { position: absolute; inset: -40px 0 auto; height: 260px; background: radial-gradient(ellipse, rgba(11, 180, 228, 0.28), transparent 65%); filter: blur(10px); pointer-events: none; }
.auth-car { position: relative; display: block; width: min(320px, 86%); height: auto; margin: 0 auto 6px; }
.auth-words { position: relative; display: grid; justify-items: center; gap: 2px; }
.auth-words .fxr-mark { font-size: 46px; line-height: 1; }
.auth-words .fxr-sub { font-size: 13px; }
.auth-kicker { position: relative; display: inline-block; letter-spacing: 0.42em; font-size: 11px; font-weight: 800; color: var(--accent-ink); background: var(--accent); padding: 4px 10px 4px 14px; border-radius: 6px; margin: 14px 0 18px; }
.auth-hero h1 { position: relative; font-size: 30px; }
.auth-hero p { position: relative; color: var(--text-2); margin-top: 6px; }
.auth-card { display: grid; gap: 14px; padding: 22px; }

/* ---------- shell ---------- */
.shell { min-height: 100vh; }
.side { display: none; }
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 10px; padding: 10px 16px; padding-top: max(10px, env(safe-area-inset-top));
  background: rgba(8, 8, 10, 0.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.top-brand { display: flex; align-items: center; gap: 9px; text-decoration: none; margin-right: auto; }
.top-brand img { width: 32px; height: 32px; border-radius: 50%; }
.top-brand .fxr-mark { font-size: 22px; }
.top-chat { position: relative; color: var(--text-2); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; }
.top-me { text-decoration: none; display: grid; }
.dot, .cdot { position: absolute; top: 6px; right: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--bg), 0 0 10px var(--accent); }
.cdot { position: static; display: inline-block; margin-left: auto; }
.view { width: 100%; min-width: 0; padding: 16px 16px calc(96px + env(safe-area-inset-bottom)); max-width: 1180px; margin: 0 auto; outline: none; }
.tabs { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr);
  background: rgba(10, 10, 13, 0.9); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.tabs a { position: relative; display: grid; justify-items: center; gap: 3px; padding: 9px 0 8px; color: var(--text-3); text-decoration: none; font-size: 11px; font-weight: 650; }
.tabs a.on { color: var(--text); }
.tabs a.on .ic { color: var(--accent); filter: drop-shadow(0 0 8px var(--accent-glow)); }
.tabs a[data-nav="knock"] .ic { width: 27px; height: 27px; }
.tabs .dot { top: 6px; right: calc(50% - 18px); }

@media (min-width: 900px) {
  .shell { display: grid; grid-template-columns: 250px 1fr; }
  .top, .tabs { display: none; }
  .side { display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; padding: 22px 14px; border-right: 1px solid var(--line); background: rgba(10, 10, 13, 0.6); }
  .side-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; padding: 0 8px 24px; }
  .side-brand img { width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 0 18px rgba(11, 180, 228, 0.35); }
  .side-brand .fxr-mark { font-size: 30px; line-height: 1; display: block; }
  .side-brand small { display: block; letter-spacing: 0.32em; font-size: 10px; font-weight: 800; color: var(--accent); margin-top: 4px; }
  .side-nav { display: grid; gap: 3px; }
  .side-nav a { position: relative; display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; color: var(--text-2); text-decoration: none; font-weight: 600; font-size: 15px; transition: background 0.15s, color 0.15s; }
  .side-nav a:hover { background: var(--surface-2); color: var(--text); }
  .side-nav a.on { background: linear-gradient(90deg, rgba(11, 180, 228, 0.18), rgba(11, 180, 228, 0.02)); color: #fff; box-shadow: inset 3px 0 0 var(--accent); }
  .side-nav a.on .ic { color: var(--accent); }
  .side-nav .dot { position: static; margin-left: auto; }
  .side-me { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px 10px; border-top: 1px solid var(--line); }
  .side-me b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 130px; }
  .side-me small { color: var(--text-3); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; }
  .side-me > div { flex: 1; min-width: 0; }
  .view { padding: 28px 32px 48px; }
  .two-col { grid-template-columns: 1fr 1fr; }
}

/* page heads */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 4px 0 16px; }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); text-decoration: none; font-weight: 600; font-size: 14px; margin-bottom: 12px; }

/* ---------- home ---------- */
.hero { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 20px; }
.hero-name { font-family: var(--display); font-size: clamp(34px, 9vw, 54px); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1;
  margin-bottom: 12px; color: #fff; text-shadow: 0.06em 0.06em 0 var(--accent), 0 0 28px rgba(11, 180, 228, 0.35); overflow-wrap: anywhere; }
.rank-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(11, 180, 228, 0.12); border: 1px solid var(--line-2); font-size: 13.5px; color: var(--text-2); margin-bottom: 14px; }
.rank-chip b { color: #fff; font-family: var(--display); font-size: 15px; }
.rank-chip .ic { color: var(--accent); }
.pts-grid { display: grid; grid-template-columns: repeat(4, auto); gap: 6px 18px; }
.pts-grid small, .today-grid small, .stat small, .ks small, .mh-grid small, .money-hero small { display: block; color: var(--text-3); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.pts-grid b { font-family: var(--display); font-weight: 850; font-size: 24px; font-variant-numeric: tabular-nums; }
.hero-r { flex: none; }
.ring { position: relative; display: grid; place-items: center; }
.ring svg { position: absolute; inset: 0; }
.ring-bar { transition: stroke-dashoffset 1.3s var(--ease); filter: drop-shadow(0 0 7px rgba(11, 180, 228, 0.75)); }
.ring-in { text-align: center; padding: 0 14px; }
.ring-in b { display: block; font-family: var(--display); font-weight: 800; font-size: 18px; line-height: 1.1; letter-spacing: 0.03em; }
.ring-in small { display: block; color: var(--text-3); font-size: 11px; margin-top: 3px; line-height: 1.25; }
@media (max-width: 520px) {
  .hero { flex-direction: column-reverse; align-items: stretch; text-align: left; }
  .hero-r { align-self: center; }
  .pts-grid { grid-template-columns: repeat(4, 1fr); gap: 4px 8px; }
  .pts-grid b { font-size: 20px; }
}
.cta-knock { display: flex; align-items: center; gap: 14px; padding: 18px 20px; margin-bottom: 14px; border-radius: var(--radius-lg); text-decoration: none; color: var(--accent-ink);
  background: linear-gradient(110deg, var(--accent-2), var(--accent) 45%, var(--accent-3)); box-shadow: 0 12px 36px var(--accent-glow); position: relative; overflow: hidden; }
.cta-knock .sparkle { position: absolute; fill: #fff; opacity: 0.9; }
.cta-knock .s1 { right: 64px; top: 10px; width: 14px; } .cta-knock .s2 { right: 92px; bottom: 12px; width: 9px; } .cta-knock .s3 { right: 120px; top: 16px; width: 7px; }
.cta-knock::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%); transform: translateX(-100%); animation: sheen 3.2s infinite; }
@keyframes sheen { 60%, 100% { transform: translateX(100%); } }
.cta-knock div { flex: 1; }
.cta-knock b { display: block; font-family: var(--display); font-size: 20px; font-weight: 850; }
.cta-knock small { opacity: 0.8; font-weight: 600; }
.contest { display: flex; align-items: center; gap: 14px; border-color: var(--line-2); background: linear-gradient(120deg, rgba(11, 180, 228, 0.14), var(--bg-2) 60%); }
.contest-ic { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: rgba(255, 214, 10, 0.15); color: var(--warn); flex: none; }
.contest > div:nth-child(2) { flex: 1; }
.contest .eyebrow { color: var(--accent); }
.contest .prize { margin: 2px 0 0; color: #fff; font-weight: 700; }
.goal-num { text-align: right; font-family: var(--display); }
.goal-num b { font-size: 28px; font-weight: 900; }
.goal-num span { color: var(--text-3); font-weight: 700; }
.bar { height: 12px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent-3), var(--accent), var(--accent-2)); box-shadow: 0 0 14px var(--accent-glow); }
.money-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.stat { margin: 0; text-decoration: none; padding: 14px; }
.stat b { display: block; font-family: var(--display); font-size: clamp(19px, 5vw, 28px); font-weight: 850; margin-top: 4px; font-variant-numeric: tabular-nums; }
.stat.hot b { color: #7ee2a0; }
.today-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.today-grid > div { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 10px 6px; text-align: center; }
.today-grid b { display: block; font-family: var(--display); font-size: 24px; font-weight: 850; }
.today-grid small { font-size: 10px; }
.today-grid .accent { border-color: rgba(11, 180, 228, 0.4); }
.today-grid .accent b { color: var(--accent); text-shadow: 0 0 14px var(--accent-glow); }
@media (max-width: 520px) { .today-grid { grid-template-columns: repeat(3, 1fr); } .money-row { gap: 8px; } .stat { padding: 12px 10px; } }
.link-card { display: flex; gap: 18px; align-items: center; }
.qr-box { flex: none; width: 160px; height: 160px; border-radius: 16px; background: #fff; padding: 8px; display: grid; place-items: center; }
.qr-box img { width: 100%; height: 100%; image-rendering: pixelated; }
.qr-ph { width: 100%; height: 100%; border-radius: 10px; background: repeating-linear-gradient(45deg, #eee 0 6px, #ddd 6px 12px); }
.link-field { margin: 10px 0 0; }
.link-field input { font-size: 14px; color: var(--text-2); }
@media (max-width: 620px) { .link-card { flex-direction: column; align-items: stretch; } .qr-box { align-self: center; } }

/* leaderboard */
.board { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.board li { display: flex; align-items: center; gap: 12px; padding: 9px 8px; border-radius: 12px; }
.board li.me { background: rgba(11, 180, 228, 0.1); box-shadow: inset 0 0 0 1px rgba(11, 180, 228, 0.35); }
.board b { font-size: 15px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board b em { font-style: normal; font-size: 11px; font-weight: 800; color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; margin-left: 4px; }
.board small { color: var(--text-3); font-size: 12px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank { width: 26px; text-align: center; font-family: var(--display); font-weight: 900; font-size: 17px; color: var(--text-3); flex: none; }
.rank.r1 { color: var(--accent); text-shadow: 0 0 12px var(--accent-glow); } .rank.r2 { color: #e6edf2; } .rank.r3 { color: #8fb7c9; }
.pts { font-family: var(--display); font-weight: 900; font-size: 18px; font-variant-numeric: tabular-nums; min-width: 52px; text-align: right; }
.b-stats { display: flex; gap: 10px; color: var(--text-3); font-size: 12px; }
.b-stats span { display: inline-flex; align-items: center; gap: 3px; }
@media (max-width: 520px) { .b-stats { display: none; } }
.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: end; gap: 8px; margin: 10px 0 16px; }
.pod { display: grid; justify-items: center; gap: 4px; text-align: center; }
.pod b { font-size: 15px; } .pod small { color: var(--text-3); font-size: 12px; }
.pod-block { width: 100%; border-radius: 14px 14px 6px 6px; display: grid; align-content: start; padding-top: 10px; margin-top: 6px; background: linear-gradient(180deg, var(--surface-3), var(--bg-2)); border: 1px solid var(--line-2); }
.pod-block span { font-family: var(--display); font-size: 34px; font-weight: 900; }
.pod-block em { font-style: normal; font-weight: 800; color: var(--text-2); font-size: 14px; }
.p1 .pod-block { height: 150px; border-color: var(--accent); background: linear-gradient(180deg, rgba(11, 180, 228, 0.32), var(--bg-2)); box-shadow: 0 0 34px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,.2); }
.p1 .pod-block span { color: #fff; text-shadow: 0.06em 0.06em 0 var(--accent); }
.pod { position: relative; }
.pod .crown { position: absolute; top: -18px; left: 50%; width: 110px; height: 40px; transform: translateX(-50%); pointer-events: none; }
.pod .crown .sparkle { position: absolute; }
.pod .crown .c1 { left: 8px; top: 14px; width: 12px; } .pod .crown .c2 { left: 46px; top: 0; width: 18px; } .pod .crown .c3 { right: 8px; top: 12px; width: 13px; }
.p2 .pod-block { height: 112px; } .p3 .pod-block { height: 88px; }
.p3 .pod-block span { color: #8fb7c9; }
.pod.me b { color: var(--accent); }

/* ---------- knock ---------- */
.knock-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.knock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.ks { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px; text-align: center; }
.ks b { display: block; font-family: var(--display); font-weight: 900; font-size: 34px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.ks.accent { border-color: rgba(11, 180, 228, 0.45); background: linear-gradient(180deg, rgba(11, 180, 228, 0.14), var(--surface)); }
.ks.accent b { color: #fff; text-shadow: 0 0 18px var(--accent-glow); }
.pop { animation: pop 0.45s var(--ease); }
@keyframes pop { 30% { transform: scale(1.3); color: var(--accent); } }
.session { display: flex; align-items: center; gap: 14px; padding: 12px 14px; }
.sess-l { display: flex; align-items: center; gap: 10px; color: var(--text-2); }
.sess-l b, .sess-m b { font-family: var(--display); font-size: 20px; font-weight: 850; color: var(--text); font-variant-numeric: tabular-nums; }
.sess-l small, .sess-m small { display: block; font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.sess-m { flex: 1; }
.where { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; padding: 0 12px; margin-bottom: 12px; color: var(--text-3); }
.where input { border: 0; background: transparent; padding-left: 0; box-shadow: none !important; }
.knock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.kbtn { position: relative; display: grid; justify-items: start; align-content: center; gap: 4px; min-height: 118px; padding: 16px; border-radius: 20px; text-align: left;
  border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text); cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  transition: transform 0.1s var(--ease), box-shadow 0.2s, filter 0.2s; overflow: visible; user-select: none; }
.kbtn b { font-family: var(--display); font-size: 19px; font-weight: 850; }
.kbtn small { color: inherit; opacity: 0.7; font-size: 12.5px; }
.kbtn:active { transform: scale(0.95); }
.kbtn.hit { animation: hit 0.35s var(--ease); }
@keyframes hit { 40% { transform: scale(0.93); filter: brightness(1.4); } }
.k-gray { background: linear-gradient(160deg, #2a2a32, #18181d); }
.k-dark { background: linear-gradient(160deg, #1d2229, #0b0e12); color: #9aa7b1; border-color: rgba(255, 255, 255, 0.08); }
.k-blue { background: linear-gradient(160deg, #26245a, #110f2a); color: #cfccff; border-color: rgba(140, 132, 255, 0.3); }
.k-green { background: linear-gradient(160deg, #10542a, #0b2a17); color: #c9f7d7; border-color: rgba(48, 209, 88, 0.4); box-shadow: 0 8px 26px rgba(48, 209, 88, 0.15); }
.k-yellow { background: linear-gradient(160deg, #5a4605, #2a2104); color: #fff0a8; border-color: rgba(255, 214, 10, 0.35); }
.k-go { grid-column: 1 / -1; min-height: 96px; background: linear-gradient(110deg, var(--accent-2), var(--accent) 40%, var(--accent-3)); color: var(--accent-ink); border-color: transparent;
  box-shadow: 0 12px 34px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,.4); grid-template-columns: auto 1fr; column-gap: 14px; justify-items: start; align-items: center; overflow: hidden; }
.k-go .ic { grid-row: span 2; }
.k-go b { font-size: 24px; }
.k-go small { opacity: 0.75; font-weight: 600; }
.k-go .sparkle { position: absolute; fill: #fff; }
.k-go .s1 { right: 22px; top: 14px; width: 16px; } .k-go .s2 { right: 50px; bottom: 16px; width: 10px; } .k-go .s3 { right: 78px; top: 22px; width: 8px; }
.float-pts { position: absolute; top: 10px; right: 14px; font-family: var(--display); font-weight: 900; font-size: 22px; color: #fff; text-shadow: 0 0 12px var(--accent), 0.06em 0.06em 0 var(--accent); animation: floatUp 0.9s var(--ease) forwards; pointer-events: none; z-index: 2; }
@keyframes floatUp { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-46px) scale(1.2); } }
.o-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--text-3); flex: none; }
.o-dot.interested, .o-dot.booked { background: var(--good); } .o-dot.follow_up { background: var(--warn); } .o-dot.left_flyer { background: #8c84ff; } .o-dot.not_interested { background: var(--text-3); } .o-dot.booked { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.pitch { margin: 0 0 12px; padding-left: 22px; display: grid; gap: 10px; font-size: 16.5px; line-height: 1.45; }
.pitch li::marker { color: var(--accent); font-weight: 800; font-family: var(--display); }
@media (min-width: 900px) { .knock-grid { grid-template-columns: repeat(3, 1fr); } .kbtn { min-height: 140px; } .k-go { grid-column: auto; grid-template-columns: 1fr; } .k-go .ic { grid-row: auto; } }

/* ---------- leads ---------- */
.lead-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lead-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: inherit; overflow: hidden; }
.lead-row:hover { border-color: var(--line-2); background: var(--surface-2); }
.temp-bar { width: 4px; align-self: stretch; border-radius: 0 4px 4px 0; flex: none; }
.lr-top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.lr-top b { font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lead-row small { color: var(--text-3); font-size: 13px; display: block; margin: 2px 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lr-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--text-3); }
.lr-meta > span { display: inline-flex; align-items: center; gap: 4px; }
.chev { color: var(--text-3); }
.lead-head { display: flex; gap: 14px; padding: 16px 16px 16px 0; overflow: hidden; }
.lead-head h1 { font-size: 24px; margin-bottom: 8px; }
.quick { display: flex; gap: 8px; margin-bottom: 14px; overflow-x: auto; scrollbar-width: none; }
.qbtn { flex: 1; min-width: 64px; display: grid; justify-items: center; gap: 5px; padding: 12px 6px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line-2); color: var(--text);
  text-decoration: none; font-size: 12.5px; font-weight: 650; cursor: pointer; }
.qbtn:hover { background: var(--surface-2); }
.qbtn .ic { color: var(--accent); }
#bookIt { margin-bottom: 14px; }
.dl { margin: 0 0 12px; display: grid; gap: 8px; }
.dl > div { display: grid; grid-template-columns: 120px 1fr; gap: 10px; font-size: 14.5px; }
.dl dt { color: var(--text-3); }
.dl dd { margin: 0; overflow-wrap: anywhere; }
.notes { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px; white-space: pre-wrap; font-size: 14.5px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: flex; gap: 12px; padding-bottom: 14px; position: relative; }
.timeline li::before { content: ''; position: absolute; left: 15px; top: 32px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline b { font-size: 14px; display: block; } .timeline p { margin: 3px 0; font-size: 14px; color: var(--text-2); } .timeline small { display: block; color: var(--text-3); font-size: 12px; }
.timeline li.more-hidden { display: none; }
.tl-ic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); flex: none; color: var(--text-2); }
.tl-ic.k-call, .tl-ic.k-text { color: var(--info); } .tl-ic.k-quote { color: var(--warn); } .tl-ic.k-conversation { color: var(--good); } .tl-ic.k-knock { color: var(--accent); }

/* ---------- book ---------- */
.book { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.book-main, .book-side { min-width: 0; }
.step { margin-bottom: 18px; transition: opacity 0.25s; scroll-margin-top: 80px; }
.step h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 17px; }
.step h3 i { font-style: normal; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 13px; font-weight: 900; }
.step.locked { opacity: 0.35; pointer-events: none; }
.opt-grid { display: grid; gap: 10px; }
.opt-grid.three { grid-template-columns: repeat(3, 1fr); }
.opt { display: grid; justify-items: center; gap: 4px; text-align: center; padding: 14px 8px; border-radius: 16px; background: var(--surface); border: 1.5px solid var(--line-2); cursor: pointer; transition: all 0.15s; }
.opt b { font-size: 14px; } .opt small { color: var(--text-3); font-size: 11.5px; line-height: 1.3; }
.opt .ic { color: var(--text-2); }
.opt.on, .pkg.on, .day.on, .slot.on { border-color: var(--accent); background: linear-gradient(180deg, rgba(11, 180, 228, 0.16), var(--surface)); box-shadow: 0 0 0 1px var(--accent), 0 8px 22px rgba(11, 180, 228, 0.18); }
.opt.on .ic { color: var(--accent); }
.pkg-list { display: grid; gap: 10px; }
.pkg { position: relative; text-align: left; padding: 16px; border-radius: 16px; background: var(--surface); border: 1.5px solid var(--line-2); cursor: pointer; transition: all 0.15s; }
.pkg .badge { position: absolute; top: -9px; right: 14px; }
.pkg-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.pkg-top b { font-family: var(--display); font-size: 17px; }
.pkg .price { font-family: var(--display); font-weight: 900; font-size: 22px; }
.pkg p { color: var(--text-2); font-size: 13.5px; margin-bottom: 6px; }
.pkg small { color: var(--text-3); font-size: 12.5px; }
.pkg small em { color: #ffc46b; font-style: normal; }
.day-strip { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x mandatory; }
.day { flex: none; width: 70px; scroll-snap-align: start; display: grid; justify-items: center; padding: 10px 0; border-radius: 14px; background: var(--surface); border: 1.5px solid var(--line-2); cursor: pointer; }
.day small { font-size: 11px; color: var(--text-3); text-transform: uppercase; font-weight: 700; letter-spacing: 0.06em; }
.day b { font-family: var(--display); font-size: 24px; font-weight: 900; line-height: 1.15; }
.day i { font-style: normal; font-size: 10.5px; color: var(--good); font-weight: 700; margin-top: 3px; }
.day:disabled { opacity: 0.32; cursor: not-allowed; }
.day:disabled i { color: var(--text-3); }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.slot { display: grid; justify-items: center; padding: 11px 6px; border-radius: 12px; background: var(--surface); border: 1.5px solid var(--line-2); font-weight: 750; font-size: 15px; cursor: pointer; }
.slot small { color: var(--text-3); font-weight: 500; font-size: 11.5px; }
.quote-card { position: sticky; top: 76px; }
.lines { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 8px; }
.lines li { display: flex; justify-content: space-between; gap: 10px; font-size: 14.5px; }
.lines li span { color: var(--text-2); }
.total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line-2); padding-top: 10px; margin-bottom: 8px; }
.total b { font-family: var(--display); font-size: 30px; font-weight: 900; }
@media (min-width: 900px) { .book { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } .quote-card { top: 24px; } }
@media (max-width: 520px) { .grid4 { grid-template-columns: 1fr 1fr; } .opt-grid.three { gap: 8px; } .opt { padding: 12px 4px; } }
.success { text-align: center; padding: 34px 20px; }
.success-ic { width: 84px; height: 84px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, var(--accent-2), var(--accent)); color: var(--accent-ink); box-shadow: 0 0 0 10px rgba(11, 180, 228, 0.12), 0 14px 40px var(--accent-glow); }
.success-stars { position: relative; height: 0; }
.success-stars .sparkle { position: absolute; }
.success-stars .t1 { left: calc(50% - 82px); top: -96px; width: 18px; } .success-stars .t2 { left: calc(50% + 60px); top: -110px; width: 24px; } .success-stars .t3 { left: calc(50% + 74px); top: -52px; width: 11px; } .success-stars .t4 { left: calc(50% - 66px); top: -40px; width: 10px; }
.success h1 { font-size: 40px; font-weight: 800; letter-spacing: 0.04em; text-shadow: 0.06em 0.06em 0 var(--accent); }
.lead-text { font-size: 17px; color: var(--text-2); margin: 10px 0 16px; }
.lead-text b { color: var(--text); }
.success .link-field { max-width: 460px; margin: 14px auto 0; }
.success .banner { text-align: left; max-width: 520px; margin: 0 auto; }

/* ---------- money ---------- */
.money-hero { display: grid; gap: 16px; }
.big-num { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(44px, 12vw, 64px); line-height: 1; color: #7ee2a0; text-shadow: 0 0 30px rgba(48, 209, 88, 0.3); margin: 6px 0; font-variant-numeric: tabular-nums; }
.mh-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mh-grid b { display: block; font-family: var(--display); font-size: 22px; font-weight: 850; margin-top: 2px; font-variant-numeric: tabular-nums; }
@media (min-width: 900px) { .money-hero { grid-template-columns: 1fr 1.3fr; align-items: center; } }
.rules { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; }
.rules li { display: flex; gap: 12px; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.rules li > b { flex: none; min-width: 62px; font-family: var(--display); font-weight: 900; font-size: 20px; color: var(--accent); }
.rules small { display: block; color: var(--text-3); font-size: 12px; margin-top: 2px; }
.month-block { margin-bottom: 12px; }
.month-block .row-between { margin-bottom: 4px; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.earn-kind { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: rgba(48, 209, 88, 0.12); color: var(--good); flex: none; }
.earn-kind.bonus { background: rgba(255, 214, 10, 0.12); color: var(--warn); } .earn-kind.fleet { background: rgba(11, 180, 228, 0.12); color: var(--accent); }
.plus { color: #7ee2a0; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- chat ---------- */
.chat { display: grid; grid-template-rows: auto 1fr; height: calc(100vh - 64px - 96px - env(safe-area-inset-bottom)); min-height: 420px; margin: -4px -4px 0; }
.chat-chs { display: flex; gap: 6px; overflow-x: auto; padding: 2px 4px 10px; scrollbar-width: none; }
.chat-chs a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text-2); text-decoration: none; font-weight: 650; font-size: 14px; white-space: nowrap; }
.chat-chs a.on { background: rgba(11, 180, 228, 0.14); border-color: rgba(11, 180, 228, 0.5); color: #fff; }
.chat-chs .cdot { margin-left: 4px; }
.chat-main { display: grid; grid-template-rows: auto 1fr auto; min-height: 0; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--text-3); }
.chat-head b { color: var(--text); display: block; } .chat-head small { font-size: 12px; }
.msgs { overflow-y: auto; padding: 12px 12px 6px; display: flex; flex-direction: column; gap: 2px; overscroll-behavior: contain; }
.msg { display: flex; gap: 10px; padding: 6px 6px; border-radius: 10px; }
.msg:hover { background: rgba(255, 255, 255, 0.025); }
.msg.grouped { padding-top: 0; }
.av-sp { width: 36px; flex: none; }
.m-body { min-width: 0; flex: 1; }
.m-head { display: flex; align-items: baseline; gap: 8px; }
.m-head b { font-size: 14.5px; } .m-head time { font-size: 11.5px; color: var(--text-3); }
.owner-tag { font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; background: var(--accent); color: var(--accent-ink); padding: 1px 6px; border-radius: 5px; }
.msg p { margin: 1px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; color: #e6e6ea; }
.msg.mine .m-head b { color: var(--accent); }
.msg.bot { align-items: center; gap: 10px; margin: 6px 0; padding: 10px 12px; border-radius: 12px; background: linear-gradient(90deg, rgba(11, 180, 228, 0.14), rgba(11, 180, 228, 0.03)); border: 1px solid rgba(11, 180, 228, 0.25); }
.msg.bot .sparkle { width: 16px; flex: none; }
.msg.bot p { flex: 1; font-weight: 600; font-size: 14px; }
.msg.bot time { font-size: 11.5px; color: var(--text-3); }
.composer { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); align-items: flex-end; }
.composer textarea { min-height: 46px; max-height: 140px; resize: none; }
.chat-ro { margin: 0; padding: 14px; text-align: center; color: var(--text-3); border-top: 1px solid var(--line); font-size: 14px; }
@media (min-width: 900px) {
  .chat { grid-template-columns: 210px 1fr; grid-template-rows: 1fr; gap: 14px; height: calc(100vh - 76px); margin: 0; }
  .chat-chs { flex-direction: column; overflow: visible; padding: 0; }
  .chat-chs a { border-radius: 10px; background: transparent; border-color: transparent; }
  .chat-chs a.on { background: var(--surface-2); border-color: var(--line-2); }
}

/* ---------- playbook ---------- */
.pb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.pb-tile { display: grid; gap: 6px; text-decoration: none; margin: 0; transition: transform 0.15s var(--ease), border-color 0.15s; }
.pb-tile:hover { transform: translateY(-2px); border-color: rgba(11, 180, 228, 0.4); }
.pb-tile .ic { color: var(--accent); }
.pb-tile b { font-family: var(--display); font-size: 17px; }
.pb-tile small { color: var(--text-3); }
.pb-n { font-family: var(--display); font-weight: 900; color: var(--text-3); font-size: 13px; }
.pb { max-width: 780px; }
.pb h1 { margin-bottom: 14px; }
.pb p { color: #dcdce2; font-size: 15.5px; line-height: 1.6; }
.pb-list { margin: 0 0 12px; padding-left: 20px; display: grid; gap: 8px; font-size: 15px; line-height: 1.55; color: #dcdce2; }
.pb-list li::marker { color: var(--accent); }
.pb-box { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin: 12px 0; }
.pb-box > b { display: block; font-family: var(--display); margin-bottom: 8px; }
.pb-box .pb-list, .pb-box p:last-child { margin-bottom: 0; }
.pb-pkg { border: 1px solid var(--line-2); border-radius: 14px; padding: 14px; margin: 12px 0; background: var(--surface); }
.pb-pkg > b, .pb-pkg .row-between b { font-family: var(--display); font-size: 17px; }
.pb-pkg .row-between { margin-bottom: 4px; }
.pb-prices { width: 100%; border-collapse: collapse; margin: 8px 0 10px; table-layout: fixed; }
.pb-prices th { font-size: 11px; color: var(--text-3); font-weight: 700; text-align: left; padding: 4px 6px; }
.pb-prices td { font-family: var(--display); font-weight: 900; font-size: 20px; padding: 4px 6px; vertical-align: top; }
.pb-prices td small { display: block; font-family: var(--font); font-weight: 500; font-size: 11.5px; color: var(--text-3); }
.pb-text { background: var(--bg); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 10px; padding: 12px 14px; margin: 10px 0; }
.pb-text small { color: var(--text-3); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.pb-text p { margin: 4px 0 0; }
.objs { display: grid; gap: 8px; }
.obj { border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface); overflow: hidden; }
.obj-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; background: none; border: 0; color: var(--text); font-weight: 700; font-size: 15.5px; text-align: left; cursor: pointer; }
.obj-plus { font-size: 22px; color: var(--accent); transition: transform 0.2s; font-weight: 400; }
.obj.open .obj-plus { transform: rotate(45deg); }
.obj-a { display: none; padding: 0 16px 14px; }
.obj.open .obj-a { display: block; }
.next-sec { display: flex; align-items: center; gap: 10px; text-decoration: none; max-width: 780px; }
.next-sec small { color: var(--text-3); } .next-sec b { flex: 1; font-family: var(--display); }

/* profile / more */
.profile { display: flex; align-items: center; gap: 16px; }
.code { font-family: var(--display); letter-spacing: 0.12em; color: var(--accent); }
.more-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.more-list a, .more-list button { width: 100%; display: flex; align-items: center; gap: 14px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: inherit; text-align: left; cursor: pointer; }
.more-list .ic:first-child { color: var(--accent); }
.more-list b { display: block; font-size: 16px; } .more-list small { color: var(--text-3); font-size: 13px; }

/* ---------- sheet ---------- */
.sheet-wrap { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; }
.sheet-bg { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px); opacity: 0; transition: opacity 0.25s; }
.sheet { position: relative; width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto; background: var(--surface); border: 1px solid var(--line-2); border-bottom: 0;
  border-radius: 24px 24px 0 0; padding: 22px 18px calc(22px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform 0.3s var(--ease); box-shadow: var(--shadow); }
.sheet::before { content: ''; position: absolute; top: 8px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: var(--line-2); }
.sheet-wrap.in .sheet { transform: none; }
.sheet-wrap.in .sheet-bg { opacity: 1; }
.sheet-x { position: absolute; top: 12px; right: 12px; background: var(--surface-3); border: 0; color: var(--text-2); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; z-index: 2; }
.sheet h2 { padding-right: 40px; }
.sheet .btn-row { justify-content: flex-end; }
@media (min-width: 900px) {
  .sheet-wrap { align-items: center; }
  .sheet { border-radius: 24px; border-bottom: 1px solid var(--line-2); transform: translateY(20px) scale(0.98); opacity: 0; transition: transform 0.25s var(--ease), opacity 0.25s; }
  .sheet-wrap.in .sheet { opacity: 1; }
  .sheet::before { display: none; }
}

/* ---------- toasts + confetti ---------- */
#toasts { position: fixed; z-index: 200; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom)); transform: translateX(-50%); display: grid; gap: 8px; width: min(92vw, 420px); pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: #1f1f26; border: 1px solid var(--line-2); box-shadow: var(--shadow); font-weight: 600; font-size: 14.5px;
  opacity: 0; transform: translateY(12px); transition: all 0.25s var(--ease); }
.toast.in { opacity: 1; transform: none; }
.toast.ok .ic { color: var(--good); } .toast.err { border-color: rgba(255, 69, 58, 0.5); } /* errors keep --bad */ .toast.err .ic { color: var(--bad); }
@media (min-width: 900px) { #toasts { bottom: 24px; left: auto; right: 24px; transform: none; } }
#confetti { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 300; display: none; }
#confetti.on { display: block; }

/* phones: total + Book button stay in reach above the tab bar */
.mini-quote { position: fixed; z-index: 25; left: 10px; right: 10px; bottom: calc(68px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 16px; border-radius: 16px; background: rgba(27, 27, 33, 0.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.mini-quote[hidden] { display: none; }
.mini-quote small { display: block; color: var(--text-3); font-size: 12px; }
.mini-quote b { font-family: var(--display); font-weight: 900; font-size: 22px; }
.book:has(~ .mini-quote:not([hidden])) { padding-bottom: 70px; }
@media (min-width: 900px) { .mini-quote { display: none !important; } .book { padding-bottom: 0 !important; } }

/* logo art in the Home hero: the car line art floats behind the numbers */
.hero { position: relative; }
.hero-car { position: absolute !important; right: 190px; bottom: -40px; width: 400px; height: auto; max-width: none; opacity: 0.16; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%, #000 70%, transparent); mask-image: linear-gradient(90deg, transparent, #000 35%, #000 70%, transparent); }
.hero-l, .hero-r { position: relative; z-index: 1; }
@media (max-width: 899px) { .hero-car { width: 300px; right: -60px; bottom: auto; top: -10px; opacity: 0.14; -webkit-mask-image: none; mask-image: none; } }
.board li.me { box-shadow: inset 0 0 0 1px var(--accent), 0 0 18px rgba(11, 180, 228, 0.15); }
.pod.me b { color: var(--accent); }
