/* Direction B · Friendly. Tokens from the CallAgent design canvas. */
:root {
  --bg: #FFFFFF; --surface: #F6F4FB; --surface2: #ECE9F7; --line: #DAD6EA;
  --fg: #17132B; --muted: #5B5675;
  --accent: #5B3DF5; --accent-ink: #FFFFFF; --accent-soft: #EEEAFF;
  --pop: #FFD23F; --pop-ink: #2A2200; --pop-soft: #FFF5C2;
  --amber-bg: #FFF2CC; --amber-fg: #6B4A00;
  --ok: #1B7F4F; --ok-soft: #DDF5E8;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121018; --surface: #1C1926; --surface2: #262233; --line: #38324A;
    --fg: #F3F0FF; --muted: #B2ACC9;
    --accent: #A594FF; --accent-ink: #1A0F4D; --accent-soft: #2B2250;
    --pop-soft: #4A3C0A;
    --amber-bg: #3B2E0C; --amber-fg: #FFD77A;
    --ok: #5CDB95; --ok-soft: #1D3A2B;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--body); font-size: 15px; line-height: 1.5;
  display: flex; flex-direction: column;
}
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
button { font: inherit; cursor: pointer; }
button:disabled { opacity: .55; cursor: default; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; margin: 0; }

/* ---- shared --------------------------------------------------------------- */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 32px; height: 68px; flex: none; }
.wordmark { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--fg); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.wordmark i { width: 12px; height: 12px; border-radius: 50%; background: var(--pop); }
.pill { font-size: 13px; color: var(--muted); background: var(--surface); border-radius: 999px; padding: 8px 14px; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.pill:empty { display: none; }
.pill b { font-family: var(--display); font-weight: 800; color: var(--fg); font-size: 14px; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: blink 1.2s ease-in-out infinite; }
.price { font-family: var(--display); font-weight: 800; }

.btn { min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 15px; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.ghost { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 2px solid var(--line); background: transparent; color: var(--fg); font-weight: 700; font-size: 14px; }
.amber { background: var(--amber-bg); color: var(--amber-fg); border-radius: 14px; padding: 12px 14px; font-size: 13px; line-height: 1.45; display: flex; gap: 10px; }
.amber svg { flex: none; margin-top: 1px; }
.glyph { width: 20px; height: 20px; border-radius: 7px; background: var(--accent); color: var(--accent-ink); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.who { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; font-weight: 500; padding: 0 6px; }
.ts { font-variant-numeric: tabular-nums; }
.card { background: var(--surface); border-radius: 20px; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }

@keyframes blink { 0%, 100% { opacity: 1 } 50% { opacity: .35 } }
@keyframes land { from { transform: scale(.96); opacity: 0 } to { transform: none; opacity: 1 } }
@keyframes ripple { 0% { transform: scale(.9); opacity: .6 } 100% { transform: scale(1.35); opacity: 0 } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; } }

.screen { flex: 1; min-height: 0; width: 100%; }

/* ---- landing -------------------------------------------------------------- */
.landing { display: flex; flex-direction: column; align-items: center; justify-content: safe center; padding: 24px 40px 40px; gap: 24px; text-align: center; overflow: auto; }
.landing h1 { font-size: 60px; line-height: 1; letter-spacing: -0.03em; max-width: 780px; }
.landing h1 em { font-style: normal; background: var(--pop); color: var(--pop-ink); padding: 0 10px; border-radius: 12px; display: inline-block; line-height: 1.1; }
.pitch { margin: 0; font-size: 19px; color: var(--muted); max-width: 560px; }
.compose { width: 100%; max-width: 680px; background: var(--surface); border-radius: 28px; padding: 8px; display: flex; flex-direction: column; gap: 6px; text-align: left; }
.cstep { background: var(--bg); border-radius: 22px; padding: 16px; display: flex; flex-direction: column; gap: 12px; transition: opacity .2s ease; }
.cstep.locked { opacity: .55; }
.cstep-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cstep-head h2 { font-size: 18px; letter-spacing: -0.01em; flex: 1; min-width: 0; }
.cstep-num { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-family: var(--display); font-weight: 800; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.cstep.locked .cstep-num { background: var(--line); color: var(--muted); }
.cstep.done .cstep-num { background: var(--ok); color: var(--bg); }
.ask { display: flex; align-items: center; gap: 8px; border: 2px solid var(--line); border-radius: 999px; padding: 5px 5px 5px 18px; background: var(--surface); }
.ask:focus-within { border-color: var(--accent); }
.ask input { flex: 1; border: 0; background: transparent; font: inherit; font-size: 17px; color: var(--fg); min-width: 0; height: 44px; outline: none; }
.ask input::placeholder, .composer input::placeholder { color: var(--muted); }
.go { height: 44px; padding: 0 20px; border-radius: 999px; border: 0; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 15px; white-space: nowrap; }
.go:disabled { background: var(--line); color: var(--muted); opacity: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 760px; }
.chip { border: 0; background: var(--accent-soft); color: var(--fg); border-radius: 999px; padding: 0 16px; min-height: 44px; font-size: 14px; font-weight: 500; text-align: left; display: inline-flex; align-items: center; gap: 8px; }
.chip svg { color: var(--accent); flex: none; }
.trust { display: flex; gap: 12px; max-width: 900px; width: 100%; }
.trust div { flex: 1; background: var(--surface); border-radius: 18px; padding: 14px 16px; display: flex; align-items: flex-start; gap: 10px; text-align: left; font-size: 14px; line-height: 1.4; }
.trust svg { flex: none; color: var(--accent); margin-top: 1px; }

.nav { display: flex; align-items: center; gap: 8px; }
.navlink { color: var(--fg); text-decoration: none; font-size: 14px; font-weight: 500; padding: 0 14px; height: 40px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--surface); border: 0; }
.link { background: none; border: 0; color: var(--accent); font-weight: 700; font-size: 14px; padding: 8px 0; align-self: center; }

/* who-are-we-calling lookup */
.who-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.k { font-size: 13px; font-weight: 700; }
.seg { display: inline-flex; background: var(--surface); border-radius: 999px; padding: 3px; }
.seg button { height: 30px; padding: 0 12px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); font-size: 12.5px; font-weight: 700; }
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.who-in { display: flex; align-items: center; gap: 10px; border: 2px solid var(--line); border-radius: 999px; padding: 0 14px; background: var(--surface); }
.who-in:focus-within { border-color: var(--accent); }
.who-in svg { color: var(--muted); flex: none; }
.who-in input { flex: 1; border: 0; background: transparent; font: inherit; font-size: 15px; color: var(--fg); height: 42px; min-width: 0; outline: none; }
.who-in input::placeholder { color: var(--muted); }
.results { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.result { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--surface); border-radius: 16px; padding: 10px 14px; }
.results .hint { padding: 2px 6px; display: block; }
.result.picked { background: var(--pop-soft); }
.result .r1 { font-weight: 700; font-size: 14px; }
.result .r2 { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; font-weight: 500; }
.result button { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--fg); color: var(--bg); font-weight: 700; font-size: 13px; white-space: nowrap; flex: none; }
.result.picked button { background: transparent; color: var(--fg); border: 2px solid var(--line); }
.hint { font-size: 12.5px; color: var(--muted); line-height: 1.4; font-weight: 500; }
.msgs .results { max-width: 76%; }
.msgs .result { background: var(--surface); }

/* sign in */
.auth { display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; }
.auth-card { width: 100%; max-width: 440px; background: var(--surface); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.auth-card form { display: flex; flex-direction: column; gap: 12px; }
.auth-card h1 { font-size: 30px; line-height: 1.1; letter-spacing: -0.03em; }
.auth-card .note { margin: 0; }
.field-label { font-size: 13px; font-weight: 700; }
.field { border: 2px solid var(--line); border-radius: 999px; background: var(--bg); padding: 0 18px; }
.field:focus-within { border-color: var(--accent); }
.field input { width: 100%; border: 0; background: transparent; font: inherit; font-size: 17px; color: var(--fg); height: 48px; outline: none; font-variant-numeric: tabular-nums; }
.field input::placeholder { color: var(--muted); }

/* my calls */
.calls { overflow: auto; }
.calls-wrap { max-width: 860px; margin: 0 auto; padding: 8px 32px 32px; display: flex; flex-direction: column; gap: 16px; }
.calls-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.calls-head h1 { font-size: 36px; letter-spacing: -0.03em; }
.calls-head .btn { text-decoration: none; }
.call-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.call-item a { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: var(--surface); border-radius: 20px; padding: 16px 18px; color: var(--fg); text-decoration: none; }
.call-item a:hover { background: var(--surface2); }
.call-item .t1 { font-weight: 700; font-size: 16px; }
.call-item .t2 { font-size: 14px; color: var(--muted); }
.call-item .meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: none; }
.call-item .date { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.status-chip { font-size: 12px; font-weight: 700; border-radius: 999px; padding: 4px 11px; background: var(--surface2); color: var(--fg); white-space: nowrap; }
.status-chip.ok { background: var(--ok-soft); color: var(--ok); }
.status-chip.warn { background: var(--amber-bg); color: var(--amber-fg); }
.status-chip.live { background: var(--accent); color: var(--accent-ink); }
.empty-state { background: var(--surface); border-radius: 24px; padding: 32px; text-align: center; color: var(--muted); }
.empty-state b { display: block; font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--fg); margin-bottom: 6px; }

/* ---- planning chat -------------------------------------------------------- */
.planning { display: flex; flex-direction: column; }
.tabs { display: none; gap: 4px; margin: 0 16px 10px; background: var(--surface); border-radius: 999px; padding: 4px; flex: none; }
.tab { flex: 1; height: 40px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.tab[aria-selected="true"] { background: var(--bg); color: var(--fg); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.badge { background: var(--accent); color: var(--accent-ink); border-radius: 999px; font-size: 11px; padding: 2px 8px; font-weight: 700; }
.badge:empty { display: none; }
.badge.pop { background: var(--pop); color: var(--pop-ink); }
.planning .layout { flex: 1; min-height: 0; display: flex; gap: 24px; padding: 0 32px 28px; max-width: 1280px; width: 100%; margin: 0 auto; }
.chat { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.msgs { list-style: none; margin: 0; padding: 4px 4px 0 0; flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: 12px; }
.msg { display: flex; flex-direction: column; gap: 5px; max-width: 76%; }
.msg.user { align-self: flex-end; align-items: flex-end; }
.msg .text { font-size: 15px; line-height: 1.5; padding: 12px 16px; border-radius: 20px; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.ai .text { background: var(--surface); border-bottom-left-radius: 6px; }
.msg.user .text { background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 6px; }
.msg.typing .text { color: var(--muted); display: inline-flex; gap: 5px; align-items: center; }
.msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: blink 1.2s ease-in-out infinite; }
.msg.typing i:nth-child(2) { animation-delay: .2s } .msg.typing i:nth-child(3) { animation-delay: .4s }
.cta { background: var(--surface); border-radius: 20px; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex: none; }
.cta .note { font-size: 13px; color: var(--muted); line-height: 1.4; }
.cta .btn { min-height: 52px; font-size: 16px; }
.composer { display: flex; gap: 8px; align-items: center; background: var(--surface); border: 2px solid var(--line); border-radius: 999px; padding: 5px 5px 5px 18px; flex: none; }
.composer:focus-within { border-color: var(--accent); }
.composer input { flex: 1; border: 0; background: transparent; font: inherit; font-size: 15px; color: var(--fg); height: 40px; min-width: 0; outline: none; }
.send { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--accent); color: var(--accent-ink); display: inline-flex; align-items: center; justify-content: center; flex: none; }

.plan { width: 400px; flex: none; background: var(--surface); border-radius: 24px; display: flex; flex-direction: column; overflow: hidden; }
.plan-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px 12px; }
.plan-head h2 { font-size: 22px; }
.prog { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); font-weight: 500; }
.prog .track { width: 70px; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.prog .fill { display: block; height: 100%; background: var(--accent); border-radius: 3px; transition: width .4s ease; }
.plan-body { overflow: auto; padding: 0 22px 20px; display: flex; flex-direction: column; gap: 8px; }
.row { background: var(--bg); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 5px; }
.row.empty { background: transparent; border: 2px dashed var(--line); }
.row.fresh { background: var(--pop-soft); animation: land .5s cubic-bezier(.2,.9,.3,1.2); }
.lbl { font-size: 12px; color: var(--muted); font-weight: 700; display: flex; align-items: center; gap: 8px; }
.new { background: var(--pop); color: var(--pop-ink); border-radius: 999px; font-size: 10px; padding: 1px 7px; font-weight: 800; letter-spacing: .04em; }
.val { font-size: 14px; line-height: 1.45; font-weight: 500; overflow-wrap: anywhere; }
.val.empty { color: var(--muted); font-weight: 400; }
.sub { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.row ol, .row ul { margin: 0; padding-left: 20px; font-size: 14px; line-height: 1.5; font-weight: 500; display: flex; flex-direction: column; gap: 4px; }
.none { padding: 28px 10px; text-align: center; color: var(--muted); font-size: 14px; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.none b { font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--fg); }

/* ---- live call ------------------------------------------------------------ */
.call { display: flex; flex-direction: column; max-width: 1280px; margin: 0 auto; }
.stage { display: flex; align-items: center; gap: 28px; padding: 4px 32px 0; flex: none; }
.ring { width: 132px; height: 132px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; position: relative; flex: none; }
.ring.live::before, .ring.live::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; animation: ripple 2.2s ease-out infinite; }
.ring.live::after { animation-delay: 1.1s; }
.ring.quiet { background: var(--amber-bg); color: var(--amber-fg); }
.ring.done { background: var(--accent-soft); color: var(--fg); }
.ring .lbl { font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: -0.01em; color: inherit; text-align: center; padding: 0 10px; line-height: 1.15; }
.ring .tm { font-size: 14px; font-variant-numeric: tabular-nums; opacity: .9; }
.stage-text { display: flex; flex-direction: column; gap: 8px; min-width: 0; flex: 1; }
.stage-text h1 { font-size: 30px; line-height: 1.1; }
.num { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.step { font-size: 12px; font-weight: 700; border-radius: 999px; padding: 5px 11px; background: var(--surface); color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.step.done { background: var(--accent-soft); color: var(--fg); }
.step.now { background: var(--accent); color: var(--accent-ink); }
.step.stop { background: var(--amber-bg); color: var(--amber-fg); }
.call .layout { flex: 1; min-height: 0; display: flex; gap: 20px; padding: 18px 32px 0; }
.tcard { flex: 1; min-width: 0; background: var(--surface); border-radius: 24px; display: flex; flex-direction: column; overflow: hidden; min-height: 280px; }
.thead { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px 8px; font-size: 13px; color: var(--muted); }
.thead b { font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--fg); letter-spacing: -0.01em; }
.lines { list-style: none; margin: 0; padding: 8px 20px 20px; overflow: auto; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ln { display: flex; flex-direction: column; gap: 4px; max-width: 84%; animation: land .3s ease-out; }
.ln .t { font-size: 15px; line-height: 1.5; padding: 10px 14px; border-radius: 18px; background: var(--bg); overflow-wrap: anywhere; }
.ln.ai .t { border-bottom-left-radius: 6px; }
.ln.them { align-self: flex-end; align-items: flex-end; }
.ln.them .t { background: var(--accent-soft); border-bottom-right-radius: 6px; }
.ln.sys { max-width: 100%; flex-direction: row; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: 12px; font-weight: 500; }
.ln.sys .t { background: transparent; padding: 2px 0; font-size: 12px; color: var(--muted); }
.listen { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 500; padding: 0 6px; }
.listen i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: blink 1.2s ease-in-out infinite; }
.listen i:nth-child(2) { animation-delay: .2s } .listen i:nth-child(3) { animation-delay: .4s }
.aside { width: 360px; flex: none; display: flex; flex-direction: column; gap: 12px; overflow: auto; }
.aside h3 { font-size: 17px; letter-spacing: -0.01em; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.aside h3 span { font-size: 12px; color: var(--muted); font-family: var(--body); font-weight: 500; letter-spacing: 0; }
.q { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; font-weight: 500; }
.q + .q { margin-top: 10px; }
.q .ic { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); flex: none; display: inline-flex; align-items: center; justify-content: center; color: var(--accent-ink); }
.q.got .ic { background: var(--ok); border-color: var(--ok); color: var(--bg); }
.q.now .ic { border-color: var(--accent); animation: blink 1.2s ease-in-out infinite; }
.q .ans { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; background: var(--pop-soft); color: var(--fg); border-radius: 12px; padding: 3px 10px; font-size: 13px; font-weight: 700; animation: land .5s cubic-bezier(.2,.9,.3,1.2); }
.q .pend { display: block; color: var(--muted); margin-top: 2px; font-weight: 400; font-size: 13px; }
.q.wait .txt { color: var(--muted); }
.foot { display: flex; justify-content: space-between; align-items: center; padding: 14px 32px 20px; gap: 16px; flex: none; }
.foot .note { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.retry { background: var(--amber-bg); color: var(--amber-fg); border-radius: 20px; padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; align-self: flex-start; }
.retry b { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -0.01em; color: var(--fg); }
.retry span { font-size: 14px; line-height: 1.45; }
.retry .acts { display: flex; gap: 8px; flex-wrap: wrap; }
.retry .ghost { border-color: var(--amber-fg); color: var(--amber-fg); }

/* ---- report --------------------------------------------------------------- */
.report { overflow: auto; }
.wrap { padding: 8px 32px 32px; display: flex; gap: 24px; align-items: flex-start; max-width: 1280px; margin: 0 auto; }
.wrap .main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.side { width: 360px; flex: none; display: flex; flex-direction: column; gap: 14px; }
.report .card { border-radius: 24px; padding: 20px 22px; gap: 12px; }
.report h2 { font-size: 20px; }
.hero { border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 10px; background: var(--surface); }
.hero.ok { background: var(--ok-soft); }
.hero.warn { background: var(--pop-soft); }
.tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--fg); background: var(--bg); border-radius: 999px; padding: 5px 12px; align-self: flex-start; }
.hero.ok .tag svg { color: var(--ok); }
.hero.warn .tag svg { color: var(--amber-fg); }
.hero h1 { font-size: 40px; line-height: 1.05; letter-spacing: -0.03em; }
.when { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; font-weight: 500; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.answer { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border-radius: 16px; background: var(--bg); }
.answer .ql { font-size: 13px; color: var(--muted); font-weight: 500; }
.answer .a { font-size: 18px; font-weight: 700; line-height: 1.35; letter-spacing: -0.01em; }
.answer .a.none { color: var(--muted); font-weight: 500; }
.answer .m { font-size: 15px; line-height: 1.5; font-weight: 500; }
.conf, .deliv { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; padding: 4px 11px; border-radius: 999px; background: var(--surface2); color: var(--fg); align-self: flex-start; }
.conf.high, .deliv.yes { background: var(--ok-soft); color: var(--ok); }
.conf.low, .deliv.no { background: var(--amber-bg); color: var(--amber-fg); }
.quote { margin: 0; font-size: 15px; line-height: 1.5; background: var(--accent-soft); border-radius: 14px; padding: 10px 14px; }
.quote span { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; font-weight: 500; }
.note { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
ul.plain { margin: 0; padding-left: 18px; font-size: 14.5px; line-height: 1.55; display: flex; flex-direction: column; gap: 6px; font-weight: 500; }
.charge b { font-family: var(--display); font-weight: 800; font-size: 32px; letter-spacing: -0.02em; }
.kvs { margin: 0; }
.kvs div { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; padding: 7px 0; border-top: 1px solid var(--line); font-weight: 500; }
.kvs div:first-child { border-top: 0; }
.kvs dt { color: var(--muted); }
.kvs dd { margin: 0; font-variant-numeric: tabular-nums; text-align: right; }
summary { cursor: pointer; font-weight: 700; font-size: 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary span { color: var(--muted); font-weight: 500; font-size: 13px; }
.tlines { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tlines li { display: flex; gap: 10px; font-size: 14px; line-height: 1.45; }
.tlines .ts { color: var(--muted); width: 40px; flex: none; font-size: 12.5px; padding-top: 2px; }
.tlines .w { font-weight: 700; width: 110px; flex: none; font-size: 12.5px; padding-top: 2px; }
.tlines .sys { color: var(--muted); font-size: 12.5px; }
.tlines .sys .w { font-weight: 500; }
.side .btn { width: 100%; }
.mobile-only { display: none !important; }

/* ---- phone width ---------------------------------------------------------- */
@media (max-width: 800px) {
  .bar { padding: 0 16px; height: 60px; }
  .landing { padding: 8px 16px 20px; justify-content: flex-start; gap: 14px; text-align: left; align-items: stretch; }
  .landing h1 { font-size: 40px; }
  .pitch { font-size: 16px; }
  .chips { justify-content: flex-start; }
  .chip { min-height: 40px; font-size: 13px; }
  .trust { flex-direction: column; gap: 8px; }
  .trust div { padding: 10px 12px; font-size: 13px; }

  .tabs { display: flex; }
  .nav { gap: 6px; }
  .navlink { padding: 0 12px; font-size: 13px; }
  #bar-pill { display: none; }
  .compose { border-radius: 22px; padding: 6px; }
  .cstep { padding: 12px; border-radius: 18px; }
  .cstep-head .seg { width: 100%; }
  .seg button { flex: 1; }
  .calls-wrap { padding: 4px 16px 20px; }
  .calls-head h1 { font-size: 28px; }
  .call-item a { flex-direction: column; align-items: flex-start; }
  .call-item .meta { flex-direction: row; align-items: center; }
  .msgs .results { max-width: 100%; }
  .wide-only { display: none; }
  .planning .layout { padding: 0 16px 16px; }
  .planning[data-tab="chat"] .plan, .planning[data-tab="plan"] .chat { display: none; }
  .plan { width: auto; flex: 1; min-height: 0; }
  .msg { max-width: 90%; }
  .cta { flex-direction: column-reverse; align-items: stretch; background: transparent; padding: 0; gap: 6px; }
  .cta .note { text-align: center; }
  .cta .btn { width: 100%; }

  .call { overflow: auto; }
  .stage { flex-direction: column; gap: 10px; padding: 14px 16px 0; text-align: center; }
  .ring { width: 112px; height: 112px; }
  .stage-text { align-items: center; }
  .stage-text h1 { font-size: 22px; }
  .steps { justify-content: center; }
  .call .layout { flex-direction: column; gap: 12px; padding: 12px 16px 0; flex: none; }
  .aside { width: auto; order: -1; overflow: visible; }
  #m-card, #r-card { display: none; }
  .tcard { min-height: 360px; }
  .lines { padding: 6px 14px 14px; }
  .ln { max-width: 94%; }
  .foot { padding: 10px 16px 16px; flex-direction: column-reverse; align-items: stretch; }

  .wrap { flex-direction: column; padding: 4px 16px 20px; gap: 14px; }
  .side { width: 100%; }
  .report .card { padding: 16px; border-radius: 20px; }
  .hero { padding: 20px; }
  .hero h1 { font-size: 30px; }
  .mobile-only { display: flex !important; }
  .desktop-only { display: none !important; }
  .tlines .w { width: 80px; }
}
