/* ═══════════════════════════════════════════════════════════════════════
   AMOCEAN ONE CALL — "Nocturne" design system
   Een filmset bij nacht: warm zwart, licht als enige decoratie.
   Key light = warm amber (AI Robert, primaire actie) · Rim light = koel staal (jij)
   ═══════════════════════════════════════════════════════════════════════ */
:root {
  /* materiaal */
  --bg: #0a0908;
  --bg-2: #12100e;
  --ink: #f3eee6;          /* ivoor */
  --ink-2: #b4ab9f;        /* secundair (AA op bg) */
  --ink-3: #7c746a;        /* tertiair, alleen labels */
  --line: rgba(243, 238, 230, .08);
  --line-2: rgba(243, 238, 230, .14);
  --glass: rgba(30, 27, 24, .52);
  --glass-2: rgba(40, 36, 32, .62);
  --glass-hi: rgba(255, 248, 238, .06);
  /* licht */
  --key: #e9b872;          /* amber key light */
  --key-2: #f6d7a6;
  --key-ink: #1c1409;
  --rim: #a3bccd;          /* koel rim light */
  --sage: #a8c9a4;
  --rose: #e6705f;
  --warn: #e9b872;
  /* typografie */
  --serif: "Instrument Serif", "Iowan Old Style", "Times New Roman", serif;
  --sans: "Geist", ui-sans-serif, -apple-system, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  /* vorm */
  --r-s: 10px; --r: 18px; --r-l: 28px;
  --rail: 76px; --rail-open: 232px;
  /* beweging: veer (met terugval voor oudere browsers) */
  --spring: cubic-bezier(.22, 1.2, .36, 1);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in: cubic-bezier(.55, 0, .75, .2);
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}
@supports (transition-timing-function: linear(0, 1)) {
  :root { --spring: linear(0, .009, .035 2.1%, .141 4.4%, .281 6.7%, .723 12.9%, .938 16.7%, 1.017 19.4%, 1.077 22.1%, 1.098 24.4%, 1.1 25.5%, 1.088 28.1%, 1.017 34.6%, .988 39.1%, .987 42.9%, 1.001 52.3%, 1.004 60.6%, 1); }
}

*, *::before, *::after { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; margin: 0; }
body { background: var(--bg); color: var(--ink); font: 400 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased; letter-spacing: -.006em; overflow: hidden; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[data-icon] { display: inline-grid; place-items: center; }
[hidden] { display: none !important; }
kbd { font: 500 10.5px var(--mono); padding: 2px 6px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--ink-3); background: rgba(255,255,255,.03); }
:focus-visible { outline: 2px solid var(--key); outline-offset: 2px; border-radius: 8px; }
::selection { background: rgba(233, 184, 114, .35); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ── belichting ─────────────────────────────────────────────────────── */
.light { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.light i { position: absolute; border-radius: 50%; filter: blur(80px); transition: transform 2.4s var(--ease), opacity 1.6s; }
.light .key { width: 70vmax; height: 70vmax; left: -22vmax; top: -34vmax; background: radial-gradient(circle, rgba(233,184,114,.17), rgba(233,184,114,0) 62%); transform: translate(calc(var(--px, 0) * 30px), calc(var(--py, 0) * 20px)); }
.light .rim { width: 60vmax; height: 60vmax; right: -24vmax; bottom: -30vmax; background: radial-gradient(circle, rgba(163,188,205,.11), rgba(163,188,205,0) 62%); transform: translate(calc(var(--px, 0) * -24px), calc(var(--py, 0) * -16px)); }
#orb { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.vignette { position: fixed; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(0,0,0,.55) 100%); }
.grain { position: fixed; inset: -50%; z-index: 60; pointer-events: none; opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.letterbox i { position: fixed; left: 0; right: 0; height: 7vh; background: #000; z-index: 25; transition: transform .9s var(--ease); pointer-events: none; }
.letterbox i:first-child { top: 0; transform: translateY(-101%); }
.letterbox i:last-child { bottom: 0; transform: translateY(101%); }
body[data-view="call"] .letterbox i, body[data-view="incoming"] .letterbox i { transform: none; }

/* ── typografie ─────────────────────────────────────────────────────── */
.eyebrow { font: 500 10.5px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); margin: 0; }
.display { font: 400 clamp(40px, 5.4vw, 74px)/.98 var(--serif); letter-spacing: -.015em; margin: 0; }
.display em, .gate-title em, .inc-title em, .h-serif em { font-style: italic; color: var(--key-2); }
.h-serif { font: 400 30px/1.05 var(--serif); letter-spacing: -.01em; margin: 0; }
.lede { font: 300 clamp(16px, 1.45vw, 19px)/1.5 var(--sans); color: var(--ink-2); margin: 0; max-width: 46ch; text-wrap: pretty; }
.lede b { color: var(--ink); font-weight: 500; }
.mono { font-family: var(--mono); }
.num { font-variant-numeric: tabular-nums; }

/* ── liquid glass ───────────────────────────────────────────────────── */
.glass { position: relative; background: linear-gradient(180deg, rgba(255,250,242,.055), rgba(255,250,242,.012) 40%), var(--glass);
  -webkit-backdrop-filter: blur(24px) saturate(150%); backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255,248,238,.08), inset 0 -1px 0 rgba(0,0,0,.25), 0 24px 60px -32px rgba(0,0,0,.7); }
/* spiegelende reflectie die het licht van de cursor volgt */
.glass.reflect::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255,240,220,.09), transparent 45%); }
.glass.reflect:hover::after { opacity: 1; }
@supports not (backdrop-filter: blur(1px)) { .glass { background: rgba(26, 23, 20, .94); } }

/* ── knoppen ────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 42px; padding: 0 18px; border-radius: 999px;
  font: 500 14px var(--sans); letter-spacing: -.01em; white-space: nowrap; transition: transform .35s var(--spring), background .25s, border-color .25s, box-shadow .35s var(--ease), color .2s; }
.btn:active { transform: scale(.96); }
.btn svg { width: 18px; height: 18px; }
.btn-key { color: var(--key-ink); background: linear-gradient(180deg, #f3c98a, #dea65c); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 10px 30px -10px rgba(233,184,114,.55); }
.btn-key:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 14px 40px -10px rgba(233,184,114,.75); transform: translateY(-1px); }
.btn-quiet { border: 1px solid var(--line-2); background: rgba(255,250,242,.03); }
.btn-quiet:hover { border-color: rgba(243,238,230,.28); background: rgba(255,250,242,.06); }
.btn-ghost { color: var(--ink-2); height: 34px; padding: 0 12px; }
.btn-ghost:hover { color: var(--ink); background: rgba(255,250,242,.05); }
.btn-s { height: 32px; padding: 0 13px; font-size: 13px; }
.btn[disabled] { opacity: .4; pointer-events: none; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; color: var(--ink-2); transition: background .2s, color .2s, transform .3s var(--spring); }
.icon-btn:hover { color: var(--ink); background: rgba(255,250,242,.06); }
.icon-btn:active { transform: scale(.92); }
.input { width: 100%; height: 46px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(10,9,8,.5); outline: none; transition: border-color .2s, box-shadow .2s; }
.input:focus { border-color: rgba(233,184,114,.6); box-shadow: 0 0 0 4px rgba(233,184,114,.1); }
textarea.input { height: auto; min-height: 96px; padding: 12px 16px; resize: vertical; line-height: 1.5; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.err { color: var(--rose); font-size: 13px; margin: 0; }

/* ── toegang ────────────────────────────────────────────────────────── */
.gate { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 24px; transition: opacity 1s var(--ease), visibility 1s, filter 1s; }
body:not([data-view="gate"]) .gate { opacity: 0; visibility: hidden; filter: blur(12px); pointer-events: none; }
.gate-inner { display: grid; gap: 18px; justify-items: center; text-align: center; }
.gate-inner > * { animation: rise 1.4s var(--ease) both; }
.gate-inner > *:nth-child(2) { animation-delay: .12s; } .gate-inner > *:nth-child(3) { animation-delay: .24s; } .gate-inner > *:nth-child(n+4) { animation-delay: .36s; }
.gate-title { font: 400 clamp(64px, 14vw, 148px)/.85 var(--serif); letter-spacing: -.03em; margin: 0; }
.gate-sub { margin: 0 0 14px; color: var(--ink-2); font-size: 15px; }
.keyform { display: grid; gap: 8px; width: min(320px, 82vw); text-align: left; }
.keyform label { font: 500 10.5px var(--mono); letter-spacing: .2em; color: var(--ink-3); text-transform: uppercase; }
.btn-enter { display: inline-flex; gap: 12px; align-items: center; height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,250,242,.04);
  font: 500 14px var(--sans); transition: all .45s var(--spring); }
.btn-enter:hover { background: var(--ink); color: var(--bg); gap: 18px; }

/* ── app-shell ──────────────────────────────────────────────────────── */
.app { position: fixed; inset: 0; z-index: 5; display: grid; grid-template-columns: calc(var(--rail) + 24px) 1fr; grid-template-rows: auto 1fr;
  transition: opacity .7s var(--ease), transform .9s var(--ease), filter .7s var(--ease); }
body[data-view="gate"] .app { opacity: 0; pointer-events: none; }
body[data-view="call"] .app, body[data-view="incoming"] .app { opacity: 0; transform: scale(.97); filter: blur(10px); pointer-events: none; }

/* rail (desktop) */
.rail { position: fixed; z-index: 20; left: 16px; top: 16px; bottom: 16px; width: var(--rail); border-radius: 24px; display: flex; flex-direction: column; padding: 14px 10px;
  transition: width .5s var(--spring), box-shadow .4s; overflow: hidden; }
.rail:hover, .rail:focus-within { width: var(--rail-open); box-shadow: inset 0 1px 0 rgba(255,248,238,.08), 0 40px 80px -30px rgba(0,0,0,.85); }
.rail-brand { display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 8px; margin-bottom: 14px; }
.mark { width: 38px; height: 38px; flex: none; border-radius: 12px; display: grid; place-items: center; font: italic 400 24px/1 var(--serif); color: var(--key-ink);
  background: radial-gradient(circle at 30% 25%, #f8dcae, #d99d52); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 6px 20px -6px rgba(233,184,114,.6); }
.rail-label { white-space: nowrap; opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .4s var(--ease); font-size: 14px; display: flex; gap: 8px; align-items: center; }
.rail:hover .rail-label, .rail:focus-within .rail-label { opacity: 1; transform: none; }
.rail-brand .rail-label { font: 400 21px var(--serif); }
.rail-items { display: grid; gap: 2px; flex: 1; align-content: start; }
.rail-item { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 12px; border-radius: 14px; color: var(--ink-3); text-align: left; transition: color .25s; }
.rail-item:hover { color: var(--ink); }
.rail-item.on { color: var(--ink); }
.ri-ico { width: 32px; display: grid; place-items: center; flex: none; position: relative; }
.ri-count { position: absolute; top: -3px; right: -1px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--key); color: var(--key-ink); font: 600 9.5px/16px var(--mono); text-align: center; }
.rail-indicator { position: absolute; z-index: 0; left: 10px; right: 10px; height: 44px; border-radius: 14px; background: rgba(255,250,242,.07); box-shadow: inset 0 1px 0 rgba(255,248,238,.08);
  transition: transform .55s var(--spring), opacity .3s; pointer-events: none; }
.rail-indicator::before { content: ""; position: absolute; left: -10px; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: var(--key); box-shadow: 0 0 12px var(--key); }
.rail-foot { display: grid; gap: 2px; border-top: 1px solid var(--line); padding-top: 10px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); display: block; }
.status-dot.ok { background: var(--sage); box-shadow: 0 0 0 4px rgba(168,201,164,.12); }
.status-dot.warn { background: var(--warn); box-shadow: 0 0 0 4px rgba(233,184,114,.14); }

.topbar { grid-column: 2; display: flex; align-items: center; gap: 14px; padding: calc(22px + var(--safe-t)) 40px 10px 20px; }
.crumbs { display: grid; gap: 6px; min-width: 0; flex: 1; }
.crumb-title { font: 400 26px/1 var(--serif); letter-spacing: -.01em; }
.search-pill { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 8px 0 14px; border-radius: 999px; color: var(--ink-3); width: min(360px, 34vw); transition: border-color .25s, color .25s; }
.search-pill:hover { color: var(--ink-2); border-color: var(--line-2); }
.search-pill .sp-text { flex: 1; text-align: left; font-size: 14px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.call-cluster { display: flex; gap: 8px; }
.m-only { display: none; }

.main { grid-column: 2; overflow-y: auto; overflow-x: hidden; padding: 12px 40px calc(48px + var(--safe-b)) 20px; outline: none; scroll-behavior: smooth; overscroll-behavior: contain; }
.view { max-width: 1280px; margin: 0 auto; }
.view-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin: 10px 0 26px; flex-wrap: wrap; }

/* onthulling: gestaffeld, met veer */
.main.animate .reveal > *, .main.animate .reveal.view > * { animation: rise .8s var(--ease) both; animation-delay: calc(var(--i, 0) * 55ms); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: scale(.94) translateY(8px); } to { opacity: 1; transform: none; } }

/* module-overgang (View Transitions API) */
::view-transition-old(main) { animation: vt-out .28s var(--ease-in) both; }
::view-transition-new(main) { animation: vt-in .55s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); filter: blur(6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); filter: blur(8px); } }
.main { view-transition-name: main; }

/* ── kaarten ────────────────────────────────────────────────────────── */
.card { border-radius: var(--r-l); padding: 24px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.card-head .eyebrow { display: flex; align-items: center; gap: 8px; }
.card-link { font-size: 13px; color: var(--ink-3); display: inline-flex; gap: 6px; align-items: center; transition: color .2s, gap .3s var(--spring); }
.card-link:hover { color: var(--ink); gap: 9px; }
.card-link svg { width: 15px; height: 15px; }

/* ── dashboard ──────────────────────────────────────────────────────── */
.dash { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.hero { grid-column: span 7; padding: 18px 4px 6px; display: flex; flex-direction: column; justify-content: center; gap: 20px; min-height: 330px; }
.hero .date { font: 500 11px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--key); margin: 0; }
.next-up { display: inline-flex; align-items: center; gap: 14px; padding: 10px 16px 10px 10px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,250,242,.03); align-self: flex-start; max-width: 100%; transition: border-color .25s; }
.next-up:hover { border-color: var(--line-2); }
.next-up .t { font: 500 13px var(--mono); color: var(--key); background: rgba(233,184,114,.1); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.next-up .w { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.next-up .w small { color: var(--ink-3); margin-left: 6px; }
.presence { grid-column: span 5; position: relative; min-height: 330px; border-radius: var(--r-l); display: flex; flex-direction: column; justify-content: flex-end; padding: 22px;
  border: 1px solid var(--line); background: radial-gradient(80% 70% at 50% 42%, rgba(233,184,114,.06), transparent 70%); overflow: hidden; }
.presence .orb-slot { position: absolute; left: 50%; top: 42%; width: 62%; aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; }
.presence-info { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.presence-info .who { display: grid; gap: 6px; }
.presence-info .who b { font: 400 24px/1 var(--serif); }
.presence-info .who span { font: 400 12px var(--mono); color: var(--ink-3); }
.presence-actions { display: flex; gap: 8px; }

.ask { grid-column: span 12; border-radius: var(--r-l); padding: 8px 8px 8px 22px; }
.ask-row { display: flex; align-items: center; gap: 12px; }
.ask-row .spark { color: var(--key); }
.ask-input { flex: 1; min-width: 0; height: 52px; border: 0; background: none; outline: none; font: 300 17px var(--sans); color: var(--ink); }
.ask-input::placeholder { color: var(--ink-3); }
.ask-send { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--bg); transition: transform .35s var(--spring), opacity .2s; }
.ask-send:hover { transform: scale(1.06); }
.ask-send[disabled] { opacity: .25; }
.suggest { display: flex; gap: 8px; flex-wrap: wrap; padding: 4px 14px 12px 0; }
.chip { height: 32px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,250,242,.025); font-size: 13px; color: var(--ink-2); transition: all .3s var(--spring); white-space: nowrap; }
.chip:hover { color: var(--ink); border-color: var(--line-2); transform: translateY(-1px); }
.convo { display: grid; gap: 14px; padding: 6px 14px 16px 0; }
.convo .q { font: 400 13px var(--mono); color: var(--ink-3); }
.convo .a { font: 300 17px/1.55 var(--sans); max-width: 70ch; animation: rise .6s var(--ease) both; }
.receipt { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; background: rgba(168,201,164,.08); border: 1px solid rgba(168,201,164,.2); font-size: 13px; animation: pop .5s var(--spring) both; margin-right: 6px; }
.receipt i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(168,201,164,.18); color: var(--sage); font-style: normal; }
.receipt i svg { width: 13px; height: 13px; stroke-width: 2; }
.thinking { display: inline-flex; gap: 5px; padding: 8px 0; }
.thinking span { width: 6px; height: 6px; border-radius: 50%; background: var(--key); animation: think 1.2s var(--ease) infinite; }
.thinking span:nth-child(2) { animation-delay: .15s; } .thinking span:nth-child(3) { animation-delay: .3s; }
@keyframes think { 0%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-4px); } }

/* tijdlijn van vandaag */
.timeline { grid-column: span 12; }
.tl { position: relative; height: 104px; margin: 6px 4px 0; }
.tl-axis { position: absolute; left: 0; right: 0; bottom: 0; height: 22px; display: flex; justify-content: space-between; font: 400 10.5px var(--mono); color: var(--ink-3); }
.tl-track { position: absolute; left: 0; right: 0; top: 0; bottom: 30px; border-radius: 14px; background: repeating-linear-gradient(90deg, rgba(255,250,242,.035) 0 1px, transparent 1px calc(100% / 11)); border: 1px solid var(--line); overflow: hidden; }
.tl-free { position: absolute; top: 0; bottom: 0; background: linear-gradient(180deg, rgba(168,201,164,.06), rgba(168,201,164,.02)); border-left: 1px dashed rgba(168,201,164,.25); border-right: 1px dashed rgba(168,201,164,.25); }
.tl-block { position: absolute; top: 9px; bottom: 9px; border-radius: 10px; padding: 7px 10px; background: linear-gradient(180deg, rgba(233,184,114,.24), rgba(233,184,114,.12)); border: 1px solid rgba(233,184,114,.35);
  overflow: hidden; font-size: 12.5px; line-height: 1.25; min-width: 6px; transition: transform .35s var(--spring), background .2s; cursor: default; }
.tl-block:hover { min-width: 190px; transform: translateY(-2px); background: linear-gradient(180deg, rgba(233,184,114,.34), rgba(233,184,114,.18)); z-index: 2; }
.tl-block b { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-block small { font: 400 10.5px var(--mono); color: var(--key-2); opacity: .85; white-space: nowrap; }
.tl-block.past { filter: saturate(.3); opacity: .55; }
.tl-now { position: absolute; top: -6px; bottom: 24px; width: 2px; background: var(--ink); border-radius: 2px; box-shadow: 0 0 12px rgba(243,238,230,.6); }
.tl-now::before { content: attr(data-t); position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font: 500 10px var(--mono); color: var(--ink); background: var(--bg); padding: 1px 5px; border-radius: 4px; }
.tl-summary { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 4px; font-size: 13px; color: var(--ink-2); }
.tl-summary b { color: var(--ink); font-weight: 500; }

.priorities { grid-column: span 7; }
.side { grid-column: span 5; display: grid; gap: 18px; align-content: start; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.stat { padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,250,242,.02); }
.stat b { display: block; font: 400 34px/1 var(--serif); }
.stat span { font: 400 11px var(--mono); color: var(--ink-3); letter-spacing: .04em; }
.stat.hot b { color: var(--key-2); }

.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; align-items: end; height: 132px; }
.wk { display: grid; grid-template-rows: 1fr auto; gap: 8px; height: 100%; text-align: center; }
.wk-bar { position: relative; align-self: end; border-radius: 8px 8px 4px 4px; background: rgba(255,250,242,.06); min-height: 4px; transition: height .9s var(--spring); }
.wk-bar i { position: absolute; left: 0; right: 0; bottom: 0; border-radius: inherit; background: linear-gradient(180deg, var(--key-2), var(--key)); transition: height .9s var(--spring); }
.wk-bar .dot { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); width: 5px; height: 5px; border-radius: 50%; background: var(--rim); }
.wk span { font: 400 10.5px var(--mono); color: var(--ink-3); text-transform: uppercase; }
.wk.today span { color: var(--key); }
.legend { display: flex; gap: 16px; margin-top: 14px; font: 400 11px var(--mono); color: var(--ink-3); }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 3px; margin-right: 6px; vertical-align: 0; }

.feed { display: grid; gap: 2px; }
.feed-item { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: start; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.feed-item:last-child { border-bottom: 0; }
.feed-item .fi { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(255,250,242,.04); color: var(--ink-2); }
.feed-item .fi svg { width: 14px; height: 14px; }
.feed-item time { font: 400 11px var(--mono); color: var(--ink-3); padding-top: 3px; }

/* ── lijsten (taken, terugbellen, agenda …) ─────────────────────────── */
.list { display: grid; gap: 6px; }
.row { position: relative; display: flex; align-items: center; gap: 14px; padding: 13px 14px; border-radius: 16px; border: 1px solid transparent; transition: background .25s, border-color .25s, transform .35s var(--spring), opacity .4s; }
.row:hover { background: rgba(255,250,242,.035); border-color: var(--line); }
.row .body { flex: 1; min-width: 0; }
.row .t { font-weight: 450; overflow-wrap: anywhere; }
.row .m { font: 400 12px var(--mono); color: var(--ink-3); margin-top: 3px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.row.done .t { color: var(--ink-3); text-decoration: line-through; text-decoration-color: rgba(243,238,230,.25); }
.row.flash { border-color: rgba(233,184,114,.5); background: rgba(233,184,114,.07); }
.row.leaving { opacity: 0; transform: translateX(14px) scale(.98); }
.row-actions { display: flex; gap: 2px; opacity: 0; transition: opacity .2s; }
.row:hover .row-actions, .row:focus-within .row-actions { opacity: 1; }
@media (hover: none) { .row-actions { opacity: .75; } }
.check { width: 24px; height: 24px; flex: none; border-radius: 8px; border: 1.5px solid var(--line-2); display: grid; place-items: center; transition: all .35s var(--spring); }
.check:hover { border-color: var(--key); }
.check.on { background: var(--sage); border-color: var(--sage); color: #12180f; transform: scale(1.04); }
.check svg { width: 14px; height: 14px; stroke-width: 2.4; opacity: 0; transform: scale(.4); transition: all .35s var(--spring); }
.check.on svg { opacity: 1; transform: none; }
.tag { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 6px; font: 500 10px var(--mono); letter-spacing: .06em; text-transform: uppercase; background: rgba(255,250,242,.06); color: var(--ink-2); }
.tag.ai { background: rgba(233,184,114,.12); color: var(--key); }
.tag.late { background: rgba(230,112,95,.14); color: #f19a8c; }
.tag.ok { background: rgba(168,201,164,.12); color: var(--sage); }
.tbox { width: 64px; flex: none; font: 500 13px var(--mono); color: var(--key); }
.tbox small { display: block; color: var(--ink-3); font-size: 11px; font-weight: 400; }
.day-group { margin-bottom: 22px; }
.day-group > .eyebrow { margin: 0 0 8px 14px; display: flex; gap: 10px; align-items: center; }
.day-group > .eyebrow b { color: var(--ink); font: 400 20px var(--serif); letter-spacing: 0; text-transform: none; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,250,242,.02); position: relative; }
.seg button { position: relative; z-index: 1; height: 32px; padding: 0 14px; border-radius: 999px; font-size: 13px; color: var(--ink-3); transition: color .25s; }
.seg button.on { color: var(--ink); background: rgba(255,250,242,.08); box-shadow: inset 0 1px 0 rgba(255,248,238,.08); }
.seg button .c { font: 500 11px var(--mono); margin-left: 6px; color: var(--ink-3); }
.quick-add { display: flex; gap: 10px; align-items: center; padding: 6px 6px 6px 16px; border-radius: 18px; margin-bottom: 18px; flex-wrap: wrap; }
.quick-add input.bare { flex: 1; min-width: 180px; height: 44px; border: 0; background: none; outline: none; font-size: 15px; }
.quick-add .when { display: flex; gap: 4px; }
.quick-add .when button { height: 30px; padding: 0 11px; border-radius: 999px; font-size: 12.5px; color: var(--ink-3); border: 1px solid transparent; }
.quick-add .when button.on { color: var(--key); border-color: rgba(233,184,114,.35); background: rgba(233,184,114,.07); }

.row .fi { width: 34px; height: 34px; flex: none; border-radius: 11px; display: grid; place-items: center; background: rgba(255,250,242,.04); }
.row .fi svg { width: 17px; height: 17px; }

/* lege staten */
.empty { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 46px 20px; color: var(--ink-3); }
.empty .em-ico { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink-2); }
.empty b { font: 400 22px var(--serif); color: var(--ink); }
.empty p { margin: 0; max-width: 34ch; font-size: 14px; }

/* klanten */
.clients { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.client { border-radius: var(--r-l); padding: 20px; text-align: left; display: grid; gap: 14px; transition: transform .45s var(--spring), border-color .3s; }
.client:hover { transform: translateY(-3px); border-color: var(--line-2); }
.client .avatar { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font: 400 21px var(--serif); background: linear-gradient(140deg, rgba(233,184,114,.22), rgba(163,188,205,.12)); border: 1px solid var(--line-2); }
.client .nm { font: 400 24px/1.05 var(--serif); }
.client .co { font-size: 13px; color: var(--ink-2); }
.client .notes { font-size: 13.5px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.client .foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; }

/* stemstudio */
.studio { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.studio .card { grid-column: span 6; }
.studio .card.wide { grid-column: span 12; }
.voices { display: grid; gap: 8px; }
.voice-opt { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line); text-align: left; transition: all .3s var(--spring); }
.voice-opt:hover { border-color: var(--line-2); }
.voice-opt.on { border-color: rgba(233,184,114,.5); background: rgba(233,184,114,.06); }
.voice-opt .vo-radio { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-2); flex: none; display: grid; place-items: center; }
.voice-opt.on .vo-radio { border-color: var(--key); }
.voice-opt.on .vo-radio::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--key); }
.voice-opt .vo-body { flex: 1; }
.voice-opt .vo-body small { display: block; color: var(--ink-3); font-size: 12.5px; }
.engine { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.engine button { padding: 16px; border-radius: 18px; border: 1px solid var(--line); text-align: left; display: grid; gap: 6px; transition: all .3s var(--spring); }
.engine button b { font: 400 20px var(--serif); }
.engine button small { color: var(--ink-3); font-size: 12.5px; line-height: 1.4; }
.engine button.on { border-color: rgba(233,184,114,.5); background: rgba(233,184,114,.06); }
.range { width: 100%; accent-color: var(--key); }
.script { font: 400 21px/1.5 var(--serif); padding: 20px; border-radius: 18px; background: rgba(255,250,242,.025); border: 1px solid var(--line); margin: 0 0 16px; color: var(--ink); }
.rec { display: flex; align-items: center; gap: 18px; margin: 6px 0 12px; }
.rec-btn { width: 68px; height: 68px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: all .35s var(--spring); }
.rec-btn i { width: 24px; height: 24px; border-radius: 50%; background: var(--rose); transition: all .35s var(--spring); }
.rec-btn.on { border-color: var(--rose); box-shadow: 0 0 0 8px rgba(230,112,95,.1); }
.rec-btn.on i { width: 20px; height: 20px; border-radius: 6px; }
.meter { flex: 1; height: 44px; display: flex; align-items: center; gap: 3px; }
.meter span { flex: 1; min-width: 2px; height: 3px; border-radius: 2px; background: var(--key); opacity: .75; transition: height .08s; }
.rec-time { font: 500 14px var(--mono); color: var(--ink-2); width: 48px; text-align: right; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); margin-bottom: 8px; cursor: pointer; }
.consent input { accent-color: var(--key); width: 18px; height: 18px; margin-top: 1px; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px; border-radius: 18px; border: 1px solid var(--line); }
.switch { width: 50px; height: 30px; flex: none; border-radius: 999px; background: rgba(255,250,242,.12); position: relative; transition: background .3s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); transition: transform .45s var(--spring); box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.switch.on { background: var(--key); }
.switch.on::after { transform: translateX(20px); }
.switch[disabled] { opacity: .35; }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 12px 18px; margin: 0; font-size: 14px; }
.kv dt { color: var(--ink-3); font: 400 12px var(--mono); padding-top: 2px; }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.ok-t { color: var(--sage); } .bad-t { color: var(--rose); } .warn-t { color: var(--warn); }
.hint { color: var(--ink-3); font-size: 13.5px; margin: 0 0 14px; line-height: 1.55; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-grid .wide { grid-column: 1 / -1; }
.form-grid label { display: grid; gap: 6px; font: 500 10.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.form-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.shortcuts { display: grid; grid-template-columns: 1fr auto; gap: 10px 20px; font-size: 14px; }
.shortcuts span:nth-child(even) { display: flex; gap: 4px; justify-content: flex-end; }

/* ── commandopalet ──────────────────────────────────────────────────── */
.palette-wrap { position: fixed; inset: 0; z-index: 70; display: grid; justify-items: center; align-items: start; padding: 12vh 16px 16px; background: rgba(5,4,3,.5);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade .25s var(--ease) both; }
.palette { width: min(640px, 100%); border-radius: 22px; overflow: hidden; animation: pop .45s var(--spring) both; background: linear-gradient(180deg, rgba(255,250,242,.06), rgba(255,250,242,.01) 40%), rgba(22,20,18,.82); }
.pal-input { display: flex; align-items: center; gap: 12px; padding: 0 16px; height: 62px; border-bottom: 1px solid var(--line); color: var(--ink-3); }
.pal-input input { flex: 1; border: 0; background: none; outline: none; font: 300 18px var(--sans); color: var(--ink); min-width: 0; }
.pal-list { max-height: min(56vh, 460px); overflow-y: auto; padding: 8px; }
.pal-group { font: 500 10px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); padding: 12px 12px 6px; }
.pal-item { width: 100%; display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; text-align: left; color: var(--ink-2); transition: background .15s, color .15s; }
.pal-item .pi-ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(255,250,242,.04); flex: none; }
.pal-item .pi-ico svg { width: 16px; height: 16px; }
.pal-item .pi-t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pal-item .pi-t small { color: var(--ink-3); margin-left: 8px; }
.pal-item.sel { background: rgba(255,250,242,.07); color: var(--ink); }
.pal-item.sel .pi-ico { background: rgba(233,184,114,.16); color: var(--key); }
.pal-item.ai .pi-ico { color: var(--key); }
.pal-foot { display: flex; gap: 18px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-3); }
.pal-foot kbd { margin-right: 3px; }

/* ── sheet ──────────────────────────────────────────────────────────── */
.sheet-wrap { position: fixed; inset: 0; z-index: 65; display: grid; place-items: center; padding: 16px; background: rgba(5,4,3,.5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade .25s var(--ease) both; }
.sheet { width: min(560px, 100%); max-height: min(86vh, 820px); border-radius: 26px; display: grid; grid-template-rows: auto auto 1fr; overflow: hidden; animation: pop .5s var(--spring) both; background: linear-gradient(180deg, rgba(255,250,242,.06), rgba(255,250,242,.01) 40%), rgba(22,20,18,.86); }
.sheet-grip { display: none; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 8px 24px; }
.sheet-head h3 { margin: 0; font: 400 28px var(--serif); }
.sheet-body { overflow-y: auto; padding: 8px 24px calc(24px + var(--safe-b)); }
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mod-tile { display: grid; gap: 14px; padding: 16px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255,250,242,.025); text-align: left; transition: all .35s var(--spring); }
.mod-tile:hover, .mod-tile:active { border-color: var(--line-2); transform: translateY(-2px); }
.mod-tile .mt-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,250,242,.05); color: var(--key); }
.mod-tile b { font-weight: 500; font-size: 14px; display: block; }
.mod-tile small { color: var(--ink-3); font: 400 11.5px var(--mono); }

/* ── gesprek ────────────────────────────────────────────────────────── */
.call, .incoming { position: fixed; inset: 0; z-index: 30; display: grid; grid-template-rows: auto 1fr auto; padding: calc(9vh + var(--safe-t)) 24px calc(9vh + 18px + var(--safe-b));
  text-align: center; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility .7s; pointer-events: none; }
body[data-view="call"] .call, body[data-view="incoming"] .incoming { opacity: 1; visibility: visible; pointer-events: auto; }
.call-top { display: grid; gap: 10px; justify-items: center; }
.call-state { margin: 0; font: 400 clamp(34px, 5vw, 56px)/1 var(--serif); letter-spacing: -.01em; transition: opacity .3s; }
.call-meta { margin: 0; font: 400 12px var(--mono); color: var(--ink-3); display: flex; gap: 10px; }
.subtitles { align-self: end; justify-self: center; width: min(760px, 100%); display: grid; gap: 8px; margin-bottom: 26px; transition: opacity .4s; }
.subtitles p { margin: 0; font: 400 clamp(17px, 2.1vw, 22px)/1.45 var(--sans); text-wrap: balance; text-shadow: 0 2px 18px rgba(0,0,0,.9); animation: rise .5s var(--ease) both; }
.subtitles p.user { color: var(--rim); font-size: clamp(14px, 1.6vw, 16px); }
.subtitles.off { opacity: 0; }
.receipts { position: fixed; left: 24px; bottom: calc(9vh + 110px + var(--safe-b)); display: grid; gap: 8px; z-index: 31; width: min(360px, calc(100% - 48px)); text-align: left; }
.receipts .rc { display: flex; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(22,20,18,.82); border: 1px solid rgba(168,201,164,.25); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); font-size: 13.5px; animation: chipIn .6s var(--spring) both; }
.receipts .rc i { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(168,201,164,.15); color: var(--sage); }
.receipts .rc i svg { width: 14px; height: 14px; stroke-width: 2; }
.receipts .rc small { display: block; font: 500 10px var(--mono); letter-spacing: .16em; color: var(--sage); text-transform: uppercase; margin-bottom: 2px; }
.receipts .rc.out { animation: chipOut .5s var(--ease) forwards; }
@keyframes chipIn { from { opacity: 0; transform: translateX(-24px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes chipOut { to { opacity: 0; transform: translateX(-24px); } }
.call-bar { justify-self: center; display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 999px; }
.cbtn { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; align-content: center; gap: 2px; color: var(--ink-2); transition: all .35s var(--spring); }
.cbtn small { font: 500 9px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.cbtn:hover { color: var(--ink); background: rgba(255,250,242,.06); }
.cbtn[aria-pressed="true"]#muteBtn { background: var(--ink); color: var(--bg); }
.cbtn.end { width: 72px; height: 72px; background: var(--rose); color: #fff; box-shadow: 0 12px 40px -12px rgba(230,112,95,.8); }
.cbtn.end:hover { background: #ef7d6d; transform: scale(1.05); }
.cbtn.end svg { width: 28px; height: 28px; }
.unlock { position: fixed; left: 50%; top: 22vh; transform: translateX(-50%); z-index: 32; height: 40px; padding: 0 18px; border-radius: 999px; background: var(--key); color: var(--key-ink); font-weight: 500; }

.inc-top { display: grid; gap: 14px; justify-items: center; }
.inc-title { margin: 0; font: 400 clamp(64px, 13vw, 128px)/.9 var(--serif); letter-spacing: -.03em; }
.inc-reason { margin: 0; color: var(--ink-2); font-size: 17px; }
.inc-actions { display: flex; justify-content: space-around; width: min(420px, 100%); justify-self: center; align-self: end; }
.inc-btn { display: grid; gap: 12px; justify-items: center; font: 500 10.5px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.round { width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; transition: transform .35s var(--spring); }
.round svg { width: 30px; height: 30px; }
.round:hover { transform: scale(1.06); }
.round.decline { background: var(--rose); color: #fff; }
.round.accept { background: linear-gradient(180deg, #f3c98a, #dea65c); color: var(--key-ink); box-shadow: 0 0 0 0 rgba(233,184,114,.6); animation: ring-pulse 1.6s var(--ease) infinite; }
@keyframes ring-pulse { 0% { box-shadow: 0 0 0 0 rgba(233,184,114,.5); } 100% { box-shadow: 0 0 0 26px rgba(233,184,114,0); } }

/* ── toast ──────────────────────────────────────────────────────────── */
.toast { position: fixed; z-index: 80; left: 50%; bottom: calc(28px + var(--safe-b)); transform: translate(-50%, 24px); opacity: 0; padding: 12px 18px; border-radius: 16px; font-size: 14px;
  pointer-events: none; transition: all .5s var(--spring); max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ── dock (mobiel) ──────────────────────────────────────────────────── */
.dock { display: none; }

/* ═════════════════════ RESPONSIVE ═════════════════════ */
@media (max-width: 1180px) {
  .hero { grid-column: span 12; min-height: 0; padding-top: 6px; }
  .presence { grid-column: span 12; min-height: 300px; }
  .priorities, .side { grid-column: span 12; }
  .side { grid-template-columns: 1fr 1fr; }
  .studio .card { grid-column: span 12; }
}
@media (max-width: 860px) {
  body { font-size: 15px; }
  .app { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .rail { display: none; }
  .topbar { grid-column: 1; padding: calc(14px + var(--safe-t)) 18px 6px; }
  .search-pill, .call-cluster { display: none; }
  .m-only { display: inline-grid; }
  .crumb-title { font-size: 24px; }
  .main { grid-column: 1; padding: 6px 16px calc(120px + var(--safe-b)); }
  .dash { gap: 14px; }
  .presence { order: -1; min-height: 340px; padding: 18px; }
  .presence .orb-slot { width: 66%; top: 41%; }
  .hero { gap: 14px; }
  .display { font-size: clamp(38px, 11vw, 52px); }
  .side { grid-template-columns: 1fr; }
  .card { padding: 18px; border-radius: 24px; }
  .ask { padding-left: 16px; }
  .tl { height: auto; }
  .stat b { font-size: 28px; }
  .modules { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 1fr; gap: 4px 0; }
  .kv dd { margin-bottom: 10px; }
  .dock { display: flex; position: fixed; z-index: 22; left: 12px; right: 12px; bottom: calc(12px + var(--safe-b)); height: 70px; border-radius: 26px; align-items: center; justify-content: space-around; padding: 0 6px; }
  .dock button { flex: 1; height: 56px; display: grid; justify-items: center; align-content: center; gap: 3px; font: 500 10px var(--sans); color: var(--ink-3); border-radius: 18px; transition: color .25s, transform .35s var(--spring); }
  .dock button:active { transform: scale(.92); }
  .dock button.on { color: var(--ink); }
  .dock button.on [data-icon] { color: var(--key); }
  .dock .dock-call { flex: none; width: 60px; height: 60px; border-radius: 22px; margin: 0 4px; color: var(--key-ink); background: linear-gradient(180deg, #f3c98a, #dea65c); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 10px 30px -8px rgba(233,184,114,.6); }
  .dock .dock-call svg { width: 24px; height: 24px; }
  .sheet-wrap { align-items: end; padding: 0; }
  .sheet { width: 100%; border-radius: 28px 28px 0 0; max-height: 90vh; animation: sheet-up .55s var(--spring) both; }
  .sheet-grip { display: block; width: 40px; height: 5px; border-radius: 3px; background: var(--line-2); margin: 10px auto 0; }
  .palette-wrap { padding-top: calc(10px + var(--safe-t)); }
  .receipts { left: 16px; bottom: calc(9vh + 104px + var(--safe-b)); }
  .call, .incoming { padding-left: 18px; padding-right: 18px; }
  .letterbox i { height: 5vh; }
  .hide-s { display: none; }
  .row-actions { opacity: .8; }
}
@keyframes sheet-up { from { transform: translateY(100%); } to { transform: none; } }
@media (max-width: 420px) { .stat-row { grid-template-columns: repeat(3, 1fr); gap: 8px; } .stat { padding: 12px 10px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
