/* Semantic palettes: dark is the first-paint default. */
:root { --canvas:#18191c; --surface:#222327; --raised:#2c2e34; --text:#f0f0f2; --muted:#b0b2bc; --border:#464952; --accent:#b3bfff; --on-accent:#1d2549; --danger:#ffb4ae; color-scheme:dark; }
:root[data-theme="light"] { --canvas:#f3f5f8; --surface:#ffffff; --raised:#e6edf2; --text:#172333; --muted:#526174; --border:#8190a2; --accent:#11685c; --on-accent:#ffffff; --danger:#b32a30; color-scheme:light; }
/* Base typography and palette. All fonts are available offline. */
:root {
  --green: var(--accent);
  --line: var(--border);

  --paper: var(--surface);
  background: var(--canvas);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
      'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
}

a {
  color: var(--green);
  text-underline-offset: 4px;
}

h1,
h2 {
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.2;
}

h1 {
  font-size: clamp(30px, 5vw, 42px);
  margin: 12px 0 18px;
}

h2 {
  font-size: 26px;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

h2[tabindex='-1']:focus {
  outline: none;
}

/* Shared page layout. */
header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: space-between;
  margin: auto;
  max-width: 1080px;
  padding: 26px 32px;
}

.brand {
  font-size: 27px;
  font-weight: 650;
  letter-spacing: -.02em;
  text-decoration: none;
}

.brand span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

nav a {
  border-bottom: 2px solid transparent;
  font-size: 14px;
  padding: 6px 0;
  text-decoration: none;
}

nav a[aria-current='page'] {
  border-color: var(--green);
  font-weight: 650;
}

main {
  margin: 44px auto;
  max-width: 840px;
  padding: 0 24px;
}

.intro {
  margin-bottom: 36px;
  max-width: 660px;
}

.intro > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}

.eyebrow {
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 2px;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 22px;
  padding: 28px;
}

.narrow {
  max-width: 480px;
}

.muted,
footer {
  color: var(--muted);
  font-size: 14px;
}

.preserve {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.badge {
  background: var(--raised);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  padding: 5px 10px;
  white-space: nowrap;
}

footer {
  border-top: 1px solid var(--line);
  margin: auto;
  max-width: 840px;
  padding: 20px 24px 40px;
}

footer form {
  margin-top: 20px;
}

footer form p {
  font-size: 12px;
}

/* Shared form elements. */
label {
  display: block;
  font-size: 14px;
  font-weight: 550;
  margin-bottom: 18px;
}

input,
select,
textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  display: block;
  font: inherit;
  line-height: 1.5;
  margin-top: 7px;
  padding: 12px;
  width: 100%;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.check {
  align-items: center;
  display: flex;
  gap: 10px;
}

.check input {
  width: auto;
}

button,
.button {
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: 8px;
  color: var(--on-accent);
  cursor: pointer;
  display: inline-block;
  font: inherit;
  min-height: 46px;
  padding: 12px 20px;
  text-decoration: none;
}

button:disabled {
  cursor: wait;
  opacity: .55;
}

.quiet {
  background: transparent;
  border-color: var(--line);
  color: var(--green);
}

.text-button {
  background: transparent;
  border: 0;
  color: var(--green);
  padding: 8px 0;
}

summary {
  color: var(--muted);
  cursor: pointer;
}

.filters {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.filters label {
  flex: 1;
  margin: 0;
  min-width: 130px;
}

/* Notice: choose, choose, save. */
.notice-intro {
  margin-bottom: 26px;
}

.flow-progress {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0 0 22px;
  padding: 0 4px;
}

.flow-progress li {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 13px;
  gap: 8px;
}

.flow-progress span {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-flex;
  height: 26px;
  justify-content: center;
  width: 26px;
}

.flow-progress [aria-current='step'] {
  color: var(--green);
  font-weight: 650;
}

.flow-progress [aria-current='step'] span {
  background: var(--green);
  border-color: var(--green);
  color: var(--on-accent);
}

.notice-card {
  padding: 32px;
}

.notice-card h2 {
  margin: 12px 0;
}

.notice-card .text-button {
  font-size: 14px;
  margin-bottom: 8px;
}

.pattern-options {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 26px;
}

.choice {
  align-items: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--green);
  display: flex;
  gap: 16px;
  padding: 20px;
  text-align: left;
  transition: background .15s, border-color .15s;
  width: 100%;
}

.choice:hover,
.choice[aria-pressed='true'] {
  background: var(--raised);
  border-color: var(--green);
}

.pattern-choice {
  font-weight: 550;
  min-height: 82px;
}

.timing-options {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.choice strong,
.choice small {
  display: block;
}

.choice small {
  color: var(--muted);
  font-size: 13px;
  margin-top: 3px;
}

.choice-symbol {
  align-items: center;
  background: var(--raised);
  border-radius: 50%;
  display: inline-flex;
  flex-shrink: 0;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.choice-arrow {
  margin-left: auto;
}

.observation-summary {
  background: var(--raised);
  border-radius: 12px;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
  margin: 26px 0;
  padding: 20px;
}

.summary-choice {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--green);
  padding: 0;
  text-align: left;
}

.summary-choice small,
.summary-choice strong {
  display: block;
}

.summary-choice small {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 6px;
}

.notice-card details {
  border-top: 1px solid var(--line);
  margin: 0 0 24px;
  padding-top: 18px;
}

.notice-card summary {
  font-size: 14px;
}

.notice-card summary span {
  font-size: 12px;
  margin-left: 8px;
}

.optional-fields {
  padding-top: 22px;
}

.optional-fields label {
  margin-bottom: 0;
}

.optional-fields input,
.optional-fields textarea {
  margin-bottom: 18px;
}

.primary-action {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.save-hint {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 0;
  text-align: center;
}

.error-message {
  color: var(--danger);
  font-size: 14px;
}

.error-message:empty {
  display: none;
}

.saved-card {
  padding: 40px 28px;
  text-align: center;
}

.saved-mark {
  align-items: center;
  background: var(--raised);
  border-radius: 50%;
  display: flex;
  font-size: 24px;
  height: 60px;
  justify-content: center;
  margin: 0 auto 22px;
  width: 60px;
}

.saved-card a {
  display: block;
  font-size: 14px;
  margin-top: 18px;
}

.device-queue {
  background: transparent;
  padding: 20px 24px;
}

.device-queue summary {
  font-size: 14px;
}

.device-queue .badge {
  margin-left: 8px;
}

.queue-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pending-item {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}

.pending-item p {
  font-size: 14px;
  overflow-wrap: anywhere;
}

.pending-item button {
  font-size: 13px;
  margin-right: 8px;
  padding: 8px 12px;
}

.sync-status {
  color: var(--muted);
  font-size: 13px;
  padding: 0 4px;
}

/* Reviews and narrow viewports. */
.review-row {
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 100px 80px;
  padding: 20px 0;
}

@media (max-width: 600px) {
  header {
    padding: 18px 22px;
  }

  nav {
    gap: 16px;
  }

  main {
    margin-top: 28px;
    padding: 0 18px;
  }

  .card {
    padding: 22px;
  }

  .flow-progress {
    gap: 20px;
  }

  .pattern-options {
    grid-template-columns: 1fr;
  }

  .pattern-choice {
    min-height: 64px;
  }

  .observation-summary {
    grid-template-columns: 1fr;
  }

  .review-row {
    grid-template-columns: 1fr 70px 60px;
  }

  button {
    max-width: 100%;
  }

  footer {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .choice {
    transition: none;
  }
}

/* The Notice workspace: a consistent column, calm choices, clear actions. */
.skip-link {
  background: var(--paper);
  left: 16px;
  padding: 12px 20px;
  position: absolute;
  top: -100px;
  z-index: 10;
}

.skip-link:focus {
  top: 12px;
}

.notice-layout {
  margin-inline: auto;
  max-width: 680px;
}

.notice-intro > p:not(.eyebrow),
.step-intro {
  color: var(--muted);
  max-width: 58ch;
}

.notice-card h1 {
  font-size: clamp(28px, 4.5vw, 36px);
}

.step-body {
  margin-top: 28px;
}

.section-label {
  font-size: 18px;
  letter-spacing: -.02em;
  margin-top: 0;
}

.flow-progress {
  flex-wrap: wrap;
  gap: 12px 18px;
}

.flow-progress li {
  font-size: 12px;
}

.flow-actions,
.action-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.configuration-actions,
.secondary-actions {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 18px;
}

.save-actions {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 24px;
}

.notice-card .pattern-options {
  margin-top: 16px;
}

.pattern-choice {
  font-weight: 550;
  min-height: 76px;
}

.choice,
.pattern-list,
main p,
main h1,
main h2,
main dd,
main dt {
  overflow-wrap: anywhere;
}

.form-field {
  margin-bottom: 22px;
  min-width: 0;
}

.form-field label {
  margin-bottom: 0;
}

input,
select,
textarea {
  font-size: 16px;
  min-width: 0;
}

.required-label,
.field-hint {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.field-hint,
.field-error {
  margin: 6px 0 0;
}

.field-hint:empty {
  display: none;
}

[aria-invalid='true'] {
  border-color: var(--danger);
}

button:disabled {
  cursor: default;
}

.previous-answers {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 24px;
}

.previous-answers h2,
.answer-summary h2,
.event-time h2 {
  font-size: 19px;
  letter-spacing: -.02em;
  margin-bottom: 8px;
}

.answer-options {
  display: grid;
  gap: 10px;
}

.answer-choice {
  min-height: 48px;
  padding: 12px 16px;
}

.primary-action {
  justify-content: center;
}

.timing-options {
  margin-top: 0;
}

.timing-choice {
  padding: 18px 20px;
}

.selected-label {
  font-size: 12px;
  margin-left: auto;
}

.observation-summary {
  margin-top: 0;
}

.observation-summary dt {
  color: var(--muted);
  font-size: 12px;
}

.observation-summary dd {
  font-size: 18px;
  font-weight: 550;
  margin: 4px 0;
}

.observation-summary .text-button {
  font-size: 13px;
  margin: 4px 0 0;
  min-height: 36px;
  padding: 4px 0;
}

.answer-summary {
  margin: 24px 0;
}

.optional-fields .form-field label,
.optional-fields .form-field textarea,
.optional-fields .form-field input {
  margin-bottom: 0;
}

.notice-card details {
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.notice-card summary {
  min-height: 32px;
}

.event-time {
  margin-top: 24px;
}

.event-time .text-button {
  margin-bottom: 0;
}

.draft-banner,
.draft-note {
  background: var(--raised);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 22px;
  padding: 18px 20px;
}

.draft-banner p {
  margin: 6px 0 14px;
}

.draft-note {
  font-size: 14px;
}

.saved-card .flow-actions {
  justify-content: center;
  margin-top: 28px;
}

.pattern-group {
  margin-top: 28px;
}

.pattern-list {
  list-style: none;
  padding: 0;
}

.pattern-list li {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 8px;
  padding: 16px 0;
}

.pattern-manage-button {
  text-align: left;
}

.question-editor {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 22px 0;
  min-width: 0;
  padding: 18px;
}

.question-editor legend {
  font-size: 14px;
  padding: 0 8px;
}

.question-actions button {
  font-size: 13px;
  padding: 10px 12px;
}

.archive-control {
  margin-top: 28px;
}

footer a[aria-current='page'] {
  font-weight: 650;
}

.page-intro {
  margin-bottom: 28px;
}

.filters .form-field {
  flex: 1;
  margin: 0;
  min-width: 140px;
}

.journal-entry {
  margin-top: 22px;
}

.journal-entry .answer-summary dt {
  font-size: 13px;
  margin-top: 16px;
}

.journal-entry .answer-summary dd {
  margin: 4px 0 16px;
}

.empty-state {
  border: 1px dashed var(--line);
  border-radius: 12px;
  margin-top: 22px;
  padding: 24px;
}

.review-table {
  border-collapse: collapse;
  margin: 22px 0;
  width: 100%;
}

.review-table th,
.review-table td {
  border-bottom: 1px solid var(--line);
  padding: 16px 8px;
  text-align: left;
  vertical-align: top;
}

.review-table small {
  color: var(--muted);
  display: block;
  font-weight: 400;
}

.replacement-review {
  background: var(--raised);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-top: 22px;
  padding: 20px;
}

.danger {
  border-color: var(--danger);
  color: var(--danger);
}

@media (max-width: 600px) {
  .notice-card {
    padding: 22px 20px;
  }

  .flow-progress {
    gap: 8px 12px;
  }

  .flow-progress span {
    height: 22px;
    width: 22px;
  }

  .save-actions > button:first-child {
    width: 100%;
  }

  .timing-choice {
    padding: 16px;
  }

  .review-table {
    font-size: 14px;
  }

  .review-table th,
  .review-table td {
    padding: 12px 4px;
  }
}

/* Recording workspace */
body { min-height:100dvh; }
header { padding:16px 20px; background:var(--canvas); }
.brand { font-size:22px; }
.brand span { font-size:12px; }
main { margin:28px auto; padding:0 16px; }
h1,.notice-card h1 { font-size:clamp(24px,4vw,30px); }
h2 { font-size:20px; }
.card { border-radius:12px; padding:24px; }
.notice-layout { max-width:640px; }
button,.button,input,select,textarea { border-radius:10px; min-height:48px; }
button,.button { font-weight:600; }
.choice { background:var(--surface); padding:16px; }
.choice:hover,.choice[aria-pressed="true"] { background:var(--raised); border-color:var(--accent); }
.pattern-choice { min-height:64px; }
.intensity-choice { min-height:64px; }
.intensity-number { display:grid; place-items:center; border:1px solid var(--border); border-radius:8px; width:36px; height:36px; font-weight:700; }
.intensity-choice[aria-pressed="true"] .intensity-number { background:var(--accent); color:var(--on-accent); }
input,select,textarea { color:var(--text); background:var(--canvas); }
:focus-visible { outline:3px solid var(--accent); outline-offset:3px; }
nav a { min-height:48px; display:flex; align-items:center; justify-content:center; }
footer { font-size:12px; }
@media(max-width:1023px) {
 body { padding-bottom:calc(80px + env(safe-area-inset-bottom)); }
 header nav { position:fixed; z-index:20; bottom:0; left:0; right:0; display:grid; grid-template-columns:repeat(4,1fr); gap:0; background:var(--surface); border-top:1px solid var(--border); padding:8px 8px calc(8px + env(safe-area-inset-bottom)); }
 nav a { font-size:13px; border-radius:8px; }
 nav a[aria-current="page"] { background:var(--raised); color:var(--accent); border-bottom-color:transparent; }
 .pattern-options { grid-template-columns:1fr; }
 .flow-progress { gap:8px; flex-wrap:wrap; }
 .flow-progress li { font-size:11px; gap:4px; }
 .flow-progress span { width:22px; height:22px; }
 .notice-card { padding:20px 16px; }
 .save-actions > button:first-child { width:100%; }
}
@media(min-width:1024px) {
 body { padding-left:224px; }
 header { position:fixed; left:0; top:0; bottom:0; width:224px; flex-direction:column; justify-content:flex-start; align-items:stretch; border-right:1px solid var(--border); border-bottom:0; padding:28px 20px; }
 header nav { flex-direction:column; gap:8px; margin-top:24px; }
 nav a { justify-content:flex-start; padding:12px 16px; border:0; border-radius:8px; }
 nav a[aria-current="page"] { background:var(--raised); color:var(--accent); }
 main { margin:40px auto; }
}

@media (forced-colors:active) {
 .choice[aria-pressed="true"],nav a[aria-current="page"] { outline:2px solid Highlight; }
}

nav svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.7; flex-shrink:0; }
.mobile-stage { display:none; color:var(--muted); font-size:13px; }
.journal-filter-panel { padding:16px; margin:16px 0; border:1px solid var(--border); border-radius:10px; background:var(--surface); }
.journal-filter-panel[open] summary { margin-bottom:16px; }
.entry-details { margin:16px 0; }
@media(max-width:1023px) { nav a { flex-direction:column; gap:3px; } .mobile-stage { display:block; } .flow-progress { height:4px; gap:4px; margin:0 0 20px; flex-wrap:nowrap; } .flow-progress li { flex:1; font-size:0; background:var(--border); border-radius:4px; } .flow-progress li[aria-current="step"] { background:var(--accent); } .flow-progress li span { display:none; } }
@media(min-width:1024px) { nav a { gap:12px; } }

/* Compact recording layout and stable navigation. */
main#app:focus, main h1[tabindex="-1"]:focus, main h2[tabindex="-1"]:focus { outline:none; }
.notice-card { border:0; background:transparent; padding:0; box-shadow:none; }
.notice-intro { margin-bottom:16px; }
.notice-intro h1 { margin:6px 0 10px; }
.step-body { margin-top:18px; }
.step-intro { margin:8px 0 0; }
.card { border-color:transparent; }
.choice { border-color:transparent; background:var(--surface); }
.choice:hover { border-color:var(--border); }
.choice[aria-pressed="true"] { border-color:var(--accent); }
input,select,textarea { border-color:var(--border); }
.flow-actions.secondary-actions,.configuration-actions,.save-actions,.previous-answers { border-top:0; margin-top:20px; padding-top:0; }
.previous-answers h2 { font-size:16px; }
.save-hint { text-align:left; margin:12px 0 0; }
footer { border-top:0; padding-top:8px; }
footer p:empty { display:none; }
header nav a,header nav a[aria-current="page"] { font-weight:600; border:0; box-sizing:border-box; }
header .brand { white-space:nowrap; flex-shrink:0; }
header nav a span { min-width:0; white-space:nowrap; }
@media(min-width:1024px) {
 header { margin:0; height:100dvh; width:224px; min-width:224px; padding:24px 16px; flex-wrap:nowrap; gap:0; }
 header nav { display:flex; width:100%; gap:6px; flex:0 0 auto; }
 header nav a { display:grid; grid-template-columns:22px minmax(0,1fr); gap:12px; justify-content:start; width:100%; padding:12px; font-size:14px; }
 header nav a svg { display:block; }
 .brand span { font-size:11px; }
}
@media(max-width:1023px) {
 header { padding:10px 16px; border:0; min-height:48px; }
 header .brand { font-size:20px; line-height:1.2; }
 header .brand span { display:none; }
 main { margin:12px auto 20px; padding:0 16px; }
 .notice-card { padding:0; }
 .notice-card h1,h1 { font-size:24px; margin:8px 0 12px; }
 .step-intro { font-size:14px; line-height:1.45; }
 .eyebrow { margin:8px 0; font-size:11px; letter-spacing:.08em; }
 .step-body { margin-top:16px; }
 .timing-options,.pattern-options { margin-top:12px; gap:8px; }
 .choice,.timing-choice { padding:12px 14px; min-height:56px; }
 .pattern-choice,.intensity-choice { min-height:56px; }
 .form-field { margin-bottom:14px; }
 .previous-answers { margin-top:18px; }
 .flow-progress { margin-bottom:12px; height:3px; }
 .mobile-stage { margin:4px 0 8px; font-size:12px; }
 .save-hint { font-size:11px; }
 header nav { padding:4px 8px calc(4px + env(safe-area-inset-bottom)); border:0; box-shadow:0 -1px 0 var(--border); }
 header nav a { display:grid; grid-template-columns:1fr; grid-template-rows:22px 16px; justify-items:center; align-content:center; gap:2px; min-height:52px; padding:4px; font-size:11px; }
 .observation-summary { padding:14px; margin:16px 0; gap:12px; }
 footer { margin-top:0; padding:8px 16px 16px; }
}

/* The recording task owns the viewport; long lists scroll within its content. */
.recorded-answers { margin:12px 0; }
.recorded-answers > div { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:12px; padding:6px 0; }
.recorded-answers dt { color:var(--muted); }
.recorded-answers dd { margin:0; overflow-wrap:anywhere; }
.event-time { margin:16px 0; }
.event-time[open] summary { margin-bottom:12px; }
.previous-answers:has(#answer-options:empty) { display:none; }
@media(max-width:1023px) {
 body:has(main.recording-view) { height:100dvh; min-height:0; overflow:hidden; padding:0; }
 body:has(main.recording-view) > header { height:0; min-height:0; padding:0; border:0; }
 body:has(main.recording-view) > header > .brand { display:none; }
 main.recording-view { height:calc(var(--recording-height, 100dvh) - 64px - env(safe-area-inset-bottom)); max-width:none; margin:0; padding:12px 16px; overflow:hidden; }
 .recording-view .notice-layout { height:100%; display:flex; flex-direction:column; min-height:0; }
 .recording-view .notice-card { display:flex; flex-direction:column; flex:1; min-height:0; margin:0; overflow:auto; overscroll-behavior:contain; }
 .recording-view .step-body { min-height:0; margin-top:12px; }
 .recording-view .eyebrow { margin:4px 0; }
 .recording-view h1 { margin:6px 0 10px; font-size:23px; }
 .recording-view .step-intro,.recording-view .save-hint { display:none; }
 .recording-view .observation-summary { margin:0 0 10px; padding:12px; }
 .recording-view .event-time { margin:12px 0; }
 .recording-view .save-actions { margin-top:12px; padding:8px 0; background:var(--canvas); position:sticky; bottom:0; }
 .recording-view .previous-answers { margin-top:12px; }
 .recording-view .previous-answers h2 { margin:0 0 8px; }
 .recording-view #answer-count { font-size:12px; margin:4px 0; }
 .recording-view .answer-options { gap:6px; }
 .recording-view .notice-intro { margin-bottom:8px; }
 .recording-view .draft-banner { padding:12px; margin:0 0 8px; }
 body:has(main.recording-view) > footer { display:none; }
}
