/* Dialess website. Same design system as the phone app:
   black, grey and white. Light blue only for the user's own bubbles.
   Green / yellow / red only for status: confirmed, needs attention, not done. */
@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #F5F5F5; --surface: #FFFFFF; --surface-2: #EFEFEF; --surface-3: #E0E0E0;
  --text: #0A0A0A; --text-2: #4D4D4D; --muted: #8C8C8C; --line: #E6E6E6;
  --accent: #0A0A0A; --accent-ink: #FFFFFF; --accent-soft: #EDEDED;
  --ok: #12A150; --ok-soft: #E3F6EA; --warn: #C27A00; --warn-soft: #FFF3D9; --bad: #E0364C; --bad-soft: #FDE7EA;
  --end: #E0364C;
  --ai-bubble: #FFFFFF; --them-bubble: #EBEBEB; --you-bubble: #CFE8FF; --you-ink: #0A0A0A;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);
  --shadow-lg: 0 30px 80px rgba(0,0,0,.16);
  --radius: 22px;
  --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='259 242 760 760'%3E%3Cg fill='%230A0A0A' stroke='%230A0A0A' stroke-linejoin='round' stroke-width='6'%3E%3Cpath fill-rule='evenodd' d='M348 287 H432 Q446 287 458 294 L880 542 V703 L458 951 Q446 958 432 958 H348 Z M437 380 V868 L814 646 Q840 625 814 604 Z'/%3E%3Cpath d='M588 287 H640 C820 287 930 420 930 625 C930 830 820 958 640 958 H588 Q572 958 572 942 V905 Q572 887 600 887 H640 C760 887 850 790 850 625 C850 460 760 360 640 360 H600 Q572 360 572 332 V303 Q572 287 588 287 Z'/%3E%3C/g%3E%3C/svg%3E");
  --mark-inv: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='259 242 760 760'%3E%3Cg fill='%23F5F5F5' stroke='%23F5F5F5' stroke-linejoin='round' stroke-width='6'%3E%3Cpath fill-rule='evenodd' d='M348 287 H432 Q446 287 458 294 L880 542 V703 L458 951 Q446 958 432 958 H348 Z M437 380 V868 L814 646 Q840 625 814 604 Z'/%3E%3Cpath d='M588 287 H640 C820 287 930 420 930 625 C930 830 820 958 640 958 H588 Q572 958 572 942 V905 Q572 887 600 887 H640 C760 887 850 790 850 625 C850 460 760 360 640 360 H600 Q572 360 572 332 V303 Q572 287 588 287 Z'/%3E%3C/g%3E%3C/svg%3E");
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0A0A0A; --surface: #161616; --surface-2: #1F1F1F; --surface-3: #2E2E2E;
  --text: #F5F5F5; --text-2: #BDBDBD; --muted: #808080; --line: #262626;
  --accent: #F5F5F5; --accent-ink: #0A0A0A; --accent-soft: #242424;
  --ok: #3DD68C; --ok-soft: #10301F; --warn: #F5B544; --warn-soft: #33270C; --bad: #FF6B7D; --bad-soft: #3A1219;
  --ai-bubble: #1F1F1F; --them-bubble: #262626; --you-bubble: #9FD0FF; --you-ink: #0A0A0A;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35);
  --shadow-lg: 0 30px 80px rgba(0,0,0,.6);
  --mark: var(--mark-inv);
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: 'Figtree', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg); color: var(--text);
  -webkit-font-smoothing: antialiased; font-size: 15px; line-height: 1.45;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
svg.i { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
svg.i.sm { width: 16px; height: 16px; } svg.i.lg { width: 24px; height: 24px; }
[hidden] { display: none !important; }

/* ---------- Type ---------- */
.h1 { font-size: 40px; line-height: 1.08; font-weight: 700; letter-spacing: -.03em; }
.h2 { font-size: 24px; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }
.h3 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.sub { color: var(--text-2); }
.small:not(.btn) { font-size: 13px; color: var(--muted); }
.center { text-align: center; }

/* ---------- App shell ---------- */
.shell { display: grid; grid-template-columns: 268px minmax(0, 1fr); height: 100dvh; }
.side { background: var(--surface); border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; }
.side-top { padding: 18px 14px 10px; }
.wordmark { font-weight: 800; font-size: 20px; letter-spacing: -.02em; display: flex; align-items: center; gap: 9px; padding: 0 6px; }
.mark { width: 24px; height: 24px; background: var(--mark) center / contain no-repeat; flex: none; display: inline-block; }
.side .btn.new { margin-top: 16px; }
.side-scroll { flex: 1; overflow-y: auto; padding: 6px 8px; min-height: 0; }
.side .h3 { padding: 10px 12px 6px; }
.side-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 14px; width: 100%; text-align: left; }
.side-item:hover { background: var(--surface-2); }
.side-item.on { background: var(--accent-soft); }
.side-item b { display: block; font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-item .small { display: block; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--surface-3); }
.dot.ok { background: var(--ok); } .dot.warn { background: var(--warn); } .dot.bad { background: var(--bad); }
.dot.live { background: var(--end); animation: blink 1.2s infinite; }
.side-bottom { border-top: 1px solid var(--line); padding: 8px; }
.nav-item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; font-weight: 600; font-size: 14px; color: var(--text-2); width: 100%; }
.nav-item:hover { background: var(--surface-2); }
.nav-item.on { color: var(--text); background: var(--accent-soft); }
.maincol { display: flex; flex-direction: column; min-width: 0; min-height: 0; height: 100dvh; }
.main { flex: 1; min-width: 0; min-height: 0; overflow-y: auto; position: relative; }
.page { max-width: 720px; margin: 0 auto; padding: 36px 28px 80px; }
.page.wide { max-width: 1080px; }
.pagehead { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.banner { background: var(--warn-soft); color: var(--text); font-size: 13px; font-weight: 600; padding: 8px 16px; display: flex; gap: 8px; align-items: center; justify-content: center; }
.banner svg { color: var(--warn); }
.topbar-m { display: none; }

/* ---------- Surfaces ---------- */
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.card + .card, .stack > * + * { margin-top: 14px; }
.row { display: flex; align-items: center; gap: 12px; }
.row.top { align-items: flex-start; }
.row.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.divider { height: 1px; background: var(--line); margin: 14px 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); font-size: 14px; font-weight: 500; }
button.chip:hover, a.chip:hover { background: var(--surface-2); }
.chip.soft { background: var(--surface-2); box-shadow: none; }
button.chip.soft:hover { background: var(--surface-3); }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.bad { background: var(--bad-soft); color: var(--bad); }
.pill.info { background: var(--accent-soft); color: var(--accent); }
.pill.live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: blink 1.2s infinite; }
.pill.live.bad { color: var(--end); background: transparent; box-shadow: 0 0 0 1px var(--line); }
@keyframes blink { 50% { opacity: .25; } }
.avatar { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-weight: 700; flex: none; background: var(--surface-2); color: var(--text-2); }
.avatar.sm { width: 32px; height: 32px; border-radius: 10px; font-size: 12px; }
.avatar.round { border-radius: 50%; }
.avatar.ai { background: var(--surface) var(--mark) center / 62% no-repeat; box-shadow: 0 0 0 1px var(--line); border-radius: 50%; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 15px; white-space: nowrap; transition: transform .08s, opacity .15s; }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .5; cursor: default; }
.btn.block { display: flex; width: 100%; }
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.primary:hover:not([disabled]) { opacity: .88; }
.btn.secondary { background: var(--surface); box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.btn.secondary:hover:not([disabled]) { background: var(--surface-2); }
.btn.danger { background: var(--end); color: #fff; }
.btn.small { height: 38px; font-size: 14px; padding: 0 16px; }
.btn.big { height: 56px; font-size: 16px; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); box-shadow: var(--shadow); flex: none; }
.icon-btn:hover { background: var(--surface-2); }
.icon-btn.ghost { background: transparent; box-shadow: none; }
.link { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Forms ---------- */
.field { background: var(--surface); border-radius: 16px; box-shadow: 0 0 0 1px var(--line); padding: 10px 16px; display: block; }
.field:focus-within { box-shadow: 0 0 0 2px var(--accent); }
.field span { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.field input, .field select { border: 0; outline: 0; background: transparent; width: 100%; font-size: 16px; font-weight: 500; padding: 2px 0; }
.field + .field { margin-top: 10px; }
.inp { border: 0; outline: 0; background: var(--surface-2); border-radius: 10px; padding: 7px 10px; font-size: 14px; font-weight: 600; min-width: 0; }
.inp:focus { box-shadow: 0 0 0 2px var(--accent); }
.composer { background: var(--surface); border-radius: 28px; box-shadow: var(--shadow), 0 0 0 1px var(--line); padding: 18px 16px 12px 22px; text-align: left; }
.composer:focus-within { box-shadow: var(--shadow), 0 0 0 2px var(--accent); }
.composer textarea { width: 100%; border: 0; outline: 0; background: transparent; resize: none; font-size: 18px; line-height: 1.4; min-height: 56px; }
.composer .tools { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.numfield { display: flex; align-items: center; gap: 8px; background: var(--surface-2); border-radius: 999px; padding: 0 14px; height: 40px; color: var(--text-2); flex: 1; min-width: 180px; max-width: 300px; }
.numfield input { border: 0; outline: 0; background: transparent; width: 100%; font-size: 15px; font-weight: 500; }
.send { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; flex: none; }
.send:hover { opacity: .88; }
.send[disabled] { opacity: .35; cursor: default; }
.send.sm { width: 34px; height: 34px; }
.seg { display: flex; background: var(--surface-2); border-radius: 999px; padding: 4px; }
.seg button { flex: 1; height: 36px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--text-2); padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.seg button.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.seg button[disabled] { opacity: .55; cursor: default; }
.switch { width: 50px; height: 30px; border-radius: 999px; background: var(--surface-3); position: relative; flex: none; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: .2s; }
.switch.on { background: var(--ok); }
.switch.on::after { left: 23px; }

/* ---------- Lists ---------- */
.list { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.list .item { display: flex; align-items: center; gap: 12px; padding: 14px 18px; width: 100%; text-align: left; }
.list .item + .item { border-top: 1px solid var(--line); }
.list a.item:hover, .list button.item:hover { background: var(--surface-2); }
.chev { color: var(--muted); }

/* ---------- Home ---------- */
.home { min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 28px 60px; text-align: center; }
.home .mark-lg { width: 64px; height: 64px; background: var(--mark) center / contain no-repeat; margin-bottom: 22px; }
.home .composer { width: 100%; max-width: 680px; margin-top: 56px; }
.examples { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 16px; max-width: 720px; }
.promises { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; margin-top: 34px; color: var(--muted); font-size: 13px; font-weight: 600; }
.promises span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Call card ---------- */
.kv { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.kv + .kv { margin-top: 16px; }
.kv .k { font-size: 12px; font-weight: 600; color: var(--muted); }
.kv .v { font-weight: 600; font-size: 15px; }
.kv svg { color: var(--text-2); margin-top: 2px; }
.limit { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: var(--surface-2); flex-wrap: wrap; }
.limit + .limit { margin-top: 8px; }
.limit > div { flex: 1; min-width: 0; }
.limit b { font-weight: 600; }
.limit .edit { flex: none; font-weight: 700; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.limit .editor { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; flex: 1; min-width: 0; }
.notice { display: flex; gap: 10px; padding: 12px 14px; border-radius: 16px; font-size: 13px; line-height: 1.45; }
.notice.info { background: var(--accent-soft); }
.notice.warn { background: var(--warn-soft); } .notice.warn svg { color: var(--warn); }
.notice.bad { background: var(--bad-soft); } .notice.bad svg { color: var(--bad); }
.notice.ok { background: var(--ok-soft); } .notice.ok svg { color: var(--ok); }

/* ---------- Calling ---------- */
.calling { min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 28px; }
.ring { position: relative; width: 168px; height: 168px; display: grid; place-items: center; }
.ring-av { width: 132px; height: 132px; border-radius: 50%; background: var(--surface-3); display: grid; place-items: center; font-size: 46px; font-weight: 700; letter-spacing: -.02em; position: relative; z-index: 1; }
.ring span { position: absolute; inset: 18px; border-radius: 50%; border: 2px solid var(--surface-3); animation: ripple 2.4s ease-out infinite; }
.ring span:nth-child(2) { animation-delay: 1.2s; }
@keyframes ripple { from { transform: scale(1); opacity: .9; } to { transform: scale(1.45); opacity: 0; } }

/* ---------- Live call ---------- */
.livecall { display: grid; grid-template-columns: minmax(0, 1fr) 340px; height: 100%; min-height: 0; }
.live-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; height: 100%; }
.callhead { flex: none; padding: 16px 24px 12px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); background: var(--bg); }
.callhead .name { font-weight: 700; font-size: 17px; }
.timer { font-variant-numeric: tabular-nums; }
.transcript { flex: 1; overflow-y: auto; padding: 22px 24px; display: flex; flex-direction: column; gap: 16px; min-height: 0; }
.transcript > * { max-width: 760px; }
.transcript.inset { max-height: 520px; padding: 6px 2px; }
.sysline { align-self: center; font-size: 12px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 6px; text-align: center; padding: 0 20px; }
.sysline.shield { color: var(--ok); background: var(--ok-soft); padding: 6px 12px; border-radius: 999px; }
.sysline.warn { color: var(--warn); }
.msg { display: flex; gap: 10px; max-width: min(84%, 640px) !important; animation: rise .25s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }
.msg .who { font-size: 11px; font-weight: 700; color: var(--muted); margin: 0 0 4px 4px; display: flex; gap: 6px; align-items: center; }
.msg .who time { font-weight: 500; }
.bubble { padding: 11px 15px; border-radius: 20px; font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.bubble .orig { display: block; font-size: 12.5px; color: var(--muted); margin-top: 6px; padding-top: 6px; border-top: 1px dashed var(--line); font-style: italic; }
.bubble.pending { color: var(--muted); font-style: italic; }
.msg.ai .bubble { background: var(--ai-bubble); box-shadow: var(--shadow); border-top-left-radius: 6px; }
.msg.them .bubble { background: var(--them-bubble); border-top-left-radius: 6px; }
.msg.you { align-self: flex-end; flex-direction: row-reverse; }
.msg.you .who { justify-content: flex-end; margin: 0 4px 4px 0; }
.msg.you .bubble { background: var(--you-bubble); color: var(--you-ink); border-top-right-radius: 6px; }
.msg.you .bubble .orig { color: rgba(10,10,10,.6); border-color: rgba(10,10,10,.18); }
.msg.hint .bubble { background: transparent; border: 1.5px dashed var(--text-2); color: var(--text-2); font-size: 13px; font-weight: 600; padding: 7px 12px; }
.live-foot { flex: none; padding: 10px 24px 20px; }
.live-foot > * { max-width: 760px; }
.hintbar { display: flex; align-items: center; gap: 8px; background: var(--surface); box-shadow: var(--shadow), 0 0 0 1px var(--line); border-radius: 999px; padding: 6px 6px 6px 18px; }
.hintbar input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 15px; min-width: 0; }
.ask { background: var(--surface); border-radius: 24px; box-shadow: 0 -4px 30px rgba(0,0,0,.10), 0 0 0 1.5px var(--accent); padding: 16px; margin-bottom: 10px; animation: rise .25s ease-out; }
.ask .q { font-weight: 700; font-size: 17px; margin: 8px 0 12px; }
.ask .chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.ask .chips .chip { box-shadow: 0 0 0 1px var(--line); font-weight: 600; }
.ask .hintbar { box-shadow: none; background: var(--surface-2); }
.live-side { border-left: 1px solid var(--line); background: var(--surface); padding: 20px 18px; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; min-height: 0; }
.live-side .limit { font-size: 14px; padding: 10px 12px; }
.live-ctl { margin-top: auto; display: grid; gap: 10px; }
.wave { display: flex; align-items: center; justify-content: center; gap: 3px; height: 28px; }
.wave i { width: 3px; border-radius: 3px; background: var(--text); animation: wv 1s ease-in-out infinite; }
.wave i:nth-child(odd) { animation-delay: -.4s; } .wave i:nth-child(3n) { animation-delay: -.7s; }
@keyframes wv { 0%,100% { height: 6px; } 50% { height: 26px; } }
.speaking { background: var(--surface); border-radius: 24px; box-shadow: var(--shadow), 0 0 0 1.5px var(--accent); padding: 16px; display: grid; gap: 12px; text-align: center; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--surface-3); border-top-color: var(--text); animation: spin .8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Result ---------- */
.hero { text-align: center; padding: 10px 8px 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.badge-ic { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.badge-ic svg { width: 34px; height: 34px; stroke-width: 2.2; }
.badge-ic.sm { width: 36px; height: 36px; } .badge-ic.sm svg { width: 16px; height: 16px; stroke-width: 1.8; }
.badge-ic.ok { background: var(--ok-soft); color: var(--ok); }
.badge-ic.warn { background: var(--warn-soft); color: var(--warn); }
.badge-ic.bad { background: var(--bad-soft); color: var(--bad); }
.badge-ic.info { background: var(--accent-soft); color: var(--accent); }
.bigresult { font-size: 44px; font-weight: 800; letter-spacing: -.035em; line-height: 1.04; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check + .check { margin-top: 10px; }
.check svg { color: var(--ok); margin-top: 1px; }
.check.warn svg { color: var(--warn); }
.check.no svg { color: var(--bad); }
.option { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); width: 100%; text-align: left; }
.option + .option { margin-top: 10px; }
button.option:hover { background: var(--surface-2); }
.option .radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--surface-3); flex: none; }
.option.sel { box-shadow: 0 0 0 2px var(--accent); }
.option.sel .radio { border: 7px solid var(--accent); }
.quote { border-left: 3px solid var(--warn); padding: 4px 0 4px 12px; font-size: 14px; color: var(--text-2); }
.quote + .quote { margin-top: 10px; }
.quote .orig { font-style: italic; display: block; }

/* ---------- Welcome / onboarding ---------- */
.welcome { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 100dvh; }
.pitch { background: #0A0A0A; color: #F5F5F5; padding: 44px 52px; display: flex; flex-direction: column; }
.pitch .wordmark .mark { background-image: var(--mark-inv); }
.pitch h1 { font-size: 54px; line-height: 1.02; font-weight: 700; letter-spacing: -.035em; margin-top: auto; }
.pitch p { color: #BDBDBD; font-size: 18px; margin-top: 18px; max-width: 460px; }
.pitch ul { list-style: none; margin: 34px 0 auto; display: grid; gap: 12px; color: #E0E0E0; font-weight: 500; }
.pitch li { display: flex; gap: 10px; align-items: center; }
.pitch li svg { color: #3DD68C; }
.pitch .foot { color: #808080; font-size: 13px; }
.auth { display: flex; align-items: center; justify-content: center; padding: 40px 28px; }
.auth-box { width: 100%; max-width: 400px; }
.onboard { min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.onboard-box { width: 100%; max-width: 520px; }
.langs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-height: 380px; overflow-y: auto; padding: 3px; }
.lang { padding: 12px 14px; border-radius: 16px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); text-align: left; }
.lang b { display: block; font-size: 15px; font-weight: 700; }
.lang span { font-size: 12px; color: var(--muted); }
.lang:hover { background: var(--surface-2); }
.lang.sel { box-shadow: 0 0 0 2px var(--accent); background: var(--accent-soft); }
.code { display: flex; gap: 8px; justify-content: center; }
.code span { width: 46px; height: 58px; border-radius: 14px; background: var(--surface-2); display: grid; place-items: center; font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; }

/* ---------- Toast / modal ---------- */
.talk { display: inline-flex; align-items: center; gap: 12px; margin: 22px auto 0; padding: 10px 22px 10px 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 17px; box-shadow: var(--shadow); }
.talk:hover { opacity: .9; }
.talk .talk-ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-ink); color: var(--accent); }
.talk .wave.sm { display: none; height: 20px; }
.talk .wave.sm i { background: var(--accent-ink); }
.talk.rec { background: var(--bad); color: #fff; }
.talk.rec .talk-ic { background: #fff; color: var(--bad); animation: micpulse 1.2s ease-in-out infinite; }
.talk.rec .wave.sm { display: flex; }
.talk.rec .wave.sm i { background: #fff; }
.or { margin: 12px 0 10px; }
.places { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.place-row { display: flex; gap: 8px; align-items: center; }
.place-row .numfield { max-width: none; }
.place-n { width: 24px; height: 24px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-size: 12px; font-weight: 700; flex: none; }
.composer .tools.multi { align-items: flex-end; }
.multi-toggle { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.multi-toggle .link { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; }
.clarify-q + .clarify-q { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.clarify-q .chips { display: flex; gap: 8px; flex-wrap: wrap; }
.clarify-q .chip { box-shadow: 0 0 0 1px var(--line); font-weight: 600; }
.chip.sel { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.clarify-q .hintbar { box-shadow: none; background: var(--surface-2); }
.gpanels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gpanel { display: block; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; min-height: 150px; }
.gpanel:hover { box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.gpanel.ask-on { box-shadow: var(--shadow), 0 0 0 2px var(--warn); }
.gpanel .small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.glines { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; line-height: 1.35; }
.gline { }
.gline.ai b { color: var(--text); } .gline.them { color: var(--text-2); }
.gline.sys { font-size: 12px; font-weight: 600; color: var(--muted); }
.option .btn { margin-left: 8px; }
@media (max-width: 980px) { .gpanels { grid-template-columns: 1fr; } .gpanel { min-height: 0; } }
@media (max-width: 820px) { .place-row { flex-wrap: wrap; } .place-row .numfield { min-width: 0; flex: 1 1 140px; } }
.mic-btn { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; color: var(--text-2); background: transparent; }
.mic-btn:hover { background: var(--surface-2); color: var(--text); }
.mic-btn.lg { width: 44px; height: 44px; background: var(--surface-2); }
.mic-btn.rec { background: var(--bad); color: #fff; animation: micpulse 1.2s ease-in-out infinite; }
@keyframes micpulse { 0%,100% { box-shadow: 0 0 0 0 rgba(224,54,76,.45); } 50% { box-shadow: 0 0 0 8px rgba(224,54,76,0); } }
.notif { position: fixed; top: 18px; right: 18px; z-index: 110; display: flex; align-items: center; gap: 12px; background: var(--surface); border-radius: 18px; padding: 12px 12px 12px 14px;
  box-shadow: var(--shadow-lg), 0 0 0 1.5px var(--warn); width: min(92vw, 420px); animation: rise .25s ease-out; }
.notif .small { margin-top: 2px; }
.biz-hero { display: flex; flex-direction: column; gap: 14px; padding: 8px 4px 0; }
.biz-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.biz-grid .card { margin: 0; }
@media (max-width: 820px) { .biz-grid { grid-template-columns: 1fr; } .notif { left: 50%; right: auto; transform: translateX(-50%); top: 12px; } }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); background: var(--text); color: var(--bg); padding: 12px 18px; border-radius: 16px; font-weight: 600; font-size: 14px; box-shadow: var(--shadow-lg); z-index: 100; max-width: min(92vw, 520px); animation: rise .2s ease-out; }
.modal-back { position: fixed; inset: 0; background: rgba(0,0,0,.45); display: grid; place-items: center; z-index: 90; padding: 20px; }
.modal { background: var(--surface); border-radius: 26px; box-shadow: var(--shadow-lg); padding: 24px; width: 100%; max-width: 480px; max-height: 86dvh; overflow-y: auto; }

/* ---------- Small screens ---------- */
@media (max-width: 980px) {
  .cols { grid-template-columns: 1fr; }
  .livecall { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; }
  .live-side { border-left: 0; border-top: 1px solid var(--line); padding: 12px 18px; }
  .live-side .side-info { display: none; }
  .live-ctl { grid-template-columns: 1fr 1fr; margin-top: 0; }
}
@media (max-width: 820px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .side { display: none; }
  .topbar-m { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--surface); border-bottom: 1px solid var(--line); }
  .welcome { grid-template-columns: 1fr; }
  .pitch { padding: 28px 24px; }
  .pitch h1 { font-size: 36px; margin-top: 28px; }
  .pitch ul { margin: 22px 0; }
  .h1 { font-size: 30px; }
  .bigresult { font-size: 34px; }
  .langs { grid-template-columns: repeat(2, 1fr); }
  .numfield { max-width: none; }
  .composer .tools .grow { display: none; }
  .toast { bottom: 84px; }
  .page { padding: 22px 16px 60px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
