:root { --bg: #fbfaf7; --fg: #1b1d21; --muted: #5d6470; --line: #e3e1db; --accent: #1f5f4a; --card: #ffffff; color-scheme: light dark; }
@media (prefers-color-scheme: dark) { :root { --bg: #111315; --fg: #e9e7e2; --muted: #a2a7ae; --line: #2a2e33; --accent: #6fc3a2; --card: #181b1e; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif; }
main, footer { max-width: 760px; margin: 0 auto; padding: 0 16px; }
header { padding: 64px 0 24px; }
.mark { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 0; }
h1 { font-size: clamp(2.2rem, 7vw, 3.4rem); line-height: 1.1; margin: .3em 0; }
h2 { margin-top: 2.4em; }
h3 { margin: 0 0 .4em; }
.lede { font-size: 1.15rem; }
.status { padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); }
.cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
article { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px; }
article p { margin: 0; color: var(--muted); font-size: .95rem; }
form { display: grid; gap: 6px; max-width: 460px; }
label { font-weight: 600; margin-top: 8px; }
.hint { font-weight: 400; color: var(--muted); }
input, select, textarea, button { font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: var(--fg); }
button { margin-top: 12px; background: var(--accent); color: var(--bg); border: 0; font-weight: 700; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.notice { font-size: .85rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; }
a { color: var(--accent); }
code { font-size: .9em; overflow-wrap: anywhere; }
footer { padding: 48px 16px; color: var(--muted); font-size: .9rem; }
nav.top { max-width: 760px; margin: 0 auto; padding: 14px 16px 0; display: flex; gap: 18px; flex-wrap: wrap; align-items: baseline; }
nav.top a { text-decoration: none; }
nav.top a.mark { margin-right: auto; }
.grade-head { display: flex; gap: 20px; align-items: flex-start; }
.grade { flex: none; width: 88px; height: 88px; border-radius: 14px; display: grid; place-items: center; font-size: 3rem; font-weight: 800; color: #fff; margin-top: 8px; }
.pill { display: inline-block; min-width: 1.8em; text-align: center; border-radius: 6px; color: #fff; font-weight: 700; font-size: .85rem; padding: 1px 6px; }
.g-A { background: #2e7d32; } .g-B { background: #558b2f; } .g-C { background: #b58900; } .g-D { background: #ef6c00; } .g-F { background: #c62828; }
.caps { list-style: none; padding: 0; display: grid; gap: 6px; }
.caps li { padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); }
.caps li.yes { border-left: 4px solid var(--accent); }
.caps li.no { color: var(--muted); }
.findings { padding-left: 1.1em; }
.findings li { margin: 0 0 12px; }
.findings li.sev-high strong { color: #c62828; }
.findings li.sev-medium strong { color: #ef6c00; }
pre { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; overflow-x: auto; font-size: .85rem; margin: 6px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
table.facts th { width: 38%; font-weight: 600; }
.search { max-width: none; }
.hits { list-style: none; padding: 0; margin: 8px 0 0; }
.hits li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.note { color: var(--muted); font-size: .92rem; }
a.button { display: inline-block; background: var(--accent); color: var(--bg); padding: 12px 18px; border-radius: 8px; font-weight: 700; text-decoration: none; }
details { margin-top: 2em; }
summary { cursor: pointer; font-weight: 600; }
