/* CLUTCHwx Coach Portal. Tokens sampled from the Coach George portal mockup. */
@font-face { font-family: 'Geist'; src: url('../fonts/geist.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('../fonts/archivo.woff2') format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('../fonts/instrument-serif.woff2') format('woff2'); font-weight: 400; font-display: swap; }

:root {
  --g-950: #00251b;
  --g-900: #014131;
  --g-850: #024335;
  --g-800: #0a5442;
  --g-ink: #062a1d;
  --g-text: #17573f;
  --line-hd: #0b4f3d;
  --cream: #f2f2eb;
  --cream-2: #e9eae1;
  --paper: #fbfcf9;
  --nav-active: #e5ece5;
  --ink: #1d2523;
  --ink-2: #313936;
  --ink-3: #3f4744;
  --muted: #4b5350;
  --faint: #6f7773;
  --line: #dfe2dd;
  --line-2: #eceee9;
  --gold: #f2bf54;
  --gold-ink: #8d5507;
  --pill-bg: #fbe7b9;
  --pill-icon: #b26c09;
  --s-prod: #fbb90c;
  --s-ready: #55cd51;
  --s-changes: #e8693f;
  --s-approved: #1e8a63;
  --s-published: #0f4a3a;
  --s-gray: #bec4c5;
  --ok: #44c349;
  --danger: #c2412a;
  --hd: 77px;
  --sb: 245px;
  --logo-w: 269px;
  --r-lg: 12px;
  --r-md: 10px;
  --r-sm: 7px;
  --surface: #fff;
  --hover: #f3f5f1;
  --strong: #0b1411;
  --chip: #eef1ec;
  --field-line: #d3d9d3;
  /* brand slots: CLUTCHwx defaults, replaced per coach in coach view */
  --accent: var(--g-850);
  --accent-hover: var(--g-800);
  --on-accent: #fff;
  --accent-text: var(--g-850);
  --accent-bar: transparent;
  --accent2-soft: var(--pill-bg);
  --accent2-ink: var(--gold-ink);
  --accent2-icon: var(--pill-icon);
  --font-ui: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --head-font: 'Archivo', 'Geist', system-ui, sans-serif;
  --head-weight: 800;
  --head-stretch: 110%;
  --head-track: -0.018em;
  --shadow-pop: 0 18px 50px rgba(0, 32, 22, .22), 0 2px 8px rgba(0, 32, 22, .08);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font-ui); background: var(--cream); color: var(--ink); -webkit-font-smoothing: antialiased; font-size: 15px; line-height: 1.45; }
button, input, select, textarea { font-family: inherit; }
a { color: var(--accent-text); }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }
img { display: block; }
.ic { width: 22px; height: 22px; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
[hidden] { display: none !important; }

/* ---------- wordmark ---------- */
.wm { display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1; font-family: 'Archivo', 'Arial Black', sans-serif; font-stretch: 125%; color: #fff; text-decoration: none; }
.wm-main { display: flex; align-items: baseline; }
.wm-main b { font-weight: 900; font-size: 30px; letter-spacing: -.01em; }
.wm-main i { font-style: normal; font-weight: 800; font-size: 26px; color: var(--gold); margin-left: 1px; letter-spacing: -.01em; }
.wm-by { font-size: 7.5px; font-weight: 500; margin-top: 3px; margin-right: 1px; letter-spacing: .02em; }
.wm-by b { font-weight: 800; letter-spacing: .07em; }
.wm.lg .wm-main b { font-size: 52px; } .wm.lg .wm-main i { font-size: 45px; } .wm.lg .wm-by { font-size: 12px; margin-top: 6px; }

/* ---------- shell ---------- */
.app { min-height: 100vh; background: linear-gradient(to right, var(--paper) var(--sb), transparent var(--sb)); display: grid; grid-template-columns: var(--sb) minmax(0, 1fr); grid-template-rows: var(--hd) 1fr; }
.hd { grid-column: 1 / -1; position: sticky; top: 0; z-index: 40; display: flex; height: var(--hd); background: var(--g-900); color: #f3fefe; }
.hd-logo { width: var(--logo-w); flex: none; background: var(--g-950); display: flex; align-items: center; padding-left: 30px; border-right: 1px solid var(--line-hd); }
.hd-title { display: flex; align-items: center; padding-left: 30px; font-size: 20px; font-weight: 500; letter-spacing: .005em; white-space: nowrap; }
.hd-right { margin-left: auto; display: flex; align-items: center; gap: 20px; padding-right: 26px; }
.hd-view { font-size: 16px; font-weight: 500; }
.hd-div { width: 1px; height: 38px; background: rgba(255, 255, 255, .22); }
.hd-user { display: flex; align-items: center; gap: 13px; background: none; border: 0; color: inherit; cursor: pointer; padding: 4px; font-size: 16px; font-weight: 500; }
.hd-user .ic { width: 18px; height: 18px; }
.av { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: #2c5a4b; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; flex: none; overflow: hidden; }
.av img { width: 100%; height: 100%; object-fit: cover; }
.av.sm { width: 30px; height: 30px; font-size: 11.5px; } .av.xs { width: 24px; height: 24px; font-size: 10px; }
.av.xl { width: 112px; height: 112px; font-size: 34px; }
.hd-menu-btn { display: none; background: none; border: 0; color: #fff; padding: 0 14px; cursor: pointer; }
.seg { display: inline-flex; background: rgba(0, 0, 0, .22); border-radius: 999px; padding: 3px; }
.seg button { border: 0; background: none; color: #d8e8e1; font-weight: 600; font-size: 13.5px; padding: 7px 14px; border-radius: 999px; cursor: pointer; }
.seg button.on { background: #fff; color: var(--g-900); }
.hd-select { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: #fff; border-radius: 8px; height: 36px; padding: 0 10px; font-size: 13.5px; font-weight: 600; max-width: 200px; }
.hd-select option { color: var(--ink); }

.sb { background: var(--paper); padding: 30px 18px 24px; position: sticky; top: var(--hd); height: calc(100vh - var(--hd)); overflow: auto; display: flex; flex-direction: column; }
.sb h4 { font-size: 16.5px; font-weight: 700; color: var(--g-ink); margin: 6px 12px 14px; }
.nav { display: flex; flex-direction: column; gap: 3px; }
.nav a { display: flex; align-items: center; gap: 15px; height: 49px; padding: 0 15px; border-radius: 10px; color: var(--ink-2); font-size: 16px; font-weight: 500; text-decoration: none; position: relative; }
.nav a:hover { background: var(--hover); }
.nav a.on { background: var(--nav-active); color: var(--g-ink); font-weight: 700; }
.nav a.on::before { content: ''; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent-bar); }
.nav a .ic { color: var(--strong); }
.nav .badge { margin-left: auto; }
.sb-foot { margin-top: auto; padding: 16px 12px 0; }
.sb-help { display: flex; gap: 10px; align-items: center; width: 100%; background: none; border: 1px dashed #cfd6cf; border-radius: 10px; padding: 11px 12px; color: var(--ink-2); font-size: 13.5px; font-weight: 600; cursor: pointer; text-align: left; }
.sb-help:hover { background: var(--hover); }
.sb-help .ic { color: var(--g-850); }

.main { padding: 20px 28px 64px 32px; min-width: 0; }
.main-inner { max-width: 1400px; }
.badge { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--g-850); color: #fff; font-size: 12px; font-weight: 700; }
.badge.gold { background: var(--gold); color: #3a2604; }
.badge.rust { background: var(--s-changes); }

/* ---------- welcome header ---------- */
.welcome { display: flex; align-items: center; gap: 26px; margin: 0 0 14px; }
.welcome .av.xl { box-shadow: 0 0 0 1px rgba(0, 0, 0, .04); }
.eyebrow .wx { text-transform: none; }
.eyebrow { font-size: 11.5px; letter-spacing: .24em; font-weight: 500; color: var(--ink-2); text-transform: uppercase; }
.welcome h1, .page-h1 { font-family: var(--head-font); font-size: 38px; font-weight: var(--head-weight); color: var(--g-ink); margin: 7px 0 7px; letter-spacing: -.005em; line-height: 1.05; }
.welcome p, .page-sub { font-size: 16.5px; color: var(--ink-2); margin: 0; }
.welcome-actions { margin-left: auto; display: flex; gap: 10px; align-self: center; flex-wrap: wrap; justify-content: flex-end; }
.page-head { display: flex; align-items: flex-end; gap: 20px; margin: 8px 0 22px; flex-wrap: wrap; }
.page-head .grow { flex: 1; min-width: 260px; }
.page-h1 { font-size: 32px; }

/* ---------- feature row (My Content hero) ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) 364px; gap: 27px; align-items: stretch; }
.sidecard { background: var(--paper); border-radius: var(--r-lg); padding: 15px 26px 20px; display: flex; flex-direction: column; min-width: 0; }
.pill { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 12px 0 7px; border-radius: 999px; background: var(--accent2-soft); color: var(--accent2-ink); font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; align-self: flex-start; white-space: nowrap; }
.pill .ic { width: 17px; height: 17px; color: var(--accent2-icon); }
.sidecard h2 { font-family: var(--head-font); font-size: 26px; font-weight: var(--head-weight); color: var(--g-ink); margin: 12px 0 2px; line-height: 1.15; }
.sidecard .headline { font-size: 18px; font-weight: 700; color: var(--accent-text); margin: 6px 0 0; }
.sidecard .headline.changes_requested { color: #b84a24; }
.sidecard .headline.in_production { color: #8a6300; }
.meta { list-style: none; margin: 14px 0 14px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.meta li { display: flex; align-items: center; gap: 14px; font-size: 16.5px; font-weight: 500; color: var(--ink-2); min-height: 22px; }
.meta li .ic { color: var(--strong); width: 22px; height: 22px; }
.meta li .gap { width: 14px; display: inline-block; }
.okdot { width: 21px; height: 21px; border-radius: 50%; background: var(--ok); color: #fff; display: inline-flex; align-items: center; justify-content: center; margin-left: 4px; }
.okdot .ic { width: 14px !important; height: 14px !important; color: #fff !important; stroke-width: 3; }
.sidecard .actions { display: flex; flex-direction: column; gap: 11px; margin-top: auto; }
.sidecard .approve-link { margin-top: 2px; align-self: center; background: none; border: 0; color: var(--accent-text); font-weight: 600; font-size: 13.5px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 4px; }
.sidecard .approve-link .ic { width: 16px; height: 16px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 41px; padding: 0 18px; border-radius: var(--r-sm); font-weight: 600; font-size: 15.5px; border: 1px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, box-shadow .15s; color: inherit; background: none; }
.btn .ic { width: 20px; height: 20px; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline { background: var(--surface); border-color: var(--field-line); color: var(--strong); }
.btn-outline:hover { background: var(--hover); border-color: #cdd2cd; }
.btn-gold { background: var(--gold); color: #2a1b02; }
.btn-gold:hover { background: #f5c868; }
.btn-ghost { color: var(--accent-text); }
.btn-ghost:hover { background: rgba(2, 67, 53, .06); }
.btn-danger { background: var(--surface); border-color: #f0c9c0; color: var(--danger); }
.btn-danger:hover { background: #fff4f1; }
.btn-sm { height: 34px; font-size: 13.5px; padding: 0 12px; gap: 7px; }
.btn-sm .ic { width: 17px; height: 17px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.icon-btn { background: none; border: 0; padding: 6px; border-radius: 8px; cursor: pointer; color: var(--ink-3); display: inline-flex; }
.icon-btn:hover { background: rgba(0, 0, 0, .05); }
.icon-btn .ic { width: 19px; height: 19px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--accent-text); font-weight: 600; cursor: pointer; font-size: inherit; display: inline-flex; align-items: center; gap: 4px; }

/* ---------- player ---------- */
.player { position: relative; background: #0c1310; overflow: hidden; border-radius: var(--r-md); user-select: none; outline: none; }
.player.hero { min-height: clamp(330px, 26vw, 460px); height: 100%; }
.player.review { aspect-ratio: 16 / 9; max-height: 72vh; }
.player .bd { position: absolute; inset: -30px; background-size: cover; background-position: center; filter: blur(26px) brightness(.5); }
.player video, .player .still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.player.cover video, .player.cover .still { object-fit: cover; }
.player .empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #e9f2ee; text-align: center; padding: 24px; gap: 8px; font-size: 15px; font-weight: 500; }
.player .empty .ic { width: 34px; height: 34px; color: var(--gold); }
.player .bigplay { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 70px; height: 70px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .42); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; backdrop-filter: blur(4px); transition: transform .15s, background .15s; }
.player .bigplay:hover { transform: translate(-50%, -50%) scale(1.05); background: rgba(0, 0, 0, .55); }
.player .bigplay .ic { width: 30px; height: 30px; margin-left: 4px; }
.player.playing .bigplay { display: none; }
.pc { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 18px 10px; background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0)); color: #fff; transition: opacity .25s; }
.player.playing.idle .pc { opacity: 0; }
.scrub { position: relative; height: 18px; display: flex; align-items: center; cursor: pointer; touch-action: none; }
.scrub .track, .scrub .buf, .scrub .fill { position: absolute; left: 0; height: 4px; border-radius: 2px; top: 7px; }
.scrub .track { right: 0; background: rgba(255, 255, 255, .32); }
.scrub .buf { background: rgba(255, 255, 255, .45); width: 0; }
.scrub .fill { background: #fff; width: 0; }
.scrub .knob { position: absolute; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transform: translateX(-50%); box-shadow: 0 1px 4px rgba(0, 0, 0, .35); left: 0; }
.scrub .mk { position: absolute; top: -9px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); border: 2px solid #1b1405; transform: translateX(-50%); cursor: pointer; }
.scrub .mk.resolved { background: #9fb3aa; }
.pc-row { display: flex; align-items: center; gap: 12px; height: 32px; margin-top: 4px; }
.pc-btn { background: none; border: 0; color: #fff; padding: 4px; cursor: pointer; display: inline-flex; border-radius: 6px; position: relative; }
.pc-btn:hover { background: rgba(255, 255, 255, .12); }
.pc-btn .ic { width: 23px; height: 23px; }
.pc-time { font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: .01em; margin-left: 6px; }
.pc-sp { flex: 1; }
.speed-menu { position: absolute; bottom: 38px; right: 0; background: rgba(12, 19, 16, .95); border-radius: 8px; padding: 6px; display: flex; flex-direction: column; min-width: 92px; }
.speed-menu button { background: none; border: 0; color: #fff; text-align: left; padding: 6px 10px; border-radius: 6px; cursor: pointer; font-size: 13px; font-weight: 600; }
.speed-menu button.on, .speed-menu button:hover { background: rgba(255, 255, 255, .12); }

/* ---------- latest content ---------- */
.panel { background: var(--paper); border-radius: var(--r-lg); padding: 16px 22px 16px; }
.latest { margin-top: 22px; }
.panel-hd { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 12px; }
.panel-hd h3 { font-size: 18px; font-weight: 700; color: var(--strong); margin: 0; }
.panel-hd .more { color: var(--ink-2); font-size: 14.5px; font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; }
.panel-hd .more .ic { width: 17px; height: 17px; }
.thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 17px; }
.thumb { min-width: 0; cursor: pointer; text-decoration: none; color: inherit; display: block; }
.thumb .img { aspect-ratio: 2.33; border-radius: var(--r-sm); overflow: hidden; position: relative; background: linear-gradient(135deg, #0f4a3a, #1b6650); }
.thumb.tall .img { aspect-ratio: 16 / 10; }
.thumb .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.thumb:hover .img img { transform: scale(1.03); }
.thumb .img .ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, .7); }
.thumb .img .ph .ic { width: 30px; height: 30px; }
.dur { position: absolute; right: 7px; bottom: 7px; background: rgba(14, 18, 16, .8); color: #fff; font-size: 13px; font-weight: 700; padding: 3px 7px; border-radius: 6px; font-variant-numeric: tabular-nums; }
.thumb .row { display: flex; align-items: flex-start; gap: 4px; margin-top: 9px; }
.thumb .row > div { flex: 1; min-width: 0; }
.thumb .t { font-size: 14.5px; font-weight: 700; color: var(--strong); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thumb .icon-btn { margin: -2px -6px 0 0; }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink-3); font-weight: 500; white-space: nowrap; }
.sdot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; }
.s-in_production { background: var(--s-prod); } .s-ready_for_review { background: var(--s-ready); } .s-changes_requested { background: var(--s-changes); }
.s-approved { background: var(--s-approved); } .s-published { background: var(--s-published); } .s-new { background: var(--s-prod); } .s-received { background: var(--s-ready); } .s-used { background: var(--s-gray); }
.s-open { background: var(--s-changes); } .s-closed { background: var(--s-gray); }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px 18px; }
.foot-note { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12.5px; margin: 14px 0 0; }
.foot-note .ic { width: 16px; height: 16px; }

/* ---------- generic ---------- */
.card { background: var(--paper); border-radius: var(--r-lg); padding: 20px 22px; }
.card h3 { margin: 0 0 12px; font-size: 18px; font-weight: 700; color: var(--g-ink); }
.card .sub { color: var(--muted); font-size: 13.5px; margin: -6px 0 14px; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.cols { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 14px; margin-bottom: 18px; }
.kpi { background: var(--paper); border-radius: var(--r-lg); padding: 16px 18px; text-align: left; border: 0; cursor: pointer; font: inherit; color: inherit; display: flex; flex-direction: column; gap: 4px; position: relative; overflow: hidden; }
.kpi:hover { box-shadow: inset 0 0 0 1px var(--line); }
.kpi .n { font-size: 32px; font-weight: 700; color: var(--g-ink); line-height: 1.05; font-variant-numeric: tabular-nums; }
.kpi .l { font-size: 13.5px; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 7px; }
.kpi .bar { position: absolute; left: 0; top: 0; bottom: 0; width: 4px; }
.empty-state { text-align: center; color: var(--muted); padding: 34px 18px; font-size: 14.5px; }
.empty-state .ic { width: 36px; height: 36px; color: #b9c2bc; margin: 0 auto 8px; display: block; }
.empty-state b { color: var(--ink-2); display: block; font-size: 15.5px; margin-bottom: 4px; }
.list { display: flex; flex-direction: column; }
.li { display: flex; align-items: center; gap: 14px; padding: 12px 4px; border-top: 1px solid var(--line-2); text-decoration: none; color: inherit; }
.li:first-child { border-top: 0; }
.li.click { cursor: pointer; border-radius: 8px; }
.li.click:hover { background: var(--hover); }
.li .mini { width: 74px; aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; background: linear-gradient(135deg, #0f4a3a, #1b6650); flex: none; position: relative; }
.li .mini img { width: 100%; height: 100%; object-fit: cover; }
.li .grow { flex: 1; min-width: 0; }
.li .t { font-weight: 700; font-size: 14.5px; color: var(--strong); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.li .s { font-size: 13px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.li .end { margin-left: auto; display: flex; gap: 8px; align-items: center; flex: none; }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); background: var(--chip); padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.tag.gold { background: var(--pill-bg); color: var(--gold-ink); }
.tag.green { background: #e1f3e3; color: #1d6b3a; }
.tag.rust { background: #fde6dc; color: #a34420; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.chip-btn { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 7px 13px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
.chip-btn.on { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.chip-btn .n { font-size: 12px; opacity: .75; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.mono { font-variant-numeric: tabular-nums; }
hr.sep { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.toolbar .grow { flex: 1; }
.search { position: relative; }
.search .ic { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--faint); }
.search input { padding-left: 36px !important; width: 260px; }

/* ---------- tables ---------- */
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 12px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.tbl tr.click { cursor: pointer; }
.tbl tr.click:hover td { background: var(--hover); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .t { font-weight: 700; color: var(--strong); }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; }
.counts { display: flex; gap: 6px; flex-wrap: wrap; }
.count { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; color: var(--ink-2); background: var(--chip); border-radius: 999px; padding: 3px 8px; }

/* ---------- forms ---------- */
.field { display: block; margin-bottom: 14px; }
.field > span, .lbl { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.field small { display: block; color: var(--muted); font-size: 12px; margin-top: 5px; }
.inp, .field input:not([type=checkbox]):not([type=file]), .field select, .field textarea { width: 100%; height: 42px; border: 1px solid var(--field-line); border-radius: 8px; padding: 0 12px; font-size: 15px; font-weight: 500; background: var(--surface); color: var(--ink); outline: none; transition: border-color .15s, box-shadow .15s; }
.field textarea, textarea.inp { height: auto; min-height: 92px; padding: 10px 12px; resize: vertical; line-height: 1.45; }
.inp:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--g-850); box-shadow: 0 0 0 3px rgba(2, 67, 53, .12); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.toggle { position: relative; display: inline-block; width: 40px; height: 23px; flex: none; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle span { position: absolute; inset: 0; background: #cdd3cd; border-radius: 999px; transition: .2s; cursor: pointer; }
.toggle span::after { content: ''; position: absolute; left: 3px; top: 3px; width: 17px; height: 17px; background: #fff; border-radius: 50%; transition: .2s; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.toggle input:checked + span { background: var(--accent); }
.toggle input:checked + span::after { transform: translateX(17px); }
.form-err { color: var(--danger); font-size: 13.5px; font-weight: 600; margin: 4px 0 12px; }
.editrow { display: grid; gap: 8px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line-2); }
.editrow:first-of-type { border-top: 0; }
.editrow .inp { height: 38px; font-size: 14px; }

/* ---------- modal ---------- */
.scrim { position: fixed; inset: 0; background: rgba(0, 25, 18, .45); backdrop-filter: blur(2px); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 18px; animation: fade .15s; }
.modal { background: var(--paper); border-radius: 14px; width: min(560px, 100%); max-height: calc(100vh - 36px); overflow: auto; box-shadow: var(--shadow-pop); animation: pop .18s; }
.modal.wide { width: min(860px, 100%); }
.modal-hd { display: flex; align-items: center; gap: 12px; padding: 20px 22px 0; }
.modal-hd h3 { margin: 0; font-size: 20px; font-weight: 700; color: var(--g-ink); flex: 1; }
.modal-bd { padding: 16px 22px 8px; }
.modal-ft { display: flex; gap: 10px; justify-content: flex-end; padding: 8px 22px 20px; flex-wrap: wrap; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { transform: translateY(8px) scale(.985); opacity: 0; } }
.menu { position: fixed; z-index: 120; background: var(--surface); border-radius: 10px; box-shadow: var(--shadow-pop); padding: 6px; min-width: 200px; animation: fade .12s; }
.menu button, .menu a { display: flex; width: 100%; align-items: center; gap: 10px; background: none; border: 0; padding: 9px 10px; border-radius: 7px; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none; text-align: left; }
.menu button:hover, .menu a:hover { background: var(--hover); }
.menu .ic { width: 18px; height: 18px; color: var(--ink-3); }
.menu .hdr { padding: 8px 10px 10px; border-bottom: 1px solid var(--line-2); margin-bottom: 4px; }
.menu .hdr b { display: block; font-size: 14px; } .menu .hdr span { font-size: 12.5px; color: var(--muted); }
.menu .danger { color: var(--danger); }

.toasts { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { background: var(--g-950); color: #fff; padding: 11px 16px; border-radius: 10px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow-pop); animation: pop .2s; display: flex; gap: 10px; align-items: center; max-width: 90vw; }
.toast.err { background: #7a2414; }
.toast .ic { width: 18px; height: 18px; color: var(--gold); }

/* ---------- dropzone / uploads ---------- */
.drop { border: 2px dashed #c6cec6; border-radius: 12px; padding: 26px 18px; text-align: center; cursor: pointer; background: var(--surface); transition: .15s; }
.drop:hover, .drop.over { border-color: var(--g-850); background: var(--hover); }
.drop .ic { width: 34px; height: 34px; color: var(--g-850); margin: 0 auto 8px; display: block; }
.drop b { display: block; font-size: 15.5px; color: var(--ink); }
.drop span { font-size: 13px; color: var(--muted); }
.upl { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.upl-item { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.upl-item .top { display: flex; gap: 10px; align-items: center; }
.upl-item .name { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.upl-item .inp { height: 36px; font-size: 14px; margin-top: 8px; }
.prog { height: 6px; background: #e6ebe6; border-radius: 999px; overflow: hidden; margin-top: 9px; }
.prog > i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s; }
.prog.done > i { background: var(--ok); }
.prog.err > i { background: var(--danger); }

/* ---------- review screen ---------- */
.crumb { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin: 2px 0 16px; flex-wrap: wrap; }
.crumb a, .crumb button { color: var(--ink-2); font-weight: 600; text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.crumb .ic { width: 16px; height: 16px; }
.review { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 24px; align-items: start; }
.review-left { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.vbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.vtabs { display: inline-flex; background: #e6e9e1; border-radius: 9px; padding: 3px; gap: 2px; }
.vtabs button { white-space: nowrap; border: 0; background: none; padding: 6px 12px; border-radius: 7px; font-weight: 700; font-size: 13px; color: var(--ink-3); cursor: pointer; }
.vtabs button.on { background: var(--surface); color: var(--g-ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.composer { background: var(--paper); border-radius: var(--r-lg); padding: 14px; display: flex; gap: 12px; align-items: flex-start; }
.composer .grow { flex: 1; min-width: 0; }
.composer textarea { width: 100%; border: 1px solid var(--field-line); border-radius: 9px; padding: 10px 12px; font-size: 15px; min-height: 46px; max-height: 200px; resize: none; outline: none; background: var(--surface); line-height: 1.45; }
.composer textarea:focus { border-color: var(--g-850); box-shadow: 0 0 0 3px rgba(2, 67, 53, .12); }
.composer .bar { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.tc-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #e7cf98; background: var(--pill-bg); color: var(--gold-ink); border-radius: 999px; padding: 4px 10px; font-size: 12.5px; font-weight: 700; cursor: pointer; font-variant-numeric: tabular-nums; }
.tc-chip.off { background: var(--surface); border-color: var(--line); color: var(--muted); }
.tc-chip .ic { width: 15px; height: 15px; }
.notes-panel { background: var(--paper); border-radius: var(--r-lg); padding: 16px 18px; }
.notes-hd { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.notes-hd h3 { margin: 0; font-size: 16.5px; font-weight: 700; flex: 1; color: var(--g-ink); white-space: nowrap; }
.notes-hd .vtabs button { padding: 6px 9px; }
.note { padding: 12px 0; border-top: 1px solid var(--line-2); display: flex; gap: 11px; }
.note:first-of-type { border-top: 0; }
.note .body { flex: 1; min-width: 0; }
.note .who { display: flex; align-items: center; gap: 7px; font-size: 13px; flex-wrap: wrap; }
.note .who b { font-size: 13.5px; color: var(--strong); }
.note .who .when { color: var(--faint); font-size: 12px; }
.note .text { font-size: 14.5px; margin-top: 4px; white-space: pre-wrap; word-wrap: break-word; color: var(--ink); }
.note.resolved .text { color: var(--faint); text-decoration: line-through; text-decoration-color: rgba(0, 0, 0, .25); }
.note .acts { display: flex; gap: 12px; margin-top: 6px; }
.note .acts button { background: none; border: 0; padding: 0; font-size: 12.5px; font-weight: 600; color: var(--muted); cursor: pointer; }
.note .acts button:hover { color: var(--g-850); }
.note .replies { margin-top: 8px; border-left: 2px solid var(--line); padding-left: 12px; display: flex; flex-direction: column; gap: 8px; }
.note .replies .text { font-size: 14px; }
.role { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 6px; border-radius: 5px; background: #e4efe8; color: #1a6448; }
.role.coach { background: var(--pill-bg); color: var(--gold-ink); }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: flex; gap: 10px; padding: 7px 0; font-size: 13.5px; color: var(--ink-2); }
.timeline li .sdot { margin-top: 6px; }
.timeline li time { margin-left: auto; color: var(--faint); font-size: 12px; white-space: nowrap; padding-left: 10px; }
.status-steps { display: flex; gap: 4px; margin: 14px 0 4px; }
.status-steps i { flex: 1; height: 5px; border-radius: 3px; background: #e2e6e0; }
.status-steps i.on { background: var(--accent); }
.status-steps i.warn { background: var(--s-changes); }
.steps-lbl { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--faint); font-weight: 600; letter-spacing: .02em; }

/* ---------- team only ---------- */
:root { --slate: #4f6274; --slate-bg: #e8edf2; --slate-line: #c9d3dd; }
.btn-slate { background: var(--slate); color: #fff; }
.btn-slate:hover { background: #3f5162; }
.role.slate, .tag.slate { background: var(--slate-bg); color: var(--slate); display: inline-flex; align-items: center; gap: 4px; }
.role.slate .ic, .tag.slate .ic { width: 12px; height: 12px; }
.doc-ic.slate { background: var(--slate-bg); color: var(--slate); }
.banner.slate { background: var(--slate-bg); color: #33475a; }
.banner.slate .ic { color: var(--slate); }
.note.internal { background: var(--slate-bg); border-radius: 10px; padding: 12px 10px; margin: 6px -10px; border-top: 0; box-shadow: inset 3px 0 0 var(--slate); }
.scrub .mk.internal { background: #9fb4c8; border-color: #24313d; }
.composer.internal { background: #eef2f6; box-shadow: inset 0 0 0 1px var(--slate-line); }
.composer.internal textarea { border-color: var(--slate-line); }
.vis { display: inline-flex; background: #e3e8e2; border-radius: 9px; padding: 3px; gap: 2px; margin-bottom: 8px; }
.composer.internal .vis { background: #dde4ea; }
.vis button { border: 0; background: none; padding: 5px 10px; border-radius: 7px; font-weight: 700; font-size: 12.5px; color: var(--ink-3); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.vis button .ic { width: 15px; height: 15px; }
.vis button.on { background: var(--surface); color: var(--g-ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.vis button.on[data-vis=internal] { color: var(--slate); }
.vtabs button .ic { width: 13px; height: 13px; vertical-align: -2px; margin-right: 3px; }
.msg.internal-msg { align-self: stretch; background: #eef2f6; border: 1px solid var(--slate-line); }
.msg.internal-msg .by { color: var(--slate); display: flex; align-items: center; gap: 5px; }
.msg.internal-msg .by .ic { width: 12px; height: 12px; }
.internal-box { display: flex; gap: 8px; align-items: flex-end; background: var(--slate-bg); border-radius: 10px; padding: 10px; margin-top: 10px; }
.internal-box textarea { min-height: 44px; }
.msgs { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 18px; align-items: start; }
.msgs-list .li.on { background: #eef3ee; }
.thread { max-height: 56vh; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; padding: 4px 2px; }
.tmsg { display: flex; gap: 10px; padding: 8px 6px; border-radius: 10px; }
.tmsg:hover { background: var(--hover); }
.tmsg .who { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.tmsg .who b { font-size: 13.5px; } .tmsg .who .when { color: var(--faint); font-size: 12px; }
.tmsg .who .link-btn { margin-left: auto; color: var(--faint); font-size: 12px; opacity: 0; }
.tmsg:hover .who .link-btn { opacity: 1; }
.tmsg .text { font-size: 14.5px; white-space: pre-wrap; word-wrap: break-word; margin-top: 2px; }
.thread-ft { display: flex; gap: 10px; align-items: flex-end; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 8px; }
.thread-ft textarea { min-height: 46px; }

/* ---------- push ---------- */
.push-card { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid #e7d6a8; border-radius: 12px; padding: 12px 14px; margin: 0 0 16px; box-shadow: 0 1px 2px rgba(0, 0, 0, .03); flex-wrap: wrap; }
.push-card > .ic { width: 26px; height: 26px; color: var(--pill-icon); background: var(--pill-bg); border-radius: 9px; padding: 5px; box-sizing: content-box; }
.push-card .grow { flex: 1; min-width: 220px; }
.push-card b { display: block; font-size: 14.5px; color: var(--g-ink); }
.push-card span { font-size: 13px; color: var(--ink-3); }
.push-row { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px; flex-wrap: wrap; }
.push-row > .ic { color: var(--g-850); }
.push-row .grow { flex: 1; min-width: 180px; }
.push-row b { display: block; font-size: 14px; } .push-row span { font-size: 12.5px; color: var(--muted); }
.tag .ic { width: 12px; height: 12px; }
.matrix td:not(:first-child), .matrix th:not(:first-child) { width: 96px; }

/* ---------- board ---------- */
.board { display: grid; grid-template-columns: repeat(5, minmax(200px, 1fr)); gap: 14px; overflow-x: auto; padding-bottom: 8px; align-items: start; }
.col { background: var(--cream-2); border-radius: 12px; padding: 12px; min-height: 240px; transition: background .15s; }
.col.over { background: #dfe7dc; box-shadow: inset 0 0 0 2px var(--g-850); }
.col-hd { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; margin: 2px 4px 12px; color: var(--g-ink); }
.col-hd .n { margin-left: auto; font-size: 12.5px; color: var(--muted); font-weight: 700; }
.kcard { text-decoration: none; color: inherit; background: var(--paper); border-radius: 10px; padding: 9px; margin-bottom: 10px; cursor: grab; box-shadow: 0 1px 2px rgba(0, 30, 20, .06); transition: box-shadow .15s, transform .15s; display: block; }
.kcard:hover { box-shadow: 0 6px 18px rgba(0, 30, 20, .1); }
.kcard.dragging { opacity: .5; }
.kcard .img { aspect-ratio: 16 / 8; border-radius: 7px; overflow: hidden; background: linear-gradient(135deg, #0f4a3a, #1b6650); position: relative; }
.kcard .img img { width: 100%; height: 100%; object-fit: cover; }
.kcard .t { font-weight: 700; font-size: 14px; margin: 8px 2px 2px; color: var(--strong); }
.kcard .m { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); margin: 0 2px; flex-wrap: wrap; }

/* ---------- calendar ---------- */
.cal-hd { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.cal-hd h3 { margin: 0 8px 0 0; font-size: 20px; font-weight: 700; color: var(--g-ink); min-width: 170px; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.cal .dow { background: var(--paper); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 9px 10px; }
.cal .cell { background: var(--paper); min-height: 112px; padding: 7px 7px 9px; min-width: 0; }
.cal .cell.out { background: var(--cream-2); }
.cal .cell.out .num { color: #b5bbb6; }
.cal .num { font-size: 13px; font-weight: 700; color: var(--ink-3); display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; border-radius: 50%; }
.cal .cell.today .num { background: var(--g-850); color: #fff; }
.cal .ev { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 4px 7px; border-radius: 6px; margin-top: 4px; background: #eef2ec; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #11201a; border: 0; width: 100%; text-align: left; }
.cal .ev:hover { background: #e2e9e0; }
.cal .ev .sdot { width: 7px; height: 7px; }
.cal .ev span { overflow: hidden; text-overflow: ellipsis; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 12px; }

/* ---------- resources / docs ---------- */
.doc-row { display: flex; align-items: center; gap: 14px; padding: 14px 4px; border-top: 1px solid var(--line-2); }
.doc-row:first-child { border-top: 0; }
.doc-ic { width: 42px; height: 42px; border-radius: 10px; background: #e8efe9; color: var(--g-850); display: flex; align-items: center; justify-content: center; flex: none; }
.doc-ic.gold { background: var(--pill-bg); color: var(--pill-icon); }
.doc-row .grow { flex: 1; min-width: 0; }
.doc-row .t { font-weight: 700; font-size: 15px; }
.doc-row .s { font-size: 13px; color: var(--muted); margin-top: 2px; }
.soon { font-size: 12.5px; color: var(--faint); font-weight: 600; white-space: nowrap; }
.checklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
.checklist li { display: flex; gap: 12px; padding: 12px 2px; border-top: 1px solid var(--line-2); font-size: 15px; }
.checklist li:first-child { border-top: 0; }
.checklist .okdot { margin: 1px 0 0; flex: none; }
.checklist b { display: block; color: var(--strong); }
.checklist span { color: var(--muted); font-size: 13.5px; }
.hero-band { background: var(--g-900); color: #eaf4ef; border-radius: var(--r-lg); padding: 22px 24px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; position: relative; overflow: hidden; }
.hero-band h3 { color: #fff; margin: 0 0 4px; font-size: 20px; }
.hero-band p { margin: 0; color: #cfe3da; font-size: 14.5px; max-width: 560px; }
.hero-band .grow { flex: 1; min-width: 240px; }
.hero-band::after { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 28px solid rgba(242, 191, 84, .1); }

/* ---------- auth ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.auth-side .wm { align-self: flex-start; }
.auth-side { background: var(--g-950); color: #e3efe9; padding: 48px 56px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.auth-side::before { content: ''; position: absolute; right: -180px; bottom: -180px; width: 520px; height: 520px; border-radius: 50%; border: 70px solid rgba(242, 191, 84, .07); }
.auth-side::after { content: ''; position: absolute; right: 60px; bottom: 120px; width: 160px; height: 160px; border-radius: 50%; border: 22px solid rgba(255, 255, 255, .04); }
.auth-side .tag-line { margin-top: auto; font-family: 'Archivo', sans-serif; font-stretch: 112%; font-weight: 800; font-size: 46px; line-height: 1.02; color: #fff; letter-spacing: -.01em; position: relative; z-index: 1; }
.auth-side .tag-line em { font-style: normal; color: #f6c35b;
  /* the same metallic gold as the wx in the wordmark, sampled from the artwork */
  background: linear-gradient(180deg, #fac957 0%, #f8d277 38%, #f6c35b 62%, #dca233 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.auth-side p { color: #a9c6b9; font-size: 15px; max-width: 420px; position: relative; z-index: 1; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.auth-card { width: min(400px, 100%); }
.auth-card h1 { font-size: 30px; font-weight: 700; color: var(--g-ink); margin: 10px 0 6px; }
.auth-card .lead { color: var(--ink-2); margin: 0 0 24px; }
.auth-card .btn-primary { width: 100%; height: 46px; margin-top: 6px; }
.auth-foot { margin-top: 18px; font-size: 13.5px; color: var(--muted); text-align: center; }
.demo-box { margin-top: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.demo-box .lbl { margin-bottom: 10px; }
.demo-box .btn { width: 100%; justify-content: flex-start; margin-top: 8px; }

/* ---------- support chat ---------- */
.chat-fab { position: fixed; right: 24px; bottom: 24px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: var(--g-850); color: #fff; border: 0; box-shadow: 0 10px 28px rgba(1, 65, 49, .38); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform .15s, background .15s; }
.chat-fab:hover { transform: translateY(-2px); background: var(--g-800); }
.chat-fab .ic { width: 27px; height: 27px; }
.chat-fab .dot { position: absolute; top: 4px; right: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); border: 2px solid var(--g-850); }
.chat { position: fixed; right: 24px; bottom: 96px; z-index: 61; width: 392px; height: min(640px, calc(100vh - 130px)); background: var(--paper); border-radius: 18px; box-shadow: var(--shadow-pop); display: flex; flex-direction: column; overflow: hidden; animation: pop .2s; }
.chat-hd { background: var(--g-900); color: #fff; padding: 16px 16px 0; }
.chat-hd .top { display: flex; align-items: center; gap: 12px; }
.chat-hd .mark { width: 40px; height: 40px; border-radius: 12px; background: var(--g-950); display: flex; align-items: center; justify-content: center; font-family: 'Archivo', sans-serif; font-stretch: 125%; font-weight: 900; font-size: 15px; }
.chat-hd .mark i { font-style: normal; color: var(--gold); font-size: 13px; }
.chat-hd b { display: block; font-size: 15.5px; }
.chat-hd .sub { font-size: 12.5px; color: #b6d3c6; display: flex; align-items: center; gap: 6px; }
.chat-hd .sub i { width: 7px; height: 7px; border-radius: 50%; background: var(--s-ready); display: inline-block; }
.chat-hd .icon-btn { color: #fff; margin-left: auto; }
.chat-hd .icon-btn:hover { background: rgba(255, 255, 255, .12); }
.chat-tabs { display: flex; gap: 4px; margin-top: 14px; }
.chat-tabs button { background: none; border: 0; color: #b6d3c6; font-weight: 700; font-size: 13.5px; padding: 9px 12px 11px; cursor: pointer; border-bottom: 3px solid transparent; display: inline-flex; gap: 6px; align-items: center; }
.chat-tabs button.on { color: #fff; border-bottom-color: var(--gold); }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; background: var(--cream); }
.msg { max-width: 86%; padding: 10px 13px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; }
.msg.user { align-self: flex-end; background: var(--g-850); color: #fff; border-bottom-right-radius: 4px; }
.msg.assistant { align-self: flex-start; background: var(--surface); color: var(--ink); border-bottom-left-radius: 4px; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.msg.team { align-self: flex-start; background: #fff7e3; border: 1px solid #f1dca8; }
.msg .by { display: block; font-size: 11.5px; font-weight: 700; color: var(--gold-ink); margin-bottom: 3px; letter-spacing: .02em; }
.typing { display: inline-flex; gap: 4px; padding: 4px 2px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #9aa8a0; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.suggest { display: flex; flex-direction: column; gap: 8px; }
.suggest button { text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.suggest button:hover { border-color: var(--g-850); color: var(--g-ink); }
.handoff { align-self: stretch; background: var(--surface); border: 1px solid #f1dca8; border-radius: 12px; padding: 12px; font-size: 13.5px; }
.handoff p { margin: 0 0 10px; color: var(--ink-2); }
.chat-ft { border-top: 1px solid var(--line); padding: 10px 12px 12px; background: var(--paper); }
.chat-ft form { display: flex; gap: 8px; align-items: flex-end; }
.chat-ft textarea { flex: 1; border: 1px solid var(--field-line); border-radius: 12px; padding: 10px 12px; font-size: 14.5px; resize: none; outline: none; max-height: 120px; min-height: 42px; line-height: 1.4; background: var(--surface); }
.chat-ft textarea:focus { border-color: var(--g-850); }
.chat-ft .send { width: 42px; height: 42px; border-radius: 12px; border: 0; background: var(--g-850); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; flex: none; }
.chat-ft .send[disabled] { opacity: .45; }
.chat-ft .send .ic { width: 19px; height: 19px; }
.chat-ft .fine { display: flex; justify-content: space-between; gap: 10px; font-size: 11.5px; color: var(--faint); margin-top: 7px; }
.chat-ft .fine button { background: none; border: 0; color: var(--g-850); font-weight: 700; font-size: 11.5px; cursor: pointer; padding: 0; }
.ticket { background: var(--surface); border-radius: 12px; padding: 12px; font-size: 14px; }
.ticket .hd2 { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); margin-bottom: 6px; }

.banner { background: var(--pill-bg); color: #5d3a05; border-radius: 10px; padding: 10px 14px; font-size: 13.5px; font-weight: 600; display: flex; gap: 10px; align-items: center; margin-bottom: 16px; }
.banner .ic { width: 18px; height: 18px; color: var(--pill-icon); }
.banner.green { background: #e1f0e6; color: #164d36; }
.banner.green .ic { color: var(--g-850); }
.skel { background: linear-gradient(90deg, #e9ebe4 25%, #f3f4ef 50%, #e9ebe4 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: 10px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.iframe-mail { width: 100%; height: 520px; border: 1px solid var(--line); border-radius: 10px; background: #f2f2eb; }
.matrix td:not(:first-child), .matrix th:not(:first-child) { text-align: center; width: 90px; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .thumbs > :nth-child(5) { display: none; }
  .review { grid-template-columns: minmax(0, 1fr) 340px; }
  .cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 960px) {
  :root { --hd: 64px; }
  .app { grid-template-columns: minmax(0, 1fr); background: none; }
  .wm.lg .wm-main b { font-size: 34px; } .wm.lg .wm-main i { font-size: 29px; } .wm.lg .wm-by { font-size: 8.5px; }
  .wm-img.lg img { height: 46px; }
  .hide-sm { display: none; }
  .seg button { padding: 6px 11px; font-size: 13px; }
  .hd-select { max-width: 120px; }
  .hd-logo { width: auto; padding: 0 16px 0 4px; border-right: 0; background: transparent; }
  .hd-menu-btn { display: inline-flex; align-items: center; }
  .wm-main b { font-size: 22px; } .wm-main i { font-size: 19px; } .wm-by { font-size: 6px; }
  .wm-img img { height: 30px; }
  .hd-menu-btn { padding: 0 8px 0 10px; }
  .hd-logo { padding-left: 2px; }
  .hd-title, .hd-view, .hd-div, .hd-user .nm { display: none; }
  .hd-right { gap: 10px; padding-right: 12px; }
  .av { width: 38px; height: 38px; }
  .sb { position: fixed; left: 0; top: var(--hd); bottom: 0; height: auto; width: 270px; z-index: 50; transform: translateX(-100%); transition: transform .2s; box-shadow: var(--shadow-pop); }
  .sb.open { transform: none; }
  .sb-scrim { position: fixed; inset: var(--hd) 0 0 0; background: rgba(0, 20, 14, .35); z-index: 45; }
  .main { padding: 16px 14px 96px; }
  .welcome { gap: 14px; flex-wrap: wrap; }
  .welcome .av.xl { width: 72px; height: 72px; }
  .welcome h1, .page-h1 { font-size: 27px; }
  .welcome p, .page-sub { font-size: 14.5px; }
  .welcome-actions { margin-left: 0; width: 100%; justify-content: flex-start; }
  .feature { grid-template-columns: 1fr; }
  .review { display: flex; flex-direction: column; gap: 14px; }
  .review-left, .review > .stack { display: contents; }
  .review #rp { order: 1; } .review [data-vbar] { order: 2; } .review [data-side] { order: 3; }
  .review [data-notes] { order: 4; } .review [data-composer] { order: 5; } .review [data-activity] { order: 6; }
  .review [data-rvmode] { order: 0; } .review #pv { order: 1; }
  .rv-where { display: none !important; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat .n { font-size: 24px; }
  .perf-head { display: none; }
  .perf-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .onb-card { border-radius: 0; min-height: 100%; }
  .onb { padding: 0; align-items: stretch; }
  .onb-channels { grid-template-columns: minmax(0, 1fr); }
  .lockin-card h2 { font-size: 40px; }
  .chat-fab { width: 52px; height: 52px; }
  .player.hero { aspect-ratio: 16 / 9; min-height: 0; }
  .thumbs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 4px; }
  .thumbs > * { flex: 0 0 62%; scroll-snap-align: start; }
  .thumbs > :nth-child(5) { display: block; }
  .cols-2, .row3, .msgs { grid-template-columns: minmax(0, 1fr); }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kpi { padding: 12px 14px; } .kpi .n { font-size: 26px; }
  .hd-user .ic { display: none; }
  .hd-logo { padding-right: 8px; }
  .row2 { grid-template-columns: minmax(0, 1fr); }
  .cal .cell { min-height: 70px; padding: 4px; }
  .cal .ev span { display: none; }
  .cal .ev { padding: 4px; justify-content: center; }
  .auth { grid-template-columns: 1fr; }
  .auth-side { padding: 28px 24px; min-height: 0; }
  .auth-side .tag-line { font-size: 30px; margin-top: 28px; }
  .chat { right: 8px; left: 8px; width: auto; bottom: 84px; height: calc(100vh - 150px); }
  .chat-fab { right: 16px; bottom: 16px; }
  .search input { width: 100%; }
  .search { flex: 1; }
}


/* ================= bespoke pass ================= */
.clamp1 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }

/* ---------- house typeface ---------- */
[data-type=house] { --head-font: 'Instrument Serif', Georgia, serif; --head-weight: 400; --head-stretch: 100%; --head-track: 0; }
[data-type=house] .welcome h1, [data-type=house] .page-h1 { letter-spacing: 0; font-size: 44px; line-height: 1; }
[data-type=house] .sidecard h2 { font-size: 30px; letter-spacing: 0; }
[data-type=house] .auth-card h1, [data-type=house] .onb h2, [data-type=house] .lockin-card h2 { font-family: var(--head-font); font-weight: 400; letter-spacing: 0; }

/* ---------- uploaded wordmark ---------- */
.wm-img { display: inline-flex; align-items: center; }
.wm-img img { display: block; height: 38px; width: auto; max-width: 240px; object-fit: contain; }
.wm-img.lg img { height: 68px; max-width: 400px; }

/* ---------- court line art ---------- */
.court { position: absolute; pointer-events: none; color: var(--gold); }
.band-court { right: -6%; top: -30%; width: 62%; height: 160%; opacity: .2; transform: rotate(-8deg); }
.hero-band > :not(.court) { position: relative; z-index: 1; }
.hero-band:has(.court)::after { display: none; }
.auth-court { left: -10%; bottom: -12%; width: 120%; height: 70%; opacity: .1; transform: perspective(600px) rotateX(48deg); transform-origin: bottom; }

/* ---------- language toggle ---------- */
.lang-tg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; background: var(--paper); }
.lang-tg button { border: 0; background: none; font: inherit; font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--muted); padding: 5px 10px; border-radius: 999px; cursor: pointer; }
.lang-tg button.on { background: var(--accent); color: var(--on-accent); }
.auth-main { position: relative; }
.auth-main > .lang-tg { position: absolute; top: 20px; right: 22px; }

/* ---------- platform tags and chips ---------- */
.ptags { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 6px; }
.ptag { font-size: 10.5px; font-weight: 700; letter-spacing: .03em; color: var(--ink-3); background: var(--chip); border-radius: 5px; padding: 2px 6px; white-space: nowrap; }
.ptag.more { color: var(--muted); }
.pchips { display: flex; flex-wrap: wrap; gap: 6px; }
.pchip input { position: absolute; opacity: 0; pointer-events: none; }
.pchip span { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--field-line); background: var(--surface); font-size: 13px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.pchip input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.pchip input:focus-visible + span { outline: 2px solid var(--accent-text); outline-offset: 2px; }

/* ---------- review mode toggle, caption ---------- */
.rv-mode { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.seg2 { display: inline-flex; background: var(--paper); border-radius: 999px; padding: 3px; box-shadow: inset 0 0 0 1px var(--line); }
.seg2 button { display: inline-flex; align-items: center; gap: 7px; border: 0; background: none; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--ink-2); padding: 7px 14px; border-radius: 999px; cursor: pointer; }
.seg2 button .ic { width: 17px; height: 17px; }
.seg2 button.on { background: var(--accent); color: var(--on-accent); }
.rv-where { display: inline-flex; align-items: center; gap: 6px; }
.rv-where .ic { width: 16px; height: 16px; }
details.cap { background: var(--cream-2); border-radius: 9px; padding: 10px 12px; margin: 0 0 14px; }
details.cap summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--ink-2); display: flex; align-items: center; gap: 7px; list-style: none; }
details.cap summary::-webkit-details-marker { display: none; }
details.cap summary .ic { width: 16px; height: 16px; }
details.cap p { margin: 8px 0 0; font-size: 13.5px; white-space: pre-wrap; color: var(--ink-2); }

/* ---------- carousel review ---------- */
.player.slides { aspect-ratio: auto; display: flex; flex-direction: column; background: #0c1310; padding-bottom: 10px; }
.sl-stage { position: relative; aspect-ratio: 4 / 5; max-height: 62vh; margin: 0 auto; width: 100%; }
.sl-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .2s; }
.sl-stage img.on { opacity: 1; }
.sl-strip { display: flex; gap: 8px; justify-content: center; padding: 10px 12px 0; overflow-x: auto; }
.sl-strip button { position: relative; flex: none; width: 54px; height: 66px; border-radius: 6px; overflow: hidden; border: 2px solid transparent; padding: 0; background: #1c2723; cursor: pointer; opacity: .6; }
.sl-strip button.on { border-color: var(--gold); opacity: 1; }
.sl-strip img { width: 100%; height: 100%; object-fit: cover; }
.sl-strip i { position: absolute; right: 3px; top: 3px; min-width: 16px; height: 16px; border-radius: 8px; background: var(--gold); color: #2a1b02; font: 700 10px/16px var(--font-ui); font-style: normal; }

/* ---------- platform previews ---------- */
.pv { background: var(--paper); border-radius: var(--r-lg); padding: 14px; }
.pv-tabs { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.pv-tabs button { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px 0 6px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font: inherit; font-size: 13px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.pv-tabs button.on { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.pv-k { font-size: 9.5px; font-weight: 800; letter-spacing: .04em; background: var(--chip); color: var(--ink-3); border-radius: 999px; padding: 4px 6px; }
.pv-tabs button.on .pv-k { background: rgba(255, 255, 255, .2); color: inherit; }
.pv-safe-tg { margin-left: auto; font-size: 13px; }
.pv-stage { display: flex; justify-content: center; padding: 18px 8px 8px; background: radial-gradient(circle at 50% 0, var(--cream-2), transparent 70%); border-radius: 10px; }
.pv-note { margin: 12px 2px 0; font-size: 12.5px; color: var(--muted); text-align: center; }
.pv-av { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; background: var(--g-800); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex: none; border: 1.5px solid rgba(255, 255, 255, .9); }
.pv-av.sm { width: 28px; height: 28px; font-size: 10px; }
.pv-av img { width: 100%; height: 100%; object-fit: cover; background: #fff; }
.pv-media { position: relative; background: #0b100e; overflow: hidden; width: 100%; }
.pv-media img, .pv-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pv-media.fit-contain img, .pv-media.fit-contain video { object-fit: contain; }
.pv-media.pv-none { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #9fb3aa; font-size: 13px; aspect-ratio: 4 / 5; }
.pv-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .45); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; backdrop-filter: blur(4px); z-index: 2; }
.pv-play .ic { width: 24px; height: 24px; margin-left: 3px; }
.pv-media.playing .pv-play { opacity: 0; }
.pv-car img { opacity: 0; transition: opacity .2s; }
.pv-car img.on { opacity: 1; }
.pv-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .88); color: #111; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 3; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); }
.pv-arrow[disabled] { opacity: 0; pointer-events: none; }
.pv-arrow .ic { width: 18px; height: 18px; }
.pv-arrow.l { left: 10px; } .pv-arrow.r { right: 10px; }
.pv-count { position: absolute; right: 10px; top: 10px; background: rgba(0, 0, 0, .6); color: #fff; font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 3px 8px; z-index: 3; }
.pv-dots { position: absolute; left: 0; right: 0; bottom: -18px; display: flex; gap: 4px; justify-content: center; }
.pv-dots i { width: 6px; height: 6px; border-radius: 50%; background: #c8cfca; }
.pv-dots i.on { background: var(--accent); }
.pv-warn { display: flex; gap: 7px; align-items: flex-start; font-size: 12px; color: var(--ink-2); background: var(--accent2-soft); border-radius: 8px; padding: 8px 10px; margin-top: 10px; max-width: 320px; }
.pv-warn .ic { width: 16px; height: 16px; flex: none; color: var(--accent2-icon); }
.pv-more { color: rgba(255, 255, 255, .7); font-weight: 600; }
/* phone frames */
.pv-phone { width: min(300px, 100%); }
.pv-screen { position: relative; aspect-ratio: 9 / 19.5; border-radius: 34px; overflow: hidden; background: #000; border: 9px solid #101513; box-shadow: 0 18px 44px rgba(0, 25, 18, .28), inset 0 0 0 1px #2a302d; color: #fff; }
.pv-screen > .pv-media { position: absolute; inset: 0; height: 100%; }
.pv-screen::before { content: ''; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 76px; height: 20px; background: #000; border-radius: 999px; z-index: 5; }
.pv-top { position: absolute; top: 36px; left: 0; right: 0; text-align: center; font-size: 13px; font-weight: 700; text-shadow: 0 1px 3px rgba(0, 0, 0, .5); z-index: 4; }
.pv-rail { position: absolute; right: 8px; bottom: 96px; display: flex; flex-direction: column; align-items: center; gap: 14px; z-index: 4; }
.pv-rail > span { display: flex; flex-direction: column; align-items: center; gap: 2px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .5)); }
.pv-rail .ic { width: 26px; height: 26px; stroke-width: 2; }
.pv-rail small { font-size: 10.5px; font-weight: 700; }
.pv-cap { position: absolute; left: 0; right: 52px; bottom: 0; padding: 40px 12px 16px; background: linear-gradient(to top, rgba(0, 0, 0, .7), transparent); z-index: 4; font-size: 12.5px; line-height: 1.35; }
.pv-cap p { margin: 6px 0 0; }
.pv-who { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.pv-follow, .pv-sub { border: 1px solid rgba(255, 255, 255, .8); border-radius: 7px; padding: 2px 8px; font-size: 11.5px; font-weight: 700; }
.pv-sub { background: #fff; color: #000; border-color: #fff; border-radius: 999px; }
.pv-sound { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 11.5px; }
.pv-sound .ic { width: 14px; height: 14px; }
.pv-story-bar { position: absolute; top: 34px; left: 10px; right: 10px; display: flex; gap: 3px; z-index: 4; }
.pv-story-bar i { flex: 1; height: 2.5px; border-radius: 2px; background: rgba(255, 255, 255, .4); }
.pv-story-bar i.on { background: #fff; }
.pv-story-who { position: absolute; top: 46px; left: 12px; display: flex; align-items: center; gap: 8px; font-size: 12.5px; z-index: 4; text-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
.pv-story-who span { opacity: .7; }
.pv-story-reply { position: absolute; left: 12px; right: 12px; bottom: 16px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 999px; padding: 9px 14px; font-size: 12.5px; z-index: 4; }
.pv-safe { position: absolute; z-index: 6; background: repeating-linear-gradient(135deg, rgba(232, 105, 63, .32) 0 6px, rgba(232, 105, 63, .12) 6px 12px); outline: 1px dashed rgba(255, 180, 150, .9); }
.pv-safe.top { left: 0; right: 0; top: 0; height: 14%; }
.pv-safe.bottom { left: 0; right: 0; bottom: 0; height: 22%; }
.pv-safe.right { right: 0; top: 30%; bottom: 22%; width: 16%; }
/* feed, Facebook, LinkedIn */
.pv-post { width: min(380px, 100%); background: #fff; color: #111; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 25, 18, .16); font-size: 13px; padding-bottom: 22px; position: relative; }
.pv-post-hd { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.pv-post-hd .pv-av { border-color: #e9e9e9; }
.pv-post-hd > div { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.pv-post-hd span { color: #767676; font-size: 11.5px; }
.pv-post-hd .ic { width: 18px; height: 18px; color: #555; }
.pv-post .pv-media { margin-bottom: 0; }
.pv-post .pv-dots { bottom: -14px; }
.pv-post .pv-more, .pv-watch .pv-more, .pv-mail .pv-more { color: #767676; }
.pv-post-cap { margin: 0 12px 10px; line-height: 1.4; }
.pv-post-acts { display: flex; gap: 14px; padding: 22px 12px 6px; }
.pv-post-acts .ic { width: 23px; height: 23px; stroke-width: 1.9; }
.pv-post-body { padding: 0 12px; line-height: 1.4; }
.pv-post-body p { margin: 4px 0; }
.pv-time { color: #8e8e8e; font-size: 12px; }
.pv-post.is-fb, .pv-post.is-li { padding-bottom: 0; }
.pv-fb-acts { display: flex; justify-content: space-around; border-top: 1px solid #e6e6e6; margin: 10px 12px 0; padding: 8px 0; color: #555; font-weight: 600; font-size: 12.5px; }
.pv-fb-acts span { display: inline-flex; align-items: center; gap: 5px; }
.pv-fb-acts .ic { width: 18px; height: 18px; }
/* YouTube watch page */
.pv-watch { width: min(560px, 100%); background: #fff; color: #0f0f0f; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 25, 18, .16); padding-bottom: 14px; }
.pv-watch h4 { margin: 12px 14px 8px; font-size: 16px; line-height: 1.3; }
.pv-watch-row { display: flex; align-items: center; gap: 10px; padding: 0 14px; }
.pv-watch-row > div { flex: 1; display: flex; flex-direction: column; font-size: 13px; line-height: 1.25; }
.pv-watch-row span { color: #606060; font-size: 11.5px; }
.pv-watch-row .pv-av { border-color: #e9e9e9; }
.pv-subbtn { background: #0f0f0f; color: #fff; border-radius: 999px; padding: 7px 14px; font-size: 12.5px; font-weight: 700; }
.pv-desc { margin: 12px 14px 0; background: #f2f2f2; border-radius: 10px; padding: 10px 12px; font-size: 12.5px; }
.pv-desc p { margin: 4px 0 0; white-space: pre-wrap; }
.pv-watch .pv-warn { margin: 10px 14px 0; }
/* website */
.pv-web { width: min(600px, 100%); background: #fff; color: #161616; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 25, 18, .16); }
.pv-web-bar { display: flex; align-items: center; gap: 6px; background: #eceeeb; padding: 8px 12px; }
.pv-web-bar i { width: 10px; height: 10px; border-radius: 50%; background: #c9cdc8; }
.pv-web-bar span { margin-left: 10px; flex: 1; background: #fff; border-radius: 6px; padding: 4px 10px; font-size: 11.5px; color: #555; display: flex; align-items: center; gap: 6px; }
.pv-web-bar .ic { width: 12px; height: 12px; }
.pv-web-page { padding: 0 0 18px; }
.pv-web-nav { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-bottom: 1px solid #eee; font-size: 12.5px; }
.pv-web-nav b { margin-right: auto; font-size: 14px; }
.pv-web-nav .pv-av { border-color: #eee; }
.pv-web-cta { background: var(--accent); color: var(--on-accent); padding: 6px 12px; border-radius: 6px; font-weight: 700; }
.pv-web-eyebrow { margin: 18px 18px 4px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); font-weight: 700; }
.pv-web h4 { margin: 0 18px 12px; font-size: 24px; line-height: 1.15; font-family: var(--head-font); font-weight: var(--head-weight); }
.pv-web p { margin: 14px 18px 0; font-size: 13.5px; line-height: 1.55; color: #333; white-space: pre-wrap; }
/* newsletter */
.pv-mail { width: min(520px, 100%); background: #f1f2ee; color: #1b1b1b; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 25, 18, .16); }
.pv-mail-hd { padding: 12px 16px; border-bottom: 1px solid #e4e6e1; background: #fff; }
.pv-mail-hd > div { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.pv-mail-hd > div span { color: #777; }
.pv-mail-hd .pv-av { border-color: #eee; }
.pv-mail-hd h4 { margin: 8px 0 0; font-size: 16px; }
.pv-mail-body { background: #fff; margin: 16px; border-radius: 8px; padding: 16px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 0 0 1px #e6e8e3; }
.pv-mail-logo { text-align: center; }
.pv-mail-logo img { height: 46px; width: auto; margin: 0 auto; }
.pv-mail-body .pv-media { border-radius: 6px; }
.pv-mail-body p { margin: 0; font-size: 13.5px; line-height: 1.55; white-space: pre-wrap; }
.pv-mail-btn { align-self: flex-start; background: var(--accent); color: var(--on-accent); padding: 9px 16px; border-radius: 6px; font-weight: 700; font-size: 13.5px; }
.pv-mail-body small { color: #888; font-size: 11px; text-align: center; }

/* ---------- producer ---------- */
.producer .eyebrow { margin-bottom: 12px; }
.producer-row { display: flex; align-items: center; gap: 14px; }
.producer-row > div { display: flex; flex-direction: column; min-width: 0; }
.producer-row b { font-size: 17px; color: var(--g-ink); }
.producer-row > div > span { font-size: 13.5px; color: var(--muted); }
.av.lg { width: 58px; height: 58px; font-size: 18px; }
.producer p { margin: 12px 0 14px; font-size: 14px; color: var(--ink-2); }
.sb-producer { display: flex; align-items: center; gap: 10px; width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 9px 10px; cursor: pointer; text-align: left; margin-bottom: 10px; font: inherit; color: inherit; }
.sb-producer:hover { border-color: var(--accent); }
.sb-producer > span:not(.av) { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.sb-producer small { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.sb-producer b { font-size: 13.5px; color: var(--g-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb-producer > .ic { width: 18px; height: 18px; color: var(--accent-text); }
.sb-coachmark { display: flex; justify-content: center; padding: 8px 0 12px; }
.sb-coachmark img { height: 54px; width: auto; max-width: 140px; object-fit: contain; opacity: .9; }
.me-photo { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.me-photo > div { display: flex; flex-direction: column; }
.me-photo button.av { border: 0; cursor: pointer; padding: 0; width: 76px; height: 76px; font-size: 24px; }

/* ---------- the approval moment ---------- */
.lockin { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; background: rgba(0, 25, 18, .55); backdrop-filter: blur(3px); animation: fade .2s; cursor: pointer; overflow: hidden; }
.lockin.out { opacity: 0; transition: opacity .28s; }
.lockin-sweep { position: absolute; inset: -20% -60%; background: linear-gradient(105deg, transparent 38%, rgba(242, 191, 84, .0) 40%, rgba(242, 191, 84, .55) 50%, rgba(242, 191, 84, 0) 60%, transparent 62%); animation: sweep 1.1s cubic-bezier(.2, .7, .2, 1) .1s both; }
@keyframes sweep { from { transform: translateX(-60%); } to { transform: translateX(60%); } }
.lockin-card { position: relative; overflow: hidden; background: var(--g-900); color: #fff; border-radius: 20px; padding: 40px 48px 34px; width: min(440px, calc(100% - 32px)); text-align: center; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); animation: lockpop .42s cubic-bezier(.2, 1.3, .4, 1) both; }
@keyframes lockpop { from { transform: scale(.92) translateY(10px); opacity: 0; } }
.lockin-court { inset: 0; width: 100%; height: 100%; opacity: .14; }
.lockin-check { position: relative; width: 74px; height: 74px; margin: 0 auto 14px; display: block; fill: none; stroke: var(--gold); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.lockin-check circle { stroke-dasharray: 190; stroke-dashoffset: 190; animation: draw .55s ease-out .2s forwards; }
.lockin-check path { stroke-dasharray: 48; stroke-dashoffset: 48; animation: draw .35s ease-out .62s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.lockin-card h2 { position: relative; margin: 0; font-family: 'Archivo', sans-serif; font-stretch: 112%; font-weight: 800; font-size: 50px; line-height: 1; letter-spacing: -.01em; }
.lockin-card p { position: relative; margin: 10px 0 0; font-size: 17px; font-weight: 600; color: var(--gold); }
.lockin-card small { position: relative; display: block; margin-top: 8px; font-size: 13px; color: #cfe3da; }
.lockin.still .lockin-sweep { display: none; }
.lockin.still .lockin-card { animation: none; }
.lockin.still .lockin-check circle, .lockin.still .lockin-check path { animation: none; stroke-dashoffset: 0; }

/* ---------- onboarding ---------- */
.onb { position: fixed; inset: 0; z-index: 250; background: rgba(0, 25, 18, .5); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 20px; animation: fade .2s; overflow: auto; }
.onb.out { opacity: 0; transition: opacity .22s; }
.onb-card { position: relative; background: var(--paper); border-radius: 18px; width: min(620px, 100%); box-shadow: var(--shadow-pop); overflow: hidden; display: flex; flex-direction: column; animation: pop .25s; }
.onb-art { position: relative; height: 118px; background: var(--g-950); display: flex; align-items: center; padding: 0 28px; overflow: hidden; }
.onb-court { inset: -10px -20px; width: calc(100% + 40px); height: calc(100% + 20px); opacity: .22; }
.onb-art .wm { position: relative; }
.onb-flag { position: relative; margin-left: 14px; background: var(--gold); color: #2a1b02; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; border-radius: 999px; padding: 4px 10px; }
.onb-skip { position: absolute; top: 14px; right: 14px; background: rgba(255, 255, 255, .12); border: 0; color: #fff; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.onb-skip .ic { width: 18px; height: 18px; }
.onb-dots { display: flex; gap: 6px; padding: 18px 28px 0; }
.onb-dots i { flex: 1; height: 4px; border-radius: 2px; background: var(--line); }
.onb-dots i.done { background: var(--accent); opacity: .5; }
.onb-dots i.on { background: var(--accent); }
.onb-body { padding: 18px 28px 6px; min-height: 280px; }
.onb-body h2 { margin: 6px 0 8px; font-size: 27px; line-height: 1.15; color: var(--g-ink); font-family: var(--head-font); font-weight: var(--head-weight); }
.onb-body .lead { color: var(--ink-2); margin: 0 0 16px; font-size: 15px; }
.onb-video { margin: 14px 0; }
.onb-video .player { aspect-ratio: 16 / 9; }
.onb-producer { display: flex; gap: 14px; align-items: flex-start; background: var(--cream-2); border-radius: 12px; padding: 14px 16px; margin: 14px 0; }
.onb-producer > div { display: flex; flex-direction: column; min-width: 0; }
.onb-producer b { color: var(--g-ink); }
.onb-producer > div > span { font-size: 13px; color: var(--muted); }
.onb-producer p { margin: 8px 0 0; font-size: 14.5px; color: var(--ink-2); }
.onb-fine { color: var(--muted); font-size: 13px; margin: 8px 0 0; }
.onb-brand { display: flex; gap: 18px; align-items: center; background: var(--cream-2); border-radius: 12px; padding: 16px; }
.onb-brand .grow { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.onb-brand .grow > span { font-size: 13.5px; color: var(--muted); }
.onb-logo { width: 96px; height: 96px; border-radius: 14px; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; flex: none; box-shadow: inset 0 0 0 1px var(--line); }
.onb-logo img { width: 86%; height: 86%; object-fit: contain; }
.onb-swatches { display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.sw { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.sw i { width: 18px; height: 18px; border-radius: 5px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.onb-sample { display: flex; gap: 10px; align-items: center; margin-top: 10px; flex-wrap: wrap; }
[data-off-box] { margin-top: 10px; }
.onb-channels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.onb-tips { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-direction: column; gap: 10px; }
.onb-tips li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.onb-tips .ic { width: 20px; height: 20px; color: var(--accent-text); flex: none; margin-top: 1px; }
.onb-actions-inline { display: flex; gap: 10px; flex-wrap: wrap; }
label.push-row { cursor: pointer; }
.onb-ft { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 28px 22px; }
.onb-step { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.onb-ft .btn .ic { order: 2; }
.onb-ft [data-onb-back] .ic { order: 0; }
.onb .lang-tg { position: absolute; top: 18px; right: 58px; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); }
.onb .lang-tg button { color: #d8e8e1; }
.onb .lang-tg button.on { background: #fff; color: var(--g-900); }

/* ---------- performance ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat { background: var(--paper); border-radius: var(--r-lg); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.stat .l { font-size: 13px; font-weight: 600; color: var(--muted); }
.stat .n { font-size: 32px; font-weight: 700; color: var(--g-ink); line-height: 1.05; font-variant-numeric: tabular-nums; }
.delta { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.delta .ic { width: 15px; height: 15px; }
.delta.down .ic { transform: scaleY(-1); }
.delta.flat { color: var(--muted); font-weight: 500; }
.chart { position: relative; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .grid { stroke: var(--line-2); stroke-width: 1; }
.chart .ax { fill: var(--muted); font-size: 11.5px; font-family: inherit; font-variant-numeric: tabular-nums; }
.chart .dl { fill: var(--ink); font-size: 12.5px; font-weight: 700; font-family: inherit; font-variant-numeric: tabular-nums; }
.chart .xh { stroke: var(--faint); stroke-width: 1; stroke-dasharray: 3 3; }
.chart .mk { stroke: var(--paper); stroke-width: 2; transition: r .12s; }
.chart .mk.hot, .chart .mk.sel { r: 6; }
.chart [data-hit] { cursor: crosshair; }
.tip { position: absolute; transform: translateX(-50%); background: var(--surface); border-radius: 9px; padding: 8px 11px; box-shadow: var(--shadow-pop); font-size: 12.5px; display: flex; flex-direction: column; gap: 2px; pointer-events: none; white-space: nowrap; z-index: 3; }
.tip b { color: var(--g-ink); }
.best .eyebrow { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.best .eyebrow .ic { width: 15px; height: 15px; color: var(--accent2-icon); }
.best-row { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; padding: 4px; border-radius: 10px; margin-bottom: 10px; }
.best-row:hover { background: var(--hover); }
.best-row .mini { width: 84px; aspect-ratio: 16 / 10; border-radius: 7px; overflow: hidden; background: linear-gradient(135deg, #0f4a3a, #1b6650); flex: none; }
.best-row .mini img { width: 100%; height: 100%; object-fit: cover; }
.best-row > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.best-row > span:nth-child(2) > span { font-size: 12.5px; color: var(--muted); }
.read p { margin: 0; white-space: pre-wrap; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.perf-head, .perf-row { display: grid; grid-template-columns: 1.3fr repeat(5, minmax(0, 1fr)) 34px; gap: 8px; align-items: center; }
.perf-head { font-size: 11.5px; font-weight: 700; color: var(--muted); margin: 6px 0 4px; }
.perf-row { margin-bottom: 8px; }
.perf-row .inp { height: 38px; font-size: 13.5px; padding: 0 9px; }

/* ---------- brand editors ---------- */
.swatch-in { display: flex; gap: 8px; }
.swatch-in input[type=color] { width: 42px; height: 42px; padding: 2px; border: 1px solid var(--field-line); border-radius: 8px; background: var(--surface); cursor: pointer; flex: none; }
.brand-sample { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; background: var(--cream-2); border-radius: 10px; padding: 12px 14px; }
[data-ratio] { display: flex; gap: 6px; align-items: flex-start; color: var(--ink-2); margin: 10px 0 0; }
[data-ratio] .ic { width: 16px; height: 16px; color: var(--s-approved); flex: none; margin-top: 1px; }
.logo-row { display: flex; gap: 14px; align-items: center; }
.logo-box { width: 72px; height: 72px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: flex; align-items: center; justify-content: center; overflow: hidden; flex: none; color: var(--faint); }
.logo-box img { width: 88%; height: 88%; object-fit: contain; }
.wm-preview { background: var(--g-950); border-radius: 10px; padding: 26px 24px; display: flex; align-items: center; min-height: 96px; }
.wm-preview img { max-height: 52px; max-width: 100%; width: auto; }
.type-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.type-opt { border: 1px solid var(--line); border-radius: 12px; padding: 14px; cursor: pointer; display: flex; flex-direction: column; gap: 2px; background: var(--surface); }
.type-opt.on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent) inset; }
.type-opt input { position: absolute; opacity: 0; pointer-events: none; }
.type-opt small { color: var(--muted); font-size: 12px; }
.type-demo { font-size: 26px; color: var(--g-ink); line-height: 1.1; margin-bottom: 6px; }
.type-demo.mockup { font-family: 'Archivo', sans-serif; font-stretch: 110%; font-weight: 800; letter-spacing: -.018em; }
.type-demo.house { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; }
.welcome-vid video { width: 100%; border-radius: 10px; background: #000; aspect-ratio: 16 / 9; }

/* ================= night mode ================= */
[data-mode=night] {
  color-scheme: dark;
  --cream: #0a1712; --cream-2: #10221b; --paper: #13261f; --surface: #172d25; --hover: #1b342b; --nav-active: #1d3a2f;
  --ink: #e6eee9; --ink-2: #cfdbd4; --ink-3: #b9c7bf; --muted: #a2b3aa; --faint: #82948a; --strong: #f1f6f3;
  --line: #24392f; --line-2: #1d3029; --chip: #1d3a2f; --field-line: #2f4a3f;
  --g-950: #06120d; --g-900: #0c2219; --g-850: #1e7a57; --g-800: #258a63; --g-ink: #eef5f0; --g-text: #7fd0a8; --line-hd: #173328;
  --pill-bg: #3a2f14; --gold-ink: #f4d389; --pill-icon: #f2bf54;
  --accent-text: #7fd0a8;
  --slate: #a9bccc; --slate-bg: #1a2731; --slate-line: #2c3c49;
  --shadow-pop: 0 18px 50px rgba(0, 0, 0, .5), 0 2px 8px rgba(0, 0, 0, .3);
}
[data-mode=night] .nav a .ic, [data-mode=night] .meta li .ic { color: var(--ink-2); }
[data-mode=night] .app { background: linear-gradient(to right, var(--paper) var(--sb), transparent var(--sb)); }
[data-mode=night] .tag.green { background: #163b2a; color: #8fe0a9; }
[data-mode=night] .tag.rust { background: #3d2017; color: #f3a585; }
[data-mode=night] .banner { background: var(--pill-bg); color: #f4d389; }
[data-mode=night] .msg.team { background: #2c2614; }
[data-mode=night] .prog, [data-mode=night] .status-steps i { background: #24392f; }
[data-mode=night] .status-steps i.on { background: var(--accent); }
[data-mode=night] .status-steps i.warn { background: var(--s-changes); }
[data-mode=night] .sidecard .headline.changes_requested { color: #f19a74; }
[data-mode=night] .sidecard .headline.in_production { color: #f0c457; }
[data-mode=night] .btn-outline { color: var(--ink); }
[data-mode=night] .skel { background: linear-gradient(90deg, #13261f, #1a3128, #13261f); background-size: 200% 100%; }
[data-mode=night] .thumb .img, [data-mode=night] .li .mini { background: linear-gradient(135deg, #0c2a20, #14402f); }
[data-mode=night] .logo-box, [data-mode=night] .onb-logo { background: #f4f5f2; }
[data-mode=night] .pv-stage { background: radial-gradient(circle at 50% 0, #1b342b, transparent 70%); }
[data-mode=night] .lang-tg { background: var(--surface); }
[data-mode=night] .drop { border-color: #345448; }
[data-mode=night] .count { background: var(--chip); }
[data-mode=night] img { color-scheme: normal; }
.field .swatch-in input[type=color]:not([type=file]) { width: 46px; height: 42px; padding: 3px; flex: none; }
.field .swatch-in .inp { flex: 1; min-width: 0; font-variant-numeric: tabular-nums; text-transform: uppercase; }
[data-mode=night] { --s-published: #6fc2a8; }
[data-mode=night] .vtabs, [data-mode=night] .vis { background: #0e1d17; }
[data-mode=night] .vtabs button.on, [data-mode=night] .vis button.on { background: var(--nav-active); color: var(--strong); }
[data-mode=night] .role { background: #163b2a; color: #8fe0a9; }
[data-mode=night] .tc-chip { border-color: #5a4a1f; }
[data-mode=night] .wm-preview { box-shadow: inset 0 0 0 1px var(--line); }
.notes-hd { flex-wrap: wrap; row-gap: 8px; }
.notes-hd .vtabs { max-width: 100%; overflow-x: auto; }
@media (max-width: 960px) {
  .rv-mode, .seg2 { width: 100%; }
  .seg2 button { flex: 1; justify-content: center; font-size: 13px; padding: 8px 10px; line-height: 1.2; text-align: center; }
  .pv { padding: 10px; }
  .pv-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; }
  .pv-tabs button { flex: none; }
  .vbar { row-gap: 6px; }
  .lockin-card { padding: 32px 24px 28px; }
  .producer-row b { font-size: 16px; }
}
@media (max-width: 960px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat { padding: 12px 14px; }
  .stat .n { font-size: 24px; }
  .perf-head { display: none; }
  .perf-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .onb-channels { grid-template-columns: minmax(0, 1fr); }
  .type-pick { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .onb { padding: 0; align-items: stretch; }
  .onb-card { border-radius: 0; min-height: 100%; width: 100%; }
  .onb-body { flex: 1; padding: 16px 20px 6px; }
  .onb-body h2 { font-size: 23px; }
  .onb-art { height: 96px; padding: 0 20px; }
  .onb-dots { padding: 16px 20px 0; }
  .onb-ft { padding: 14px 20px 22px; position: sticky; bottom: 0; background: var(--paper); border-top: 1px solid var(--line-2); }
  .onb-step { display: none; }
  .onb-brand { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 960px) {
  .wm-img img { height: 30px; }
  .wm-img.lg { max-width: 100%; }
  .wm-img.lg img { height: 50px; max-width: 100%; }
}

/* ================= type system: Geist for text, Archivo semi expanded for titles ================= */
body { font-size: 15px; line-height: 1.5; letter-spacing: -0.006em; font-feature-settings: 'ss01' 0; text-rendering: optimizeLegibility; }
.num, time, .tbl td.num, .stat .n, .kpi .n, .delta, .tc-chip, .cal .d, .sw { font-variant-numeric: tabular-nums; }
/* titles */
.welcome h1, .page-h1, .sidecard h2, .onb-body h2, .auth-card h1, .pv-web h4 { font-family: var(--head-font); font-weight: var(--head-weight); font-stretch: var(--head-stretch); letter-spacing: var(--head-track); }
.welcome h1, .page-h1 { font-size: 38px; line-height: 1.04; }
.auth-card h1 { font-size: 32px; line-height: 1.05; }
.sidecard h2 { font-size: 26px; line-height: 1.1; }
.card h3, .panel-hd h3 { font-weight: 650; letter-spacing: -0.015em; }
.thumb .t, .li .t { font-weight: 650; letter-spacing: -0.01em; }
.sidecard .headline { font-weight: 650; letter-spacing: -0.01em; }
.stat .n, .kpi .n { font-family: var(--head-font); font-stretch: var(--head-stretch); font-weight: 800; letter-spacing: -0.02em; }
[data-type=house] .stat .n, [data-type=house] .kpi .n { font-family: var(--font-ui); font-weight: 700; }
.hd-title { font-weight: 600; letter-spacing: -0.012em; font-size: 19px; }
.nav a { font-size: 15.5px; font-weight: 500; letter-spacing: -0.008em; }
.nav a.on { font-weight: 650; }
.btn { font-weight: 600; letter-spacing: -0.008em; }
/* labels: tighter tracking reads current, not 2015 */
.eyebrow { letter-spacing: .1em; font-weight: 650; font-size: 11.5px; color: var(--ink-3); }
.tbl th, .cal .dow { letter-spacing: .07em; font-weight: 650; }
.tag { letter-spacing: .03em; font-weight: 650; }
.steps-lbl, .onb-step, .sb-producer small { letter-spacing: .06em; }
/* subtext: heavier and a step darker so it carries weight next to the titles */
.welcome p, .page-sub { font-weight: 500; color: var(--ink-3); letter-spacing: -0.01em; }
.auth-card .lead, .onb-body .lead { font-weight: 500; color: var(--ink-3); }
.auth-side p { font-weight: 500; color: #c3dacf; }
.card .sub, .li .s, .doc-row .s, .field small, .drop span, .checklist span, .empty-state, .push-row span, .menu .hdr span,
.producer-row > div > span, .onb-producer > div > span, .onb-brand .grow > span, .onb-fine, .pv-note, .foot-note, .auth-foot,
.best-row > span:nth-child(2) > span, .kcard .m, .ticket .hd2, .type-opt small, .crumb, .muted, .stat .l, .kpi .l, .delta.flat { font-weight: 500; }
.card .sub, .li .s, .doc-row .s, .checklist span, .producer-row > div > span, .onb-producer > div > span { color: var(--ink-3); }
.empty-state b { font-weight: 650; color: var(--ink-2); letter-spacing: -0.01em; }
.note .text, .read p, .producer p, .onb-producer p, .onb-tips li, details.cap p { font-weight: 450; color: var(--ink-2); }
.note .who .when, .timeline li time, .tmsg .who .when { font-weight: 500; }
.field > span, .lbl { font-weight: 600; letter-spacing: -0.005em; }
input, select, textarea { letter-spacing: -0.006em; }
.auth-card h1 { margin: 10px 0 10px; }
.sb-producer small { white-space: nowrap; }
