@font-face { font-family: 'Open Sans'; src: url('/assets/open-sans.woff2'); font-display: swap; }
@font-face { font-family: 'Open Sans'; src: url('/assets/open-sans-semibold.woff2'); font-weight: 600 800; font-display: swap; }
:root { font-family: 'Open Sans', Arial, sans-serif; color: #1c1c1c; background: #f5f7f9; --navy: #073854; --muted: #5b5b66; --line: #dce3e9; color-scheme: light; }
* { box-sizing: border-box; scrollbar-color: #a2b3c0 #f5f7f9; scrollbar-width: thin; }
body { margin: 0; font-size: 14px; }
button, textarea { font: inherit; }
button { cursor: pointer; border: 1px solid transparent; border-radius: 6px; padding: 11px 16px; min-height: 44px; background: var(--navy); color: white; font-weight: 600; }
button:hover { background: #0b5280; }
button:disabled { cursor: not-allowed; background: #e5e9ed; color: #596571; border-color: #dce3e9; }
button.secondary { color: var(--navy); border-color: #bac9d3; background: white; }
button.secondary:hover:not(:disabled) { background: #edf4f9; }
button.secondary:disabled { color: #677681; background: #f5f7f9; }
a { color: var(--navy); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid #137ac0; outline-offset: 3px; }
::selection { background: #dceafa; color: var(--navy); }
.skip { position: fixed; top: -80px; left: 16px; z-index: 5; background: white; padding: 12px; }
.skip:focus { top: 8px; }
[hidden] { display: none !important; }
.workshop { display: flex; justify-content: space-between; gap: 18px; padding: 9px 30px; background: #090936; color: #edf0ff; font-size: 12px; }
header { display: flex; align-items: center; gap: 24px; padding: 8px 30px; background: var(--navy); color: white; }
header span { margin-left: auto; color: #c6deeb; font-size: 12px; }
.header-button { border-color: #91b4c9; padding: 8px 13px; }
main { max-width: 1260px; padding: 20px 30px 40px; margin: auto; }
h1, h2, h3 { color: var(--navy); text-wrap: balance; }
h1 { font-size: clamp(25px, 2.4vw, 32px); letter-spacing: -.025em; margin: 0 0 8px; }
h2 { font-size: 20px; margin: 0; }
h3 { font-size: 12px; font-weight: 600; margin: 0 0 8px; }
p { line-height: 1.65; margin: 0 0 16px; max-width: 72ch; overflow-wrap: anywhere; }
.intro p, .muted, small { color: var(--muted); }
.steps { display: flex; gap: 24px; list-style: none; padding: 0; margin: 12px 0 20px; color: var(--muted); font-size: 12px; }
.steps li { flex: 1; padding: 10px 0; border-bottom: 2px solid var(--line); }
.steps [aria-current] { color: var(--navy); border-color: var(--navy); font-weight: 600; }
.columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 24px; align-items: start; }
.panel { border: 1px solid var(--line); border-radius: 12px; background: white; overflow: hidden; min-width: 0; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px 20px; border-bottom: 1px solid var(--line); }
.panel-heading span { font-size: 12px; color: #385265; text-align: right; }
.interview-body, #document { padding: 20px; }
.question { background: #edf4f9; border-radius: 9px; padding: 16px; margin: 16px 0; min-height: 112px; }
.question span { color: var(--navy); font-weight: 600; font-size: 12px; }
.question p { margin: 12px 0 0; font-size: 16px; }
.controls { display: flex; gap: 10px; flex-wrap: wrap; }
.text-button { color: var(--navy); background: none; text-decoration: underline; text-underline-offset: 4px; padding-left: 0; font-size: 12px; }
.text-button:hover { background: none; color: #0b5280; }
.notice { padding: 14px; background: #fff5e5; color: #71430b; border-radius: 6px; font-size: 13px; margin-top: 12px; }
form { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 16px; }
label { display: block; color: var(--navy); font-weight: 600; margin-bottom: 8px; }
textarea { display: block; width: 100%; min-height: 90px; resize: vertical; border: 1px solid #bac9d3; border-radius: 6px; padding: 12px; line-height: 1.6; color: #1c1c1c; caret-color: var(--navy); }
textarea::placeholder { color: #656e77; }
textarea:disabled { background: #f5f7f9; }
.form-footer { display: flex; gap: 16px; align-items: center; justify-content: space-between; margin-top: 12px; }
small { font-size: 12px; max-width: 28ch; }
details { margin-top: 24px; color: var(--muted); font-size: 12px; }
summary { cursor: pointer; color: var(--navy); padding: 8px 0; }
details p { margin-top: 12px; }
.metadata { font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--line); padding: 12px 0 16px; margin-bottom: 18px; }
#fields section { margin-bottom: 18px; break-inside: avoid; }
#fields p { white-space: pre-wrap; margin: 0; }
.missing { background: #fff5e5; color: #71430b; border-radius: 5px; padding: 8px 12px; }
.changed { animation: update 1.8s ease-out; }
@keyframes update { from { background: #dff0e7; } to { background: transparent; } }
.completion { color: var(--navy); font-size: 12px; font-weight: 600; }
.document-note { font-size: 12px; color: var(--muted); margin: 0; }
.review-controls { padding: 0 24px 24px; }
#review-prompt { margin-bottom: 22px; border-top: 1px solid var(--line); padding-top: 20px; }
.print-only { display: none; }
@media (prefers-reduced-motion: reduce) { .changed { animation: none; } }
@media (max-width: 760px) {
  .columns { grid-template-columns: 1fr; }
  main { padding: 24px 16px; } header, .workshop { padding: 12px 16px; flex-wrap: wrap; }
  header span { margin-left: 0; } .workshop span { font-size: 12px; }
  .steps { gap: 12px; } .panel-heading { padding: 18px; align-items: start; flex-direction: column; gap: 6px; } .interview-body, #document { padding: 20px; }
  .form-footer { align-items: start; flex-direction: column; } small { max-width: none; }
}
@media print {
  @page { size: A4; margin: 18mm; }
  body { background: white; font-size: 11pt; } .workshop, header, .intro, .steps, #interview, .review-controls, .panel-heading, .skip, .completion { display: none !important; }
  main, #document { margin: 0; padding: 0; max-width: none; } .columns { display: block; }
  .panel { border: 0; border-radius: 0; overflow: visible; } .print-only { display: block; font-weight: 600; }
  .changed { animation: none; } #fields section { break-inside: avoid; }
}
