/* Einstellungs-Check – FSI. Fonts self-hosted (GDPR: no Google Fonts requests).
 * Layout: one column of decisions – summary first, detail behind expanders; navy for structure, copper marks what FSI does. */
@font-face { font-family: "Space Grotesk"; font-weight: 500; font-display: swap; src: url("fonts/space-grotesk-500.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 600; font-display: swap; src: url("fonts/space-grotesk-600.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 700; font-display: swap; src: url("fonts/space-grotesk-700.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url("fonts/plex-mono-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url("fonts/plex-mono-500.woff2") format("woff2"); }

:root {
  --bg: #FFFFFF; --surface: #FFFFFF; --ink: #0A0F1E; --muted: #475266; --heading: #13294B;
  --primary: #13294B; --on-primary: #FFFFFF; --copper: #E0A24A; --copper-text: #8A5715;
  --fsi: #FBF6EE; --fsi-line: #EBD3AE; --tint: #F3F5F8; --line: #E1E5EC; --line-strong: #B9C1CE;
  --ok: #1C6B42; --ok-bg: #E5F3EA; --warn: #8A5300; --warn-bg: #FCEFD6; --off: #535C6B; --off-bg: #ECEEF2;
  --bar-step: #13294B; --bar-par: #E0A24A; --err: #8A1F14; --err-bg: #FDECEA;
  --india-a: #F2A469; --india-b: #F8D4A6; --india-c: #FCEBD2; --india-ink: #13294B;
  --shadow: 0 18px 50px rgba(10, 15, 30, .18), 0 2px 6px rgba(10, 15, 30, .08);
  --f-head: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --f-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --r: 8px; --gutter: 16px; --maxw: 1120px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A0F1E; --surface: #111A2E; --ink: #E9EDF4; --muted: #A6B0C2; --heading: #E9EDF4;
    --primary: #C8D5EC; --on-primary: #0A0F1E; --copper-text: #E7B36A; --fsi: #1E1910; --fsi-line: #4A3A22; --tint: #152035;
    --line: #243049; --line-strong: #3A4863; --ok: #7FD3A2; --ok-bg: #12291D; --warn: #F0C070; --warn-bg: #2C2210;
    --off: #AEB6C4; --off-bg: #1D2638; --bar-step: #8FA6CF; --err: #F4A79D; --err-bg: #3A1814;
    --india-a: #5B2E17; --india-b: #3A2416; --india-c: #1A1612; --india-ink: #F6E7D2;
    --shadow: 0 18px 50px rgba(0, 0, 0, .5), 0 2px 6px rgba(0, 0, 0, .3);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0A0F1E; --surface: #111A2E; --ink: #E9EDF4; --muted: #A6B0C2; --heading: #E9EDF4;
  --primary: #C8D5EC; --on-primary: #0A0F1E; --copper-text: #E7B36A; --fsi: #1E1910; --fsi-line: #4A3A22; --tint: #152035;
  --line: #243049; --line-strong: #3A4863; --ok: #7FD3A2; --ok-bg: #12291D; --warn: #F0C070; --warn-bg: #2C2210;
  --off: #AEB6C4; --off-bg: #1D2638; --bar-step: #8FA6CF; --err: #F4A79D; --err-bg: #3A1814;
  --india-a: #5B2E17; --india-b: #3A2416; --india-c: #1A1612; --india-ink: #F6E7D2;
  --shadow: 0 18px 50px rgba(0, 0, 0, .5), 0 2px 6px rgba(0, 0, 0, .3);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--f-body); }
h1, h2, h3, h4 { font-family: var(--f-head); color: var(--heading); margin: 0; letter-spacing: -0.01em; line-height: 1.2; text-wrap: balance; }
p { margin: 0; }
a { color: var(--heading); text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
svg { width: 1em; height: 1em; fill: currentColor; flex: none; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--primary); color: var(--on-primary); padding: 8px 12px; border-radius: 6px; z-index: 50; }
.skip:focus { left: 8px; }
.mono { font-family: var(--f-mono); }
.eyebrow { font: 500 12px/1.4 var(--f-mono); color: var(--copper-text); letter-spacing: 0.04em; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
[hidden] { display: none !important; }

/* Header */
.hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--heading); background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.brand-mark { width: 10px; height: 10px; background: var(--copper); border-radius: 1px; flex: none; }
.brand b { display: block; font: 600 17px/1.15 var(--f-head); }
.brand small { display: block; font: 400 11.5px/1.3 var(--f-mono); color: var(--muted); }
.nav { display: flex; gap: 4px; }
.nav button { background: none; border: 0; padding: 20px 12px 18px; cursor: pointer; color: var(--ink); border-bottom: 2px solid transparent; font-weight: 500; }
.nav button[aria-current="page"] { border-bottom-color: var(--copper); color: var(--heading); }
.hdr-tools { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 6px; overflow: hidden; }
.seg button { background: none; border: 0; padding: 7px 10px; font: 500 12.5px var(--f-mono); cursor: pointer; min-width: 40px; min-height: 36px; }
.seg button[aria-pressed="true"] { background: var(--primary); color: var(--on-primary); }
.icon-btn { background: none; border: 1px solid var(--line-strong); border-radius: 6px; min-width: 40px; min-height: 38px; cursor: pointer; display: inline-grid; place-items: center; color: var(--heading); }
.icon-btn svg { width: 18px; height: 18px; }
.subnav { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 6px; font-weight: 600; cursor: pointer; text-decoration: none; border: 1px solid transparent; }
.btn svg { width: 18px; height: 18px; }
.btn-small { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { filter: brightness(1.12); }
.btn-secondary { background: var(--surface); color: var(--heading); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--heading); }
.btn-ghost { background: none; border: 0; color: var(--heading); text-decoration: underline; padding: 0 4px; min-height: 44px; font-weight: 500; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn-ai svg { color: var(--copper); }
.link-btn { background: none; border: 0; padding: 0; color: var(--heading); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; }

/* Start */
.start { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; padding-block: 56px 72px; align-items: start; }
.start > * { min-width: 0; }
.start h1 { font-size: 52px; line-height: 1.05; font-weight: 600; margin: 14px 0 20px; }
.start .lead { font-size: 18px; max-width: 34em; }
.start-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.start .privacy { font-size: 13.5px; color: var(--muted); margin-top: 14px; }
.start-side { border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; background: var(--surface); }
.start-side h2 { font-size: 20px; margin: 6px 0 12px; }
.mini-steps { list-style: none; margin: 0 0 14px; padding: 0; }
.mini-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 8px; padding: 10px 0; border-top: 1px solid var(--line); }
.mini-steps .n { width: 24px; height: 24px; border-radius: 50%; background: var(--fsi); border: 1px solid var(--fsi-line); color: var(--copper-text); font: 500 12px/22px var(--f-mono); text-align: center; }
.mini-steps b { display: block; font-family: var(--f-head); color: var(--heading); font-weight: 600; }
.mini-steps span:not(.n) { color: var(--muted); font-size: 14px; }

/* Question */
.q-wrap { max-width: 720px; margin: 0 auto; padding: 32px var(--gutter) 140px; }
.q-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.progress { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; margin-bottom: 22px; }
.progress span { height: 6px; border-radius: 3px; background: var(--line); }
.progress span.on { background: var(--copper); }
.q-title { font-size: 30px; line-height: 1.15; font-weight: 600; margin: 4px 0 8px; }
.q-sub { color: var(--muted); margin-bottom: 22px; }
.q-group { margin: 0 0 22px; border: 0; padding: 0; min-width: 0; }
.q-group legend:not(.sr-only) { padding: 0; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; width: 100%; }
.q-group legend > span { font: 500 12px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.q-group.sub + .q-group.sub { padding-top: 18px; border-top: 1px solid var(--line); }
.q-help { font-size: 14px; color: var(--muted); margin: -4px 0 10px; }
.info-box { background: var(--tint); border-radius: var(--r); padding: 12px 14px; font-size: 14.5px; margin-bottom: 12px; }
.tiles { display: grid; gap: 10px; }
.tiles-compact { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tile { position: relative; display: block; text-align: left; width: 100%; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r); padding: 15px 18px 15px 52px; cursor: pointer; min-height: 56px; }
.tile:hover { border-color: var(--heading); }
.tile .t { display: block; font-weight: 600; color: var(--heading); }
.tile .t.mono { font-family: var(--f-mono); font-weight: 500; }
.tile .s { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.tile::before { content: ""; position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border: 1.5px solid var(--line-strong); border-radius: 50%; background: var(--surface); }
.tile.multi::before { border-radius: 4px; }
.tile[aria-checked="true"] { border: 2px solid var(--primary); padding: 14px 17px 14px 51px; background: var(--tint); }
.tile[aria-checked="true"]::before { border-color: var(--primary); background: var(--primary); box-shadow: inset 0 0 0 3px var(--surface); left: 17px; }
.tile.multi[aria-checked="true"]::before { box-shadow: none; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E") center/14px no-repeat; }
.tile.unk { border-style: dashed; padding-top: 11px; padding-bottom: 11px; min-height: 46px; }
.tile.unk .t { font-weight: 500; color: var(--muted); }
.tiles-compact .tile { padding: 11px 12px 11px 38px; min-height: 48px; font-size: 14.5px; }
.tiles-compact .tile::before { left: 12px; width: 16px; height: 16px; margin-top: -8px; }
.tiles-compact .tile[aria-checked="true"] { padding: 10px 11px 10px 37px; }
.tiles-compact .tile[aria-checked="true"]::before { left: 11px; }
.tiles-compact .tile.unk { grid-column: 1 / -1; }
details.why { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; }
details.why summary { cursor: pointer; color: var(--heading); font-weight: 500; list-style: none; display: inline-flex; gap: 8px; align-items: center; min-height: 32px; }
details.why summary::-webkit-details-marker { display: none; }
details.why summary::before { content: "+"; font-family: var(--f-mono); color: var(--copper-text); }
details.why[open] summary::before { content: "–"; }
details.why p { color: var(--muted); margin-top: 6px; font-size: 15px; }
.q-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; }
.info { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); cursor: pointer; font: 600 13px var(--f-head); color: var(--heading); display: inline-grid; place-items: center; flex: none; }
.info[aria-expanded="true"] { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }

/* Result */
.result { padding-block: 32px 140px; }
.summary { font: 600 30px/1.2 var(--f-head); color: var(--heading); max-width: 30em; margin: 10px 0 14px; }
.utils { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; margin-bottom: 22px; font-size: 14.5px; }
.answers-pop { position: relative; }
.answers-pop summary { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; color: var(--heading); list-style: none; }
.answers-pop summary::-webkit-details-marker { display: none; }
.answers-pop summary::after { content: " ▾"; font-size: 11px; }
.answers { margin: 10px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 16px; border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; background: var(--surface); }
.answers dt { font: 500 11px var(--f-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.answers dd { margin: 0; font-size: 14px; }

.facts { display: grid; grid-template-columns: 1.45fr 1fr 1fr 1.25fr; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.fact { padding: 18px 20px; border-right: 1px solid var(--line); min-width: 0; }
.fact:last-child { border-right: 0; }
.fact .k { font: 500 12px var(--f-mono); color: var(--muted); letter-spacing: .04em; display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; }
.fact .v { font: 600 20px/1.25 var(--f-head); color: var(--heading); margin: 8px 0 4px; }
.fact .v.big { font-size: 28px; }
.fact .s { font-size: 14px; color: var(--muted); }
.fact-why { margin-top: 10px; font-size: 14.5px; }
.fact-why b { font-weight: 600; color: var(--heading); }
.fact-alert { margin-top: 8px; font-size: 13.5px; padding: 8px 10px; border-radius: 6px; background: var(--warn-bg); color: var(--warn); }
.fact-fsi { background: var(--fsi); border-radius: 0 var(--r) var(--r) 0; }
.fact-fsi .k { color: var(--copper-text); }
.share-bar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; margin-top: 10px; background: var(--line); }
.share-bar span { background: var(--copper); }
.share-bar i { background: var(--line-strong); }
.status { display: inline-flex; align-items: center; gap: 4px; font: 500 11.5px var(--f-mono); padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.status svg { width: 12px; height: 12px; }
.status.ok { background: var(--ok-bg); color: var(--ok); }
.status.cond { background: var(--warn-bg); color: var(--warn); }
.status.no { background: var(--off-bg); color: var(--off); }
.srcline { font: 400 12.5px var(--f-mono); color: var(--muted); margin-top: 8px; }

.section { margin-top: 44px; }
.section > h2, .sec-hd h2 { font-size: 24px; font-weight: 600; }
.sec-hd { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.section > h2 { margin-bottom: 14px; }
.lead2 { color: var(--muted); margin: 0 0 16px; }

/* Process stages */
.stages { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.stage { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.stage.open { border-color: var(--line-strong); }
.stage-hd { width: 100%; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto auto 24px; gap: 14px; align-items: center; text-align: left; background: none; border: 0; padding: 16px 18px 10px; cursor: pointer; }
.stage-n { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--primary); color: var(--heading); font: 600 14px/27px var(--f-head); text-align: center; }
.stage-t b { display: block; font: 600 17px/1.25 var(--f-head); color: var(--heading); }
.stage-t span { display: block; font-size: 14.5px; color: var(--muted); margin-top: 2px; }
.stage-m { font-size: 13px; color: var(--muted); white-space: nowrap; }
.stage-who { display: flex; gap: 6px; }
.chev { display: inline-grid; place-items: center; color: var(--muted); transition: transform .15s; }
.chev svg { width: 20px; height: 20px; }
[aria-expanded="true"] .chev { transform: rotate(180deg); }
.stage-bar { position: relative; height: 4px; margin: 0 18px 12px 66px; background: var(--line); border-radius: 2px; }
.stage-bar span { position: absolute; top: 0; height: 4px; border-radius: 2px; background: var(--primary); }
.stage-key { margin: -4px 18px 14px 66px; font-size: 14px; color: var(--muted); }
.stage-key b { color: var(--heading); font-weight: 600; }
.stage-bd { padding: 0 18px 18px 66px; }
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; align-items: baseline; }
.who { display: inline-block; font: 500 11.5px/1.6 var(--f-mono); padding: 0 8px; border-radius: 4px; white-space: nowrap; text-align: center; }
.who-fsi { background: var(--fsi); color: var(--copper-text); border: 1px solid var(--fsi-line); }
.who-emp { background: var(--surface); color: var(--heading); border: 1px solid var(--line-strong); }
.who-auth { background: var(--off-bg); color: var(--off); border: 1px solid transparent; }
.step .who { justify-self: start; }
.stage-detail { margin-top: 14px; background: var(--tint); border-radius: var(--r); padding: 14px 16px; }
.stage-detail dl { margin: 0; display: grid; gap: 10px; }
.stage-detail dt { font: 500 11.5px var(--f-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.stage-detail dd { margin: 2px 0 0; font-size: 14.5px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; font-size: 13px; color: var(--muted); align-items: center; }
.legend > span { display: inline-flex; gap: 6px; align-items: center; }

/* Accordions */
.acc { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.acc-hd { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: left; background: none; border: 0; padding: 16px 18px; cursor: pointer; }
.acc-hd h2 { font-size: 20px; }
.acc-sub { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.acc-bd { padding: 0 18px 18px; }
.acc-small { margin-top: 10px; }
.acc-small .acc-hd { padding: 12px 16px; font-weight: 600; color: var(--heading); }
.acc-small .acc-bd { padding: 0 16px 14px; }

/* Timeline */
.gantt { padding-top: 4px; }
.g-axis, .g-row { display: grid; grid-template-columns: minmax(180px, 36%) 1fr; gap: 14px; align-items: center; }
.g-axis { margin-bottom: 6px; }
.g-ticks { position: relative; height: 18px; }
.g-ticks span { position: absolute; transform: translateX(-50%); font: 400 11.5px var(--f-mono); color: var(--muted); }
.g-row { min-height: 40px; border-top: 1px solid var(--line); padding: 6px 0; }
.g-lbl { font-size: 14px; line-height: 1.3; }
.g-lbl .cat { display: block; font: 500 10.5px var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.g-lbl .note { display: block; font-size: 12.5px; color: var(--muted); }
.g-track { position: relative; height: 22px; background: repeating-linear-gradient(90deg, transparent 0 calc(var(--u) - 1px), var(--line) calc(var(--u) - 1px) var(--u)); }
.g-bar { position: absolute; top: 3px; height: 16px; border-radius: 3px; background: var(--bar-step); }
.g-bar.par { background: var(--bar-par); }
.g-bar.cond { background: none; border: 1.5px dashed var(--muted); }
.g-bar.after { background: repeating-linear-gradient(135deg, var(--line-strong) 0 4px, transparent 4px 8px); border: 1px solid var(--line-strong); }
.g-diamond { position: absolute; top: 4px; width: 14px; height: 14px; background: var(--copper); transform: translateX(-50%) rotate(45deg); }
.g-firstrow .g-lbl { font-weight: 600; color: var(--heading); }
.legend i { display: inline-block; width: 22px; height: 10px; border-radius: 2px; vertical-align: middle; margin-right: 6px; }
.legend .l-step { background: var(--bar-step); } .legend .l-par { background: var(--bar-par); }
.legend .l-cond { border: 1.5px dashed var(--muted); } .legend .l-after { background: repeating-linear-gradient(135deg, var(--line-strong) 0 3px, transparent 3px 6px); border: 1px solid var(--line-strong); }

/* Routes */
.route-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; }
.route-grid > * { min-width: 0; }
.route-main { border: 2px solid var(--primary); border-radius: var(--r); padding: 18px 20px; }
.route-main h3 { font-size: 20px; margin: 10px 0 2px; }
.route-main .whyline { margin: 12px 0 10px; font-size: 16.5px; color: var(--heading); font-weight: 500; }
.caveat { margin: 0 0 10px; background: var(--warn-bg); color: var(--warn); border-radius: 6px; padding: 10px 12px; font-size: 14px; }
.route-others { border: 1px solid var(--line); border-radius: var(--r); }
.route-others h3 { font-size: 15px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.ro { padding: 12px 16px; border-bottom: 1px solid var(--line); }
.ro:last-child { border-bottom: 0; }
.ro-hd { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ro-name { font-weight: 600; color: var(--heading); flex: 1 1 200px; }
.ro-why { margin-top: 8px; font-size: 14.5px; }
.ro-why b { font: 500 11.5px var(--f-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.ro .link-btn { font-size: 14px; margin-top: 6px; display: inline-block; min-height: 32px; }
.cmp-banner { background: var(--warn-bg); color: var(--warn); border-radius: var(--r); padding: 12px 16px; margin-bottom: 14px; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cmp-table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 14.5px; table-layout: fixed; overflow-wrap: anywhere; }
.cmp-table th, .cmp-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.cmp-table th { font: 500 11.5px var(--f-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.cmp-table td.num { font-family: var(--f-mono); }

/* Costs */
.cost-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 16px; align-items: start; }
.cost-grid > * { min-width: 0; }
.price-card { background: var(--fsi); border: 1px solid var(--fsi-line); border-radius: var(--r); padding: 20px 22px; }
.price { font: 600 40px/1.1 var(--f-head); color: var(--heading); margin: 8px 0 6px; font-variant-numeric: tabular-nums; }
.price span { font: 400 15px var(--f-body); color: var(--muted); margin-left: 8px; }
.pay { list-style: none; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid var(--fsi-line); font-size: 14px; display: grid; gap: 6px; }
.pay li { display: grid; grid-template-columns: 48px 1fr; }
.pay .mono { color: var(--copper-text); }
.cost-more .acc-small:first-child { margin-top: 0; }
.cost-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.cost-row .v { font-family: var(--f-mono); text-align: right; max-width: 58%; font-variant-numeric: tabular-nums; }
.cost-row.sum { font-weight: 600; border-bottom: 0; }
.cost-row.opt { color: var(--muted); }
.notes { margin-top: 18px; display: grid; gap: 8px; }
.notes p { background: var(--tint); border-radius: 6px; padding: 10px 14px; font-size: 14px; }
.disclaimer { margin-top: 32px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }

/* CTA */
.cta { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; border-radius: var(--r); padding: 20px 22px; background: var(--tint); }
.cta b { font: 600 19px var(--f-head); color: var(--heading); display: block; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* FAQ */
.faq { padding-block: 36px 140px; max-width: 880px; }
.faq h1 { font-size: 40px; margin: 6px 0 4px; }
.faq-list { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { margin: 0; font-size: inherit; }
.faq-q button { width: 100%; display: grid; grid-template-columns: 36px minmax(0, 1fr) 24px; gap: 10px; align-items: center; text-align: left; background: none; border: 0; padding: 18px 2px; cursor: pointer; font: 600 19px/1.3 var(--f-head); color: var(--heading); }
.faq-q .n { font-size: 13px; color: var(--copper-text); font-weight: 500; }
.faq-a { padding: 0 2px 22px 48px; display: grid; gap: 12px; max-width: 72ch; }
.faq-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.faq-lists > div { min-width: 0; }
.faq-lists .lbl, .fsi-box .lbl, .compare .lbl { font: 500 11.5px var(--f-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 15px; }
.ticks li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; align-items: start; }
.ticks svg { width: 18px; height: 18px; margin-top: 2px; }
.ticks.yes svg { color: var(--ok); }
.ticks.no svg { color: var(--off); }
.ticks .dot { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--heading); margin: 7px 0 0 4px; }
.split .split-fsi { background: var(--fsi); border-radius: var(--r); padding: 12px 14px; }
.split .split-fsi .lbl { color: var(--copper-text); }
.split > div:not(.split-fsi) { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cmp { border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.cmp.hl { background: var(--fsi); border-color: var(--fsi-line); }
.cmp-v { font: 600 24px/1.2 var(--f-head); color: var(--heading); margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.fsi-box { background: var(--fsi); border-left: 2px solid var(--copper); padding: 12px 14px; border-radius: 0 var(--r) var(--r) 0; font-size: 15px; }
.fsi-box .lbl { color: var(--copper-text); }

/* Why India */
.india { padding-bottom: 140px; }
.india-hero { color: var(--india-ink); background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .18 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(100deg, var(--india-a), var(--india-b) 55%, var(--india-c)); }
.india-hero .wrap { padding-block: 56px 60px; }
.india-hero .eyebrow { color: inherit; opacity: .85; }
.india-hero h1 { color: inherit; font-size: 46px; line-height: 1.08; margin: 10px 0 14px; max-width: 16em; }
.india-hero .lead { font-size: 18px; max-width: 36em; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: -28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); position: relative; }
.stat { padding: 20px 20px 18px; border-right: 1px solid var(--line); min-width: 0; }
.stat:last-child { border-right: 0; }
.stat-n { font: 600 38px/1 var(--f-head); color: var(--heading); font-variant-numeric: tabular-nums; }
.stat-t { font-weight: 600; color: var(--heading); margin: 8px 0 6px; }
.stat .small { color: var(--muted); }
.ws { margin-top: 28px; display: grid; grid-template-columns: 1fr; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.ws.has-photo { grid-template-columns: 1fr 1fr; }
.ws-body { padding: 22px 24px; }
.ws-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 12px 0; }
.ws-n { font: 600 34px/1 var(--f-head); color: var(--copper-text); }
.ws-photo { margin: 0; position: relative; min-height: 240px; }
.ws-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ws-photo figcaption { position: absolute; right: 8px; bottom: 6px; font: 400 11px var(--f-mono); color: #fff; background: rgba(0, 0, 0, .5); padding: 2px 6px; border-radius: 3px; }
.pools { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.pool { border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.pool h3 { font-size: 18px; margin-bottom: 6px; }
.labs { margin-top: 14px; max-width: 72ch; }

/* Booking */
.book { padding-block: 40px 140px; display: flex; justify-content: center; }
.book-card { width: min(640px, 100%); border: 1px solid var(--line); border-radius: 12px; padding: 26px 28px; background: var(--surface); }
.book-card.wide { width: min(880px, 100%); }
.book h1 { font-size: 28px; margin: 4px 0 2px; }
.person { display: flex; gap: 16px; align-items: center; }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--fsi); border: 1px solid var(--fsi-line); display: grid; place-items: center; font: 600 20px var(--f-head); color: var(--copper-text); overflow: hidden; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.book-facts { list-style: none; margin: 18px 0; padding: 14px 0; border-block: 1px solid var(--line); display: grid; gap: 6px; font-size: 15px; }
.book-facts li::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--copper); border-radius: 1px; margin-right: 10px; vertical-align: middle; }
.book-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.book-frame { width: 100%; height: 720px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.book-alt { margin-top: 12px; }

/* Dialog / forms */
dialog { border: 1px solid var(--line); border-radius: 12px; padding: 0; width: min(560px, calc(100% - 24px)); background: var(--surface); color: var(--ink); }
dialog::backdrop { background: rgba(10, 15, 30, .45); }
.dlg-hd { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.dlg-hd h2 { font-size: 19px; }
.dlg-bd { padding: 16px 20px 20px; display: grid; gap: 12px; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.field input, .field textarea { width: 100%; min-height: 44px; border: 1px solid var(--line-strong); border-radius: 6px; padding: 10px 12px; background: var(--surface); color: var(--ink); font: inherit; }
.field textarea { min-height: 110px; resize: vertical; }
.field.err input, .field.err textarea { border-color: var(--err); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--primary); flex: none; }
.form-msg { font-size: 14px; padding: 10px 12px; border-radius: 6px; }
.form-msg.ok { background: var(--ok-bg); color: var(--ok); }
.form-msg.err { background: var(--err-bg); color: var(--err); }
.hp { position: absolute; left: -5000px; }

/* Footer */
.ftr { border-top: 1px solid var(--line); padding-block: 20px 96px; font-size: 13.5px; color: var(--muted); }
.ftr .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; }
.ftr nav { display: flex; gap: 16px; flex-wrap: wrap; }
.ftr a { color: var(--muted); }
.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); background: var(--primary); color: var(--on-primary); padding: 10px 16px; border-radius: 8px; z-index: 60; font-size: 14px; }
.print-only { display: none; }

/* Responsive */
@media (max-width: 1000px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(2n) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .fact-fsi { border-radius: 0 0 var(--r) 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .hdr-book span { display: none; }
  .hdr-book { padding: 0 12px; }
}
@media (max-width: 760px) {
  body { font-size: 15.5px; }
  .hdr .wrap { min-height: 56px; gap: 10px; }
  .brand b { font-size: 15.5px; }
  .nav { display: none; }
  .subnav { display: flex; border-top: 1px solid var(--line); overflow-x: auto; }
  .subnav button { flex: 1 0 auto; background: none; border: 0; border-bottom: 2px solid transparent; padding: 12px 10px; font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; }
  .subnav button[aria-current="page"] { border-bottom-color: var(--copper); color: var(--heading); }
  .start { grid-template-columns: 1fr; gap: 28px; padding-block: 24px 48px; }
  .start h1 { font-size: 34px; }
  .start .lead { font-size: 16.5px; }
  .q-wrap { padding-top: 20px; }
  .q-title { font-size: 24px; }
  .tiles-compact { grid-template-columns: 1fr 1fr; }
  .summary { font-size: 22px; }
  .answers { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr; }
  .fact { border-right: 0; border-bottom: 1px solid var(--line); }
  .fact:last-child { border-bottom: 0; }
  .fact-fsi { border-radius: 0 0 var(--r) var(--r); }
  .stage-hd { grid-template-columns: 30px minmax(0, 1fr) 22px; gap: 10px; padding: 14px 14px 8px; }
  .stage-m, .stage-who { grid-column: 2; }
  .stage-m { grid-row: 2; }
  .stage-who { grid-row: 3; }
  .stage-hd .chev { grid-column: 3; grid-row: 1; }
  .stage-bar, .stage-key { margin-left: 54px; margin-right: 14px; }
  .stage-bd { padding: 0 14px 16px; }
  .step { grid-template-columns: 64px minmax(0, 1fr); }
  .route-grid, .cost-grid, .faq-lists, .compare, .pools, .ws.has-photo { grid-template-columns: 1fr; }
  .g-axis, .g-row { grid-template-columns: 1fr; gap: 4px; }
  .g-axis > span:first-child { display: none; }
  .faq h1 { font-size: 32px; }
  .faq-q button { font-size: 17px; grid-template-columns: 28px minmax(0, 1fr) 22px; }
  .faq-a { padding-left: 0; }
  .india-hero h1 { font-size: 32px; }
  .stats { grid-template-columns: 1fr; margin-top: -20px; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .ws-items { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .ws-n { font-size: 26px; }
  .book { padding-top: 20px; }
  .book-card { padding: 20px; }
  .book-frame { height: 640px; }
}
@media (prefers-reduced-motion: reduce) {
  .chev { transition: none; }
}

/* Print / PDF: everything expanded, readable in black and white */
@media print {
  @page { size: A4; margin: 12mm; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  :root, :root[data-theme="dark"] { --bg: #fff; --surface: #fff; --ink: #000; --muted: #333; --heading: #000; --primary: #000; --tint: #f2f2f2; --fsi: #f7f3ec; --fsi-line: #ccc; --line: #bbb; --line-strong: #888; --copper-text: #000; --bar-step: #333; --bar-par: #999; --ok: #000; --ok-bg: #e8e8e8; --warn: #000; --warn-bg: #f0f0f0; --off: #333; --off-bg: #eee; }
  body { font-size: 8.6pt; line-height: 1.38; }
  .hdr, .ftr, .cta, .utils, .no-print, .asst, .skip, .toast, .cmp-banner, .chev, .ro .link-btn, .info, #acc-gantt, .acc-small .acc-hd:has(+ #acc-gantt), [data-act="toggleAll"] { display: none !important; }
  .print-only { display: block; }
  .disclaimer { display: none; }
  .result { padding: 0; }
  .wrap { max-width: none; padding: 0; }
  .summary { font-size: 13pt; margin: 4px 0 8px; }
  .facts { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .fact, .fact:nth-child(2n) { padding: 6px 8px; border-right: 1px solid var(--line); border-bottom: 0; }
  .fact:last-child { border-right: 0; }
  .fact .v, .fact .v.big { font-size: 11pt; margin: 3px 0; }
  .fact .s, .fact-why, .fact-alert, .srcline { font-size: 7.5pt; }
  .section { margin-top: 10px; break-inside: auto; }
  .section > h2, .sec-hd h2, .acc-hd h2 { font-size: 11pt; }
  .lead2 { margin: 0 0 4px; font-size: 8pt; }
  .stage { break-inside: auto; }
  .stages { gap: 4px; }
  .small, .acc-bd .small, .route-main .small, .route-main .whyline, .price-card .small, .pay, .caveat, .lead2, .legend { font-size: 7.8pt !important; }
  .route-main .whyline { margin: 4px 0; }
  .acc-hd, .acc-small .acc-hd { font-size: 9pt; padding: 4px 8px; }
  .acc-sub { font-size: 7.5pt; }
  .acc-small { margin-top: 4px; }
  .cost-grid { grid-template-columns: .8fr 1.2fr; gap: 8px; }
  .route-others h3 { font-size: 8.5pt; padding: 3px 8px; }
  .facts, .stage, .acc, .price-card, .stage-detail { border-radius: 4px; }
  .stage-hd { padding: 5px 8px 3px; grid-template-columns: 22px 1fr auto auto 0; gap: 8px; }
  .stage-n { width: 18px; height: 18px; font-size: 8pt; line-height: 16px; }
  .stage-t b { font-size: 9.5pt; } .stage-t span, .stage-key { font-size: 7.5pt; }
  .stage-bar { margin: 0 8px 4px 38px; } .stage-key { margin: 0 8px 4px 38px; }
  .stage-bd { padding: 0 8px 6px 38px; display: block !important; }
  .step { padding: 2px 0; font-size: 8pt; grid-template-columns: 52px 1fr; }
  .who { font-size: 6.5pt; }
  .stage-detail { padding: 6px 8px; } .stage-detail dd { font-size: 7.8pt; }
  .acc-bd { display: block !important; padding: 0 8px 6px; }
  .acc-hd { padding: 6px 8px; }
  .route-main { padding: 6px 8px; border-width: 1px; } .route-main h3 { font-size: 10pt; }
  .ro { padding: 3px 8px; } .ro-why { display: block !important; font-size: 7.5pt; }
  .price { font-size: 16pt; } .price-card { padding: 8px 10px; } .cost-row { padding: 2px 0; font-size: 8pt; }
  .notes p { font-size: 7.5pt; padding: 4px 8px; }
  .disclaimer { margin-top: 8px; font-size: 7.5pt; }
  a { color: #000; }
  .print-hd { display: flex; justify-content: space-between; border-bottom: 1.5px solid #000; padding-bottom: 4px; margin-bottom: 6px; font-size: 8.5pt; }
  .print-ft { margin-top: 8px; border-top: 1px solid #888; padding-top: 4px; font-size: 7.5pt; }
}
/* v3: location picker, quantity, India photos */
.loc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; margin-bottom: 14px; }
.loc-t { font-weight: 600; color: var(--heading); margin-bottom: 8px; }
.loc-row { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 6px; }
.loc-f { display: grid; gap: 2px; min-width: 0; flex: 1 1 220px; }
.loc-f > span:not(.sr-only) { font: 500 11.5px var(--f-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.loc select, .field select { width: 100%; min-height: 44px; border: 1px solid var(--line-strong); border-radius: 6px; padding: 8px 10px; background: var(--surface); color: var(--ink); font: inherit; max-width: 100%; }
.qty { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--fsi-line); font-size: 14px; }
.qty-ctl { display: inline-flex; align-items: center; border: 1px solid var(--fsi-line); border-radius: 999px; background: var(--surface); }
.qty-b { width: 36px; height: 36px; border: 0; background: none; cursor: pointer; font: 600 18px var(--f-head); color: var(--heading); border-radius: 50%; }
.qty-b[disabled] { opacity: .35; cursor: default; }
.qty output { min-width: 28px; text-align: center; font: 600 15px var(--f-mono); color: var(--heading); }
.ws-photo { min-height: 300px; }
.ws-photo figcaption, .pool-photo figcaption { font: 400 11px var(--f-mono); color: #fff; background: rgba(0, 0, 0, .55); padding: 2px 6px; border-radius: 3px; }
.pools-wrap { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 14px; align-items: start; }
.pools-wrap > * { min-width: 0; }
.pools-wrap.has-photo { grid-template-columns: 1.4fr 1fr; }
.pools-wrap .pools { margin-top: 0; }
.pool-photo { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; }
.pool-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pool-photo figcaption { position: absolute; right: 8px; bottom: 6px; }
@media (max-width: 760px) { .pools-wrap.has-photo { grid-template-columns: 1fr; } .ws-photo { min-height: 220px; } }

/* ===== FSI assistant (Claude Design frames "FSI-Assistant", 12 Oct 2026) ===== */
.asst {
  --a-bg: #FFFFFF; --a-ink: #13294B; --a-muted: #475266; --a-line: #E1E5EC; --a-tint: #F3F5F8; --a-fsi: #FBF6EE;
  --a-copper: #E0A24A; --a-cu: #8A5715; --a-pri: #13294B; --a-on: #FFFFFF; --a-pri-h: #22406E; --a-spark: #E0A24A; --a-ring: #E0A24A;
  --a-user: #13294B; --a-on-user: #FFFFFF; --a-live: #C8372D; --a-live-t: #FCEDEB; --a-focus: #13294B; --a-orb: #13294B;
  --a-chip-h: #F3F5F8; --a-field: #FFFFFF; --a-fl: #7E899C;
  --a-shadow: 0 16px 48px rgba(19, 41, 75, .18), 0 2px 8px rgba(19, 41, 75, .08);
  font-family: var(--f-body); color: var(--a-ink);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .asst {
    --a-bg: #111A2E; --a-ink: #E9EDF4; --a-muted: #A6B0C2; --a-line: #26334D; --a-tint: #18233B; --a-fsi: #1E2233; --a-cu: #E7B36A;
    --a-pri: #E7B36A; --a-on: #0A0F1E; --a-pri-h: #F0C584; --a-spark: #0A0F1E; --a-ring: rgba(10, 15, 30, .28); --a-user: #2B3D63; --a-on-user: #F3F5F8;
    --a-live: #FF8A7A; --a-live-t: #3A1F25; --a-focus: #E7B36A; --a-orb: #1E2E50; --a-chip-h: #18233B; --a-field: #0E1628; --a-fl: #6B7894;
    --a-shadow: 0 16px 48px rgba(0, 0, 0, .55);
  }
}
:root[data-theme="dark"] .asst {
  --a-bg: #111A2E; --a-ink: #E9EDF4; --a-muted: #A6B0C2; --a-line: #26334D; --a-tint: #18233B; --a-fsi: #1E2233; --a-cu: #E7B36A;
  --a-pri: #E7B36A; --a-on: #0A0F1E; --a-pri-h: #F0C584; --a-spark: #0A0F1E; --a-ring: rgba(10, 15, 30, .28); --a-user: #2B3D63; --a-on-user: #F3F5F8;
  --a-live: #FF8A7A; --a-live-t: #3A1F25; --a-focus: #E7B36A; --a-orb: #1E2E50; --a-chip-h: #18233B; --a-field: #0E1628; --a-fl: #6B7894;
  --a-shadow: 0 16px 48px rgba(0, 0, 0, .55);
}
.asst .i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.asst :focus-visible { outline: 2px solid var(--a-focus); outline-offset: 2px; }
.asst button { font-family: inherit; }
.asst h2, .asst h3 { letter-spacing: 0; text-wrap: balance; }
.a-lbl { display: inline-flex; align-items: center; gap: 6px; margin: 0; font: 500 11px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--a-muted); }
.a-lbl.cu { color: var(--a-cu); } .a-lbl.live { color: var(--a-live); }
.a-lbl .i { width: 13px; height: 13px; }
.asst .dot, .a-pill i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--a-live); flex: none; }

/* A · launcher + nudge */
.a-launch { position: fixed; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 35; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.a-fab { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px 0 18px; border-radius: 26px; border: 0; background: var(--a-pri); color: var(--a-on); font: 600 17px/1 var(--f-head); box-shadow: var(--a-shadow); cursor: pointer; }
.a-fab:hover { background: var(--a-pri-h); }
.a-fab .i { width: 20px; height: 20px; color: var(--a-spark); }
.a-nudge { position: relative; width: 250px; background: var(--a-bg); color: var(--a-ink); border: 1px solid var(--a-line); border-radius: 14px 14px 4px 14px; box-shadow: var(--a-shadow); padding: 14px 40px 14px 14px; display: flex; flex-direction: column; gap: 6px; font: 400 14px/1.4 var(--f-body); }
.a-nudge .a-ib { position: absolute; top: 6px; right: 6px; }

/* panel */
.a-panel { position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 400px; height: 640px; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); max-width: calc(100vw - 48px); display: flex; flex-direction: column; background: var(--a-bg); color: var(--a-ink); border: 1px solid var(--a-line); border-radius: 16px; box-shadow: var(--a-shadow); overflow: hidden; }
.a-hd { display: flex; align-items: center; gap: 8px; padding: 12px 8px 12px 14px; border-bottom: 1px solid var(--a-line); flex: none; }
.a-logo { width: 34px; height: 34px; border-radius: 10px; background: var(--a-fsi); color: var(--a-cu); display: grid; place-items: center; flex: none; }
.a-logo .i { width: 18px; height: 18px; }
.a-ttl { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.a-ttl h2 { margin: 0; font: 600 16px/1.15 var(--f-head); color: var(--a-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-pill { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 14px; font: 600 12px/1 var(--f-body); white-space: nowrap; flex: none; }
.a-pill.live { background: var(--a-live-t); color: var(--a-live); }
.a-pill.off { border: 1px solid var(--a-line); color: var(--a-muted); font-weight: 500; }
.a-pill .i { width: 13px; height: 13px; }
.a-seg { display: flex; border: 1px solid var(--a-line); border-radius: 10px; padding: 2px; gap: 2px; flex: none; }
.a-seg button { height: 32px; min-width: 32px; padding: 0 8px; border: 0; border-radius: 8px; cursor: pointer; font: 600 12px/1 var(--f-body); background: transparent; color: var(--a-ink); }
.a-seg button[aria-pressed="true"] { background: var(--a-pri); color: var(--a-on); }
.a-ib { width: 40px; height: 40px; border: 0; background: none; color: var(--a-ink); border-radius: 10px; cursor: pointer; display: grid; place-items: center; flex: none; padding: 0; }
.a-ib:hover { background: var(--a-tint); }
.a-ib .i { width: 20px; height: 20px; }
.a-ib.sm { width: 32px; height: 32px; color: var(--a-muted); }
.a-ib.sm .i { width: 16px; height: 16px; }
.a-ib.box { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--a-line); background: var(--a-bg); }
.a-ib.box.pri { border: 0; background: var(--a-pri); color: var(--a-on); }
.a-ib.box.pri .i { width: 18px; height: 18px; }

/* D · progress strip */
.a-prog { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--a-line); flex: none; }
.a-prog ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; flex: 1; min-width: 0; }
.a-prog li { display: flex; align-items: center; gap: 7px; min-width: 0; flex: 1 1 auto; }
.a-pk { width: 18px; height: 18px; border-radius: 50%; border: 1.5px dashed var(--a-muted); flex: none; display: grid; place-items: center; }
.a-pk.on { border: 0; background: var(--a-copper); color: #13294B; }
.a-pk .i { width: 12px; height: 12px; stroke-width: 3; }
.a-pt, .a-pr { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.a-pr { align-items: flex-end; flex: none; padding-left: 10px; border-left: 1px solid var(--a-line); }
.a-prog .a-lbl { font-size: 10px; letter-spacing: .05em; }
.a-pv { font: 600 13px/1.1 var(--f-body); color: var(--a-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-pv.cu { color: var(--a-cu); }

/* B · empty */
.a-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.a-empty { padding: 24px 20px 16px; display: flex; flex-direction: column; gap: 22px; }
.a-greet h3 { margin: 0 0 8px; font: 600 23px/1.2 var(--f-head); color: var(--a-ink); }
.a-greet p { font: 400 15px/1.5 var(--f-body); color: var(--a-muted); }
.a-hero { display: flex; align-items: center; gap: 16px; width: 100%; padding: 18px; border-radius: 18px; border: 0; background: var(--a-pri); color: var(--a-on); cursor: pointer; text-align: left; }
.a-hero:hover { background: var(--a-pri-h); }
.a-hero-mic { width: 60px; height: 60px; border-radius: 50%; background: var(--a-on); color: var(--a-pri); display: grid; place-items: center; box-shadow: 0 0 0 5px var(--a-ring); flex: none; }
.a-hero-mic .i { width: 28px; height: 28px; }
.a-hero-t { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.a-hero-t b { font: 600 22px/1.1 var(--f-head); }
.a-hero-t span { font: 400 15px/1.35 var(--f-body); }
.a-hero > .i { width: 22px; height: 22px; }
.a-hero-note { display: flex; align-items: center; gap: 6px; margin: 8px 0 0; padding-left: 4px; font: 400 12px/1.3 var(--f-mono); color: var(--a-muted); }
.a-hero-note .i { width: 13px; height: 13px; }
.a-sugg { display: flex; flex-direction: column; }
.a-sugg > .a-lbl { padding-bottom: 8px; }
.a-sugg button { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 4px; border: 0; border-top: 1px solid var(--a-line); background: none; color: var(--a-ink); font: 500 15px/1.3 var(--f-body); text-align: left; cursor: pointer; }
.a-sugg button span { flex: 1; }
.a-sugg button:hover { color: var(--a-cu); }
.a-sugg .i { width: 18px; height: 18px; }

/* C · conversation */
.a-log { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.a-mark { display: flex; align-items: center; gap: 6px; margin: 0 0 -6px; font: 500 11px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--a-cu); }
.a-mark .i { width: 13px; height: 13px; }
.a-ai { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; max-width: 94%; }
.a-ai:has(.a-fb) { width: 94%; }
.a-bub { background: var(--a-tint); color: var(--a-ink); padding: 11px 14px; border-radius: 4px 16px 16px 16px; font: 400 15px/1.5 var(--f-body); overflow-wrap: anywhere; text-wrap: pretty; }
.a-user { align-self: flex-end; max-width: 82%; background: var(--a-user); color: var(--a-on-user); padding: 11px 14px; border-radius: 16px 16px 4px 16px; font: 400 15px/1.5 var(--f-body); overflow-wrap: anywhere; }
.a-note { display: flex; align-items: center; gap: 10px; margin: 0; }
.a-note::before, .a-note::after { content: ""; flex: 1; height: 1px; background: var(--a-line); }
.a-note span { max-width: 78%; font: 500 11px/1.4 var(--f-mono); letter-spacing: .03em; color: var(--a-muted); text-align: center; }
.a-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.a-chip { min-height: 44px; padding: 8px 18px; border-radius: 22px; border: 1.5px solid var(--a-ink); background: var(--a-bg); color: var(--a-ink); font: 600 15px/1.2 var(--f-body); cursor: pointer; text-align: left; }
.a-chip:hover { background: var(--a-chip-h); }
.a-chip.ghost { border-style: dashed; border-color: var(--a-muted); font-weight: 500; }
.a-srcs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.a-srcs .a-lbl { font-size: 10px; margin-right: 2px; }
.a-src { display: inline-flex; align-items: center; gap: 5px; min-height: 30px; padding: 0 10px; border-radius: 15px; border: 1px solid var(--a-line); color: var(--a-ink); font: 500 12px/1 var(--f-body); text-decoration: none; }
.a-src:hover { background: var(--a-tint); }
.a-src .i { width: 12px; height: 12px; }
.a-fb { display: flex; align-items: center; gap: 4px; width: 100%; }
.a-fb .a-ib.sm { width: 36px; height: 36px; }
.a-fbq { font: 400 13px/1.3 var(--f-body); color: var(--a-muted); margin-right: 2px; }
.a-sp { flex: 1; }
.a-expert { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 10px; border-radius: 10px; border: 0; background: none; color: var(--a-ink); font: 600 13px/1.2 var(--f-body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.a-expert:hover { background: var(--a-tint); }
.a-expert .i { width: 15px; height: 15px; }
.a-typing { padding: 14px 16px; display: flex; align-items: center; }
.a-dots { display: inline-flex; gap: 5px; align-items: center; }
.a-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--a-muted); animation: aDot 1.2s ease-in-out infinite; }
.a-dots i:nth-child(2) { animation-delay: .16s; } .a-dots i:nth-child(3) { animation-delay: .32s; }

/* E · result card */
.a-res { width: 100%; background: var(--a-fsi); border: 1px solid var(--a-line); border-radius: 16px; overflow: hidden; flex: none; }
.a-res-hd { padding: 14px 16px 12px; border-bottom: 1px solid var(--a-line); display: flex; flex-direction: column; gap: 5px; }
.a-res-f { font: 400 13px/1.35 var(--f-body); color: var(--a-muted); }
.a-res dl { margin: 0; padding: 2px 16px; display: grid; grid-template-columns: 112px minmax(0, 1fr); }
.a-res dt { padding: 12px 10px 12px 0; white-space: normal; overflow-wrap: break-word; border-bottom: 1px solid var(--a-line); font: 400 13px/1.3 var(--f-body); color: var(--a-muted); }
.a-res dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--a-line); display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.a-res dt:nth-last-of-type(1), .a-res dd:nth-last-of-type(1) { border-bottom: 0; }
.a-res dd b, .a-vres dd { font: 600 16px/1.2 var(--f-head); color: var(--a-ink); }
.a-res .law, .a-vres .law { display: block; font: 400 12px/1.2 var(--f-mono); color: var(--a-cu); }
.a-res .sub { font: 400 12px/1.3 var(--f-body); color: var(--a-muted); }
.a-bar { display: flex; gap: 2px; margin-top: 4px; }
.a-bar i { flex: 1; height: 8px; border-radius: 2px; background: var(--a-line); }
.a-bar i.on { background: var(--a-copper); }
.a-rule { margin: 0; padding: 10px 16px; border-top: 1px solid var(--a-line); display: flex; gap: 6px; align-items: center; font: 400 12px/1.35 var(--f-body); color: var(--a-muted); }
.a-rule .i { width: 14px; height: 14px; }
.a-res-btns { padding: 0 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.a-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 24px; border: 0; font: 600 15px/1.15 var(--f-head); cursor: pointer; text-decoration: none; text-align: center; }
.a-btn.pri { background: var(--a-pri); color: var(--a-on); }
.a-btn.pri:hover { background: var(--a-pri-h); }
.a-btn.out { border: 1.5px solid var(--a-ink); background: transparent; color: var(--a-ink); }
.a-btn.out:hover { background: var(--a-tint); }
.a-res .a-btn.out:hover { background: var(--a-bg); }
.a-btn.link { background: none; color: var(--a-ink); font: 600 15px/1.2 var(--f-body); text-decoration: underline; text-underline-offset: 3px; }
.a-btn.link:hover { background: var(--a-tint); }
.a-btn.lg { min-height: 52px; border-radius: 26px; font-size: 16px; }
.a-btn .i { width: 18px; height: 18px; }
.a-btn[disabled] { background: var(--a-tint); color: var(--a-muted); cursor: default; }

/* composer + notice */
.a-comp { display: flex; gap: 8px; align-items: center; padding: 12px 16px 8px; border-top: 1px solid var(--a-line); flex: none; }
.a-talk { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px 0 12px; border-radius: 22px; border: 1.5px solid var(--a-ink); background: var(--a-bg); color: var(--a-ink); font: 600 14px/1 var(--f-body); cursor: pointer; flex: none; }
.a-talk:hover { background: var(--a-tint); }
.a-talk .i { width: 18px; height: 18px; }
.a-comp input { flex: 1; min-width: 0; height: 44px; padding: 0 16px; border-radius: 22px; border: 1px solid var(--a-fl); background: var(--a-field); color: var(--a-ink); font: 400 15px/1 var(--f-body); }
.a-comp input::placeholder { color: var(--a-muted); opacity: 1; }
.a-send { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--a-pri); color: var(--a-on); display: grid; place-items: center; cursor: pointer; flex: none; padding: 0; }
.a-send:hover { background: var(--a-pri-h); }
.a-send .i { width: 18px; height: 18px; }
.a-disc { margin: 0; padding: 6px 16px 12px; font: 400 12px/1.4 var(--f-body); color: var(--a-muted); flex: none; }
.a-disc a { color: var(--a-ink); text-underline-offset: 2px; }

/* F · voice */
.a-voice { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 10px 20px 14px; gap: 10px; }
.a-tbtn { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px 0 10px; border-radius: 18px; border: 1px solid var(--a-line); background: var(--a-bg); color: var(--a-ink); font: 500 13px/1 var(--f-body); cursor: pointer; flex: none; }
.a-tbtn:hover { background: var(--a-tint); }
.a-tbtn .i { width: 16px; height: 16px; }
.a-tlog { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 10px 12px; background: var(--a-tint); border-radius: 14px; }
.a-tai { display: flex; flex-direction: column; gap: 3px; max-width: 92%; font: 400 14px/1.45 var(--f-body); color: var(--a-ink); }
.a-tai .a-lbl { font-size: 10px; color: var(--a-cu); }
.a-tuser { align-self: flex-end; max-width: 85%; background: var(--a-user); color: var(--a-on-user); padding: 7px 11px; border-radius: 12px 12px 4px 12px; font: 400 14px/1.4 var(--f-body); }
.a-tres { font: 500 13px/1.4 var(--f-body); background: var(--a-fsi); border: 1px solid var(--a-line); border-radius: 10px; padding: 8px 10px; }
.a-tnote { align-self: center; margin: 0; font: 500 11px/1.3 var(--f-mono); color: var(--a-muted); }
.a-stage { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; overflow: hidden; }
.a-stage.t { flex: none; gap: 8px; }
.a-cap { margin: 0; max-width: 340px; min-height: 56px; font: 500 20px/1.38 var(--f-head); color: var(--a-ink); text-wrap: pretty; }
.a-cap.sm { font-size: 16px; line-height: 1.4; min-height: 0; }
.a-cap .hint { color: var(--a-muted); }
.a-cap .you { display: flex; justify-content: center; margin-bottom: 6px; }
.a-meter { display: flex; gap: 4px; align-items: center; height: 32px; }
.a-meter i { width: 4px; height: 4px; border-radius: 2px; background: var(--a-live); opacity: .35; }
.a-vchips { display: flex; flex-direction: column; gap: 8px; align-items: center; flex: none; }
.a-vchips .a-lbl { font-size: 10px; }
.a-vchips .a-chips { justify-content: center; }
.a-vchips .a-chip { padding: 8px 16px; }
.a-vres { background: var(--a-fsi); border: 1px solid var(--a-line); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 10px; flex: none; }
.a-vres dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.a-vres dl > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.a-vres dt { font: 400 12px/1.2 var(--f-body); color: var(--a-muted); }
.a-vres dd { margin: 0; font-size: 14px; }
.a-vres .law { font-size: 11px; }
.a-vres .a-btn { min-height: 44px; font-size: 14px; }
.a-ctl { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px; flex: none; }
.a-side { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 64px; min-height: 56px; padding: 6px 8px; border: 0; border-radius: 12px; background: none; color: var(--a-ink); font: 500 12px/1 var(--f-body); cursor: pointer; }
.a-side:hover { background: var(--a-tint); }
.a-side .i { width: 22px; height: 22px; }
.a-side.l { justify-self: start; } .a-side.r { justify-self: end; }
.a-prim { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 56px; padding: 0 22px; border-radius: 28px; border: 0; background: var(--a-pri); color: var(--a-on); font: 600 15px/1.15 var(--f-head); cursor: pointer; white-space: nowrap; }
.a-prim:hover { background: var(--a-pri-h); }
.a-prim .i { width: 20px; height: 20px; }
.a-prim[disabled] { background: var(--a-tint); color: var(--a-muted); cursor: default; }
.a-prim[disabled] .i { animation: aSpin 1s linear infinite; }
.a-verr { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; }
.a-verr h3 { margin: 0; font: 600 21px/1.25 var(--f-head); color: var(--a-ink); }
.a-verr p { max-width: 300px; font: 400 15px/1.5 var(--f-body); color: var(--a-muted); }
.a-stack { display: flex; flex-direction: column; gap: 8px; }
.a-stack.end { margin-top: auto; }

/* the orb: copper = AI acting, red = mic live, outline = waiting for you, dashed grey = unavailable */
.a-orb { --s: 156px; --lv: 0; position: relative; width: var(--s); height: var(--s); flex: none; }
.a-orb > span { position: absolute; left: 20%; top: 20%; width: 60%; height: 60%; border-radius: 50%; box-sizing: border-box; }
.a-orb .r { display: none; }
.a-orb .core { display: grid; place-items: center; }
.a-orb .core > .i { width: 40%; height: 40%; }
.a-orb .a-dots i { width: max(5px, calc(var(--s) * .06)); height: max(5px, calc(var(--s) * .06)); background: var(--a-copper); }
.a-orb[data-s="speaking"] .core, .a-orb[data-s="thinking"] .core, .a-orb[data-s="connecting"] .core { background: var(--a-orb); color: var(--a-copper); }
.a-orb[data-s="speaking"] .r1 { display: block; background: var(--a-copper); opacity: .18; animation: aBreath 1.8s ease-in-out infinite; }
.a-orb[data-s="speaking"] .r2, .a-orb[data-s="speaking"] .r3 { display: block; border: 2px solid var(--a-copper); animation: aRipple 2.4s ease-out infinite; }
.a-orb[data-s="speaking"] .r3 { animation-delay: 1.2s; }
.a-orb[data-s="listening"] .core { background: var(--a-bg); border: 3px solid var(--a-live); color: var(--a-live); }
.a-orb[data-s="listening"] .r1 { display: block; background: var(--a-live); opacity: .16; transform: scale(calc(1.1 + var(--lv) * .5)); transition: transform .11s linear; }
.a-orb[data-s="thinking"] .r1 { display: block; border: 2px solid var(--a-line); transform: scale(1.22); }
.a-orb[data-s="connecting"] .r1 { display: block; border: 2px dashed var(--a-copper); transform: scale(1.22); animation: aSpinRing 4s linear infinite; }
.a-orb[data-s="error"] .core { background: var(--a-tint); border: 2px dashed var(--a-muted); color: var(--a-muted); }
.a-orb[data-s="idle"] .core { background: var(--a-bg); border: 2px solid var(--a-ink); color: var(--a-ink); }
.a-orb[data-s="idle"] .r1 { display: block; border: 1px solid var(--a-line); transform: scale(1.22); }
@keyframes aRipple { from { transform: scale(1); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
@keyframes aBreath { 0%, 100% { transform: scale(1.08); } 50% { transform: scale(1.34); } }
@keyframes aSpinRing { from { transform: scale(1.22) rotate(0deg); } to { transform: scale(1.22) rotate(360deg); } }
@keyframes aSpin { to { transform: rotate(360deg); } }
@keyframes aDot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

/* F1 · before the mic permission */
.a-intro { padding: 18px 20px 12px; display: flex; flex-direction: column; gap: 16px; }
.a-intro-hd { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.a-intro-hd h3 { margin: 0; font: 600 22px/1.2 var(--f-head); color: var(--a-ink); }
.a-ilist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.a-ilist li { display: flex; gap: 12px; align-items: flex-start; font: 400 15px/1.45 var(--f-body); color: var(--a-ink); }
.a-ilist li > span:last-child { padding-top: 5px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.a-ic { width: 32px; height: 32px; border-radius: 50%; background: var(--a-tint); color: var(--a-ink); display: grid; place-items: center; flex: none; }
.a-ic.fsi { background: var(--a-fsi); color: var(--a-cu); } .a-ic.live { background: var(--a-live-t); color: var(--a-live); }
.a-ic .i { width: 16px; height: 16px; }
.a-inote { margin: 0; text-align: center; font: 400 13px/1.4 var(--f-body); color: var(--a-muted); }
.a-wait { margin: 0; text-align: center; font: 500 12px/1.4 var(--f-mono); color: var(--a-cu); }

/* G · hand-off */
.a-form { padding: 12px 20px 16px; display: flex; flex-direction: column; gap: 14px; }
.a-back { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 10px 0 4px; border: 0; border-radius: 10px; background: none; color: var(--a-ink); font: 500 14px/1 var(--f-body); cursor: pointer; flex: none; }
.a-back:hover { background: var(--a-tint); }
.a-back .i { width: 18px; height: 18px; }
.a-fhd h3 { margin: 0 0 6px; font: 600 21px/1.2 var(--f-head); color: var(--a-ink); }
.a-fhd p { font: 400 14px/1.45 var(--f-body); color: var(--a-muted); }
.a-fld { display: flex; flex-direction: column; gap: 6px; font: 600 13px/1.2 var(--f-body); color: var(--a-ink); }
.a-fld input, .a-fld textarea { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--a-fl); background: var(--a-field); color: var(--a-ink); font: 400 15px/1.45 var(--f-body); }
.a-fld input { height: 44px; }
.a-fld textarea { resize: none; }
.a-fld [aria-invalid="true"] { border: 2px solid var(--a-live); }
.a-chk { display: flex; align-items: center; gap: 10px; min-height: 32px; font: 400 14px/1.3 var(--f-body); color: var(--a-ink); cursor: pointer; }
.a-chk input { width: 18px; height: 18px; margin: 0; accent-color: var(--a-pri); flex: none; }
.a-human, .a-priv { margin: 0; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font: 400 13px/1.4 var(--f-body); color: var(--a-muted); }
.a-human { flex-wrap: nowrap; }
.a-human .i { width: 15px; height: 15px; }
.a-priv a { color: var(--a-ink); }
.a-ferr { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--a-live-t); color: var(--a-live); font: 500 14px/1.4 var(--f-body); }
.a-ferr a { color: inherit; }
.a-form > .a-btn.lg { margin-top: auto; flex: none; }
.a-done { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; }
.a-done-ic { width: 72px; height: 72px; border-radius: 50%; background: var(--a-fsi); color: var(--a-cu); display: grid; place-items: center; }
.a-done-ic .i { width: 34px; height: 34px; }
.a-done h3 { margin: 0; font: 600 21px/1.25 var(--f-head); color: var(--a-ink); }
.a-done p { max-width: 290px; font: 400 15px/1.5 var(--f-body); color: var(--a-muted); }
.a-done .a-btn { margin-top: 8px; }
.a-bfacts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font: 400 15px/1.4 var(--f-body); color: var(--a-ink); }
.a-bfacts li { display: flex; gap: 10px; align-items: flex-start; }
.a-bfacts .i { width: 18px; height: 18px; margin-top: 2px; color: var(--a-cu); }
.a-gnote { margin: 0; font: 400 13px/1.4 var(--f-body); color: var(--a-muted); }
.a-book .a-btn { flex: none; }
.a-cal { width: 100%; flex: 1 0 380px; border: 1px solid var(--a-line); border-radius: 12px; background: #fff; }

/* H · minimised */
.a-mini { position: fixed; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 400px; max-width: calc(100vw - 48px); display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 10px; background: var(--a-bg); color: var(--a-ink); border: 1px solid var(--a-line); border-radius: 18px; box-shadow: var(--a-shadow); }
.a-mini-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.a-mini-t .a-lbl { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-mini-t .a-lbl .dot { margin-right: 6px; vertical-align: 0; }
.a-mini-c { font: 400 14px/1.3 var(--f-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (prefers-reduced-motion: no-preference) {
  .a-panel.enter { animation: aIn .2s ease both; }
  @keyframes aIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  .asst .a-orb span, .asst .a-dots i, .asst .a-prim .i { animation: none !important; }
  .a-orb[data-s="speaking"] .r1 { background: none; opacity: 1; border: 3px solid var(--a-copper); transform: scale(1.25); }
  .a-orb[data-s="speaking"] .r2, .a-orb[data-s="speaking"] .r3 { display: none; }
  .a-orb[data-s="listening"] .r1 { transform: scale(1.28); transition: none; }
  .a-dots i:nth-child(1) { opacity: .4; } .a-dots i:nth-child(2) { opacity: .7; } .a-dots i:nth-child(3) { opacity: 1; }
}
@media (max-width: 760px) {
  .a-launch { right: 16px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
  .a-fab { width: 60px; height: 60px; padding: 0; border-radius: 50%; justify-content: center; }
  .a-fab .i { width: 26px; height: 26px; }
  .a-fab-l, .a-nudge { display: none; }
  .a-panel { inset: 0; width: auto; height: auto; max-width: none; max-height: none; border-radius: 0; border: 0; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
  .a-hd { gap: 6px; padding-left: 12px; }
  .a-voice { padding: 10px 16px 14px; }
  .a-side { min-width: 56px; padding: 6px 4px; }
  .a-prim { padding: 0 16px; font-size: 14px; white-space: normal; max-width: 200px; }
  .a-mini { left: 12px; right: 12px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: auto; max-width: none; }
}
@media print { .asst { display: none !important; } }
