/* Health patient portal design system. Modern, standard, accessible. */
:root {
  --brand: #0b5cab; --brand-dark: #09488a; --brand-light: #e8f0fa; --brand-text: #ffffff;
  --cta: #1f8a4c; --cta-dark: #176d3b; --cta-light: #e6f4ec;
  --bg: #f3f5f8; --surface: #ffffff; --surface-2: #f8fafc;
  --text: #1b2430; --muted: #5b6675; --subtle: #8a95a5; --border: #dde3ea; --border-strong: #c6cfda;
  --danger: #c2333f; --danger-light: #fbeaec; --warn: #b7791f; --warn-light: #fdf3e1; --ok: #1f8a4c; --ok-light: #e6f4ec; --info: #0b5cab; --info-light: #e8f0fa;
  --radius: 10px; --radius-sm: 6px; --shadow: 0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.08);
  --shadow-lg: 0 10px 30px rgba(16,24,40,.15);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.5; }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 { margin: 0 0 .5rem; line-height: 1.25; font-weight: 650; }
h1 { font-size: 1.6rem; } h2 { font-size: 1.25rem; } h3 { font-size: 1.05rem; } h4 { font-size: .95rem; }
p { margin: 0 0 .75rem; }
small, .small { font-size: .85rem; }
.muted { color: var(--muted); } .subtle { color: var(--subtle); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
:focus-visible { outline: 3px solid #8ab4ea; outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; border-radius: 6px; }
.skip-link:focus { left: 8px; }

/* Header */
.hdr { background: var(--brand); color: var(--brand-text); position: sticky; top: 0; z-index: 40; box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.hdr-inner { max-width: var(--max); margin: 0 auto; padding: 0 16px; height: 60px; display: flex; align-items: center; gap: 12px; }
.hdr .logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.2rem; letter-spacing: .2px; }
.hdr .logo .mark { width: 30px; height: 30px; border-radius: 8px; background: #fff; color: var(--brand); display: grid; place-items: center; font-weight: 800; }
.hdr nav { display: flex; gap: 2px; margin-left: 8px; }
.hdr nav a { color: #fff; text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 500; font-size: .95rem; position: relative; }
.hdr nav a:hover, .hdr nav a[aria-current="page"] { background: rgba(255,255,255,.14); }
.hdr .spacer { flex: 1; }
.hdr .btn-hdr { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; padding: 7px 12px; font: inherit; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.hdr .btn-hdr:hover { background: rgba(255,255,255,.2); }
.hdr .avatar { width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--brand); display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
[hidden] { display: none !important; }
.count-badge { background: var(--danger); color: #fff; border-radius: 999px; font-size: .7rem; font-weight: 700; padding: 1px 6px; min-width: 18px; text-align: center; display: inline-block; line-height: 1.4; }
.hdr nav .count-badge { position: absolute; top: 2px; right: 2px; }
@media (max-width: 860px) { .hdr nav { display: none; } }

/* Layout */
main { max-width: var(--max); margin: 0 auto; padding: 24px 16px 64px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.page-head h1 { margin: 0; }
.page-head .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3,1fr); } .grid-main { grid-template-columns: 2fr 1fr; }
@media (max-width: 860px) { .grid-2, .grid-3, .grid-main { grid-template-columns: 1fr; } }
.stack { display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; }
.right { text-align: right; } .center { text-align: center; }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; }
.card.flush { padding: 0; overflow: hidden; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.card-head h2, .card-head h3 { margin: 0; }
.card.flush .card-head { padding: 16px 20px 0; }
.list { list-style: none; margin: 0; padding: 0; }
.list > li { padding: 14px 20px; border-top: 1px solid var(--border); display: flex; gap: 14px; align-items: center; }
.list > li:first-child { border-top: 0; }
.list > li.clickable { cursor: pointer; }
.list > li.clickable:hover { background: var(--surface-2); }
.list .grow { flex: 1; min-width: 0; }
.list .title { font-weight: 600; }
.list .meta { color: var(--muted); font-size: .88rem; }
.list a.rowlink { color: inherit; text-decoration: none; display: flex; gap: 14px; align-items: center; flex: 1; }
.ico { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-light); color: var(--brand); display: grid; place-items: center; flex: none; }
.ico.green { background: var(--ok-light); color: var(--ok); } .ico.red { background: var(--danger-light); color: var(--danger); } .ico.amber { background: var(--warn-light); color: var(--warn); } .ico.gray { background: #eef1f5; color: var(--muted); }
.ico svg { width: 20px; height: 20px; }
svg:not(.chart) { width: 18px; height: 18px; flex: none; vertical-align: -3px; }
.chev { width: 18px; height: 18px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand); display: inline-block; flex: none; }
.chev { color: var(--subtle); flex: none; }

/* Shortcut tiles */
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
@media (max-width: 860px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 10px; text-align: center; text-decoration: none; color: var(--text); font-weight: 600; font-size: .9rem; display: flex; flex-direction: column; align-items: center; gap: 10px; box-shadow: var(--shadow); position: relative; }
.tile:hover { border-color: var(--brand); color: var(--brand); }
.tile .ico { width: 44px; height: 44px; }
.tile .count-badge { position: absolute; top: 8px; right: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 8px; padding: 9px 16px; font: inherit; font-weight: 600; font-size: .95rem; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); cursor: pointer; text-decoration: none; line-height: 1.2; white-space: nowrap; }
.btn:hover { background: var(--surface-2); color: var(--text); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; } .btn.primary:hover { background: var(--brand-dark); color: #fff; }
.btn.cta { background: var(--cta); border-color: var(--cta); color: #fff; } .btn.cta:hover { background: var(--cta-dark); color: #fff; }
.btn.danger { background: var(--danger); border-color: var(--danger); color: #fff; } .btn.danger:hover { background: #a2252f; color: #fff; }
.btn.ghost { border-color: transparent; background: transparent; color: var(--brand); } .btn.ghost:hover { background: var(--brand-light); }
.btn.sm { padding: 6px 10px; font-size: .85rem; } .btn.lg { padding: 12px 22px; font-size: 1.05rem; }
.btn.block { width: 100%; }
.btn[disabled], .btn.disabled { opacity: .55; cursor: not-allowed; }
.btn svg { width: 18px; height: 18px; }
.btn-group { display: flex; gap: 8px; flex-wrap: wrap; }

/* Badges & alerts */
.badge { display: inline-block; border-radius: 999px; padding: 2px 10px; font-size: .78rem; font-weight: 700; letter-spacing: .2px; background: #eef1f5; color: var(--muted); }
.badge.blue { background: var(--info-light); color: var(--info); } .badge.green { background: var(--ok-light); color: var(--ok); } .badge.red { background: var(--danger-light); color: var(--danger); } .badge.amber { background: var(--warn-light); color: var(--warn); }
.alert { border-radius: var(--radius-sm); padding: 12px 14px; border: 1px solid; display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; }
.alert svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.alert.info { background: var(--info-light); border-color: #bcd3ee; color: #0b3f75; }
.alert.warn { background: var(--warn-light); border-color: #ecd4a3; color: #6d4705; }
.alert.danger { background: var(--danger-light); border-color: #efb9be; color: #7b1a22; }
.alert.ok { background: var(--ok-light); border-color: #b5dfc5; color: #155a31; }

/* Forms */
label.field { display: block; margin-bottom: 14px; }
label.field > span, .field-label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 5px; }
.hint { color: var(--muted); font-size: .83rem; margin-top: 4px; }
input[type=text], input[type=password], input[type=email], input[type=tel], input[type=number], input[type=date], input[type=time], input[type=datetime-local], select, textarea {
  width: 100%; font: inherit; padding: 9px 11px; border: 1px solid var(--border-strong); border-radius: 8px; background: #fff; color: var(--text); }
input:focus, select:focus, textarea:focus { border-color: var(--brand); outline: 3px solid #cfe0f5; outline-offset: 0; }
textarea { min-height: 120px; resize: vertical; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger); }
.error-text { color: var(--danger); font-size: .85rem; margin-top: 4px; }
.check { display: flex; align-items: flex-start; gap: 10px; margin: 10px 0; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; flex: none; }
.radio-list { display: grid; gap: 8px; }
.radio-card { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px; cursor: pointer; background: #fff; }
.radio-card:hover { border-color: var(--brand); }
.radio-card input { width: 18px; height: 18px; flex: none; }
.radio-card.selected { border-color: var(--brand); background: var(--brand-light); }
fieldset { border: 0; padding: 0; margin: 0 0 14px; }
legend { font-weight: 600; margin-bottom: 8px; }

/* Tables */
table.tbl { width: 100%; border-collapse: collapse; font-size: .93rem; }
.tbl th, .tbl td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.tbl th { color: var(--muted); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .4px; background: var(--surface-2); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td.num, .tbl th.num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl-wrap { overflow-x: auto; }

/* Tabs */
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--border); margin-bottom: 16px; overflow-x: auto; }
.tabs button, .tabs a { font: inherit; font-weight: 600; background: none; border: 0; border-bottom: 3px solid transparent; padding: 10px 14px; color: var(--muted); cursor: pointer; text-decoration: none; white-space: nowrap; }
.tabs [aria-selected="true"], .tabs .active { color: var(--brand); border-bottom-color: var(--brand); }

/* Stepper */
.stepper { display: flex; gap: 0; margin-bottom: 20px; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.step { flex: 1; min-width: 120px; padding: 12px 14px; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .88rem; font-weight: 600; border-right: 1px solid var(--border); }
.step:last-child { border-right: 0; }
.step .n { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--border-strong); display: grid; place-items: center; font-size: .78rem; flex: none; }
.step.done { color: var(--ok); } .step.done .n { background: var(--ok); border-color: var(--ok); color: #fff; }
.step.current { color: var(--brand); background: var(--brand-light); } .step.current .n { border-color: var(--brand); color: var(--brand); }
.step small { display: block; font-weight: 500; color: var(--subtle); }

/* Slots grid */
.slot-day { margin-bottom: 14px; }
.slot-day h4 { margin: 0 0 8px; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.slot { font: inherit; font-weight: 600; border: 1px solid var(--brand); color: var(--brand); background: #fff; border-radius: 8px; padding: 7px 12px; cursor: pointer; font-size: .9rem; }
.slot:hover, .slot.selected { background: var(--brand); color: #fff; }

/* Reference-range bar */
.range-bar { position: relative; height: 10px; border-radius: 5px; background: linear-gradient(90deg, #f3cc5a 0 25%, #45b36b 25% 75%, #f3cc5a 75% 100%); margin: 18px 0 6px; }
.range-bar.red { background: linear-gradient(90deg, #e2606a 0 25%, #45b36b 25% 75%, #e2606a 75% 100%); }
.range-bar .marker { position: absolute; top: -8px; width: 4px; height: 26px; background: #1b2430; border-radius: 2px; transform: translateX(-50%); }
.range-bar .marker-label { position: absolute; top: -32px; transform: translateX(-50%); font-weight: 700; font-size: .8rem; background: #1b2430; color: #fff; padding: 1px 6px; border-radius: 4px; white-space: nowrap; }
.range-ticks { display: flex; justify-content: space-between; color: var(--muted); font-size: .8rem; padding: 0 22%; }
.flag { font-weight: 700; } .flag.H, .flag.HH, .flag.A, .flag.AA { color: var(--danger); } .flag.L, .flag.LL { color: var(--warn); } .flag.N { color: var(--ok); }

/* Messages */
.thread { display: flex; flex-direction: column; gap: 12px; }
.bubble { max-width: 80%; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }
.bubble.me { align-self: flex-end; background: var(--brand-light); border-color: #bcd3ee; }
.bubble .from { font-weight: 600; font-size: .85rem; margin-bottom: 2px; }
.bubble .when { color: var(--subtle); font-size: .78rem; margin-left: 8px; font-weight: 400; }
.bubble p:last-child { margin-bottom: 0; }
.folders a { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-weight: 500; }
.folders a:hover { background: var(--surface-2); } .folders a.active { background: var(--brand-light); color: var(--brand); font-weight: 600; }

/* Modal, toast, menu */
.modal-bg { position: fixed; inset: 0; background: rgba(16,24,40,.45); display: grid; place-items: center; z-index: 60; padding: 16px; }
.modal { background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); width: min(560px, 100%); max-height: 90vh; overflow: auto; padding: 22px 24px; }
.modal.wide { width: min(820px, 100%); }
.modal h2 { margin-bottom: 12px; }
.modal .modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.toasts { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; z-index: 70; }
.toast { background: #1b2430; color: #fff; padding: 11px 16px; border-radius: 8px; box-shadow: var(--shadow-lg); font-weight: 500; }
.toast.ok { background: var(--ok); } .toast.err { background: var(--danger); }
.menu-drawer { position: fixed; inset: 0 auto 0 0; width: min(380px, 92vw); background: #fff; z-index: 55; box-shadow: var(--shadow-lg); overflow: auto; padding: 16px; transform: translateX(-105%); transition: transform .2s ease; }
.menu-drawer.open { transform: none; }
.menu-bg { position: fixed; inset: 0; background: rgba(16,24,40,.35); z-index: 50; }
.menu-drawer h3 { margin: 18px 0 6px; font-size: .78rem; text-transform: uppercase; letter-spacing: .5px; color: var(--subtle); }
.menu-drawer a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--text); text-decoration: none; font-weight: 500; }
.menu-drawer a:hover { background: var(--brand-light); color: var(--brand); }
.menu-drawer input { margin-bottom: 6px; }

/* Misc */
.empty { text-align: center; color: var(--muted); padding: 36px 16px; }
.empty svg { width: 40px; height: 40px; color: var(--subtle); margin-bottom: 8px; }
.skeleton { background: linear-gradient(90deg, #eceff3 25%, #f6f7f9 50%, #eceff3 75%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 6px; height: 14px; margin: 8px 0; }
@keyframes sk { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.kv { display: grid; grid-template-columns: 180px 1fr; gap: 6px 16px; font-size: .95rem; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; }
@media (max-width: 600px) { .kv { grid-template-columns: 1fr; } .kv dt { margin-top: 6px; } }
.pill-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { border: 1px solid var(--border-strong); border-radius: 999px; padding: 5px 12px; font: inherit; font-size: .88rem; background: #fff; cursor: pointer; }
.pill.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.amount { font-size: 1.6rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.prefs-grid { display: grid; grid-template-columns: 1fr repeat(3, 80px); gap: 8px 12px; align-items: center; }
.prefs-grid .h { font-weight: 600; color: var(--muted); font-size: .82rem; text-transform: uppercase; text-align: center; }
.prefs-grid input { width: 18px; height: 18px; display: block; margin: 0 auto; }
.chart { width: 100%; height: 220px; }
.feed-card { display: flex; gap: 14px; align-items: flex-start; }
.feed-card .grow { flex: 1; }
.feed-card .btn-group { margin-top: 10px; }
.sandbox-note { font-size: .8rem; color: var(--subtle); text-align: center; margin-top: 24px; }
footer { max-width: var(--max); margin: 0 auto; padding: 16px; color: var(--subtle); font-size: .8rem; display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; border-top: 1px solid var(--border); }
footer a { color: var(--muted); }
.print-only { display: none; }
@media print { .hdr, footer, .no-print { display: none !important; } .print-only { display: block; } main { padding: 0; } .card { box-shadow: none; } }
.auth-wrap { max-width: 440px; margin: 48px auto; }
.auth-wrap .logo { display: flex; align-items: center; gap: 10px; justify-content: center; margin-bottom: 20px; font-weight: 800; font-size: 1.6rem; color: var(--brand); }
.auth-wrap .logo .mark { width: 40px; height: 40px; border-radius: 10px; background: var(--brand); color: #fff; display: grid; place-items: center; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { display: flex; gap: 12px; padding: 8px 0; }
.timeline .tdot { width: 12px; height: 12px; border-radius: 50%; background: var(--border-strong); margin-top: 6px; flex: none; }
.timeline li.done .tdot { background: var(--ok); } .timeline li.current .tdot { background: var(--brand); box-shadow: 0 0 0 4px var(--brand-light); }
.timeline li.done, .timeline li.current { font-weight: 600; }
.timeline .meta { font-weight: 400; }

/* Voice assistant dock */
.voice-fab { position: fixed; right: 20px; bottom: 20px; z-index: 45; display: inline-flex; align-items: center; gap: 8px; background: var(--cta); color: #fff; border: 0; border-radius: 999px; padding: 12px 18px; font: inherit; font-weight: 700; box-shadow: var(--shadow-lg); cursor: pointer; }
.voice-fab:hover { background: var(--cta-dark); } .voice-fab.active { background: var(--brand); }
.voice-panel { position: fixed; right: 20px; bottom: 76px; width: min(420px, calc(100vw - 32px)); max-height: min(640px, calc(100vh - 100px)); background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg); z-index: 46; display: flex; flex-direction: column; overflow: hidden; }
.voice-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.voice-id { display: flex; align-items: center; gap: 10px; } .voice-sub { font-size: .78rem; color: var(--muted); }
.voice-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; }
.voice-actions { display: flex; gap: 6px; }
.voice-status { display: flex; align-items: center; gap: 10px; padding: 8px 14px; font-size: .85rem; color: var(--muted); border-bottom: 1px solid var(--border); }
.voice-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--subtle); transition: transform .08s; }
.voice-status[data-state="listening"] .voice-dot { background: var(--ok); } .voice-status[data-state="speaking"] .voice-dot { background: var(--brand); animation: pulse 1s infinite; } .voice-status[data-state="thinking"] .voice-dot { background: var(--warn); animation: pulse .6s infinite; } .voice-status[data-state="error"] .voice-dot, .voice-status[data-state="ended"] .voice-dot { background: var(--danger); }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.voice-emergency { background: var(--danger-light); color: #7b1a22; padding: 10px 14px; border-bottom: 1px solid #efb9be; font-size: .9rem; display: grid; gap: 6px; }
.voice-proposals { display: flex; flex-direction: column; gap: 8px; padding: 8px 14px 0; max-height: 220px; overflow: auto; }
.voice-proposal { border: 1px solid #ecd4a3; background: var(--warn-light); border-radius: 10px; padding: 10px 12px; }
.voice-proposal.readback { background: var(--surface-2); border-color: var(--border); }
.vp-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; } .vp-action { font-size: .78rem; color: var(--muted); text-transform: capitalize; }
.vp-summary { font-size: .92rem; } .vp-actions { display: flex; align-items: center; gap: 8px; margin-top: 8px; } .vp-hint { font-size: .78rem; color: var(--subtle); }
.voice-transcript { flex: 1; overflow: auto; padding: 10px 14px; display: flex; flex-direction: column; gap: 8px; min-height: 140px; }
.vt-line { font-size: .92rem; line-height: 1.4; } .vt-line .vt-who { font-weight: 700; margin-right: 6px; color: var(--muted); font-size: .8rem; } .vt-line[data-role="agent"] .vt-who { color: var(--brand); } .vt-line.partial .vt-text { opacity: .7; }
.voice-type { display: flex; gap: 6px; padding: 8px 14px; border-top: 1px solid var(--border); } .voice-type input { flex: 1; }
.voice-foot { font-size: .75rem; color: var(--subtle); padding: 6px 14px 10px; }
.voice-highlight { outline: 3px solid var(--warn); outline-offset: 2px; border-radius: 8px; transition: outline .3s; }
@media (max-width: 600px) { .voice-panel { right: 8px; left: 8px; width: auto; bottom: 70px; } .voice-fab { right: 12px; bottom: 12px; } .voice-fab span { display: none; } .voice-fab { padding: 14px; } }
