@font-face { font-family: Geist; src: url('/assets/geist.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('/assets/geist-mono.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--body); font: var(--weight-regular) var(--type-body)/1.5 Geist, sans-serif; }
button, input, textarea, select { font: inherit; color: inherit; }
input[type=text], input[type=email], input[type=file] { min-height: 44px; width: 100%; border: 1px solid var(--control); border-radius: var(--radius-control); padding: var(--space-3); background: var(--canvas); }
input[type=file]::file-selector-button { min-height: 44px; border: 1px solid var(--control); border-radius: var(--radius-control); padding: var(--space-2) var(--space-3); background: var(--canvas); color: var(--body); font: inherit; margin-right: var(--space-3); cursor: pointer; }
button, select, summary, .check { cursor: pointer; }
button, .button, select { min-height: 44px; border: 1px solid var(--control); border-radius: var(--radius-control); padding: var(--space-3) var(--space-4); background: var(--canvas); font-weight: var(--weight-medium); text-decoration: none; display: inline-flex; align-items: center; justify-content: center; line-height: 20px; transition: background 140ms ease; }
button:hover, .button:hover { background: var(--subtle); }
button:active { background: var(--line); }
button.primary, .button.primary { background: var(--primary); border-color: var(--primary); color: var(--canvas); }
button.primary:hover, .button.primary:hover { background: var(--primary-hover); }
button:disabled { opacity: .45; cursor: not-allowed; }
button.quiet { background: transparent; border-color: transparent; }
button.quiet:hover { background: var(--subtle); }
button.danger { color: var(--danger); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
@supports not selector(:focus-visible) { :focus { outline: 2px solid var(--primary); outline-offset: 2px; } }
a { color: var(--link); }
h1, h2, h3, p { margin: 0; overflow-wrap: anywhere; }
h1 { font-size: var(--type-title); font-weight: var(--weight-strong); line-height: 1.2; color: var(--ink); letter-spacing: -.03em; }
h2 { font-size: var(--type-section); font-weight: var(--weight-strong); line-height: 1.25; color: var(--ink); letter-spacing: -.025em; }
h3 { font-size: var(--type-subhead); font-weight: var(--weight-strong); line-height: 1.3; color: var(--ink); }
.card-title { font-size: var(--type-card); font-weight: var(--weight-strong); line-height: 1.35; color: var(--ink); }
.meta { font-size: var(--type-meta); font-weight: var(--weight-strong); line-height: 1.45; color: var(--muted); }
.mono { font-family: 'Geist Mono', monospace; font-size: var(--type-meta); }
.muted, .help { color: var(--muted); }
.masthead { min-height: 88px; padding: var(--space-4) var(--space-12); display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: var(--space-4); min-width: 0; min-height: 44px; }
.brand img { display: block; width: 104px; height: auto; }
.brand span { padding-left: var(--space-4); border-left: 1px solid var(--line); font-size: var(--type-card); font-weight: var(--weight-medium); }
.badge { display: inline-flex; align-items: center; gap: var(--space-2); background: var(--mint-soft); border: 1px solid var(--line); padding: var(--space-1) var(--space-2); border-radius: 6px; font-size: var(--type-meta); font-weight: var(--weight-medium); white-space: nowrap; }
.badge-dot { width: 6px; height: 6px; background: var(--mint); border-radius: 50%; }
.shell { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 248px minmax(0, 1fr); }
.rail { padding: var(--space-12) var(--space-8); border-right: 1px solid var(--line); min-height: calc(100vh - 88px); }
.rail-label { margin-bottom: var(--space-8); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-6); }
.step { display: flex; gap: var(--space-3); align-items: center; color: var(--muted); }
.step-index { font-family: 'Geist Mono', monospace; font-size: var(--type-meta); width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; flex-shrink: 0; }
.step[aria-current] { color: var(--mint-text); font-weight: var(--weight-medium); }
.step[aria-current] .step-index { background: var(--primary); color: var(--canvas); border-color: var(--primary); }
.rail-note { margin-top: var(--space-12); padding-top: var(--space-8); border-top: 2px solid var(--mint-soft); }
.rail-note p + p { margin-top: var(--space-6); }
main { padding: var(--space-12); width: 100%; min-width: 0; }
.content { max-width: 760px; margin: 0 auto; }
.eyebrow { display: flex; gap: var(--space-3); align-items: center; margin-bottom: var(--space-6); }
.eyebrow .meta { color: var(--mint-text); }
.page-heading p { margin-top: var(--space-4); max-width: 66ch; }
.page-heading { margin-bottom: var(--space-12); }
.hero { font-size: var(--type-hero); line-height: 1.1; max-width: 13ch; }
.intro-lead { font-size: var(--type-card); line-height: 1.6; }
.card { padding: var(--space-6); background: var(--canvas); border: 1px solid var(--line); border-radius: var(--radius-card); }
.soft { background: var(--mint-soft); border-color: var(--mint-soft); }
.card + .card { margin-top: var(--space-6); }
.stack { display: grid; gap: var(--space-6); }
.card-head { display: flex; gap: var(--space-4); justify-content: space-between; align-items: baseline; margin-bottom: var(--space-4); }
.route-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-6); }
.route-item { display: grid; grid-template-columns: 28px 1fr; gap: var(--space-4); }
.route-item p { margin-top: var(--space-2); }
.divider { margin: var(--space-8) 0; border: 0; border-top: 2px solid var(--mint-soft); }
.form-group { display: grid; gap: var(--space-3); }
.form-group + .form-group { margin-top: var(--space-6); }
label { font-weight: var(--weight-medium); }
select { width: 100%; appearance: auto; }
textarea { display: block; width: 100%; min-height: 152px; padding: var(--space-4); border: 1px solid var(--control); background: var(--canvas); border-radius: var(--radius-control); resize: vertical; line-height: 1.5; }
textarea::placeholder { color: var(--muted); }
.check { min-height: 44px; display: flex; align-items: center; gap: var(--space-3); font-weight: var(--weight-regular); }
.check input { width: 20px; height: 20px; accent-color: var(--primary); flex-shrink: 0; margin: var(--space-3) 0; }
.consent { margin: var(--space-6) 0; }
.actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: var(--space-3); margin-top: var(--space-8); }
.actions > * { margin-top: 0; margin-bottom: 0; }
.actions.spread { justify-content: space-between; }
.actions + .help { margin-top: var(--space-4); }
.question-heading { margin-bottom: var(--space-12); }
.question-heading p { margin-top: var(--space-4); }
.answer-meta { display: flex; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-3); }
.answer-meta:has(> #character-count:empty):not(:has(.help)) { display: none; }
.text { white-space: pre-wrap; overflow-wrap: anywhere; }
.question-foot { padding-top: var(--space-6); margin-top: var(--space-8); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
details { margin-top: var(--space-6); }
summary { min-height: 44px; padding: var(--space-3) 0; font-weight: var(--weight-medium); }
.history-item { padding: var(--space-6) 0; border-top: 1px solid var(--line); }
.route-list > li > .card-title::before, .route-item .mono { color: var(--mint-graphic); }
.history-item p { margin-top: var(--space-3); }
.provenance > .help { margin-bottom: var(--space-12); }
.source-note { margin-top: var(--space-6); }
.analysis-list { margin: 0; padding-left: var(--space-6); }
.trust-card { margin-top: var(--space-8); }
.trust-intro { margin-bottom: var(--space-6); }
.ai-route-note { margin-bottom: var(--space-6); padding: var(--space-4) var(--space-6); border-left: 3px solid var(--mint); background: var(--mint-soft); border-radius: 0 var(--radius-control) var(--radius-control) 0; }
.sign-off { margin-top: var(--space-8); }
.signatories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); margin-top: var(--space-6); }
.purpose-card { margin-top: var(--space-8); }
.purpose-card .intro-lead + p { margin-top: var(--space-4); }
.purpose-card .route-list { margin-top: var(--space-8); }
.purpose-card .route-list p { margin-top: var(--space-2); }
.organization-card .card-title, .organization-card .card-title + p { margin-top: var(--space-2); }
.trust-card .route-list p { margin-top: var(--space-3); }
.trust-details p + p { margin-top: var(--space-6); }
.analysis-list li + li, .analysis-item + .analysis-item { margin-top: var(--space-6); }
.analysis-list p, .analysis-item .help { margin-top: var(--space-3); }
#analysis-report .muted + .preview-section { margin-top: var(--space-12); }
.finding { display: flex; justify-content: space-between; align-items: center; gap: var(--space-6); padding: var(--space-6) 0; border-top: 1px solid var(--line); }
.finding > div { min-width: 0; }
.finding p { margin-top: var(--space-2); }
.finding button { flex-shrink: 0; }
.selected-text { margin-top: var(--space-8); }
.selected-text > .card { margin-top: var(--space-6); }
.notice { background: var(--mint-soft); border: 1px solid var(--line); border-left: 3px solid var(--mint); border-radius: var(--radius-control); padding: var(--space-4); margin-bottom: var(--space-8); }
.error { color: var(--danger); margin-top: var(--space-4); }
.section-editor { min-height: 120px; }
.brand-sub { color: var(--muted); font-weight: var(--weight-regular); }
@media (max-width: 560px) { .brand-sub { display: none; } }
.section-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-3); }
/* Anonymous round: the summary as a list of points, each with its own text box and a drop button. */
.points { display: grid; gap: var(--space-3); }
.point { display: grid; grid-template-columns: 1fr auto; gap: var(--space-3); align-items: start; }
.point-editor { min-height: 44px; padding: var(--space-3) var(--space-4); }
.point button { min-height: 44px; }
.preview-section { padding-top: var(--space-6); margin-top: var(--space-6); border-top: 1px solid var(--line); }
.preview-section p { margin-top: var(--space-4); }
.review-meta { display: grid; grid-template-columns: 120px 1fr; gap: var(--space-3) var(--space-4); margin: 0; }
.review-meta dt { color: var(--muted); }
.review-meta dd { margin: 0; }
.footnote { margin-top: var(--space-8); color: var(--muted); }
.footer { border-top: 1px solid var(--line); margin-top: var(--space-12); padding-top: var(--space-6); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-4); }
.skip-link { position: absolute; top: -80px; left: 16px; padding: var(--space-3); background: var(--canvas); z-index: 10; }
.skip-link:focus { top: 8px; }
[hidden] { display: none !important; }
@media (max-width: 900px) {
  .masthead { padding: var(--space-4) var(--space-6); }
  .shell { grid-template-columns: 196px minmax(0,1fr); }
  .rail { padding: var(--space-8) var(--space-6); }
  main { padding: var(--space-8); }
}
@media (max-width: 640px) {
  .signatories { grid-template-columns: 1fr; }
  .masthead { min-height: 80px; padding: var(--space-4); gap: var(--space-2); }
  .brand { gap: var(--space-2); }
  .brand img { width: 76px; }
  .brand span { padding-left: var(--space-2); font-size: var(--type-body); }
  .shell { display: block; }
  .rail { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); padding: var(--space-4); }
  .rail-label, .rail-note { display: none; }
  .steps { display: flex; gap: var(--space-2); justify-content: space-between; }
  .step { gap: var(--space-2); font-size: var(--type-meta); }
  .step-index { width: 24px; height: 24px; }
  .step:not([aria-current]) .step-label { display: none; }
  main { padding: var(--space-8) var(--space-4); }
  .card { padding: var(--space-4); }
  .card-head, .section-foot { align-items: flex-start; }
  .card-head { flex-direction: column; gap: var(--space-2); }
  .actions { display: grid; grid-template-columns: 1fr; }
  .actions > * { width: 100%; }
  .question-foot { display: grid; grid-template-columns: 1fr; }
  .review-meta { grid-template-columns: 1fr; gap: var(--space-2); }
  .review-meta dd { margin-bottom: var(--space-4); }
  .section-foot { flex-direction: column; gap: 0; }
  .finding { flex-direction: column; align-items: stretch; gap: var(--space-4); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
/* 0.9.0: live voice conversation and screenshots */
.choice-group { border: 1px solid var(--line); border-radius: var(--radius-card); padding: var(--space-6); margin: var(--space-8) 0 0; display: grid; gap: var(--space-3); }
.choice-group legend { padding: 0 var(--space-2); }
.choice-group .help { margin-top: var(--space-2); }
.choice { align-items: flex-start; padding: var(--space-3); border: 1px solid var(--line); border-radius: var(--radius-control); }
.choice:has(input:checked) { border-color: var(--mint-graphic); background: var(--mint-soft); }
.choice input[type=radio] { width: 20px; height: 20px; accent-color: var(--primary); flex-shrink: 0; margin: var(--space-1) 0; }
.voice-status { display: flex; align-items: center; gap: var(--space-3); }
.voice-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--control); flex-shrink: 0; }
.voice-dot.listening { background: var(--mint); animation: voice-pulse 1.6s ease-in-out infinite; }
.voice-dot.connecting, .voice-dot.finishing { background: var(--control); animation: voice-pulse 1s ease-in-out infinite; }
.voice-dot.paused { background: var(--muted); }
.voice-dot.error { background: var(--danger); }
@keyframes voice-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
/* Sound wave in mint while the interviewer speaks: in-flight status, calm and reduced-motion safe. */
.voice-wave { margin-left: auto; display: inline-flex; align-items: center; gap: 3px; height: 24px; opacity: 0; transition: opacity 200ms ease; }
.voice-wave i { display: block; width: 3px; height: 4px; border-radius: 2px; background: var(--mint); transition: height 60ms linear; }
.voice-wave.speaking { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .voice-wave i { transition: none; } .voice-dot.listening, .voice-dot.connecting, .voice-dot.finishing { animation: none; } }
.voice-level { height: 4px; background: var(--mint-soft); border-radius: 2px; margin-top: var(--space-4); overflow: hidden; }
.voice-level span { display: block; height: 100%; width: 0; background: var(--mint); transition: width 80ms linear; }
/* The conversation controls sit above the text; on a phone they take two columns so they stay in view. */
@media (max-width: 640px) { .voice-card .actions { grid-template-columns: 1fr 1fr; } }
.voice-transcript { margin-top: var(--space-6); max-height: min(34vh, 320px); overflow-y: auto; display: grid; gap: var(--space-4); padding-right: var(--space-2); }
.voice-line { padding: var(--space-3) var(--space-4); border-radius: var(--radius-control); border: 1px solid var(--line); }
.voice-line.q { background: var(--mint-soft); border-color: var(--mint-soft); }
.voice-line.a { background: var(--canvas); margin-left: var(--space-8); }
.voice-line.live { border-style: dashed; }
.voice-line p { margin-top: var(--space-1); }
.voice-card .actions { margin-top: var(--space-6); }
.screen-preview { display: block; max-width: 100%; height: auto; margin-top: var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-control); }
.screen-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--space-6); margin-top: var(--space-4); }
.screen-item { margin: 0; }
.screen-item img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius-control); }
.screen-item figcaption { margin-top: var(--space-2); display: grid; gap: var(--space-2); }
.screen-item .actions { margin-top: var(--space-2); }
.blackout-frame { position: relative; touch-action: none; }
.blackout-frame.active { cursor: crosshair; outline: 2px solid var(--primary); outline-offset: 2px; border-radius: var(--radius-control); }
.blackout-frame.active img { user-select: none; }
.blackout-rect { position: absolute; background: var(--ink); opacity: .85; pointer-events: none; }
.crop-frame { margin-top: var(--space-4); }
.crop-frame .screen-preview { margin-top: 0; }
.crop-rect { background: transparent; opacity: 1; border: 2px solid var(--mint); box-shadow: 0 0 0 9999px var(--mint-soft); }
@media (max-width: 640px) { .voice-line.a { margin-left: var(--space-4); } .screen-grid { grid-template-columns: 1fr; } }

/* 1.0: analyst workspace and printable report */
.analyst-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--space-4); }
@media (max-width: 640px) { .analyst-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat .stat-name { font-size: var(--type-body); }
.stat > span { display: block; }
.analyst-org { margin-bottom: var(--space-8); }
.analyst-page .card > p.muted { margin-bottom: var(--space-6); }
.status-line { margin-top: var(--space-4); color: var(--muted); font-size: var(--type-meta); }
.subhead { margin: var(--space-8) 0 var(--space-4); }
.invite-text { min-height: 44px; font-family: inherit; }
.invite-parts { display: grid; gap: var(--space-2); margin: var(--space-4) 0 0; }
.invite-parts dd { margin: 0 0 var(--space-4); display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.link-line { overflow-wrap: anywhere; min-width: 0; flex: 1 1 16rem; }
.action-feedback { margin-top: var(--space-3); }
.report-status { margin-bottom: var(--space-6); }
.report-controls { margin-bottom: var(--space-6); }
/* A view switch, not a main action: the chosen view has a dark outline instead of a black fill. */
.view-switch button[aria-pressed="true"] { border-color: var(--ink); font-weight: var(--weight-medium); }
@media (max-width: 640px) { .view-switch { grid-template-columns: 1fr 1fr; } }
.report-body { margin-top: var(--space-6); }
.report-controls .form-group { margin-top: var(--space-4); }
.internal-band { margin-bottom: var(--space-6); }
.print-refusal { display: none; }
.print-only { display: none; }
.report-about { margin: var(--space-2) 0 var(--space-6); }
.report-about p { margin-top: var(--space-3); max-width: 66ch; }
.contribution summary .preview-line { display: block; font-weight: var(--weight-regular); }
.contribution > p.help { margin-top: var(--space-6); }
input[type=date] { min-height: 44px; }
.stat { padding: var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--surface-muted); }
.stat strong { display: block; font-size: var(--type-subhead); color: var(--ink); }
.invite-list { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: grid; gap: var(--space-2); }
.invite-list li { display: flex; gap: var(--space-3); align-items: center; justify-content: space-between; padding: var(--space-3); border: 1px solid var(--line); border-radius: var(--radius-control); }
.invite-list .mono { overflow-wrap: anywhere; min-width: 0; }
.report-section + .report-section { margin-top: var(--space-8); padding-top: var(--space-8); border-top: 1px solid var(--line); }
.report-section ul { margin: var(--space-3) 0 0; padding-left: var(--space-6); }
.report-section li + li { margin-top: var(--space-2); }
@media print {
  /* A printed report opens with its own title, not with the label of the analyst workspace (night round). */
  .analyst-page #report > .card-head, .analyst-page #vvb-read > .card-head { display: none !important; }
  .masthead, .rail, .actions, .question-foot, .footer, .no-print, .skip-link { display: none !important; }
  /* The analyst page prints the report for the employer only: never the code, the invitation, the
     shared conversations or the notes (analyst review, 22 September 2026). */
  .analyst-page #app > :not(#report) { display: none !important; }
  .analyst-page #report.internal > :not(.print-refusal) { display: none !important; }
  .analyst-page #report.internal .print-refusal { display: block !important; }
  .print-only { display: block; }
  .report-about summary { display: none; }
  .shell { display: block; }
  main { padding: 0; }
  .card { border: 0; padding: 0; }
  .report-section { break-inside: avoid; }
  body { background: var(--canvas); }
}

/* 1.2: participant route after the route review of 21 September 2026 */
[tabindex="-1"]:focus { outline: none; }
.progress { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4); margin-bottom: var(--space-6); padding-bottom: var(--space-3); border-bottom: 1px solid var(--line); }
.progress .meta { color: var(--mint-text); }
.question-title { font-size: var(--type-subhead); line-height: 1.3; letter-spacing: -.01em; }
.page-heading.compact { margin-bottom: var(--space-6); }
.lead-note { margin-top: var(--space-8); color: var(--muted); max-width: 66ch; }
button.link-button { border-color: transparent; background: transparent; color: var(--link); text-decoration: underline; padding-left: 0; padding-right: 0; font-weight: var(--weight-regular); }
button.link-button:hover { background: transparent; color: var(--ink); }
.aside-link { margin-top: var(--space-4); }
.point button.point-remove { color: var(--muted); padding-left: var(--space-3); padding-right: var(--space-3); }
.point button.point-remove:hover { color: var(--danger); }
.point-add { margin-top: var(--space-3); }
.point-add button { padding-left: 0; }
.notice.undo { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding-top: var(--space-2); padding-bottom: var(--space-2); }
.card .notice.undo { margin: var(--space-3) 0 0; }
/* Points grow with their text (script fallback where field-sizing is missing), so a point is read without scrolling inside it. */
.point-editor { field-sizing: content; resize: none; overflow: hidden; }
/* The thanks page lists the points without a line above the first one. */
.card > .preview-section:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.notice .actions { margin-top: var(--space-4); }
.card.confirm { margin-top: var(--space-8); border-color: var(--control); }
.card.confirm p { margin-top: var(--space-3); }
.card.confirm .actions { margin-top: var(--space-6); }
.consent-text { margin-top: var(--space-8); max-width: 66ch; color: var(--ink); }
.card-body { margin-top: var(--space-3); }
.point-list { margin: var(--space-3) 0 0; padding-left: var(--space-6); }
.point-list li + li { margin-top: var(--space-2); }
.plain-list { margin: var(--space-3) 0 0; padding-left: var(--space-6); color: var(--body); }
.plain-list li + li { margin-top: var(--space-3); }
details.more { margin-top: var(--space-8); }
.error-text { color: var(--danger); }
@media (max-width: 640px) { .notice.undo { flex-direction: column; align-items: flex-start; } .progress { flex-wrap: wrap; } }
/* On a small phone the text box keeps the full width; the remove button sits under it, on the right. */
@media (max-width: 400px) { .point { grid-template-columns: 1fr; } .point button.point-remove { justify-self: end; } }
.route-list > li > .card-title + p { margin-top: var(--space-1); }
.question-heading:has(.question-title) { margin-bottom: var(--space-8); }
/* 1.4 (round 5): role options share one height and centre their text; the question above a point; the mail block. */
#role-group .choice { align-items: center; min-height: 52px; }
#role-group .choice input[type=radio] { margin: 0; }
.point-source { margin: var(--space-4) 0 var(--space-1); font-size: var(--type-meta); }
.points > .point-source:first-child { margin-top: 0; }
.mail-editor { margin-top: var(--space-6); }
.mail-editor .mail-preview { margin-top: var(--space-4); }
.mail-editor .mail-preview textarea { margin-top: var(--space-4); }
.mail-log { list-style: none; padding-left: 0; }
.voice-line .aside-link { margin-top: var(--space-2); }
.voice-line textarea { margin-top: var(--space-2); min-height: 88px; }
/* Round 5 review: the recipients of a mail, read back row by row before sending. */
.recipient-table { width: 100%; border-collapse: collapse; margin-top: var(--space-4); font-size: var(--type-meta); line-height: 1.45; }
.recipient-table caption { text-align: left; padding-bottom: var(--space-2); }
.recipient-table th, .recipient-table td { text-align: left; padding: var(--space-2) var(--space-3) var(--space-2) 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.recipient-table td.mono { overflow-wrap: anywhere; }
.recipient-table th { font-weight: var(--weight-medium); color: var(--muted); }
.recipient-table tr.warn td:last-child { color: var(--danger); }
.recipient-table tr.dubbel td:last-child, .recipient-table tr.naam td:last-child { color: var(--muted); }
/* The follow-up question on a note stands apart from the answer box. */
#note-question { margin: var(--space-6) 0 var(--space-4); }
/* On a phone every recipient is one block: name and address on a line, the remark below it. */
@media (max-width: 560px) {
  .recipient-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .recipient-table tr { display: block; padding: var(--space-2) 0; border-bottom: 1px solid var(--line); }
  .recipient-table td { display: inline; padding: 0; border: 0; }
  .recipient-table td:first-child:not(:empty)::after { content: " · "; }
  .recipient-table td:last-child { display: block; }
}

/* Round 6: owner context interview. "Dit weten we al" sits above the question as a quiet note. */
.known-block { margin-bottom: var(--space-8); padding: var(--space-4) var(--space-6); border-left: 3px solid var(--mint); background: var(--mint-soft); border-radius: 0 var(--radius-control) var(--radius-control) 0; }
.known-block .text { margin-top: var(--space-2); }
.context-page .footnote { max-width: 66ch; }
/* The card sections grow with their text where the browser supports it, so the owner reads without scrolling inside a box. */
.context-page .section-editor { field-sizing: content; min-height: 120px; }
/* Analyst page: previous and new card per section; a changed section gets a mint left edge, unchanged ones stay quiet. */
.compare { display: grid; gap: var(--space-4); margin-top: var(--space-4); }
.compare-section { padding: var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-control); }
.compare-section.changed { border-left: 3px solid var(--mint); background: var(--mint-soft); }
.compare-section .card-title { display: flex; justify-content: space-between; gap: var(--space-3); align-items: baseline; }
.compare-section .card-title .meta { white-space: nowrap; }
.compare-versions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); margin-top: var(--space-3); }
.compare-versions .meta { display: block; margin-bottom: var(--space-1); }
@media (max-width: 640px) { .compare-versions { grid-template-columns: 1fr; } }

/* Round 7: the checked conversations for VVB print on their own, never with the rest of the analyst page. */
@media print {
  body[data-print="vvb"].analyst-page #app > :not(#vvb-read) { display: none !important; }
  body[data-print="vvb"].analyst-page #app > #vvb-read { display: block !important; }
  body[data-print="vvb"] #vvb-read .vvb-item:not(.is-checked) { display: none !important; }
  body[data-print="vvb"] #vvb-read .vvb-print { break-inside: avoid; margin-top: var(--space-6); }
  body[data-print="vvb"] #vvb-read .vvb-print .text { white-space: pre-wrap; }
  body:not([data-print="vvb"]) #vvb-read { display: none !important; }
}

/* Round 7 (Claude Design, 22 September 2026): shared chrome, spacing, buttons, the live conversation shared by
   participant and leadership, start choice, sound check, thank-you, note and share. Only tokens; no inline styles. */
button, .button { gap: var(--space-2); }
button svg, .button svg { width: 18px; height: 18px; flex-shrink: 0; }
button.soft-outline { border-color: var(--line); color: var(--body); font-weight: var(--weight-regular); }
button.danger-text { color: var(--danger); border-color: var(--line); }
button.icon { width: 44px; padding: 0; }
a.brand { color: var(--ink); text-decoration: none; }
.brand .brand-sub { border: 0; padding: 0; font-weight: var(--weight-regular); }
.badge { color: var(--ink); }
.meta { letter-spacing: .02em; }
h2.card-title, h3.card-title { letter-spacing: normal; }
.talk-card button, .answers button, .talk-foot button, .record-row button, .record-status button, .note-actions button, .shared-item button, .perm ~ .actions button, .tone-row button { white-space: nowrap; }
.brand img { flex-shrink: 0; }
.step.is-done .step-index { border-color: var(--mint-graphic); color: var(--mint-graphic); }
.step.is-done .step-index svg { width: 14px; height: 14px; }
.rail-note { display: grid; gap: var(--space-4); }
.rail-note p + p { margin-top: 0; }
.page-heading { margin-bottom: var(--space-8); }
.page-heading > p { margin-top: var(--space-2); }
.page-heading > p + p { margin-top: var(--space-4); }
.page-heading:has(> .hero) { margin-bottom: var(--space-12); }
.page-heading > .intro-lead { margin-top: var(--space-4); }
.card-head.is-stacked { display: grid; gap: var(--space-2); margin-bottom: var(--space-6); justify-content: normal; align-items: normal; }
.card-head.is-stacked > p { max-width: 62ch; }
.actions { margin-top: var(--space-6); }
.content > .actions { margin-top: var(--space-8); }
.card-head.is-stacked + .actions { margin-top: 0; }
.form-group > label:not(.check), .label { color: var(--ink); font-weight: var(--weight-medium); display: block; }
textarea[rows] { min-height: 0; padding: var(--space-3) var(--space-4); }
.promise-list { margin: var(--space-2) 0 0; padding-left: 20px; display: grid; gap: var(--space-2); }
.footnote { max-width: 66ch; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Progress: label and time on one row, a segment per topic (four) or part (ten). */
.progress { display: grid; gap: var(--space-3); margin-bottom: var(--space-6); padding-bottom: 0; border-bottom: 0; justify-content: normal; align-items: normal; }
.progress-row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4); }
.progress-row .meta { color: var(--mint-text); text-transform: uppercase; }
.progress-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-1); }
.progress-track.ten { grid-template-columns: repeat(10, minmax(0, 1fr)); }
.progress-track i { display: block; height: 4px; border-radius: 2px; background: var(--meter-off); }
.progress-track i.done { background: var(--mint-graphic); }
.progress-track i.now { background: var(--primary); }
/* The live conversation card. */
.talk-status { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; }
.talk-state { display: flex; align-items: center; gap: var(--space-3); min-width: 0; }
.talk-state p { font-size: var(--type-card); line-height: 1.35; font-weight: var(--weight-strong); color: var(--ink); }
.state-icon { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; background: var(--subtle); color: var(--muted); }
.state-icon svg { width: 16px; height: 16px; }
.state-icon.is-speaking { background: var(--mint-soft); color: var(--mint-graphic); }
.state-icon.is-turn { background: var(--primary); color: var(--canvas); }
.state-icon.is-starting { background: var(--subtle); color: var(--control); }
.state-icon.is-error { color: var(--danger); }
.wave { display: inline-flex; align-items: center; gap: 2px; height: 16px; }
.wave i { display: block; width: 2px; height: 6px; border-radius: 1px; background: currentColor; }
.wave i:nth-child(2) { height: 12px; }
.wave i:nth-child(3) { height: 16px; }
.wave i:nth-child(4) { height: 10px; }
.wave i:nth-child(5) { height: 14px; }
.wave i:nth-child(6) { height: 8px; }
.level-meter { display: inline-flex; align-items: center; gap: var(--space-3); }
.level-meter .meta { white-space: nowrap; }
.level-bars { display: inline-flex; align-items: center; gap: 3px; height: 16px; }
.level-bars i { display: block; width: 4px; height: 16px; border-radius: 2px; background: var(--meter-off); }
.level-bars i.on { background: var(--mint-graphic); }
.level-meter.is-off .level-bars i { background: var(--subtle); border: 1px solid var(--line); }
.question-panel { margin-top: var(--space-6); padding-top: var(--space-6); border-top: 1px solid var(--line); }
.question-closed { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); }
.question-open { background: var(--subtle); border-radius: var(--radius-control); padding: var(--space-4) 20px; display: grid; gap: var(--space-2); }
.question-open .row { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); }
.question-open .question-text { font-size: var(--type-subhead); line-height: 1.3; font-weight: var(--weight-strong); color: var(--ink); max-width: 40ch; }
.question-open .known-block { margin: 0 0 var(--space-2); }
.interrupt { margin-top: var(--space-4); display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; }
.talk-controls { margin-top: var(--space-6); padding-top: var(--space-6); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: var(--space-3); }
.talk-card > .error, .talk-card > .actions { margin-top: var(--space-4); }
.answers { margin-top: var(--space-8); }
.answers-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4); margin-bottom: var(--space-3); }
.answer-list { display: grid; gap: var(--space-3); }
.answer-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius-card); padding: var(--space-4) 64px var(--space-4) 20px; background: var(--canvas); }
.answer-card .answer-q { font-size: var(--type-meta); line-height: 1.45; font-weight: var(--weight-medium); color: var(--muted); }
.answer-card .answer-q + .answer-text { margin-top: var(--space-2); }
.answer-card .answer-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.answer-card .answer-edit { position: absolute; top: var(--space-2); right: var(--space-2); }
.answer-card.is-live { border-style: dashed; background: var(--surface-muted); }
.answer-card.is-editing { padding-right: 20px; }
.answer-card.is-editing textarea { margin-top: var(--space-3); min-height: 88px; }
.answer-card .actions { margin-top: var(--space-3); }
.talk-foot { margin-top: var(--space-8); padding-top: var(--space-6); border-top: 1px solid var(--line); display: flex; gap: var(--space-3); flex-wrap: wrap; }
.typed-form { margin-top: var(--space-6); padding-top: var(--space-6); border-top: 1px solid var(--line); }
.count-row { display: flex; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-2); }
/* Start: talking or typing. The real radio stays in the label for keyboard and screen reader. */
.mode-choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); border: 0; padding: 0; margin: 0; min-width: 0; }
.mode-option { position: relative; display: grid; gap: var(--space-2); align-content: start; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-card); min-height: 44px; cursor: pointer; font-weight: var(--weight-regular); }
.mode-option:has(input:checked) { border: 2px solid var(--primary); padding: 19px; }
.mode-option:has(input:focus-visible) { outline: 2px solid var(--primary); outline-offset: 2px; }
.mode-option input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.mode-option .top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.mode-icon { width: 40px; height: 40px; border-radius: var(--radius-control); display: grid; place-items: center; background: var(--subtle); color: var(--ink); }
.mode-icon svg { width: 20px; height: 20px; }
.radio { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--control); display: grid; place-items: center; }
.mode-option:has(input:checked) .radio { border-color: var(--primary); }
.mode-option:has(input:checked) .radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); }
.mode-help { margin-top: var(--space-4); }
.choice-card-title { margin-bottom: var(--space-4); }
.card.context-choice { margin-top: var(--space-8); }
/* Sound check: where the browser asks, per device, and help when the microphone is blocked. */
.perm { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: var(--space-6); align-items: center; }
.perm-sketch { width: 136px; height: 96px; color: var(--control); }
.perm-sketch .fill-soft { fill: var(--mint-soft); stroke: var(--mint-graphic); }
.perm-sketch .fill-mint { fill: var(--mint-graphic); }
.perm-sketch .fill-ink { fill: var(--primary); }
.perm-steps { display: grid; gap: var(--space-4); }
.card .divider.plain { border-top: 1px solid var(--line); margin: var(--space-6) 0; }
.blocked { border: 1px solid var(--line); border-left: 3px solid var(--danger); border-radius: var(--radius-control); padding: var(--space-4) 20px; display: grid; gap: var(--space-3); }
.blocked ol { margin: 0; padding-left: 20px; display: grid; gap: var(--space-2); }
.tone-row { margin-top: var(--space-4); }
.actions + .help.tone-help { margin-top: var(--space-2); }
/* Thank-you and notes: speaking in, the recording with its countdown, saving the page. */
.record-row { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; }
.record-button.is-recording { border-color: var(--ink); color: var(--ink); }
.rec-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mint-graphic); box-shadow: 0 0 0 4px var(--mint-soft); }
.record-status { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; padding: var(--space-2) var(--space-3); border-radius: var(--radius-control); background: var(--subtle); }
.record-time { font-family: 'Geist Mono', monospace; font-size: var(--type-meta); color: var(--ink); }
.field { display: grid; gap: var(--space-3); }
.field + .field { margin-top: var(--space-6); }
.feedback-q + .feedback-q { padding-top: var(--space-6); border-top: 1px solid var(--line); }
.shared-list { list-style: none; margin: 0; padding: 0; display: grid; }
.shared-item { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: var(--space-4) 0; border-top: 1px solid var(--line); }
.shared-item:first-child { border-top: 0; padding-top: 0; }
.shared-item > div { min-width: 0; }
.shared-item .meta-line { margin-top: var(--space-1); color: var(--muted); overflow-wrap: anywhere; }
.shared-list > li > .card.confirm { margin: var(--space-4) 0; }
.list-help { margin-top: var(--space-4); }
.save-hint { margin-top: var(--space-4); padding: var(--space-3) var(--space-4); border-radius: var(--radius-control); background: var(--canvas); border: 1px solid var(--line); }
kbd { font-family: 'Geist Mono', monospace; font-size: var(--type-meta); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 4px; padding: 1px 6px; background: var(--canvas); }
.note-actions { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); flex-wrap: wrap; margin-top: var(--space-6); padding-top: var(--space-6); border-top: 1px solid var(--line); }
.note-actions .group { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.note-context { display: grid; gap: var(--space-4); padding-bottom: var(--space-6); margin-bottom: var(--space-6); border-bottom: 1px solid var(--line); }
.note-context .history-item { padding: 0; border: 0; }
.note-context .history-item p { margin-top: var(--space-1); }
.done-check { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--mint-soft); color: var(--mint-graphic); margin-bottom: var(--space-4); }
.done-check svg { width: 20px; height: 20px; }
.card form > .error-text { margin-top: var(--space-3); }
/* Share: the question above every point, the separate opt-in for VVB, the consent sentence. */
.preview-section .card-title { margin-bottom: var(--space-3); }
.preview-section .point-list { list-style: none; margin: 0; padding: 0; }
.point-block { display: grid; gap: var(--space-1); padding-left: var(--space-4); border-left: 2px solid var(--line); }
.point-block + .point-block { margin-top: var(--space-4); }
.point-block > span { display: block; }
.point-question { font-size: var(--type-meta); line-height: 1.45; font-weight: var(--weight-medium); color: var(--muted); }
.optin { border: 1px solid var(--control); border-radius: var(--radius-card); padding: 20px var(--space-6); }
.optin .check { align-items: flex-start; font-weight: var(--weight-medium); color: var(--ink); }
.optin .check input { margin: 2px 0 0; }
.optin .optin-body { margin: var(--space-2) 0 0 var(--space-8); display: grid; gap: var(--space-2); max-width: 62ch; }
.card .consent-text { margin-top: var(--space-2); color: var(--body); max-width: none; }
.content > .more { margin-top: var(--space-8); }
@media (max-width: 640px) {
  .rail-label, .rail-note { display: none; }
  .masthead { min-height: 72px; height: 72px; gap: var(--space-6); }
  .rail { padding: var(--space-3) var(--space-4); }
  h1 { font-size: var(--type-section); line-height: 1.25; }
  .hero { font-size: var(--type-title); }
  .card { padding: 20px; }
  .talk-controls { display: grid; grid-template-columns: 1fr 1fr; }
  .talk-controls button { width: 100%; }
  .talk-controls .wide { grid-column: 1 / -1; }
  .talk-status { display: grid; gap: var(--space-3); }
  .question-closed { display: grid; gap: var(--space-3); }
  .question-closed button { width: 100%; }
  .mode-choice { grid-template-columns: 1fr; }
  .perm { grid-template-columns: 1fr; gap: var(--space-4); }
  .note-actions, .note-actions .group { display: grid; grid-template-columns: 1fr; }
  .note-actions button { width: 100%; }
  .shared-item { display: grid; gap: var(--space-3); }
  .shared-item button { width: 100%; }
  .optin { padding: var(--space-4); }
  .optin .optin-body { margin-left: 0; }
  .talk-foot { display: grid; }
}
@media (max-width: 360px) { .talk-controls { grid-template-columns: 1fr; } .talk-card button, .record-status button, .note-actions button, .shared-item button { white-space: normal; } }
.page-heading.is-spacious { margin-bottom: var(--space-12); }
.actions.page-actions { margin-top: var(--space-8); }
.card > .actions:first-child { margin-top: 0; }
.stack > .notice { margin-bottom: 0; }
/* Confirmation dialog (design canvas "Interview Window dialogen"): a centred sheet on desktop, a bottom
   sheet on a phone. It lives in the body, outside #app, so a re-render never removes an open dialog. */
body.has-dialog { overflow: hidden; }
.dialog-backdrop { position: fixed; inset: 0; z-index: 100; background: var(--scrim); display: flex; align-items: center; justify-content: center; padding: var(--space-6); }
.dialog { width: 100%; max-width: 480px; max-height: calc(100vh - var(--space-12)); overflow: auto; background: var(--canvas); border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: var(--shadow-dialog); padding: var(--space-8); display: flex; flex-direction: column; gap: var(--space-6); }
.dialog-head { display: flex; flex-direction: column; gap: var(--space-3); }
.dialog-title { margin: 0; font-size: var(--type-subhead); font-weight: var(--weight-strong); line-height: 1.3; letter-spacing: -.02em; color: var(--ink); }
.dialog-body { margin: 0; color: var(--body); }
.dialog-facts { margin: 0; padding: var(--space-3) var(--space-4); list-style: none; background: var(--subtle); border-radius: var(--radius-control); display: flex; flex-direction: column; gap: var(--space-2); }
.dialog-facts li { display: flex; gap: var(--space-4); justify-content: space-between; }
.dialog-facts li span:first-child { color: var(--muted); }
.dialog-facts li span + span { color: var(--ink); font-weight: var(--weight-medium); text-align: right; overflow-wrap: anywhere; }
.dialog-points { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: var(--space-2); color: var(--muted); }
.dialog-actions { display: flex; flex-direction: row-reverse; justify-content: flex-start; gap: var(--space-3); margin: 0; }
@media (max-width: 640px) {
  .dialog-backdrop { align-items: flex-end; padding: 0; }
  .dialog { max-width: none; max-height: 90vh; border-width: 1px 0 0; border-radius: var(--radius-card) var(--radius-card) 0 0; box-shadow: var(--shadow-sheet); padding: var(--space-6) var(--space-4) var(--space-8); }
  .dialog-actions { display: grid; grid-template-columns: 1fr; }
}
@media print { .dialog-backdrop { display: none !important; } }
/* Mail block: the values the server fills in, above the two mail texts, and the warning that names a
   bracket or a placeholder the analyst still has to fix. */
input::placeholder { color: var(--muted); }
.filled-list { margin: 0; padding: var(--space-3) var(--space-4); background: var(--subtle); border-radius: var(--radius-control); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2) var(--space-4); }
.filled-list > div { display: flex; gap: var(--space-3); min-width: 0; }
.filled-list dt { color: var(--muted); font-family: 'Geist Mono', monospace; font-size: var(--type-meta); line-height: 21px; white-space: nowrap; }
.filled-list dd { margin: 0; color: var(--ink); min-width: 0; overflow-wrap: anywhere; }
.filled-list > div.wide { grid-column: 1 / -1; }
.filled-head { margin-bottom: var(--space-3); }
.notice.warn { background: var(--canvas); border-left-color: var(--danger); color: var(--danger); }
/* A warning may point at the field that is missing; that link sits in the sentence and keeps its 44 px. */
.notice.warn button.link-button { color: inherit; min-height: 44px; }
@media (max-width: 640px) { .filled-list { grid-template-columns: 1fr; } }

/* Round 9 (Claude Design, 22 September 2026, canvas "Interview Window analistenpagina"): the analyst
   workspace. A jump list beside the column, two ranks of headings back, neutral count tiles, the usage
   numbers on one row each and the shared conversations as a list. Tokens only; no new colours, no new
   type steps, and no handler, form, name or route touched. */
.analyst-page .content { max-width: 1168px; }
.analyst-page #app { display: grid; grid-template-columns: 200px minmax(0, 1fr); column-gap: var(--space-12); align-items: start; }
.analyst-page #app > * { grid-column: 2; min-width: 0; }
.analyst-page #app > .analyst-nav { grid-column: 1; grid-row: 1 / span 30; }
.analyst-nav-inner { position: sticky; top: var(--space-6); display: grid; gap: var(--space-1); }
.analyst-nav .meta { text-transform: uppercase; padding-left: var(--space-3); margin-bottom: var(--space-2); }
.analyst-nav-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-1); }
.analyst-nav-list a { display: flex; align-items: center; min-height: 44px; padding: var(--space-2) var(--space-3); border-left: 2px solid transparent; color: var(--muted); text-decoration: none; border-radius: 0 var(--radius-control) var(--radius-control) 0; }
.analyst-nav-list a:hover { background: var(--surface-muted); border-left-color: var(--mint-graphic); color: var(--ink); }
.analyst-page #app > section { scroll-margin-top: var(--space-6); }
/* Two ranks again: the title of a block is a subkop, a heading inside it stays a kaartkop. */
.analyst-page .card > .card-head > h2.card-title { font-size: var(--type-subhead); line-height: 1.3; }
.analyst-page .card + .card { margin-top: var(--space-8); }
.analyst-page .card > p.muted { max-width: 66ch; }
.analyst-page .analyst-org { max-width: 360px; }
/* The state of the round as separate facts instead of one line in mono. */
.key-facts { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.key-facts li { padding: var(--space-1) var(--space-3); background: var(--subtle); border-radius: 6px; font-size: var(--type-meta); font-weight: var(--weight-medium); line-height: 1.45; color: var(--ink); }
.key-facts li.is-ready { background: var(--mint-soft); }
.analyst-page .round-line { margin-top: 0; margin-bottom: var(--space-8); max-width: 66ch; }
/* Count tiles are neutral; mint is kept for one real state, a role with enough input of its own. */
.stat { display: grid; gap: var(--space-1); }
.stat strong { line-height: 1.3; }
.stat .stat-name { line-height: 1.5; }
.stat > .stat-state { display: flex; align-items: flex-start; gap: var(--space-2); }
.stat > .stat-state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--meter-off); margin-top: 5px; flex-shrink: 0; }
.stat.is-ready > .stat-state::before { background: var(--mint); }
/* Usage: key left, number right, a hairline per row, two columns on a wide screen. */
.usage-group + .usage-group { margin-top: var(--space-8); }
.usage-group > .card-title { margin-bottom: var(--space-3); }
.usage-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-12); margin: 0; }
.usage-list > div { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); padding: var(--space-3) 0; border-top: 1px solid var(--line); }
.usage-list dt { min-width: 0; }
.usage-list dd { margin: 0; font-family: 'Geist Mono', monospace; font-size: var(--type-meta); font-weight: var(--weight-medium); color: var(--ink); white-space: nowrap; }
.usage-list > div.wide { grid-column: 1 / -1; }
/* Mono is for aligned numbers; a value in words stays in the reading font. */
.usage-list dd.is-text { font-family: inherit; font-size: var(--type-body); font-weight: var(--weight-regular); white-space: normal; text-align: right; }
/* The folded parts of a block read as a list of rows with their own chevron. */
.analyst-page .card > :not(details.more) + details.more:not(.report-about) { margin-top: var(--space-8); }
.analyst-page .card > details.more:not(.report-about) { margin-top: 0; border-top: 1px solid var(--line); }
.analyst-page .card > details.more:not(.report-about) > summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-4) 0; color: var(--ink); list-style: none; }
.analyst-page .card > details.more:not(.report-about) > summary::-webkit-details-marker { display: none; }
.analyst-page .card > details.more:not(.report-about) > summary::after { content: ""; width: 8px; height: 8px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(-45deg); flex-shrink: 0; margin-right: 3px; transition: transform 140ms ease; }
.analyst-page .card > details.more[open]:not(.report-about) > summary::after { transform: rotate(45deg); margin-top: -4px; margin-right: 0; }
.analyst-page .card > details.more[open]:not(.report-about) { padding-bottom: var(--space-4); }
/* One conversation is one row: the role and its facts above, the opening sentence quietly below. */
.analyst-page .card > :not(details.contribution) + details.contribution { margin-top: var(--space-4); }
.analyst-page .card > details.contribution { margin-top: 0; border-top: 1px solid var(--line); }
.contribution > summary { display: flex; align-items: flex-start; gap: var(--space-4); padding: var(--space-4) 0; font-weight: var(--weight-regular); list-style: none; }
.contribution > summary::-webkit-details-marker { display: none; }
.contribution > summary::before { content: ""; width: 8px; height: 8px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(-45deg); flex-shrink: 0; margin-top: 6px; transition: transform 140ms ease; }
.contribution[open] > summary::before { transform: rotate(45deg); margin-top: 3px; }
.contribution-row { min-width: 0; flex-grow: 1; display: grid; gap: var(--space-1); }
.contribution-head { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-3); }
.contribution-role { font-weight: var(--weight-medium); color: var(--ink); }
.contribution summary .preview-line { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 1079px) {
  .analyst-page .content { max-width: 920px; }
  .analyst-page #app { display: block; }
  .analyst-nav { margin-bottom: var(--space-8); padding-top: var(--space-4); border-top: 1px solid var(--line); }
  .analyst-nav-inner { position: static; }
  .analyst-nav-list { display: flex; flex-wrap: wrap; gap: var(--space-2); }
  .analyst-nav-list a { min-height: 44px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface-muted); color: var(--ink); font-size: var(--type-meta); font-weight: var(--weight-medium); }
  .analyst-nav-list a:hover { border-color: var(--mint-graphic); }
}
@media (max-width: 640px) {
  .analyst-page .card + .card { margin-top: var(--space-6); }
  .usage-list { grid-template-columns: 1fr; }
  .usage-list dd.is-text { text-align: left; }
}
@media print {
  .analyst-page .content { max-width: none; }
  .analyst-page #app { display: block; }
}
