
:root {
  --paper: #f3f6f5; --card: #ffffff; --ink: #0b1d26; --muted: #4d5f68; --line: #d4dedc;
  --sea: #0f5f63; --sea-soft: #dcefed; --ping: #0f766e; --focus: #2563eb; --radius: 14px;
  --found: #0d9488; --burning: #dc2626; --hot: #ea580c; --warm: #ca8a04; --cool: #2563eb; --cold: #94a3b8;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #061319; --card: #0c1f27; --ink: #e6f2f1; --muted: #9db3b8; --line: #1d3640;
    --sea: #5eead4; --sea-soft: #0f2f33; --ping: #5eead4;
    --found: #2dd4bf; --burning: #f87171; --hot: #fb923c; --warm: #facc15; --cool: #60a5fa; --cold: #64748b;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; overflow-x: hidden; }
a { color: var(--sea); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.brand svg { width: 30px; height: 30px; }
nav.top { display: flex; gap: 16px; font-size: 15px; flex-wrap: wrap; align-items: center; }
nav.top a { color: var(--muted); text-decoration: none; }
nav.top a:hover { color: var(--ink); }
.hero { padding-top: 56px; padding-bottom: 36px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 40px; align-items: center; }
@media (max-width: 820px) { .hero { grid-template-columns: 1fr; padding-top: 32px; gap: 28px; } }
h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.04; letter-spacing: -0.035em; margin: 0 0 16px; }
h2 { font-size: clamp(24px, 3.4vw, 32px); letter-spacing: -0.02em; margin: 0 0 12px; line-height: 1.15; }
h3 { font-size: 18px; margin: 0 0 6px; }
.lead { font-size: 19px; color: var(--muted); max-width: 36em; }
.glow { color: var(--ping); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--sea); color: #fff; font-weight: 700; text-decoration: none; border: 0; font-size: 16px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn:not(.secondary) { color: #04241f; } }
.btn.secondary { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.pill { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--sea-soft); color: var(--sea); font-weight: 700; font-size: 15px; }
section { padding: 36px 0; }
section + section { border-top: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 0; margin: 20px 0 0; list-style: none; counter-reset: s; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; counter-increment: s; }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sea-soft); color: var(--sea); font-weight: 800; margin-bottom: 10px; box-shadow: 0 0 0 4px color-mix(in srgb, var(--sea-soft) 55%, transparent); }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }
.scope { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 16px; overflow: hidden; }
.scope::before { content: ""; position: absolute; inset: -40% -40% auto auto; width: 120%; aspect-ratio: 1; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 38px, color-mix(in srgb, var(--ping) 12%, transparent) 38px 39px); pointer-events: none; }
.scope > * { position: relative; }
.scope .meta { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; color: var(--muted); margin: 0 2px 10px; flex-wrap: wrap; }
.scope .meta strong { color: var(--ink); }
.rows { display: grid; gap: 6px; padding: 0; margin: 0; list-style: none; }
.rows li { display: grid; grid-template-columns: minmax(0, 7.5em) minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 15px; }
.rows .w { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rows .bar { height: 10px; border-radius: 999px; background: color-mix(in srgb, var(--line) 70%, transparent); overflow: hidden; }
.rows .bar i { display: block; height: 100%; border-radius: inherit; background: currentColor; }
.rows .r { font-variant-numeric: tabular-nums; font-weight: 700; min-width: 4.5em; text-align: right; }
.h-found { color: var(--found); } .h-burning { color: var(--burning); } .h-hot { color: var(--hot); } .h-warm { color: var(--warm); } .h-cool { color: var(--cool); } .h-cold { color: var(--cold); }
.rows li .w { color: var(--ink); }
.scale { display: grid; gap: 8px; padding: 0; list-style: none; margin: 12px 0 0; }
.scale li { display: flex; gap: 10px; align-items: center; }
.sw { width: 22px; height: 22px; border-radius: 50%; flex: none; background: currentColor; }
.scale .lbl { color: var(--ink); }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 760px) { .two { grid-template-columns: 1fr; } }
.yesterday { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.yesterday span { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; font-size: 15px; }
.yesterday b { color: var(--sea); }
.narrow { max-width: 680px; }
.faq dt { font-weight: 700; margin-top: 18px; }
.faq dd { margin: 4px 0 0; color: var(--muted); }
.note { font-size: 14px; color: var(--muted); }
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(30px, 5vw, 42px); }
.prose h2 { font-size: 22px; margin-top: 32px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.table-scroll { overflow-x: auto; margin: 12px 0; }
footer.site { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 14px; color: var(--muted); }
footer.site .wrap { display: grid; gap: 10px; }
footer.site nav { display: flex; gap: 16px; flex-wrap: wrap; }
footer.site a { color: var(--muted); }
.lang a { font-weight: 700; text-decoration: none; color: var(--muted); }
.lang a[aria-current="true"] { color: var(--ink); }
.guide h1 { font-size: clamp(30px, 5vw, 44px); line-height: 1.1; }
.guide h2, .use h2 { margin-top: 32px; }
.crumbs { margin: 0 0 8px; font-size: 14px; }
.answer { color: var(--ink); max-width: none; }
.updated { font-size: 14px; color: var(--muted); }
.howto { padding-left: 1.3em; }
.howto li { margin: 8px 0; }
table.compare { border-collapse: collapse; width: 100%; font-size: 15px; background: var(--card); }
table.compare th, table.compare td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
table.compare thead th { background: var(--sea-soft); }
.guide-list { padding-left: 1.1em; }
.guide-list li { margin: 14px 0; }
.prompts { display: grid; gap: 10px; padding: 0; list-style: none; }
.prompts li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-weight: 600; }
code { font-size: 0.92em; background: var(--sea-soft); padding: 1px 6px; border-radius: 6px; }
.rows .bar i.p0 { width: 0%; }
.rows .bar i.p1 { width: 5%; }
.rows .bar i.p2 { width: 10%; }
.rows .bar i.p3 { width: 15%; }
.rows .bar i.p4 { width: 20%; }
.rows .bar i.p5 { width: 25%; }
.rows .bar i.p6 { width: 30%; }
.rows .bar i.p7 { width: 35%; }
.rows .bar i.p8 { width: 40%; }
.rows .bar i.p9 { width: 45%; }
.rows .bar i.p10 { width: 50%; }
.rows .bar i.p11 { width: 55%; }
.rows .bar i.p12 { width: 60%; }
.rows .bar i.p13 { width: 65%; }
.rows .bar i.p14 { width: 70%; }
.rows .bar i.p15 { width: 75%; }
.rows .bar i.p16 { width: 80%; }
.rows .bar i.p17 { width: 85%; }
.rows .bar i.p18 { width: 90%; }
.rows .bar i.p19 { width: 95%; }
.rows .bar i.p20 { width: 100%; }
