/* Poolhouse by Boltarra — interactive tour.
   Boltarra brand v2 (boltarra.com): warm slate neutrals, pool-water blue, gold accent, ink bands.
   Fixed 1600×900 stage, scaled to fit any screen, so a Loom recording looks the same everywhere. */

:root {
  --bg: oklch(0.985 0.005 95);
  --paper: #fff;
  --fg: oklch(0.21 0.02 256);
  --muted: oklch(0.51 0.016 256);
  --muted-2: oklch(0.64 0.014 256);
  --line: oklch(0.91 0.006 256);
  --line-2: oklch(0.86 0.008 256);
  --soft: oklch(0.967 0.006 256);
  --ink: oklch(0.235 0.028 240);
  --ink-2: oklch(0.18 0.025 240);
  --ink-3: oklch(0.29 0.03 240);
  --ink-fg: oklch(0.96 0.008 240);
  --ink-muted: oklch(0.74 0.02 240);
  --ink-line: oklch(1 0 0 / 0.1);
  --pool: oklch(0.52 0.105 232);
  --pool-deep: oklch(0.44 0.1 236);
  --pool-light: oklch(0.72 0.1 226);
  --pool-soft: oklch(0.955 0.02 232);
  --pool-soft-2: oklch(0.91 0.04 232);
  --gold: oklch(0.79 0.12 78);
  --gold-deep: oklch(0.6 0.11 70);
  --gold-soft: oklch(0.965 0.04 85);
  --green: oklch(0.58 0.12 155);
  --green-soft: oklch(0.955 0.04 155);
  --amber: oklch(0.66 0.14 62);
  --amber-soft: oklch(0.965 0.05 80);
  --red: oklch(0.57 0.19 27);
  --red-soft: oklch(0.96 0.03 25);
  --shadow-sm: 0 1px 2px oklch(0.2 0.02 250 / 0.06), 0 1px 1px oklch(0.2 0.02 250 / 0.04);
  --shadow: 0 1px 2px oklch(0.2 0.02 250 / 0.05), 0 12px 32px -12px oklch(0.2 0.03 250 / 0.18);
  --shadow-lg: 0 2px 4px oklch(0.2 0.02 250 / 0.05), 0 30px 70px -24px oklch(0.2 0.04 250 / 0.32);
  --head: "Sora", ui-sans-serif, system-ui, sans-serif;
  --body: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--ink-2); color: var(--fg); font-family: var(--body); -webkit-font-smoothing: antialiased; overflow: hidden; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--pool-light); outline-offset: 2px; border-radius: 8px; }
a { color: inherit; text-decoration: none; }
svg.i { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.9; fill: none; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.num { font-variant-numeric: tabular-nums; }

/* ── Stage ─────────────────────────────────────────────── */
/* A fixed, clipped frame: the 1600px stage can never widen the page, so phones don't zoom out */
.viewport { position: fixed; inset: 0; overflow: hidden; touch-action: manipulation; }
.stage {
  position: absolute; left: 50%; top: 50%; width: 1600px; height: 900px;
  transform: translate(-50%, -50%) scale(var(--s, 1)); transform-origin: center;
  background: var(--bg); overflow: hidden; border-radius: 6px;
}
.stage.dark-slide { background: var(--ink); }

/* Top bar */
.topbar { position: absolute; inset: 0 0 auto 0; height: 72px; display: flex; align-items: center; gap: 16px; padding: 0 40px; z-index: 20; border-bottom: 1px solid var(--line); background: oklch(0.985 0.005 95 / 0.9); backdrop-filter: blur(8px); transition: background .4s, border-color .4s; }
.dark-slide .topbar { background: transparent; border-color: var(--ink-line); }
.brand { display: flex; align-items: center; gap: 11px; }
.bolt { width: 34px; height: 34px; border-radius: 9px; background: var(--gold); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.bolt svg { width: 19px; height: 19px; fill: currentColor; }
.brand-name { font-family: var(--head); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; color: var(--fg); }
.brand-sub { font-size: 12.5px; color: var(--muted); margin-left: 4px; padding-left: 12px; border-left: 1px solid var(--line-2); letter-spacing: .02em; }
.dark-slide .brand-name { color: var(--ink-fg); }
.dark-slide .brand-sub { color: var(--ink-muted); border-color: var(--ink-line); }
.topbar .spacer { flex: 1; }
.tb-btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 10px; font-size: 14px; font-weight: 550; color: var(--fg); border: 1px solid var(--line); background: var(--paper); transition: background .15s, border-color .15s; }
.tb-btn:hover { border-color: var(--line-2); background: var(--soft); }
.dark-slide .tb-btn { color: var(--ink-fg); background: oklch(1 0 0 / 0.04); border-color: var(--ink-line); }
.dark-slide .tb-btn:hover { background: oklch(1 0 0 / 0.09); }
.tb-btn.on { border-color: var(--pool); color: var(--pool); }

/* Bottom bar */
.bottombar { position: absolute; inset: auto 0 0 0; height: 76px; display: flex; align-items: center; gap: 24px; padding: 0 40px; z-index: 20; border-top: 1px solid var(--line); background: oklch(0.985 0.005 95 / 0.92); transition: background .4s, border-color .4s; }
.dark-slide .bottombar { background: transparent; border-color: var(--ink-line); }
.where { min-width: 300px; display: flex; align-items: baseline; gap: 12px; }
.where .count { font-family: var(--mono); font-size: 14px; color: var(--muted); }
.where .count b { color: var(--fg); font-weight: 600; }
.where .chap { font-size: 14px; font-weight: 600; color: var(--fg); }
.dark-slide .where .count, .dark-slide .where .count b, .dark-slide .where .chap { color: var(--ink-fg); }
.progress { flex: 1; display: flex; gap: 10px; align-items: center; }
.progress .grp { display: flex; gap: 3px; }
.progress .seg { width: 18px; height: 5px; border-radius: 3px; background: var(--line-2); transition: background .25s, width .25s; }
.progress .seg:hover { background: var(--muted-2); }
.progress .seg.done { background: var(--pool-light); }
.progress .seg.cur { background: var(--pool); width: 34px; }
.dark-slide .progress .seg { background: oklch(1 0 0 / 0.16); }
.dark-slide .progress .seg.done { background: oklch(0.72 0.1 226 / 0.6); }
.dark-slide .progress .seg.cur { background: var(--gold); }
.navbtns { display: flex; gap: 10px; }
.nav { width: 52px; height: 46px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--paper); color: var(--fg); transition: transform .12s, background .15s; }
.nav:hover { background: var(--soft); }
.nav:active { transform: scale(.96); }
.nav.next { width: 132px; gap: 8px; display: inline-flex; justify-content: center; align-items: center; background: var(--pool); border-color: var(--pool); color: #fff; font-weight: 600; font-size: 15px; }
.nav.next:hover { background: var(--pool-deep); }
.nav:disabled { opacity: .35; cursor: default; }
.dark-slide .nav:not(.next) { background: oklch(1 0 0 / 0.05); border-color: var(--ink-line); color: var(--ink-fg); }
.dark-slide .nav.next { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* Chapter menu + notes */
.panel { position: absolute; z-index: 30; top: 80px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transform: translateY(-6px); transition: opacity .18s, transform .18s; color: var(--fg); }
.panel.open { opacity: 1; pointer-events: auto; transform: none; }
.menu { right: 230px; width: 440px; padding: 10px; max-height: 720px; overflow: auto; }
.menu .mchap { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 12px 12px 6px; }
.menu button { display: flex; width: 100%; gap: 12px; align-items: baseline; text-align: left; padding: 8px 12px; border-radius: 9px; font-size: 14.5px; }
.menu button:hover { background: var(--soft); }
.menu button.cur { background: var(--pool-soft); color: var(--pool-deep); font-weight: 600; }
.menu button .n { font-family: var(--mono); font-size: 12px; color: var(--muted); width: 22px; }
.notes { right: 40px; width: 420px; padding: 20px 22px; }
.notes h4 { margin: 0 0 6px; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.notes p { margin: 0; font-size: 15.5px; line-height: 1.55; }

/* ── Slides ─────────────────────────────────────────────── */
.slide { position: absolute; inset: 72px 0 76px 0; padding: 36px 64px; display: grid; grid-template-columns: 470px 1fr; gap: 56px; align-items: center; opacity: 0; visibility: hidden; transform: translateX(26px); transition: opacity .38s ease, transform .45s cubic-bezier(.2,.7,.2,1), visibility 0s linear .45s; }
.slide.active { opacity: 1; visibility: visible; transform: none; transition: opacity .38s ease, transform .45s cubic-bezier(.2,.7,.2,1), visibility 0s; }
.slide.leaving-back { transform: translateX(26px); }
.slide.from-back { transform: translateX(-26px); }
.slide.stack { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: start; gap: 26px; }
.slide.dark { color: var(--ink-fg); }

.copy .eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--pool); margin-bottom: 18px; }
.copy .eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.dark .copy .eyebrow { color: var(--pool-light); }
.copy h2 { font-family: var(--head); font-weight: 700; font-size: 50px; line-height: 1.04; letter-spacing: -0.03em; margin: 0 0 18px; text-wrap: balance; }
.stack .copy h2 { font-size: 44px; margin-bottom: 10px; }
.copy h2 em { font-style: normal; color: var(--pool); }
.dark .copy h2 em { color: var(--gold); }
.copy .lede { font-size: 19.5px; line-height: 1.5; color: var(--muted); margin: 0 0 24px; text-wrap: pretty; }
.dark .copy .lede { color: var(--ink-muted); }
.stack .copy { display: grid; grid-template-columns: 1fr 520px; gap: 48px; align-items: end; }
.stack .copy .lede { margin: 0; }
.points { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.points li { display: flex; gap: 12px; font-size: 16.5px; line-height: 1.45; }
.points li::before { content: ""; flex: 0 0 22px; height: 22px; border-radius: 50%; margin-top: 0; background: var(--pool-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d6c98' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/13px no-repeat; }
.dark .points li::before { background-color: oklch(1 0 0 / 0.08); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e2a83d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }
.hint { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 550; color: var(--gold-deep); background: var(--gold-soft); border: 1px solid oklch(0.88 0.07 82); padding: 8px 14px 8px 12px; border-radius: 999px; }
.hint::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 oklch(0.79 0.12 78 / .6); animation: pulse 1.8s infinite; }
.dark .hint { background: oklch(0.79 0.12 78 / 0.12); border-color: oklch(0.79 0.12 78 / 0.3); color: var(--gold); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 oklch(0.79 0.12 78 / .55); } 70% { box-shadow: 0 0 0 9px oklch(0.79 0.12 78 / 0); } 100% { box-shadow: 0 0 0 0 oklch(0.79 0.12 78 / 0); } }

/* ── Building blocks ───────────────────────────────────── */
.app { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; display: flex; flex-direction: column; }
.app-top { height: 52px; flex: 0 0 52px; display: flex; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.ph-mark { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(150deg, var(--pool-light), var(--pool-deep)); display: grid; place-items: center; color: #fff; }
.ph-mark svg { width: 15px; height: 15px; }
.ph-name { font-family: var(--head); font-weight: 650; font-size: 15px; letter-spacing: -0.01em; }
.dealer { font-size: 13px; color: var(--muted); padding-left: 12px; border-left: 1px solid var(--line); }
.app-top .spacer { flex: 1; }
.app-tabs { display: flex; gap: 4px; }
.app-tabs span { font-size: 13px; padding: 6px 11px; border-radius: 8px; color: var(--muted); font-weight: 500; }
.app-tabs span.on { background: var(--soft); color: var(--fg); font-weight: 600; }
.halbtn { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 9px; font-size: 13px; font-weight: 600; color: #fff; background: linear-gradient(135deg, var(--ink-3), var(--ink)); }
.halbtn .k { font-family: var(--mono); font-size: 11px; opacity: .6; }
.halbtn .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.app-body { flex: 1; padding: 20px; overflow: hidden; position: relative; }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); }
.ctitle { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.pill.green { background: var(--green-soft); color: var(--green); }
.pill.amber { background: var(--amber-soft); color: var(--amber); }
.pill.red { background: var(--red-soft); color: var(--red); }
.pill.blue { background: var(--pool-soft); color: var(--pool); }
.pill.grey { background: var(--soft); color: var(--muted); }
.pill.gold { background: var(--gold-soft); color: var(--gold-deep); }
.pill.ink { background: var(--ink); color: var(--ink-fg); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 10px; font-size: 14.5px; font-weight: 600; transition: transform .1s, background .15s, box-shadow .15s, opacity .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--pool); color: #fff; box-shadow: 0 6px 16px -8px var(--pool); }
.btn.primary:hover { background: var(--pool-deep); }
.btn.gold { background: var(--gold); color: var(--ink); box-shadow: 0 6px 18px -8px var(--gold-deep); }
.btn.gold:hover { filter: brightness(1.04); }
.btn.ghost { background: var(--paper); border: 1px solid var(--line); color: var(--fg); }
.btn.ghost:hover { background: var(--soft); }
.btn.green { background: var(--green); color: #fff; }
.btn.sm { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.btn.lg { height: 52px; padding: 0 22px; font-size: 16.5px; border-radius: 13px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.seg-ctl { display: inline-flex; padding: 3px; background: var(--soft); border: 1px solid var(--line); border-radius: 10px; gap: 2px; }
.seg-ctl button { height: 30px; padding: 0 12px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.seg-ctl button.on { background: var(--paper); color: var(--fg); box-shadow: var(--shadow-sm); }
.row { display: flex; align-items: center; gap: 12px; }
.grow { flex: 1; min-width: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.strong { font-weight: 650; }
.fade-in { animation: fadeIn .35s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ico-circle { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.ico-circle.red { background: var(--red-soft); color: var(--red); }
.ico-circle.amber { background: var(--amber-soft); color: var(--amber); }
.ico-circle.blue { background: var(--pool-soft); color: var(--pool); }
.ico-circle.green { background: var(--green-soft); color: var(--green); }
.ico-circle.gold { background: var(--gold-soft); color: var(--gold-deep); }
.ico-circle.grey { background: var(--soft); color: var(--muted); }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; font-weight: 700; background: var(--pool-soft); color: var(--pool-deep); flex-shrink: 0; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--pool) var(--p, 50%), var(--line) var(--p, 50%)); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--pool); box-shadow: var(--shadow); cursor: grab; }
input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--pool); cursor: grab; }

/* iPhone */
.phone { position: relative; width: 300px; height: 620px; border-radius: 52px; background: #0d1117; padding: 11px; box-shadow: 0 0 0 1.5px #2a3240, 0 0 0 3px #0d1117, var(--shadow-lg); flex-shrink: 0; }
.phone::before { content: ""; position: absolute; right: -4px; top: 150px; width: 3px; height: 74px; border-radius: 2px; background: #2a3240; }
.phone::after { content: ""; position: absolute; left: -4px; top: 120px; width: 3px; height: 44px; border-radius: 2px; background: #2a3240; box-shadow: 0 64px 0 #2a3240; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 42px; overflow: hidden; background: #f6f7f9; display: flex; flex-direction: column; }
.island { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 92px; height: 27px; border-radius: 20px; background: #000; z-index: 5; }
.status { height: 46px; flex: 0 0 46px; display: flex; align-items: center; justify-content: space-between; padding: 6px 26px 0 30px; font-size: 13.5px; font-weight: 650; letter-spacing: -.01em; color: #111; }
.status .sig { display: flex; gap: 5px; align-items: center; }
.status .sig i { display: block; width: 17px; height: 10px; border-radius: 3px; border: 1.5px solid #111; position: relative; }
.status .sig i::after { content: ""; position: absolute; inset: 1.5px 3px 1.5px 1.5px; background: #111; border-radius: 1px; }
.status .sig b { display: block; width: 15px; height: 10px; background: linear-gradient(90deg, #111 0 3px, transparent 3px 4px, #111 4px 7px, transparent 7px 8px, #111 8px 11px, transparent 11px 12px, #111 12px 15px); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.homebar { position: absolute; bottom: 7px; left: 50%; transform: translateX(-50%); width: 110px; height: 4.5px; border-radius: 3px; background: #111; opacity: .85; z-index: 5; }
.screen.darkscr .status { color: #fff; }
.screen.darkscr .status .sig i { border-color: #fff; }
.screen.darkscr .status .sig i::after { background: #fff; }
.screen.darkscr .status .sig b { background: linear-gradient(90deg, #fff 0 3px, transparent 3px 4px, #fff 4px 7px, transparent 7px 8px, #fff 8px 11px, transparent 11px 12px, #fff 12px 15px); }
.screen.darkscr .homebar { background: #fff; }

/* Messages (iOS) */
.imsg { flex: 1; display: flex; flex-direction: column; background: #fff; }
.imsg-head { text-align: center; padding: 4px 0 10px; border-bottom: 1px solid #eee; }
.imsg-head .av { width: 44px; height: 44px; border-radius: 50%; margin: 0 auto 4px; background: linear-gradient(#a6adbb, #868e9c); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 16px; }
.imsg-head .nm { font-size: 12px; color: #111; }
.imsg-body { flex: 1; padding: 14px 12px; display: flex; flex-direction: column; gap: 6px; overflow: hidden; justify-content: flex-end; }
.bub { max-width: 82%; padding: 8px 12px; border-radius: 18px; font-size: 13.5px; line-height: 1.35; animation: fadeIn .3s both; }
.bub.me { align-self: flex-end; background: #0a84ff; color: #fff; border-bottom-right-radius: 5px; }
.bub.them { align-self: flex-start; background: #e9e9eb; color: #111; border-bottom-left-radius: 5px; }
.bub.sys { align-self: center; background: none; color: #8a8a8e; font-size: 11px; padding: 2px; }
.imsg-input { margin: 8px 10px 26px; min-height: 36px; border: 1px solid #d5d5d8; border-radius: 18px; padding: 8px 12px; font-size: 13.5px; line-height: 1.35; color: #111; display: flex; gap: 8px; align-items: flex-end; }
.imsg-input .t { flex: 1; }
.imsg-input .t:empty::before { content: "iMessage"; color: #b0b0b4; }
.imsg-input .send { width: 26px; height: 26px; border-radius: 50%; background: #0a84ff; color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.imsg-input .send svg { width: 14px; height: 14px; stroke-width: 2.6; }

/* Lock screen notification */
.lock { flex: 1; background: radial-gradient(120% 80% at 20% 0%, oklch(0.6 0.1 232), transparent 60%), radial-gradient(100% 70% at 100% 100%, oklch(0.5 0.1 260), transparent 60%), linear-gradient(170deg, oklch(0.35 0.06 240), oklch(0.2 0.03 250)); color: #fff; padding: 10px 14px; display: flex; flex-direction: column; }
.lock .time { text-align: center; font-family: var(--head); font-size: 64px; font-weight: 600; letter-spacing: -0.03em; margin-top: 18px; line-height: 1; }
.lock .date { text-align: center; font-size: 15px; font-weight: 550; opacity: .85; margin-top: 6px; }
.notif { margin-top: auto; margin-bottom: 30px; background: oklch(1 0 0 / 0.78); color: #111; border-radius: 20px; padding: 12px 14px; backdrop-filter: blur(16px); animation: fadeIn .5s .2s both; }
.notif .h { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #444; margin-bottom: 4px; }
.notif .h .ap { width: 20px; height: 20px; border-radius: 5px; background: #34c759; display: grid; place-items: center; color: #fff; }
.notif .h .ap svg { width: 12px; height: 12px; stroke-width: 2.4; }
.notif .h .when { margin-left: auto; }
.notif .b { font-size: 13.5px; line-height: 1.35; }
.notif .b b { font-weight: 650; }

/* ── 1 Cover ───────────────────────────────────────────── */
.cover { grid-template-columns: 640px 1fr; }
.cover h1 { font-family: var(--head); font-size: 86px; line-height: .98; letter-spacing: -0.045em; font-weight: 750; margin: 0 0 26px; color: var(--ink-fg); }
.cover h1 span { display: block; }
.cover h1 span:nth-child(2) { color: var(--pool-light); }
.cover h1 span:nth-child(3) { color: var(--gold); }
.cover .lede { font-size: 22px; max-width: 560px; }
.cover .by { margin-top: 30px; display: flex; align-items: center; gap: 14px; color: var(--ink-muted); font-size: 15px; }
.cover .by .line { width: 40px; height: 1px; background: var(--ink-line); }
.glow { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.hero-art { position: relative; height: 640px; }
.hero-art .app { position: absolute; left: 0; top: 70px; width: 700px; height: 470px; transform: perspective(1600px) rotateY(-9deg) rotateX(3deg); transform-origin: left center; }
.hero-art .phone { position: absolute; right: 10px; top: 40px; transform: scale(.86) rotate(3deg); transform-origin: top right; }
.hero-art .float { position: absolute; left: -30px; bottom: 40px; padding: 14px 16px; display: flex; gap: 12px; align-items: center; width: 330px; animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* mini Home used in cover */
.mini-note { font-family: var(--head); font-size: 19px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; margin-bottom: 14px; }
.mini-list .r { display: flex; gap: 10px; align-items: center; padding: 9px 10px; border: 1px solid var(--line); border-radius: 11px; margin-bottom: 7px; font-size: 13px; }

/* ── 2 Mess ────────────────────────────────────────────── */
.mess { position: relative; height: 640px; }
.mess .bits { position: absolute; inset: 0; }
.bit { position: absolute; left: 0; top: 0; width: 250px; padding: 12px 14px; border-radius: 12px; font-size: 13.5px; line-height: 1.35; box-shadow: var(--shadow); transform: translate(var(--x1), var(--y1)) rotate(var(--r1)); transition: transform .9s cubic-bezier(.6,0,.2,1), opacity .5s, width .9s, background .5s, box-shadow .5s; transition-delay: var(--d, 0s); }
.bit .k { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; opacity: .65; display: flex; align-items: center; gap: 6px; }
.bit.sticky { background: oklch(0.95 0.09 100); color: oklch(0.3 0.05 90); font-family: "Bradley Hand", "Segoe Print", "Comic Sans MS", cursive; font-size: 16px; }
.bit.sms { background: #e9e9eb; color: #111; border-radius: 18px 18px 18px 6px; }
.bit.vm { background: var(--ink); color: var(--ink-fg); }
.bit.xls { background: #fff; border: 1px solid #cfe3d3; font-family: var(--mono); font-size: 12px; color: #224; }
.bit.mail { background: #fff; border: 1px solid var(--line); }
.bit.cal { background: #fff; border-left: 4px solid var(--red); }
.organized { position: absolute; right: 0; top: 0; width: 720px; height: 640px; opacity: 0; transform: scale(.97); transition: opacity .6s .55s, transform .6s .55s; }
.mess.clean .organized { opacity: 1; transform: none; }
.mess.clean .bit { transform: translate(var(--x2), var(--y2)) rotate(0deg) scale(.6); opacity: 0; }
.org-col .r { display: flex; gap: 12px; align-items: center; padding: 11px 12px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; font-size: 14px; background: var(--paper); }
.org-head { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 14px 2px 8px; display: flex; justify-content: space-between; }

/* ── 3 Home ────────────────────────────────────────────── */
.home-grid { display: grid; grid-template-columns: 1fr 230px; gap: 16px; height: 100%; }
.note { font-family: var(--head); font-size: 21px; line-height: 1.35; font-weight: 600; letter-spacing: -0.015em; padding: 16px 18px; border-radius: 14px; background: linear-gradient(135deg, var(--pool-soft), oklch(0.975 0.012 220)); border: 1px solid var(--pool-soft-2); margin-bottom: 14px; }
.note small { display: block; font-family: var(--body); font-size: 13px; color: var(--muted); font-weight: 500; letter-spacing: 0; margin-bottom: 4px; }
.attn .r { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); margin-bottom: 7px; transition: border-color .15s, background .15s, transform .15s; text-align: left; width: 100%; }
.attn .r:hover { border-color: var(--pool-light); background: oklch(0.99 0.006 232); }
.attn .r.sel { border-color: var(--pool); background: var(--pool-soft); }
.attn .r .t { font-size: 14.5px; font-weight: 600; }
.attn .r .s { font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.attn .r .chev { color: var(--muted-2); }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 12px; }
.week .d { border: 1px solid var(--line); border-radius: 10px; padding: 7px 4px; text-align: center; font-size: 11.5px; }
.week .d b { display: block; font-size: 12.5px; }
.week .d .w { font-size: 17px; line-height: 1.3; }
.week .d .j { font-size: 10.5px; color: var(--muted); }
.week .d.rain { background: var(--pool-soft); border-color: var(--pool-soft-2); }
.goal { text-align: center; padding: 16px 12px; }
.ring { width: 144px; height: 144px; margin: 6px auto 8px; position: relative; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .lbl { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-family: var(--head); font-size: 30px; font-weight: 700; line-height: 1; }
.ring .lbl small { display: block; font-family: var(--body); font-size: 11px; color: var(--muted); font-weight: 500; margin-top: 3px; }
.drawer { position: absolute; top: 0; right: 0; bottom: 0; width: 330px; background: var(--paper); border-left: 1px solid var(--line); box-shadow: -20px 0 40px -20px oklch(0.2 0.03 250 / .25); transform: translateX(105%); transition: transform .35s cubic-bezier(.2,.7,.2,1); padding: 20px; z-index: 4; display: flex; flex-direction: column; gap: 12px; }
.drawer.open { transform: none; }
.drawer .x { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: var(--muted); }
.drawer .x:hover { background: var(--soft); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 13.5px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; text-align: right; }

/* ── 4 Leads ───────────────────────────────────────────── */
.leads-wrap { display: grid; grid-template-columns: 290px 1fr; height: 100%; }
.lead-list { border-right: 1px solid var(--line); padding: 14px; display: flex; flex-direction: column; gap: 7px; }
.lead-item { display: flex; gap: 11px; align-items: center; padding: 10px; border-radius: 12px; border: 1px solid transparent; text-align: left; width: 100%; }
.lead-item:hover { background: var(--soft); }
.lead-item.sel { background: var(--pool-soft); border-color: var(--pool-soft-2); }
.lead-item .nm { font-weight: 650; font-size: 14.5px; }
.lead-item .sub { font-size: 12.5px; color: var(--muted); }
.lead-detail { padding: 22px 24px; display: flex; flex-direction: column; gap: 16px; position: relative; }
.lead-detail h3 { font-family: var(--head); font-size: 26px; margin: 0; letter-spacing: -0.02em; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.facts div { background: var(--soft); border-radius: 11px; padding: 10px 12px; }
.facts small { display: block; font-size: 11.5px; color: var(--muted); margin-bottom: 2px; }
.facts b { font-size: 14.5px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.log { border-top: 1px dashed var(--line-2); padding-top: 12px; display: flex; flex-direction: column; gap: 8px; min-height: 90px; }
.log .e { display: flex; gap: 10px; align-items: center; font-size: 13.5px; }
.log .e .when { color: var(--muted); font-family: var(--mono); font-size: 12px; width: 62px; }
.lead-phone { position: absolute; right: -150px; bottom: -120px; transform: scale(.72); transform-origin: bottom right; transition: opacity .4s, transform .4s; }
.leads-stage { position: relative; height: 100%; }
.leads-stage .app { height: 100%; margin-right: 205px; }
.leads-stage .phone { position: absolute; right: 0; top: 50px; transform: scale(.74); transform-origin: top right; opacity: 0; transition: opacity .35s, transform .35s; }
.leads-stage .phone.show { opacity: 1; }

/* ── 5 Quote ───────────────────────────────────────────── */
.qgrid { display: grid; grid-template-columns: 1fr 360px; gap: 18px; height: 100%; }
.opt { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; width: 100%; text-align: left; transition: border-color .15s, background .15s; }
.opt:hover { border-color: var(--line-2); }
.opt.on { border-color: var(--pool); background: var(--pool-soft); }
.opt .box { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line-2); display: grid; place-items: center; background: #fff; flex-shrink: 0; }
.opt.on .box { background: var(--pool); border-color: var(--pool); color: #fff; }
.opt .box svg { width: 13px; height: 13px; stroke-width: 3; opacity: 0; }
.opt.on .box svg { opacity: 1; }
.opt .p { margin-left: auto; font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.model { border: 1px solid var(--line); border-radius: 12px; padding: 10px; text-align: left; transition: border-color .15s, background .15s; }
.model.on { border-color: var(--pool); background: var(--pool-soft); }
.model .shape { height: 40px; display: grid; place-items: center; }
.model .shape i { display: block; border-radius: 40px; background: linear-gradient(135deg, oklch(0.78 0.09 220), oklch(0.6 0.11 232)); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--pool-soft-2); }
.model b { display: block; font-size: 14px; margin-top: 6px; }
.model small { font-size: 12px; color: var(--muted); }
.price-card { background: var(--ink); color: var(--ink-fg); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.price-card .big { font-family: var(--head); font-size: 44px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.price-card .row2 { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-muted); }
.price-card .row2 b { color: var(--ink-fg); font-variant-numeric: tabular-nums; }
.price-card .seg-ctl { background: oklch(1 0 0 / 0.06); border-color: var(--ink-line); }
.price-card .seg-ctl button { color: var(--ink-muted); }
.price-card .seg-ctl button.on { background: oklch(1 0 0 / 0.14); color: #fff; }
.price-card input[type=range] { background: linear-gradient(90deg, var(--gold) var(--p, 50%), oklch(1 0 0 / 0.15) var(--p, 50%)); }
.price-card input[type=range]::-webkit-slider-thumb { border-color: var(--gold); }
.compare { font-size: 13px; line-height: 1.45; color: var(--ink-muted); background: oklch(1 0 0 / 0.05); padding: 10px 12px; border-radius: 10px; }
.compare b { color: var(--gold); }
.guard { display: flex; gap: 10px; align-items: center; font-size: 13.5px; padding: 10px 12px; border-radius: 10px; background: oklch(0.58 0.12 155 / 0.18); color: oklch(0.85 0.1 155); transition: background .2s, color .2s; }
.guard.bad { background: oklch(0.57 0.19 27 / 0.22); color: oklch(0.85 0.09 27); }

/* ── 6 Misses ──────────────────────────────────────────── */
.miss-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pad-ctl { padding: 18px; }
.pad-ctl .val { font-family: var(--head); font-size: 40px; font-weight: 700; letter-spacing: -0.03em; }
.pad-ctl .val small { font-size: 16px; color: var(--muted); font-weight: 500; }
.yard { height: 150px; margin-top: 14px; position: relative; border-radius: 12px; background: repeating-linear-gradient(45deg, oklch(0.94 0.04 140), oklch(0.94 0.04 140) 10px, oklch(0.925 0.045 140) 10px, oklch(0.925 0.045 140) 20px); overflow: hidden; }
.yard .poolshape { position: absolute; left: 16px; top: 28px; width: 150px; height: 92px; border-radius: 46px; background: linear-gradient(135deg, oklch(0.8 0.09 220), oklch(0.58 0.11 232)); border: 4px solid #fff; }
.yard .pad { position: absolute; top: 52px; width: 46px; height: 44px; border-radius: 6px; background: oklch(0.75 0.01 250); border: 2px solid #fff; display: grid; place-items: center; font-size: 10px; font-weight: 700; color: #fff; transition: left .25s; }
.yard .pipe { position: absolute; top: 72px; left: 166px; height: 4px; background: repeating-linear-gradient(90deg, var(--pool-deep) 0 8px, transparent 8px 12px); transition: width .25s; }
.takeoff { width: 100%; border-collapse: collapse; font-size: 14px; }
.takeoff th { text-align: right; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: 0 0 8px; }
.takeoff th:first-child { text-align: left; }
.takeoff td { padding: 9px 0; border-top: 1px solid var(--line); text-align: right; font-variant-numeric: tabular-nums; }
.takeoff td:first-child { text-align: left; font-weight: 550; }
.takeoff td.g { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--red); }
.takeoff td.f { font-weight: 700; color: var(--pool-deep); }
.checks { display: flex; flex-direction: column; gap: 8px; }
.check-row { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 11px; font-size: 13.5px; border: 1px solid var(--line); }
.check-row.warn { background: var(--amber-soft); border-color: oklch(0.88 0.08 75); color: oklch(0.42 0.1 60); animation: fadeIn .3s both; }
.saved { margin-top: 14px; padding: 16px 18px; border-radius: 14px; background: var(--ink); color: var(--ink-fg); display: flex; align-items: center; gap: 16px; }
.saved .amt { font-family: var(--head); font-size: 36px; font-weight: 700; color: var(--gold); letter-spacing: -0.02em; }

/* ── 7 Signed ──────────────────────────────────────────── */
.sign-grid { display: grid; grid-template-columns: 300px 1fr; gap: 34px; align-items: center; height: 100%; }
.qdoc { flex: 1; background: #fff; margin: 4px 12px 0; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.08); padding: 14px; display: flex; flex-direction: column; gap: 8px; font-size: 11.5px; }
.qdoc .dl { display: flex; align-items: center; gap: 8px; }
.qdoc .dl .lg { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, #3aa0d8, #1b5f8c); }
.qdoc .ln { display: flex; justify-content: space-between; border-bottom: 1px solid #f0f0f2; padding: 4px 0; }
.qdoc .tot { display: flex; justify-content: space-between; font-weight: 700; font-size: 14px; padding-top: 4px; }
.sigbox { margin: 10px 12px 28px; background: #fff; border-radius: 14px; padding: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.sigline { height: 54px; border-bottom: 1.5px solid #ccd; position: relative; }
.sigline svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sigline path { fill: none; stroke: #13325e; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; }
.sigline.signed path { animation: draw 1.2s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.sigbtn { width: 100%; margin-top: 10px; height: 40px; border-radius: 11px; background: #0a84ff; color: #fff; font-weight: 600; font-size: 14px; }
.sigbtn.done { background: #34c759; }
.qrow { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); margin-bottom: 8px; width: 100%; text-align: left; transition: border-color .15s, background .15s; }
.qrow:hover { border-color: var(--line-2); }
.qrow.sel { border-color: var(--pool); background: var(--pool-soft); }
.qrow .nm { font-weight: 650; font-size: 14.5px; }
.email { margin-top: 12px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); }
.email .from { display: flex; gap: 10px; align-items: center; font-size: 13px; margin-bottom: 10px; }
.email .subj { font-weight: 700; font-size: 15.5px; margin-bottom: 6px; }
.email p { margin: 0 0 6px; font-size: 14px; line-height: 1.5; color: oklch(0.35 0.02 256); }

/* ── 8 Approved ────────────────────────────────────────── */
.appr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; height: 100%; }
.tick { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); margin-bottom: 8px; width: 100%; text-align: left; }
.tick .cb { width: 24px; height: 24px; border-radius: 7px; border: 1.5px solid var(--line-2); display: grid; place-items: center; flex-shrink: 0; transition: background .2s, border-color .2s; }
.tick .cb svg { width: 14px; height: 14px; stroke-width: 3; color: #fff; opacity: 0; }
.tick.on .cb { background: var(--green); border-color: var(--green); }
.tick.on .cb svg { opacity: 1; }
.tick .d { margin-left: auto; font-size: 12.5px; color: var(--muted); font-family: var(--mono); }
.result { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; margin-bottom: 8px; background: var(--paper); border: 1px solid var(--line); opacity: .25; filter: grayscale(1); transition: opacity .4s, filter .4s, border-color .4s, background .4s, transform .4s; }
.result.on { opacity: 1; filter: none; border-color: oklch(0.85 0.06 155); background: var(--green-soft); transform: translateX(4px); }
.result .t { font-weight: 650; font-size: 14.5px; }
.result .s { font-size: 12.5px; color: var(--muted); }

/* ── 9 Board ───────────────────────────────────────────── */
.board { width: 100%; border-collapse: separate; border-spacing: 4px; font-size: 12.5px; }
.board th { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); text-align: center; padding: 0 0 4px; }
.board th:first-child { text-align: left; }
.board td.jobc { padding: 4px 8px 4px 0; white-space: nowrap; }
.board td.jobc b { display: block; font-size: 14px; }
.board td.jobc small { color: var(--muted); font-size: 11.5px; }
.cell { height: 46px; border-radius: 9px; display: flex; align-items: center; justify-content: center; gap: 2px; font-weight: 600; font-size: 12px; font-variant-numeric: tabular-nums; }
.cell.done { background: var(--green-soft); color: var(--green); }
.cell.now { background: var(--pool); color: #fff; box-shadow: 0 6px 14px -8px var(--pool); }
.cell.late { background: var(--red-soft); color: var(--red); box-shadow: inset 0 0 0 1.5px oklch(0.85 0.08 27); }
.cell.next { background: var(--soft); color: var(--muted); }
.cell.blank { background: repeating-linear-gradient(135deg, var(--soft) 0 6px, transparent 6px 12px); }
.cklist { columns: 2; column-gap: 24px; }
.ck { break-inside: avoid; display: flex; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.ck .cb { width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--line-2); display: grid; place-items: center; flex-shrink: 0; }
.ck.on .cb { background: var(--green); border-color: var(--green); color: #fff; }
.ck.on .cb svg { width: 11px; height: 11px; stroke-width: 3.2; }
.ck .gate { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--pool); margin-left: auto; }
.ck.big { font-weight: 650; }
.month { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; font-size: 11.5px; }
.month .h { text-align: center; color: var(--muted); font-weight: 700; font-size: 11px; padding-bottom: 2px; }
.month .c { min-height: 70px; border: 1px solid var(--line); border-radius: 8px; padding: 4px 5px; display: flex; flex-direction: column; gap: 3px; }
.month .c .n { font-size: 11px; color: var(--muted); font-weight: 600; }
.month .c.today { border-color: var(--pool); box-shadow: inset 0 0 0 1px var(--pool); }
.month .c.out { opacity: .4; }
.chip { font-size: 10.5px; font-weight: 600; padding: 2px 5px; border-radius: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip.c1 { background: var(--pool-soft); color: var(--pool-deep); }
.chip.c2 { background: var(--gold-soft); color: var(--gold-deep); }
.chip.c3 { background: var(--green-soft); color: var(--green); }
.chip.c4 { background: oklch(0.95 0.03 300); color: oklch(0.45 0.1 300); }

/* ── 10 Dig day ────────────────────────────────────────── */
.tl { position: relative; }
.tl-row { display: grid; grid-template-columns: 130px 1fr 110px; align-items: center; gap: 12px; height: 46px; }
.tl-row .lbl { font-size: 14px; font-weight: 600; }
.tl-row .dt { font-size: 13px; text-align: right; font-family: var(--mono); color: var(--muted); }
.tl-track { position: relative; height: 30px; border-radius: 8px; background: var(--soft); }
.tl-bar { position: absolute; top: 0; height: 30px; border-radius: 8px; background: linear-gradient(90deg, var(--pool), var(--pool-light)); transition: left .55s cubic-bezier(.3,.7,.2,1), width .55s cubic-bezier(.3,.7,.2,1); box-shadow: 0 4px 10px -6px var(--pool); }
.tl-bar.dig { background: linear-gradient(90deg, var(--gold-deep), var(--gold)); }
.tl-grid { position: absolute; inset: 0 122px 0 142px; pointer-events: none; display: flex; }
.tl-grid i { flex: 1; border-left: 1px dashed var(--line); }
.tl-days { display: grid; grid-template-columns: 130px 1fr 110px; gap: 12px; font-size: 11px; color: var(--muted); margin-bottom: 4px; }
.tl-days .ds { display: flex; justify-content: space-between; font-family: var(--mono); }
.learn { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--gold-soft); color: oklch(0.42 0.08 70); font-size: 13.5px; margin-top: 14px; }
.flash { animation: flash 0.9s ease; }
@keyframes flash { 0% { background: var(--gold-soft); } 100% { background: transparent; } }

/* ── 11 Rain ───────────────────────────────────────────── */
.wk { display: grid; grid-template-columns: 110px repeat(6, 1fr); gap: 5px; }
.wk .h { font-size: 12px; font-weight: 700; text-align: center; padding: 6px 0; border-radius: 9px; }
.wk .h small { display: block; font-weight: 500; color: var(--muted); font-size: 11px; }
.wk .h .wx { font-size: 18px; display: block; }
.wk .h.rainy { background: var(--pool-soft); }
.wk .crew { font-size: 12.5px; font-weight: 650; display: flex; align-items: center; padding-left: 4px; }
.wk .slot { position: relative; height: 54px; border-radius: 9px; background: var(--soft); }
.wk .slot.lost { background: repeating-linear-gradient(135deg, var(--pool-soft) 0 6px, oklch(0.93 0.03 232) 6px 12px); }
.job { position: absolute; inset: 4px; border-radius: 7px; padding: 5px 7px; font-size: 11.5px; font-weight: 650; line-height: 1.25; overflow: hidden; transition: transform .7s cubic-bezier(.3,.7,.2,1); }
.job small { display: block; font-weight: 500; opacity: .8; font-size: 10.5px; }
.job.c1 { background: var(--pool); color: #fff; }
.job.c2 { background: var(--gold); color: var(--ink); }
.job.c3 { background: var(--green); color: #fff; }
.job.c4 { background: oklch(0.55 0.12 300); color: #fff; }
.txq { display: flex; flex-direction: column; gap: 8px; }
.txq .m { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); font-size: 13px; line-height: 1.4; background: var(--paper); animation: fadeIn .35s both; }
.txq .m .to { font-size: 11.5px; font-weight: 700; color: var(--muted); letter-spacing: .04em; margin-bottom: 3px; display: flex; justify-content: space-between; }

/* ── 12 Readiness ──────────────────────────────────────── */
.ready-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rd { display: flex; gap: 12px; align-items: center; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line); text-align: left; transition: background .25s, border-color .25s; }
.rd .ic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--green-soft); color: var(--green); flex-shrink: 0; }
.rd .ic svg { width: 16px; height: 16px; stroke-width: 2.6; }
.rd.no { background: var(--amber-soft); border-color: oklch(0.87 0.08 75); }
.rd.no .ic { background: var(--amber); color: #fff; }
.rd .t { font-weight: 650; font-size: 14.5px; }
.rd .s { font-size: 12.5px; color: var(--muted); }
.meter { height: 10px; border-radius: 6px; background: var(--soft); overflow: hidden; margin: 10px 0 4px; }
.meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--green), oklch(0.7 0.13 150)); border-radius: 6px; transition: width .5s; }
.sheet { position: absolute; inset: auto 0 0 0; background: var(--paper); border-top: 1px solid var(--line); border-radius: 18px 18px 0 0; box-shadow: 0 -20px 40px -20px oklch(0.2 0.03 250 / .3); padding: 20px 24px; transform: translateY(105%); transition: transform .35s cubic-bezier(.2,.7,.2,1); z-index: 5; }
.sheet.open { transform: none; }
.typed { border: 1.5px solid var(--pool); border-radius: 10px; padding: 10px 12px; font-size: 14.5px; min-height: 44px; margin: 10px 0 12px; }
.typed .caret { display: inline-block; width: 2px; height: 17px; background: var(--pool); vertical-align: -3px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ── 13 Texts ──────────────────────────────────────────── */
.tq-grid { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: center; height: 100%; }
.tq { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); margin-bottom: 10px; box-shadow: var(--shadow-sm); transition: opacity .35s, transform .35s, max-height .4s, margin .4s, padding .4s; max-height: 220px; overflow: hidden; }
.tq.gone { opacity: 0; transform: translateX(40px); max-height: 0; margin: 0; padding-top: 0; padding-bottom: 0; border-width: 0; }
.tq .who { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.tq .who b { font-size: 14.5px; }
.tq .msg { font-size: 14px; line-height: 1.5; color: oklch(0.33 0.02 256); background: var(--soft); padding: 10px 12px; border-radius: 10px; margin-bottom: 10px; }
.tq .why { font-size: 12px; color: var(--muted); margin-left: auto; }
.empty-q { text-align: center; padding: 40px 20px; color: var(--muted); font-size: 15px; animation: fadeIn .4s both; }

/* ── 14 Roles ──────────────────────────────────────────── */
.role-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 18px; height: 100%; }
.money { font-variant-numeric: tabular-nums; transition: filter .3s; }
.hide-money .money { filter: blur(7px); user-select: none; }
.lock-note { display: none; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.hide-money .lock-note { display: flex; }
.stepbtn { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); margin-bottom: 8px; width: 100%; text-align: left; }
.stepbtn .cb { width: 24px; height: 24px; border-radius: 7px; border: 1.5px solid var(--line-2); display: grid; place-items: center; }
.stepbtn.on .cb { background: var(--green); border-color: var(--green); color: #fff; }
.stepbtn .cb svg { width: 14px; height: 14px; stroke-width: 3; opacity: 0; }
.stepbtn.on .cb svg { opacity: 1; }
.activity .a { display: flex; gap: 10px; font-size: 13px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.activity .a .w { font-family: var(--mono); font-size: 11.5px; color: var(--muted); width: 56px; flex-shrink: 0; padding-top: 1px; }

/* ── 15 Job file ───────────────────────────────────────── */
.jf-grid { display: grid; grid-template-columns: 1fr 380px; gap: 18px; height: 100%; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tile { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.tile .img { height: 102px; position: relative; }
.tile .img.doc { background: var(--soft); display: grid; place-items: center; color: var(--muted); }
.tile .cap { padding: 8px 10px; font-size: 12.5px; display: flex; align-items: center; gap: 8px; }
.tile .cap b { display: block; font-size: 12.5px; }
.share { margin-left: auto; width: 34px; height: 20px; border-radius: 12px; background: var(--line-2); position: relative; transition: background .2s; flex-shrink: 0; }
.share::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s; }
.share.on { background: var(--green); }
.share.on::after { transform: translateX(14px); }
.co { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.co .amt { font-variant-numeric: tabular-nums; font-weight: 650; }
.co .amt.plus { color: var(--green); }
.co .amt.minus { color: var(--red); }
.co.total { border-bottom: 0; font-size: 16px; }
.co.total .amt { font-family: var(--head); font-size: 26px; letter-spacing: -0.02em; }

/* ── 16 Draws ──────────────────────────────────────────── */
.track { display: flex; align-items: center; margin: 8px 0 22px; }
.track .st { flex: 1; text-align: center; position: relative; font-size: 13px; font-weight: 600; color: var(--muted); }
.track .st .dot { width: 30px; height: 30px; border-radius: 50%; margin: 0 auto 8px; border: 2px solid var(--line-2); background: var(--paper); display: grid; place-items: center; position: relative; z-index: 1; transition: all .35s; }
.track .st .dot svg { width: 15px; height: 15px; stroke-width: 3; color: #fff; opacity: 0; }
.track .st.done .dot { background: var(--green); border-color: var(--green); }
.track .st.done .dot svg { opacity: 1; }
.track .st.now .dot { border-color: var(--pool); box-shadow: 0 0 0 6px var(--pool-soft); }
.track .st.now { color: var(--pool); }
.track .st.done { color: var(--fg); }
.track .st::before { content: ""; position: absolute; top: 14px; left: -50%; width: 100%; height: 2px; background: var(--line-2); }
.track .st:first-child::before { display: none; }
.track .st.done::before, .track .st.now::before { background: var(--green); }
.draw { display: grid; grid-template-columns: 1fr 120px 150px 120px; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line); margin-bottom: 8px; transition: background .3s, border-color .3s; }
.draw .t { font-weight: 650; font-size: 14.5px; }
.draw .s { font-size: 12.5px; color: var(--muted); }
.draw .amt { font-variant-numeric: tabular-nums; font-weight: 650; text-align: right; }
.draw.due { background: var(--amber-soft); border-color: oklch(0.87 0.08 75); }
.draw.over { background: var(--red-soft); border-color: oklch(0.86 0.08 27); }
.draw.paid { background: var(--green-soft); border-color: oklch(0.86 0.06 155); }

/* ── 17 QuickBooks ─────────────────────────────────────── */
.qb-grid { display: grid; grid-template-columns: 1fr 360px; gap: 18px; height: 100%; }
.apq { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); margin-bottom: 8px; transition: background .35s, border-color .35s, opacity .35s; }
.apq .t { font-weight: 650; font-size: 14.5px; }
.apq .s { font-size: 12.5px; color: var(--muted); }
.apq .flag { display: inline-flex; gap: 6px; align-items: center; margin-top: 4px; font-size: 12px; font-weight: 600; color: var(--amber); }
.apq.ok { background: var(--green-soft); border-color: oklch(0.86 0.06 155); }
.books { background: oklch(0.975 0.01 150); border: 1px solid oklch(0.9 0.04 150); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 8px; height: 100%; }
.books .hd { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.books .qb { width: 30px; height: 30px; border-radius: 50%; background: oklch(0.6 0.15 150); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 12px; font-family: var(--head); }
.books .ent { background: #fff; border-radius: 11px; padding: 10px 12px; font-size: 13px; border: 1px solid oklch(0.92 0.03 150); animation: fadeIn .4s both; }
.books .ent b { display: block; font-size: 13.5px; }
.books .ent .tag { display: inline-block; margin-top: 4px; font-family: var(--mono); font-size: 11px; background: var(--soft); padding: 2px 6px; border-radius: 5px; color: var(--muted); }
.books .none { color: var(--muted); font-size: 13.5px; text-align: center; padding: 30px 10px; }
.privacy { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: oklch(0.38 0.06 150); background: oklch(1 0 0 / 0.7); border-radius: 10px; padding: 10px 12px; margin-top: auto; }

/* ── 18 MyPool ─────────────────────────────────────────── */
.mp-grid { display: grid; grid-template-columns: 1fr 300px; gap: 36px; align-items: center; height: 100%; }
.mp-tabs-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mp-tab-desc { display: flex; gap: 12px; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); text-align: left; transition: border-color .15s, background .15s, box-shadow .15s; }
.mp-tab-desc:hover { border-color: var(--line-2); }
.mp-tab-desc.on { border-color: var(--pool); background: var(--pool-soft); box-shadow: var(--shadow-sm); }
.mp-tab-desc b { display: block; font-size: 15px; margin-bottom: 2px; }
.mp-tab-desc span { font-size: 13px; color: var(--muted); line-height: 1.4; }
.mp { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.mp-head { padding: 2px 16px 10px; display: flex; align-items: center; gap: 9px; }
.mp-head .lg { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, #3aa0d8, #1b5f8c); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 12px; }
.mp-head b { font-size: 14px; display: block; }
.mp-head small { font-size: 11px; color: #777; }
.mp-head .call { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; background: #e7f3ec; color: #2e9b5c; display: grid; place-items: center; }
.mp-head .call svg { width: 15px; height: 15px; }
.mp-body { flex: 1; padding: 0 12px; overflow: hidden; display: flex; flex-direction: column; gap: 8px; }
.mp-card { background: #fff; border-radius: 14px; padding: 12px; font-size: 12px; box-shadow: 0 1px 2px rgba(0,0,0,.05); animation: fadeIn .3s both; }
.mp-card h5 { margin: 0 0 6px; font-size: 13.5px; }
.mp-hero { border-radius: 16px; padding: 14px; color: #fff; background: radial-gradient(90% 90% at 100% 0%, oklch(0.75 0.1 210), transparent 60%), linear-gradient(150deg, oklch(0.55 0.11 232), oklch(0.36 0.08 240)); }
.mp-hero small { opacity: .8; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.mp-hero b { display: block; font-family: var(--head); font-size: 20px; margin: 2px 0 8px; }
.journey { display: flex; gap: 3px; }
.journey i { flex: 1; height: 5px; border-radius: 3px; background: rgba(255,255,255,.3); }
.journey i.d { background: #fff; }
.mp-nav { display: grid; grid-template-columns: repeat(6, 1fr); padding: 6px 4px 24px; background: #fff; border-top: 1px solid #eee; }
.mp-nav button { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 9.5px; color: #8a8f98; font-weight: 600; padding: 4px 0; }
.mp-nav button svg { width: 18px; height: 18px; }
.mp-nav button.on { color: #1b6fa6; }
.eq { display: flex; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px solid #f1f1f3; }
.eq:last-child { border-bottom: 0; }
.eq .ei { width: 28px; height: 28px; border-radius: 8px; background: #eef5fb; color: #1b6fa6; display: grid; place-items: center; flex-shrink: 0; }
.eq .ei svg { width: 15px; height: 15px; }
.eq b { font-size: 12px; display: block; }
.eq small { font-size: 10.5px; color: #888; font-family: var(--mono); }
.eq .reg { margin-left: auto; font-size: 10px; font-weight: 700; color: #2e9b5c; white-space: nowrap; }
.eq .reg.no { color: #c47d12; }
.rng { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px solid #f1f1f3; }
.dose { background: #eef5fb; border-radius: 10px; padding: 10px; margin-top: 8px; }
.dose b { font-size: 17px; color: #1b6fa6; font-family: var(--head); }
.alert-red { background: #fdecec; color: #a3261f; border-radius: 12px; padding: 10px 12px; font-size: 12px; display: flex; gap: 8px; }
.alert-red svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; }
.mp-btn { width: 100%; height: 36px; border-radius: 10px; background: #1b6fa6; color: #fff; font-weight: 600; font-size: 12.5px; margin-top: 6px; }
.mp-field { width: 100%; height: 34px; border-radius: 9px; border: 1px solid #e3e3e7; padding: 0 10px; font-size: 12px; color: #999; display: flex; align-items: center; margin-bottom: 6px; background: #fff; }

/* ── 19 Thirty years ───────────────────────────────────── */
.ty-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.parts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.part { border-radius: 14px; padding: 14px 12px; background: var(--paper); border: 1px solid var(--line); text-align: center; }
.part .n { font-family: var(--head); font-size: 34px; font-weight: 700; letter-spacing: -0.03em; color: var(--pool-deep); line-height: 1.1; font-variant-numeric: tabular-nums; }
.part .l { font-size: 13px; font-weight: 600; }
.part .e { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.bigjobs { background: var(--ink); color: var(--ink-fg); border-radius: 18px; padding: 22px 24px; display: flex; align-items: center; gap: 22px; }
.bigjobs .n { font-family: var(--head); font-size: 64px; font-weight: 750; color: var(--gold); letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.bigjobs p { margin: 0; font-size: 16px; line-height: 1.45; color: var(--ink-muted); }
.bigjobs p b { color: var(--ink-fg); }
.padtag { width: 100%; border-radius: 14px; padding: 16px; background: #fff; border: 1px solid var(--line); display: flex; gap: 16px; align-items: center; }
.qr { width: 92px; height: 92px; flex-shrink: 0; border-radius: 8px; background: #fff; padding: 6px; border: 1px solid var(--line); }
.qr svg { width: 100%; height: 100%; }

/* ── 20 Kitchen table ──────────────────────────────────── */
.kt-grid { display: grid; grid-template-columns: 1fr 300px 1fr; gap: 30px; align-items: center; height: 100%; }
.folder { background: oklch(0.88 0.06 80); border-radius: 6px 16px 16px 16px; padding: 22px 20px; position: relative; box-shadow: var(--shadow); transform: rotate(-3deg); }
.folder::before { content: ""; position: absolute; top: -16px; left: 0; width: 120px; height: 18px; border-radius: 8px 8px 0 0; background: oklch(0.88 0.06 80); }
.folder .paper { background: #fff; border-radius: 4px; padding: 10px 12px; font-size: 12.5px; margin-bottom: 8px; box-shadow: 0 1px 2px rgba(0,0,0,.08); color: #555; }
.vs-label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; text-align: center; }
.win-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.win-list li { padding: 12px 14px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); font-size: 14.5px; display: flex; gap: 10px; align-items: center; }

/* ── 21 Sources ────────────────────────────────────────── */
.src-grid { display: grid; grid-template-columns: 250px 1fr; gap: 18px; height: 100%; }
.srcbtn { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); margin-bottom: 8px; text-align: left; font-size: 14px; font-weight: 600; }
.srcbtn.on { border-color: var(--pool); background: var(--pool-soft); }
.srcbtn small { font-weight: 500; color: var(--muted); font-size: 12px; display: block; }
.funnel { display: flex; flex-direction: column; gap: 8px; }
.fn { display: grid; grid-template-columns: 120px 1fr 70px; gap: 12px; align-items: center; font-size: 14px; }
.fn .bar { height: 34px; border-radius: 8px; background: linear-gradient(90deg, var(--pool), var(--pool-light)); transition: width .55s cubic-bezier(.3,.7,.2,1); min-width: 6px; }
.fn .v { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.cost3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.cost3 div { border-radius: 12px; padding: 14px; background: var(--soft); }
.cost3 small { display: block; font-size: 12px; color: var(--muted); }
.cost3 b { font-family: var(--head); font-size: 28px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.cost3 div.hl { background: var(--ink); color: var(--ink-fg); }
.cost3 div.hl small { color: var(--ink-muted); }
.cost3 div.hl b { color: var(--gold); }

/* ── 22 My Pay ─────────────────────────────────────────── */
.pay-top { display: grid; grid-template-columns: repeat(3, 1fr) 1.3fr; gap: 10px; margin-bottom: 14px; }
.pay-top div { border-radius: 12px; padding: 14px; background: var(--soft); }
.pay-top small { display: block; font-size: 12px; color: var(--muted); }
.pay-top b { font-family: var(--head); font-size: 26px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.race { height: 12px; border-radius: 8px; background: var(--line); overflow: hidden; margin-top: 8px; }
.race i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); border-radius: 8px; }
.payrow { display: grid; grid-template-columns: 1fr 110px 130px 130px; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); margin-bottom: 7px; font-size: 14px; }
.payrow .amt { text-align: right; font-variant-numeric: tabular-nums; font-weight: 650; }

/* ── 23–24 HAL ─────────────────────────────────────────── */
.hal-wrap { display: grid; grid-template-columns: 300px 1fr; gap: 18px; height: 100%; }
.hal-app { background: oklch(0.21 0.026 242); border: 1px solid var(--ink-line); border-radius: 18px; box-shadow: 0 30px 80px -30px #000; display: flex; flex-direction: column; overflow: hidden; color: var(--ink-fg); }
.hal-top { height: 54px; display: flex; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--ink-line); }
.hal-orb { width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0, var(--gold) 22%, oklch(0.55 0.13 50) 60%, oklch(0.3 0.08 40) 100%); box-shadow: 0 0 18px oklch(0.79 0.12 78 / .55); flex-shrink: 0; }
.hal-orb.thinking { animation: orb 1.2s ease-in-out infinite; }
@keyframes orb { 50% { box-shadow: 0 0 30px oklch(0.79 0.12 78 / .9); transform: scale(1.06); } }
.hal-top b { font-family: var(--head); font-size: 16px; }
.hal-top small { color: var(--ink-muted); font-size: 12.5px; }
.hal-chat { flex: 1; padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; justify-content: flex-end; }
.q-bub { align-self: flex-end; max-width: 75%; background: var(--pool); color: #fff; padding: 10px 14px; border-radius: 16px 16px 4px 16px; font-size: 14.5px; animation: fadeIn .3s both; }
.a-bub { align-self: flex-start; max-width: 92%; font-size: 14.5px; line-height: 1.55; display: flex; gap: 12px; animation: fadeIn .3s both; }
.a-bub .txt { background: oklch(1 0 0 / 0.05); border: 1px solid var(--ink-line); border-radius: 4px 16px 16px 16px; padding: 12px 15px; }
.a-bub .txt ol { margin: 4px 0 0; padding-left: 18px; }
.a-bub .txt li { margin-bottom: 4px; }
.a-bub .status-line { color: var(--ink-muted); font-size: 13px; font-style: italic; }
.cite { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 6px; background: oklch(0.72 0.1 226 / 0.16); color: var(--pool-light); margin: 0 2px; white-space: nowrap; vertical-align: 1px; }
.cite svg { width: 11px; height: 11px; }
.idk { color: var(--gold); }
.hal-input { margin: 0 16px 16px; height: 48px; border-radius: 13px; border: 1px solid var(--ink-line); background: oklch(1 0 0 / 0.04); display: flex; align-items: center; padding: 0 14px; gap: 10px; color: var(--ink-muted); font-size: 14px; }
.hal-input .k { margin-left: auto; font-family: var(--mono); font-size: 11.5px; opacity: .6; }
.ask { display: flex; gap: 10px; align-items: center; width: 100%; text-align: left; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--ink-line); background: oklch(1 0 0 / 0.04); color: var(--ink-fg); font-size: 14px; font-weight: 550; margin-bottom: 8px; transition: background .15s, border-color .15s; }
.ask:hover { background: oklch(1 0 0 / 0.08); }
.ask.on { border-color: var(--gold); background: oklch(0.79 0.12 78 / 0.1); }
.ask svg { color: var(--gold); }
.ask-label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); margin: 4px 0 10px; }
.action-card { background: var(--paper); color: var(--fg); border-radius: 14px; padding: 14px 16px; width: 100%; box-shadow: var(--shadow); animation: fadeIn .35s both; }
.action-card .hd { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.action-card .draft { background: var(--soft); border-radius: 10px; padding: 10px 12px; font-size: 14px; line-height: 1.5; margin-bottom: 10px; }
.action-card .ok { display: flex; gap: 8px; align-items: center; color: var(--green); font-weight: 650; font-size: 14px; }
.roleswitch { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--ink-line); }
.roleswitch .seg-ctl { background: oklch(1 0 0 / 0.05); border-color: var(--ink-line); }
.roleswitch .seg-ctl button { color: var(--ink-muted); }
.roleswitch .seg-ctl button.on { background: oklch(1 0 0 / 0.14); color: #fff; }

/* ── 25 Beth ───────────────────────────────────────────── */
.beth-grid { display: grid; grid-template-columns: 1fr 300px; gap: 36px; align-items: center; height: 100%; }
.call-card { padding: 18px; display: flex; flex-direction: column; gap: 10px; min-height: 500px; }
.call-top { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.wave { display: flex; gap: 3px; align-items: center; height: 26px; }
.wave i { width: 4px; border-radius: 2px; background: var(--pool); height: 6px; }
.wave.live i { animation: wv 0.9s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: .1s; } .wave i:nth-child(3) { animation-delay: .2s; } .wave i:nth-child(4) { animation-delay: .3s; } .wave i:nth-child(5) { animation-delay: .4s; } .wave i:nth-child(6) { animation-delay: .15s; } .wave i:nth-child(7) { animation-delay: .25s; }
@keyframes wv { 50% { height: 24px; } }
.line { display: flex; gap: 10px; font-size: 14px; line-height: 1.45; animation: fadeIn .35s both; }
.line .who { flex: 0 0 64px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding-top: 2px; }
.line.beth .who { color: var(--pool); }
.line.caller .who { color: var(--gold-deep); }
.plans { display: flex; gap: 10px; margin-top: 4px; }
.plans div { flex: 1; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--paper); }
.plans b { font-family: var(--head); font-size: 24px; letter-spacing: -0.02em; }
.plans small { display: block; color: var(--muted); font-size: 12.5px; }

/* ── 26 Promises ───────────────────────────────────────── */
.prom { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pcard { padding: 22px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.pcard .ico-circle { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 14px; }
.pcard .ico-circle svg { width: 22px; height: 22px; }
.pcard b { display: block; font-family: var(--head); font-size: 19px; letter-spacing: -0.015em; margin-bottom: 6px; }
.pcard p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--muted); }

/* ── 27 Close ──────────────────────────────────────────── */
.close { grid-template-columns: 1fr 520px; }
.close h2 { font-size: 72px !important; }
.pricebox { background: oklch(1 0 0 / 0.04); border: 1px solid var(--ink-line); border-radius: 22px; padding: 28px; color: var(--ink-fg); }
.pricebox .tag { display: inline-flex; gap: 8px; align-items: center; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.pricebox .amt { font-family: var(--head); font-size: 76px; font-weight: 750; letter-spacing: -0.045em; line-height: 1; }
.pricebox .amt small { font-size: 22px; font-weight: 500; color: var(--ink-muted); letter-spacing: 0; }
.pricebox ul { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.pricebox li { display: flex; gap: 10px; font-size: 15.5px; color: var(--ink-fg); }
.pricebox li svg { color: var(--gold); margin-top: 2px; }
.pricebox .math { font-size: 14.5px; line-height: 1.5; color: var(--ink-muted); padding-top: 16px; border-top: 1px solid var(--ink-line); }
.pricebox .math b { color: var(--ink-fg); }
.kenny { display: flex; gap: 16px; align-items: center; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--ink-line); max-width: 640px; }
.kenny .kav { width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: var(--ink); display: grid; place-items: center; font-family: var(--head); font-weight: 750; font-size: 20px; flex-shrink: 0; }
.kenny p { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--ink-muted); }
.kenny p b { color: var(--ink-fg); }
.cta { display: flex; gap: 12px; margin-top: 26px; }
.btn.inv { background: oklch(1 0 0 / 0.06); color: var(--ink-fg); border: 1px solid var(--ink-line); }
.btn.inv:hover { background: oklch(1 0 0 / 0.12); }

/* "Coming" badges — only shown with ?badges=1 */
.soon-badge { display: none; }
body.badges .soon-badge { display: inline-flex; }

/* Light UI inside dark slides keeps dark text */
.dark .app, .dark .card, .dark .action-card { color: var(--fg); }
.screen { color: #111; }

/* Never let focus or animation scroll the stage or a slide (overflow: clip can't be scrolled) */
.stage, .slide, .app, .app-body, .mess, .hal-app, .hal-chat, .screen { overflow: clip; }
.hal-app { height: 100%; }
.kt-grid .phone { transform: scale(.9); }
.txq .m { padding: 8px 11px; font-size: 12.5px; }
/* Glows sit behind the content, never on top of it */
.glow { z-index: 0; }
.slide > :not(.glow) { position: relative; z-index: 1; }

/* ── Overview map ──────────────────────────────────────── */
.jmap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.jtile { position: relative; text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; display: flex; flex-direction: column; gap: 12px; min-height: 340px; }
.jtile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--pool-light); }
.jtile:not(:last-child)::after { content: ""; position: absolute; right: -14px; top: 50%; width: 10px; height: 10px; border-top: 2px solid var(--line-2); border-right: 2px solid var(--line-2); transform: translateY(-50%) rotate(45deg); }
.jtile .num { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.jtile .ic { width: 54px; height: 54px; border-radius: 15px; }
.jtile .ic svg { width: 26px; height: 26px; }
.jtile h3 { font-family: var(--head); font-size: 30px; margin: 0; letter-spacing: -0.03em; }
.jtile ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 15px; color: var(--muted); }
.jtile li { display: flex; gap: 8px; align-items: baseline; }
.jtile li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--pool-light); flex-shrink: 0; transform: translateY(-2px); }
.jtile .go { margin-top: auto; font-size: 14px; font-weight: 650; color: var(--pool); display: flex; align-items: center; gap: 6px; }
.jband { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.jband button { display: flex; gap: 16px; align-items: center; padding: 18px 22px; border-radius: 18px; text-align: left; transition: transform .2s, box-shadow .2s; }
.jband button:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.jband b { display: block; font-family: var(--head); font-size: 19px; letter-spacing: -0.015em; margin-bottom: 3px; }
.jband span span { font-size: 14px; }
.jband .hal { background: var(--ink); color: var(--ink-fg); }
.jband .hal span span { color: var(--ink-muted); }
.jband .nums { background: var(--gold-soft); border: 1px solid oklch(0.88 0.07 82); color: var(--fg); }
.jband .nums span span { color: oklch(0.45 0.06 70); }

/* ── Order + job inbox ─────────────────────────────────── */
.po-chip { display: inline-flex; align-items: center; font-family: var(--mono); font-weight: 600; font-size: 13.5px; padding: 6px 10px; border-radius: 9px; background: var(--gold-soft); color: oklch(0.42 0.08 70); border: 1px dashed oklch(0.82 0.08 80); }
.launch { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.lbtn { border: 1px solid var(--line); border-radius: 13px; padding: 12px 14px; text-align: left; background: var(--paper); transition: border-color .15s, transform .15s, box-shadow .15s; }
.lbtn:hover { border-color: var(--pool-light); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.lbtn .lg { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; font-size: 12px; color: #fff; margin-bottom: 8px; font-family: var(--head); }
.lbtn b { display: block; font-size: 14px; }
.lbtn small { font-size: 12px; color: var(--muted); }
.mail { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; animation: fadeIn .35s both; background: var(--paper); transition: background .3s, border-color .3s; }
.mail .from { font-weight: 650; font-size: 14px; }
.mail .subj { font-size: 13px; color: var(--muted); margin-top: 1px; }
.mail .att { font-size: 11.5px; color: var(--pool-deep); display: flex; gap: 10px; margin-top: 4px; font-weight: 600; }
.mail .att span { display: inline-flex; gap: 4px; align-items: center; }
.mail.filed { border-color: oklch(0.88 0.05 155); }
.mail.review { background: var(--amber-soft); border-color: oklch(0.87 0.08 75); }
.empty-inbox { border: 1.5px dashed var(--line-2); border-radius: 14px; padding: 34px 20px; text-align: center; color: var(--muted); font-size: 14.5px; }
.toast { position: absolute; left: 50%; bottom: 20px; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; background: var(--ink); color: var(--ink-fg); padding: 11px 16px; border-radius: 12px; font-size: 14px; font-weight: 550; transition: opacity .25s, transform .25s; z-index: 6; display: flex; gap: 8px; align-items: center; box-shadow: var(--shadow-lg); white-space: nowrap; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast svg { color: var(--gold); }

/* ── Add-ons ───────────────────────────────────────────── */
.att-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.att-row { margin-bottom: 18px; }
.att-row .row { margin-bottom: 7px; }
.att-row .pct { font-family: var(--head); font-size: 24px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.att-bar { position: relative; height: 14px; border-radius: 8px; background: var(--soft); }
.att-bar i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--pool), var(--pool-light)); transition: width .6s cubic-bezier(.3,.7,.2,1); }
.att-bar .mark { position: absolute; top: -4px; bottom: -4px; width: 3px; border-radius: 2px; background: var(--gold-deep); transition: left .3s; }

/* ── Layout tidy-ups ───────────────────────────────────── */
.appr-grid, .qb-grid, .jf-grid { height: auto; align-items: start; }
.appr-grid #start-btn, .qb-grid #qb-paid, .jf-grid #co-add { margin-top: 14px !important; }
.books { min-height: 470px; }
.drawer .cite { background: var(--pool-soft); color: var(--pool-deep); }
.drawer .hal-q { align-self: flex-end; background: var(--pool); color: #fff; padding: 8px 12px; border-radius: 14px 14px 4px 14px; font-size: 13.5px; }
.drawer .hal-a { font-size: 14px; line-height: 1.55; background: var(--soft); border-radius: 4px 14px 14px 14px; padding: 12px 14px; }
.drawer .hal-a ol { margin: 4px 0 0; padding-left: 18px; }
.drawer .hal-a li { margin-bottom: 4px; }

/* Phones held upright (or with rotation lock on): draw the stage sideways so it fills the screen once turned */
.stage.rot { transform: translate(-50%, -50%) rotate(90deg) scale(var(--s, 1)); }
#drawer-body { display: flex; flex-direction: column; gap: 12px; }
.kt-grid .phone { margin: -31px 0; }

/* Phones: a one-time "best on a computer" heads-up (tap to continue) */
.phone-note { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; background: oklch(0.18 0.025 240 / 0.86); backdrop-filter: blur(6px); }
.phone-note[hidden] { display: none; }
.pn-card { width: 100%; max-width: 360px; background: var(--paper); color: var(--fg); border-radius: 20px; padding: 26px 22px; text-align: center; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.pn-card .bolt { width: 44px; height: 44px; border-radius: 12px; }
.pn-card .bolt svg { width: 24px; height: 24px; }
.pn-card b { font-family: var(--head); font-size: 22px; letter-spacing: -0.02em; margin-top: 4px; }
.pn-card p { margin: 0 0 8px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.pn-card .btn { width: 100%; }
