:root { color-scheme: light; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #17242c; background: #f3f5f3; line-height: 1.6; }
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 980px; margin: 0 auto; padding: 36px 24px 48px; }
h1 { font-size: clamp(1.95rem, 4.5vw, 3rem); line-height: 1.12; max-width: 800px; margin: 12px 0 22px; letter-spacing: -.035em; }
h2 { font-size: 1.25rem; line-height: 1.35; margin: 0 0 12px; }
p { margin: 0 0 14px; }
header { margin-bottom: 26px; }
.eyebrow { font-size: .78rem; font-weight: 750; text-transform: uppercase; letter-spacing: .09em; color: #4b655a; }
.intro { font-size: 1.08rem; max-width: 770px; }
.scope { border-left: 4px solid #ab7534; background: #fbf3e6; padding: 18px 20px; margin-bottom: 24px; }
.scope p { margin: 8px 0 0; }
.panel { background: #fff; border: 1px solid #d9e1dc; border-radius: 12px; padding: 24px; margin-bottom: 18px; }
.step { display: inline-grid; place-items: center; background: #e6eee9; color: #264838; width: 30px; height: 30px; border-radius: 50%; font-size: .88rem; margin-right: 8px; }
.identity-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.identity-grid > div { min-width: 0; }
label { display: block; font-weight: 650; font-size: .94rem; }
select, input[type="text"] { display: block; width: 100%; min-width: 0; min-height: 46px; background: #fff; color: #17242c; border: 1px solid #9baa9f; border-radius: 6px; font: inherit; padding: 10px 12px; margin-top: 6px; }
.reading-inputs { padding: 0; margin: 20px 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
.reading-inputs input { font-variant-numeric: tabular-nums; }
.actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
button { font: inherit; font-weight: 650; min-height: 44px; padding: 10px 16px; color: #fff; background: #254a3a; border: 1px solid #254a3a; border-radius: 6px; cursor: pointer; }
button.secondary { background: #fff; color: #254a3a; border-color: #91a598; }
button:disabled { opacity: .5; cursor: not-allowed; }
button:hover:enabled { filter: brightness(.95); }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid #186ca3; outline-offset: 3px; }
.checks { display: grid; gap: 12px; }
.checks label { display: flex; align-items: flex-start; gap: 11px; font-weight: 450; padding: 8px 0; }
.checks input { flex: 0 0 auto; width: 20px; height: 20px; margin: 3px 0 0; accent-color: #254a3a; }
.primary-actions { margin: 24px 0 16px; }
.status { min-height: 26px; font-weight: 650; color: #3c5145; }
.status[data-state="invalid"], .status[data-state="unknown"] { color: #854b25; }
.result { border-top: 4px solid #58715f; }
.summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; background: #f0f4f1; padding: 16px; border-radius: 6px; margin: 18px 0; }
.summary span { display: block; font-size: .8rem; color: #53645a; }
.summary strong { display: block; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.table-wrap { max-width: 100%; overflow: auto; margin-bottom: 18px; }
table { border-collapse: collapse; width: 100%; font-size: .93rem; }
caption { text-align: left; font-size: .83rem; color: #53645a; margin-bottom: 8px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #dce3de; vertical-align: top; }
th { background: #f2f5f3; }
td { font-variant-numeric: tabular-nums; }
.result-limit { border-left: 3px solid #ab7534; padding-left: 12px; }
.sources { padding-left: 22px; }
.sources li { margin-bottom: 12px; }
a { color: #175f84; text-underline-offset: 3px; }
code { background: #eff2ef; padding: 1px 4px; }
footer { font-size: .9rem; color: #53645a; padding: 12px 4px; }
.quiet { font-size: .8rem; }
[hidden] { display: none !important; }
main, .panel, .scope, label, button, p, li, td, th { overflow-wrap: anywhere; }
.skip { position: absolute; left: 10px; top: -100px; background: #fff; padding: 8px; z-index: 10; }
.skip:focus { top: 10px; }
@media (max-width: 670px) { main { padding: 24px 16px 36px; } .identity-grid { grid-template-columns: 1fr; } .panel { padding: 18px; } .summary { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 380px) { main { padding-right: 12px; padding-left: 12px; } .panel { padding: 16px; } .reading-inputs { grid-template-columns: 1fr; } button { width: 100%; } .summary { padding: 12px; } th, td { padding: 8px 5px; font-size: .84rem; } }
