:root {
  --bg: #f6f8fa;
  --paper: #ffffff;
  --ink: #18212b;
  --muted: #5b6875;
  --accent: #0b6bcb;
  --ok: #157f3c;
  --short: #a33a1f;
  --line: #dde3ea;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); }
.wrap { max-width: 860px; margin: 0 auto; padding: 0 16px; }
header.site { background: var(--paper); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; padding-bottom: 12px; gap: 12px; flex-wrap: wrap; }
.brand { font-weight: 800; color: var(--ink); text-decoration: none; }
nav a { color: var(--muted); text-decoration: none; font-size: 15px; margin-left: 14px; }
.notice { background: #fff8e5; border: 1px solid #f0dca8; border-radius: 10px; padding: 10px 14px; font-size: 14px; margin: 18px 0; }
h1 { font-size: clamp(28px, 5vw, 38px); line-height: 1.2; margin: 22px 0 8px; }
h2 { margin-top: 36px; }
.lede { color: var(--muted); font-size: 18px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 18px; margin: 18px 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
label { display: block; font-weight: 600; font-size: 15px; }
label small { display: block; font-weight: 400; color: var(--muted); }
input { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; margin-top: 6px; }
#summary { font-size: 17px; margin: 6px 0 12px; }
.tablewrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--paper); font-size: 15px; }
th, td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
td.num { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 700; }
tr.ok td:nth-child(3) { color: var(--ok); font-weight: 600; }
tr.short td:nth-child(3) { color: var(--short); }
.btn { display: inline-block; white-space: nowrap; background: var(--accent); color: #fff; text-decoration: none; padding: 7px 12px; border-radius: 8px; font-size: 14px; }
.muted { color: var(--muted); font-size: 14px; }
details { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; margin: 10px 0; }
footer { margin-top: 48px; padding: 20px 0 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.ok { color: var(--ok); font-weight: 600; }
.maybe { color: #9a6700; font-weight: 600; }
.short { color: var(--short); font-weight: 600; }
.safety { background: #fff1f0; border: 1px solid #f3c4bd; border-radius: 12px; padding: 12px 16px; margin: 16px 0; }
.safety h2 { margin: 0 0 6px; font-size: 18px; }
.safety ul { margin: 6px 0; padding-left: 20px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.cards a.card { display: block; text-decoration: none; color: var(--ink); }
