:root {
  --bg: #fbfbfd;
  --surface: #ffffff;
  --surface-2: #f5f5f7;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --accent: #0071e3;
  --accent-text: #ffffff;
  --link: #0066cc;
  --warn-bg: #fff8e5;
  --warn-line: #f5a623;
  --bad-bg: #fdecec;
  --bad-line: #d70015;
  --good: #1a7f37;
  --bad: #c9001a;
  --radius: 16px;
  --radius-sm: 10px;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --surface: #1c1c1e;
    --surface-2: #121214;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --line: #38383a;
    --accent: #0a84ff;
    --link: #4da3ff;
    --warn-bg: #2b2412;
    --warn-line: #d29a2a;
    --bad-bg: #2c1416;
    --bad-line: #ff453a;
    --good: #30d158;
    --bad: #ff6961;
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.42 var(--sans); -webkit-font-smoothing: antialiased;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; letter-spacing: -0.015em; }
h1 { font-size: clamp(30px, 4vw, 46px); line-height: 1.1; letter-spacing: -0.025em; font-weight: 700; }
h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; font-weight: 700; margin-bottom: 6px; }
h3 { font-size: 18px; line-height: 1.25; font-weight: 600; margin-bottom: 6px; }
p { margin: 0 0 8px; }
.muted { color: var(--muted); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.top-in { display: flex; align-items: center; justify-content: space-between; height: 52px; gap: 16px; }
.brand { color: var(--text); font-weight: 700; font-size: 17px; display: flex; align-items: baseline; gap: 8px; }
.brand:hover { text-decoration: none; }
.brand-sub { color: var(--muted); font-weight: 400; font-size: 13px; }
.nav { display: flex; gap: 18px; font-size: 14px; }
.nav a { color: var(--text); opacity: .8; }
.nav a:hover { opacity: 1; text-decoration: none; }
@media (max-width: 720px) { .nav { display: none; } }

/* hero */
.hero { padding: 52px 0 28px; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.hero h1 { max-width: 820px; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.15; letter-spacing: -0.02em; }
.lead { font-size: 18px; color: var(--muted); max-width: 760px; margin: 10px 0 10px; line-height: 1.4; }
.author { display: flex; gap: 10px; align-items: flex-start; max-width: 760px; font-size: 15px; color: var(--muted); margin: 0 0 16px; }
.author-ava { flex: 0 0 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); font-weight: 700; font-size: 14px; margin-top: 1px; }
.cta { display: flex; gap: 10px; flex-wrap: wrap; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px;
  border-radius: 980px; border: 1px solid var(--line); background: var(--surface); color: var(--text);
  font: inherit; font-weight: 500; cursor: pointer;
}
.btn:hover { text-decoration: none; border-color: var(--muted); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.btn-primary:hover { filter: brightness(1.06); border-color: var(--accent); }
.btn[disabled] { opacity: .5; cursor: default; }

/* layout */
.section { padding: 40px 0; }
.section.alt { background: var(--surface-2); }
.sec-lead { margin-bottom: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 900px) { .grid3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid3, .grid2 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.card p:last-child { margin-bottom: 0; }

.entries { padding: 0 0 12px; }
.entry { display: flex; gap: 14px; align-items: flex-start; color: var(--text); }
.entry:hover { text-decoration: none; border-color: var(--accent); }
.entry-ico {
  flex: 0 0 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); font-weight: 700;
}

.pit p { font-size: 15px; margin-bottom: 4px; }

.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; } }
.note { border-left: 4px solid var(--warn-line); }

.foot { padding: 18px 0 28px; border-top: 1px solid var(--line); font-size: 13px; }
.foot-in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* wizard */
.wizard { padding: 20px; }
.dots { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 16px; flex-wrap: wrap; }
.dots li { font-size: 13px; color: var(--muted); padding: 4px 10px; border-radius: 980px; background: var(--surface-2); }
.dots li.on { background: var(--accent); color: var(--accent-text); }
.dots li.done { color: var(--text); }
.step h3 { font-size: 20px; margin-bottom: 12px; }
.opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
@media (max-width: 820px) { .opts { grid-template-columns: repeat(2, 1fr); } }
.opt {
  text-align: left; min-height: 64px; padding: 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; cursor: pointer;
  display: flex; flex-direction: column; gap: 2px;
}
.opt span { color: var(--muted); font-size: 13px; }
.opt:hover { border-color: var(--muted); }
.opt.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.opt[hidden] { display: none; }

.row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.fld { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 500; min-width: 180px; flex: 1 1 180px; margin-bottom: 10px; }
.row .fld { margin-bottom: 0; }
.fld input, .fld select {
  font: 16px var(--sans); min-height: 44px; padding: 0 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
}
.fld input:focus, .fld select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.pw { display: flex; gap: 8px; align-items: center; }
.pw input { flex: 1; min-width: 0; }
.chk { display: flex; gap: 8px; align-items: center; font-size: 15px; margin: 2px 0 10px; min-height: 32px; }
.chk input { width: 18px; height: 18px; }

.q { font-size: 15px; font-weight: 500; margin-bottom: 10px; display: flex; flex-direction: column; gap: 6px; }
.seg { display: inline-flex; gap: 0; border: 1px solid var(--line); border-radius: 980px; overflow: hidden; width: fit-content; }
.seg button {
  font: inherit; font-size: 14px; min-height: 40px; padding: 0 14px; border: 0; background: var(--surface); color: var(--text); cursor: pointer;
  border-right: 1px solid var(--line);
}
.seg button:last-child { border-right: 0; }
.seg button.on { background: var(--accent); color: var(--accent-text); }
.seg-sm button { min-height: 44px; padding: 0 12px; }

.why { margin: 4px 0 6px; font-size: 14px; }
.why summary { cursor: pointer; color: var(--link); width: fit-content; }
.why p { margin: 6px 0 0; color: var(--muted); max-width: 760px; }
.info {
  background: var(--surface-2); border-radius: var(--radius-sm); padding: 10px 12px; font-size: 14px; margin: 4px 0 8px;
}
.info b { font-weight: 600; }
.stop { background: var(--bad-bg); border-left: 4px solid var(--bad-line); padding: 10px 12px; border-radius: 6px; font-size: 14px; }

.nav-row { display: flex; align-items: center; gap: 12px; margin-top: 12px; border-top: 1px solid var(--line); padding-top: 14px; }
.nav-row #next { margin-left: auto; }
.err { color: var(--bad); font-size: 14px; }

/* result */
.res-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.res-total { font: 700 clamp(30px, 4.5vw, 44px)/1.05 var(--mono); letter-spacing: -0.02em; }
.res-sub { font-size: 14px; color: var(--muted); }
.chip { display: inline-block; font: 13px var(--mono); background: var(--surface-2); border-radius: 6px; padding: 3px 8px; }
.pays { width: 100%; border-collapse: collapse; margin: 6px 0 12px; font-size: 15px; }
.pays td { padding: 8px 0; border-top: 1px solid var(--line); vertical-align: top; }
.pays td.amt { text-align: right; font-family: var(--mono); white-space: nowrap; padding-left: 12px; }
.pays .basis { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.pays tr.total td { font-weight: 700; border-top: 2px solid var(--text); }
.warns { list-style: none; padding: 0; margin: 0 0 12px; }
.warns li { background: var(--warn-bg); border-left: 4px solid var(--warn-line); padding: 8px 12px; border-radius: 6px; font-size: 14px; margin-bottom: 6px; }
.badbox { background: var(--bad-bg); border-left: 4px solid var(--bad-line); padding: 10px 12px; border-radius: 6px; margin-bottom: 12px; }
.cmp { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; margin: 6px 0 12px; }
.cmp .card { padding: 12px 14px; }
.cmp .lbl { font-size: 13px; color: var(--muted); }
.cmp .val { font: 600 20px var(--mono); margin-top: 2px; }
.cmp .dif { font: 13px var(--mono); }
.dif.up { color: var(--bad); }
.dif.down { color: var(--good); }
.res-h { font-size: 16px; font-weight: 600; margin: 14px 0 6px; }
.trace { font: 12.5px/1.45 var(--mono); color: var(--muted); padding-left: 18px; margin: 6px 0 0; }
.res-pits { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 12px; }
.res-pits a { font-size: 14px; background: var(--surface-2); border-radius: 980px; padding: 6px 12px; }
.res-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.disc { font-size: 13px; color: var(--muted); margin-top: 10px; }
.spin { color: var(--muted); padding: 18px 0; }

/* route */
.route-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.route-head .sec-lead { margin-bottom: 0; }
#routeTabs button { min-width: 92px; min-height: 40px; }
.route { padding: 18px 18px 16px; }
.route-sum { color: var(--muted); font-size: 15px; margin-bottom: 12px; }
.track { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; }
.track li { position: relative; }
.track li::before {
  content: ""; position: absolute; top: 28px; left: calc(-50% + 22px); right: calc(50% + 22px); height: 2px;
  background: var(--line); z-index: 0;
}
.track li:first-child::before { display: none; }
.track li[data-link=land]::before { background: repeating-linear-gradient(90deg, var(--muted) 0 6px, transparent 6px 11px); opacity: .7; }
.track li[data-link=sea]::before { background: repeating-linear-gradient(90deg, var(--accent) 0 8px, transparent 8px 13px); height: 3px; top: 27.5px; }
.stage {
  position: relative; z-index: 1; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 8px 4px 10px; border: 1px solid transparent; border-radius: 12px; background: none; color: var(--text);
  font: inherit; cursor: pointer; text-align: center; min-height: 44px;
}
.stage:hover { background: var(--surface-2); }
.stage-ico {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 1.5px solid var(--line); color: var(--text); margin-bottom: 3px;
}
.stage-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.stage-tx { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.stage-t { font-size: 14px; font-weight: 600; line-height: 1.2; }
.stage-m { font: 12.5px/1.3 var(--mono); color: var(--muted); }
.stage[aria-pressed=true] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, transparent); }
.stage[aria-pressed=true] .stage-ico { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.stage-badge { font-size: 11px; color: var(--accent); font-weight: 600; }

.route-detail { border-top: 1px solid var(--line); padding: 12px 0 0; display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; align-items: start; }
.route-detail h3 { margin: 0; font-size: 17px; }
.rd-where { color: var(--muted); font-size: 14px; }
.rd-note { grid-column: 1 / -1; font-size: 15px; margin: 4px 0 0; max-width: 820px; }
.rd-facts { display: flex; gap: 18px; font-size: 14px; white-space: nowrap; }
.rd-facts b { display: block; font: 600 16px var(--mono); }
.rd-facts span { color: var(--muted); font-size: 12.5px; }
.rd-more { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 6px; }
.rd-more a.pill { font-size: 13px; background: var(--surface-2); border-radius: 980px; padding: 5px 11px; }
.rd-more .btn { min-height: 36px; padding: 0 14px; font-size: 14px; }

.route-total { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.rt { background: var(--surface-2); border-radius: var(--radius-sm); padding: 10px 12px; }
.rt span { display: block; font-size: 12.5px; color: var(--muted); }
.rt b { font: 600 18px/1.25 var(--mono); }
.rt a { font-weight: 600; font-size: 15px; }
.route-note { grid-column: 1 / -1; font-size: 12.5px; color: var(--muted); margin: 2px 0 0; }

@media (max-width: 760px) {
  .track { grid-template-columns: 1fr; gap: 2px; position: relative; }
  .track li::before { display: none; }
  .track::before { content: ""; position: absolute; left: 25px; top: 24px; bottom: 24px; width: 2px; background: var(--line); }
  .stage { flex-direction: row; text-align: left; gap: 12px; padding: 6px; }
  .stage-ico { margin: 0; flex: 0 0 40px; }
  .stage-tx { flex: 1; align-items: flex-start; }
  .route-detail { grid-template-columns: 1fr; }
  .route-total { grid-template-columns: 1fr; }
}
.stage-ms { display: flex; flex-direction: column; align-items: inherit; }
@media (max-width: 760px) {
  .stage-ms { flex-direction: row; gap: 10px; }
  .track li .route-detail { margin: 2px 0 8px 52px; padding: 8px 0 4px; border-top: 0; }
  .track li .rd-facts { display: none; }
}

/* content pages */
.doc-wrap { padding: 28px 0 40px; }
.doc { max-width: 860px; }
.doc h1 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.15; margin-bottom: 8px; }
.doc h2 { font-size: 22px; margin: 28px 0 8px; }
.doc h3 { font-size: 17px; margin: 16px 0 6px; }
.doc .lead { margin-top: 6px; }
.doc p, .doc li { font-size: 16px; }
.doc-list { padding-left: 20px; margin: 6px 0 10px; }
.doc-list li { margin-bottom: 6px; }
.doc-grid { margin: 8px 0 12px; }
.doc-table { width: 100%; border-collapse: collapse; margin: 8px 0 12px; font-size: 15px; }
.doc-table th { text-align: left; font-weight: 600; color: var(--muted); font-size: 13px; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.doc-table td { padding: 7px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc-table.num td:not(:first-child) { font-family: var(--mono); font-size: 14px; white-space: nowrap; }
.doc-table tr:last-child td { border-bottom: 0; }
.doc-case .doc-table { margin: 6px 0; }
.note-inline { background: var(--surface-2); border-left: 4px solid var(--accent); border-radius: 6px; padding: 10px 12px; font-size: 15px; }
.doc-src { font-size: 13px; color: var(--muted); margin-top: 20px; border-top: 1px solid var(--line); padding-top: 10px; }
.doc-toc { background: var(--surface-2); border-radius: var(--radius-sm); padding: 10px 14px; font-size: 14px; line-height: 1.8; margin: 8px 0 4px; }
.doc-case-block { border-top: 1px solid var(--line); margin-top: 24px; }
.doc-case-block:first-of-type { border-top: 0; margin-top: 0; }
.doc-cta { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.pit { scroll-margin-top: 70px; }
@media (max-width: 620px) { .doc-table { font-size: 14px; display: block; overflow-x: auto; max-width: 100%; } .doc-table td, .doc-table th { padding: 6px 6px; } }
.more-link { margin-top: 12px; font-weight: 500; }
.doc-steps { padding-left: 22px; margin: 8px 0 12px; }
.doc-steps li { margin-bottom: 10px; padding-left: 4px; }
.doc-steps li::marker { font-weight: 700; color: var(--accent); }
.gloss { margin: 12px 0; display: grid; grid-template-columns: 220px 1fr; gap: 0; }
.gloss dt { font-weight: 600; padding: 9px 12px 9px 0; border-top: 1px solid var(--line); scroll-margin-top: 70px; }
.gloss dd { margin: 0; padding: 9px 0; border-top: 1px solid var(--line); font-size: 15px; }
@media (max-width: 620px) { .gloss { grid-template-columns: 1fr; } .gloss dd { border-top: 0; padding-top: 0; } }
.route-links { font-size: 14px; margin: 10px 0 0; }
.foot-links { display: flex; gap: 14px; flex-wrap: wrap; }
.changes { list-style: none; padding: 0; margin: 12px 0; border-left: 2px solid var(--line); }
.changes li { position: relative; padding: 0 0 18px 18px; }
.changes li::before { content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); }
.changes li.soon::before { border-style: dashed; border-color: var(--muted); }
.changes time { font: 600 13px var(--mono); color: var(--muted); }
.changes h3 { margin: 2px 0 4px; }
.changes p { margin-bottom: 4px; }
.faq details { border-top: 1px solid var(--line); padding: 10px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 16px; list-style-position: outside; }
.faq details p { margin: 8px 0 0; color: var(--text); }

/* articles navigation */
.art-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 20px; }
@media (max-width: 900px) { .art-cols { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .art-cols { grid-template-columns: 1fr; } }
.art-col { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.art-col h3 { font-size: 15px; margin: 0 0 6px; color: var(--muted); font-weight: 600; }
.art-col ul { list-style: none; margin: 0; padding: 0; }
.art-col li { padding: 4px 0; border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent); font-size: 15px; }
.art-col li:first-child { border-top: 0; }
.art-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 6px 0 12px; }
@media (max-width: 620px) { .art-grid { grid-template-columns: 1fr; } }
.art { display: flex; flex-direction: column; gap: 2px; color: var(--text); padding: 12px 14px; }
.art:hover { text-decoration: none; border-color: var(--accent); }
.art span { color: var(--muted); font-size: 14px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--muted); }
.related { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 14px; display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; align-items: start; }
.related-h { grid-column: 1 / -1; font-weight: 600; font-size: 15px; }
.related ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; grid-column: 1 / -1; }
.related li a { display: inline-block; font-size: 14px; background: var(--surface-2); border-radius: 980px; padding: 5px 12px; }
.next-art { grid-column: 1; display: flex; flex-direction: column; margin-top: 8px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--text); max-width: 420px; }
.next-art:hover { text-decoration: none; border-color: var(--accent); }
.next-art span { font-size: 12.5px; color: var(--muted); }
.next-art b::after { content: " \2192"; color: var(--accent); }
.all-art { grid-column: 2; align-self: end; font-size: 14px; }
@media (max-width: 560px) { .related { grid-template-columns: 1fr; } .all-art { grid-column: 1; } }
.doc-scroll { overflow-x: auto; }
.doc-scroll .doc-table { min-width: 560px; }
@media (min-width: 901px) {
  .art-col:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
  .art-col:last-child:nth-child(3n+1) ul { columns: 3; column-gap: 20px; }
  .art-col:last-child:nth-child(3n+1) li { break-inside: avoid; border-top: 0; }
}
.myths { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 12px 0; }
@media (max-width: 620px) { .myths { grid-template-columns: 1fr; } }
.myth h3 { font-size: 16px; }
.myth h3::before { content: "\2715  "; color: var(--bad); font-weight: 700; }
.myth p { font-size: 15px; }
.check { list-style: none; padding: 0; margin: 6px 0 12px; }
.check li { position: relative; padding: 6px 0 6px 30px; border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent); font-size: 15px; }
.check li:first-child { border-top: 0; }
.check li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 16px; height: 16px; border: 1.5px solid var(--muted); border-radius: 4px; }
@media print { .top, .foot, .related, .doc-cta, .crumbs { display: none !important; } body { background: #fff; color: #000; } .check li::before { border-color: #000; } }
.start-steps { list-style: none; counter-reset: s; padding: 0; margin: 14px 0; }
.start-steps li { counter-increment: s; position: relative; padding: 4px 0 14px 46px; border-top: 1px solid var(--line); }
.start-steps li:first-child { border-top: 0; }
.start-steps li::before { content: counter(s); position: absolute; left: 0; top: 10px; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--accent-text); display: grid; place-items: center; font-weight: 700; }
.start-steps h2 { font-size: 18px; margin: 10px 0 4px; }
.start-steps p { margin-bottom: 4px; }
.mono { font-family: var(--mono); }
/* document sample: paper form with numbered fields + notes */
.ds { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; margin: 12px 0 6px; font-family: var(--mono); font-size: 13px; line-height: 1.4; }
.ds-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; border-bottom: 2px solid var(--text); padding-bottom: 6px; margin-bottom: 8px; font-family: var(--sans); }
.ds-head b { font-size: 17px; letter-spacing: .04em; }
.ds-head span { font-size: 12px; color: var(--muted); }
.ds-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.ds-f { position: relative; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 6px 8px 7px 34px; min-width: 0; overflow-wrap: anywhere; }
.ds-f.w2 { grid-column: span 2; }
.ds-f small { display: block; font-family: var(--sans); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.ds-n, .ds-notes li::before { position: absolute; left: 7px; top: 7px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: var(--accent-text); font: 700 11px/20px var(--sans); text-align: center; }
.ds-f.hl { background: var(--warn-bg); }
.ds-stamp { font-family: var(--sans); font-size: 12px; color: var(--muted); margin-top: 6px; }
.ds-notes { list-style: none; counter-reset: dn; padding: 0; margin: 10px 0 12px; }
.ds-notes li { counter-increment: dn; position: relative; padding: 7px 0 7px 32px; border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent); font-size: 15px; }
.ds-notes li:first-child { border-top: 0; }
.ds-notes li::before { content: counter(dn); top: 9px; left: 0; }
.ds-notes li[value]::before { content: attr(value); }
@media (max-width: 620px) { .ds-grid { grid-template-columns: 1fr; } .ds-f.w2 { grid-column: span 1; } }
@media print { .ds-n, .ds-notes li::before { background: #000; } }
