:root { --bg:#f5f1e7; --card:#fbf9f4; --ink:#16263a; --muted:#5a6573; --navy:#0a2d51; --line:#ded7c6; --gold:#8a6a3a; --ok:#2f6b3a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg:#0f1720; --card:#16212c; --ink:#e8e4da; --muted:#9aa5b1; --navy:#9cc0e6; --line:#2a3846; --gold:#c9a46d; --ok:#8fc79a; color-scheme: dark; } }
:root[data-theme="dark"] { --bg:#0f1720; --card:#16212c; --ink:#e8e4da; --muted:#9aa5b1; --navy:#9cc0e6; --line:#2a3846; --gold:#c9a46d; --ok:#8fc79a; color-scheme: dark; }
:root[data-theme="light"] { color-scheme: light; }
* { box-sizing: border-box; }
body { margin:0; background:var(--bg); color:var(--ink); font:16px/1.6 "Georgia", "Times New Roman", serif; }
.wrap { max-width:720px; margin:0 auto; padding:48px 20px 40px; }
.top { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.theme-btn { display:inline-flex; align-items:center; gap:6px; padding:6px 12px; border:1px solid var(--line); border-radius:999px; background:var(--card); color:var(--ink); font:600 13px/1.2 system-ui, -apple-system, "Segoe UI", sans-serif; cursor:pointer; }
.brand { display:flex; align-items:center; gap:12px; text-decoration:none; }
.brand img { width:44px; height:44px; border-radius:4px; background:#fff; }
.brand span { font-size:20px; font-weight:700; color:var(--navy); letter-spacing:.2px; }
.tag { margin-top:40px; font:600 12px/1 ui-monospace, Menlo, monospace; letter-spacing:.14em; text-transform:uppercase; color:var(--gold); }
h1 { margin:14px 0 0; font-size:clamp(28px,5vw,40px); line-height:1.15; color:var(--navy); }
h2 { color:var(--ink); }
p, li { color:var(--muted); }
p { margin:16px 0 0; }
.card { margin-top:28px; padding:22px; background:var(--card); border:1px solid var(--line); border-radius:6px; }
.card h2 { margin:0; font-size:19px; }
.card p { margin-top:8px; }
.btn { display:inline-block; margin-top:16px; padding:11px 18px; background:var(--navy); color:var(--bg); text-decoration:none; border:0; border-radius:4px; font:600 15px/1.2 system-ui, -apple-system, "Segoe UI", sans-serif; cursor:pointer; }
a { color:var(--navy); }
.fine { margin-top:28px; font-size:14px; }
.links { display:flex; flex-wrap:wrap; gap:8px 18px; margin-top:12px; font:15px/1.4 system-ui, -apple-system, "Segoe UI", sans-serif; }
label { display:block; margin-top:14px; font:600 14px/1.3 system-ui, -apple-system, "Segoe UI", sans-serif; color:var(--ink); }
input[type=text], input[type=email], input[type=date] { width:100%; margin-top:6px; padding:10px 12px; border:1px solid var(--line); border-radius:4px; background:var(--bg); color:var(--ink); font:16px/1.3 system-ui, -apple-system, "Segoe UI", sans-serif; }
fieldset { margin:14px 0 0; padding:0; border:0; }
legend { font:600 14px/1.3 system-ui, -apple-system, "Segoe UI", sans-serif; color:var(--ink); }
.choice { display:flex; gap:8px; align-items:center; margin-top:8px; font:15px/1.3 system-ui, -apple-system, "Segoe UI", sans-serif; color:var(--ink); }
.choice input { margin:0; }
.hidden { display:none; }
.status { margin-top:12px; font:15px/1.4 system-ui, -apple-system, "Segoe UI", sans-serif; }
.status.ok { color:var(--ok); }
table { width:100%; border-collapse:collapse; margin-top:12px; font:14px/1.45 system-ui, -apple-system, "Segoe UI", sans-serif; }
th, td { text-align:left; vertical-align:top; padding:8px 6px; border-top:1px solid var(--line); color:var(--ink); }
th { color:var(--muted); font-weight:600; }
.pill { display:inline-block; padding:1px 8px; border:1px solid var(--line); border-radius:999px; font-size:12px; white-space:nowrap; color:var(--muted); }
.result { padding:12px 0; border-top:1px solid var(--line); }
.result strong { color:var(--ink); }
.mono { font-family: ui-monospace, Menlo, monospace; color:var(--ink); }
ul.check { padding-left:0; list-style:none; }
ul.check li { margin-top:10px; padding-left:30px; position:relative; }
ul.check li::before { content:"\2610"; position:absolute; left:0; top:-1px; font-size:20px; color:var(--navy); }
footer { margin-top:48px; padding-top:16px; border-top:1px solid var(--line); font:13px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif; color:var(--muted); }
.notice { border-left:4px solid var(--gold); }
.src { display:block; margin-top:4px; font-size:13px; color:var(--muted); }
.tl { margin-top:14px; font:12px/1.3 system-ui, -apple-system, "Segoe UI", sans-serif; }
.tl-axis { position:relative; height:16px; margin:0 14px; color:var(--muted); font-family:ui-monospace, Menlo, monospace; }
.tl-axis span { position:absolute; transform:translateX(-50%); }
.tl-name { margin:14px 0 0; font-weight:600; color:var(--ink); }
.tl-track { position:relative; height:44px; margin:6px 14px 0; border-top:2px solid var(--line); }
.tl-mark { position:absolute; top:-7px; transform:translateX(-50%); display:flex; flex-direction:column; align-items:center; white-space:nowrap; }
.tl-mark i { width:12px; height:12px; border-radius:50%; background:var(--navy); border:2px solid var(--card); }
.tl-mark b { margin-top:4px; font-weight:600; color:var(--ink); }
@media (max-width:480px) { .tl-track { height:60px; } .tl-mark b { font-size:11px; } .tl-mark:nth-child(even) b { margin-top:20px; } .tl-end b { transform:translateX(-30%); } }
@media print { .btn, footer, .noprint { display:none; } body { background:#fff; } }
