@font-face {
  font-family: Offset Mark;
  src: url(/media/fonts/AppleGaramond.ttf) format("truetype");
  font-display: swap;
}
@font-face {
  font-family: Albert Sans;
  src: url(fonts/albert.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Sora;
  src: url(fonts/sora.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --ink: #0b0c0d;
  --paper: #f6f6f6;
  --signal: #ff4400;
  --link: #9c2c00;
  --muted: #565960;
  --line: #d7d9da;
  --side: #eceeef;
  --header-height: 65px;
}
* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-height) + 24px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 "Albert Sans", Arial, sans-serif; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }
.skip { position: fixed; z-index: 20; top: 8px; left: 8px; padding: 8px 14px; background: white; transform: translateY(-160%); }
.skip:focus { transform: none; }
.site-header { position: sticky; z-index: 5; top: 0; min-height: var(--header-height); display: flex; align-items: center; gap: 24px; padding: 10px clamp(16px, 3vw, 45px); background: var(--ink); color: var(--paper); }
.site-header a { text-decoration: none; }
.site-header a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-header :focus-visible { outline-color: #ff8a62; }
.wordmark { font-family: "Offset Mark", Garamond, Georgia, serif; font-weight: 400; font-size: 41px; line-height: 1; letter-spacing: -.01em; white-space: nowrap; }
.site-name { padding-left: 0; line-height: 1.15; font-weight: 650; }
.header-actions { display: flex; align-items: center; gap: 19px; margin-left: auto; font-size: .9rem; }
.header-actions button { background: transparent; color: inherit; padding: 4px 10px; border: 1px solid #727579; }
.layout { display: grid; grid-template-columns: minmax(238px, 20vw) minmax(0, 1fr); min-height: calc(100dvh - var(--header-height)); }
#sidebar { position: sticky; top: var(--header-height); height: calc(100dvh - var(--header-height)); overflow: auto; align-self: start; padding: 22px 16px; background: var(--side); border-right: 1px solid var(--line); font-size: .93rem; }
#filter-label { display: block; font-weight: 650; margin-bottom: 5px; }
#filter { width: 100%; padding: 8px 9px; color: var(--ink); border: 1px solid #aeb1b5; border-radius: 4px; background: var(--paper); }
#filter-status { margin: 6px 0; font-size: .84rem; color: var(--muted); }
#filter-status:empty { display: none; }
#tree { margin-top: 16px; }
#tree a { display: block; padding: 7px 8px; text-decoration: none; line-height: 1.35; border-radius: 3px; }
#tree a:hover, #tree summary:hover { background: #e0e3e5; }
#tree [aria-current] { background: #ffdfd2; font-weight: 700; }
#tree a small { display: block; color: var(--muted); font-size: .75rem; }
#tree details { margin: 5px 0; }
#tree summary { cursor: pointer; padding: 7px 8px; font-weight: 700; border-radius: 3px; }
#tree ul { list-style: none; padding: 2px 0 2px 14px; margin: 0; }
#tree .matches { padding-left: 0; }
.menu { display: none; }
#main { min-width: 0; }
#view { max-width: 1240px; margin-inline: auto; padding: clamp(24px, 4vw, 62px); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 4px 10px; color: var(--muted); font-size: .86rem; margin-bottom: 28px; }
.breadcrumb a { text-underline-offset: 3px; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 175px; gap: clamp(22px, 3vw, 48px); align-items: start; }
.article-grid > article { min-width: 0; }
h1, h2, h3 { line-height: 1.13; text-wrap: pretty; }
h1 { margin: 0 0 17px; font-size: clamp(2.2rem, 4.1vw, 4rem); letter-spacing: -.055em; font-weight: 700; overflow-wrap: normal; }
h2 { font-size: clamp(1.47rem, 2.45vw, 2rem); letter-spacing: -.028em; margin: 0 0 13px; }
h3 { font-size: 1.12rem; margin: 0 0 7px; }
.lead { font: 1rem/1.75 Sora, Arial, sans-serif; color: var(--muted); max-width: 54ch; }
.article-header { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.article-header::before { content: ""; display: block; width: 46px; height: 4px; background: var(--signal); margin-bottom: 20px; }
.article-type { margin: 0 0 10px; color: var(--muted); font-size: .85rem; }
.content-section { margin: 0; padding: 28px 0; border-bottom: 1px solid var(--line); }
.content-section > p { max-width: 65ch; }
.toc { position: sticky; top: calc(var(--header-height) + 20px); max-height: calc(100dvh - var(--header-height) - 30px); overflow: auto; border-left: 1px solid var(--line); padding-left: 13px; font-size: .88rem; }
.toc strong { display: block; margin-bottom: 6px; }
.toc a { display: block; padding: 4px 3px; color: var(--muted); text-decoration: none; line-height: 1.4; }
.toc a:hover, .toc a[aria-current] { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 12px; margin-top: 16px; }
.tile { display: block; padding: 16px; color: inherit; background: #fff; border: 1px solid var(--line); text-decoration: none; }
.tile:hover { border-color: var(--link); }
.tile:hover h3 { color: var(--link); text-decoration: underline; }
.tile small, .tile p, .path, .pending { color: var(--muted); }
.tile p { margin: 0; font-size: .93rem; line-height: 1.5; }
.path { overflow-wrap: normal; }
.metadata { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 0; }
.metadata dt { color: var(--muted); font-size: .85rem; }
.metadata dd { margin: 3px 0 0; font-weight: 600; }
.anchor { margin-left: 5px; font-size: .8em; color: var(--link); text-decoration: none; }
.page-links { display: flex; flex-wrap: wrap; gap: 9px 18px; padding-top: 22px; }
.page-links a { color: var(--link); text-underline-offset: 3px; }
footer { display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between; padding: 18px clamp(16px, 4vw, 62px); border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; }
@media (max-width: 1100px) {
  .article-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .toc { grid-row: 1; position: static; max-height: none; }
  .toc a { display: inline-block; margin-right: 10px; }
}
@media (max-width: 720px) {
  :root { --header-height: 57px; }
  .site-header { gap: 12px; padding: 8px 12px; }
  .wordmark { font-size: 32px; }
  .site-name { font-size: .8rem; padding-left: 10px; }
  .header-actions { gap: 8px; }
  .header-actions > a { display: none; }
  .layout { display: block; }
  .menu { display: block; width: 100%; text-align: left; padding: 10px 16px; font-weight: 700; background: var(--side); border: 0; border-bottom: 1px solid var(--line); }
  #sidebar { display: none; position: static; height: auto; max-height: 62dvh; border-right: 0; border-bottom: 1px solid var(--line); }
  #sidebar.open { display: block; }
  #view { padding: 22px 16px 35px; }
}
.wordmark sup {
  font: 700 .35em/1 "Albert Sans", Arial, sans-serif;
  vertical-align: super;
  margin-left: .06em;
}

/* off---set Web-CI: Carbon, rounded surfaces and glass navigation. */
:root {
  --ink: #f6f6f6;
  --paper: #0b0c0d;
  --side: #121314;
  --line: #34373b;
  --muted: #b6b9bd;
  --link: #ff946e;
  --radius: 12px;
  --header-height: 89px;
  --left-width: 264px;
  --right-width: 218px;
  color-scheme: dark;
}
body { font: 300 1rem/1.7 Sora, sans-serif; }
.site-header { display: block; min-height: var(--header-height); padding: 10px clamp(12px, 3vw, 45px); background: transparent; color: var(--ink); }
.header-capsule { display: flex; align-items: center; gap: 20px; max-width: 1050px; min-height: 64px; margin: auto; padding: 7px 23px; border: 0; border-radius: 999px; background: #161819eb; backdrop-filter: blur(20px); }
.site-name, h1, h2, h3, .article-type, #filter-label, #tree summary, .toc strong { font-family: "Albert Sans", sans-serif; text-transform: uppercase; }
.site-name { font-size: .83rem; letter-spacing: .08em; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
h1 { font-size: clamp(2.15rem, 3.9vw, 4.75rem); }
h2 { font-size: clamp(1.45rem, 2.45vw, 2.75rem); }
h3 { font-size: 1.2rem; }
.article-type, #filter-label, .toc strong { font-weight: 700; font-size: .8125rem; letter-spacing: .12em; }
.header-actions button, .chapter-tools button { min-height: 44px; padding: 6px 13px; border: 1px solid #66696d; border-radius: 999px; background: #202225; color: var(--ink); font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.layout { grid-template-columns: minmax(0, var(--left-width)) 12px minmax(0, 1fr); }
#sidebar { border-radius: 0 var(--radius) var(--radius) 0; overflow-wrap: normal; }
#filter { min-height: 44px; border: 0; background: var(--side); border-radius: 999px; padding-inline: 13px; }
#tree a, #tree summary { border-radius: 9px; }
#tree a:hover, #tree summary:hover { background: #242628; }
#tree [aria-current] { background: #42261c; color: #ffb79c; }
.article-grid { grid-template-columns: minmax(0, 1fr) 12px minmax(0, var(--right-width)); gap: 16px; }
#view { max-width: 1500px; padding: 25px clamp(18px, 2.6vw, 50px) 50px; }
.toc { border: 0; padding: 15px; background: var(--side); border-radius: var(--radius); overflow-wrap: normal; }
.tile { background: var(--side); border-radius: var(--radius); }
.content-section { padding-block: 29px; }
.policy-copy { max-width: 68ch; }
.policy-copy p { margin: 0 0 1em; }
.policy-copy p:last-child { margin-bottom: 0; }
.chapter { border: 1px solid var(--line); background: var(--side); border-radius: var(--radius); }
.chapter summary { cursor: pointer; min-height: 44px; padding: 12px 16px; font-size: .88rem; font-weight: 700; }
.chapter[open] summary { border-bottom: 1px solid var(--line); }
.chapter .policy-copy { padding: 17px 16px; }
.chapter-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.status-note { border-left: 2px solid var(--signal); padding: 10px 14px; background: #1b1817; border-radius: 0 9px 9px 0; }
.splitter { position: sticky; top: var(--header-height); height: calc(100dvh - var(--header-height)); cursor: col-resize; touch-action: none; }
body.resizing { cursor: col-resize; user-select: none; }
@media (max-width: 1100px) {
  .article-grid { grid-template-columns: minmax(0, 1fr); }
  .split-right { display: none; }
}
@media (max-width: 720px) {
  :root { --header-height: 76px; }
  .header-capsule { min-height: 56px; padding-inline: 13px; gap: 12px; }
  .site-name { font-size: .68rem; padding-left: 10px; }
  .split-left { display: none; }
  .menu { min-height: 44px; color: var(--ink); }
  .toc { padding: 12px; }
}
@media (max-width: 360px) {
  .header-capsule { gap: 8px; padding-inline: 10px; }
  .site-name { font-size: .6rem; padding-left: 7px; }
  .wordmark { font-size: 28px; }
}
.skip { background: #f6f6f6; color: #0b0c0d; }
.chapter-tools { margin-top: 16px; }
.policy-copy a { color: var(--link); text-underline-offset: 3px; }

/* Documentation chrome and reading surfaces. */
html, body, #sidebar, .toc { scrollbar-width: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar,
#sidebar::-webkit-scrollbar, .toc::-webkit-scrollbar { display: none; }
.site-header { background: var(--paper); }
.header-capsule { background: #161819; }
#sidebar, .toc { background: transparent; border: 0; border-radius: 0; }
#sidebar { padding-inline: clamp(14px, 2vw, 29px); }
.toc { padding: 2px 0 14px; }
[data-ci-icon] { width: 1.15em; height: 1.15em; flex: none; vertical-align: middle; }
#desktop-tree { display: grid; place-items: center; min-width: 44px; }
#desktop-tree [data-ci-icon] { width: 21px; height: 21px; }
.filter-field { position: relative; }
#filter { padding-inline-start: 39px; }
#tree summary { display: flex; align-items: center; gap: 8px; min-height: 36px; }
#tree summary > .tree-chevron { display: grid; place-items: center; flex: none; width: 12px; height: 12px; transform: rotate(-90deg); }
#tree details[open] > summary > .tree-chevron { transform: none; }
#tree summary > .tree-chevron [data-ci-icon], #sidebar #tree summary > .tree-chevron [data-ci-icon] { width: 12px; height: 12px; margin: 0; }
#tree summary::-webkit-details-marker { display: none; }
.article-header, .content-section { padding: clamp(18px, 2.4vw, 34px); border: 1px solid #2b2e31; border-radius: 16px; background: var(--side); }
.article-header::before { display: none; }
.article-header h1 { font-size: clamp(2rem, 3.55vw, 4.3rem); max-width: 21ch; }
.article-icon, .tile-icon { display: grid; place-items: center; border-radius: 11px; background: #29211e; color: #ff946e; width: 44px; height: 44px; margin-bottom: 14px; }
.article-icon [data-ci-icon], .tile-icon [data-ci-icon] { width: 22px; height: 22px; }
.content-section { margin-block: 16px; }
.content-section h2 { font-size: clamp(1.3rem, 1.95vw, 2rem); line-height: 1.2; }
.content-section > p, .policy-copy { max-width: 65ch; }
.anchor { display: inline-block; padding: 3px; }
.anchor [data-ci-icon] { width: 16px; height: 16px; }
.section-jumps { display: flex; flex-wrap: wrap; gap: 5px 16px; margin-block: 12px 0; font-size: .88rem; }
.section-jumps a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 4px; color: var(--muted); }
.section-jumps a:hover { color: var(--link); }
.tile { background: #1b1d1f; }
.chapter { background: #181a1b; }
.editorial-note { margin: 0 16px 16px; padding: 14px; border-radius: 9px; background: #28211d; }
.chapter .editorial-note .policy-copy { padding: 0; }
@media (max-width: 720px) {
  #desktop-tree { display: none; }
  .article-header, .content-section { padding: 18px; }
}
.policy-copy ul { padding-inline-start: 1.3em; }

/* The documentation reads as an article. Cards are reserved for navigation and graphics. */
:root { --header-height: 67px; }
.article-header, .content-section { padding-inline: 0; border: 0; border-radius: 0; background: transparent; }
.article-header { padding-block: 4px 14px; }
.content-section { padding-block: 20px; margin-block: 10px; }
.article-header h1 { font-size: clamp(2rem, 3.5vw, 4.1rem); }
.content-section h2 { text-transform: none; }
.chapter { border: 0; border-radius: 0; background: transparent; }
.chapter summary { padding-inline: 0; color: var(--link); }
.chapter[open] summary { border: 0; }
.chapter .policy-copy { padding: 4px 0; }
.article-icon { display: none; }
.status-note { display: inline-block; font-size: .85rem; background: transparent; }
.site-header { padding: 7px 12px; transition: transform .18s ease; }
.site-header.scroll-away:not(:focus-within) { transform: translateY(-100%); pointer-events: none; }
.header-capsule { width: max-content; max-width: 100%; min-height: 49px; padding: 3px 9px 3px 17px; gap: 12px; }
.wordmark { font-size: 32px; }
.site-name { font-size: .75rem; }
.header-actions { gap: 4px; }
.header-actions button, .site-menu summary { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.reader-tools { display: flex; justify-content: space-between; padding: 0 clamp(12px,3vw,38px); gap: 6px; }
.reader-tools button { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; min-height: 44px; background: none; border: 0; color: var(--ink); font-size: .85rem; }
.reader-tools button[hidden], .reader-tools #menu, .toc[hidden], .toc-collapsed .split-right { display: none; }
.article-grid.toc-collapsed { grid-template-columns: minmax(0,1fr); }
#tree a:has(svg) { display: grid; grid-template-columns: 19px minmax(0,1fr); align-items: start; column-gap: 7px; }
#tree a:has(svg) small { grid-column: 2; }
#tree a svg { margin-top: 2px; color: var(--link); }
.path-steps { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-left: 1.4em; }
.download-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 6px 15px; text-decoration: none; }
.download-link:hover { border-color: var(--link); }
.work-link { color: var(--link); }
:root[data-theme="light"] { --ink:#0b0c0d; --paper:#f6f6f6; --side:#fff; --line:#c7c9cb; --muted:#50545a; --link:#9a2c00; color-scheme:light; }
[data-theme="light"] .header-capsule { background:#fff; border-color:var(--line); }
[data-theme="light"] #tree a:hover, [data-theme="light"] #tree summary:hover,
[data-theme="light"] .chapter-tools button, [data-theme="light"] .tile { background:#eee; }
[data-theme="light"] #tree [aria-current], [data-theme="light"] .editorial-note,
[data-theme="light"] .tile-icon { background:#ffe9df; color:#852700; }
[data-theme="light"] .chapter-tools button { color:var(--ink); border-color:var(--line); }
[data-theme="light"] .policy-copy { color:var(--ink); }
@media (max-width: 720px) {
  :root { --header-height: 59px; }
  .site-header { padding: 4px 8px; }
  .header-capsule { padding-left: 10px; gap: 8px; }
  .wordmark { font-size: 28px; }
  .site-name { display: none; }
  .reader-tools #menu { display: inline-flex; width: auto; }
  .reader-tools #desktop-tree { display: none; }
  .reader-tools { position: sticky; top: 0; z-index: 4; background: var(--paper); }
  #sidebar.open { border: 0; }
  .toc { padding: 10px 0; max-height: 48dvh; overflow-y: auto; }
}
@media (prefers-reduced-motion: reduce) { .site-header { transition: none; } }
@media (max-width: 720px) {
  html { scroll-padding-top: calc(var(--header-height) + 49px); }
  .reader-tools { top: 0; }
}

/* 0.6 · Reading hierarchy and shared control sizes. */
:root { --control-height: 44px; --icon-ink: #f6f6f6; }
:root[data-theme="light"] { --icon-ink: #0b0c0d; }
[hidden] { display: none !important; }
.site-header { border: 0; }
.article-header, .content-section, .chapter, .status-note { background: transparent; border: 0; }
.status-note { display: block; padding: 0; margin: 10px 0 0; color: var(--muted); }
.article-header h1 { text-transform: none; font-size: clamp(2rem,4vw,3.8rem); max-width: 24ch; line-height: 1.08; }
.article-header .lead { line-height: 1.6; margin-bottom: 6px; }
.editorial-note { margin: 14px 0 0; padding: 13px 15px; }
.article-header::before, .splitter::before { content: none; }
.splitter:hover, .splitter:focus-visible { background: color-mix(in srgb,var(--ink) 7%,transparent); }
#tree [aria-current], [data-theme="light"] #tree [aria-current] { background: transparent; color: var(--ink); font-weight: 750; text-decoration: underline; text-underline-offset: 4px; }
#tree a svg, .tile-icon, [data-theme="light"] .tile-icon, .topic-symbol, .anchor { color: var(--icon-ink); }
.tile-icon, [data-theme="light"] .tile-icon { background: color-mix(in srgb,var(--ink) 7%,var(--paper)); }
.material-study { margin: 22px 0 28px; overflow: hidden; border-radius: 20px; background: var(--side); }
.material-study img { display: block; width: 100%; height: auto; aspect-ratio: 2.45; object-fit: cover; object-position: center 54%; }
:root:not([data-theme="light"]) .material-study img { filter: brightness(.68); }
.policy-index-row { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 14px; padding: 20px 0; border-top: 1px solid var(--line); }
.policy-index-row h3 { margin: 0; text-transform: none; line-height: 1.28; }
.policy-index-row h3 a { text-decoration: none; }
.policy-index-row h3 a:hover, .policy-index-row li a:hover { text-decoration: underline; }
.policy-subtitle { margin: 5px 0 0; color: var(--muted); font-size: .9rem; }
.policy-index-row ul { margin: 10px 0 0; padding-inline-start: 1.2em; }
.policy-index-row li a { text-decoration: none; }
.topic-symbol svg { width: 24px; height: 24px; }
.document-facts { margin: 0; border-top: 1px solid var(--line); }
.document-facts > div { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.4fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.document-facts dt { color: var(--muted); }
.document-facts dd { margin: 0; font-weight: 550; }
.chapter-row { border-top: 1px solid var(--line); }
.chapter-row:has(+ .content-section) { border-bottom: 1px solid var(--line); }
.chapter-row .chapter { margin: 0; }
.chapter-row summary { display: grid; grid-template-columns: 2ch minmax(0,1fr) 12px; gap: 14px; align-items: center; min-height: 56px; padding: 11px 1px; color: var(--ink); list-style: none; font-size: .96rem; line-height: 1.42; font-weight: 600; }
.chapter-row summary::-webkit-details-marker { display:none; }
.chapter-row .chapter-number { color: var(--muted); font-variant-numeric: tabular-nums; }
.chapter-chevron { display: grid; place-items: center; width: 12px; height: 12px; }
.chapter-chevron [data-ci-icon] { width: 12px; height: 12px; }
.chapter[open] .chapter-chevron { transform: rotate(180deg); }
.chapter-row .policy-copy { padding: 3px 0 12px 2.1rem; }
.chapter-tools { display: grid; grid-template-columns: minmax(0,1fr); max-width: 235px; }
.chapter-tools button, .dialog-actions button, .portal-action {
  min-height: var(--control-height); display: grid; place-items: center; text-align: center;
  font: 650 .82rem/1.26 Sora,sans-serif; text-transform: none; letter-spacing: 0;
  padding: 8px 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--side); color: var(--ink); cursor: pointer;
}
.chapter-tools button { height: 100%; }
.dialog-actions button[type="submit"] { background: var(--ink); color: var(--paper); }
dialog { background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
dialog::backdrop { background: #0009; }
#access-dialog { width: min(390px,calc(100% - 32px)); padding: clamp(18px,5vw,27px); border-radius: 18px; }
.dialog-wordmark { font-family: "Offset Mark", Georgia, serif; font-size: 2rem; }
.dialog-wordmark sup { font: 700 .35em Sora,sans-serif; vertical-align: super; }
#access-form h2 { margin: 9px 0 20px; text-transform: none; font-size: 1.65rem; }
#access-code { width: 100%; min-height: var(--control-height); margin: 5px 0 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: var(--side); }
#access-error { min-height: 1.4em; font-size: .85rem; }
.dialog-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.locale-menu { position: relative; }
.locale-menu summary { list-style: none; min-height: var(--control-height); min-width: 44px; display: grid; place-items: center; cursor: pointer; }
.locale-menu summary::-webkit-details-marker { display: none; }
.language-flag { display: block; width:23px; height:17px; border-radius:3px; object-fit: cover; }
#theme [data-ci-icon] { width: 16px; height: 16px; }
.locale-options { position:absolute; right:0; top:calc(100% + 13px); background:var(--side); padding:5px; border-radius:12px; z-index:8; box-shadow:0 12px 30px #0002; }
.header-actions .locale-options button { border-radius: 8px; }
.locale-options button[aria-pressed=true] { background: color-mix(in srgb,var(--ink) 12%,transparent); }
.officer-sheet { border: 1px solid var(--line); border-radius: 14px; padding: clamp(13px,3vw,24px); background: var(--side); }
.officer-sheet select { max-width: 100%; display: block; min-height: var(--control-height); border-radius: 8px; padding: 4px 8px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
#task-count, #task-status { font-size: .85rem; color: var(--muted); margin: 5px 0; }
#task-status:empty { display: none; }
.officer-row { display: grid; grid-template-columns: 20px minmax(0,1fr); gap: 12px; align-items: start; min-height: var(--control-height); padding: 11px 0; border-top: 1px solid var(--line); cursor: pointer; }
.officer-row input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--ink); }
.officer-row strong { font-weight: 600; }
.officer-row small { display: block; color: var(--muted); }
.portal-links { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 10px; }
.panel-close { display: none; }
@media (max-width: 720px) {
  .article-header h1 { font-size: clamp(1.65rem,6.1vw,2.1rem); }
  .content-section h2 { font-size: 1.25rem; }
  .document-facts > div, .chapter-row summary { font-size: .875rem; }
  .chapter-tools button { font-size: .75rem; }
  .mobile-nav { width: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; overflow: hidden; }
  .mobile-nav #sidebar, .mobile-nav .toc { position: static; display: block; height: 100%; max-height: none; overflow: auto; overscroll-behavior: contain; padding: 12px 20px max(24px,env(safe-area-inset-bottom)); }
  .mobile-nav .panel-close { position: sticky; top: 0; z-index: 2; display: block; min-height: var(--control-height); margin: 0 0 12px auto; padding: 6px 12px; border: 0; background: var(--paper); color: var(--ink); cursor: pointer; }
  .mobile-nav .toc a { display: block; min-height: var(--control-height); padding: 9px 0; }
}
.reader-tools #desktop-tree { display: inline-flex; }
.material-study img { max-height: 300px; }
@media (max-width: 720px) { .reader-tools #desktop-tree { display: none; } }

body { hyphens: none; word-break: normal; }
.brand-unbroken, .wordmark, .dialog-wordmark { white-space: nowrap; }
/* Shared off---set chrome. Keep the sticky page band opaque while reading. */
:root {
  --header-height: 82px;
  --capsule-fill: rgba(14,15,16,.26);
  --capsule-edge: rgba(255,255,255,.14);
  --capsule-shadow: 0 8px 32px rgb(0 0 0 / .22);
  --capsule-filter: blur(22px) saturate(1.8);
  --capsule-button: rgb(255 255 255 / .10);
}
:root[data-theme="light"] {
  --capsule-fill: rgba(255,255,255,.3);
  --capsule-edge: rgba(16,17,20,.1);
  --capsule-shadow: 0 8px 32px rgb(16 17 20 / .08);
  --capsule-filter: blur(24px) saturate(1.6);
  --capsule-button: rgb(16 17 20 / .07);
}
.site-header { padding: 16px 16px 8px; }
.header-capsule, [data-theme="light"] .header-capsule, .site-menu-heading {
  display: flex; align-items: center; justify-content: space-between;
  width: min(500px, 100%); min-height: 58px; margin: auto;
  padding: 6px; gap: 6px; border: 1px solid var(--capsule-edge); border-radius: 999px;
  background: var(--capsule-fill); box-shadow: var(--capsule-shadow);
  -webkit-backdrop-filter: var(--capsule-filter); backdrop-filter: var(--capsule-filter);
}
.header-capsule .wordmark, .site-menu-heading .wordmark {
  font-size: 24px; padding: 0 14px 0 16px; color: inherit; text-decoration: none;
}
.header-actions { gap: 6px; }
.header-actions > button, .locale-menu summary, #site-menu-close {
  width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--capsule-button); color: inherit;
}
.locale-options { top: calc(100% + 15px); }
.site-burger { position: relative; display: inline-grid; place-items: center; }
.site-burger [data-ci-icon] { width: 20px; height: 20px; }
#site-menu-close { cursor: pointer; }
#site-menu-close i { top: 21.5px; width: 18px; }
#site-menu-close i:first-child { transform: rotate(45deg); }
#site-menu-close i:last-child { transform: rotate(-45deg); }
body:has(.site-menu-panel[open]) { overflow: hidden; }
.site-menu-panel {
  position: fixed; inset: 0; width: 100%; height: 100dvh; max-width: none; max-height: none;
  padding: 0; margin: 0; border: 0; overflow: auto; overscroll-behavior: contain;
  color: #f6f6f6; background: #0e0f10;
  --capsule-fill: rgba(20,21,22,.92); --capsule-edge: rgba(246,246,246,.14); --capsule-button: #0e0f10;
}
.site-menu-heading { position: sticky; top: 16px; z-index: 1; }
.site-menu-inner { max-width: 1440px; margin: auto; padding: 16px clamp(16px,5vw,72px) 48px; }
.site-menu-grid { display: grid; grid-template-columns: minmax(0,7fr) minmax(0,5fr); gap: clamp(24px,5vw,72px); margin-top: 46px; }
.site-menu-panel ol { list-style: none; margin: 0; padding: 0; }
.site-menu-panel nav a, #portal-access { display:flex; align-items:center; gap: 15px; min-height:44px; color:inherit; text-decoration:none; text-align:left; }
.site-menu-panel nav a {
  padding: 14px 0; text-transform: uppercase; letter-spacing: -.035em;
  font: 800 clamp(1.25rem,3.55vw,3rem)/1.08 "Albert Sans",sans-serif;
}
.site-menu-panel nav a span { font-size: .75rem; min-width: 2rem; color: #b6b8bb; letter-spacing: .08em; }
.site-menu-panel nav a:hover, #portal-access:hover { text-decoration: underline; text-underline-offset: 5px; }
.site-menu-tiles { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; align-content: start; }
.site-menu-tiles a {
  position: relative; display: grid; align-items: end; isolation: isolate; overflow: hidden;
  padding: 14px; min-height: 80px; aspect-ratio: 4 / 5; border-radius: 18px; color: inherit;
  background: #191b1d; text-decoration: none;
}
.site-menu-tiles a:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.site-menu-tiles img, .site-menu-tiles a::before { position: absolute; inset: 0; width: 100%; height: 100%; }
.site-menu-tiles img { z-index: -2; object-fit: cover; }
.site-menu-tiles a::before { content: ""; z-index: -1; background: linear-gradient(transparent 25%,rgb(0 0 0 / .86)); }
.site-menu-tiles span { display: grid; gap: 3px; }
.site-menu-tiles a:focus-visible { outline-offset: -5px; }
.site-menu-tiles a:hover strong { text-decoration: underline; }
.site-menu-locations { grid-column: 1 / -1; margin: 0; color: #b6b8bb; font-size: .75rem; letter-spacing: .085em; }
.site-menu-local { margin-top: 20px; }
#portal-access { border: 0; background: none; cursor: pointer; padding: 0; }
@media (max-width: 900px) { .site-menu-grid { grid-template-columns: minmax(0,1fr); margin-top: 30px; } }
@media (max-width: 720px) { .header-capsule, .site-menu-heading { width: 100%; } .site-menu-inner { padding-inline: 16px; } }

/* One topics tree, sharing the page grid in both states. */
#topics-search {
  position: absolute; left: 0; top: 0; width: 40px; height: 44px;
  display: grid; place-items: center; padding: 0; border: 0;
  background: transparent; color: var(--muted); border-radius: 999px;
}
#topics-search svg { width: 19px; height: 19px; }
#tree .tree-results, #tree.has-query .tree-topics { display: none; }
#tree.has-query .tree-results { display: block; }

@property --topics-column {
  syntax: "<length>"; inherits: true; initial-value: 58px;
}
@property --topics-gap {
  syntax: "<length>"; inherits: true; initial-value: 0px;
}
@media (min-width: 721px) {
  .layout {
    --topics-column: var(--left-width);
    --topics-gap: 12px;
    --topics-motion: .72s cubic-bezier(.5,0,.24,1);
    grid-template-columns: minmax(0,var(--topics-column)) var(--topics-gap) minmax(0,1fr);
    transition: --topics-column var(--topics-motion), --topics-gap var(--topics-motion);
  }
  .layout.topics-compact-layout { --topics-column: 58px; --topics-gap: 0px; }
  .topics-compact-layout .split-left { visibility: hidden; }

  /* Keep line lengths constant while the reading pane moves. */
  body:not(.landing-route) #main > :is(#view,footer) {
    width: calc(100% + var(--topics-column) + var(--topics-gap) - var(--left-width) - 12px);
  }
  #sidebar { padding-inline: 7px; overflow-x: hidden; overflow-anchor: none; }
  #sidebar :is(.filter-field,#tree) { width: calc(var(--left-width) - 14px); }
  #sidebar :is(#filter-label,#filter-status) {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%);
  }
  #sidebar .filter-field { height: 44px; }
  #topics-search { width: 44px; }
  #sidebar #filter { padding-inline-start: 44px; }

  #sidebar #tree { position: relative; }
  #sidebar #tree .tree-topics { display: block; }
  #sidebar #tree .tree-results { position: absolute; inset: 0 0 auto; }
  #sidebar:not(.topics-compact) #tree.has-query .tree-topics,
  #sidebar.topics-compact #tree .tree-results {
    opacity: 0; visibility: hidden; pointer-events: none;
  }

  #sidebar #tree :is(.tree-overview,summary) {
    display: flex; align-items: center; gap: 12px;
    position: relative; min-height: 44px; padding: 5px 12px;
  }
  #sidebar #tree :is(.tree-overview,summary) svg { width: 20px; height: 20px; margin: 0; }
  #sidebar #tree summary { padding-inline-end: 30px; }
  #sidebar #tree summary > .tree-chevron { position: absolute; right: 12px; }
  #sidebar #tree summary > .tree-chevron,
  #sidebar :is(#filter,#tree .tree-overview span,#tree summary span,#tree .tree-topics,#tree .tree-results) {
    transition: opacity .32s ease, visibility 0s;
  }
  #sidebar.topics-compact #tree summary > .tree-chevron,
  #sidebar.topics-compact :is(#filter,#tree .tree-overview span,#tree summary span) {
    opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s .25s;
  }

  #sidebar #tree .tree-branches {
    display: grid; grid-template-rows: 1fr; opacity: 1;
    transition: grid-template-rows var(--topics-motion), opacity .36s ease, visibility 0s;
  }
  #sidebar #tree .tree-branches > ul { min-height: 0; overflow: hidden; padding-block: 0; }
  #sidebar.topics-compact #tree .tree-branches {
    grid-template-rows: 0fr; opacity: 0; visibility: hidden;
    transition: grid-template-rows var(--topics-motion), opacity .28s ease, visibility 0s .72s;
  }
  body.resizing .layout { transition: none; }
}
/* Feature landing and responsive, scroll-driven document stack. */
body.landing-route :is(.reader-tools,#sidebar,.split-left,#main > footer) { display: none; }
body.landing-route .site-header {
  position: absolute; inset: 0 0 auto; background: transparent; pointer-events: none;
}
body.landing-route .site-header.scroll-away { transform: none; }
body.landing-route .header-capsule { pointer-events: auto; }
body.landing-route .layout { display: block; }
#view:has(.landing) { max-width: none; padding: 0; }
.cta-compact { display: none; }
.landing-hero {
  --hero-ink: #17191e; --hero-muted: #4a505b;
  --hero-base: #efeff1;
  --hero-mobile-wash: linear-gradient(180deg,rgb(249 247 249 / .22) 3%,rgb(249 247 249 / .56) 42%,transparent 86%);
  --hero-image: url('media/hero-glass-waves.webp');
  --hero-image-wash: linear-gradient(100deg,rgb(250 248 248 / .46) 8%,rgb(246 245 245 / .16) 43%,transparent 90%);
  --glass-edge: rgb(255 255 255 / .9);
  --glass-fill: linear-gradient(143deg,rgb(255 255 255 / .92),rgb(222 227 236 / .74) 66%,rgb(168 179 196 / .86));
  --card-shadow: rgb(47 59 75 / .29);
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--hero-ink); background: var(--hero-base);
  padding: calc(var(--header-height) + 10px) clamp(22px,5vw,86px) clamp(25px,4vw,66px);
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
}
.landing-hero::before, .landing-hero::after {
  content: ""; pointer-events: none; position: absolute; z-index: -1; inset: 0;
}
.landing-hero::before { background: var(--hero-image) center / cover no-repeat; }
.landing-hero::after { background: var(--hero-image-wash); }
[data-theme="dark"] .landing-hero::before { filter: brightness(.37) saturate(.85); }
[data-theme="dark"] .landing-hero {
  --hero-ink: #f6f6f6; --hero-muted: #d5d8df; --hero-base: #1b1d22;
  --hero-mobile-wash: linear-gradient(180deg,rgb(20 23 30 / .24),rgb(20 23 30 / .48) 45%,transparent 85%);
  --hero-image-wash: linear-gradient(100deg,rgb(20 23 30 / .64),rgb(20 23 30 / .41) 43%,transparent 88%);
  --glass-edge: rgb(216 225 238 / .5);
  --glass-fill: linear-gradient(143deg,rgb(53 59 70 / .98),rgb(44 50 62 / .94) 63%,rgb(32 37 47 / .98));
  --card-shadow: rgb(0 0 0 / .45);
}
.landing-hero :focus-visible { outline-color: var(--hero-ink); }
#page-title:focus { outline: none; }
.landing-body { display: grid; align-items: center; gap: clamp(16px,3vw,46px); grid-template-columns: minmax(0, .86fr) minmax(0,1.14fr); }
.landing-copy { padding-block: 34px; }
.landing-label { font-size: .7rem; font-weight: 750; text-transform: uppercase; letter-spacing: .24em; margin: 0 0 22px; }
.landing-copy h1 { font-size: clamp(2.4rem,4.6vw,5.25rem); letter-spacing: -.06em; line-height: .99; text-transform: none; margin: 0; }
.landing-copy h1 span { display: block; }
.landing-intro { color: var(--hero-muted); font-size: clamp(1rem,1.5vw,1.2rem); max-width: 37ch; margin: 23px 0; }
.landing-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.landing-actions :is(a,button) {
  display: inline-flex; gap: 8px; align-items: center; justify-content: center;
  min-height: 46px; padding: 8px 15px; border-radius: 999px;
  color: var(--hero-ink); background: transparent; border: 1px solid currentColor;
  text-decoration: none; font-size: .87rem; font-weight: 700; white-space: nowrap;
}
.landing-actions a { background: var(--hero-ink); color: var(--hero-base); border-color: var(--hero-ink); }
.landing-actions :is(a,button):hover { box-shadow: 0 4px 14px var(--card-shadow); }
.policy-gallery { min-width: 0; margin-top: 16px; }
.gallery-stage {
  --front-width: 57%; --card-origin: 3%; --card-shift: 9.8%; --card-taper: .062;
  position: relative; isolation: isolate; height: clamp(305px,34vw,540px);
  touch-action: pan-y pinch-zoom;
}
.gallery-card {
  --card-scale: calc(1 - max(0,var(--depth)) * var(--card-taper));
  position: absolute; top: 8%; bottom: 8%; left: var(--card-origin); width: var(--front-width);
  display: grid; grid-template-rows: auto minmax(0,1fr) auto; gap: clamp(6px,1vw,12px);
  padding: clamp(14px,2.1vw,30px); color: var(--hero-ink); text-align: left;
  border: 1px solid var(--glass-edge); border-radius: clamp(15px,2vw,28px);
  background: var(--glass-fill);
  box-shadow: inset -2px 0 rgb(255 255 255 / .28), 5px 16px 26px -15px var(--card-shadow);
  transform-origin: left center;
  transform: translateX(calc(var(--depth) * (var(--card-shift) + var(--card-taper) * 100%)))
    scale(var(--card-scale)) skewY(-6deg);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .25s ease;
  overflow: hidden;
}
.gallery-card::before {
  position: absolute; content: ""; pointer-events: none; inset: 0; z-index: -1;
  background: url('media/hero-glass-card.webp') center / 117% 115% no-repeat;
}
[data-theme="dark"] .gallery-card::before { filter: brightness(.42) saturate(.9); }
.gallery-card-heading { display: flex; justify-content: space-between; align-items: center; gap: 5px; min-width: 0; }
.gallery-card small { font-size: .75rem; font-weight: 700; white-space: nowrap; letter-spacing: .045em; }
.gallery-card strong {
  align-self: start; max-width: 100%; font-size: clamp(1.02rem,1.9vw,1.85rem);
  line-height: 1.16; letter-spacing: -.024em;
}
.gallery-icon {
  display: grid; place-items: center; flex: none; width: clamp(29px,3vw,38px); aspect-ratio: 1;
  border: 1px solid var(--glass-edge); border-radius: 50%; background: rgb(255 255 255 / .15);
}
.gallery-card:not(.gallery-front) :is(small,strong) { visibility: hidden; }
.gallery-card:not(.gallery-front) .gallery-icon {
  --visible-strip: calc(var(--card-shift) / var(--card-scale));
  position: absolute; inset: clamp(17px,2.4vw,36px) calc(var(--visible-strip) / 2) auto auto;
  transform: translateX(50%) skewY(6deg);
  width: min(23px, calc(var(--visible-strip) - 4px));
}
.gallery-card:not(.gallery-front) .gallery-icon svg { width: 70%; height: auto; }
.gallery-select {
  position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: transparent;
}
.gallery-select:focus-visible { outline-offset: -5px; }
.gallery-past { opacity: 0; pointer-events: none; }
.gallery-open {
  display: grid; place-items: center; justify-self: end; align-self: end;
  width: 44px; height: 44px; transform: skewY(6deg);
  background: rgb(246 248 251 / .87); color: #14171c; text-decoration: none;
  border: 1px solid var(--glass-edge); border-radius: 50%;
}
.gallery-open:hover { background: white; }
.gallery-pagination { display: none; }
.gallery-announcement { display: block; }
/* Editorial figures leave the documents and metadata as regular text. */
/* Editorial art keeps the whole original composition visible. */
.editorial-art {
  margin: 0 0 28px; overflow: hidden; border-radius: 16px;
  background: #17191c;
}
.editorial-art img { display: block; width: 100%; height: auto; }
.editorial-art.chapter-art { max-width: 40rem; margin: 24px 0 8px; }

.topic-directory { max-width: 1460px; margin-inline: auto; padding: clamp(32px,6vw,92px) clamp(18px,5vw,70px); }
.topic-directory h2, .updates-page h2 { font-size: clamp(1.35rem,3vw,2.4rem); line-height: 1.18; text-transform: none; margin: 0 0 20px; }
.topic-cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,255px),1fr)); gap: 18px; }
.topic-directory .topic-cards { grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(14px,2.1vw,28px); }
.topic-card, .policy-card {
  min-width: 0; border-radius: 17px; overflow: hidden;
  background: color-mix(in srgb,var(--ink) 5%,var(--paper)); color: var(--ink);
}
.topic-card { display: flex; flex-direction: column; text-decoration: none; }
.topic-card:focus-visible { outline-offset: -4px; }
.topic-card-art { aspect-ratio: 1672 / 941; background: #17191c; }
.topic-card-art img { display: block; width: 100%; height: 100%; object-fit: contain; }
.topic-card-copy { display: flex; flex-direction: column; flex: 1; align-items: flex-start; padding: clamp(16px,2vw,26px); }
.topic-card-copy h3 { margin: 0; text-transform: none; font-size: clamp(1.05rem,2vw,1.35rem); line-height: 1.22; }
.topic-card-copy p { margin: 8px 0 14px; color: var(--muted); line-height: 1.5; font-size: .92rem; }
.topic-card-copy small { margin-bottom: 5px; color: var(--muted); font-size: .75rem; }
.topic-card-arrow { margin-top: auto; align-self: flex-end; min-height: 24px; padding-top: 6px; }
.topic-card:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.topic-chapters { padding: 0 17px 14px; font-size: .89rem; }
.topic-chapters summary { min-height: 44px; align-content: center; cursor: pointer; }
.topic-chapters ul { padding-inline-start: 20px; }

.document-facts { max-width: 70ch; }
.document-facts dt,.document-facts dd { min-width: 0; overflow-wrap: break-word; }
.updates-page { width: min(100%,920px); margin-inline: auto; }
.updates-page .article-header { padding-inline: 0; }
.update-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; }
.update-filters button { min-height: 44px; padding: 7px 16px; border: 0; border-radius: 999px;
  background: color-mix(in srgb,var(--ink) 8%,var(--paper)); color: var(--ink); }
.update-filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.update-list { list-style: none; margin: 0; padding: 0; }
.update-list li { border-top: 1px solid var(--line); }
.update-list a { display: grid; align-items: center; grid-template-columns: clamp(74px,18vw,148px) minmax(0,1fr) 22px;
  gap: clamp(10px,2vw,22px); min-height: 70px; padding: 15px 0; text-decoration: none; }
.update-list img { display: block; width: 100%; height: auto; border-radius: 9px; }
.update-list small { color: var(--muted); }
.update-list h3 { font-size: clamp(1rem,2.2vw,1.22rem); line-height: 1.2; text-transform: none; margin: 4px 0; }
.update-list a:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.update-list p { font-size: .9rem; line-height: 1.45; color: var(--muted); margin: 0; }

@media (min-width: 721px) and (max-width: 1000px) {
  .landing-hero { padding-inline: clamp(22px,4vw,48px); }
  .landing-copy h1 { font-size: clamp(2.15rem,4.7vw,3.8rem); }
}
@media (max-width: 720px) {
  .landing-hero { padding: calc(var(--header-height) + 2px) clamp(16px,5vw,36px) 5px; }
  .landing-hero::before { background-position: 70% center; }
  .landing-hero::after { background: var(--hero-mobile-wash); }
  .landing-body { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .landing-copy { padding-block: 0; }
  .landing-label { margin-bottom: 12px; }
  .landing-copy h1 { font-size: clamp(1.8rem,7.3vw,3.15rem); max-width: 17ch; }
  .landing-intro { margin-block: 14px; font-size: clamp(.92rem,3.5vw,1.08rem); }
  .landing-actions { display: grid; grid-template-columns: minmax(0,1fr); max-width: 13rem; gap: 8px; }
  .landing-actions :is(a,button) { padding-inline: 6px; min-height: 44px; font-size: .84rem; }
  .cta-compact { display: inline; }
  .cta-wide { display: none; }
  .policy-gallery { margin-top: 0; }
  .gallery-stage { --front-width: 67%; --card-origin: 2%; --card-shift: 7.4%; --card-taper: .046; height: clamp(242px,63vw,425px); }
  .gallery-card strong { font-size: clamp(.92rem,3.8vw,1.4rem); }

  .editorial-art { margin-bottom: 18px; border-radius: 12px; }
  .section-jumps { display: none; }
  .document-facts > div { grid-template-columns: minmax(0,1fr); gap: 2px; padding: 10px 0; }
}
@media (max-width: 890px) {
  .topic-directory .topic-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 540px) {
  .topic-directory .topic-cards { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .layout, .gallery-card, #sidebar #tree .tree-branches,
  #sidebar.topics-compact #tree .tree-branches,
  #sidebar #tree summary > .tree-chevron,
  #sidebar :is(#filter,#tree .tree-overview span,#tree summary span,#tree .tree-topics,#tree .tree-results) {
    transition: none;
  }
}


/* Document reading order and reporting form. */
.chapter-heading { display: flex; align-items: baseline; gap: .55rem; min-width: 0; }
.chapter-heading svg { align-self: center; color: var(--muted); }
.chapter-scope[open] .policy-copy { font-size: clamp(1.05rem, .98rem + .35vw, 1.2rem); line-height: 1.62; }
.chapter .translation-note { padding-inline-start: 2.1rem; margin-block: 0 14px; }
.metadata-disclosure { border-block: 1px solid var(--line); }
.metadata-disclosure summary {
  display: grid; grid-template-columns: auto minmax(0,1fr) 12px; align-items: center;
  gap: 12px; min-height: 56px; padding: 8px 2px; cursor: pointer; list-style: none;
  font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); font-weight: 650;
}
.metadata-disclosure summary::-webkit-details-marker { display: none; }
.metadata-disclosure[open] .chapter-chevron { transform: rotate(180deg); }
.metadata-disclosure .document-facts { margin-block-end: 14px; }
.metadata-note { max-width: 65ch; color: var(--muted); font-size: .9rem; }
.document-sequence { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.document-sequence a {
  display: grid; grid-template-columns: clamp(58px, 26%, 112px) minmax(0,1fr);
  align-items: stretch; min-height: 84px; overflow: hidden;
  border: 1px solid var(--line); border-radius: 12px;
  color: var(--ink); text-decoration: none; overflow-wrap: break-word;
}
.document-sequence a:only-child { grid-column: 1 / -1; width: min(100%, 31rem); }
.document-sequence .sequence-next:only-child { justify-self: end; }
.sequence-prev { grid-column: 1; }
.sequence-next { grid-column: 2; }
.sequence-direction { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: .85rem; }
.sequence-prev svg { transform: rotate(180deg); }
.sequence-next .sequence-direction svg { order: 1; }
.sequence-title { font-weight: 650; line-height: 1.35; }
.document-sequence a:hover .sequence-title { text-decoration: underline; text-underline-offset: 3px; }
.report-form { display: grid; gap: 18px; max-width: 41rem; }
.report-form label { display: block; margin-bottom: 5px; font-weight: 650; }
#report-note { margin: 0; color: var(--muted); }
.report-form :is(input,textarea,select) {
  display: block; width: 100%; min-height: 44px; padding: 9px 12px; color: var(--ink);
  background: color-mix(in srgb,var(--ink) 4%,var(--paper)); border: 1px solid var(--line);
  border-radius: 9px; font: inherit;
}
.report-form textarea { resize: vertical; }
.report-form [aria-invalid="true"] { border-color: var(--link); }
.report-form button { justify-self: start; }
#report-status { min-height: 1.5em; margin: 0; font-weight: 650; }
@media (max-width: 540px) {
  .document-sequence { grid-template-columns: minmax(0,1fr); }
  .document-sequence a { grid-column: 1; min-height: 66px; }
  .document-sequence a:only-child { width: 100%; }
}


/* Localized policy lists, theme-responsive imagery and the landing practice section. */
.policy-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.sequence-art { position: relative; overflow: hidden; }
.sequence-image { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.sequence-copy { display: grid; align-content: center; gap: 5px; padding: clamp(9px,1.3vw,16px); }
[data-theme="light"] :is(.topic-card-art img,.editorial-art img,.sequence-image,.update-list img) {
  filter: brightness(1.22) contrast(.86) saturate(.84);
}
.practical-overview {
  max-width: 1460px; margin-inline: auto; padding: clamp(28px,5vw,68px) clamp(18px,5vw,70px) clamp(44px,7vw,100px);
}
.practical-overview h2 { font-size: clamp(1.35rem,3vw,2.4rem); line-height: 1.18; text-transform: none; margin: 0 0 18px; }
.practical-overview ul { list-style: none; padding: 0; margin: 0; }
.practical-overview li { border-top: 1px solid var(--line); }
.practical-overview a {
  display: grid; align-items: center; grid-template-columns: 25px minmax(0,1fr) 22px;
  gap: clamp(10px,2vw,20px); padding: 14px 0; color: var(--ink); text-decoration: none;
}
.practical-overview a > span { display: grid; gap: 4px; }
.practical-overview a > span > span { color: var(--muted); font-size: .93rem; }
.practical-overview a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 720px) {
  :root { --header-height: 52px; }
  .site-header { padding: 5px 12px 3px; }
  .header-capsule, [data-theme="light"] .header-capsule, .site-menu-heading {
    width: min(100%,306px); min-height: 44px; height: 44px; padding: 0 4px; gap: 5px;
  }
  .header-capsule .wordmark, .site-menu-heading .wordmark { font-size: 21px; padding-inline: 12px 8px; }
  .header-actions { gap: 0; }
  .header-actions > button, .locale-menu summary {
    background: radial-gradient(circle,var(--capsule-button) 54%,transparent 55%);
  }
}
@media (max-width: 600px) {
  .policy-grid { grid-template-columns: minmax(0,1fr); }
}


/* The disclosure and its options share the off---set glass and focus treatment. */
.brand-select { position: relative; }
.brand-select summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 44px; padding: 8px 12px; color: var(--ink);
  background: color-mix(in srgb,var(--ink) 4%,var(--paper)); border: 1px solid var(--line); border-radius: 9px;
  cursor: pointer; list-style: none;
}
.brand-select summary::-webkit-details-marker { display:none; }
.brand-select[open] summary svg { transform: rotate(180deg); }
.brand-select summary[aria-invalid="true"] { border-color: var(--link); }
.brand-select-menu {
  z-index: 3; position: absolute; inset: calc(100% + 6px) 0 auto; display: grid;
  padding: 5px; max-height: min(320px,50dvh); overflow: auto; overscroll-behavior: contain;
  border-radius: 12px; background: color-mix(in srgb,var(--paper) 93%,transparent);
  backdrop-filter: blur(18px); box-shadow: 0 10px 30px rgb(0 0 0 / .23);
}
.brand-select-menu button {
  min-height: 44px; padding: 8px 10px; text-align: start; color: var(--ink);
  background: none; border: 0; border-radius: 7px; font: inherit;
}
.brand-select-menu button:hover, .brand-select-menu button[aria-pressed="true"] {
  background: color-mix(in srgb,var(--ink) 8%,transparent);
}
.brand-select-menu button:focus-visible { outline-offset: -2px; }
.locale-options {
  background: color-mix(in srgb,var(--paper) 93%,transparent);
  backdrop-filter: blur(18px); box-shadow: 0 10px 30px rgb(0 0 0 / .23);
}

.policy-edition-note { color: var(--muted); font-size: .88rem; }
.sitemap-hero {
  isolation: isolate; position: relative; overflow: hidden;
  min-height: clamp(240px, 30vw, 390px); display: grid; align-content: end;
  padding: clamp(20px,5vw,56px); border-radius: 18px; color: #fff; background: #191b1d;
}
.sitemap-hero::before {
  content: ""; display: block; position: absolute; inset: 0; z-index: -1; width: auto; height: auto; margin: 0;
  background: linear-gradient(90deg, rgb(15 17 20 / .91), rgb(15 17 20 / .47) 65%, rgb(15 17 20 / .14)),
    url('media/site-map.webp') 66% center / cover no-repeat;
}
.sitemap-hero .article-icon { display: grid; color: inherit; background: rgb(255 255 255 / .12); }
.sitemap-hero h1 { font-size: clamp(1.7rem, 1.1rem + 3vw, 4rem); line-height: 1.04; }
.sitemap-hero .lead { color: #f0f0f0; margin-bottom: 0; }
.sitemap-index { display: grid; gap: clamp(24px, 4vw, 44px); }
.sitemap-group h3 { margin: 0 0 12px; font-size: 1.06rem; color: var(--muted); }
.sitemap-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sitemap-group li a {
  display: grid; grid-template-columns: 24px minmax(0,1fr) 18px; gap: clamp(10px,2vw,20px);
  align-items: center; min-height: 56px; padding: 10px 12px; color: var(--ink); text-decoration: none;
  border-radius: 9px;
}
.sitemap-group a:hover { background: color-mix(in srgb,var(--ink) 7%,transparent); }
.sitemap-group a > span { display: grid; gap: 2px; }
.sitemap-group a small { color: var(--muted); }
.sitemap-group a svg:last-child { color: var(--muted); }

.practical-overview { padding-bottom: clamp(32px,5vw,70px); }
.programme-overview {
  max-width: 1460px; margin-inline: auto; padding: 0 clamp(18px,5vw,70px) clamp(44px,7vw,100px);
  display: grid; gap: clamp(24px,4vw,56px); grid-template-columns: repeat(2,minmax(0,1fr));
  align-items: center; scroll-margin-top: calc(var(--header-height) + 12px);
}
.programme-art { margin: 0; }
.programme-overview h2 { font-size: clamp(1.35rem,3vw,2.4rem); line-height: 1.18; margin: 0 0 10px; text-transform: none; }
.programme-overview p { margin: 0; color: var(--muted); }
.programme-steps {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 24px;
  margin: 24px 0 0; padding: 0; list-style: none;
}
.programme-steps li { display: grid; grid-template-columns: 21px minmax(0,1fr); gap: 10px; align-items: start; }
.programme-steps h3 { margin: 0 0 4px; font-size: 1rem; line-height: 1.25; text-transform: none; }
.programme-steps p { font-size: .89rem; }
@media (max-width: 720px) {
  .programme-overview { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 460px) {
  .programme-steps { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 390px) {
  html[lang="de"] [data-document="CMP-007"] .article-header h1 { font-size: clamp(1.38rem,5.6vw,1.65rem); }
}


/* Navigation hierarchy in the handbook v2 preview. */
#tree :is(a, summary) { border-radius: 0; }
#tree .tree-branches {
  position: relative;
  --branch-axis: 22px;
}
#tree .tree-branches::before {
  content: "";
  position: absolute;
  inset-block: 4px 8px;
  inset-inline-start: var(--branch-axis);
  border-inline-start: 1px solid color-mix(in srgb,var(--ink) 24%,transparent);
  pointer-events: none;
}
#tree .tree-branches > ul { padding-inline-start: calc(var(--branch-axis) + 3px); }
@media (min-width: 721px) {
  .reader-tools { padding-inline-start: 7px; }
  .reader-tools #desktop-tree { padding-inline-start: 12px; gap: 12px; }
  #desktop-tree [data-ci-icon] { width: 20px; height: 20px; }
}
@media (max-width: 720px) {
  #tree .tree-branches { --branch-axis: 17px; }
  #sidebar #tree summary { position: relative; padding-inline-end: 30px; }
  #sidebar #tree summary > .tree-chevron { position: absolute; inset-inline-end: 12px; }
}
html[lang="zh-HK"] body {
  font-family: Sora, "PingFang HK", "Microsoft JhengHei", "Noto Sans CJK HK", sans-serif;
}
html[lang="zh-HK"] :is(button,input,textarea,select) { font-family: inherit; }
html[lang="zh-HK"] :is(h1,h2,h3,.article-type,#filter-label,#tree summary,.toc strong,.site-menu-panel nav a) {
  font-family: "Albert Sans", "PingFang HK", "Microsoft JhengHei", "Noto Sans CJK HK", sans-serif;
}
html[lang="zh-HK"] .lead {
  font-family: Sora, "PingFang HK", "Microsoft JhengHei", "Noto Sans CJK HK", sans-serif;
}

@media (max-width: 720px) and (pointer: coarse) {
  .gallery-pagination {
    display: flex; justify-content: center; gap: 2px;
    width: 67%; margin-inline-start: 2%;
  }
  .gallery-pagination button {
    display: grid; place-items: center; inline-size: clamp(18px, 5vw, 29px);
    min-block-size: 30px; padding: 0; border: 0; background: transparent;
    color: var(--hero-ink);
  }
  .gallery-pagination button::before {
    content: ""; inline-size: 65%; block-size: 2px;
    border-radius: 2px; background: currentColor; opacity: .38;
  }
  .gallery-pagination button[aria-pressed="true"]::before { opacity: 1; }
}

.download-email { display: grid; gap: 10px; align-items: start; max-width: 36rem; }
.download-email label { font-weight: 700; }
.download-email input {
  min-height: 46px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--paper); color: var(--ink); font: inherit; width: 100%;
}
.download-email p { margin: 0; color: var(--muted); font-size: .9rem; }
.document-downloads [role="status"]:empty { display: none; }
#download-status { overflow-wrap: anywhere; margin: 0; color: var(--muted); font-size: .9rem; }
.download-documents #download-status { grid-column: 2 / -1; }
.document-downloads button, .download-link {
  display: inline-flex; gap: 8px; min-height: 44px; align-items: center; justify-content: center;
  padding: 9px 14px; border-radius: 10px; font: inherit; font-weight: 650;
  color: var(--ink); background: transparent; border: 1px solid var(--line); text-decoration: none;
}
.download-email button { justify-self: start; color: var(--paper); background: var(--ink); }
.document-downloads button:disabled { opacity: .6; }
.download-code { display: grid; gap: 10px; margin-top: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); max-width: 36rem; }
.download-code p { margin: 0; }
.download-code label { font-weight: 700; }
.download-code input {
  min-height: 46px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; width: 100%; max-width: 12rem;
  background: var(--paper); color: var(--ink); font: 700 1.3rem/1 ui-monospace, Menlo, monospace; letter-spacing: .25em;
}
.download-code button { justify-self: start; color: var(--paper); background: var(--ink); }
.download-code-status { color: var(--muted); font-size: .9rem; }
.download-code-status:empty { display: none; }
ul.download-documents { list-style: none; padding: 0; margin: 36px 0 0; }
.download-documents li {
  border-block-start: 1px solid var(--line); padding-block: 12px;
  display: grid; grid-template-columns: 22px minmax(0,1fr) auto; gap: 12px; align-items: center;
}
.download-documents li small { display: block; color: var(--muted); }
.download-documents li strong { display: block; }
@media (max-width: 520px) {
  .download-documents li { grid-template-columns: 22px minmax(0,1fr); }
  .download-documents li button { grid-column: 2; justify-self: start; }
}
/* SSR-PRUEFUNG 04.12.2026: ruhiges Laden, Lesebreite, Tippziele und Mindestschriftgrad (HIG) */
html.preload *, html.preload *::before, html.preload *::after { transition: none !important; animation: none !important; }
.policy-copy { max-width: 36rem; }
.breadcrumb a, .breadcrumb span { display: inline-flex; align-items: center; min-height: 44px; }
.anchor { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; }
#sidebar #tree :is(.tree-overview, summary), #tree a { min-height: 44px; }
#view p { font-size: max(1em, 15px); }

/* Menü-Striche und Schließen-X wie auf off---set.com (shared/chrome.css) */
.site-burger i, .su-x i { position: absolute; left: 13px; height: 1.5px; background: currentColor; transition: transform .5s cubic-bezier(.2,.7,.2,1), width .5s cubic-bezier(.2,.7,.2,1), top .5s cubic-bezier(.2,.7,.2,1); }
.site-burger i:nth-child(1) { top: 18px; width: 18px; }
.site-burger i:nth-child(2) { top: 25px; width: 11px; }
#site-menu-close, .su-x { background: transparent !important; }
#site-menu-close i, .su-x i { top: 21.5px; width: 18px; }
#site-menu-close i:first-child, .su-x i:first-child { transform: rotate(45deg); }
#site-menu-close i:last-child, .su-x i:last-child { transform: rotate(-45deg); }

/* Kartenraster: Spaltenzahl folgt der tatsächlichen Breite, nie schmaler als 280 px je Karte.
   Richtlinien höchstens zwei, Themen höchstens drei Spalten. */
#view .topic-cards.policy-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, max(280px, calc((100% - 30px) / 2))), 1fr)); }
#view .topic-directory .topic-cards:not(.policy-grid) { grid-template-columns: repeat(auto-fill, minmax(min(100%, max(260px, calc((100% - 60px) / 3))), 1fr)); }
