:root { color-scheme: light; font: 16px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #182c2a; background: #f3f6f5; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
main { width: min(100% - 2rem, 58rem); margin: 1.5rem auto 3rem; }
h1, h2, h3, p { margin: 0 0 .75rem; }
h1 { font-size: clamp(1.6rem, 5vw, 2.15rem); line-height: 1.2; }
h2 { font-size: 1.2rem; line-height: 1.3; }
h3 { font-size: 1rem; }
.page-header { margin: 0 0 1.25rem; }
.eyebrow { font-weight: 750; font-size: .85rem; letter-spacing: .1em; color: #17645a; }
.panel { margin: 0 0 1rem; padding: 1.25rem; background: #fff; border: 1px solid #cbd8d4; border-radius: .8rem; }
.identity { border-top: .35rem solid #17645a; }
.blocked { border-color: #9c5933; }
.hint, dt, .small { color: #435c56; font-size: .9rem; }
.notice { padding: .7rem .8rem; background: #eef5f2; border-left: .2rem solid #317062; border-radius: .2rem; }
.identity-grid, .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 1rem; }
.identity-grid { margin: 0 0 1rem; }
dt { font-weight: 650; }
dd { margin: .1rem 0 0; overflow-wrap: anywhere; }
code { font-size: .85rem; }
label { display: block; font-weight: 600; }
input, select, textarea, button, .button { font: inherit; }
input:not([type="radio"]), select, textarea { display: block; width: 100%; min-height: 44px; margin: .3rem 0 .7rem; padding: .6rem .65rem; border: 1px solid #819a92; border-radius: .35rem; color: #182c2a; background: #fff; }
textarea { min-height: 6rem; resize: vertical; font-weight: 400; line-height: 1.45; }
textarea[readonly] { background: #f6f8f7; }
button, .button { display: inline-flex; align-items: center; justify-content: center; gap: .35rem; min-height: 44px; padding: .6rem .9rem; border: 1px solid #17645a; border-radius: .4rem; background: #17645a; color: #fff; text-decoration: none; font-weight: 650; cursor: pointer; }
.button .small { color: #fff; }
button:hover, .button:hover { background: #124e46; }
button:disabled { opacity: .65; cursor: wait; }
:focus-visible { outline: 3px solid #9b4c00; outline-offset: 3px; }
fieldset { border: 1px solid #cbd8d4; border-radius: .4rem; padding: .75rem; margin: .6rem 0 1rem; min-width: 0; }
legend { font-weight: 650; padding: 0 .3rem; }
.data-choice label { display: flex; align-items: center; gap: .65rem; min-height: 44px; font-size: .9rem; font-weight: 500; }
input[type="radio"] { flex: 0 0 auto; width: 1.15rem; height: 1.15rem; accent-color: #17645a; }
.capture-grid { display: grid; gap: .2rem; }
.capture-grid label { font-size: .9rem; }
.capture-grid .hint { font-weight: 400; }
details { margin: .8rem 0; border-top: 1px solid #dce5e2; padding-top: .4rem; }
summary { display: list-item; min-height: 44px; padding: .6rem .15rem; cursor: pointer; font-weight: 650; }
details ul { padding-left: 1.3rem; margin: .3rem 0 1rem; }
details li { margin-bottom: .4rem; }
.check { padding: 1rem 0 .4rem; border-top: 1px solid #dce5e2; }
.check:first-child { border-top: 0; padding-top: .25rem; }
.check h3 { margin-bottom: .3rem; }
.check .expected { margin-bottom: .65rem; }
.check-controls { display: grid; grid-template-columns: minmax(8rem, .6fr) minmax(0, 2fr); gap: 1rem; }
.check-controls textarea { min-height: 5rem; }
.check-controls select { min-height: 44px; }
.actions { display: flex; flex-wrap: wrap; align-items: start; gap: .8rem; }
.file-control { min-height: 44px; }
.file-control input { max-width: 100%; font-size: .9rem; }
.message { margin: .7rem 0 0; min-height: 1.5rem; color: #17645a; overflow-wrap: anywhere; }
.message[data-kind="error"] { color: #8d321f; }
.skip-link { position: fixed; top: .3rem; left: .3rem; z-index: 1; padding: .7rem; background: #fff; color: #17645a; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
@media (max-width: 580px) {
  main { width: min(100% - 1rem, 58rem); margin-top: 1rem; }
  .panel { padding: 1rem; }
  .identity-grid, .form-grid, .check-controls { grid-template-columns: minmax(0, 1fr); gap: .2rem; }
  .identity-grid { gap: .55rem; }
  .actions, .actions > *, button, .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }
