:root {
  color-scheme: light;
  --paper: #f6f5f0;
  --ink: #182921;
  --muted: #4a5b51;
  --line: #cdd7ce;
  --accent: #1c5c45;
  --wash: #eff5ee;
  --white: #fffefa;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
h1, h2, h3, p { margin: 0; }
a { color: var(--accent); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #226a52; outline-offset: 4px; }
[hidden] { display: none !important; }
.shell { width: min(100% - 48px, 1016px); margin-inline: auto; }
.masthead { border-bottom: 1px solid var(--line); }
.masthead-inner { min-height: 65px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; gap: 10px; align-items: center; font-size: .95rem; font-weight: 750; text-decoration: none; color: var(--ink); min-height: 44px; }
.masthead nav { display: flex; gap: 22px; font-size: .875rem; }
.masthead nav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
.masthead nav a:hover { text-decoration: underline; }
.intro { padding-block: 48px 27px; }
.eyebrow { font: 700 .74rem/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); }
.eyebrow span { display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 50%; background: #3c8b62; }
h1 { max-width: 850px; margin-top: 9px; font-size: clamp(2.1rem, 5.6vw, 4.2rem); line-height: 1.02; letter-spacing: -.061em; text-wrap: balance; }
.lede { max-width: 650px; margin-top: 14px; color: var(--muted); font-size: clamp(1rem, 1.7vw, 1.15rem); }
.checker { max-width: 850px; border: 1px solid var(--line); border-radius: 19px; padding: 20px; background: var(--white); box-shadow: 0 10px 26px #2037250a; }
.checker-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.checker-top h2 { font-size: 1.15rem; line-height: 1.25; letter-spacing: -.02em; }
.pill { padding: 3px 9px; border: 1px solid var(--line); border-radius: 20px; color: var(--accent); font-size: .75rem; font-weight: 700; white-space: nowrap; }
.drop { padding: 15px 10px 18px; border: 1.5px dashed #8ca796; border-radius: 12px; background: var(--wash); text-align: center; }
.drop[data-dragging=true] { background: #dceee0; border-color: var(--accent); }
.drop-icon { color: var(--accent); display: block; margin: 0 auto 7px; }
.drop-title { font-weight: 740; }
.file-hint, .private { color: var(--muted); font-size: .875rem; }
.choose { position: relative; display: inline-flex; margin-top: 10px; min-height: 44px; align-items: center; padding: 8px 16px; border-radius: 8px; background: var(--accent); color: white; font-weight: 710; font-size: 1rem; cursor: pointer; }
.choose:hover { background: #144736; }
.choose:focus-within { outline: 3px solid var(--accent); outline-offset: 4px; }
.choose input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.private { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 11px; text-align: center; }
.private svg { flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.report { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-top: 16px; border-top: 1px solid var(--line); padding-top: 16px; }
.report h3 { font-size: 1.15rem; color: #864518; }
.report[data-state=pass] h3 { color: var(--accent); }
.report dl { margin: 8px 0; }
.report dl:empty { display: none; }
.report dl div { display: flex; flex-wrap: wrap; column-gap: 10px; }
.report dt { color: var(--muted); }
.report dd { margin: 0; font-weight: 650; }
.report ul { margin: 8px 0 0; padding-left: 1.15rem; }
.report img { width: auto; height: auto; max-width: 24%; max-height: 180px; object-fit: contain; border: 1px solid var(--line); border-radius: 7px; background: repeating-conic-gradient(#eee 0% 25%, #fff 0% 50%) 50% / 12px 12px; }
.reference { max-width: 850px; }
.reference > section { padding-block: 41px; border-bottom: 1px solid var(--line); scroll-margin-top: 16px; }
.reference h2 { margin: 6px 0 8px; font-size: clamp(1.6rem, 4vw, 2.35rem); line-height: 1.15; letter-spacing: -.043em; }
.reference p, .steps { max-width: 72ch; }
.steps { padding-left: 1.35rem; margin-block: 16px; }
.steps li { padding-left: .2rem; margin-block: 8px; }
.steps li::marker { color: var(--accent); font-weight: 700; }
.callout { padding: 13px 15px; border-left: 3px solid #62866d; background: var(--wash); }
kbd { font-family: ui-monospace, monospace; }
.table-wrap { margin-top: 16px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: .875rem; }
td, th { padding: 8px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead { background: var(--wash); }
td { font-variant-numeric: tabular-nums; }
tbody tr:last-child > * { border-bottom: 0; }
td span { display: block; white-space: nowrap; }
.sources { margin-top: 10px; color: var(--muted); font-size: .85rem; }
details { border-bottom: 1px solid var(--line); }
details:last-child { border-bottom: 0; }
summary { cursor: pointer; font-weight: 700; padding-block: 12px; min-height: 44px; }
details p { padding-bottom: 12px; color: var(--muted); }
.footer { padding-block: 24px 35px; font-size: .875rem; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.footer-inner p { max-width: 44ch; }
.footer strong { color: var(--ink); }
.footer a { white-space: nowrap; }
@media (max-width: 560px) {
  .shell { width: calc(100% - 28px); }
  .masthead-inner { min-height: 53px; }
  .masthead nav { gap: 0; }
  .masthead nav a:last-child { display: none; }
  .brand { gap: 6px; }
  .brand img { width: 27px; height: 27px; }
  .intro { padding-block: 23px 17px; }
  h1 { text-wrap: initial; }
  .lede { margin-top: 10px; }
  .checker { padding: 12px; border-radius: 14px; }
  .checker-top { margin-bottom: 9px; }
  .drop { padding-block: 12px; }
  .reference > section { padding-block: 30px; }
  td, th { padding: 7px 5px; }
  table { font-size: .775rem; }
  .footer-inner { flex-direction: column; }
}
@media (max-width: 350px) {
  h1 { font-size: 1.85rem; }
  .masthead-inner { gap: 8px; }
  .brand { font-size: .86rem; }
  .masthead nav { font-size: .8rem; }
}
#download { margin-top: 12px; padding: 8px 14px; min-height: 44px; border: 1px solid var(--accent); border-radius: 8px; background: var(--wash); color: var(--accent); font: inherit; font-weight: 700; cursor: pointer; }
#download:disabled { opacity: .65; cursor: wait; }
#download-status { margin-top: 6px; color: var(--muted); font-size: .875rem; }
