﻿/* ============================================================
   ORBIT — web design system
   Deep-space editorial: layered near-black surfaces, hairline
   borders, one electric cobalt, one cream "good news" surface.
   ============================================================ */

/* OD-LAYOUT-PRIMITIVES v1 — structure only: display, flex/grid, overflow, wrapping, ratio, geometry.
   Put this @layer first; product CSS outside the layer wins ordinary layout rules.
   Native hidden and closed-dialog states take precedence over component display rules. */
@layer od-layout {
  [hidden]:not([hidden="until-found" i]) { display: none !important; }
  dialog:not([open]) { display: none !important; }

  :where(.od-stack,.od-row,.od-row-top,.od-cluster,.od-grid,.od-field,.od-stat,.od-cell,.od-tile) > :where(*) { min-width: 0; }

  /* containers */
  .od-stack   { display: flex; flex-direction: column; gap: var(--od-gap, 8px); }
  .od-row     { display: flex; align-items: center; gap: var(--od-gap, 8px); }
  .od-row-top { display: flex; align-items: flex-start; gap: var(--od-gap, 8px); }
  .od-cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--od-gap, 8px); }
  .od-fill    { flex: 1 1 0; min-width: 0; }
  .od-fixed   { flex: none; }
  .od-grid    { display: grid; gap: var(--od-gap, 12px); grid-template-columns: repeat(var(--od-cols, 3), minmax(0, 1fr)); }

  /* stacked information: each piece is its own line — never sibling inline spans */
  .od-stat, .od-field, .od-cell { display: grid; gap: var(--od-gap, 2px); }
  :where(.od-stat,.od-field,.od-cell) > :where(*) { display: block; }
  .od-tile { display: grid; grid-template-rows: auto 1fr; }
  :where(.od-tile) > :where(*) { display: block; }

  /* media keeps its intrinsic ratio by default; never a distorted or cropped
     cover by accident. height:auto lets the ratio win over an <img height="…">
     attribute. Cropping to a uniform box is an explicit opt-in: set --od-ratio
     AND add .od-media-cover together (per the core rule, only where a crop is
     deliberate — tile thumbs, decorative fills — never on full-frame content). */
  .od-media { display: block; width: 100%; height: auto; aspect-ratio: var(--od-ratio, auto); }
  .od-media-cover { object-fit: cover; }

  /* functional inline SVG icons opt into bounded geometry; content SVGs keep their own */
  .od-icon { display: inline-block; inline-size: var(--od-icon-size, 1em); block-size: var(--od-icon-size, 1em); flex: none; }

  /* data text only — authored copy is rewritten to its budget instead */
  .od-truncate { display: block; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .od-clamp-2, .od-clamp-3 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
  .od-clamp-2 { -webkit-line-clamp: 2; }
  .od-clamp-3 { -webkit-line-clamp: 3; }
  .od-lines-2 { min-height: calc(2 * 1.4em); }   /* block-level reservation for a shared baseline */
  .od-nowrap  { white-space: nowrap; }           /* 数字+单位 · 价格+起 · 日期+星期 */
  .od-keep    { word-break: keep-all; overflow-wrap: anywhere; } /* CJK labels break at spaces / <wbr> first */

  /* screen skeleton (optional): bars take their own space, the middle scrolls — no padding guessed for chrome */
  .od-screen { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 100%; }
  .od-scroll { overflow-y: auto; overscroll-behavior: contain; min-height: 0; }

  /* horizontal rail: the next item peeks at the edge; trailing room survives overflow */
  .od-rail { display: flex; gap: var(--od-gap, 8px); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
             padding-inline: var(--od-rail-pad, 16px); scroll-padding-inline: var(--od-rail-pad, 16px); }
  .od-rail::-webkit-scrollbar { display: none; }
  :where(.od-rail) > :where(*) { flex: none; scroll-snap-align: start; }
  :where(.od-rail) > :where(:last-child) { margin-inline-end: var(--od-rail-pad, 16px); }

  .od-spacer { flex: none; visibility: hidden; pointer-events: none; }
  .od-touch  { min-width: 44px; min-height: 44px; }
}
:root [hidden]:where(:not([hidden="until-found" i])) { display: none; }
/* /OD-LAYOUT-PRIMITIVES v1 */

/* ---------------------------------------------------------------- tokens */
:root {
  --bg: #0a0a0c;
  --bg-2: #0d0d10;
  --panel: #101113;
  --panel-2: #151517;
  --panel-3: #191b1d;
  --panel-4: #1f2124;
  --line: #202024;
  --line-2: #2a2a30;
  --line-3: #35353c;

  --ink: #ededeb;
  --ink-2: #b6b6bc;
  --muted: #8a8a92;
  --faint: #63636b;

  --blue: #2456e6;
  --blue-hi: #3c6df2;
  --blue-lo: #1c43be;
  --glow: #7d9dff;
  --blue-wash: #18213f;

  --cream: #ffeaab;
  --cream-2: #ffe69a;
  --cream-ink: #1a1608;

  --green: #6fd08c;
  --amber: #f0c264;
  --red: #ff7a7a;

  --font: "Geist", "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --r-xs: 5px;
  --r-sm: 8px;
  --r-md: 11px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-pill: 999px;

  --pad: clamp(20px, 4vw, 24px);
  --container: 1180px;
  --section: clamp(64px, 9vw, 112px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fast: 140ms;
  --base: 220ms;
  --slow: 420ms;

  --shadow-1: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
  --shadow-2: 0 18px 50px rgba(0, 0, 0, 0.55);
  --ring: 0 0 0 3px rgba(36, 86, 230, 0.45);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* Smooth only for in-page links after load, so a direct link opens at its section */
html.smooth-scroll { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.has-grain::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: var(--grain);
  pointer-events: none;
  z-index: 3;
  opacity: 0.7;
}
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: var(--glow); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 560; letter-spacing: -0.03em; line-height: 1.06; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 2px; border-radius: 4px; }
::selection { background: rgba(36, 86, 230, 0.45); color: #fff; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--bg);
  padding: 10px 16px; border-radius: var(--r-sm); font-size: 14px; font-weight: 500;
  transition: top var(--fast) var(--ease);
}
.skip-link:focus { top: 12px; text-decoration: none; }

.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }
.wrap-narrow { max-width: 820px; }
.section { padding-block: var(--section); position: relative; }
.section-tight { padding-block: clamp(44px, 6vw, 72px); }
.divider { border-top: 1px solid var(--line); }
.eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.eyebrow .dot { color: var(--glow); }
.display-1 { font-size: clamp(40px, 6.4vw, 78px); letter-spacing: -0.04em; line-height: 0.98; }
.display-2 { font-size: clamp(30px, 3.9vw, 46px); letter-spacing: -0.032em; line-height: 1.04; }
.display-3 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -0.022em; line-height: 1.18; }
.lead { font-size: clamp(16px, 1.35vw, 19px); color: var(--ink-2); line-height: 1.58; max-width: 60ch; }
.body-sm { font-size: 14px; line-height: 1.55; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: 0.86em; letter-spacing: -0.01em; }
.blue { color: var(--glow); }
.cream { color: var(--cream); }
.measure { max-width: 64ch; }

.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-sm { display: flex; flex-direction: column; gap: 8px; }
.stack-lg { display: flex; flex-direction: column; gap: 28px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.spread { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; min-height: 44px;
  border: 1px solid transparent; border-radius: var(--r-pill);
  background: transparent; color: var(--ink);
  font-size: 14.5px; font-weight: 520; letter-spacing: -0.012em; line-height: 1;
  text-decoration: none; white-space: nowrap;
  transition: background-color var(--fast) var(--ease), border-color var(--fast) var(--ease),
              color var(--fast) var(--ease), transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn .od-icon { --od-icon-size: 16px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,0.06) inset; }
.btn-primary:hover { background: var(--blue-hi); }
.btn-primary:active { background: var(--blue-lo); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: rgba(255,255,255,0.02); }
.btn-ghost:hover { background: var(--panel-2); border-color: var(--line-3); }
.btn-quiet { color: var(--ink-2); padding-inline: 14px; }
.btn-quiet:hover { color: var(--ink); background: var(--panel-2); }
.btn-cream { background: var(--cream); color: var(--cream-ink); font-weight: 600; }
.btn-cream:hover { background: #fff2c8; }
.btn-sm { min-height: 36px; padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 15px 26px; min-height: 52px; font-size: 15.5px; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; transform: none; }
.btn-icon { padding: 0; width: 36px; height: 36px; min-height: 36px; border-radius: var(--r-sm); color: var(--ink-2); }
.btn-icon:hover { background: var(--panel-3); color: var(--ink); }

.arrow-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--glow); }
.arrow-link:hover { text-decoration: none; gap: 9px; }
.arrow-link .od-icon { --od-icon-size: 15px; transition: transform var(--fast) var(--ease); }

/* ---------------------------------------------------------------- pills / badges */
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 11px; border-radius: var(--r-pill);
  border: 1px solid var(--line-2); background: rgba(255,255,255,0.02);
  font-size: 12px; font-weight: 480; color: var(--ink-2); white-space: nowrap;
  line-height: 1.4;
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.pill-blue { color: var(--glow); border-color: rgba(125,157,255,0.28); background: rgba(36,86,230,0.12); }
.pill-green { color: var(--green); border-color: rgba(111,208,140,0.26); background: rgba(111,208,140,0.10); }
.pill-amber { color: var(--amber); border-color: rgba(240,194,100,0.26); background: rgba(240,194,100,0.10); }
.pill-cream { color: var(--cream); border-color: rgba(255,234,171,0.26); background: rgba(255,234,171,0.09); }
.pill-ghost { border-color: transparent; background: var(--panel-3); color: var(--muted); }
.pill-mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.02em; }

/* ---------------------------------------------------------------- forms */
.field { display: flex; flex-direction: column; gap: 7px; }
.field > label, .label {
  font-size: 12.5px; font-weight: 520; color: var(--ink-2); letter-spacing: -0.005em;
}
.input, .select, .textarea {
  width: 100%; padding: 11px 13px;
  background: var(--bg-2); color: var(--ink);
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  font-size: 14.5px; line-height: 1.4;
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease), background-color var(--fast) var(--ease);
}
.textarea { min-height: 104px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--faint); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--line-3); }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: var(--ring); background: var(--panel);
}
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.hint { font-size: 12px; color: var(--muted); line-height: 1.45; }
.error-text { font-size: 12.5px; color: var(--red); display: flex; align-items: center; gap: 5px; }
.field.invalid .input, .field.invalid .textarea { border-color: var(--red); }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--ink-2); }
.check input { width: 16px; height: 16px; margin-top: 3px; accent-color: var(--blue); flex: none; }

/* toggle switch */
.switch { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .track {
  width: 38px; height: 22px; border-radius: var(--r-pill); background: var(--panel-4);
  border: 1px solid var(--line-3); position: relative; transition: background-color var(--base) var(--ease);
  flex: none;
}
.switch .track::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--ink-2); transition: transform var(--base) var(--ease), background-color var(--base) var(--ease);
}
.switch input:checked + .track { background: var(--blue); border-color: var(--blue); }
.switch input:checked + .track::after { transform: translateX(15px); background: #fff; }
.switch input:focus-visible + .track { box-shadow: var(--ring); }

/* ---------------------------------------------------------------- marketing nav */
.masthead {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(150%) blur(16px);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.masthead-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 560; font-size: 17px; letter-spacing: -0.025em; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 26px; height: 26px; flex: none; }
.masthead nav { display: flex; align-items: center; gap: 4px; }
.masthead nav a {
  padding: 8px 12px; border-radius: var(--r-sm); color: var(--ink-2);
  font-size: 13.5px; font-weight: 450; letter-spacing: -0.008em;
}
.masthead nav a:hover { color: var(--ink); background: rgba(255,255,255,0.05); text-decoration: none; }
.masthead nav a[aria-current="page"] { color: var(--ink); background: rgba(255,255,255,0.06); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; }

@media (max-width: 960px) {
  .masthead nav { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .nav-right .btn-quiet { display: none; }
  .masthead.menu-open nav {
    display: flex; position: absolute; left: 0; right: 0; top: 64px;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    padding: 12px var(--pad) 18px;
  }
  .masthead.menu-open nav a { padding: 12px; font-size: 15px; }
}

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding-top: clamp(48px, 7vw, 84px); padding-bottom: clamp(40px, 6vw, 72px); overflow: clip; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 120%;
  background:
    radial-gradient(46% 44% at 68% 42%, rgba(36,86,230,0.28) 0%, rgba(36,86,230,0) 68%),
    radial-gradient(38% 36% at 18% 12%, rgba(125,157,255,0.10) 0%, rgba(125,157,255,0) 70%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.hero h1 { max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--glow); }
.hero-sub { max-width: 46ch; font-size: clamp(15.5px, 1.3vw, 18px); color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 18px; padding-top: 4px; color: var(--muted); font-size: 12.5px; }
.hero-facts span { display: inline-flex; align-items: center; gap: 6px; }
.hero-facts .od-icon { --od-icon-size: 13px; color: var(--faint); }

.hero-visual { position: relative; min-height: 460px; display: grid; place-items: center; }
.orbit-figure { width: 100%; max-width: 560px; height: auto; overflow: visible; }
.ring-line { fill: none; stroke: rgba(150,170,230,0.16); stroke-width: 1; }
.ring-line.dash { stroke-dasharray: 3 7; stroke: rgba(150,170,230,0.22); }
.ring-spin { transform-origin: 360px 360px; animation: spin 90s linear infinite; }
.node-dot { fill: var(--glow); }
.node-halo { fill: rgba(125,157,255,0.12); }
.node-card { fill: #101114; stroke: #26272c; stroke-width: 1; }
.node-label { fill: #ededeb; font-size: 13px; font-weight: 550; letter-spacing: -0.01em; font-family: var(--font); }
.node-meta { fill: #8a8a92; font-size: 10.5px; font-family: var(--mono); letter-spacing: 0.04em; }
.core-disc { fill: #0e0f12; stroke: rgba(125,157,255,0.35); stroke-width: 1; }
.pulse { animation: pulse 4.8s var(--ease) infinite; transform-origin: center; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 0.35; transform: scale(1); } 50% { opacity: 0.9; transform: scale(1.35); } }

.hero-float {
  position: absolute; z-index: 2;
  background: rgba(16,17,20,0.92); border: 1px solid var(--line-2);
  border-radius: var(--r-md); padding: 10px 12px; box-shadow: var(--shadow-2);
  backdrop-filter: blur(10px); width: max-content; max-width: 210px;
}
.hero-float .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.hero-float .v { font-size: 13px; font-weight: 520; color: var(--ink); }
.hero-float.f1 { top: 4%; right: 2%; }
.hero-float.f2 { bottom: 8%; left: 0; }
.hero-float.f3 { bottom: 30%; right: -1%; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: 2; min-height: 0; margin-top: 8px; }
  .hero h1 { max-width: 16ch; }
  .orbit-figure { max-width: 460px; }
  .hero-float.f1 { right: 4%; }
  .hero-float.f2 { left: 4%; bottom: 4%; }
}
@media (max-width: 560px) {
  .hero-float { display: none; }
}

/* ---------------------------------------------------------------- tool strip */
.toolstrip { border-block: 1px solid var(--line); background: var(--bg-2); }
.toolstrip-inner { display: flex; align-items: center; gap: 18px; padding-block: 16px; flex-wrap: wrap; }
.toolstrip p { font-size: 12.5px; color: var(--muted); }
.tool-chip { font-size: 12.5px; color: var(--faint); letter-spacing: -0.01em; text-decoration: line-through; text-decoration-color: rgba(255,255,255,0.22); }
.tool-arrow { color: var(--line-3); }
.tool-orbit { font-size: 13px; color: var(--ink); font-weight: 550; display: inline-flex; align-items: center; gap: 6px; }

/* ---------------------------------------------------------------- feature sections */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.flip { grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); }
.split-copy { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.split-copy h2 { max-width: 18ch; }
.feature-list { display: flex; flex-direction: column; gap: 14px; margin-top: 4px; }
.feature-list li { list-style: none; display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.feature-list .tick {
  width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(36,86,230,0.14); color: var(--glow); margin-top: 2px;
}
.feature-list .tick .od-icon { --od-icon-size: 12px; }
.feature-list strong { display: block; font-size: 14px; font-weight: 550; color: var(--ink); letter-spacing: -0.012em; }
.feature-list span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.55; }

.frame {
  border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--panel);
  overflow: hidden; box-shadow: var(--shadow-2);
}
.frame-bar { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-bottom: 1px solid var(--line); background: var(--panel-2); }
.frame-bar .dots { display: flex; gap: 5px; }
.frame-bar .dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-3); display: block; }
.frame-bar .addr { font-family: var(--mono); font-size: 10.5px; color: var(--faint); margin-inline: auto; letter-spacing: 0.02em; }
.frame-body { position: relative; }
.frame-body img { width: 100%; height: auto; display: block; }
.shot { position: relative; }
.shot-pins { position: absolute; inset: 0; pointer-events: none; }
.pin {
  position: absolute; width: 24px; height: 24px; border-radius: 50%;
  background: var(--blue); color: #fff; font-size: 11px; font-weight: 600;
  display: grid; place-items: center; border: 2px solid rgba(255,255,255,0.85);
  box-shadow: 0 4px 14px rgba(0,0,0,0.5);
}
.pin::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid rgba(125,157,255,0.45); }
.shot-note {
  position: absolute; right: -10px; bottom: 14px; max-width: 230px;
  background: rgba(16,17,20,0.96); border: 1px solid var(--line-2); border-radius: var(--r-md);
  padding: 11px 12px; box-shadow: var(--shadow-2); font-size: 12px; color: var(--ink-2);
}
.shot-note .who { display: flex; align-items: center; gap: 7px; margin-bottom: 4px; }
.shot-note .tc { font-family: var(--mono); font-size: 10px; color: var(--glow); }
.avatar { width: 22px; height: 22px; border-radius: 50%; background: var(--panel-4); display: grid; place-items: center; font-size: 10px; font-weight: 600; color: var(--ink-2); flex: none; }
.avatar.blue { background: rgba(36,86,230,0.25); color: var(--glow); }
.avatar.cream { background: rgba(255,234,171,0.2); color: var(--cream); }
.avatar.green { background: rgba(111,208,140,0.2); color: var(--green); }

/* ---------------------------------------------------------------- film */
.film-section { position: relative; border-block: 1px solid var(--line); background: linear-gradient(180deg, #08080a 0%, #0b0b0e 60%, #08080a 100%); }
.film-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.film-poster {
  position: relative; display: block; width: 100%; border: 1px solid var(--line-2);
  border-radius: var(--r-lg); overflow: hidden; background: #000; padding: 0; text-align: left;
  box-shadow: var(--shadow-2);
}
.film-poster img { width: 100%; height: auto; opacity: 0.82; transition: opacity var(--base) var(--ease), transform 600ms var(--ease); }
.film-poster:hover img { opacity: 1; transform: scale(1.008); }
.film-poster .scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.72) 100%); }
.play-badge {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(237,237,235,0.95); color: #0a0a0c; box-shadow: 0 10px 40px rgba(0,0,0,0.6);
  transition: transform var(--base) var(--ease);
}
.play-badge .od-icon { --od-icon-size: 26px; margin-left: 3px; }
.film-poster:hover .play-badge { transform: translate(-50%, -50%) scale(1.06); }
.film-meta { position: absolute; left: 20px; bottom: 18px; right: 20px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.film-meta .t { font-size: 15px; font-weight: 550; color: var(--ink); }
.film-meta .s { font-family: var(--mono); font-size: 10.5px; color: rgba(255,255,255,0.6); letter-spacing: 0.06em; }

dialog.film-dialog {
  width: min(1080px, calc(100vw - 32px)); max-width: none; padding: 0; border: 1px solid var(--line-2);
  border-radius: var(--r-lg); background: #060608; color: var(--ink); box-shadow: 0 40px 120px rgba(0,0,0,0.7);
  margin: auto;
}
dialog.film-dialog::backdrop { background: rgba(4,4,6,0.86); backdrop-filter: blur(6px); }
.film-player { display: grid; grid-template-rows: auto 1fr auto; max-height: calc(100vh - 48px); }
.film-topbar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.film-stage { position: relative; aspect-ratio: 16 / 10; background: #000; overflow: hidden; }
.film-stage img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  opacity: 0; transition: opacity 700ms var(--ease);
}
.film-stage img.on { opacity: 1; }
.film-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 22px 18px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.82) 100%);
}
.film-caption .step { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; color: var(--glow); text-transform: uppercase; }
.film-caption .txt { font-size: clamp(15px, 2vw, 20px); font-weight: 500; letter-spacing: -0.02em; margin-top: 4px; }
.film-controls { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); }
.film-progress { flex: 1; height: 3px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.film-progress i { display: block; height: 100%; width: 0%; background: var(--glow); transition: width 240ms linear; }
.film-time { font-family: var(--mono); font-size: 11px; color: var(--muted); }

/* ---------------------------------------------------------------- voice visual */
.voice-mock { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: #0c0c0f; box-shadow: var(--shadow-2); }
.voice-tile { position: relative; border-radius: var(--r-md); overflow: hidden; background: #141519; min-height: 148px; display: grid; place-items: center; border: 1px solid var(--line); }
.voice-tile .who { position: absolute; left: 9px; bottom: 8px; font-size: 11.5px; color: var(--ink); display: flex; align-items: center; gap: 6px; }
.voice-tile .mic { position: absolute; right: 8px; top: 8px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,0.5); color: var(--ink-2); }
.voice-tile .mic.off { color: var(--red); }
.voice-tile.speaking { box-shadow: 0 0 0 1.5px rgba(125,157,255,0.7) inset; }
.voice-tile.share { grid-column: span 2; min-height: 190px; background: #08090b; }
.voice-tile.share img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.voice-tile .initials { width: 52px; height: 52px; border-radius: 50%; background: var(--panel-4); display: grid; place-items: center; font-size: 17px; font-weight: 550; color: var(--ink-2); }
.voice-tile.share .initials { display: none; }
.voice-bar { display: flex; align-items: center; gap: 8px; justify-content: center; padding-top: 12px; grid-column: span 2; }
.voice-mock .ctrl { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--ink-2); display: grid; place-items: center; }
.voice-mock .ctrl.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.voice-mock .ctrl.danger { background: #3a1417; border-color: #5a1f24; color: #ff9a9a; }
.wave { display: flex; align-items: flex-end; gap: 2px; height: 14px; }
.wave i { width: 2px; background: var(--glow); border-radius: 1px; animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: 0.1s; height: 8px; }
.wave i:nth-child(3) { animation-delay: 0.2s; height: 14px; }
.wave i:nth-child(4) { animation-delay: 0.3s; height: 6px; }
.wave i:nth-child(1) { height: 10px; }
@keyframes wave { 0%, 100% { transform: scaleY(0.45); } 50% { transform: scaleY(1); } }

/* ---------------------------------------------------------------- comparison */
.compare-wrap { border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; background: var(--panel); }
.table-scroll { overflow-x: auto; }
table.compare { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 720px; }
table.compare th, table.compare td { padding: 13px 14px; text-align: center; border-bottom: 1px solid var(--line); }
table.compare thead th { font-size: 11.5px; font-weight: 520; color: var(--muted); letter-spacing: 0.02em; padding-block: 15px; vertical-align: bottom; }
table.compare thead th:first-child { text-align: left; color: var(--faint); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; }
table.compare tbody th { text-align: left; font-weight: 450; color: var(--ink-2); font-size: 13px; }
table.compare tbody tr:last-child th, table.compare tbody tr:last-child td { border-bottom: 0; }
table.compare td.yes { color: var(--green); }
table.compare td.no { color: var(--faint); }
table.compare td.partial { color: var(--amber); font-size: 11.5px; }
table.compare .orbit-col { background: rgba(36,86,230,0.07); }
table.compare thead .orbit-col { color: var(--glow); font-weight: 600; }
.compare-note { font-size: 11.5px; color: var(--faint); padding: 12px 16px; border-top: 1px solid var(--line); }
.vs-head { display: inline-flex; flex-direction: column; gap: 3px; align-items: center; }
.vs-head .sub { font-size: 10px; color: var(--faint); font-weight: 400; }

/* ---------------------------------------------------------------- pricing */
.toggle {
  display: inline-flex; padding: 3px; border-radius: var(--r-pill);
  background: var(--panel-2); border: 1px solid var(--line-2); gap: 2px;
}
.toggle button {
  border: 0; background: transparent; color: var(--muted);
  padding: 8px 16px; border-radius: var(--r-pill); font-size: 13px; font-weight: 500; min-height: 38px;
  transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
.toggle button[aria-pressed="true"] { background: var(--ink); color: #0a0a0c; }
.toggle .save { font-family: var(--mono); font-size: 10px; color: var(--green); margin-left: 5px; }

.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 18px;
  background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--r-lg);
  padding: 24px; transition: border-color var(--base) var(--ease), transform var(--base) var(--ease);
}
.plan:hover { border-color: var(--line-3); }
.plan.featured { border-color: rgba(125,157,255,0.45); background: linear-gradient(180deg, rgba(36,86,230,0.10), rgba(16,17,19,1) 42%); box-shadow: 0 0 0 1px rgba(36,86,230,0.12), 0 24px 60px rgba(0,0,0,0.4); }
.plan-badge { position: absolute; top: -11px; left: 24px; }
.plan h3 { font-size: 19px; font-weight: 550; letter-spacing: -0.02em; }
.plan .desc { font-size: 13px; color: var(--muted); min-height: 38px; }
.price { display: flex; align-items: baseline; gap: 6px; }
.price .amount { font-size: 44px; font-weight: 560; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.price .per { font-size: 13px; color: var(--muted); }
.price-note { font-size: 11.5px; color: var(--faint); min-height: 17px; font-variant-numeric: tabular-nums; }
.plan ul { display: flex; flex-direction: column; gap: 10px; margin-top: 2px; }
.plan li { list-style: none; display: flex; gap: 9px; font-size: 13px; color: var(--ink-2); align-items: flex-start; }
.plan li .od-icon { --od-icon-size: 14px; color: var(--glow); margin-top: 3px; }
.plan .plan-cta { margin-top: auto; }
.seat-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 16px; padding: 16px 20px; border: 1px dashed var(--line-3); border-radius: var(--r-md); background: rgba(255,255,255,0.015); }
.seat-bar p { font-size: 13px; color: var(--ink-2); }

.feature-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.feature-table th, .feature-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.feature-table thead th { font-size: 11.5px; color: var(--muted); font-weight: 520; text-transform: uppercase; letter-spacing: 0.08em; }
.feature-table td:not(:first-child), .feature-table th:not(:first-child) { text-align: center; }
.feature-table td:first-child { color: var(--ink-2); }
.feature-table tr.group th { padding-top: 26px; color: var(--ink); font-size: 12px; letter-spacing: 0.06em; border-bottom-color: var(--line-2); }

/* ---------------------------------------------------------------- founding banner */
.founding {
  position: relative; overflow: hidden;
  background: var(--cream); color: var(--cream-ink); border-radius: var(--r-xl);
  padding: clamp(24px, 4vw, 40px);
  display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 32px; align-items: center;
}
.founding::after {
  content: ""; position: absolute; right: -90px; top: -120px; width: 340px; height: 340px;
  border-radius: 50%; border: 1px solid rgba(26,22,8,0.16);
  box-shadow: 0 0 0 34px rgba(26,22,8,0.05), 0 0 0 70px rgba(26,22,8,0.035);
  pointer-events: none;
}
.founding .eyebrow { color: rgba(26,22,8,0.62); }
.founding h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.03em; max-width: 20ch; }
.founding p { font-size: 14px; color: rgba(26,22,8,0.72); max-width: 46ch; }
.founding .btn-ink { background: #1a1608; color: var(--cream); }
.founding .btn-ink:hover { background: #2b240e; }
.spots { display: flex; flex-direction: column; gap: 8px; position: relative; z-index: 1; }
.spots .num { font-size: 34px; font-weight: 600; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; line-height: 1; }
.spots .bar { height: 6px; border-radius: 3px; background: rgba(26,22,8,0.14); overflow: hidden; }
.spots .bar i { display: block; height: 100%; background: #1a1608; border-radius: 3px; }
.spots .cap { font-size: 12px; color: rgba(26,22,8,0.66); font-family: var(--mono); letter-spacing: 0.02em; }

/* ---------------------------------------------------------------- faq */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative;
  font-size: 15.5px; font-weight: 500; letter-spacing: -0.014em; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 26px; width: 9px; height: 9px;
  border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg); transition: transform var(--base) var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .answer { padding: 0 44px 22px 0; color: var(--muted); font-size: 14px; max-width: 78ch; }
.faq details[open] .answer { animation: fadeUp 320ms var(--ease) both; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- testimonials / case */
.quote-panel {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 0;
  border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; background: var(--panel);
}
.quote-body { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 20px; justify-content: center; }
.quote-body blockquote { margin: 0; font-size: clamp(18px, 2.1vw, 25px); line-height: 1.35; letter-spacing: -0.028em; font-weight: 450; color: var(--ink); }
.quote-body blockquote em { font-style: normal; color: var(--glow); }
.quote-by { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); }
.quote-media { position: relative; min-height: 260px; background: #0c0c0f; overflow: hidden; border-left: 1px solid var(--line-2); }
.quote-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.62; }
.quote-media .stat-cards { position: absolute; inset: auto 16px 16px 16px; display: grid; gap: 8px; }
.quote-media .mini { background: rgba(12,12,15,0.86); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 10px 12px; backdrop-filter: blur(8px); }
.quote-media .mini .k { font-family: var(--mono); font-size: 9.5px; color: var(--muted); letter-spacing: 0.09em; text-transform: uppercase; }
.quote-media .mini .v { font-size: 15px; font-weight: 550; font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- CTA band */
.cta-band { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; padding-block: clamp(56px, 8vw, 96px); position: relative; }
.cta-band::before {
  content: ""; position: absolute; inset: auto 0 0; height: 320px;
  background: radial-gradient(50% 100% at 50% 100%, rgba(36,86,230,0.22), transparent 70%);
  pointer-events: none;
}
.cta-orb { width: 54px; height: 54px; margin-bottom: 4px; }

/* ---------------------------------------------------------------- footer */
.site-footer { border-top: 1px solid var(--line); background: #08080a; padding-block: 56px 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer-col h3 { font-size: 11px; font-family: var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); font-weight: 500; margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col li { list-style: none; }
.footer-col a { font-size: 13px; color: var(--muted); }
.footer-col a:hover { color: var(--ink); text-decoration: none; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; max-width: 260px; }
.footer-brand p { font-size: 12.5px; color: var(--faint); line-height: 1.6; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12px; color: var(--faint); }
.status-inline { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; }
.status-inline .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(111,208,140,0.14); }

/* ---------------------------------------------------------------- page hero (inner pages) */
.page-hero { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(28px, 4vw, 44px); position: relative; border-bottom: 1px solid var(--line); }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 90% at 70% 0%, rgba(36,86,230,0.16), transparent 65%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; display: flex; flex-direction: column; gap: 16px; }
.breadcrumb { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--faint); }
.breadcrumb a { color: var(--muted); }
.breadcrumb .od-icon { --od-icon-size: 12px; }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 56px); letter-spacing: -0.04em; max-width: 20ch; }
.page-hero .lead { max-width: 58ch; }

/* ---------------------------------------------------------------- cards / grids */
.card { background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 22px; }
.card-soft { background: var(--bg-2); border-color: var(--line); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.icon-tile { width: 34px; height: 34px; border-radius: var(--r-sm); display: grid; place-items: center; background: rgba(36,86,230,0.14); color: var(--glow); border: 1px solid rgba(125,157,255,0.16); }
.icon-tile .od-icon { --od-icon-size: 17px; }
.icon-tile.cream { background: rgba(255,234,171,0.12); color: var(--cream); border-color: rgba(255,234,171,0.18); }
.icon-tile.green { background: rgba(111,208,140,0.12); color: var(--green); border-color: rgba(111,208,140,0.18); }

.prose { max-width: 72ch; display: flex; flex-direction: column; gap: 18px; }
.prose h2 { font-size: clamp(22px, 2.6vw, 30px); margin-top: 18px; letter-spacing: -0.028em; }
.prose h3 { font-size: 18px; margin-top: 10px; }
.prose p, .prose li { color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.prose ul { display: flex; flex-direction: column; gap: 8px; padding-left: 18px; }
.prose ul li { list-style: disc; }
.prose strong { color: var(--ink); font-weight: 520; }
.draft-banner {
  display: flex; gap: 10px; align-items: flex-start;
  border: 1px solid rgba(240,194,100,0.3); background: rgba(240,194,100,0.08);
  border-radius: var(--r-md); padding: 12px 14px; font-size: 12.5px; color: #e8cd93;
}
.draft-banner .od-icon { --od-icon-size: 15px; margin-top: 1px; }

.doc-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: start; }
.doc-nav { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 22px; }
.doc-nav h3 { font-size: 10.5px; font-family: var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
.doc-nav a { display: block; font-size: 13px; color: var(--muted); padding: 5px 0; }
.doc-nav a:hover { color: var(--ink); text-decoration: none; }
.doc-nav a.active { color: var(--glow); }
.doc-card { display: flex; flex-direction: column; gap: 8px; padding: 18px; border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--panel); transition: border-color var(--base) var(--ease); }
.doc-card:hover { border-color: var(--line-3); text-decoration: none; }
.doc-card h3 { font-size: 14.5px; font-weight: 520; color: var(--ink); }
.doc-card p { font-size: 12.5px; color: var(--muted); }

kbd {
  font-family: var(--mono); font-size: 10.5px; padding: 2px 5px; border-radius: 4px;
  border: 1px solid var(--line-3); background: var(--panel-2); color: var(--ink-2);
}

/* ---------------------------------------------------------------- app shell */
body.app-body { background: var(--bg); overflow: hidden; }
.app { display: grid; grid-template-columns: 236px minmax(0, 1fr); height: 100vh; }
.app-side {
  display: flex; flex-direction: column; min-height: 0;
  background: #0d0d10; border-right: 1px solid var(--line);
}
.side-head { padding: 12px 12px 10px; display: flex; align-items: center; gap: 8px; }
.ws-switch {
  display: flex; align-items: center; gap: 9px; flex: 1; min-width: 0;
  padding: 6px 8px; border-radius: var(--r-sm); border: 1px solid transparent;
  background: transparent; text-align: left; color: var(--ink);
}
.ws-switch:hover { background: var(--panel-2); border-color: var(--line); }
.ws-badge { width: 26px; height: 26px; border-radius: 7px; background: var(--blue); display: grid; place-items: center; flex: none; }
.ws-name { font-size: 13px; font-weight: 550; letter-spacing: -0.014em; line-height: 1.2; }
.ws-sub { font-size: 10.5px; color: var(--faint); line-height: 1.3; }
.side-scroll { flex: 1; overflow-y: auto; padding: 4px 8px 12px; scrollbar-width: thin; }
.nav-group { margin-top: 14px; }
.nav-group > .g-label {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--faint); padding: 0 8px 6px; display: flex; align-items: center; justify-content: space-between;
}
.app-nav { display: flex; flex-direction: column; gap: 1px; }
.app-nav a {
  display: flex; align-items: center; gap: 9px; padding: 7px 8px; border-radius: 7px;
  color: var(--ink-2); font-size: 13px; font-weight: 440; letter-spacing: -0.008em;
  text-decoration: none; position: relative; min-height: 32px;
}
.app-nav a .od-icon { --od-icon-size: 15px; color: var(--faint); }
.app-nav a:hover { background: var(--panel-2); color: var(--ink); }
.app-nav a:hover .od-icon { color: var(--ink-2); }
.app-nav a[aria-current="page"] { background: var(--blue-wash); color: var(--ink); font-weight: 500; }
.app-nav a[aria-current="page"] .od-icon { color: var(--glow); }
.app-nav a[aria-current="page"]::before {
  content: ""; position: absolute; left: 0; top: 7px; bottom: 7px; width: 2px; border-radius: 2px; background: var(--glow);
}
.app-nav .count { margin-left: auto; font-size: 10.5px; color: var(--faint); font-variant-numeric: tabular-nums; }
.app-nav .live-dot { margin-left: auto; width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.room-row { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 7px; color: var(--muted); font-size: 12.5px; }
.room-row:hover { background: var(--panel-2); color: var(--ink-2); }
.room-row .n { width: 5px; height: 5px; border-radius: 50%; background: var(--line-3); flex: none; }
.room-row.live .n { background: var(--green); box-shadow: 0 0 0 3px rgba(111,208,140,0.12); }
.room-row .c { margin-left: auto; font-size: 10.5px; color: var(--faint); }
.side-foot { padding: 8px; border-top: 1px solid var(--line); }
.side-user { display: flex; align-items: center; gap: 9px; padding: 7px 8px; border-radius: var(--r-sm); width: 100%; background: transparent; border: 0; text-align: left; color: var(--ink); }
.side-user:hover { background: var(--panel-2); }
.side-user .nm { font-size: 12.5px; font-weight: 500; line-height: 1.2; }
.side-user .rl { font-size: 10.5px; color: var(--faint); }

.app-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: var(--bg); }
.app-top {
  height: 52px; flex: none; display: flex; align-items: center; gap: 12px;
  padding-inline: 20px; border-bottom: 1px solid var(--line); background: rgba(10,10,12,0.9);
  backdrop-filter: blur(10px);
}
.crumb { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--faint); }
.crumb a { color: var(--muted); }
.crumb .sep { color: var(--line-3); }
.crumb .now { color: var(--ink-2); }
.top-search {
  margin-inline: auto; display: flex; align-items: center; gap: 8px;
  padding: 6px 10px; min-width: 240px; max-width: 340px; width: 100%;
  background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--r-sm);
  color: var(--faint); font-size: 12.5px; text-align: left;
}
.top-search:hover { border-color: var(--line-3); color: var(--muted); }
.top-search .od-icon { --od-icon-size: 14px; }
.top-search kbd { margin-left: auto; }
.top-actions { display: flex; align-items: center; gap: 6px; }
.app-scroll { overflow-y: auto; flex: 1; min-height: 0; }
.app-page { padding: 26px 28px 56px; max-width: 1320px; margin-inline: auto; width: 100%; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.page-head h1 { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -0.03em; font-weight: 550; }
.page-head .sub { font-size: 13px; color: var(--muted); margin-top: 5px; }
.head-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.side-toggle { display: none; }

@media (max-width: 1040px) {
  .app { grid-template-columns: 1fr; }
  .app-side {
    position: fixed; inset: 0 auto 0 0; width: 272px; z-index: 60;
    transform: translateX(-100%); transition: transform var(--base) var(--ease);
    box-shadow: 20px 0 60px rgba(0,0,0,0.5);
  }
  body.side-open .app-side { transform: none; }
  .side-toggle { display: inline-flex; }
  .scrim {
    position: fixed; inset: 0; background: rgba(3,3,5,0.6); z-index: 55; border: 0;
    backdrop-filter: blur(2px);
  }
  .app-top { padding-inline: 12px; }
  .top-search { min-width: 0; }
  .app-page { padding: 18px 16px 48px; }
}
@media (max-width: 640px) {
  .top-search { display: none; }
  .crumb .hide-sm { display: none; }
}

/* app building blocks */
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.stat {
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--panel);
  padding: 14px 15px; display: flex; flex-direction: column; gap: 10px; min-height: 104px;
}
.stat .top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.stat .k { font-size: 11.5px; color: var(--muted); letter-spacing: -0.005em; }
.stat .ic { width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; color: var(--faint); border: 1px solid var(--line-2); }
.stat .ic .od-icon { --od-icon-size: 13px; }
.stat .v { font-size: 26px; font-weight: 540; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat .foot { font-size: 11px; color: var(--faint); margin-top: auto; display: flex; align-items: center; gap: 6px; }
.stat .foot .up { color: var(--green); display: inline-flex; align-items: center; gap: 3px; }

.panel { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--panel); overflow: hidden; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.panel-head h2 { font-size: 13px; font-weight: 540; letter-spacing: -0.01em; }
.panel-head .more { font-size: 11.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.panel-body { padding: 16px; }
.panel-body.tight { padding: 0; }

.dash-grid { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr); gap: 12px; margin-top: 12px; }
.dash-main { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.dash-side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }

.work-row { display: flex; align-items: center; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--line); }
.work-row:last-child { border-bottom: 0; }
.work-row:hover { background: rgba(255,255,255,0.015); }
.work-thumb { width: 44px; height: 30px; border-radius: 5px; overflow: hidden; flex: none; background: var(--panel-3); }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; }
.work-name { font-size: 12.5px; font-weight: 500; }
.work-sub { font-size: 10.5px; color: var(--faint); }
.work-meta { margin-left: auto; display: flex; align-items: center; gap: 14px; font-size: 11px; color: var(--muted); }
.progress-mini { width: 54px; height: 3px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.progress-mini i { display: block; height: 100%; background: var(--glow); }

.plan-list { display: flex; flex-direction: column; }
.plan-item { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.plan-item:last-child { border-bottom: 0; }
.plan-item input { margin-top: 2px; accent-color: var(--blue); }
.plan-item.done .t { color: var(--faint); text-decoration: line-through; }
.plan-time { font-family: var(--mono); font-size: 10px; color: var(--faint); width: 38px; flex: none; margin-top: 2px; }

.showcase { position: relative; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); min-height: 170px; display: flex; align-items: flex-end; padding: 18px; }
.showcase img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.45; }
.showcase::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,8,10,0.9) 10%, rgba(8,8,10,0.25) 70%); }
.showcase .inner { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; max-width: 60%; }
.showcase .k { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; color: var(--glow); }
.showcase .t { font-size: 17px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; }
.showcase .play { margin-top: 2px; }

.cream-card { background: var(--cream); color: var(--cream-ink); border-radius: var(--r-md); padding: 16px; display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; }
.cream-card .k { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; color: rgba(26,22,8,0.6); }
.cream-card .t { font-size: 17px; line-height: 1.22; letter-spacing: -0.025em; font-weight: 540; }
.cream-card .p { font-size: 11.5px; color: rgba(26,22,8,0.66); }
.cream-card .link { font-size: 11.5px; font-weight: 550; color: var(--cream-ink); display: inline-flex; gap: 5px; align-items: center; }

.decision-row { display: flex; gap: 11px; padding: 12px 16px; border-bottom: 1px solid var(--line); align-items: flex-start; }
.decision-row:last-child { border-bottom: 0; }
.decision-row .ic { width: 26px; height: 26px; border-radius: 6px; display: grid; place-items: center; background: var(--panel-3); color: var(--ink-2); flex: none; }
.decision-row .t { font-size: 12.5px; font-weight: 500; }
.decision-row .s { font-size: 10.5px; color: var(--faint); }
.decision-row .go { margin-left: auto; color: var(--faint); }

/* tables */
.data-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.data-table thead th {
  text-align: left; font-size: 10px; font-family: var(--mono); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--faint); font-weight: 500; padding: 10px 14px; border-bottom: 1px solid var(--line);
}
.data-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--ink-2); vertical-align: middle; }
.data-table tbody tr:hover { background: rgba(255,255,255,0.018); }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.data-table .client { color: var(--ink); font-weight: 500; }
.data-table .actions { display: flex; gap: 4px; justify-content: flex-end; }
.row-link { color: var(--ink); }
.row-link:hover { color: var(--glow); text-decoration: none; }

.filters { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.chip {
  border: 1px solid var(--line-2); background: transparent; color: var(--muted);
  border-radius: var(--r-pill); padding: 5px 11px; font-size: 11.5px; font-weight: 450; min-height: 28px;
  transition: all var(--fast) var(--ease);
}
.chip:hover { color: var(--ink-2); border-color: var(--line-3); }
.chip[aria-pressed="true"] { background: var(--ink); color: #0a0a0c; border-color: var(--ink); }

/* kanban */
.kanban { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: start; }
.kanban-col { background: #0d0d10; border: 1px solid var(--line); border-radius: var(--r-md); display: flex; flex-direction: column; min-height: 180px; }
.kanban-col.over { border-color: rgba(125,157,255,0.6); background: rgba(36,86,230,0.06); }
.kanban-head { display: flex; align-items: center; gap: 8px; padding: 11px 12px; border-bottom: 1px solid var(--line); }
.kanban-head .t { font-size: 12px; font-weight: 520; color: var(--ink-2); }
.kanban-head .c { margin-left: auto; font-size: 10.5px; color: var(--faint); font-variant-numeric: tabular-nums; }
.kanban-head .add { color: var(--faint); width: 24px; height: 24px; border-radius: 5px; display: grid; place-items: center; border: 0; background: transparent; }
.kanban-head .add:hover { background: var(--panel-3); color: var(--ink); }
.kanban-list { display: flex; flex-direction: column; gap: 8px; padding: 8px; min-height: 90px; }
.pcard {
  background: var(--panel-2); border: 1px solid var(--line-2); border-radius: var(--r-sm);
  padding: 9px; display: flex; flex-direction: column; gap: 8px; cursor: grab; text-align: left; width: 100%;
  transition: border-color var(--fast) var(--ease), transform var(--fast) var(--ease), background-color var(--fast) var(--ease);
}
.pcard:hover { border-color: var(--line-3); background: var(--panel-3); }
.pcard:active { cursor: grabbing; }
.pcard.dragging { opacity: 0.4; }
.pcard .thumb { border-radius: 5px; overflow: hidden; background: var(--panel-4); aspect-ratio: 2 / 1; }
.pcard .thumb img { width: 100%; height: 100%; object-fit: cover; }
.pcard .nm { font-size: 12px; font-weight: 520; letter-spacing: -0.01em; }
.pcard .cl { font-size: 10.5px; color: var(--faint); }
.pcard .meta { display: flex; align-items: center; gap: 6px; margin-top: 1px; }
.pcard .pct { margin-left: auto; font-size: 10px; color: var(--faint); font-variant-numeric: tabular-nums; }
.empty-col { padding: 18px 10px; text-align: center; font-size: 11px; color: var(--faint); border: 1px dashed var(--line-2); border-radius: var(--r-sm); margin: 8px; }

/* review player */
.review-layout { display: grid; grid-template-columns: 216px minmax(0, 1fr) 320px; gap: 0; height: calc(100vh - 52px); }
.review-rail { border-right: 1px solid var(--line); background: #0b0b0e; overflow-y: auto; padding: 12px 10px; }
.rail-title { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); padding: 6px 6px 8px; }
.asset-item { display: flex; gap: 9px; padding: 8px; border-radius: var(--r-sm); border: 1px solid transparent; width: 100%; background: transparent; text-align: left; color: var(--ink-2); }
.asset-item:hover { background: var(--panel-2); }
.asset-item[aria-current="true"] { background: var(--panel-3); border-color: var(--line-2); }
.asset-item .th { width: 52px; height: 32px; border-radius: 4px; overflow: hidden; flex: none; background: var(--panel-4); }
.asset-item .th img { width: 100%; height: 100%; object-fit: cover; }
.asset-item .n { font-size: 11.5px; font-weight: 500; line-height: 1.3; }
.asset-item .m { font-size: 10px; color: var(--faint); }
.review-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: #070709; }
.review-top { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #0b0b0e; flex-wrap: wrap; }
.review-title { font-size: 13px; font-weight: 520; }
.review-stage { flex: 1; min-height: 0; display: grid; place-items: center; padding: 16px; }
.stage-box { position: relative; width: 100%; max-width: 940px; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; background: #000; border: 1px solid var(--line-2); }
.stage-box .footage { position: absolute; inset: 0; overflow: hidden; }
.stage-box .footage img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.15) contrast(1.05); }
.stage-box .footage .blur { position: absolute; inset: -10%; background: radial-gradient(60% 60% at 40% 30%, rgba(40,120,80,0.55), transparent 60%), radial-gradient(50% 50% at 70% 70%, rgba(20,50,120,0.5), transparent 60%); filter: blur(30px); }
.stage-box .letterbox { position: absolute; inset: 0; box-shadow: inset 0 0 120px rgba(0,0,0,0.7); pointer-events: none; }
.stage-tc { position: absolute; left: 12px; top: 10px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; color: rgba(255,255,255,0.75); background: rgba(0,0,0,0.5); padding: 3px 6px; border-radius: 3px; }
.stage-badge { position: absolute; right: 12px; top: 10px; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.09em; color: rgba(255,255,255,0.6); background: rgba(0,0,0,0.5); padding: 3px 6px; border-radius: 3px; }
.stage-note { position: absolute; left: 12px; bottom: 10px; right: 12px; font-size: 10.5px; color: rgba(255,255,255,0.5); display: flex; justify-content: space-between; gap: 10px; }
.tc-marker { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(125,157,255,0.6); }
.tc-marker span { position: absolute; top: -1px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid var(--glow); }
.player-bar { padding: 10px 16px 14px; border-top: 1px solid var(--line); background: #0b0b0e; }
.scrub { position: relative; height: 22px; display: flex; align-items: center; cursor: pointer; }
.scrub-track { position: relative; height: 4px; width: 100%; border-radius: 2px; background: var(--line-2); }
.scrub-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0%; background: var(--glow); border-radius: 2px; }
.scrub-head { position: absolute; top: 50%; width: 10px; height: 10px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); box-shadow: 0 0 0 3px rgba(125,157,255,0.25); }
.transport { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.transport .btn-icon { color: var(--ink-2); }
.tc-read { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tc-read b { color: var(--ink); font-weight: 500; }

.notes-panel { border-left: 1px solid var(--line); background: #0b0b0e; display: flex; flex-direction: column; min-height: 0; }
.notes-head { padding: 11px 14px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 8px; }
.notes-list { flex: 1; overflow-y: auto; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.note { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px; background: var(--panel); display: flex; flex-direction: column; gap: 6px; }
.note.resolved { opacity: 0.55; }
.note .nh { display: flex; align-items: center; gap: 7px; }
.note .who { font-size: 11px; font-weight: 520; }
.note .time { margin-left: auto; font-family: var(--mono); font-size: 10px; color: var(--glow); background: none; border: 0; padding: 2px 4px; border-radius: 3px; }
.note .time:hover { background: var(--panel-3); }
.note .body { font-size: 12px; color: var(--ink-2); line-height: 1.5; }
.note .nf { display: flex; align-items: center; gap: 8px; }
.note .resolve { font-size: 10.5px; color: var(--faint); background: none; border: 0; padding: 0; }
.note .resolve:hover { color: var(--green); }
.notes-compose { border-top: 1px solid var(--line); padding: 10px 12px; display: flex; flex-direction: column; gap: 7px; }
.notes-compose .row { gap: 6px; }

@media (max-width: 1180px) {
  .review-layout { grid-template-columns: minmax(0, 1fr) 300px; }
  .review-rail { display: none; }
}
@media (max-width: 900px) {
  .review-layout { grid-template-columns: 1fr; height: auto; }
  .notes-panel { border-left: 0; border-top: 1px solid var(--line); max-height: 420px; }
  .review-main { min-height: 420px; }
}

/* voice room */
.voice-layout { display: grid; grid-template-columns: minmax(0, 1fr) 336px; gap: 12px; height: calc(100vh - 52px); padding: 12px; }
.voice-stage { background: #08080b; border: 1px solid var(--line); border-radius: var(--r-md); display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.voice-grid { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; min-height: 0; }
.vtile { position: relative; border-radius: var(--r-sm); overflow: hidden; background: #131418; border: 1px solid var(--line); display: grid; place-items: center; min-height: 120px; }
.vtile.span2 { grid-column: span 2; }
.vtile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.45; }
.vtile .av { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; font-size: 19px; font-weight: 520; background: var(--panel-4); color: var(--ink-2); }
.vtile.speaking { border-color: rgba(125,157,255,0.65); box-shadow: 0 0 0 1px rgba(125,157,255,0.35); }
.vtile .lab { position: absolute; left: 10px; bottom: 8px; display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--ink); }
.vtile .lab .mic { color: var(--faint); display: inline-flex; }
.vtile .lab .mic.off { color: var(--red); }
.vtile .hand { position: absolute; right: 9px; top: 8px; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,234,171,0.16); color: var(--cream); display: grid; place-items: center; }
.vtile .sharing { position: absolute; right: 9px; top: 8px; font-size: 9.5px; font-family: var(--mono); color: var(--glow); background: rgba(36,86,230,0.2); padding: 2px 6px; border-radius: 3px; }
.voice-controls { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.voice-controls .ctrl { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--ink-2); display: grid; place-items: center; }
.voice-controls .ctrl:hover { background: var(--panel-3); color: var(--ink); }
.voice-controls .ctrl.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.voice-controls .ctrl.danger { background: #3a1417; border-color: #5a1f24; color: #ff9a9a; }
.voice-controls .ctrl .od-icon { --od-icon-size: 17px; }
.voice-controls .timer { font-family: var(--mono); font-size: 11px; color: var(--muted); padding-inline: 8px; }
.voice-side { display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.lobby-item { display: flex; align-items: center; gap: 9px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.lobby-item:last-child { border-bottom: 0; }
.lobby-item .nm { font-size: 12px; font-weight: 500; }
.lobby-item .sb { font-size: 10px; color: var(--faint); }
.chat-list { display: flex; flex-direction: column; gap: 10px; overflow-y: auto; flex: 1; padding: 12px; }
.chat-msg { font-size: 12px; display: flex; gap: 8px; }
.chat-msg .b { flex: 1; min-width: 0; }
.chat-msg .nm { font-weight: 520; font-size: 11.5px; }
.chat-msg .tm { font-size: 9.5px; color: var(--faint); font-family: var(--mono); margin-left: 5px; }
.chat-msg .tx { color: var(--ink-2); line-height: 1.5; margin-top: 2px; }
.chat-send { display: flex; gap: 6px; padding: 10px 12px; border-top: 1px solid var(--line); }

/* portal */
.portal { min-height: 100vh; display: flex; flex-direction: column; background: #08080a; }
.portal-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px clamp(16px, 4vw, 40px); border-bottom: 1px solid var(--line); }
.portal-main { flex: 1; width: 100%; max-width: 1120px; margin-inline: auto; padding: clamp(28px, 4vw, 48px) clamp(16px, 4vw, 40px) 64px; display: flex; flex-direction: column; gap: 20px; }
.portal-hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.portal-card { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); padding: 20px; }
.portal-hero .portal-card { display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.status-orb { position: relative; display: grid; place-items: center; padding: 8px; }
.status-orb svg { width: 100%; max-width: 180px; }
.portal-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; }
.timeline { display: flex; flex-direction: column; }
.tl-item { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; padding: 10px 0; align-items: start; position: relative; }
.tl-item::before { content: ""; position: absolute; left: 7px; top: 24px; bottom: -6px; width: 1px; background: var(--line-2); }
.tl-item:last-child::before { display: none; }
.tl-dot { width: 15px; height: 15px; border-radius: 50%; border: 1px solid var(--line-3); display: grid; place-items: center; margin-top: 2px; background: var(--bg); }
.tl-dot.done { background: var(--blue); border-color: var(--blue); color: #fff; }
.tl-dot.now { border-color: var(--glow); box-shadow: 0 0 0 4px rgba(125,157,255,0.14); }
.tl-item .t { font-size: 12.5px; font-weight: 500; }
.tl-item .s { font-size: 10.5px; color: var(--faint); }
.tl-item .d { font-size: 10.5px; color: var(--faint); font-family: var(--mono); }
.version-card { display: flex; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg-2); }
.version-card .th { width: 108px; aspect-ratio: 16/9; border-radius: 5px; overflow: hidden; flex: none; background: #000; }
.version-card .th img { width: 100%; height: 100%; object-fit: cover; }
.invoice-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.invoice-row:last-child { border-bottom: 0; }

/* admin charts */
.chart-box { position: relative; padding: 16px; }
.chart-box svg { display: block; width: 100%; height: auto; overflow: visible; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 11px; color: var(--muted); }
.legend i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; margin-right: 5px; }
.meter { height: 6px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--glow); }
.meter.green i { background: var(--green); } .meter.amber i { background: var(--amber); } .meter.red i { background: var(--red); }

/* settings */
.settings-layout { display: grid; grid-template-columns: 192px minmax(0, 1fr); gap: 28px; align-items: start; }
.settings-nav { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 0; }
.settings-nav button { text-align: left; padding: 8px 10px; border-radius: 7px; border: 0; background: transparent; color: var(--muted); font-size: 13px; }
.settings-nav button:hover { background: var(--panel-2); color: var(--ink-2); }
.settings-nav button[aria-selected="true"] { background: var(--panel-3); color: var(--ink); }
.setting-block { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--panel); margin-bottom: 12px; }
.setting-block .hd { padding: 14px 16px; border-bottom: 1px solid var(--line); }
.setting-block .hd h2 { font-size: 13px; font-weight: 540; }
.setting-block .hd p { font-size: 11.5px; color: var(--faint); margin-top: 3px; }
.setting-row { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.setting-row:last-child { border-bottom: 0; }
.setting-row .lab { flex: 1; min-width: 0; }
.setting-row .lab .t { font-size: 12.5px; font-weight: 500; }
.setting-row .lab .s { font-size: 11px; color: var(--faint); margin-top: 2px; }
.member { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.member:last-child { border-bottom: 0; }
.member .nm { font-size: 12.5px; font-weight: 500; }
.member .em { font-size: 10.5px; color: var(--faint); }
.device { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.device:last-child { border-bottom: 0; }
.device .ic { width: 30px; height: 30px; border-radius: 6px; background: var(--panel-3); display: grid; place-items: center; color: var(--ink-2); flex: none; }

/* dialogs, menus, toasts */
dialog.modal {
  border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--panel);
  color: var(--ink); padding: 0; width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 40px);
  box-shadow: 0 40px 120px rgba(0,0,0,0.7); margin: auto;
}
dialog.modal::backdrop { background: rgba(4,4,6,0.78); backdrop-filter: blur(4px); }
.modal-head { display: flex; align-items: flex-start; gap: 12px; padding: 18px 20px 14px; border-bottom: 1px solid var(--line); }
.modal-head h2 { font-size: 16px; font-weight: 550; letter-spacing: -0.02em; }
.modal-head p { font-size: 12px; color: var(--muted); margin-top: 3px; }
.modal-body { padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; max-height: 60vh; overflow-y: auto; }
.modal-foot { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 14px 20px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.modal-close { margin-left: auto; }

.toasts { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 10px; min-width: 260px; max-width: 360px;
  background: #14151a; border: 1px solid var(--line-3); border-radius: var(--r-sm);
  padding: 11px 13px; font-size: 12.5px; color: var(--ink); box-shadow: var(--shadow-2);
  animation: toastIn 240ms var(--ease) both; pointer-events: auto;
}
.toast .od-icon { --od-icon-size: 15px; color: var(--green); }
.toast.out { animation: toastOut 200ms var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(6px); } }

.menu {
  position: absolute; z-index: 70; min-width: 180px; padding: 5px;
  background: #15161a; border: 1px solid var(--line-3); border-radius: var(--r-sm);
  box-shadow: var(--shadow-2);
}
.menu button, .menu a {
  display: flex; align-items: center; gap: 8px; width: 100%; padding: 7px 9px;
  border: 0; background: transparent; color: var(--ink-2); font-size: 12.5px;
  border-radius: 5px; text-align: left; text-decoration: none;
}
.menu button:hover, .menu a:hover { background: var(--panel-3); color: var(--ink); text-decoration: none; }
.menu .sep { height: 1px; background: var(--line); margin: 4px 0; }
.menu .danger { color: var(--red); }

/* command palette */
.palette { width: min(620px, calc(100vw - 24px)); }
.palette .modal-head { padding: 12px 14px; align-items: center; }
.palette input { width: 100%; background: transparent; border: 0; color: var(--ink); font-size: 15px; outline: none; }
.palette .results { max-height: 380px; overflow-y: auto; padding: 6px; }
.palette .group-label { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); padding: 8px 10px 5px; }
.palette .result { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; background: transparent; color: var(--ink-2); font-size: 13px; border-radius: 6px; text-align: left; }
.palette .result .od-icon { --od-icon-size: 15px; color: var(--faint); }
.palette .result:hover, .palette .result.sel { background: var(--panel-3); color: var(--ink); }
.palette .result .k { margin-left: auto; font-size: 10px; color: var(--faint); }

/* utilities */
.mt-0 { margin-top: 0; } .mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }
.center { text-align: center; }
.hide { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.flex-1 { flex: 1; }
.gap-4 { gap: 4px; } .gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }

/* reveal on scroll */
.reveal { transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.reveal.pending { opacity: 0; transform: translateY(14px); }

@media (prefers-reduced-motion: reduce) {
  html, html.smooth-scroll { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal.pending { opacity: 1; transform: none; }
  .ring-spin { animation: none; }
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1.4fr repeat(2, minmax(0,1fr)); row-gap: 36px; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-grid { grid-template-columns: 1fr; }
  .kanban { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .split, .split.flip { grid-template-columns: 1fr; }
  .split.flip .split-copy { order: -1; }
  .price-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .quote-panel { grid-template-columns: 1fr; }
  .quote-media { min-height: 220px; border-left: 0; border-top: 1px solid var(--line-2); }
  .founding { grid-template-columns: 1fr; }
  .portal-hero, .portal-grid { grid-template-columns: 1fr; }
  .doc-layout { grid-template-columns: 1fr; gap: 24px; }
  .doc-nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .doc-nav h3, .doc-nav > div { display: none; }
  .settings-layout { grid-template-columns: 1fr; }
  .settings-nav { position: static; flex-direction: row; overflow-x: auto; }
  .voice-layout { grid-template-columns: 1fr; height: auto; }
  .voice-stage { min-height: 460px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .kanban { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; max-width: none; }
  .hero { padding-top: 32px; }
  .shot-note { display: none; }
  .pin { width: 20px; height: 20px; font-size: 10px; }
  .price .amount { font-size: 38px; }
  .data-table { font-size: 12px; }
  .data-table .hide-sm { display: none; }
  .page-head { flex-direction: column; align-items: stretch; }
  .work-meta .hide-sm { display: none; }
  .app-top { gap: 6px; }
  .voice-grid { grid-template-columns: 1fr; }
  .vtile.span2 { grid-column: span 1; }
  .review-stage { padding: 8px; }
  .film-caption { padding: 24px 14px 12px; }
}
@media (max-width: 420px) {
  .stat-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
}

/* ---------------------------------------------------------------- status page */
.status-banner { display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; border: 1px solid rgba(111,208,140,0.22); border-radius: var(--r-lg); background: linear-gradient(120deg, rgba(111,208,140,0.08), rgba(111,208,140,0.02) 60%); }
.status-banner .ic { width: 44px; height: 44px; border-radius: 50%; background: rgba(111,208,140,0.12); color: var(--green); display: grid; place-items: center; flex: none; box-shadow: 0 0 0 6px rgba(111,208,140,0.05); }
.status-banner .ic .od-icon { --od-icon-size: 20px; }
.status-banner h2 { font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -0.028em; }
.status-banner p { color: var(--muted); font-size: 13.5px; margin-top: 5px; max-width: 60ch; }
.status-group { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); overflow: hidden; }
.status-group .hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; background: var(--bg-2); }
.status-group .hd h3 { font-size: 10.5px; font-family: var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); font-weight: 400; }
.status-row { display: grid; grid-template-columns: minmax(0,1fr) 76px 216px; gap: 18px; align-items: center; padding: 13px 18px; border-top: 1px solid var(--line); }
.status-row .nm { font-size: 13px; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.status-row .nm .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex: none; }
.status-row .nm .dot.partial { background: var(--amber); }
.status-row .nm .dot.down { background: var(--red); }
.status-row .pct { font-family: var(--mono); font-size: 11px; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.uptime { display: flex; gap: 1px; align-items: flex-end; height: 26px; }
.uptime i { flex: 1; height: 100%; border-radius: 1.5px; background: rgba(111,208,140,0.55); min-width: 1px; }
.uptime i.partial { background: var(--amber); }
.uptime i.down { background: var(--red); }
.uptime i.none { background: var(--line-2); }
.status-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 11px; color: var(--faint); align-items: center; }
.status-legend span { display: inline-flex; align-items: center; gap: 6px; }
.status-legend i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.incident { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--panel); padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.incident .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.incident h3 { font-size: 13.5px; font-weight: 540; letter-spacing: -0.012em; }
.incident .when { font-family: var(--mono); font-size: 10.5px; color: var(--faint); }
.incident p { font-size: 12.5px; color: var(--muted); line-height: 1.65; }
.incident p strong { color: var(--ink-2); font-weight: 500; }
@media (max-width: 680px) {
  .status-row { grid-template-columns: minmax(0,1fr) auto; gap: 8px 14px; }
  .status-row .uptime { grid-column: 1 / -1; height: 20px; }
  .status-banner { flex-direction: column; gap: 14px; padding: 18px; }
}

/* case study figure */
.cs-figure { position: relative; border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; background: #0b0b0e; }
.cs-figure img { display: block; width: 100%; height: auto; }

/* ---------------------------------------------------------------- responsive fixes */
.doc-layout > * { min-width: 0; }
.doc-layout .card, .doc-layout pre { max-width: 100%; }
.crumb { min-width: 0; overflow: hidden; }
.crumb a, .crumb .now { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 15ch; }
@media (min-width: 561px) {
  .crumb a, .crumb .now { max-width: none; }
}
@media (max-width: 900px) {
  .doc-nav { flex-direction: row; flex-wrap: wrap; gap: 4px 16px; }
  .doc-nav h3 { display: none; }
  .doc-nav > div { display: flex; flex-wrap: wrap; gap: 4px 14px; }
  .doc-nav a { padding: 3px 0; font-size: 12px; }
}
@media (max-width: 560px) {
  .app-top { gap: 8px; padding-inline: 10px; }
  .top-actions { flex: none; gap: 4px; }
  .top-actions .btn-ghost, .top-actions > .pill { display: none; }
  .top-actions .avatar { display: none; }
  .review-top { gap: 6px; }
  .review-top .pill { display: none; }
}

@media (max-width: 680px) {
  .settings-nav { scrollbar-width: none; padding-bottom: 2px; }
  .settings-nav::-webkit-scrollbar { display: none; }
  .settings-nav button { white-space: nowrap; flex: none; }
  .setting-row { flex-wrap: wrap; gap: 10px; }
  .setting-row .lab { flex: 1 1 100%; }
  .setting-row .select { max-width: 100% !important; }
}

.setting-row .lab .t, .setting-row .lab .s { display: block; }

@media (max-width: 560px) {
  .portal-top { padding: 12px 14px; gap: 10px; }
  .portal-top .row > .hint, .portal-top .pill-ghost { display: none; }
  .portal-top .brand span[style] span:first-child { white-space: nowrap; }
}

[data-demo-success] h2:focus, [data-demo-success] h3:focus { outline: none; }

/* ================================================================ app refresh
   A quieter studio cockpit: fewer competing boxes, clearer type hierarchy,
   warmer surfaces, and a single cobalt action colour.
   ------------------------------------------------------------------------- */
body.app-body {
  font-size: 14px;
  background:
    radial-gradient(1000px 620px at 82% -12%, rgba(36,86,230,0.12), transparent 64%),
    radial-gradient(760px 520px at 6% 108%, rgba(125,157,255,0.05), transparent 70%),
    #09090b;
}
body.app-body ::selection { background: rgba(125,157,255,0.28); color: #fff; }
body.app-body :focus-visible { outline: 2px solid var(--glow); outline-offset: 2px; }
body.app-body .btn {
  border-radius: 9px; min-height: 38px; padding: 9px 15px; font-size: 13.5px;
}
body.app-body .btn-sm { min-height: 34px; padding: 7px 12px; font-size: 12.5px; border-radius: 8px; }
body.app-body .btn-icon { width: 34px; height: 34px; min-height: 34px; border-radius: 8px; }
body.app-body .btn-primary {
  background: linear-gradient(180deg, #3364ee 0%, #2456e6 55%, #1f4cd2 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.22) inset, 0 6px 18px rgba(36,86,230,0.22);
}
body.app-body .btn-primary:hover {
  background: linear-gradient(180deg, #4271f4 0%, #2c5eec 55%, #2456e6 100%);
}
body.app-body .btn-ghost { background: rgba(255,255,255,0.028); }
body.app-body .input, body.app-body .select, body.app-body .textarea { font-size: 13.5px; }

/* shell */
@media (min-width: 1041px) {
  .app { grid-template-columns: 248px minmax(0, 1fr); }
}
.app-side {
  background: linear-gradient(180deg, #0c0d10 0%, #09090c 100%);
  border-right-color: rgba(255,255,255,0.06);
}
.side-head { padding: 14px 12px 12px; }
.ws-switch {
  padding: 7px 8px; border-radius: 10px; border-color: rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.025);
}
.ws-switch:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.11); }
.ws-badge {
  width: 28px; height: 28px; border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), 0 5px 14px rgba(36,86,230,0.3);
}
.ws-name { font-size: 13.5px; }
.ws-sub { font-size: 10.5px; color: var(--muted); }
.side-scroll { padding: 6px 10px 14px; scrollbar-width: thin; }
.nav-group { margin-top: 16px; }
.nav-group > .g-label { color: #74747e; padding: 0 10px 7px; font-size: 9.5px; }
.app-nav { gap: 2px; }
.app-nav a {
  min-height: 34px; padding: 8px 10px; border-radius: 8px;
  font-size: 13px; gap: 10px;
}
.app-nav a .od-icon { --od-icon-size: 16px; color: #74747e; }
.app-nav a:hover { background: rgba(255,255,255,0.045); }
.app-nav a:hover .od-icon { color: var(--ink-2); }
.app-nav a[aria-current="page"] {
  background: linear-gradient(90deg, rgba(36,86,230,0.22), rgba(36,86,230,0.055));
  color: #fff; font-weight: 520;
}
.app-nav a[aria-current="page"] .od-icon { color: var(--glow); }
.app-nav a[aria-current="page"]::before {
  top: 8px; bottom: 8px; width: 2px; background: var(--glow);
  box-shadow: 0 0 10px rgba(125,157,255,0.55);
}
.app-nav .count { font-size: 10.5px; color: #777781; }
.room-row { padding: 7px 10px; border-radius: 8px; font-size: 12.5px; }
.side-foot { padding: 10px; border-top-color: rgba(255,255,255,0.06); background: rgba(255,255,255,0.012); }
.side-user { padding: 8px; border-radius: 9px; }
.side-user:hover { background: rgba(255,255,255,0.045); }
.side-user .nm { font-size: 13px; }
.side-user .rl { font-size: 10.5px; color: var(--muted); }

/* top bar */
.app-top {
  height: 60px; gap: 14px; padding-inline: 24px;
  border-bottom-color: rgba(255,255,255,0.06);
  background: rgba(9,9,11,0.8);
  backdrop-filter: blur(18px) saturate(1.2);
}
.crumb { font-size: 12.5px; gap: 8px; }
.crumb a:hover { color: var(--ink-2); text-decoration: none; }
.top-search {
  max-width: 380px; height: 34px; padding: 0 10px; border-radius: 9px;
  background: rgba(255,255,255,0.028); border-color: rgba(255,255,255,0.075);
  font-size: 12.5px;
}
.top-search:hover { background: rgba(255,255,255,0.045); border-color: rgba(255,255,255,0.12); }
.top-search kbd {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 5px; padding: 2px 5px; font-size: 10px; color: var(--muted);
}
.app-page { padding: 30px 32px 64px; max-width: 1340px; }
.page-head { margin-bottom: 26px; align-items: flex-end; }
.page-head h1 {
  font-size: clamp(28px, 2.5vw, 36px); font-weight: 560; letter-spacing: -0.038em;
  line-height: 1.08;
}
.page-head .sub { font-size: 13.5px; color: var(--muted); margin-top: 7px; line-height: 1.55; }
.page-head .app-eyebrow {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--glow); margin-bottom: 8px;
}
.head-actions { gap: 8px; }

/* summary strip */
.stat-grid {
  gap: 0; border: 1px solid rgba(255,255,255,0.07); border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.032), rgba(255,255,255,0) 58%), var(--panel);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255,255,255,0.03) inset, 0 18px 44px -30px rgba(0,0,0,0.8);
}
.stat {
  border: 0; border-right: 1px solid rgba(255,255,255,0.06); border-radius: 0;
  background: transparent; padding: 16px 18px 15px; min-height: 118px; gap: 8px;
}
.stat:last-child { border-right: 0; }
.stat .k { font-size: 11.5px; color: var(--muted); }
.stat .ic {
  width: 26px; height: 26px; border-radius: 7px; border-color: rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.028); color: #777781;
}
.stat .v { font-size: 31px; font-weight: 560; letter-spacing: -0.05em; }
.stat .foot { font-size: 11px; color: var(--faint); line-height: 1.45; }
.stat .foot .up { color: var(--green); }

/* surfaces */
.panel {
  border-color: rgba(255,255,255,0.065); border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0) 92px), var(--panel);
  box-shadow: 0 1px 0 rgba(255,255,255,0.025) inset;
}
.panel-head {
  padding: 14px 18px; border-bottom-color: rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.008);
}
.panel-head h2 { font-size: 13.5px; font-weight: 560; letter-spacing: -0.014em; }
.panel-head .more { font-size: 11.5px; color: var(--muted); }
.panel-head .more:hover { color: var(--ink); }
.panel-body { padding: 18px; }
.dash-grid { gap: 14px; margin-top: 14px; }
.dash-main, .dash-side { gap: 14px; }

/* dashboard rows */
.work-row { padding: 13px 18px; gap: 14px; border-bottom-color: rgba(255,255,255,0.055); }
.work-row:hover { background: rgba(255,255,255,0.024); }
.work-thumb { width: 58px; height: 38px; border-radius: 8px; }
.work-name { display: block; font-size: 13px; font-weight: 520; letter-spacing: -0.012em; }
.work-sub { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }
.work-meta { gap: 16px; font-size: 11px; }
.plan-item { padding: 12px 18px; font-size: 13px; }
.plan-item .t { font-size: 12.5px; }
.plan-time { font-size: 10px; color: var(--muted); }
.decision-row { padding: 14px 18px; gap: 12px; border-bottom-color: rgba(255,255,255,0.055); }
.decision-row:hover { background: rgba(255,255,255,0.02); }
.decision-row .ic { width: 30px; height: 30px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.06); }
.decision-row .t { font-size: 13px; }
.decision-row .s { font-size: 11px; color: var(--muted); margin-top: 2px; }

/* feature band */
.showcase {
  min-height: 196px; border-radius: 14px; padding: 22px; border-color: rgba(255,255,255,0.08);
}
.showcase img { opacity: 0.5; }
.showcase::after { background: linear-gradient(90deg, rgba(7,7,9,0.92) 8%, rgba(7,7,9,0.32) 64%, rgba(7,7,9,0.1)); }
.showcase .inner { max-width: 62%; gap: 9px; }
.showcase .k { font-size: 10px; color: var(--cream); }
.showcase .t { font-size: 20px; font-weight: 540; }
.cream-card {
  border-radius: 14px; padding: 20px; gap: 11px;
  background: linear-gradient(145deg, #ffeeb4 0%, #f7d88c 100%);
  box-shadow: 0 18px 44px -28px rgba(247,216,140,0.55);
}
.cream-card .t { font-size: 19px; font-weight: 560; }
.cream-card .p { font-size: 12.5px; line-height: 1.55; color: rgba(26,22,8,0.68); }
.cream-card .link { font-size: 12px; }

/* tables and filters */
.data-table { font-size: 13px; }
.data-table thead th {
  font-size: 10px; letter-spacing: 0.09em; color: #7d7d87; padding: 11px 16px;
  border-bottom-color: rgba(255,255,255,0.07); background: rgba(255,255,255,0.012);
}
.data-table thead th:first-child, .data-table tbody td:first-child { padding-left: 18px; }
.data-table td { padding: 14px 16px; border-bottom-color: rgba(255,255,255,0.05); }
.data-table tbody tr:hover { background: rgba(255,255,255,0.026); }
.data-table .client { font-weight: 520; }
.data-table .actions { gap: 4px; }
.filters { padding: 12px 18px; border-bottom-color: rgba(255,255,255,0.06); gap: 7px; }
.chip {
  padding: 6px 12px; min-height: 30px; font-size: 12px; border-color: rgba(255,255,255,0.08);
  color: var(--muted);
}
.chip:hover { border-color: rgba(255,255,255,0.16); }
.chip[aria-pressed="true"] {
  background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.16);
  color: var(--ink); box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset;
}

/* project lanes */
.kanban { gap: 14px; }
.kanban-col {
  background: rgba(255,255,255,0.016); border-color: rgba(255,255,255,0.06);
  border-radius: 14px; min-height: 120px;
}
.kanban-col.over { background: rgba(36,86,230,0.08); border-color: rgba(125,157,255,0.5); }
.kanban-head {
  padding: 12px 14px; border-bottom-color: rgba(255,255,255,0.055);
  background: rgba(14,15,18,0.92); backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 2; border-radius: 14px 14px 0 0;
}
.kanban-head .t { font-size: 12.5px; font-weight: 560; color: var(--ink); }
.kanban-head .t::before {
  content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  margin-right: 7px; vertical-align: 1px; background: #767680;
}
.kanban-col:nth-child(2) .kanban-head .t::before { background: var(--glow); }
.kanban-col:nth-child(3) .kanban-head .t::before { background: var(--amber); }
.kanban-col:nth-child(4) .kanban-head .t::before { background: var(--green); }
.kanban-col:nth-child(5) .kanban-head .t::before { background: #4f4f58; }
.kanban-head .c { font-size: 10.5px; color: #777781; }
.kanban-head .add { border-radius: 6px; }
.kanban-list { padding: 10px; gap: 10px; min-height: 68px; }
.pcard {
  padding: 9px; gap: 9px; border-radius: 10px; border-color: rgba(255,255,255,0.07);
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012)), var(--panel-2);
  box-shadow: 0 1px 2px rgba(0,0,0,0.22);
}
.pcard:hover { transform: translateY(-1px); border-color: rgba(255,255,255,0.16); background: var(--panel-3); }
.pcard .thumb { aspect-ratio: 16 / 10; border-radius: 7px; }
.pcard .nm { font-size: 12.5px; font-weight: 540; }
.pcard .cl { font-size: 11px; color: var(--muted); }
.empty-col { margin: 10px; padding: 20px 12px; border-color: rgba(255,255,255,0.08); font-size: 11.5px; }

/* review theatre */
@media (min-width: 901px) {
  .review-layout { grid-template-columns: 236px minmax(0, 1fr) 340px; height: calc(100vh - 60px); }
  .voice-layout { height: calc(100vh - 60px); }
}
.review-rail { background: #0a0b0e; border-right-color: rgba(255,255,255,0.06); padding: 14px 12px; }
.asset-item { padding: 9px; border-radius: 9px; gap: 10px; }
.asset-item .th { width: 58px; height: 36px; border-radius: 6px; }
.asset-item[aria-current="true"] {
  background: linear-gradient(90deg, rgba(36,86,230,0.16), rgba(36,86,230,0.04));
  border-color: rgba(255,255,255,0.08);
}
.asset-item .n { font-size: 12px; }
.review-main { background: #060608; }
.review-top { padding: 12px 16px; border-bottom-color: rgba(255,255,255,0.06); background: #0a0b0e; }
.review-title { font-size: 13.5px; }
.review-stage { padding: 20px; }
.stage-box { border-radius: 14px; border-color: rgba(255,255,255,0.09); box-shadow: 0 30px 90px -40px rgba(0,0,0,0.9); }
.player-bar { padding: 12px 18px 16px; background: #0a0b0e; border-top-color: rgba(255,255,255,0.06); }
.scrub-track { height: 5px; }
.scrub-head { width: 11px; height: 11px; }
.notes-panel { background: #0a0b0e; border-left-color: rgba(255,255,255,0.06); }
.notes-head { padding: 13px 16px; border-bottom-color: rgba(255,255,255,0.06); }
.note { padding: 12px; border-radius: 9px; border-color: rgba(255,255,255,0.07); background: rgba(255,255,255,0.02); }
.note .body { font-size: 12.5px; }
.notes-compose { padding: 12px 14px; border-top-color: rgba(255,255,255,0.06); }

/* voice room */
.voice-layout { gap: 14px; padding: 14px; }
.voice-stage { background: #07080a; border-radius: 14px; border-color: rgba(255,255,255,0.07); }
.voice-grid { gap: 10px; padding: 14px; }
.vtile { border-radius: 10px; border-color: rgba(255,255,255,0.07); }
.vtile.speaking { border-color: rgba(125,157,255,0.7); box-shadow: 0 0 0 1px rgba(125,157,255,0.4), 0 0 24px rgba(36,86,230,0.16); }
.voice-controls {
  padding: 12px 14px; gap: 9px; border-top-color: rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.012);
}
.voice-controls .ctrl { width: 44px; height: 44px; border-color: rgba(255,255,255,0.08); }
.voice-controls .ctrl.on { box-shadow: 0 6px 18px rgba(36,86,230,0.3); }
.lobby-item { padding: 10px 0; border-bottom-color: rgba(255,255,255,0.055); }
.chat-msg { font-size: 12.5px; }

/* settings */
@media (min-width: 901px) {
  .settings-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 34px; }
}
.settings-nav { gap: 3px; }
.settings-nav button {
  padding: 9px 12px; border-radius: 8px; font-size: 13px; position: relative;
}
.settings-nav button[aria-selected="true"] {
  background: linear-gradient(90deg, rgba(36,86,230,0.18), rgba(36,86,230,0.035));
  color: var(--ink);
}
.settings-nav button[aria-selected="true"]::before {
  content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px;
  border-radius: 2px; background: var(--glow);
}
.setting-block {
  border-color: rgba(255,255,255,0.065); border-radius: 14px; margin-bottom: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0) 90px), var(--panel);
  overflow: hidden;
}
.setting-block .hd { padding: 16px 18px; border-bottom-color: rgba(255,255,255,0.06); }
.setting-block .hd h2 { font-size: 14px; font-weight: 560; }
.setting-block .hd p { font-size: 12px; color: var(--muted); margin-top: 4px; }
.setting-row { padding: 16px 18px; border-bottom-color: rgba(255,255,255,0.055); }
.setting-row .lab .t { font-size: 13px; font-weight: 520; }
.setting-row .lab .s { font-size: 11.5px; color: var(--muted); line-height: 1.5; }
.member { padding: 12px 18px; border-bottom-color: rgba(255,255,255,0.055); }
.member .nm { font-size: 13px; }
.member .em { font-size: 11px; color: var(--muted); }
.device { padding: 13px 18px; border-bottom-color: rgba(255,255,255,0.055); }
.device .ic { border-radius: 8px; border: 1px solid rgba(255,255,255,0.06); }

/* dialogs */
body.app-body dialog.modal {
  border-color: rgba(255,255,255,0.1); border-radius: 16px;
  background: linear-gradient(180deg, #121317, #0e0f12);
  box-shadow: 0 50px 140px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.02) inset;
}
body.app-body .modal-head { padding: 20px 22px 16px; border-bottom-color: rgba(255,255,255,0.06); }
body.app-body .modal-head h2 { font-size: 18px; font-weight: 560; }
body.app-body .modal-head p { font-size: 12.5px; color: var(--muted); }
body.app-body .modal-body { padding: 20px 22px; gap: 16px; }
body.app-body .modal-foot { padding: 16px 22px; border-top-color: rgba(255,255,255,0.06); background: rgba(255,255,255,0.012); }
body.app-body .modal-body .input, body.app-body .modal-body .select, body.app-body .modal-body .textarea {
  background: #0b0b0e;
}

/* scrollbars */
.app-scroll::-webkit-scrollbar, .side-scroll::-webkit-scrollbar,
.notes-list::-webkit-scrollbar, .chat-list::-webkit-scrollbar, .review-rail::-webkit-scrollbar {
  width: 10px; height: 10px;
}
.app-scroll::-webkit-scrollbar-thumb, .side-scroll::-webkit-scrollbar-thumb,
.notes-list::-webkit-scrollbar-thumb, .chat-list::-webkit-scrollbar-thumb, .review-rail::-webkit-scrollbar-thumb {
  background: #26262c; border-radius: 999px; border: 3px solid transparent;
  background-clip: padding-box;
}
.app-scroll::-webkit-scrollbar-track, .side-scroll::-webkit-scrollbar-track { background: transparent; }

/* app-specific responsive corrections */
@media (max-width: 1040px) {
  .app-page { padding: 22px 20px 52px; }
  .app-top { height: 58px; }
  .top-search { height: 34px; }
}
@media (max-width: 680px) {
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat { min-height: 104px; padding: 14px; }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.06); }
  .stat .v { font-size: 28px; }
  .page-head { margin-bottom: 20px; }
  .page-head h1 { font-size: 28px; }
  .page-head .sub { font-size: 12.5px; }
  .app-page { padding: 20px 14px 46px; }
  .panel-head { padding: 13px 14px; }
  .work-row, .decision-row, .plan-item { padding-inline: 14px; }
  .work-thumb { width: 48px; height: 32px; }
  .work-meta { gap: 10px; }
  .kanban { gap: 12px; }
  .kanban-head { position: static; }
  .showcase { min-height: 176px; padding: 18px; }
  .showcase .t { font-size: 18px; }
  .showcase .inner { max-width: 78%; }
  .cream-card { padding: 18px; }
}
@media (max-width: 400px) {
  .work-meta .progress-mini { display: none; }
  .head-actions { width: 100%; }
}
/* icon buttons must keep their square hit area after the app button refresh */
body.app-body .btn-icon { padding: 0; gap: 0; width: 34px; height: 34px; min-height: 34px; }
body.app-body .btn-icon .od-icon { --od-icon-size: 16px; }
/* narrow app header + payment filters */
@media (max-width: 640px) {
  .app-top { padding-inline: 12px; gap: 10px; }
  .crumb a, .crumb .sep { display: none; }
  .crumb .now { max-width: 22ch; }
  .tab-hint { display: none; }
  .filters > .filter-search { flex: 1 1 100% !important; max-width: none !important; }
  .filters > .row {
    margin-left: 0 !important; width: 100%; flex-wrap: nowrap;
    overflow-x: auto; padding-bottom: 2px; scrollbar-width: none;
  }
  .filters > .row::-webkit-scrollbar { display: none; }
}
/* founding card + reminders */
.founding-card {
  background: linear-gradient(155deg, rgba(255,234,171,0.10), rgba(255,234,171,0.025) 60%), var(--panel);
  border: 1px solid rgba(255,234,171,0.22);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset;
  color: var(--ink);
}
.founding-card .k { color: var(--cream); }
.founding-card .t { color: var(--ink); }
.founding-card .p { color: var(--muted); }
.founding-card .link { color: var(--cream); }
.founding-card .link:hover { color: #fff2c8; }
.plan-item input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; width: 16px; height: 16px; flex: none;
  border: 1px solid var(--line-3); border-radius: 4px; margin: 2px 0 0;
  background: rgba(255,255,255,0.03); cursor: pointer; position: relative;
  transition: background-color var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.plan-item input[type="checkbox"]:hover { border-color: var(--glow); }
.plan-item input[type="checkbox"]:checked { background: var(--blue); border-color: var(--blue); }
.plan-item input[type="checkbox"]:checked::after {
  content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px;
  border: solid #fff; border-width: 0 1.6px 1.6px 0; transform: rotate(42deg);
}
.plan-item label, .plan-item { transition: background-color var(--fast) var(--ease); }
label.plan-item:hover { background: rgba(255,255,255,0.02); }
/* Site form send errors (real forms, data-orbit-form) */
.form-error { margin: 0; font-size: 12.5px; color: var(--red); }
.form-error[hidden] { display: none; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Live status: neutral until a real check answers (orbit.js initLive). */
.status-inline[href] { text-decoration: none; }
.status-inline [data-live-dot]:not([data-state="operational"]) { background: var(--faint); box-shadow: 0 0 0 3px rgba(99,99,107,0.18); }
.status-inline [data-live-dot][data-state="degraded"] { background: var(--amber); box-shadow: 0 0 0 3px rgba(240,194,100,0.16); }

/* "Coming" marks a planned feature: honest, and visually quieter than the shipped ones. */
.soon {
  display: inline-flex; align-items: center; margin-left: 6px; padding: 1px 7px; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--muted); font-family: var(--mono); font-size: 10px;
  font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; vertical-align: 2px;
}

/* Live status rows (status.html): two columns, dot follows the real check. */
.status-row[data-live-check] { grid-template-columns: minmax(0,1fr) auto; }
.status-row[data-live-check] .pct { text-align: right; width: auto; }
.status-row[data-live-check]:not([data-state="operational"]) .nm .dot { background: var(--faint); }
.status-row[data-live-check][data-state="degraded"] .nm .dot { background: var(--amber); }
.status-banner[data-live-check]:not([data-state="operational"]) .ic { color: var(--muted); background: rgba(255,255,255,0.04); border-color: var(--line-2); }

/* App tour pages: always say it's a demo with sample data. */
.demo-ribbon { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 90; max-width: calc(100vw - 32px);
  padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(13,13,16,0.92);
  color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 10px 30px rgba(0,0,0,0.45); }
.demo-ribbon a { color: var(--ink-2); }
.feature-list .soon, .soon { display: inline-flex !important; width: auto !important; margin-top: 0 !important; font-size: 10px !important; line-height: 16px; color: var(--muted) !important; }

/* ---------------- product demos (assets/demos, built from demos-src) ---------------- */
.demo { position: relative; width: 100%; border-radius: var(--r-lg, 14px); overflow: hidden; background: #0d0d10; box-shadow: 0 0 0 1px var(--line); }
.demo > img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* The compact design is taller than the wide one; the stage sets its own height */
.demo:has(.ss-stage) { aspect-ratio: auto !important; }

/* footer newsletter */
.footer-news { display: flex; gap: 8px; align-items: flex-start; margin-top: 16px; max-width: 340px; }
.footer-news .field { flex: 1; min-width: 0; }
.footer-news .input { min-height: 34px; padding-block: 6px; font-size: 13px; }

/* ---------------- account: sign-in and the online studio ---------------- */
.account-section { padding-top: clamp(32px, 5vw, 64px); min-height: 62vh; }
.account-narrow { max-width: 480px; }
.account-card { padding: clamp(22px, 3vw, 30px); }
.account-show { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2); cursor: pointer; }
.account-show input { width: 16px; height: 16px; accent-color: var(--blue); }
.account-loading { padding: 40px 0; }
.account-note { margin-top: 6px; color: var(--amber, #f5b84a); }
[data-account-root] h1[tabindex="-1"]:focus { outline: none; }
.link-button { padding: 0; border: 0; background: none; color: var(--blue-ink, #8fb0ff); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.nav-who { font-size: 13.5px; color: var(--ink-2); padding-inline: 6px; }

.account-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; flex-wrap: wrap; }
.account-picker { width: auto; min-width: 180px; max-width: 260px; min-height: 36px; height: 36px; padding-block: 0; font-size: 13px; background-color: var(--panel); }
.account-picker:focus:not(:focus-visible) { box-shadow: none; border-color: var(--line-2); }
.account-live[data-state="error"] { color: var(--amber, #f5b84a); }

/* Status pills: the app's labels and colours, in the page's own type */
.account-status { --tone: 161,161,170; display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; background: rgba(var(--tone), 0.12); color: rgb(var(--tone)); font: 520 12px/1 var(--font); white-space: nowrap; }
.account-status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.account-status[data-tone="working"] { --tone: 96,165,250; }
.account-status[data-tone="review"] { --tone: 251,191,36; }
.account-status[data-tone="done"] { --tone: 74,222,128; }
.account-status[data-tone="closed"] { --tone: 142,142,150; } /* grey: red is kept for what needs attention */

.account-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.account-stat { display: grid; gap: 6px; padding: 16px 18px; }
.account-stat .label { font-size: 12px; color: var(--muted); }
.account-stat .value { font-size: 28px; font-weight: 560; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--ink); }
.account-stat .sub { font-size: 12px; color: var(--muted); }
.account-stat[data-tone="warn"] .sub { color: var(--amber, #f5b84a); }

/* Money that's late comes first */
.account-alert { padding: 18px 20px; border-color: rgba(245, 184, 74, 0.35); background: linear-gradient(rgba(245, 184, 74, 0.06), rgba(245, 184, 74, 0.02)); }
.account-alert-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.account-alert-head h2 { font-size: 20px; font-weight: 580; color: var(--amber, #f5b84a); letter-spacing: -0.01em; }
.account-owed li { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) 76px 120px 128px; gap: 16px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13px; }
.account-owed .what { display: grid; gap: 2px; min-width: 0; }
.account-owed strong { color: var(--ink); font-weight: 520; }
.account-owed small { font-size: 11.5px; color: var(--muted); }
.account-owed .when { font-size: 12px; color: var(--muted); }
.account-owed .btn { justify-self: end; }
.account-owed .amount { text-align: right; font-weight: 560; color: var(--ink); font-variant-numeric: tabular-nums; }
.account-alert .hint { margin-top: 8px; }

.account-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.account-panel { padding: 18px; }
.account-panel h2 { font-size: 14px; font-weight: 560; margin-bottom: 10px; }
.account-panel h3 { font-size: 12px; font-weight: 560; color: var(--muted); margin-bottom: 8px; }

.account-table .tr { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr) minmax(0, 1.2fr) 70px 14px; gap: 10px; align-items: center; width: calc(100% + 16px); padding: 10px 8px; margin: 0 -8px; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; color: var(--ink-2); font: inherit; font-size: 13px; text-align: left; box-sizing: border-box; }
.account-table[data-finance] .tr { grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr) minmax(0, 1.2fr) 70px 76px 14px; }
.account-table .chev { justify-self: end; width: 7px; height: 7px; margin-right: 2px; border: solid var(--muted); border-width: 0 1.6px 1.6px 0; transform: rotate(45deg) translateY(-2px); transition: transform 160ms var(--ease); }
.account-table button.tr[aria-expanded="true"] .chev { transform: rotate(-135deg) translateY(-2px); }
.account-panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.account-panel-head h2 { margin-bottom: 0; }
.account-table button.tr { cursor: pointer; transition: background-color 140ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .account-table button.tr:hover { background: var(--panel-2); } }
.account-table button.tr[aria-expanded="true"] { background: var(--panel-2); }
.account-table .tr.th { border-top: 0; padding-top: 0; font-size: 11.5px; color: var(--muted); }
.account-table .name { display: grid; gap: 2px; min-width: 0; }
.account-table .name strong { color: var(--ink); font-weight: 520; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-table .name small { font-size: 11.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.account-table .loose { color: var(--muted); font-size: 12px; }
.account-table .late, .account-list .late, .account-owed .late, .account-money .late { color: var(--amber, #f5b84a); }

.account-detail { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; width: calc(100% + 16px); box-sizing: border-box; padding: 14px 8px 18px; margin: 0 -8px; background: var(--panel-2); border-radius: 0 0 10px 10px; }
.account-tasks li { list-style: none; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; padding: 7px 0; font-size: 13px; color: var(--ink); }
.account-tasks li[data-done] .what > span { color: var(--muted); text-decoration: line-through; }
.account-tasks .what { display: grid; gap: 2px; min-width: 0; }
.account-tasks small { font-size: 11.5px; color: var(--muted); }
.account-check { width: 18px; height: 18px; margin-top: 1px; padding: 0; border: 1.5px solid #3a3a40; border-radius: 5px; background: transparent; cursor: pointer; position: relative; transition: background-color 140ms var(--ease), border-color 140ms var(--ease); }
.account-check[aria-checked="true"] { background: #2456e6; border-color: #2456e6; }
.account-check[aria-checked="true"]::after { content: ""; position: absolute; left: 5px; top: 1.5px; width: 4px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.account-check:disabled { opacity: 0.5; cursor: progress; }
.account-check[data-static] { cursor: default; }
.account-money { display: grid; grid-template-columns: auto auto; gap: 6px 16px; font-size: 13px; }
.account-money dt { color: var(--muted); }
.account-money dd { margin: 0; text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }
.account-pays { margin-top: 12px; display: grid; gap: 4px; }
.account-pays li { list-style: none; display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }

.account-list li { list-style: none; display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13px; }
.account-list li:first-child { border-top: 0; }
.account-list .when { color: var(--muted); font-variant-numeric: tabular-nums; }
.account-list .what { display: grid; gap: 2px; min-width: 0; }
.account-list strong { color: var(--ink); font-weight: 520; }
.account-list small { font-size: 11.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.account-devices .account-list li { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }

.account-toast { position: fixed; left: 50%; bottom: 24px; z-index: 50; transform: translate(-50%, 12px); padding: 10px 16px; border-radius: 10px; background: var(--panel-4); color: var(--ink); font-size: 13px; box-shadow: 0 0 0 1px var(--line-2), 0 16px 40px rgba(0, 0, 0, 0.5); opacity: 0; pointer-events: none; transition: opacity 200ms var(--ease), transform 220ms var(--ease); }
.account-toast[data-show] { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 960px) {
  .account-grid { grid-template-columns: 1fr; }
  .account-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .account-stat { padding: 14px; }
  .account-stat .value { font-size: 24px; }
  /* Phone: each project is a two-line card: name and status, then due and owed */
  .account-table .tr.th { display: none; }
  .account-table .tr, .account-table[data-finance] .tr { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name status" "due owed"; row-gap: 6px; }
  .account-table .tr > :nth-child(1) { grid-area: name; }
  .account-table .tr > :nth-child(2) { grid-area: status; }
  .account-table .tr > :nth-child(3) { grid-area: due; font-size: 12px; }
  .account-table .tr > :nth-child(4) { display: none; }
  .account-table .tr > :nth-child(5) { grid-area: owed; font-size: 12px; }
  .account-table .chev { display: none; }
  .account-detail { grid-template-columns: 1fr; }
  .account-owed li { grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; }
  .account-owed .btn { grid-column: 1 / -1; justify-self: start; }
  .nav-who { display: none; }
}
@media (prefers-reduced-motion: reduce) { .account-toast { transition: opacity 120ms linear; transform: translate(-50%, 0); } }

/* Studio page: search, bell, versions */
.account-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.account-search-btn { gap: 10px; color: var(--ink-2); }
.account-search-btn kbd { font: 500 11px/1 var(--font); color: var(--muted); padding: 3px 5px; border-radius: 5px; box-shadow: inset 0 0 0 1px var(--line-2); }
.account-bell { position: relative; }
.account-bell-btn { position: relative; width: 36px; padding: 0; justify-content: center; }
.bell-icon { width: 15px; height: 15px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9'/%3E%3Cpath d='M10.3 21a1.9 1.9 0 0 0 3.4 0'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9'/%3E%3Cpath d='M10.3 21a1.9 1.9 0 0 0 3.4 0'/%3E%3C/svg%3E") center / contain no-repeat; }
.bell-count { position: absolute; top: -5px; right: -5px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: #2456e6; color: #fff; font: 600 10px/17px var(--font); text-align: center; }
.account-bell-panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; width: min(360px, calc(100vw - 32px)); max-height: 440px; overflow: auto; padding: 14px; border-radius: 12px; background: var(--panel-2); box-shadow: 0 0 0 1px var(--line-2), 0 20px 50px rgba(0, 0, 0, 0.55); }
.account-notes li { list-style: none; border-top: 1px solid var(--line); }
.account-notes li:first-child { border-top: 0; }
.account-notes button { display: grid; gap: 3px; width: 100%; padding: 10px 8px 10px 14px; border: 0; background: none; color: var(--ink-2); font: inherit; font-size: 12.5px; text-align: left; cursor: pointer; position: relative; border-radius: 8px; }
@media (hover: hover) and (pointer: fine) { .account-notes button:hover { background: var(--panel-3); } }
.account-notes strong { color: var(--ink); font-weight: 520; font-size: 13px; }
.account-notes small { color: var(--muted); font-size: 11px; }
.account-notes li[data-unread] button::before { content: ""; position: absolute; left: 3px; top: 16px; width: 6px; height: 6px; border-radius: 50%; background: #2456e6; }
.account-notes li[data-severity="urgent"] strong { color: var(--amber, #f5b84a); }

.account-search { position: fixed; inset: 0; z-index: 60; display: grid; place-items: start center; padding: 12vh 16px 16px; background: rgba(5, 5, 7, 0.6); }
.account-search-box { width: min(560px, 100%); padding: 10px; border-radius: 14px; background: var(--panel-2); box-shadow: 0 0 0 1px var(--line-2), 0 30px 80px rgba(0, 0, 0, 0.6); }
.account-search-box .input { width: 100%; }
.account-search-results { margin-top: 8px; max-height: 50vh; overflow: auto; }
.account-search-results li { list-style: none; display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; align-items: center; padding: 9px 10px; border-radius: 8px; cursor: pointer; font-size: 13px; }
.account-search-results li[aria-selected="true"] { background: var(--panel-4); }
.account-search-results li.empty { display: block; color: var(--muted); cursor: default; }
.account-search-results .kind { font-size: 11px; color: var(--muted); }
.account-search-results .what { display: grid; gap: 2px; min-width: 0; }
.account-search-results strong { color: var(--ink); font-weight: 520; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-search-results small { font-size: 11.5px; color: var(--muted); }

.account-detail { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.account-versions li { list-style: none; display: grid; gap: 6px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; }
.account-versions li:first-child { border-top: 0; padding-top: 0; }
.account-versions .what { display: grid; gap: 2px; min-width: 0; }
.account-versions strong { color: var(--ink); font-weight: 520; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-versions small { font-size: 11.5px; color: var(--muted); }
.account-versions .account-status { justify-self: start; }
.account-versions .hint { margin-top: 8px; }
@media (max-width: 640px) {
  .account-tools { width: 100%; }
  .account-search-btn kbd { display: none; }
  .account-picker { flex: 1; max-width: none; }
}

.account-bell-panel h2 { font-size: 14px; font-weight: 560; letter-spacing: 0; }

/* Ask Orbit: a page of the studio site, drawn in the studio page's language (the hero
   glow, mono eyebrows, editorial type with one cream word, panels like "Coming up") */
.ask-open, .ask-open body { overflow: hidden; }
.ask-shell {
  position: fixed; inset: 0; z-index: 60;
  display: grid; grid-template-rows: auto minmax(0, 1fr);
  background: var(--bg); color: var(--ink);
  animation: ask-in 220ms var(--ease) both;
}
.ask-shell::before {
  content: ""; position: absolute; inset: -20% -8% auto -8%; height: 90%;
  background:
    radial-gradient(40% 46% at 78% 18%, rgba(36,86,230,0.2) 0%, rgba(36,86,230,0) 70%),
    radial-gradient(36% 40% at 12% 6%, rgba(255,234,171,0.05) 0%, rgba(255,234,171,0) 72%);
  pointer-events: none;
}
@keyframes ask-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Top bar */
.ask-bar { position: relative; border-bottom: 1px solid var(--line); background: rgba(10,10,12,0.72); backdrop-filter: blur(14px); }
.ask-bar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.ask-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ask-brand .ask-mark { width: 26px; height: 26px; border-radius: 7px; }
.ask-brand strong { font-size: 15px; font-weight: 560; letter-spacing: -0.015em; white-space: nowrap; }
.ask-crumb { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; color: var(--muted); }
.ask-crumb::before { content: "/"; margin-right: 10px; color: var(--line-3); }
.ask-bar-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.ask-bar-actions svg { width: 16px; height: 16px; }
.ask-history-btn { display: none; }

/* Body: the conversation column and the rail */
.ask-body {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(28px, 4vw, 56px); min-height: 0; width: 100%;
}
.ask-main { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: 0; }
.ask-scroll { overflow: auto; min-height: 0; scrollbar-gutter: stable; padding-bottom: 24px; -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 36px), transparent); }
.ask-column { width: 100%; max-width: 720px; }

/* Before the first question */
.ask-intro { padding: clamp(40px, 7vh, 88px) 0 32px; }
.ask-intro h1 { margin: 16px 0 18px; font-size: clamp(42px, 5.4vw, 72px); line-height: 0.96; font-weight: 540; letter-spacing: -0.055em; max-width: 12ch; }
.ask-intro h1 em { font-style: normal; color: var(--cream); }
.ask-lead { max-width: 50ch; margin: 0; font-size: clamp(15px, 1.15vw, 17px); line-height: 1.6; color: var(--ink-2); }
.ask-starters { display: grid; margin: 36px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.ask-starters li { border-bottom: 1px solid var(--line); }
.ask-starters button {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 8px;
  width: 100%; padding: 18px 4px; border: 0; background: none; color: var(--ink);
  font: 500 16px/1.4 var(--font); letter-spacing: -0.012em; text-align: left; cursor: pointer;
  transition: color var(--fast) var(--ease), padding var(--fast) var(--ease);
}
.ask-starters .n { font: 11px var(--mono); letter-spacing: 0.06em; color: var(--faint); }
.ask-starters .arrow { color: var(--faint); transition: color var(--fast) var(--ease), transform var(--fast) var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .ask-starters button:hover .arrow { color: var(--glow); transform: translateX(3px); }
  .ask-starters button:hover .n { color: var(--glow); }
}

/* The transcript: a question set large, the answer beneath it */
.ask-q { padding: 40px 0 0; }
.ask-a + .ask-q { margin-top: 36px; border-top: 1px solid var(--line); }
.ask-q:first-child { padding-top: clamp(32px, 5vh, 56px); }
.ask-who { display: flex; align-items: center; gap: 8px; margin: 0; font: 500 11px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.ask-who time { color: var(--faint); letter-spacing: 0.04em; text-transform: none; }
.ask-who time::before { content: "·"; margin-right: 8px; color: var(--line-3); }
.ask-who .ask-mark { width: 18px; height: 18px; border-radius: 5px; }
.ask-q-text { margin: 12px 0 0; font-size: clamp(22px, 2.1vw, 28px); line-height: 1.22; font-weight: 520; letter-spacing: -0.03em; color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.ask-a { display: grid; gap: 14px; padding: 26px 0 0; }
.ask-a-title { margin: 2px 0 0; font-size: 18px; font-weight: 560; line-height: 1.35; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
.ask-a-text, .ask-a-line { font-size: 15.5px; line-height: 1.7; color: var(--ink-2); overflow-wrap: anywhere; }
.ask-a-line { font-size: 15px; }
.ask-rich { display: grid; gap: 12px; }
.ask-rich p { margin: 0; white-space: pre-wrap; }
.ask-rich strong { font-weight: 560; color: var(--ink); }
.ask-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ask-list li { position: relative; padding-left: 20px; }
.ask-list li::before { content: ""; position: absolute; left: 2px; top: 0.78em; width: 8px; height: 1px; background: var(--glow); }
.ask-thinking { display: flex; gap: 6px; padding: 4px 0 8px; }
.ask-thinking i { width: 6px; height: 6px; border-radius: 50%; background: var(--glow); animation: ask-wave 1.2s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
.ask-thinking i:nth-child(2) { animation-delay: 0.15s; }
.ask-thinking i:nth-child(3) { animation-delay: 0.3s; }
@keyframes ask-wave { 0%, 60%, 100% { opacity: 0.25; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.ask-q[data-new], .ask-a[data-new] { animation: ask-msg-in 320ms var(--ease) both; }
@keyframes ask-msg-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Panels: drafts, suggestions and the rail share the studio page's card surface */
.ask-panel, .ask-doc, .ask-card {
  border: 1px solid var(--line); border-radius: 16px;
  background: linear-gradient(165deg, rgba(255,255,255,0.028), rgba(255,255,255,0.008)), var(--panel);
}
.ask-doc { display: grid; gap: 14px; margin-top: 6px; padding: 18px; }
.ask-doc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ask-doc-body { margin: 0; max-height: 300px; overflow: auto; padding: 16px 18px; border: 1px solid var(--line); border-radius: 11px; background: var(--bg); color: var(--ink); font-size: 14px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.ask-doc-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ask-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 6px; padding: 16px 18px; }
.ask-card .what { display: grid; gap: 4px; min-width: 0; flex: 1; }
.ask-card strong { font-size: 15px; font-weight: 540; letter-spacing: -0.01em; color: var(--ink); }
.ask-card small { font-size: 12.5px; color: var(--muted); }
.ask-draft { margin: 8px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--ink-2); white-space: pre-wrap; }
.ask-applied { font: 500 11px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); align-self: center; }
.ask-note { font-size: 12px; line-height: 1.55; color: var(--muted); }

/* Composer: a raised card at the foot of the column */
.ask-compose { padding: 6px 0 20px; }
.ask-form {
  display: flex; align-items: flex-end; gap: 10px; padding: 10px 10px 10px 18px;
  border: 1px solid var(--line-2); border-radius: 18px;
  background: linear-gradient(165deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01)), var(--panel);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.ask-form:focus-within { border-color: rgba(125,157,255,0.38); }
.ask-input { flex: 1; min-height: 40px; max-height: 180px; padding: 9px 0; border: 0; background: none; color: var(--ink); font: 15px/1.5 var(--font); resize: none; outline: none; }
.ask-input::placeholder { color: var(--faint); }
.ask-send { flex: none; gap: 6px; }
.ask-send svg { width: 15px; height: 15px; }
.ask-send:disabled { opacity: 0.5; cursor: progress; }
.ask-hints { display: flex; justify-content: space-between; gap: 12px; margin: 10px 4px 0; font: 11px var(--mono); letter-spacing: 0.02em; color: var(--faint); }
.ask-hints span { display: inline-flex; align-items: center; gap: 6px; }
.ask-hints svg { width: 12px; height: 12px; }
.ask-compose .form-error { margin: 0 0 10px; }

/* The rail */
.ask-rail { display: grid; align-content: start; gap: 14px; min-height: 0; overflow: auto; padding: clamp(32px, 5vh, 56px) 0 24px; }
.ask-panel { padding: 18px; }
.ask-panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.ask-panel .eyebrow { font-size: 10.5px; }
.ask-find { display: flex; align-items: center; gap: 8px; height: 38px; margin: 14px 0 8px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg); color: var(--faint); transition: border-color var(--fast) var(--ease); }
.ask-find svg { width: 14px; height: 14px; flex: none; }
.ask-find input { flex: 1; min-width: 0; border: 0; background: none; color: var(--ink); font: 13px var(--font); outline: none; }
.ask-find:focus-within { border-color: rgba(125,157,255,0.5); }
.ask-convos { display: grid; margin: 0; padding: 0; list-style: none; max-height: 44vh; overflow: auto; }
.ask-convos li + li { border-top: 1px solid var(--line); }
.ask-convos button {
  position: relative; display: grid; gap: 3px; width: 100%; padding: 11px 4px 11px 12px; border: 0; background: none;
  font: inherit; text-align: left; cursor: pointer; border-radius: 8px;
  transition: background-color var(--fast) var(--ease);
}
.ask-convos button::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 2px; border-radius: 2px; background: transparent; }
.ask-convos button[aria-current]::before { background: var(--blue); }
.ask-convos .t { font-size: 13.5px; font-weight: 500; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ask-convos button[aria-current] .t { color: var(--ink); }
.ask-convos .s { font: 11px var(--mono); color: var(--faint); }
@media (hover: hover) and (pointer: fine) { .ask-convos button:hover { background: rgba(255,255,255,0.025); } .ask-convos button:hover .t { color: var(--ink); } }
.ask-empty { padding: 12px 4px; font-size: 13px; color: var(--muted); }
.ask-sees { display: grid; gap: 14px; }
.ask-facts { display: grid; margin: 0; }
.ask-facts div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13px; }
.ask-facts dt { color: var(--muted); }
.ask-facts dd { margin: 0; color: var(--ink); text-align: right; }

/* Phones and narrow windows: the rail becomes a sheet behind "History" */
@media (max-width: 900px) {
  .ask-body { grid-template-columns: minmax(0, 1fr); }
  .ask-history-btn { display: inline-flex; }
  .ask-rail {
    position: absolute; inset: 0; z-index: 3; padding: 16px var(--pad) 24px; background: var(--bg);
    visibility: hidden; opacity: 0; transform: translateY(8px);
    transition: opacity 220ms var(--ease), transform 220ms var(--ease), visibility 0s linear 220ms;
  }
  .ask-rail[data-open] { visibility: visible; opacity: 1; transform: none; transition: opacity 220ms var(--ease), transform 220ms var(--ease); }
  .ask-convos { max-height: none; }
}
@media (max-width: 640px) {
  .ask-bar-in { min-height: 56px; gap: 8px; }
  .ask-crumb, .ask-new-label, .ask-copy { display: none; }
  .ask-intro { padding-top: 32px; }
  .ask-intro h1 { font-size: clamp(38px, 12vw, 52px); }
  .ask-starters button { grid-template-columns: 34px minmax(0, 1fr) auto; font-size: 15px; padding: 16px 2px; }
  .ask-q-text { font-size: 21px; }
  .ask-a-text { font-size: 15px; }
  .ask-hints .ask-keys { display: none; }
  .ask-compose { padding-bottom: 12px; }
  .ask-card { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .ask-shell, .ask-q[data-new], .ask-a[data-new] { animation-name: ask-fade; }
  .ask-thinking i { animation: none; opacity: 0.7; }
  .ask-rail { transform: none !important; }
  @keyframes ask-fade { from { opacity: 0; } to { opacity: 1; } }
}

/* ---------------- free tools ---------------- */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.tool-tile { display: grid; gap: 6px; padding: 20px; color: var(--ink-2); text-decoration: none; transition: background-color 140ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .tool-tile:hover { background: var(--panel-2); } }
.tool-tile strong { color: var(--ink); font-size: 15px; font-weight: 560; }
.tool-tile span { font-size: 13px; line-height: 1.5; }
.tool-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.tool-form { padding: 20px; display: grid; gap: 14px; }
.tool-fields { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.tool-rows { display: grid; gap: 2px; }
.tool-row { display: grid; grid-template-columns: 20px minmax(0, 1fr) 150px; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); cursor: pointer; }
.tool-row input[type=checkbox] { width: 16px; height: 16px; accent-color: #2456e6; }
.tool-row .what { display: grid; gap: 2px; }
.tool-row strong { font-size: 13.5px; font-weight: 540; color: var(--ink); }
.tool-row small, .tool-row .price small { font-size: 11.5px; color: var(--muted); }
.tool-row .price { display: grid; gap: 2px; }
.tool-row .price .input { min-height: 34px; padding-block: 4px; }
.tool-out { position: sticky; top: 84px; display: grid; gap: 10px; padding: 22px; }
.tool-out .label { font-size: 12px; color: var(--muted); }
.tool-out .big { font-size: clamp(34px, 4vw, 44px); font-weight: 600; letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.tool-out[data-tone="good"] .big { color: #4ade80; }
.tool-dl { display: grid; grid-template-columns: auto auto; gap: 6px 16px; font-size: 13px; margin: 4px 0 0; }
.tool-dl dt { color: var(--muted); }
.tool-dl dd { margin: 0; text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }
.tool-lines { display: grid; gap: 6px; }
.tool-lines li { list-style: none; display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.tool-out .btn { justify-self: start; }
.tool-drop { display: grid; gap: 6px; place-items: center; text-align: center; padding: 40px 20px; border: 1.5px dashed var(--line-2); cursor: pointer; transition: border-color 140ms var(--ease), background-color 140ms var(--ease); }
.tool-drop[data-over] { border-color: #2456e6; background: rgba(36, 86, 230, 0.06); }
.tool-drop strong { color: var(--ink); font-size: 15px; font-weight: 560; }
.tool-checks { display: grid; gap: 2px; }
.tool-checks li { list-style: none; display: grid; grid-template-columns: 18px 110px minmax(0, 1fr); gap: 4px 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.tool-checks li:first-child { border-top: 0; }
.tool-checks .mark { color: var(--muted); }
.tool-checks li.ok .mark { color: #4ade80; }
.tool-checks li.bad .mark, .tool-checks li.bad strong { color: var(--amber, #f5b84a); }
.tool-checks strong { font-weight: 540; color: var(--ink); }
.tool-checks small { grid-column: 3; font-size: 11.5px; color: var(--muted); }
.tool-cta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 20px 22px; }
@media (max-width: 860px) {
  .tool-layout { grid-template-columns: 1fr; }
  .tool-out { position: static; }
  .tool-row { grid-template-columns: 20px minmax(0, 1fr) 110px; }
}

/* studio page: templates, onboarding, open in app */
.account-template-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; align-items: end; }
.account-open-app { grid-column: 1 / -1; justify-self: end; font-size: 12.5px; color: var(--blue-ink, #8fb0ff); }
.account-onboarding { max-width: 560px; }
.onboard-steps { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; font-size: 12px; color: var(--muted); counter-reset: step; }
.onboard-steps li { list-style: none; counter-increment: step; }
.onboard-steps li::before { content: counter(step) ". "; }
.onboard-steps li[data-state="now"] { color: var(--ink); font-weight: 540; }
.onboard-steps li[data-state="done"] { color: #4ade80; }
.onboard-invite { display: grid; grid-template-columns: minmax(0, 1fr) 140px auto; gap: 8px; }
.onboard-sent li { list-style: none; font-size: 13px; color: var(--ink-2); padding: 4px 0; }
.onboard-sent li::before { content: "\2713  "; color: #4ade80; }
@media (max-width: 640px) { .onboard-invite { grid-template-columns: 1fr; } }

.template-card { display: grid; gap: 14px; padding: 20px; align-content: start; }
.template-card h2 { font-size: 18px; font-weight: 580; }
.template-steps { display: grid; gap: 4px; counter-reset: s; }
.template-steps li { list-style: none; display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--ink-2); padding: 5px 0; border-top: 1px solid var(--line); }
.template-steps small { color: var(--muted); font-size: 11.5px; white-space: nowrap; }
.template-card .btn { justify-self: start; }
.template-grid { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }

/* ================================================================ */
/* From the Orbit-Complete design pack (app-you.html), copied as is */
/* ---------------------------------------------------------------- web account page */
.page-you .masthead nav a[aria-current="page"] { background: rgba(255,255,255,0.06); }

.you-web-hero {
  position: relative; overflow: clip;
  padding: clamp(48px, 7vw, 88px) 0 0;
}
.you-web-hero::before {
  content: ""; position: absolute; inset: -30% -8% auto -8%; height: 130%;
  background:
    radial-gradient(42% 50% at 76% 26%, rgba(36,86,230,0.23) 0%, rgba(36,86,230,0) 70%),
    radial-gradient(38% 44% at 14% 12%, rgba(255,234,171,0.055) 0%, rgba(255,234,171,0) 72%);
  pointer-events: none;
}
.you-web-hero .wrap { position: relative; }
.you-web-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.72fr);
  gap: clamp(36px, 6vw, 96px); align-items: start;
}
.you-web-hero-copy h1 {
  max-width: 12ch; margin: 14px 0 20px;
  font-size: clamp(46px, 6vw, 82px); line-height: 0.96;
  font-weight: 540; letter-spacing: -0.058em;
}
.you-web-hero-copy h1 em { font-style: normal; color: var(--cream); }
.you-web-hero .hero-sub { max-width: 44ch; font-size: clamp(15.5px, 1.2vw, 18px); }
.you-web-hero .hero-actions { margin-top: 26px; }
.page-you .eyebrow { margin-bottom: 0; }

.you-web-profile {
  border: 1px solid var(--line-2); border-radius: 20px;
  background: linear-gradient(155deg, rgba(255,255,255,0.05), rgba(255,255,255,0.012) 58%), var(--panel);
  padding: 24px; box-shadow: 0 1px 0 rgba(255,255,255,0.035) inset, 0 30px 70px -50px rgba(0,0,0,0.9);
}
.you-web-profile-head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.you-web-avatar {
  width: 48px; height: 48px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: rgba(255,234,171,0.16); border: 1px solid rgba(255,234,171,0.3);
  color: var(--cream); font-size: 17px; font-weight: 600;
}
.you-web-profile .nm { display: block; font-size: 17px; font-weight: 560; letter-spacing: -0.02em; }
.you-web-profile .em { display: block; margin-top: 2px; font-family: var(--mono); font-size: 10px; color: var(--muted); }
.you-web-facts { display: flex; flex-direction: column; }
.you-web-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 11.5px; }
.you-web-facts div:last-child { border-bottom: 0; }
.you-web-facts dt { color: var(--faint); }
.you-web-facts dd { margin: 0; color: var(--ink-2); text-align: right; }
.you-web-profile .link { margin-top: 10px; }
.page-you .link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink-2); font-size: 12.5px; padding-bottom: 2px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.page-you .link:hover { color: var(--ink); border-color: rgba(255,255,255,0.3); text-decoration: none; }
.page-you .link .arrow { color: var(--faint); transition: transform 160ms var(--ease); }
.page-you .link:hover .arrow { transform: translateX(3px); }

.you-web-metrics {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(44px, 6vw, 74px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.you-web-metric { display: flex; flex-direction: column; gap: 7px; padding: 24px 28px 26px; border-right: 1px solid var(--line); }
.you-web-metric:first-child { padding-left: 0; }
.you-web-metric:last-child { border-right: 0; }
.you-web-metric .k { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.11em; text-transform: uppercase; color: var(--faint); }
.you-web-metric strong { font-size: clamp(30px, 3.4vw, 44px); font-weight: 540; letter-spacing: -0.055em; line-height: 1; font-variant-numeric: tabular-nums; }
.you-web-metric .s { font-size: 11px; color: var(--muted); line-height: 1.5; max-width: 24ch; }

.you-web-section { padding-top: clamp(58px, 7vw, 96px); }
.you-web-section-last { padding-bottom: clamp(64px, 8vw, 112px); }
.you-web-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.you-web-head .eyebrow { margin-bottom: 8px; }
.you-web-head h2 { font-size: clamp(28px, 3.1vw, 40px); font-weight: 540; letter-spacing: -0.045em; line-height: 1.04; }
.you-web-note { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.06em; color: var(--faint); white-space: nowrap; }

.you-web-projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.you-web-project {
  display: flex; gap: 20px; padding: 18px;
  border: 1px solid var(--line-2); border-radius: 18px;
  background: linear-gradient(160deg, rgba(255,255,255,0.028), rgba(255,255,255,0.008)), var(--panel);
  color: inherit; text-decoration: none;
  transition: border-color 180ms var(--ease), background 180ms var(--ease), transform 180ms var(--ease);
}
.you-web-project:hover { border-color: rgba(125,157,255,0.32); transform: translateY(-2px); text-decoration: none; }
.you-web-project-art {
  width: 112px; height: 112px; flex: none; border-radius: 12px; overflow: hidden;
  background: var(--panel-3); border: 1px solid var(--line);
}
.you-web-project-art img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(0.92) contrast(1.03); }
.you-web-project-copy { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.you-web-project-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 7px; }
.you-web-project-role { font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.you-web-project-name { font-size: 22px; font-weight: 540; letter-spacing: -0.035em; line-height: 1.05; }
.you-web-project-sub { font-size: 12px; color: var(--muted); margin-top: 4px; }
.you-web-project-meta { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 13px; border-top: 1px solid var(--line); font-size: 11px; color: var(--faint); }
.you-web-project-meta .mono { margin-left: auto; font-size: 12px; color: var(--ink-2); }

.you-web-delivered {
  display: flex; align-items: center; gap: 14px;
  margin-top: 14px; padding: 15px 18px;
  border: 1px solid var(--line); border-radius: 14px;
  background: rgba(255,255,255,0.014); color: inherit; text-decoration: none;
  transition: background 160ms var(--ease), border-color 160ms var(--ease);
}
.you-web-delivered:hover { background: rgba(255,255,255,0.028); border-color: var(--line-3); text-decoration: none; }
.you-web-delivered-icon { width: 32px; height: 32px; border-radius: 50%; flex: none; display: grid; place-items: center; background: rgba(111,208,140,0.11); color: var(--green); }
.you-web-delivered-icon .od-icon { --od-icon-size: 14px; }
.you-web-delivered .t { display: block; font-size: 13px; font-weight: 520; }
.you-web-delivered .s { display: block; font-size: 10.5px; color: var(--faint); margin-top: 2px; }
.you-web-delivered-value { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.you-web-delivered .arrow { color: var(--faint); }

.you-web-lower { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr); gap: clamp(40px, 6vw, 84px); align-items: start; }
.you-web-timeline { list-style: none; border-top: 1px solid var(--line); }
.you-web-timeline li { display: grid; grid-template-columns: 44px 10px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.you-web-time { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.05em; color: var(--faint); padding-top: 4px; }
.you-web-dot { width: 7px; height: 7px; border-radius: 50%; margin-top: 7px; background: var(--glow); box-shadow: 0 0 0 4px rgba(125,157,255,0.08); }
.you-web-event .t { display: block; font-size: 14px; font-weight: 500; letter-spacing: -0.012em; }
.you-web-event .s { display: block; font-size: 11.5px; color: var(--muted); margin-top: 3px; line-height: 1.5; }

.you-web-week { margin-top: 34px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(165deg, rgba(255,255,255,0.028), rgba(255,255,255,0.008)), var(--panel); }
.you-web-week-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.you-web-week-head .eyebrow { margin-bottom: 7px; }
.you-web-week h3 { font-size: 21px; font-weight: 540; letter-spacing: -0.03em; }
.you-web-bars { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; height: 128px; align-items: end; }
.you-web-bars > span { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 7px; height: 100%; }
.you-web-bars i { display: block; width: 100%; height: var(--h); min-height: 4px; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, rgba(125,157,255,0.58), rgba(36,86,230,0.17)); border: 1px solid rgba(125,157,255,0.16); }
.you-web-bars > span:last-child i { background: linear-gradient(180deg, rgba(255,234,171,0.66), rgba(255,234,171,0.1)); border-color: rgba(255,234,171,0.24); }
.you-web-bars b { font-family: var(--mono); font-size: 9px; font-weight: 400; color: var(--faint); }
.you-web-caption { font-size: 11.5px; color: var(--faint); line-height: 1.55; margin-top: 14px; }

.you-web-money {
  border-radius: 20px; padding: 26px;
  background: linear-gradient(150deg, #ffedb4, #f4d789);
  color: var(--cream-ink);
  display: flex; flex-direction: column; gap: 4px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.45) inset, 0 30px 60px -46px rgba(0,0,0,0.9);
}
.you-web-money .k { font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(26,22,8,0.62); }
.you-web-money .amount { font-size: 45px; font-weight: 560; letter-spacing: -0.058em; line-height: 1; margin-top: 5px; }
.you-web-money .p { font-size: 11.5px; color: rgba(26,22,8,0.68); }
.you-web-invoice { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(26,22,8,0.14); margin-top: 10px; }
.you-web-invoice .t { display: block; font-size: 12px; font-weight: 550; }
.you-web-invoice .s { display: block; font-size: 10px; color: rgba(26,22,8,0.58); margin-top: 2px; }
.you-web-invoice .mono { font-size: 11.5px; }
.you-web-invoice.paid .mono { color: #2b6a42; }
.you-web-money .link { margin-top: 14px; color: var(--cream-ink); border-color: rgba(26,22,8,0.22); }
.you-web-money .link:hover { color: #000; border-color: rgba(26,22,8,0.45); }

.you-web-sessions { margin-top: 18px; border: 1px solid var(--line-2); border-radius: 18px; background: var(--panel); overflow: hidden; }
.you-web-sessions-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.you-web-sessions-head h3 { font-size: 14px; font-weight: 540; letter-spacing: -0.015em; }
.text-btn { border: 0; background: none; padding: 0; color: var(--muted); font: inherit; font-size: 11px; cursor: pointer; }
.text-btn:hover { color: var(--ink); }
.you-web-session { display: flex; align-items: center; gap: 12px; padding: 13px 20px; border-bottom: 1px solid var(--line); }
.you-web-session:last-child { border-bottom: 0; }
.you-web-session-icon { width: 32px; height: 32px; border-radius: 8px; flex: none; display: grid; place-items: center; background: var(--panel-3); border: 1px solid var(--line); color: var(--muted); }
.you-web-session-icon .od-icon { --od-icon-size: 14px; }
.you-web-session .t { display: block; font-size: 12px; font-weight: 500; }
.you-web-session .s { display: block; font-size: 10.5px; color: var(--faint); margin-top: 2px; }
.you-web-session .pill { font-size: 9.5px; padding: 3px 7px; }
.you-web-session .btn { min-height: 30px; padding: 0 10px; font-size: 11px; }

.you-web-privacy { display: flex; flex-direction: column; gap: 6px; margin-top: 18px; padding: 22px; border: 1px solid rgba(255,234,171,0.17); border-radius: 18px; background: linear-gradient(150deg, rgba(255,234,171,0.065), rgba(255,234,171,0.012)); color: inherit; text-decoration: none; }
.you-web-privacy:hover { border-color: rgba(255,234,171,0.3); text-decoration: none; }
.you-web-privacy .eyebrow { font-size: 9px; color: var(--cream); }
.you-web-privacy .t { font-size: 17px; font-weight: 540; letter-spacing: -0.025em; }
.you-web-privacy .s { font-size: 11.5px; color: var(--muted); line-height: 1.55; }
.you-web-privacy .link { margin-top: 8px; color: var(--cream); border-color: rgba(255,234,171,0.2); }

@media (max-width: 1100px) {
  .you-web-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .you-web-profile { max-width: 500px; }
  .you-web-lower { grid-template-columns: 1fr; gap: 40px; }
  .you-web-side { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
  .you-web-sessions, .you-web-privacy { margin-top: 0; }
  .you-web-privacy { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .you-web-metrics { grid-template-columns: 1fr 1fr; }
  .you-web-metric { padding: 20px 22px; border-bottom: 1px solid var(--line); }
  .you-web-metric:first-child { padding-left: 22px; }
  .you-web-metric:nth-child(2n) { border-right: 0; }
  .you-web-metric:nth-last-child(-n+2) { border-bottom: 0; }
  .you-web-projects { grid-template-columns: 1fr; }
  .you-web-side { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .you-web-hero { padding-top: 36px; }
  .you-web-hero-copy h1 { font-size: clamp(38px, 12vw, 54px); }
  .you-web-head { align-items: flex-start; flex-direction: column; gap: 14px; }
  .you-web-head .link { align-self: flex-start; }
  .you-web-project { gap: 14px; padding: 14px; }
  .you-web-project-art { width: 88px; height: 88px; }
  .you-web-project-name { font-size: 19px; }
  .you-web-project-role { display: none; }
  .you-web-timeline li { grid-template-columns: 34px 8px minmax(0, 1fr); gap: 10px; }
  .you-web-week { padding: 18px; }
  .you-web-bars { gap: 7px; height: 108px; }
  .you-web-money { padding: 22px; }
  .you-web-money .amount { font-size: 38px; }
  .you-web-profile { padding: 20px; }
  .you-web-delivered { flex-wrap: wrap; }
  .you-web-delivered-value { margin-left: 46px; }
  .you-web-delivered .arrow { display: none; }
}

/* Studio page in the "You" design: anything that isn't a You section (loading, notices,
   onboarding) sits centred, and the parts Orbit adds to the design */
.page-you [data-account-root] > .account-loading,
.page-you [data-account-root] > .account-card { width: min(560px, calc(100% - 2 * var(--pad))); margin: clamp(48px, 8vw, 96px) auto; }
.page-you [data-account-root] > .account-loading { text-align: center; }
.page-you .you-web-hero .hero-actions { align-items: center; }
.page-you .you-web-facts .account-picker { min-width: 0; height: 30px; min-height: 30px; font-size: 11.5px; padding-block: 0; }
.page-you .you-web-profile .account-live { display: block; margin-top: 12px; white-space: normal; line-height: 1.5; }
.page-you .you-web-metric[data-tone="warn"] .s { color: var(--amber); }
.you-web-project { width: 100%; font: inherit; text-align: left; cursor: pointer; color: inherit; }
.you-web-project-copy { align-items: stretch; text-align: left; }
.you-web-project[data-open] { border-color: rgba(125,157,255,0.42); }
.you-web-project-art { display: grid; place-items: center; --tone: 161,161,170; background: linear-gradient(150deg, rgba(var(--tone), 0.34), rgba(var(--tone), 0.06)), var(--panel-3); }
.you-web-project-art span { font-size: 26px; font-weight: 560; letter-spacing: -0.04em; color: rgba(var(--tone), 0.95); }
.you-web-project-art[data-tone="working"] { --tone: 96,165,250; }
.you-web-project-art[data-tone="review"] { --tone: 251,191,36; }
.you-web-project-art[data-tone="done"] { --tone: 74,222,128; }
.you-web-project-meta .late, .you-web-delivered-value.late { color: var(--amber); }
.you-web-done { display: grid; gap: 10px; margin-top: 14px; }
.you-web-done .you-web-delivered { margin-top: 0; }
.you-web-delivered { width: 100%; font: inherit; text-align: left; cursor: pointer; }
.you-web-delivered-icon { font-size: 14px; font-weight: 600; }
.you-web-delivered-icon[data-tone="closed"], .you-web-delivered-icon[data-tone="pipeline"] { background: rgba(161,161,170,0.12); color: var(--muted); }
.page-you .account-detail { margin: 14px 0 0; width: 100%; border: 1px solid var(--line-2); border-radius: 18px; padding: 20px; background: var(--panel); }
.you-web-upcoming { list-style: none; display: grid; }
.you-web-upcoming li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.you-web-upcoming li:first-child { border-top: 0; }
.you-web-upcoming .when { font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; color: var(--faint); padding-top: 2px; }
.you-web-upcoming .when.late { color: var(--amber); }
.you-web-upcoming .t { display: block; font-size: 13px; font-weight: 500; }
.you-web-upcoming .s { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }
.you-web-waiting { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.you-web-waiting .eyebrow { margin-bottom: 8px; }
.you-web-invoice { flex-wrap: wrap; }
.you-web-invoice[data-late] .s { color: #8a4b00; }
.you-web-remind { flex-basis: 100%; font-size: 11px; font-weight: 550; color: var(--cream-ink); text-decoration: underline; text-underline-offset: 3px; }
.you-web-money-note { margin-top: 12px; font-size: 10.5px !important; }
.you-web-session-icon { font-size: 13px; }
.you-web-foot { margin-top: 40px; }
