/* WIACP tema belgeleri. Harici kaynak yok; yazı tipi pakette. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("inter-latin-wght-normal.woff2?v=0.2.0-alpha.92") format("woff2");
  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;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("inter-latin-ext-wght-normal.woff2?v=0.2.0-alpha.92") format("woff2");
  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;
}

:root {
  --bg: #ffffff;
  --surface: #f4f6f9;
  --surface-2: #e9edf2;
  --ink: #15202b;
  --ink-2: #33414f;
  --muted: #55626f;
  --line: #d9e0e7;
  --line-strong: #98a5b3;
  --primary: #1450a3;
  --primary-ink: #ffffff;
  --focus: #1450a3;
  --code-bg: #f3f5f8;
  --code-ink: #1d2a36;
  --mark: #fff1a8;
  --public: #1a56b8;
  --public-bg: #e8f0fc;
  --auth: #7034ad;
  --auth-bg: #f2ebfb;
  --client: #0b6e44;
  --client-bg: #e4f4ec;
  --h-c: #5d6b78;
  --h-s: #0b6e44;
  --h-d: #a3261b;
  --h-a: #7034ad;
  --h-v: #1450a3;
  --h-t: #8a3b00;
  --h-k: #a3261b;
  --h-f: #6a4a00;
  --shadow: 0 1px 2px rgba(21, 32, 43, .06), 0 8px 24px rgba(21, 32, 43, .08);
  --radius: 10px;
  --top-h: 60px;
  --side-w: 288px;
  --toc-w: 224px;
  --measure: 46rem;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1620;
    --surface: #16202c;
    --surface-2: #1e2a38;
    --ink: #e6ebf1;
    --ink-2: #c9d2dc;
    --muted: #a3b0be;
    --line: #2a3644;
    --line-strong: #5b6b7c;
    --primary: #86b6ff;
    --primary-ink: #0f1620;
    --focus: #86b6ff;
    --code-bg: #131c27;
    --code-ink: #dbe3ec;
    --mark: #5a4b00;
    --public: #8db9ff;
    --public-bg: #172a46;
    --auth: #cfa9f5;
    --auth-bg: #2a1d3d;
    --client: #74d6a6;
    --client-bg: #13321f;
    --h-c: #93a1b0;
    --h-s: #86d9ae;
    --h-d: #ff9e94;
    --h-a: #d3b0f6;
    --h-v: #94c0ff;
    --h-t: #ffb47c;
    --h-k: #ff9e94;
    --h-f: #f2d27a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1620;
  --surface: #16202c;
  --surface-2: #1e2a38;
  --ink: #e6ebf1;
  --ink-2: #c9d2dc;
  --muted: #a3b0be;
  --line: #2a3644;
  --line-strong: #5b6b7c;
  --primary: #86b6ff;
  --primary-ink: #0f1620;
  --focus: #86b6ff;
  --code-bg: #131c27;
  --code-ink: #dbe3ec;
  --mark: #5a4b00;
  --public: #8db9ff;
  --public-bg: #172a46;
  --auth: #cfa9f5;
  --auth-bg: #2a1d3d;
  --client: #74d6a6;
  --client-bg: #13321f;
  --h-c: #93a1b0;
  --h-s: #86d9ae;
  --h-d: #ff9e94;
  --h-a: #d3b0f6;
  --h-v: #94c0ff;
  --h-t: #ffb47c;
  --h-k: #ff9e94;
  --h-f: #f2d27a;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.65 var(--font);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; }
a { color: var(--primary); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
code, kbd, pre { font-family: var(--mono); font-size: .875em; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.i { width: 1.25rem; height: 1.25rem; fill: currentColor; flex: none; }
html:not(.js) .js-only { display: none !important; }

.skip {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--primary); color: var(--primary-ink); padding: 10px 14px; border-radius: 8px; font-weight: 600;
}
.skip:focus { top: 10px; }

/* Üst çubuk */
.top { position: sticky; top: 0; z-index: 40; background: var(--bg); border-bottom: 1px solid var(--line); }
.top__in { height: var(--top-h); display: flex; align-items: center; gap: 12px; padding: 0 20px; max-width: 1600px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; min-width: 0; }
.mark__bg { fill: var(--ink); }
.mark__fg { fill: var(--bg); }
.brand__t { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-weight: 750; letter-spacing: .02em; }
.brand__sub { font-size: .8125rem; color: var(--muted); }
.ver { font: 500 .75rem/1 var(--mono); color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 5px 9px; white-space: nowrap; }
.top__tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.search-btn, .tool {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
  border-radius: 8px; font: inherit; font-size: .9375rem; cursor: pointer; text-decoration: none;
}
.search-btn { min-width: 220px; }
.search-btn__k { margin-left: auto; font-size: .75rem; color: var(--muted); border: 1px solid var(--line); border-radius: 5px; padding: 2px 6px; background: var(--bg); }
.search-btn:hover, .tool:hover { border-color: var(--line-strong); color: var(--ink); }
.tool [data-icon] { display: none; }
html[data-theme="light"] .tool [data-icon="light"],
html[data-theme="dark"] .tool [data-icon="dark"],
html:not([data-theme="light"]):not([data-theme="dark"]) .tool [data-icon="auto"] { display: inline-flex; }

/* Düzen */
.shell { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr) var(--toc-w); max-width: 1600px; margin: 0 auto; }
.side {
  position: sticky; top: var(--top-h); align-self: start; height: calc(100vh - var(--top-h)); height: calc(100dvh - var(--top-h));
  overflow-y: auto; overscroll-behavior: contain; border-right: 1px solid var(--line); padding: 20px 14px 40px 20px;
}
main { min-width: 0; padding: 28px clamp(20px, 4vw, 56px) 48px; }
main:focus { outline: none; }
.toc { position: sticky; top: var(--top-h); align-self: start; max-height: calc(100vh - var(--top-h)); overflow-y: auto; padding: 32px 20px 32px 0; font-size: .875rem; }

/* Menü */
.nav__group { margin-bottom: 22px; }
.nav__title { margin: 0 0 6px 10px; font-size: .8125rem; font-weight: 650; color: var(--ink); }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav a {
  display: flex; gap: 8px; align-items: baseline; padding: 6px 10px; border-radius: 6px;
  color: var(--ink-2); text-decoration: none; font-size: .9063rem; line-height: 1.35;
}
.nav a:hover { background: var(--surface); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--surface-2); color: var(--ink); font-weight: 600; box-shadow: inset 3px 0 0 var(--primary); }
.nav__num { font: 500 .75rem/1.6 var(--mono); color: var(--muted); min-width: 2.2em; }
.nav__sub a { padding-left: 18px; }
.mnav { display: none; }

/* Belge */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; font-size: .875rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.crumbs a { color: var(--muted); }
.doc { max-width: var(--measure); }
.doc__head { margin-bottom: 28px; }
.doc__num { margin: 0 0 4px; font: 600 .875rem/1 var(--mono); color: var(--muted); }
h1, h2, h3 { color: var(--ink); line-height: 1.25; letter-spacing: -.012em; }
h1 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.375rem); font-weight: 750; margin: 0 0 12px; letter-spacing: -.022em; }
.doc h2, .doc section > h2 { font-size: 1.375rem; font-weight: 700; margin: 2.4em 0 .6em; padding-top: .2em; }
.doc h3 { font-size: 1.0625rem; font-weight: 650; margin: 1.6em 0 .4em; }
.doc p, .doc li { color: var(--ink-2); }
.doc strong { color: var(--ink); font-weight: 650; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin: .3em 0; }
.doc li::marker { color: var(--muted); }
.anchor { color: inherit; text-decoration: none; }
.anchor:hover { text-decoration: underline; text-decoration-color: var(--line-strong); }
.lead { font-size: 1.125rem; color: var(--ink-2); max-width: 40rem; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 10px 0 0; }
.chips li { margin: 0; font-size: .8125rem; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.tag { display: inline-block; margin-left: 6px; font: 500 .75rem/1.4 var(--font); color: var(--ink-2); border: 1px solid var(--line-strong); border-radius: 5px; padding: 1px 6px; white-space: nowrap; }

:not(pre) > code { background: var(--code-bg); color: var(--code-ink); border: 1px solid var(--line); border-radius: 5px; padding: .08em .35em; overflow-wrap: anywhere; }
.rg { font-weight: 600; }
:not(pre) > code.rg-public { color: var(--public); background: var(--public-bg); border-color: transparent; }
:not(pre) > code.rg-auth { color: var(--auth); background: var(--auth-bg); border-color: transparent; }
:not(pre) > code.rg-client { color: var(--client); background: var(--client-bg); border-color: transparent; }

/* Kod */
.code { position: relative; margin: 1.2em 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--code-bg); }
.code__lang { position: absolute; top: 8px; left: 14px; font: 500 .75rem/1 var(--mono); color: var(--muted); }
.code pre { margin: 0; padding: 32px 16px 16px; overflow-x: auto; color: var(--code-ink); line-height: 1.6; tab-size: 4; }
.code[data-lang="text"] pre { padding-top: 16px; }
.copy {
  position: absolute; top: 6px; right: 6px; min-height: 32px; padding: 0 10px; font: 500 .8125rem/1 var(--font);
  border: 1px solid var(--line); background: var(--bg); color: var(--ink-2); border-radius: 6px; cursor: pointer;
}
.copy:hover { color: var(--ink); border-color: var(--line-strong); }
.hc { color: var(--h-c); font-style: italic; }
.hs { color: var(--h-s); }
.hd { color: var(--h-d); font-weight: 600; }
.ha { color: var(--h-a); font-weight: 600; }
.hv { color: var(--h-v); }
.ht { color: var(--h-t); }
.hk { color: var(--h-k); }
.hf { color: var(--h-f); }

/* Tablolar */
.tbl { margin: 1.2em 0; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.tbl table { border-collapse: collapse; width: 100%; font-size: .9063rem; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.tbl thead th { background: var(--surface); color: var(--ink); font-weight: 650; font-size: .8438rem; white-space: nowrap; }
.tbl tbody tr:last-child > * { border-bottom: 0; }
.tbl td { color: var(--ink-2); min-width: 9rem; }
.tbl td:first-child, .tbl th[scope="row"] { min-width: 8rem; }
.tbl tbody th { font-weight: 500; }
table.ref tbody tr:target { background: var(--mark); }
table.ref tbody tr:target > * { color: var(--ink); }

/* Alt gezinme */
.pager { max-width: var(--measure); display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 56px; }
.pager a { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.pager a:hover { border-color: var(--line-strong); }
.pager__next { grid-column: 2; text-align: right; align-items: flex-end; }
.pager__dir { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; color: var(--muted); }
.pager__t { color: var(--ink); font-weight: 600; }
.foot { max-width: var(--measure); margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .8438rem; color: var(--muted); }
.foot p { margin: .3em 0; }

/* Sayfadaki başlıklar */
.toc__title { margin: 0 0 8px; font-weight: 650; color: var(--ink); }
.toc ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 4px 0 4px 12px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; line-height: 1.4; }
.toc a:hover { color: var(--ink); }
.toc a[aria-current="true"] { color: var(--ink); border-left-color: var(--primary); font-weight: 600; }

/* Genel bakış */
.hero { padding: 8px 0 12px; }
.hero h1 { max-width: 26ch; }
.start { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.start li { margin: 0; }
.start a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.start a:hover { border-color: var(--line-strong); background: var(--surface); }
.start__t { color: var(--ink); font-weight: 650; }
.start__d { color: var(--muted); font-size: .9063rem; }

/* Sözleşme haritası: sayfanın akılda kalan parçası. */
.map { max-width: none; }
.doc .map { margin-right: calc(-1 * var(--toc-w)); }
.map__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-top: 18px; }
.map__col { padding: 18px 18px 20px; border-top: 4px solid var(--rc); background: linear-gradient(var(--rbg), var(--rbg)) top / 100% 64px no-repeat; }
.map__col + .map__col { border-left: 1px solid var(--line); }
.map__col--public { --rc: var(--public); --rbg: var(--public-bg); }
.map__col--auth { --rc: var(--auth); --rbg: var(--auth-bg); }
.map__col--client { --rc: var(--client); --rbg: var(--client-bg); }
.map h3 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 14px; font-size: 1rem; }
.map__n { margin-left: auto; font: 600 .8125rem/1 var(--mono); color: var(--ink-2); }
.map ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.map li { margin: 0; }
.map ul a {
  display: inline-flex; align-items: center; min-height: 30px; padding: 3px 9px; border-radius: 6px;
  font: 500 .8125rem/1.3 var(--mono); color: var(--ink-2); background: var(--bg); border: 1px solid var(--line); text-decoration: none;
}
.map ul a::after { content: ".wcp"; color: var(--muted); }
.map ul a:hover { border-color: var(--rc); color: var(--ink); }
.intro { margin-top: 12px; }

/* Bölüm kartları */
.cards { list-style: none; padding: 0 !important; margin: 2em 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cards li { margin: 0; }
.cards a { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; height: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.cards a:hover { border-color: var(--line-strong); background: var(--surface); }
.cards__n { grid-row: span 2; font: 600 .8125rem/1.6 var(--mono); color: var(--muted); }
.cards__t { color: var(--ink); font-weight: 600; line-height: 1.35; }
.cards__m { color: var(--muted); font-size: .8125rem; }

/* Sürüm geçmişi */
.log { list-style: none; padding: 0 !important; margin: 1.5em 0; border-left: 2px solid var(--line); }
.log li { position: relative; margin: 0 0 22px; padding-left: 22px; }
.log li::before { content: ""; position: absolute; left: -7px; top: .45em; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--primary); }
.log p { margin: 0; }
.log__v { font: 600 .875rem/1.5 var(--mono); color: var(--ink); }
.log__t { font-weight: 600; }
.log__m { font-size: .8438rem; color: var(--muted); }
.plain { list-style: none; padding: 0 !important; }
.mono-list { display: flex; flex-wrap: wrap; gap: 6px; }

/* Arama */
.sd {
  width: min(680px, calc(100vw - 24px)); max-height: min(640px, calc(100dvh - 48px)); margin: 8vh auto auto; padding: 0;
  border: 1px solid var(--line); border-radius: 14px; background: var(--bg); color: var(--ink); box-shadow: var(--shadow);
}
.sd::backdrop { background: rgba(9, 14, 20, .5); }
.sd__form { display: flex; flex-direction: column; max-height: inherit; }
.sd__bar { display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 16px; border-bottom: 1px solid var(--line); }
.sd__bar input { flex: 1; min-width: 0; min-height: 44px; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 1.0625rem; outline: none; }
.sd__bar:has(input:focus-visible) { box-shadow: inset 0 -2px 0 var(--focus); }
.sd__bar input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.sd__close { min-height: 36px; padding: 0 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); border-radius: 6px; font: inherit; font-size: .8125rem; cursor: pointer; }
.sd__status { margin: 0; padding: 10px 16px; font-size: .8438rem; color: var(--muted); }
.sd__list { list-style: none; margin: 0; padding: 0 8px 10px; overflow-y: auto; }
.sd__list a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.sd__list [aria-selected="true"] a { background: var(--surface-2); box-shadow: inset 3px 0 0 var(--primary); }
.sd__t { display: block; font-weight: 600; }
.sd__g { display: block; font-size: .8125rem; color: var(--muted); }
.sd__x { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; margin-top: 2px; font-size: .875rem; color: var(--ink-2); overflow: hidden; }
.sd mark { background: var(--mark); color: inherit; border-radius: 2px; }

/* Kök ve 404 */
.solo { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px; }
.solo__box { width: min(640px, 100%); padding: 0; }
.solo__box .mark { width: 44px; height: 44px; }
.solo__h { margin: 16px 0 20px; }
.solo__code { margin: 16px 0 0; font: 700 3rem/1 var(--mono); color: var(--muted); }
.solo__langs { display: grid; gap: 8px; }
.solo__langs h1, .solo__langs h2 { font-size: 1.375rem; margin: 18px 0 6px; }
.solo__pick { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.solo__pick a { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.solo__pick a:hover { border-color: var(--line-strong); background: var(--surface); }
.solo__l { font-size: 1.125rem; font-weight: 700; color: var(--ink); }
.solo__d { color: var(--ink-2); font-size: .9375rem; }

/* Duyarlı düzen */
@media (max-width: 1279px) {
  .shell { grid-template-columns: var(--side-w) minmax(0, 1fr); }
  .toc { display: none; }
  .doc .map { margin-right: 0; }
}
@media (max-width: 959px) {
  .shell { display: block; }
  .side { display: none; }
  .mnav { display: block; position: sticky; top: var(--top-h); z-index: 30; background: var(--bg); border-bottom: 1px solid var(--line); }
  .mnav > summary { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; cursor: pointer; font-weight: 600; list-style: none; }
  .mnav > summary::-webkit-details-marker { display: none; }
  .mnav[open] > summary { border-bottom: 1px solid var(--line); }
  .mnav .nav { max-height: calc(100vh - var(--top-h) - 48px); max-height: calc(100dvh - var(--top-h) - 48px); overflow-y: auto; padding: 16px 14px 24px; }
  html { scroll-padding-top: calc(var(--top-h) + 64px); }
  .map__grid { grid-template-columns: 1fr; }
  .map__col + .map__col { border-left: 0; border-top: 4px solid var(--rc); }
}
@media (max-width: 719px) {
  .top__in { padding: 0 12px; gap: 8px; }
  .ver { display: none; }
  .search-btn { min-width: 0; padding: 0 10px; }
  .search-btn__t, .search-btn__k { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .lang span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .tool, .search-btn { min-width: 44px; justify-content: center; }
  main { padding: 20px 16px 40px; }
  .start, .cards { grid-template-columns: 1fr; }
  .pager { grid-template-columns: 1fr; }
  .pager__next { grid-column: 1; }
  .code pre { font-size: .8125rem; }
  .sd { margin-top: 12px; }
}
@media (max-width: 380px) {
  .brand__sub { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (forced-colors: active) {
  .nav a[aria-current="page"], .toc a[aria-current="true"] { outline: 2px solid CanvasText; }
  .map__col { border-top-color: CanvasText; }
}
@media print {
  .top, .side, .toc, .mnav, .pager, .copy, .sd, .skip { display: none !important; }
  .shell { display: block; }
  main { padding: 0; }
  .doc { max-width: none; }
  a { color: inherit; }
  .code, .tbl { break-inside: avoid; }
}

/* Düzeltmeler: liste girintisi, numara sütunu, tablo ilk sütunu. */
.doc ul.chips, .doc ul.start, .doc ul.cards, .doc ul.plain, .doc ol.log, .doc .map ul { padding-left: 0; }
.nav__num { flex: none; min-width: 2.7em; white-space: nowrap; }
.tbl th code, .tbl td:first-child > code:only-child { white-space: nowrap; overflow-wrap: normal; }
table.ref code { white-space: nowrap; overflow-wrap: normal; }
