@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url(/fonts/instrument-sans-latin-ext.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url(/fonts/instrument-sans-latin.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #ffffff;
  --soft: #f4f6f8;
  --soft-2: #eef1f4;
  --ink: #0f1b2d;
  --text: #29344a;
  --muted: #5d6879;
  --line: #e2e6eb;
  --line-2: #cfd5dd;
  --accent: #e8590c;
  --accent-2: #c94b08;
  --accent-soft: #fff3eb;
  --link: #1f4fa8;
  --ok: #17734a;
  --ok-soft: #ecf7f1;
  --warn: #9a5a00;
  --warn-soft: #fdf6e7;
  --r: 12px;
  --font: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --shadow: 0 1px 2px rgba(15, 27, 45, 0.05), 0 12px 32px -16px rgba(15, 27, 45, 0.18);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 12px; top: 12px; }
[hidden] { display: none !important; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; font-weight: 650; }
h1 { font-size: clamp(2rem, 4.2vw, 2.85rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p, ul, ol { margin: 0 0 1em; }
strong { color: var(--ink); font-weight: 600; }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, 0.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 650; font-size: 1.12rem; letter-spacing: -0.02em; white-space: nowrap; }
.brand:hover { color: var(--ink); }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; font-size: 0.95rem; }
.nav > a, .dd-btn { color: var(--text); text-decoration: none; padding: 8px 12px; border-radius: 8px; font: inherit; font-weight: 500; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.nav > a:hover, .dd-btn:hover, .dd-btn[aria-expanded="true"] { background: var(--soft); color: var(--ink); }
.nav > a[aria-current="page"], .dd.is-cur > .dd-btn { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 8px 8px 0 0; }
.dd-btn svg { transition: transform 0.15s ease; }
.dd-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav .nav-cta { margin-left: 10px; background: var(--ink); color: #fff; font-weight: 600; padding: 9px 16px; }
.nav .nav-cta:hover, .nav .nav-cta[aria-current="page"] { background: #1f2e45; color: #fff; box-shadow: none; border-radius: 8px; }
.dd { position: relative; }
.dd-panel { display: none; position: absolute; top: calc(100% + 8px); left: -8px; width: 620px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 10px; }
.dd-panel.narrow { width: 420px; }
.dd-btn[aria-expanded="true"] + .dd-panel { display: block; }
.dd-panel ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.dd-panel.narrow ul { grid-template-columns: 1fr; }
.dd-panel a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--text); line-height: 1.35; }
.dd-panel a:hover { background: var(--soft); }
.dd-panel strong { display: block; font-size: 0.95rem; margin-bottom: 2px; }
.dd-panel span { display: block; font-size: 0.83rem; color: var(--muted); }
.menu-btn { display: none; margin-left: auto; align-items: center; gap: 10px; font: inherit; font-weight: 600; font-size: 0.95rem; color: var(--ink); background: var(--soft); border: 0; border-radius: 8px; padding: 9px 14px; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 16px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform 0.15s ease; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -5px; }
.bars::after { top: 5px; }
.menu-btn[aria-expanded="true"] .bars { background: transparent; }
.menu-btn[aria-expanded="true"] .bars::before { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Common blocks ---------- */
.lede { font-size: 1.2rem; line-height: 1.55; color: var(--text); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; box-shadow: var(--shadow); }
.panel-title { font-size: 1.3rem; margin: 0 0 6px; }
.panel-intro { color: var(--muted); font-size: 0.95rem; margin-bottom: 20px; }

/* ---------- Forms ---------- */
fieldset.q { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
fieldset.q legend, .field label { display: block; padding: 0; color: var(--ink); font-weight: 600; font-size: 0.95rem; margin-bottom: 9px; }
.opt { color: var(--muted); font-weight: 400; font-size: 0.85rem; margin-left: 4px; }
.hint { font-size: 0.85rem; color: var(--muted); margin: -4px 0 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; color: var(--text); font-size: 0.93rem; line-height: 1.3; cursor: pointer; transition: border-color 0.12s, background 0.12s, color 0.12s; user-select: none; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input[type="checkbox"]:checked + span::before { content: ""; width: 10px; height: 6px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg) translate(1px, -2px); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.field { margin-bottom: 16px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], select, textarea {
  font: inherit; font-size: 1rem; width: 100%; padding: 11px 13px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--ink); transition: border-color 0.12s, box-shadow 0.12s;
}
select { appearance: none; -webkit-appearance: none; padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%235d6879' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
textarea { resize: vertical; min-height: 84px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(232, 89, 12, 0.18); }
.form-part { padding-top: 4px; }
.form-part + .form-part { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 22px; }
.form-part h4 { font-size: 1.05rem; margin: 0 0 16px; }
details.more { margin: -4px 0 16px; }
details.more summary { cursor: pointer; color: var(--link); font-size: 0.93rem; width: fit-content; }
details.more[open] summary { margin-bottom: 10px; }
.consents { display: grid; gap: 10px; margin: 6px 0 18px; padding: 14px; background: var(--soft); border-radius: 10px; }
.check { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; font-size: 0.84rem; line-height: 1.45; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--ink); }
.check em { font-style: normal; color: #7c8695; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; font: inherit; font-weight: 600; font-size: 1rem; padding: 13px 20px; border-radius: 10px; border: 0; background: var(--accent); color: #fff; cursor: pointer; text-decoration: none; transition: background 0.12s; }
.btn:hover { background: var(--accent-2); color: #fff; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.form-msg { margin: 12px 0 0; font-size: 0.93rem; min-height: 1px; }
.form-msg:empty { margin: 0; }
.form-msg.error { color: #b42318; }
.form-msg.done { color: var(--ok); font-weight: 600; padding: 12px 14px; background: var(--ok-soft); border-radius: 10px; }

/* ---------- Calculator ---------- */
.size-q { animation: rise 0.18s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.verdict { margin-top: 20px; padding: 20px; border-radius: 12px; border: 1px solid var(--line); background: var(--soft); }
.verdict .tag { font-size: 1.3rem; font-weight: 650; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.verdict .tag::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--muted); flex: none; }
.verdict.yes { background: var(--accent-soft); border-color: #f7c8ab; }
.verdict.yes .tag::before { background: var(--accent); }
.verdict.maybe { background: var(--warn-soft); border-color: #efd9a6; }
.verdict.maybe .tag::before { background: #d98c00; }
.verdict.no { background: var(--ok-soft); border-color: #bfe3cf; }
.verdict.no .tag::before { background: var(--ok); }
.verdict ul { margin: 0 0 10px; padding-left: 1.1em; }
.verdict li { margin-bottom: 6px; }
.verdict .fine { font-size: 0.85rem; color: var(--muted); margin: 0; }
.verdict .next { display: inline-block; margin-top: 12px; font-weight: 600; }

/* ---------- Home ---------- */
.hero { padding: 56px 0 64px; background: linear-gradient(180deg, var(--soft) 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 64px; align-items: start; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); line-height: 1.04; letter-spacing: -0.035em; max-width: 14ch; margin-bottom: 20px; }
.hero .lede { max-width: 54ch; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 0.86rem; font-weight: 500; color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; margin-bottom: 22px; }
.kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.facts { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 12px; max-width: 52ch; }
.facts li { position: relative; padding-left: 26px; }
.facts li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 12px; height: 12px; border-radius: 3px; background: var(--accent); }
.band { padding: 72px 0; }
.band.soft { background: var(--soft); }
.band h2 { margin-bottom: 18px; }
.band-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.band-head h2 { margin: 0; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--line-2); }
.timeline li { position: relative; padding-top: 34px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--line-2); }
.timeline li.past::before { background: var(--ink); border-color: var(--ink); }
.timeline li.now::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px rgba(232, 89, 12, 0.16); }
.timeline time { display: block; font-size: 1.35rem; font-weight: 650; color: var(--ink); letter-spacing: -0.02em; margin-bottom: 6px; }
.timeline li.now time { color: var(--accent-2); }
.timeline p { margin: 0; color: var(--muted); max-width: 34ch; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li { border-top: 1px solid var(--line-2); }
.link-list li:last-child { border-bottom: 1px solid var(--line-2); }
.link-list a { display: block; padding: 15px 0; text-decoration: none; }
.link-list strong { display: block; font-size: 1.03rem; }
.link-list span { display: block; color: var(--muted); font-size: 0.93rem; line-height: 1.5; margin-top: 2px; }
.link-list a:hover strong { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.tool-links { display: grid; gap: 12px; margin-top: 28px; }
.tool-links a { display: block; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; transition: border-color 0.12s; }
.tool-links a:hover { border-color: var(--ink); }
.tool-links strong { display: block; }
.tool-links span { color: var(--muted); font-size: 0.93rem; }
.help-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
.help-text { position: sticky; top: 100px; }

/* ---------- Inner pages ---------- */
.page-head { background: var(--soft); border-bottom: 1px solid var(--line); padding: 30px 0 34px; }
.page-head h1 { max-width: 24ch; margin-bottom: 12px; }
.page-head .meta { color: var(--muted); max-width: 70ch; margin: 0; font-size: 0.98rem; }
.crumbs { font-size: 0.88rem; color: var(--muted); margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 72px; padding: 44px 24px 72px; align-items: start; }
.article-grid.wide { grid-template-columns: minmax(0, 1fr) 340px; }
.article { max-width: 720px; min-width: 0; }
.article > h2 { margin-top: 2em; }
.article > h2:first-child, .article > .toc + h2, .article > .lede + h2 { margin-top: 1.2em; }
.article h3 { margin-top: 1.6em; }
.article ul, .article ol { padding-left: 1.25em; }
.article li { margin-bottom: 0.4em; }
.article li::marker { color: var(--muted); }
.note { background: var(--soft); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0; padding: 14px 18px; margin: 0 0 1.4em; }
.aside { display: grid; gap: 28px; min-width: 0; }
.toc { font-size: 0.92rem; }
.toc-h { font-weight: 600; color: var(--ink); margin: 0 0 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc li { margin: 0; }
.toc a { display: block; padding: 5px 0 5px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; line-height: 1.4; }
.toc a:hover { color: var(--ink); }
.toc a.on { color: var(--ink); border-left-color: var(--accent); font-weight: 500; }
.toc-side { position: sticky; top: 92px; order: 2; }
.toc-inline { display: none; background: var(--soft); border-radius: var(--r); padding: 16px 18px; margin-bottom: 28px; }
.sources { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--muted); }
.sources h2, .related h2 { font-size: 1.05rem; margin: 0 0 12px; }
.sources ol { padding-left: 1.4em; }
.sources li { margin-bottom: 4px; }
.related { margin-top: 40px; }
.related ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.related li { margin: 0; }
.related a { display: block; height: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; transition: border-color 0.12s; }
.related a:hover { border-color: var(--ink); }
.related strong { display: block; font-size: 0.97rem; line-height: 1.35; }
.related span { display: block; color: var(--muted); font-size: 0.86rem; margin-top: 4px; line-height: 1.45; }
.related.side { margin: 0; }
.related.side ul { grid-template-columns: 1fr; }
.side-note { background: var(--soft); border-radius: 16px; padding: 22px; font-size: 0.95rem; }
.side-note h2 { font-size: 1.1rem; }
.side-note ul { padding-left: 1.1em; }

/* ---------- Tables ---------- */
.tbl { margin: 1.4em 0 1.8em; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; overflow-x: auto; background: #fff; }
.tbl table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.95rem; line-height: 1.5; }
.tbl thead th { background: var(--soft); color: var(--muted); font-weight: 600; font-size: 0.84rem; text-align: left; padding: 11px 18px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl tbody th, .tbl tbody td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.tbl tbody tr:last-child > * { border-bottom: 0; }
.tbl tbody th { color: var(--ink); font-weight: 600; width: 32%; }
.tbl.cols-2 tbody th { width: 38%; }
.tbl.cols-4 tbody th { width: 18%; }
.tbl tbody td:nth-child(2) { color: var(--ink); }
.tbl tbody td { color: var(--text); }
.tbl tbody tr:hover > * { background: #fafbfc; }

/* ---------- Checklist ---------- */
.progress-box { position: sticky; top: 66px; z-index: 5; background: #fff; padding: 14px 0 10px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.progress { height: 8px; background: var(--soft-2); border-radius: 99px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 99px; transition: width 0.25s ease; }
.progress-label { font-size: 0.88rem; color: var(--muted); margin: 8px 0 0; }
.check-group h2 { font-size: 1.2rem; margin: 1.6em 0 0.6em; }
.checklist { list-style: none; padding: 0 !important; margin: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.checklist li { margin: 0 !important; border-top: 1px solid var(--line); }
.checklist li:first-child { border-top: 0; }
.checklist label { display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding: 13px 16px; cursor: pointer; align-items: start; }
.checklist label:hover { background: #fafbfc; }
.checklist input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ok); }
.checklist input:checked + span { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(93, 104, 121, 0.5); }

/* ---------- Legal ---------- */
.legal > h2 { font-size: 1.3rem; }
.doc-ver { font-size: 0.9rem; color: var(--muted); padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 1.4em; }
.addr { background: var(--soft); border-radius: var(--r); padding: 16px 18px; line-height: 1.7; }
ol.alpha { list-style: lower-alpha; }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: #aeb8c6; padding: 56px 0 28px; font-size: 0.93rem; margin-top: 0; }
.foot a { color: #e6ebf2; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot .brand { color: #fff; margin-bottom: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.foot h2 { color: #fff; font-size: 0.95rem; font-weight: 600; letter-spacing: 0; margin: 0 0 12px; }
.foot h2 + ul + h2, .foot ul + h2 { margin-top: 26px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 7px; line-height: 1.4; }
.foot-about p { max-width: 42ch; }
.foot-upd { font-size: 0.86rem; }
.foot-base { margin-top: 44px; padding-top: 22px; border-top: 1px solid #25334b; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 0.85rem; }
.foot-base p { margin: 0; text-align: right; }
.nw { display: inline-flex; align-items: center; gap: 10px; }
.nw span { color: #8b97a8; }
.nw img { height: 20px; width: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; padding: 10px 16px 18px; max-height: calc(100vh - 66px); overflow-y: auto; gap: 0; }
  .nav.open { display: flex; }
  .nav > a, .dd-btn { width: 100%; justify-content: space-between; padding: 13px 8px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav > a[aria-current="page"], .dd.is-cur > .dd-btn { box-shadow: inset 3px 0 0 var(--accent); border-radius: 0; padding-left: 14px; }
  .dd-panel, .dd-panel.narrow { position: static; width: auto; box-shadow: none; border: 0; border-radius: 0; padding: 6px 0 10px; }
  .dd-panel ul { grid-template-columns: 1fr; }
  .dd-panel span { display: none; }
  .dd-panel a { padding: 9px 12px; }
  .nav .nav-cta { margin: 16px 0 0; justify-content: center; border-radius: 10px; border: 0; }
}
@media (max-width: 960px) {
  .hero-grid, .article-grid, .article-grid.wide, .two-col, .help-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 36px 0 44px; }
  .help-text { position: static; }
  .toc-side { display: none; }
  .toc-inline { display: block; }
  .article { max-width: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-about { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 16px; }
  .article-grid { padding: 28px 16px 56px; }
  body { font-size: 1.03rem; }
  .band { padding: 52px 0; }
  .panel { padding: 20px 18px; border-radius: 14px; }
  .timeline { grid-template-columns: 1fr; gap: 26px; padding-left: 30px; }
  .timeline::before { left: 7px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; }
  .timeline li { padding-top: 0; }
  .timeline li::before { left: -30px; top: 6px; }
  .related ul { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .foot-base { flex-direction: column; align-items: flex-start; }
  .foot-base p { text-align: left; }
  /* Tablo: satırlar kart olur */
  .tbl { border: 0; border-radius: 0; overflow: visible; background: none; }
  .tbl table, .tbl tbody, .tbl tr, .tbl tbody th, .tbl tbody td { display: block; width: auto !important; }
  .tbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tbl tbody tr { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; overflow: hidden; background: #fff; }
  .tbl tbody th { background: var(--soft); padding: 11px 14px; border-bottom: 1px solid var(--line) !important; font-size: 1rem; }
  .tbl tbody td { padding: 10px 14px; border-bottom: 1px solid var(--line); }
  .tbl tbody td::before { content: attr(data-label); display: block; font-size: 0.78rem; font-weight: 600; color: var(--muted); margin-bottom: 2px; }
  .tbl tbody td:empty { display: none; }
  .tbl tbody tr > *:last-child { border-bottom: 0 !important; }
  .tbl tbody tr:hover > * { background: inherit; }
  .tbl tbody tr:hover > th { background: var(--soft); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
@media print {
  .top, .foot, .aside, .toc, form, .tool { display: none !important; }
  .article-grid { display: block; padding: 0; }
  .page-head { background: none; border: 0; padding: 0; }
}
