/* =========================================================
   Growth HQ v1: premium agency meets modern tech (site/home.css is the source of truth).
   Ink canvas, glass cards with hairlines, Geist + Geist Mono, volt only as a spark:
   the approve button, the progress ring, live dots. Mobile first; desktop gets a sidebar.
   ========================================================= */
@font-face { font-family: "Geist"; font-style: normal; font-weight: 300 800; font-display: swap; src: url(fonts/geist.woff2) format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url(fonts/geist-mono.woff2) format("woff2"); }
@font-face { font-family: "Geist Fallback"; src: local("Arial"), local("ArialMT"), local("Liberation Sans"); size-adjust: 101.6%; }

:root {
  --bg: #09090b; --ink: #09090b; --ink-2: #0f0f12; --ink-3: #16161a; --ink-4: #1f1f24; --ink-5: #2a2a30;
  --fg: #f4f4f1; --dim: rgb(244 244 241 / .7); --dim-2: rgb(244 244 241 / .6);
  --paper: #f5f4f0; --paper-2: #ebe9e2; --muted: #57554f;
  --volt: #c6ff3d; --volt-dim: rgb(198 255 61 / .12); --volt-glow: rgb(198 255 61 / .55);
  --line: rgb(255 255 255 / .075); --line-2: rgb(255 255 255 / .13); --line-p: rgb(9 9 11 / .1);
  --amber: #f2c46d; --sky: #9fb8ff; --mint: #8be3b0; --coral: #ff9c8a;
  --glass: linear-gradient(180deg, rgb(255 255 255 / .045), rgb(255 255 255 / .018));
  --sans: "Geist", "Geist Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --r: 20px; --r-sm: 14px; --r-xs: 10px;
  --pad: 18px;
  --tabbar: 68px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
@media (min-width: 400px) { :root { --pad: 20px; } }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; min-height: 100dvh; font: 400 15.5px/1.5 var(--sans); color: var(--fg); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; -webkit-tap-highlight-color: transparent; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, figure, dl, dd, ol, ul, fieldset { margin: 0; }
ol, ul { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--volt); outline-offset: 2px; border-radius: 8px; }
[hidden] { display: none !important; }
::selection { background: var(--volt); color: var(--ink); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: 8px; transform: translateY(-200%); z-index: 200; background: var(--volt); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { transform: none; }
.noscript { padding: 40px 24px; color: var(--dim); }
.muted { color: var(--dim); }
.small { font-size: 13.5px; }
.fine { font-size: 12.5px; color: var(--dim-2); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.stack { display: grid; gap: 14px; }

/* ---------- type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font: 500 11.5px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim-2); }
.eyebrow--volt { color: var(--volt); }
.h1 { font: 600 clamp(32px, 8.4vw, 52px)/1.02 var(--sans); letter-spacing: -.048em; text-wrap: balance; }
.h2 { display: flex; align-items: center; gap: 10px; font: 600 19px/1.2 var(--sans); letter-spacing: -.025em; }
.h2 .i { width: 18px; height: 18px; color: var(--dim-2); }
.h3 { font: 600 16px/1.3 var(--sans); letter-spacing: -.015em; }
.lede { margin-top: 12px; max-width: 54ch; color: var(--dim); font-size: 16px; line-height: 1.55; text-wrap: pretty; }
.hl { color: var(--dim-2); }
.num { font-feature-settings: "tnum" on; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 0 4px rgb(198 255 61 / .13), 0 0 12px var(--volt-glow); flex: none; }

/* ---------- tags (honest status) ---------- */
.tag { display: inline-flex; align-items: center; gap: 6px; height: 21px; padding: 0 7px; border-radius: 6px; font: 500 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); box-shadow: inset 0 0 0 1px var(--line-2); white-space: nowrap; vertical-align: middle; }
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; box-shadow: inset 0 0 0 1.2px currentColor; }
.tag--rolling-out::before { background: linear-gradient(90deg, currentColor 50%, transparent 50%); }


/* status pills: a dot + a word, never colour alone */
.st { display: inline-flex; align-items: center; gap: 7px; font: 500 12.5px/1 var(--sans); color: var(--dim); white-space: nowrap; }
.st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dim-2); }
.st--new::before { background: var(--volt); box-shadow: 0 0 8px var(--volt-glow); }
.st--contacted::before { background: var(--sky); }
.st--booked::before { background: var(--amber); }
.st--won::before { background: var(--mint); }
.st--lost::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--dim-2); }

/* ---------- buttons ---------- */
.btn { --h: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--h); padding: 0 18px; border: 0; border-radius: 12px; font: 560 15px/1.1 var(--sans); letter-spacing: -.01em; text-decoration: none; white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s, opacity .2s; }
.btn .i { width: 18px; height: 18px; stroke-width: 2; }
.btn:active:not(:disabled) { transform: translateY(1px) scale(.99); }
.btn:disabled { opacity: .42; cursor: not-allowed; }
.btn--sm { --h: 44px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn--lg { --h: 54px; padding: 0 24px; font-size: 16px; border-radius: 14px; }
.btn--block { width: 100%; }
.btn--volt { background: var(--volt); color: var(--ink); box-shadow: 0 0 0 1px rgb(198 255 61 / .5), 0 10px 30px -14px var(--volt-glow); }
.btn--volt:hover:not(:disabled) { box-shadow: 0 0 0 4px rgb(198 255 61 / .16), 0 14px 40px -12px var(--volt-glow); }
.btn--ghost { background: rgb(255 255 255 / .05); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover:not(:disabled) { background: rgb(255 255 255 / .09); }
.btn--quiet { background: transparent; color: var(--dim); }
.btn--quiet:hover:not(:disabled) { color: var(--fg); background: rgb(255 255 255 / .05); }
.btn--light { background: var(--fg); color: var(--ink); }
.btn--danger { background: #ffd9d2; color: #5c1407; }
.btn--danger:hover:not(:disabled) { background: #ffc6bb; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgb(255 255 255 / .05); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; }
.icon-btn:hover { background: rgb(255 255 255 / .09); }
.icon-btn--volt { background: var(--volt); color: var(--ink); box-shadow: 0 8px 24px -12px var(--volt-glow); }
.icon-btn--volt:hover { background: var(--volt); }
.link { color: var(--fg); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.link:hover { text-decoration-color: currentColor; }

/* ---------- wordmark ---------- */
.wm { display: inline-flex; align-items: baseline; font: 700 22px/1 var(--sans); letter-spacing: -.06em; white-space: nowrap; color: var(--fg); }
.wm__hype { position: relative; z-index: 0; color: var(--ink); padding: 0 .12em 0 .08em; margin-right: .06em; }
.wm__hype::before { content: ""; position: absolute; z-index: -1; inset: -.02em 0 -.1em; background: var(--volt); transform: skewX(-11deg); border-radius: .08em; }
.wm--lg { font-size: 30px; }

/* ---------- avatars ---------- */
.av { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--ink-4); box-shadow: inset 0 0 0 1px var(--line-2); font: 600 13.5px/1 var(--sans); letter-spacing: -.01em; color: var(--fg); }
.av--biz { background: #0a1a2f; color: #ffb08f; box-shadow: inset 0 0 0 1px rgb(255 90 31 / .35); font-family: var(--mono); font-size: 12.5px; }
.av--icon .i { width: 19px; height: 19px; color: var(--dim); }

/* ---------- app shell ---------- */
.boot { min-height: 100dvh; display: grid; place-items: center; }
.boot__mark { width: 56px; height: 56px; animation: breathe 1.4s var(--ease) infinite alternate; }
@keyframes breathe { from { opacity: .45; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }

.demo-bar-old { position: relative; z-index: 60; display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 6px var(--pad); background: #121214; border-bottom: 1px solid var(--line); font: 500 11px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.demo-bar b { color: var(--fg); font-weight: 500; }
.demo-bar__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); flex: none; }
.demo-bar a { margin-left: auto; display: inline-flex; align-items: center; min-height: 32px; padding: 0 2px; color: var(--fg); text-underline-offset: 3px; white-space: nowrap; }
.demo-bar__long, .demo-bar__short { display: none; }
@media (min-width: 640px) { .demo-bar__long { display: inline; } }

.offline-bar { position: sticky; top: 0; z-index: 70; display: flex; align-items: center; gap: 10px; padding: 10px var(--pad); background: #2a2210; color: #ffe6b0; font-size: 13.5px; border-bottom: 1px solid rgb(242 196 109 / .3); }
.offline-bar .i { width: 18px; height: 18px; }

.top { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 12px; padding: 10px var(--pad); padding-top: max(10px, env(safe-area-inset-top)); background: rgb(9 9 11 / .78); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); border-bottom: 1px solid var(--line); }
.top__biz { display: flex; align-items: center; gap: 11px; min-width: 0; min-height: 44px; text-decoration: none; margin-right: auto; }
.top__biz .av { width: 36px; height: 36px; border-radius: 11px; }
.top__name { display: grid; min-width: 0; line-height: 1.2; }
.top__name b { font-size: 15px; font-weight: 600; letter-spacing: -.015em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top__name small { font: 500 10.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim-2); }

.main { display: block; overflow-x: clip; width: 100%; max-width: 1200px; margin: 0 auto; padding: 22px var(--pad) calc(var(--tabbar) + var(--safe-b) + 40px); outline: none; }

.tabbar { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr); height: calc(var(--tabbar) + var(--safe-b)); padding: 0 6px var(--safe-b); background: rgb(12 12 14 / .86); backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6); border-top: 1px solid var(--line); }
.tabbar a, .tabbar button { position: relative; display: grid; justify-items: center; align-content: center; gap: 5px; min-width: 0; border: 0; background: none; color: var(--dim-2); text-decoration: none; font: 500 11px/1 var(--sans); letter-spacing: .01em; }
.tabbar span:not(.badge) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.tabbar .i { width: 22px; height: 22px; }
.tabbar [aria-current="page"], .tabbar .is-current { color: var(--fg); }
.tabbar [aria-current="page"]::before, .tabbar .is-current::before { content: ""; position: absolute; top: 0; left: 50%; width: 22px; height: 2px; margin-left: -11px; border-radius: 0 0 2px 2px; background: var(--volt); box-shadow: 0 0 10px var(--volt-glow); }
.badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: auto; border-radius: 10px; background: var(--volt); color: var(--ink); font: 600 11.5px/1 var(--mono); }
.badge--tab { position: absolute; top: 8px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; font-size: 10.5px; margin: 0; box-shadow: 0 0 0 2px #0c0c0e; }

.side { display: none; }
@media (min-width: 1024px) {
  .shell { display: grid; grid-template-columns: 264px minmax(0, 1fr); grid-template-rows: auto auto 1fr; }
  .demo-bar, .offline-bar { grid-column: 1 / -1; }
  .top, .tabbar { display: none; }
  .side { position: sticky; top: 0; grid-row: 3; display: flex; flex-direction: column; gap: 22px; height: 100dvh; padding: 24px 16px 18px; border-right: 1px solid var(--line); background: linear-gradient(180deg, #0c0c0f, #09090b); overflow-y: auto; }
  .has-sys .side { top: 36px; height: calc(100dvh - 36px); }
  .main { grid-row: 3; padding: 40px clamp(32px, 4vw, 56px) 80px; }
}
.side__brand { display: grid; gap: 8px; padding: 4px 10px; text-decoration: none; }
.side__product { font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim-2); }
.side__biz { display: flex; align-items: center; gap: 11px; padding: 12px; border-radius: 14px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); }
.side__biz span { display: grid; min-width: 0; line-height: 1.25; }
.side__biz b { font-size: 14px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side__biz small { font-size: 12.5px; color: var(--dim-2); }
.side__nav { display: grid; gap: 2px; }
.side__group { margin: 14px 10px 6px; font: 500 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim-2); }
.side__group:first-child { margin-top: 0; }
.nav-link { position: relative; display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 0 10px; border-radius: 10px; color: var(--dim); text-decoration: none; font-size: 14.5px; font-weight: 500; transition: background-color .2s, color .2s; }
.nav-link .i { width: 19px; height: 19px; }
.nav-link:hover { color: var(--fg); background: rgb(255 255 255 / .04); }
.nav-link[aria-current="page"] { color: var(--fg); background: rgb(255 255 255 / .07); box-shadow: inset 0 0 0 1px var(--line); }
.nav-link[aria-current="page"]::before { content: ""; position: absolute; left: -16px; top: 11px; bottom: 11px; width: 2px; border-radius: 2px; background: var(--volt); box-shadow: 0 0 10px var(--volt-glow); }
.side__foot { margin-top: auto; display: grid; gap: 14px; }
.side__user { display: flex; align-items: center; gap: 11px; padding: 6px 4px; }
.side__user .av { width: 34px; height: 34px; border-radius: 50%; font-size: 12px; }
.side__user span { display: grid; line-height: 1.25; }
.side__user b { font-size: 13.5px; font-weight: 600; }
.side__user small { font-size: 12px; color: var(--dim-2); }

.loading { display: flex; gap: 8px; padding: 40px 0; }
.loading i { width: 8px; height: 8px; border-radius: 50%; background: var(--dim-2); animation: breathe .7s var(--ease) infinite alternate; }
.loading i:nth-child(2) { animation-delay: .15s; } .loading i:nth-child(3) { animation-delay: .3s; }

/* ---------- page header ---------- */
.ph { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 26px; }
.ph__text { min-width: 0; max-width: 760px; }
.ph .eyebrow { margin-bottom: 14px; }
.ph__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ph__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 1024px) { .ph { margin-bottom: 36px; } }

/* ---------- surfaces ---------- */
.card { position: relative; padding: var(--pad); border-radius: var(--r); background: var(--glass); box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgb(255 255 255 / .04); }
.block { display: grid; gap: 14px; align-content: start; min-width: 0; }
.block + .block { margin-top: 30px; }
.block__head { display: grid; gap: 4px; }
.block__note { font-size: 13.5px; color: var(--dim-2); }
.grid2 { display: grid; gap: 14px; align-items: start; }
.grid2 > .block, .grid2 > .card, .stats > * { margin-top: 0; }
.grid2--top { margin-top: 16px; }
.grid2 + .block, .stats + .block { margin-top: 30px; }
@media (min-width: 720px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.rows { display: grid; }
.rows > * + * { border-top: 1px solid var(--line); }
.kv { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 13px 0; font-size: 14.5px; }
.kv > span:first-child { color: var(--dim); }
.kv > :last-child { text-align: right; }

/* ---------- Today hero ---------- */
.hero { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 8px 0 28px; isolation: isolate; }
.hero__glow { position: absolute; z-index: -1; pointer-events: none; inset: -120px -20vw 0 30%; background: radial-gradient(50% 55% at 70% 35%, rgb(198 255 61 / .09), transparent 70%); }
.hero__glow::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgb(255 255 255 / .04) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .04) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse 60% 70% at 70% 30%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 60% 70% at 70% 30%, #000 10%, transparent 70%); }
.hero__text { min-width: 0; }
.hero__title { margin-top: 16px; font: 600 clamp(34px, 9.4vw, 64px)/1 var(--sans); letter-spacing: -.052em; text-wrap: balance; }
.hero__l1 { display: block; }
.hero__l2 { display: block; color: var(--dim-2); }
.hero__l3 { display: block; margin-top: 16px; font: 400 15.5px/1.5 var(--sans); letter-spacing: 0; color: var(--dim); text-wrap: pretty; }
.ring { position: relative; width: 96px; height: 96px; flex: none; }
.ring > svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 5; }
.ring__seg { stroke: rgb(255 255 255 / .14); stroke-linecap: round; transition: stroke .4s; }
.ring__seg.on { stroke: var(--volt); filter: drop-shadow(0 0 5px rgb(198 255 61 / .55)); }
.ring__seg.is-new { animation: segIn .8s var(--ease); }
@keyframes segIn { 0% { stroke: var(--fg); stroke-width: 9; } 100% { stroke: var(--volt); stroke-width: 5; } }
.ring__n { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; }
.ring__n b { font: 600 30px/1 var(--sans); letter-spacing: -.05em; }
.ring__n small { font: 500 9.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim-2); }
.ring__n .i { width: 30px; height: 30px; stroke-width: 2.4; color: var(--volt); }
.ring.is-clear { animation: pop .7s var(--ease); }
.ring.is-clear::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; box-shadow: 0 0 0 1px rgb(198 255 61 / .35); animation: halo 1.4s var(--ease) forwards; }
@keyframes pop { 0% { transform: scale(.9); } 60% { transform: scale(1.06); } 100% { transform: scale(1); } }
@keyframes halo { from { opacity: 1; transform: scale(.9); } to { opacity: 0; transform: scale(1.5); } }
@media (min-width: 1024px) { .ring { width: 132px; height: 132px; } .ring__n b { font-size: 42px; } .ring__n small { font-size: 10.5px; } .hero { padding-bottom: 40px; } }
.ring.is-clear svg { filter: drop-shadow(0 0 14px rgb(198 255 61 / .35)); }

.today__grid { display: grid; gap: 30px; }
@media (min-width: 1100px) { .today__grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; } .today__rail { position: sticky; top: 24px; } }
.today__rail { display: grid; gap: 16px; }
.today__rail .block + .block { margin-top: 0; }

/* alerts */
.alerts { display: grid; gap: 8px; }
.alert { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 14px 12px 16px; border-radius: var(--r-sm); background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; transition: background-color .2s, box-shadow .2s; }
.alert:hover { background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px var(--line-2); }
.alert__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 10px var(--volt-glow); flex: none; }
.alert__text { display: grid; gap: 2px; min-width: 0; flex: 1; }
.alert__text b { font-weight: 560; font-size: 15px; letter-spacing: -.01em; }
.alert__text small { color: var(--dim-2); font-size: 13px; }
.alert__cta { display: inline-flex; align-items: center; gap: 2px; font-size: 13.5px; font-weight: 560; color: var(--dim); white-space: nowrap; }
.alert__cta .i { width: 16px; height: 16px; }

/* ---------- approval cards ---------- */
.feed { display: grid; gap: 14px; }
.ap { position: relative; display: grid; gap: 12px; padding: var(--pad); border-radius: var(--r); background: var(--glass); box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgb(255 255 255 / .05), 0 24px 48px -32px rgb(0 0 0 / .8); min-width: 0; }
.ap__head { display: flex; align-items: center; gap: 10px; min-width: 0; flex-wrap: wrap; }
.ap__ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px var(--line); }
.ap__ico .i { width: 16px; height: 16px; }
.ap__type { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.ap__when { margin-left: auto; font-size: 12.5px; color: var(--dim-2); white-space: nowrap; }
.ap__title { font: 600 clamp(19px, 5vw, 22px)/1.2 var(--sans); letter-spacing: -.03em; }
.ap__sum { margin-top: -6px; color: var(--dim); font-size: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.ap__forced { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; background: rgb(242 196 109 / .08); box-shadow: inset 0 0 0 1px rgb(242 196 109 / .2); color: #f5d79c; font-size: 13.5px; }
.ap__forced .i { width: 16px; height: 16px; }
.ap__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ap__actions .ap__go { grid-column: 1 / -1; --h: 50px; font-size: 15.5px; }
.feed .ap:not(.ap--done) .ap__go { background: rgb(255 255 255 / .04); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-2); }
.feed .ap:not(.ap--done) .ap__go .i--go { color: var(--volt); }
.feed .ap:not(.ap--done) .ap__go:hover:not(:disabled) { background: rgb(255 255 255 / .08); }
.feed > .ap:nth-child(1 of .ap:not(.ap--done)) .ap__go, .ap__edit ~ .ap__actions .ap__go, .ap .ap__actions [data-act="save"] { background: var(--volt); color: var(--ink) !important; box-shadow: 0 0 0 1px rgb(198 255 61 / .5), 0 10px 30px -14px var(--volt-glow); }
@media (min-width: 560px) { .ap__actions { display: flex; flex-wrap: wrap; } .ap__actions .ap__go { flex: 0 1 auto; padding: 0 26px; } }
.ap__edit { display: grid; gap: 6px; }
.ap__why { display: grid; gap: 12px; }
.ap__why legend { padding: 0; margin-bottom: 10px; font-weight: 560; font-size: 15px; }
.ap__why legend .muted { font-weight: 400; font-size: 13.5px; }

.ap--done { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 14px 14px 16px; background: rgb(255 255 255 / .02); box-shadow: inset 0 0 0 1px var(--line); }
.ap__tick { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--volt-dim); color: var(--volt); box-shadow: inset 0 0 0 1px rgb(198 255 61 / .25); }
.ap__tick .i { width: 17px; height: 17px; stroke-width: 2.4; }
.ap--declined .ap__tick { background: rgb(255 255 255 / .05); color: var(--dim); box-shadow: inset 0 0 0 1px var(--line-2); }
.ap__donetext { min-width: 0; }
.ap__donetitle { font-size: 15px; font-weight: 600; letter-spacing: -.015em; }
.ap__donetext p { font-size: 13.5px; color: var(--dim); }
.ap.is-new { animation: settle .55s var(--ease); }
@keyframes settle { from { opacity: 0; transform: translateY(6px) scale(.985); } to { opacity: 1; transform: none; } }

.history { margin-top: 6px; }
.history summary { display: flex; align-items: center; gap: 6px; min-height: 44px; cursor: pointer; color: var(--dim); font-size: 14.5px; list-style: none; }
.history summary::-webkit-details-marker { display: none; }
.history summary::before { content: ""; width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(-45deg); margin: 0 6px 0 4px; transition: transform .2s; }
.history[open] summary::before { transform: rotate(45deg); }
.feed--history { gap: 8px; }

/* artifacts: the thing being approved, on warm paper so it reads as "the real output" */
.art { display: grid; gap: 12px; padding: 14px; border-radius: var(--r-sm); background: rgb(255 255 255 / .035); box-shadow: inset 0 0 0 1px var(--line); color: var(--fg); min-width: 0; }
.art__row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.art__who { font-size: 13.5px; color: var(--dim); }
.art__who b { color: var(--fg); font-weight: 600; }
.art .stars { color: var(--amber); }
.art__quote { font-size: 15px; line-height: 1.5; }
.art__label { display: block; margin-bottom: 6px; font: 500 10.5px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim-2); }
.art__draft { padding: 12px 14px; border-radius: 10px; background: rgb(255 255 255 / .05); box-shadow: inset 2px 0 0 var(--volt), inset 0 0 0 1px var(--line); }
.art__draft p { font-size: 15px; line-height: 1.5; }
.art__draft--dark { background: var(--ink-3); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); }
.art__draft--dark .art__label { color: var(--dim-2); }
.stars { display: inline-flex; gap: 2px; }
.star { width: 15px; height: 15px; fill: transparent; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; opacity: .35; }
.star.on { fill: currentColor; opacity: 1; }

.art--post { padding: 0; overflow: hidden; gap: 0; }
.post { position: relative; }
.post img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.post__plats { position: absolute; left: 10px; bottom: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.post__plats span { padding: 5px 8px; border-radius: 7px; background: rgb(9 9 11 / .72); color: #fff; font: 500 11px/1 var(--mono); letter-spacing: .04em; backdrop-filter: blur(8px); }
.art--post .art__draft { margin: 12px; }
.art--post { box-shadow: inset 0 0 0 1px var(--line); }
@media (min-width: 720px) {
  .art--post { grid-template-columns: 240px minmax(0, 1fr); }
  .post img { height: 100%; aspect-ratio: 4 / 5; }
  .art--post .art__draft { align-self: center; background: transparent; box-shadow: none; }
}

.art--video { grid-template-columns: minmax(0, 132px) minmax(0, 1fr); gap: 14px; align-items: start; background: transparent; padding: 0; color: var(--fg); }
@media (min-width: 400px) { .art--video { grid-template-columns: minmax(0, 150px) minmax(0, 1fr); } }
@media (min-width: 720px) { .art--video { grid-template-columns: 200px minmax(0, 1fr); gap: 20px; } }
.art__side { display: grid; gap: 10px; min-width: 0; }
.art__meta { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--dim); }
.art__meta .i { width: 16px; height: 16px; margin-top: 1px; color: var(--dim-2); }
.art--video .art__draft p { font-size: 14px; }
.reel { position: relative; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 40px -20px rgb(0 0 0 / .9); isolation: isolate; }
.reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: reel 12s linear infinite; animation-delay: calc(var(--i) * 3s); }
.reel img:first-child { opacity: 1; }
.reel::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgb(0 0 0 / .25), transparent 30%, transparent 55%, rgb(0 0 0 / .7)); }
.reel__beat { position: absolute; z-index: 2; left: 10px; right: 10px; bottom: 26px; font: 700 clamp(14px, 3.6vw, 18px)/1.05 var(--sans); letter-spacing: -.03em; color: #fff; opacity: 0; animation: beat 12s linear infinite; animation-delay: calc(var(--i) * 3s); text-shadow: 0 2px 12px rgb(0 0 0 / .5); }
.reel__beat:first-of-type { opacity: 1; }
.reel__dur { position: absolute; z-index: 2; top: 8px; left: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 7px 4px 5px; border-radius: 7px; background: rgb(9 9 11 / .6); font: 500 11px/1 var(--mono); color: #fff; backdrop-filter: blur(6px); }
.reel__dur .i { width: 13px; height: 13px; fill: currentColor; stroke: none; }
.reel__bar { position: absolute; z-index: 2; left: 10px; right: 10px; bottom: 12px; height: 2px; border-radius: 2px; background: rgb(255 255 255 / .25); overflow: hidden; }
.reel__bar::after { content: ""; position: absolute; inset: 0; background: var(--volt); transform-origin: left; animation: bar 12s linear infinite; }
@keyframes reel { 0% { opacity: 0; transform: scale(1.08); } 3% { opacity: 1; } 25% { opacity: 1; } 28% { opacity: 0; transform: scale(1); } 100% { opacity: 0; } }
@keyframes beat { 0% { opacity: 0; transform: translateY(6px); } 4% { opacity: 1; transform: none; } 23% { opacity: 1; } 26% { opacity: 0; } 100% { opacity: 0; } }
@keyframes bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.reel img:first-child, .reel__beat:first-of-type { animation-name: reel0; }
.reel__beat:first-of-type { animation-name: beat0; }
@keyframes reel0 { 0% { opacity: 1; transform: scale(1.08); } 25% { opacity: 1; } 28% { opacity: 0; transform: scale(1); } 97% { opacity: 0; transform: scale(1.08); } 100% { opacity: 1; transform: scale(1.08); } }
@keyframes beat0 { 0% { opacity: 1; } 23% { opacity: 1; } 26% { opacity: 0; } 97% { opacity: 0; } 100% { opacity: 1; } }

.art--site { gap: 12px; }
.art__asked { display: flex; gap: 8px; font-size: 13.5px; color: var(--dim); }
.art__asked .i { width: 16px; height: 16px; margin-top: 2px; }
.diff { display: grid; gap: 1px; border-radius: 10px; overflow: hidden; background: var(--line); box-shadow: inset 0 0 0 1px var(--line); }
.diff > div { display: grid; gap: 4px; padding: 10px 12px; background: var(--ink-2); }
.diff dt { font: 500 10.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim-2); }
.diff dd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-size: 14.5px; }
.diff s { color: var(--dim-2); text-decoration-thickness: 1px; }
.diff b { font-weight: 600; }
.art__banner { padding: 12px 14px; border-radius: 10px; background: #0a1a2f; color: #f3eee3; box-shadow: inset 4px 0 0 #ff5a1f; }
.art__banner .art__label { color: #ffb08f; }
.art__banner p { font-size: 14.5px; font-weight: 500; }

/* ---------- inputs ---------- */
.field { display: grid; gap: 8px; }
.field__label { font-size: 14px; font-weight: 560; }
textarea, input[type="text"], input[type="email"], input[type="tel"], select { width: 100%; min-height: 46px; padding: 12px 14px; border: 0; border-radius: 12px; background: var(--ink-3); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 16px; line-height: 1.45; }
textarea { resize: vertical; min-height: 110px; }
textarea:focus, input:focus, select:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--volt); }
::placeholder { color: var(--dim-2); opacity: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: rgb(255 255 255 / .05); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14px; text-align: left; }
.chip:hover { background: rgb(255 255 255 / .09); }
.chip--radio { position: relative; cursor: pointer; }
.chip--radio input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip--radio:has(input:checked) { background: var(--fg); color: var(--ink); }
.chip--radio:has(input:focus-visible) { outline: 2px solid var(--volt); outline-offset: 2px; }
.seg { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px var(--line); overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg a, .seg button { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 0; border-radius: 10px; background: none; color: var(--dim); text-decoration: none; font-size: 14px; font-weight: 520; white-space: nowrap; }
.seg [aria-current="true"], .seg [aria-pressed="true"] { background: var(--fg); color: var(--ink); }
.seg .n { font: 500 11.5px/1 var(--mono); opacity: .7; }

/* switch */
.switch { position: relative; flex: none; width: 50px; height: 30px; padding: 0; border: 0; border-radius: 15px; background: var(--ink-5); box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .25s var(--ease); }
.switch__knob { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #c9c9c4; box-shadow: 0 2px 6px rgb(0 0 0 / .4); transition: transform .3s var(--ease), background-color .25s; }
.switch[aria-checked="true"] { background: var(--volt); box-shadow: 0 0 16px -4px var(--volt-glow); }
.switch[aria-checked="true"] .switch__knob { transform: translateX(20px); background: var(--ink); }
.switch:disabled { opacity: .5; cursor: not-allowed; }
.switch::after { content: ""; position: absolute; inset: -7px; }

/* autopilot */
.autopilot { display: grid; }
.autopilot__row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 0; }
.autopilot__row + .autopilot__row { border-top: 1px solid var(--line); }
.autopilot__text { display: grid; gap: 4px; min-width: 0; }
.autopilot__name { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 560; font-size: 15px; }
.autopilot__text small { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 13px; color: var(--dim-2); line-height: 1.4; }
.autopilot__text small .i { width: 13px; height: 13px; }

/* overnight timeline */
.timeline { display: grid; gap: 0; position: relative; }
.timeline li { display: grid; grid-template-columns: 62px 28px minmax(0, 1fr); grid-template-areas: "time dot text" ". . tag"; column-gap: 10px; row-gap: 6px; padding: 10px 0; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 85px; top: 40px; bottom: -10px; width: 1px; background: var(--line-2); }
.timeline li:last-child::before { display: none; }
.timeline time { grid-area: time; padding-top: 5px; font: 500 12px/1.3 var(--mono); color: var(--dim-2); white-space: nowrap; }
.timeline__dot { grid-area: dot; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line-2); }
.timeline__dot .i { width: 14px; height: 14px; color: var(--dim); }
.timeline__text { grid-area: text; font-size: 14.5px; line-height: 1.45; text-decoration: none; padding-top: 3px; }
.timeline__text:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.timeline .tag { grid-area: tag; justify-self: start; }

/* ---------- toasts ---------- */
.toasts { position: fixed; z-index: 300; left: 0; right: 0; bottom: calc(var(--tabbar) + var(--safe-b) + 12px); display: grid; justify-items: center; gap: 8px; padding: 0 12px; pointer-events: none; }
@media (min-width: 1024px) { .toasts { bottom: 24px; left: 264px; } }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 12px; max-width: min(520px, 100%); min-height: 52px; padding: 8px 8px 8px 16px; border-radius: 14px; background: rgb(28 28 32 / .94); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 40px -12px rgb(0 0 0 / .8); backdrop-filter: blur(14px); font-size: 14.5px; opacity: 0; transform: translateY(12px) scale(.98); transition: opacity .3s var(--ease), transform .35s var(--ease); }
.toast.is-in { opacity: 1; transform: none; }
.toast > .i { width: 18px; height: 18px; color: var(--volt); }
.toast span { flex: 1; padding: 6px 0; }
.toast__act { min-height: 40px; padding: 0 14px; border: 0; border-radius: 10px; background: rgb(255 255 255 / .08); color: var(--fg); font-weight: 600; font-size: 14px; }

/* ---------- sheets ---------- */
.sheet { width: 100%; max-width: 100%; max-height: 92dvh; margin: auto 0 0; padding: 0; border: 0; border-radius: 24px 24px 0 0; background: #121215; color: var(--fg); box-shadow: inset 0 1px 0 var(--line-2), 0 -20px 60px rgb(0 0 0 / .6); overflow: hidden; }
.sheet[open] { display: flex; animation: sheetUp .38s var(--ease); }
.sheet::backdrop { background: rgb(0 0 0 / .62); backdrop-filter: blur(6px); }
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet__in { display: flex; flex-direction: column; width: 100%; max-height: 92dvh; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px var(--pad) 8px; }
.sheet__head h2 { font: 600 21px/1.2 var(--sans); letter-spacing: -.03em; }
.sheet__body { display: grid; gap: 16px; align-content: start; padding: 8px var(--pad) 18px; overflow-y: auto; }
.sheet__foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; padding: 14px var(--pad) calc(14px + var(--safe-b)); border-top: 1px solid var(--line); background: #0f0f12; }
.sheet__foot .btn { flex: 1 1 auto; }
@media (min-width: 640px) {
  .sheet { max-width: 540px; margin: auto; border-radius: 24px; box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 80px rgb(0 0 0 / .7); }
  .sheet--wide { max-width: 760px; }
  .sheet__foot .btn { flex: 0 0 auto; }
}
.more { display: grid; }
.more a { display: flex; align-items: center; gap: 14px; min-height: 60px; text-decoration: none; font-size: 16px; font-weight: 520; }
.more a + a { border-top: 1px solid var(--line); }
.more .tag { margin-left: auto; }
.more__chev { width: 16px; height: 16px; color: var(--dim-2); }
.more a > .tag + .more__chev { margin-left: 0; }
.more a > span:nth-child(2) + .more__chev { margin-left: auto; }
.options { display: grid; gap: 8px; }
.option { position: relative; display: flex; gap: 12px; padding: 14px; border-radius: 14px; background: rgb(255 255 255 / .03); box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; }
.option input { margin: 3px 0 0; width: 18px; height: 18px; accent-color: var(--volt); flex: none; }
.option span { display: grid; gap: 2px; }
.option b { font-weight: 600; }
.option small { color: var(--dim); font-size: 13.5px; }
.option:has(input:checked) { box-shadow: inset 0 0 0 1.5px var(--volt); background: rgb(198 255 61 / .04); }
.bullets { display: grid; gap: 10px; }
.bullets li { display: flex; gap: 10px; font-size: 14.5px; }
.bullets .i { width: 17px; height: 17px; margin-top: 2px; color: var(--volt); }
.bullets--dim .i { color: var(--dim-2); }
.callout { display: flex; gap: 12px; padding: 14px; border-radius: 14px; background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; color: var(--dim); }
.callout .i { width: 18px; height: 18px; color: var(--fg); margin-top: 1px; }
.callout b { color: var(--fg); }

/* ---------- inbox ---------- */
.inbox { display: grid; gap: 16px; }
@media (min-width: 1024px) { .inbox--split { grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); align-items: start; gap: 24px; } .inbox--split .thread { position: sticky; top: 24px; } }
.list { display: grid; gap: 2px; }
.row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; padding: 14px 12px; border-radius: 14px; text-decoration: none; transition: background-color .2s; }
.row:hover { background: rgb(255 255 255 / .04); }
.row[aria-current="true"] { background: rgb(255 255 255 / .07); box-shadow: inset 0 0 0 1px var(--line); }
.row__main { display: grid; gap: 2px; min-width: 0; }
.row__top { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.row__name { font-weight: 600; font-size: 15px; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row.is-unread .row__name::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-radius: 50%; background: var(--volt); vertical-align: middle; box-shadow: 0 0 8px var(--volt-glow); }
.row__sub { font-size: 13.5px; color: var(--fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row__prev { font-size: 13.5px; color: var(--dim-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row__side { display: grid; justify-items: end; gap: 8px; align-self: start; padding-top: 2px; }
.row__time { font: 500 11.5px/1 var(--mono); color: var(--dim-2); white-space: nowrap; }
.row .av { width: 42px; height: 42px; align-self: start; }
.row .av--chat { background: rgb(159 184 255 / .1); color: var(--sky); }
.row .av--missed { background: rgb(242 196 109 / .1); color: var(--amber); }
.row .av--team { background: var(--volt-dim); color: var(--volt); }
.row .av--icon .i { color: inherit; }

.thread { display: grid; gap: 16px; min-width: 0; }
.thread__back { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: var(--dim); text-decoration: none; font-size: 14.5px; }
.thread__back .i { width: 18px; height: 18px; }
@media (min-width: 1024px) { .inbox--split .thread__back { display: none; } }
.thread__head { display: grid; gap: 12px; }
.thread__title { font: 600 clamp(26px, 6.6vw, 34px)/1.05 var(--sans); letter-spacing: -.04em; }
.thread__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--dim); font-size: 13.5px; }
.thread__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1px; border-radius: 14px; overflow: hidden; background: var(--line); box-shadow: inset 0 0 0 1px var(--line); }
.facts > div { padding: 12px 14px; background: var(--ink-2); }
.facts dt { font: 500 10.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim-2); }
.facts dd { margin-top: 4px; font-size: 14.5px; }
.msgs { display: grid; gap: 10px; padding: 4px 0; }
.msg { display: grid; gap: 4px; max-width: 86%; justify-self: start; }
.msg__who { font: 500 10.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim-2); display: flex; gap: 8px; align-items: center; }
.msg__b { padding: 11px 14px; border-radius: 16px 16px 16px 6px; background: var(--ink-4); font-size: 15px; line-height: 1.45; box-shadow: inset 0 0 0 1px var(--line); }
.msg--ai .msg__b { background: rgb(159 184 255 / .08); box-shadow: inset 0 0 0 1px rgb(159 184 255 / .2); }
.msg--hypeman .msg__b { background: var(--volt-dim); box-shadow: inset 0 0 0 1px rgb(198 255 61 / .22); }
.msg--owner { justify-self: end; justify-items: end; }
.msg--owner .msg__b { background: var(--fg); color: var(--ink); border-radius: 16px 16px 6px 16px; box-shadow: none; }
.msg--system { justify-self: center; max-width: 100%; }
.msg--system .msg__b { padding: 7px 12px; border-radius: 999px; background: none; box-shadow: inset 0 0 0 1px var(--line-2); font: 500 12px/1.3 var(--mono); color: var(--dim); text-align: center; }
.reply { display: grid; gap: 10px; padding: 12px; border-radius: 18px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.reply textarea { min-height: 70px; background: transparent; box-shadow: none; padding: 6px 4px; }
.reply textarea:focus { box-shadow: none; }
.reply:focus-within { box-shadow: inset 0 0 0 1.5px var(--volt); }
.reply__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.empty { display: grid; justify-items: start; gap: 8px; padding: 28px var(--pad); border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); color: var(--dim); }

/* ---------- bookings ---------- */
.days { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(52px, 1fr); gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; }
.days::-webkit-scrollbar { display: none; }
.day { position: relative; display: grid; justify-items: center; gap: 4px; min-height: 76px; padding: 10px 4px; border: 0; border-radius: 14px; background: rgb(255 255 255 / .03); box-shadow: inset 0 0 0 1px var(--line); color: var(--dim); }
.day b { font: 600 20px/1 var(--sans); letter-spacing: -.03em; color: var(--fg); }
.day small { font: 500 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.day i { display: flex; gap: 3px; height: 5px; }
.day i::before { content: ""; width: calc(var(--n, 0) * 7px); max-width: 34px; height: 5px; border-radius: 3px; background: repeating-linear-gradient(90deg, var(--dim-2) 0 5px, transparent 5px 7px); }
.day[aria-pressed="true"] { background: var(--fg); color: var(--ink); box-shadow: none; }
.day[aria-pressed="true"] b { color: var(--ink); }
.day[aria-pressed="true"] i::before { background: repeating-linear-gradient(90deg, var(--ink) 0 5px, transparent 5px 7px); }
.agenda { display: grid; gap: 10px; }
.slot { display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 14px; }
.slot__time { padding-top: 16px; font: 500 13px/1.25 var(--mono); color: var(--dim); }
.slot__time small { display: block; color: var(--dim-2); font-size: 11.5px; }
.slot__card { display: grid; gap: 8px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.slot.is-done .slot__card { opacity: .62; }
.slot.is-next .slot__card { box-shadow: inset 0 0 0 1px rgb(198 255 61 / .35), 0 0 30px -18px var(--volt-glow); }
.slot__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
.slot__svc { font-weight: 600; font-size: 16px; letter-spacing: -.015em; }
.slot__who { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13.5px; color: var(--dim); }
.slot__who span { display: inline-flex; align-items: center; gap: 6px; }
.slot__who .i { width: 15px; height: 15px; color: var(--dim-2); }
.slot__note { font-size: 13px; color: var(--dim-2); }
.nowline { display: flex; align-items: center; gap: 10px; padding-left: 82px; font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--volt); }
.nowline::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--volt), transparent); }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { display: grid; gap: 6px; align-content: start; padding: 16px; border-radius: var(--r-sm); background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.stat__l { font-size: 13px; color: var(--dim); }
.stat__v { font: 600 30px/1 var(--sans); letter-spacing: -.045em; font-feature-settings: "tnum" on; }
.stat .tag { justify-self: start; }
.big { display: grid; gap: 8px; }
.big__v { font: 600 clamp(64px, 18vw, 120px)/.9 var(--sans); letter-spacing: -.065em; font-feature-settings: "tnum" on; }
.big__l { font-size: 15px; color: var(--dim); }
.delta { display: inline-flex; align-items: center; gap: 6px; font: 500 13px/1 var(--mono); color: var(--dim); }
.delta b { color: var(--volt); font-weight: 500; }

.chart { position: relative; }
.chart svg { width: 100%; height: 140px; overflow: visible; }
.chart rect { fill: rgb(244 244 241 / .28); transition: fill .15s; }
.chart rect.is-last { fill: var(--volt); }
.chart rect.is-hot, .chart rect:hover { fill: var(--fg); }
.chart .base { stroke: var(--line-2); stroke-width: 1; }
.chart__axis { display: flex; justify-content: space-between; margin-top: 8px; font: 500 11px/1 var(--mono); color: var(--dim-2); }
.chart__tip { position: absolute; z-index: 2; top: -8px; padding: 7px 10px; border-radius: 9px; background: var(--fg); color: var(--ink); font: 500 12px/1.2 var(--mono); white-space: nowrap; transform: translate(-50%, -100%); pointer-events: none; box-shadow: 0 8px 24px rgb(0 0 0 / .5); }
.bars { display: grid; gap: 14px; }
.bar { display: grid; gap: 7px; }
.bar__top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14.5px; }
.bar__top b { margin-left: auto; font: 600 15px/1 var(--sans); font-feature-settings: "tnum" on; }
.bar__track { height: 6px; border-radius: 4px; background: rgb(255 255 255 / .06); overflow: hidden; }
.bar__fill { height: 100%; border-radius: 4px; background: rgb(244 244 241 / .55); }
.checklist { display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 14.5px; }
.checklist li > span:last-child { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; }
.checklist .ck { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--volt-dim); color: var(--volt); }
.checklist .ck .i { width: 13px; height: 13px; stroke-width: 2.6; }
.checklist .ck--todo { background: none; box-shadow: inset 0 0 0 1.5px var(--line-2); color: var(--dim-2); }
.dl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.dl th, .dl td { padding: 6px 4px; text-align: left; border-bottom: 1px solid var(--line); }

/* ---------- reviews ---------- */
.rating { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 22px; }
.rating__v { font: 600 clamp(64px, 16vw, 96px)/.85 var(--sans); letter-spacing: -.06em; }
.rating .stars { color: var(--fg); }
.rating .star { width: 20px; height: 20px; }
.dist { display: grid; gap: 6px; min-width: 200px; flex: 1; }
.dist li { display: grid; grid-template-columns: 14px minmax(0, 1fr) 28px; gap: 10px; align-items: center; font: 500 12px/1 var(--mono); color: var(--dim); }
.dist li span:last-child { text-align: right; }
.review { display: grid; gap: 10px; padding: var(--pad); border-radius: var(--r); background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); }
.review__top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.review__top .stars { color: var(--fg); }
.review__who { font-weight: 600; }
.review__when { margin-left: auto; font-size: 12.5px; color: var(--dim-2); }
.review__reply { display: grid; gap: 4px; padding: 10px 0 0 14px; border-left: 2px solid var(--line-2); font-size: 14px; color: var(--dim); }
.review__reply b { font: 500 10.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim-2); }
.review__wait { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13.5px; color: var(--amber); }

/* ---------- website ---------- */
.stage { position: relative; display: grid; place-items: center; padding: 28px 16px 0; border-radius: var(--r); overflow: hidden; background: radial-gradient(70% 80% at 50% 0%, rgb(255 90 31 / .16), transparent 70%), linear-gradient(180deg, #0d1626, #09090b 85%); box-shadow: inset 0 0 0 1px var(--line); isolation: isolate; }
.stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgb(255 255 255 / .035) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .035) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(180deg, #000, transparent 80%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%); }
.browser { display: none; width: 100%; max-width: 860px; border-radius: 14px 14px 0 0; overflow: hidden; background: #1a1a1f; box-shadow: 0 0 0 1px var(--line-2), 0 40px 80px -30px rgb(0 0 0 / .9); }
.browser__bar { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 14px; }
.browser__bar i { display: flex; gap: 6px; }
.browser__bar i::before, .browser__bar i::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: rgb(255 255 255 / .16); box-shadow: 15px 0 0 rgb(255 255 255 / .16); }
.browser__bar i::after { display: none; }
.browser__url { flex: 1; max-width: 360px; margin: 0 auto; padding: 5px 12px; border-radius: 8px; background: rgb(255 255 255 / .06); font: 500 11.5px/1 var(--mono); color: var(--dim); text-align: center; }
.browser img { width: 100%; aspect-ratio: 1440 / 900; object-fit: cover; object-position: top; }
.phone { position: relative; width: min(250px, 66vw); margin-bottom: -60px; padding: 30px 9px 9px; border-radius: 38px; background: #151518; box-shadow: 0 0 0 1px var(--line-2), inset 0 0 0 1px rgb(255 255 255 / .06), 0 40px 80px -24px rgb(0 0 0 / .9); }
.phone img { width: 100%; aspect-ratio: 390 / 760; object-fit: cover; object-position: top; border-radius: 4px 4px 30px 30px; }
.phone::before { content: ""; position: absolute; z-index: 1; top: 9px; left: 50%; width: 64px; height: 16px; margin-left: -32px; border-radius: 10px; background: #000; }
@media (min-width: 900px) {
  .stage { padding: 40px 40px 0; min-height: 420px; }
  .browser { display: block; }
  .phone { position: absolute; right: 7%; bottom: -120px; width: 200px; margin: 0; }
}
.stage__live { position: absolute; z-index: 2; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 9px; background: rgb(9 9 11 / .7); box-shadow: inset 0 0 0 1px var(--line-2); font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(8px); }
.stage-wrap { display: grid; gap: 0; border-radius: var(--r); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.stage-wrap .stage { border-radius: 0; box-shadow: none; }
.stage__foot { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 16px var(--pad); background: var(--ink-2); border-top: 1px solid var(--line); }
.stage__foot .grow { margin-right: auto; display: grid; gap: 2px; min-width: 0; }
.stage__foot b { font-weight: 600; overflow-wrap: anywhere; }
.stage__foot small { color: var(--dim-2); font-size: 13px; }
.changes { display: grid; gap: 2px; }
.change { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 14px 0; }
.change + .change { border-top: 1px solid var(--line); }
.change__text { font-size: 15px; }
.change__meta { grid-column: 1; font-size: 12.5px; color: var(--dim-2); }
.change .st { grid-row: 1; grid-column: 2; }
.composer { display: grid; gap: 12px; }
.composer__row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }

/* ---------- social ---------- */
.meter { display: grid; gap: 10px; }
.meter__bar { display: grid; grid-template-columns: repeat(var(--of), 1fr); gap: 4px; }
.meter__bar i { height: 8px; border-radius: 3px; background: rgb(255 255 255 / .08); }
.meter__bar i.on { background: var(--fg); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.tile { display: grid; gap: 8px; align-content: start; min-width: 0; }
.tile__img { position: relative; border-radius: 14px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.tile__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.tile__badge { position: absolute; left: 8px; top: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 7px; border-radius: 7px; background: rgb(9 9 11 / .7); font: 500 11px/1 var(--mono); color: #fff; }
.tile__badge .i { width: 12px; height: 12px; }
.tile p { font-size: 13.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile small { font: 500 11px/1.3 var(--mono); color: var(--dim-2); letter-spacing: .04em; }

/* ---------- plan ---------- */
.plan { position: relative; display: grid; gap: 18px; padding: calc(var(--pad) + 4px); border-radius: var(--r); overflow: hidden; background: radial-gradient(80% 120% at 100% 0%, rgb(198 255 61 / .08), transparent 60%), var(--glass); box-shadow: inset 0 0 0 1px var(--line-2); }
.plan__name { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.plan__name b { font: 600 34px/1 var(--sans); letter-spacing: -.05em; }
.plan__price { font: 600 clamp(44px, 12vw, 64px)/.9 var(--sans); letter-spacing: -.06em; font-feature-settings: "tnum" on; }
.plan__price small { font-size: 16px; letter-spacing: -.01em; color: var(--dim); font-weight: 500; }
.plan__acts { display: flex; flex-wrap: wrap; gap: 8px; }
.banner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 14px 16px; border-radius: 14px; background: rgb(242 196 109 / .08); box-shadow: inset 0 0 0 1px rgb(242 196 109 / .25); color: #f6dca8; font-size: 14.5px; }
.banner > span { flex: 1 1 220px; }
.inc { display: grid; gap: 0; }
.inc li { display: flex; align-items: center; gap: 10px; padding: 11px 0; font-size: 14.5px; }
.inc li + li { border-top: 1px solid var(--line); }
.inc .i { width: 16px; height: 16px; color: var(--volt); }
.inc .tag { margin-left: auto; }
.tiers { display: grid; gap: 10px; }

/* ---------- settings ---------- */
.matrix { display: grid; }
.matrix__row { display: grid; gap: 10px; padding: 14px 0; }
.matrix__row + .matrix__row { border-top: 1px solid var(--line); }
.matrix__label b { display: block; font-weight: 560; font-size: 15px; }
.matrix__label small { color: var(--dim-2); font-size: 13px; }
.matrix__ch { display: flex; flex-wrap: wrap; gap: 6px; }
.pchip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 0; border-radius: 10px; background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--dim); font-size: 13.5px; }
.pchip .i { width: 14px; height: 14px; opacity: 0; transition: opacity .2s; }
.pchip[aria-pressed="true"] { background: rgb(198 255 61 / .1); color: var(--fg); box-shadow: inset 0 0 0 1px rgb(198 255 61 / .4); }
.pchip[aria-pressed="true"] .i { opacity: 1; color: var(--volt); }
@media (min-width: 900px) { .matrix__row { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } }
.member { display: flex; align-items: center; gap: 12px; padding: 12px 0; }
.member + .member { border-top: 1px solid var(--line); }
.member .av { border-radius: 50%; }
.member__t { display: grid; min-width: 0; flex: 1; }
.member__t b { font-weight: 600; }
.member__t small { color: var(--dim-2); font-size: 13px; overflow-wrap: anywhere; }
.role { font: 500 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); padding: 6px 8px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line-2); }

/* ---------- own your stuff ---------- */
.own-hero { position: relative; padding: 28px var(--pad); border-radius: var(--r); overflow: hidden; background: radial-gradient(60% 90% at 90% 10%, rgb(198 255 61 / .1), transparent 60%), var(--glass); box-shadow: inset 0 0 0 1px var(--line-2); isolation: isolate; }
.own-hero .h1 { max-width: 16ch; }
.own-hero__key { position: absolute; right: -30px; bottom: -40px; z-index: -1; width: 220px; height: 220px; color: rgb(198 255 61 / .14); }
.own-hero__key .i { width: 100%; height: 100%; stroke-width: .7; }
.owns { display: grid; gap: 10px; }
@media (min-width: 720px) { .owns { grid-template-columns: 1fr 1fr; } }
.own { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; padding: 16px; border-radius: var(--r-sm); background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); }
.own .av { grid-row: span 2; }
.own b { font-weight: 600; }
.own p { font-size: 13.5px; color: var(--dim); }
.exports { display: grid; gap: 10px; }
.export { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); }
.export__t { flex: 1 1 200px; display: grid; gap: 2px; }
.export__t b { font-weight: 600; }
.export__t small { color: var(--dim-2); font-size: 13px; }
.fmt { font: 500 10.5px/1 var(--mono); letter-spacing: .08em; color: var(--dim); padding: 6px 7px; border-radius: 6px; background: rgb(255 255 255 / .05); }

/* ---------- sign-in ---------- */
.signin { overflow-x: clip; min-height: 100dvh; display: grid; place-items: center; padding: 40px var(--pad); }
.signin__main { position: relative; display: grid; gap: 20px; justify-items: start; width: 100%; max-width: 620px; outline: none; isolation: isolate; }
.signin__glow { position: absolute; z-index: -1; inset: -40% -30% auto auto; width: 520px; height: 520px; max-width: 120vw; background: radial-gradient(closest-side, rgb(198 255 61 / .12), transparent); pointer-events: none; }
.signin__title { font: 600 clamp(36px, 9vw, 60px)/1 var(--sans); letter-spacing: -.055em; text-wrap: balance; }
.signin .lede { margin: 0; }
.signin__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.signin__points { display: grid; gap: 14px; margin-top: 12px; padding-top: 22px; border-top: 1px solid var(--line); width: 100%; }
.signin__points li { display: flex; gap: 12px; color: var(--dim); font-size: 14.5px; }
.signin__points b { color: var(--fg); font-weight: 600; }
.signin__points .i { width: 18px; height: 18px; color: var(--volt); margin-top: 1px; }

/* ---------- offline + motion ---------- */
.is-offline [data-write] { cursor: not-allowed; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reel img:not(:first-child), .reel__beat:not(:first-of-type) { display: none; }
  .reel img:first-child, .reel__beat:first-of-type { opacity: 1 !important; }
}
@media (forced-colors: active) { .switch[aria-checked="true"] { background: Highlight; } .btn--volt { border: 1px solid ButtonText; } }

/* ---------- round 2: B3 auth surfaces + polish ---------- */
.grid2 > .block + .block { margin-top: 0; }
.hide-sm { display: none; }
@media (min-width: 480px) { .hide-sm { display: inline; } }
.block__head--row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.ph__tags .fine { flex-basis: 100%; }

select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4f4f1' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
select.btn--sm { min-height: 44px; padding: 0 40px 0 14px; border-radius: 10px; font-size: 14px; font-weight: 560; background-color: rgb(255 255 255 / .05); }
select option { background: #16161a; color: var(--fg); }

/* act on behalf: always visible while Hypeman works in their HQ */
.acting-bar { position: sticky; top: 0; z-index: 80; grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 10px var(--pad); background: #1d1a10; border-bottom: 1px solid rgb(242 196 109 / .35); color: #fbe7bd; font-size: 13.5px; line-height: 1.4; }
.acting-bar .i { width: 18px; height: 18px; color: var(--amber); }
.acting-bar p { flex: 1 1 220px; }
.acting-bar b { color: #fff3d6; font-weight: 600; }
.acting-bar a { display: inline-flex; align-items: center; min-height: 36px; color: #fff3d6; text-underline-offset: 3px; white-space: nowrap; }

/* business switcher */
.side__biz--btn { width: 100%; border: 0; color: inherit; text-align: left; cursor: pointer; transition: background-color .2s; }
.side__biz--btn:hover { background: rgb(255 255 255 / .07); }
.side__chev { width: 16px; height: 16px; margin-left: auto; color: var(--dim-2); transform: rotate(90deg); }
button.top__biz { border: 0; background: none; padding: 0; color: inherit; text-align: left; cursor: pointer; }
.top__name b { display: inline-flex; align-items: center; gap: 4px; }
.top__chev { width: 14px; height: 14px; color: var(--dim-2); transform: rotate(90deg); }

/* passkey prompt (after an email-link sign-in) */
.passkey { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 14px; align-items: center; margin-bottom: 26px; background: radial-gradient(90% 140% at 0% 0%, rgb(198 255 61 / .07), transparent 60%), var(--glass); }
.passkey__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--volt-dim); color: var(--volt); box-shadow: inset 0 0 0 1px rgb(198 255 61 / .25); }
.passkey__acts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 720px) { .passkey { grid-template-columns: auto minmax(0, 1fr) auto; } .passkey__acts { grid-column: auto; } }

/* autopilot disclosure */
.autopilot-box summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; cursor: pointer; list-style: none; }
.autopilot-box summary::-webkit-details-marker { display: none; }
.autopilot-box__n { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--mono); color: var(--dim); white-space: nowrap; }
.autopilot-box__n::after { content: ""; width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg); margin: -4px 2px 0 4px; transition: transform .2s; }
.autopilot-box[open] .autopilot-box__n::after { transform: rotate(-135deg); margin-top: 4px; }
.autopilot-box[open] > p { margin-top: 10px; }
.autopilot-box .autopilot { margin-top: 6px; }
.autopilot-box > p .tag { margin-left: 4px; }

/* security */
.sec-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .sec-grid { grid-template-columns: 1fr 1.3fr; gap: 32px; } }
.devices { display: grid; }
.device { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.device + .device { border-top: 1px solid var(--line); }
.device .av { width: 36px; height: 36px; border-radius: 10px; }
.device__t { display: grid; min-width: 0; flex: 1; }
.device__t b { font-weight: 600; font-size: 14.5px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.device__t small { font-size: 12.5px; color: var(--dim-2); }
.pill-now { font: 500 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--volt); padding: 4px 6px; border-radius: 5px; background: var(--volt-dim); }
.sec-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.log { display: grid; margin-top: 10px; }
.log__row { display: grid; grid-template-columns: 132px minmax(0, 1fr) auto; gap: 4px 14px; align-items: baseline; padding: 10px 0; font-size: 14px; }
.log__row + .log__row { border-top: 1px solid var(--line); }
.log__row time { font: 500 11.5px/1.4 var(--mono); color: var(--dim-2); }
.log__row.is-admin span:not(.tag) { color: #fbe7bd; }
@media (max-width: 520px) { .log__row { grid-template-columns: minmax(0, 1fr) auto; } .log__row time { grid-column: 1 / -1; } }

/* sign in */
.signin__card { width: 100%; padding: calc(var(--pad) + 4px); border-radius: var(--r); background: var(--glass); box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 80px -40px rgb(0 0 0 / .9); }
.signin__form { display: grid; gap: 12px; }
.signin__form .btn { width: 100%; }
.signin__or { display: flex; align-items: center; gap: 12px; color: var(--dim-2); font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.signin__or::before, .signin__or::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.signin__msg { min-height: 1.4em; font-size: 14px; color: #ffcfb8; }
.signin__msg:empty { min-height: 0; }
.signin__sent { display: grid; gap: 10px; justify-items: start; }
.signin__sent-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--volt-dim); color: var(--volt); }
.signin__fine { margin-top: 4px; }
.sec-grid > .block + .block { margin-top: 0; }
.linkbtn { display: inline; min-height: 0; padding: 0; border: 0; background: none; color: var(--fg); font: inherit; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; cursor: pointer; }
.linkbtn:hover { text-decoration-color: currentColor; }

/* ---------- round 3 (critic r2) ---------- */
/* one system strip: act-on-behalf + sample notice, one line on a phone */
.sysbar { position: sticky; top: 0; z-index: 80; grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; height: 36px; padding: 0 var(--pad); background: #121214; border-bottom: 1px solid var(--line); font: 500 11px/1.2 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
.sysbar p { display: flex; align-items: center; gap: 8px; min-width: 0; }
.sysbar a { display: inline-flex; align-items: center; min-height: 32px; color: var(--fg); text-underline-offset: 3px; }
.sysbar b { color: var(--fg); font-weight: 500; }
.sysbar__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); flex: none; }
.sysbar__sample { margin-left: auto; flex: none; }
.sysbar__long { display: none; }
.sysbar__acting { flex: 1 1 auto; color: #fbe7bd; }
.sysbar__acting .i { width: 15px; height: 15px; color: var(--amber); flex: none; }
.sysbar__acting b { color: #fff3d6; }
.sysbar__txt { min-width: 0; overflow: hidden; text-overflow: ellipsis; text-transform: none; letter-spacing: 0; font: 500 12.5px/1.2 var(--sans); }
.sysbar__more { display: none; }
.sysbar.has-acting { background: #1d1a10; border-bottom-color: rgb(242 196 109 / .35); }
.sysbar.has-acting .sysbar__short, .sysbar.has-acting .sysbar__data { display: none; }
.sysbar.has-acting .sysbar__sample { padding-left: 12px; border-left: 1px solid rgb(242 196 109 / .25); }
@media (min-width: 640px) { .sysbar__long { display: inline; } .sysbar__short { display: none; } .sysbar.has-acting .sysbar__long { display: none; } }
@media (min-width: 1024px) { .sysbar__more { display: inline; } }
.has-sys .top { top: 36px; }

/* accent (not filled) compose buttons: volt lives in the icon */
.icon-btn--accent { background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px var(--line-2); }
.icon-btn--accent .i, .btn--accent .i { color: var(--volt); }

/* compact approval cards under 1024px: peek + expand */
.ap__peek { display: none; }
.ap__more { display: none; }
@media (max-width: 1023px) {
  .ap:not(.ap--done):not(.is-open) .ap__art { display: none; }
  .ap:not(.ap--done):not(.is-open) .ap__peek { display: flex; gap: 12px; align-items: center; }
  .ap__peek img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex: none; box-shadow: inset 0 0 0 1px var(--line); }
  .ap__peek p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14.5px; line-height: 1.45; color: var(--fg); }
  .ap__more { display: inline-flex; align-items: center; justify-self: start; min-height: 32px; margin-top: -4px; padding: 0; border: 0; background: none; color: var(--dim); font-size: 13.5px; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
  .ap__actions { display: flex; flex-wrap: nowrap; gap: 8px; }
  .ap__actions .btn { flex: 0 0 auto; padding: 0 14px; --h: 46px; }
  .ap__actions .ap__go { flex: 1 1 auto; grid-column: auto; --h: 46px; font-size: 15px; }
  .ap { gap: 10px; }
  .ap__title { font-size: 18px; }
}
.feed__note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 4px; font-size: 13px; color: var(--dim-2); }

/* ring: alive at rest */
.ring__seg { stroke: rgb(255 255 255 / .22); }
.ring__seg.is-next { stroke: rgb(198 255 61 / .5); animation: nextPulse 2.4s ease-in-out infinite; }
@keyframes nextPulse { 0%, 100% { stroke: rgb(198 255 61 / .35); } 50% { stroke: rgb(198 255 61 / .8); filter: drop-shadow(0 0 4px rgb(198 255 61 / .6)); } }

/* business list (single tap) */
.bizlist { display: grid; gap: 8px; }
.bizlist__b { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 10px 14px; border: 0; border-radius: 14px; background: rgb(255 255 255 / .03); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--fg); text-align: left; }
.bizlist__b:hover { background: rgb(255 255 255 / .07); }
.bizlist__b[aria-current="true"] { box-shadow: inset 0 0 0 1.5px var(--volt); }
.bizlist__b span { display: grid; flex: 1; min-width: 0; }
.bizlist__b b { font-weight: 600; }
.bizlist__b small { color: var(--dim-2); font-size: 13px; }
.bizlist__ck { width: 18px; height: 18px; color: var(--dim-2); }
.bizlist__b[aria-current="true"] .bizlist__ck { color: var(--volt); }

/* log: live row + wider time */
.log__row { grid-template-columns: 150px minmax(0, 1fr) auto; }
.log__row.is-live { margin: 0 -10px; padding: 12px 10px; border-radius: 12px; background: rgb(242 196 109 / .07); box-shadow: inset 0 0 0 1px rgb(242 196 109 / .25); outline: none; }
.log__row.is-live + .log__row { border-top: 0; }
.log__now { display: inline-flex; align-items: center; gap: 8px; font: 500 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--amber); }
.log__now .dot { background: var(--amber); box-shadow: 0 0 0 4px rgb(242 196 109 / .15); }
@media (max-width: 520px) { .log__row { grid-template-columns: minmax(0, 1fr) auto; } }

/* reports: equal-height cards, sources card closes with a summary */
.grid2--stretch { align-items: stretch; }
.grid2--stretch > .card { display: flex; flex-direction: column; gap: 14px; }
.bar__total { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--dim); }
.bar__total b { color: var(--fg); font-weight: 560; }
.bar__sum { font: 500 12px/1.4 var(--mono); color: var(--dim-2); }

.signin__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.ph__tags { align-items: center; }
.feed > .ap:nth-child(1 of .ap:not(.ap--done)) .ap__go .i--go { color: currentColor; }
.sysbar a .sysbar__data, .sysbar b .sysbar__data { margin-left: .6ch; }
.sysbar__loglong { display: none; }
@media (min-width: 640px) { .sysbar__loglong { display: inline; } }
.has-undo-toast .ap [data-act="undo"] { display: none; }
.grid2--stretch .bars { flex: 1; align-content: space-evenly; }
@media (max-width: 520px) { .log__row .log__now { grid-column: 1 / -1; } }
#log > summary { flex-wrap: wrap; row-gap: 2px; }
#log > summary .muted { flex-basis: 100%; padding-left: 21px; font-size: 13px; }

/* D3: the way back to the launch checklist (live mode only) */
.launch-card { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; min-height: 64px; text-decoration: none; }
.launch-card > span:nth-child(2) { display: grid; gap: 2px; flex: 1; min-width: 0; }
.launch-card b { font-weight: 600; }
.launch-card small { color: var(--dim); font-size: 13.5px; }
.launch-card .i { width: 18px; height: 18px; color: var(--dim-2); }
