:root {
  --navy: #142B45; --teal: #258C80; --link: #176F66; --ground: #F5F7FA; --surface: #FFFFFF; --subtle: #EEF3F7;
  --muted: #5D7085; --line: #D7E1EA; --control: #8093A8;
  --good: #176F52; --good-ground: #EAF6F0; --warn: #8A5708; --warn-ground: #FFF4DE; --bad: #B42332; --bad-ground: #FDEDF0;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--navy); font: 15px/21px Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; }
main { max-width: 640px; margin: 0 auto; padding: 16px 16px 40px; }
a { color: var(--link); }
header { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; }
header a { font-size: 14px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 700; font-size: 17px; text-decoration: none; }
.brand svg { width: 26px; height: 30px; }
h1 { margin: 18px 0 8px; font-size: 26px; line-height: 31px; font-weight: 700; letter-spacing: -0.65px; }
h2 { margin: 22px 0 8px; font-size: 13px; line-height: 18px; font-weight: 600; color: var(--muted); }
.lead { margin: 0 0 14px; color: var(--muted); }
.card { margin: 0 0 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 4px 16px; }
.row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 20px; }
.row:last-child { border-bottom: 0; }
dt { color: var(--muted); flex: 0 0 42%; }
dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.fixed { font: 12px/18px ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 400; }
.notice { display: flex; flex-direction: column; gap: 2px; margin: 0 0 12px; padding: 13px 14px; border-radius: 12px; font-size: 14px; line-height: 20px; background: var(--subtle); }
.notice.good { background: var(--good-ground); color: var(--good); }
.notice.warn { background: var(--warn-ground); color: var(--warn); }
.notice.bad { background: var(--bad-ground); color: var(--bad); }
.code { font: 600 19px/26px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.5px; color: var(--navy); }
.lookup, .check { display: flex; flex-direction: column; gap: 10px; padding: 16px; }
.lookup label { font-weight: 600; }
.lookup input { min-height: 50px; border: 1px solid var(--control); border-radius: 12px; padding: 12px 13px; font: 17px/22px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--navy); background: var(--surface); text-transform: uppercase; }
.complaint { margin: 0; min-height: 18px; font-size: 13px; line-height: 18px; color: var(--bad); }
.primary { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 13px 16px; border: 0; border-radius: 12px; background: var(--navy); color: #FFFFFF; font: 600 17px/22px inherit; font-family: inherit; cursor: pointer; text-align: center; }
button.primary { width: 100%; margin-bottom: 12px; }
.lookup button.primary { margin-bottom: 0; }
.primary:focus-visible, .lookup input:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.hidden { position: absolute; width: 1px; height: 1px; opacity: 0; }
.hidden:focus-visible + .quiet { outline: 3px solid var(--teal); outline-offset: 2px; }
.quiet { margin: 0; font-size: 13px; line-height: 18px; color: var(--muted); }
.result:empty { display: none; }
.result .notice { margin: 4px 0 8px; }
.findings { list-style: none; margin: 0; padding: 0; }
.findings li { display: flex; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 20px; }
.findings small { color: var(--muted); font-size: 13px; }
.findings .detail { display: block; }
.mark { flex: 0 0 20px; font-weight: 700; text-align: center; }
.holds .mark { color: var(--good); }
.fails { color: var(--bad); }
.unknown .mark { color: var(--muted); }
details { padding: 0 16px; }
summary { padding: 14px 0; font-weight: 600; cursor: pointer; }
details p { margin: 0 0 8px; font-size: 14px; line-height: 20px; color: var(--muted); }
details dl { margin: 0; }
details .row { flex-direction: column; gap: 2px; }
details dd { text-align: left; }
footer { margin-top: 20px; font-size: 13px; line-height: 18px; color: var(--muted); }
@media (max-width: 420px) { .row { flex-direction: column; gap: 2px; } dt { flex: none; } dd { text-align: left; } }
