/* RackTrace Docs (docs.racktrace.io) — built by tools/build-docs.mjs from docs-src/. The colours and fonts are the
   website's (site/site.css); the fonts are served from the website's folder. */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url(/fonts/archivo-latin-variable.woff2) format("woff2-variations"), url(/fonts/archivo-latin-variable.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/ibm-plex-sans-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/ibm-plex-sans-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/ibm-plex-mono-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/ibm-plex-mono-latin-600-normal.woff2) format("woff2"); }

:root {
  --bg: #ffffff; --side: #f6f8fb; --surface: #ffffff; --sunk: #eef2f7; --ink: #0f1726; --ink-2: #2a3547; --muted: #5a6779;
  --line: #e1e6ee; --line-strong: #c9d1dc;
  --accent: #2563eb; --accent-hover: #1d4ed8; --accent-text: #1d4ed8; --accent-weak: #e8efff; --on-accent: #ffffff;
  --ok: #15803d; --ok-weak: #e3f4e9; --warn: #a85d06; --warn-weak: #fcf0dc; --bad: #c42b2b; --bad-weak: #fbe8e8; --info: #1d4ed8; --info-weak: #e8efff;
  --mark: rgba(245, 158, 11, .32); --scrim: rgba(6, 10, 18, .5);
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 2px 8px rgba(15, 23, 42, .05);
  --shadow-lg: 0 24px 60px -20px rgba(15, 23, 42, .35);
  --f-display: "Archivo", "Segoe UI", system-ui, sans-serif;
  --f-body: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --head: 60px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0f17; --side: #0e131d; --surface: #111826; --sunk: #151d2b; --ink: #e8edf4; --ink-2: #c5cedb; --muted: #93a0b4;
    --line: #1f2937; --line-strong: #2d394b;
    --accent: #3271ee; --accent-hover: #4a84f5; --accent-text: #86b0ff; --accent-weak: #14264a;
    --ok: #4ade80; --ok-weak: #0f2a1a; --warn: #fbbf24; --warn-weak: #2f240b; --bad: #f87171; --bad-weak: #3a1515; --info: #86b0ff; --info-weak: #14264a;
    --scrim: rgba(0, 0, 0, .6); --shadow: 0 1px 2px rgba(0, 0, 0, .5); --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, .8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0f17; --side: #0e131d; --surface: #111826; --sunk: #151d2b; --ink: #e8edf4; --ink-2: #c5cedb; --muted: #93a0b4;
  --line: #1f2937; --line-strong: #2d394b;
  --accent: #3271ee; --accent-hover: #4a84f5; --accent-text: #86b0ff; --accent-weak: #14264a;
  --ok: #4ade80; --ok-weak: #0f2a1a; --warn: #fbbf24; --warn-weak: #2f240b; --bad: #f87171; --bad-weak: #3a1515; --info: #86b0ff; --info-weak: #14264a;
  --scrim: rgba(0, 0, 0, .6); --shadow: 0 1px 2px rgba(0, 0, 0, .5); --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: calc(var(--head) + 18px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.65 var(--f-body); -webkit-font-smoothing: antialiased; }
body.d-lock { overflow: hidden; }
a { color: var(--accent-text); }
svg { flex: none; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; border-radius: 4px; }
[tabindex="-1"]:focus { outline: none; }
.d-skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: var(--accent); color: var(--on-accent); text-decoration: none; font-weight: 600; }
.d-skip:focus { top: 10px; }

/* header */
.dh { position: sticky; top: 0; z-index: 40; height: var(--head); background: var(--bg); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.dh-in { height: 100%; max-width: 1480px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 14px; }
.dh-brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font: 750 1.08rem/1 var(--f-display); font-stretch: 112%; letter-spacing: -.015em; white-space: nowrap; }
.dh-brand img { width: 28px; height: 28px; }
.dh-brand em { font: 600 .74rem/1 var(--f-mono); font-style: normal; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-text); background: var(--accent-weak); padding: 4px 7px; border-radius: 6px; }
.dh-search { display: inline-flex; align-items: center; gap: 10px; flex: 0 1 320px; min-width: 0; margin-left: 18px; height: 38px; padding: 0 8px 0 12px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--side); color: var(--muted); font: 400 .92rem/1 var(--f-body); cursor: pointer; text-align: left; }
.dh-search:hover { border-color: var(--accent); color: var(--ink-2); }
.dh-search svg { width: 17px; height: 17px; }
.dh-search span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dh-search kbd { font: 600 .7rem/1 var(--f-mono); padding: 4px 6px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface); color: var(--muted); }
.dh-end { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.dh-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: var(--ink-2); cursor: pointer; }
.dh-btn:hover { background: var(--sunk); color: var(--ink); }
.dh-btn svg { width: 19px; height: 19px; }
.dh-menu { display: none; }
.dh-theme .i-sun { display: none; }
:root[data-theme="dark"] .dh-theme .i-sun { display: block; }
:root[data-theme="dark"] .dh-theme .i-moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .dh-theme .i-sun { display: block; } :root:not([data-theme="light"]) .dh-theme .i-moon { display: none; } }
.dh-lang { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 9px; }
.dh-lang svg { width: 15px; height: 15px; margin: 0 4px 0 5px; color: var(--muted); }
.dh-lang a { padding: 5px 8px; border-radius: 6px; font: 600 .78rem/1 var(--f-mono); color: var(--muted); text-decoration: none; }
.dh-lang a:hover { color: var(--ink); background: var(--sunk); }
.dh-lang a[aria-current] { color: var(--accent-text); background: var(--accent-weak); }
.dh-site { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 9px; color: var(--ink-2); text-decoration: none; font-size: .9rem; font-weight: 500; }
.dh-site:hover { background: var(--sunk); color: var(--ink); }
.dh-site svg { width: 14px; height: 14px; color: var(--muted); }

/* the three columns: side menu, page, on this page */
.dl { max-width: 1480px; margin: 0 auto; display: grid; grid-template-columns: 286px minmax(0, 1fr) 240px; align-items: start; }
.ds { position: sticky; top: var(--head); height: calc(100vh - var(--head)); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 22px 14px 40px 20px; border-right: 1px solid var(--line); background: var(--side); }
.ds-nav { display: grid; gap: 6px; font-size: .93rem; }
.ds-g ul { list-style: none; margin: 2px 0 8px; padding: 0 0 0 10px; border-left: 1px solid var(--line); margin-left: 12px; }
.ds-h { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 7px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--ink); font: 600 .93rem/1.3 var(--f-body); text-align: left; cursor: pointer; }
.ds-h:hover { background: var(--sunk); }
.ds-h svg { width: 16px; height: 16px; color: var(--muted); transition: transform .15s; }
.ds-g.closed .ds-h svg { transform: rotate(-90deg); }
.ds-g.closed ul { display: none; }
.ds-g li a, .ds-top { display: block; padding: 6px 10px; border-radius: 7px; color: var(--ink-2); text-decoration: none; line-height: 1.35; }
.ds-top { font-weight: 600; color: var(--ink); }
.ds-g li a:hover, .ds-top:hover { background: var(--sunk); color: var(--ink); }
.ds-g a[aria-current="page"] { background: var(--accent-weak); color: var(--accent-text); font-weight: 600; }
.ds-scrim { display: none; }

.dm { min-width: 0; padding: 26px clamp(20px, 4vw, 56px) 64px; }
.dc { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-bottom: 14px; font-size: .85rem; color: var(--muted); }
.dc a { display: inline-flex; align-items: center; color: var(--muted); text-decoration: none; padding: 3px 6px; border-radius: 6px; }
.dc a:hover { background: var(--sunk); color: var(--ink); }
.dc svg { width: 15px; height: 15px; }
.dc-s { color: var(--line-strong); }
.dc [aria-current] { padding: 3px 9px; border-radius: 999px; background: var(--accent-weak); color: var(--accent-text); font-weight: 500; }

.dt { position: sticky; top: var(--head); max-height: calc(100vh - var(--head)); overflow-y: auto; scrollbar-width: thin; padding: 28px 20px 40px 8px; font-size: .86rem; }
.dt-h { margin: 0 0 8px; font: 600 .7rem/1.2 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.dt ul, .dt-m ul { list-style: none; margin: 0; padding: 0 0 0 10px; border-left: 1px solid var(--line); }
.dt a, .dt-m a { display: block; padding: 4px 8px; color: var(--muted); text-decoration: none; line-height: 1.35; border-radius: 0 6px 6px 0; margin-left: -11px; border-left: 2px solid transparent; }
.dt li.dt-3 a, .dt-m li.dt-3 a { padding-left: 20px; font-size: .82rem; }
.dt a:hover, .dt-m a:hover { color: var(--ink); }
.dt a.on { color: var(--accent-text); border-left-color: var(--accent); font-weight: 500; }
.dt-m { display: none; margin: 0 0 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--side); }
.dt-m summary { cursor: pointer; padding: 11px 14px; font-weight: 600; font-size: .92rem; }
.dt-m ul { margin: 0 14px 12px 22px; }

/* the page */
.dd { max-width: 780px; }
.dd h1 { margin: 0 0 18px; font: 760 clamp(2rem, 4vw, 2.7rem)/1.08 var(--f-display); font-stretch: 112%; letter-spacing: -.025em; text-wrap: balance; }
.dd h2 { margin: 46px 0 14px; padding-top: 6px; font: 720 1.55rem/1.2 var(--f-display); font-stretch: 110%; letter-spacing: -.018em; }
.dd h3 { margin: 30px 0 10px; font: 650 1.16rem/1.3 var(--f-body); }
.dd h4 { margin: 24px 0 8px; font: 600 1rem/1.35 var(--f-body); }
.dd h2:first-child, .dd h1 + h2, .dd .dt-m + h2 { margin-top: 26px; }
.d-anchor { margin-left: 8px; color: var(--line-strong); text-decoration: none; font-weight: 500; opacity: 0; transition: opacity .15s; }
.dd :is(h2, h3, h4):hover .d-anchor, .d-anchor:focus-visible { opacity: 1; }
.dd p { margin: 0 0 14px; color: var(--ink-2); }
.dd > p:first-of-type { font-size: 1.08rem; color: var(--ink-2); }
.dd ul, .dd ol { margin: 0 0 16px; padding-left: 24px; color: var(--ink-2); }
.dd li { margin: 5px 0; }
.dd li > ul, .dd li > ol { margin: 6px 0 4px; }
.dd li > p { margin: 6px 0; }
.dd b, .dd strong { font-weight: 600; color: var(--ink); }
.dd code { font: .86em/1.4 var(--f-mono); padding: 1px 5px; border: 1px solid var(--line); border-radius: 5px; background: var(--sunk); color: var(--ink); overflow-wrap: anywhere; }
.dd kbd { display: inline-block; font: 600 .76rem/1.25 var(--f-mono); padding: 2px 6px; border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 5px; background: var(--surface); color: var(--ink); white-space: nowrap; vertical-align: 1px; }
.dd a { text-underline-offset: 2px; }
.d-ext::after { content: "↗"; font-size: .8em; margin-left: 2px; }
.d-code { margin: 0 0 18px; padding: 14px 16px; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--side); font: .84rem/1.55 var(--f-mono); color: var(--ink); }
.d-code code { border: 0; padding: 0; background: none; font-size: inherit; }

/* steps: an ordered list */
.dd ol.d-steps { list-style: none; padding-left: 0; counter-reset: step; }
.dd ol.d-steps > li { counter-increment: step; position: relative; margin: 0; padding: 2px 0 14px 42px; }
.dd ol.d-steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 27px; height: 27px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font: 600 .78rem/27px var(--f-mono); text-align: center; }
.dd ol.d-steps > li:not(:last-child)::after { content: ""; position: absolute; left: 13px; top: 31px; bottom: 3px; width: 2px; background: var(--line); }
.dd ol.d-steps[start] { counter-reset: none; }

/* notes */
.d-note { margin: 0 0 18px; padding: 12px 16px 2px; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 8px; background: var(--accent-weak); }
.d-note-t { margin: 0 0 6px !important; font: 600 .74rem/1.2 var(--f-mono); text-transform: uppercase; letter-spacing: .09em; color: var(--accent-text) !important; }
.d-note p, .d-note li { color: var(--ink-2); }
.d-tip { border-left-color: var(--ok); background: var(--ok-weak); }
.d-tip .d-note-t { color: var(--ok) !important; }
.d-caution { border-left-color: var(--warn); background: var(--warn-weak); }
.d-caution .d-note-t { color: var(--warn) !important; }
.d-danger { border-left-color: var(--bad); background: var(--bad-weak); }
.d-danger .d-note-t { color: var(--bad) !important; }
.d-note.d-note:not(.d-tip):not(.d-caution):not(.d-danger):not(.d-info) { border-left-color: var(--muted); background: var(--side); }
.d-note.d-note:not(.d-tip):not(.d-caution):not(.d-danger):not(.d-info) .d-note-t { color: var(--muted) !important; }

/* tables */
.d-table { margin: 0 0 20px; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.d-table table { width: 100%; border-collapse: collapse; font-size: .92rem; line-height: 1.5; }
.d-table th { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--side); font: 600 .7rem/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .07em; color: var(--muted); vertical-align: bottom; }
.d-table td { padding: 9px 12px; border-bottom: 1px solid var(--line); color: var(--ink-2); vertical-align: top; }
.d-table tr:last-child td { border-bottom: 0; }
.d-table td:first-child { color: var(--ink); font-weight: 500; }
.st { display: inline-block; padding: 2px 7px; border-radius: 5px; font: 600 .74rem/1.3 var(--f-body); white-space: nowrap; }
.st-ok { background: var(--ok-weak); color: var(--ok); }
.st-warn { background: var(--warn-weak); color: var(--warn); }
.st-bad { background: var(--bad-weak); color: var(--bad); }
.st-info { background: var(--info-weak); color: var(--info); }

/* screenshots */
.d-fig { margin: 4px 0 24px; }
.d-zoom { display: block; cursor: zoom-in; border: 1px solid var(--line-strong); border-radius: 10px; overflow: hidden; background: var(--side); box-shadow: var(--shadow); }
.d-fig img { display: block; width: 100%; height: auto; }
.d-fig figcaption { margin-top: 8px; font-size: .86rem; color: var(--muted); line-height: 1.45; }

/* cards (home page) */
.d-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 6px 0 26px; }
.d-card { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: 2px; align-content: start; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.d-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-1px); }
.d-card-ic { grid-row: 1 / span 2; width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--accent-weak); color: var(--accent-text); }
.d-card b { font-weight: 600; font-size: 1rem; }
.d-card span { font-size: .9rem; color: var(--muted); line-height: 1.45; }

/* previous / next, feedback */
.dp { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 780px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }
.dp a { display: grid; gap: 3px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; transition: border-color .15s; }
.dp a:hover { border-color: var(--accent); }
.dp small { font-size: .8rem; color: var(--muted); }
.dp b { font-weight: 600; line-height: 1.35; }
.dp-next { grid-column: 2; text-align: right; }
.d-feedback { max-width: 780px; margin: 22px 0 0; font-size: .9rem; color: var(--muted); }

.df { border-top: 1px solid var(--line); background: var(--side); }
.df-in { max-width: 1480px; margin: 0 auto; padding: 22px 20px 26px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .86rem; color: var(--muted); }
.df a { color: var(--muted); text-decoration: none; }
.df a:hover { color: var(--ink); text-decoration: underline; }

/* search */
.dq { position: fixed; inset: 0; z-index: 90; display: grid; justify-items: center; align-items: start; padding: max(10vh, 40px) 16px 16px; }
.dq-bg { position: absolute; inset: 0; background: var(--scrim); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.dq-box { position: relative; width: min(680px, 100%); max-height: min(70vh, 640px); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-lg); }
.dq-in { display: flex; align-items: center; gap: 10px; padding: 0 12px 0 16px; border-bottom: 1px solid var(--line); }
.dq-in svg { width: 19px; height: 19px; color: var(--muted); }
.dq-in input { flex: 1; min-width: 0; height: 56px; border: 0; outline: 0; background: transparent; color: var(--ink); font: 400 1.05rem/1.3 var(--f-body); }
.dq-in input::-webkit-search-cancel-button { display: none; }
.dq-x { border: 1px solid var(--line-strong); border-radius: 6px; background: var(--side); color: var(--muted); font: 600 .7rem/1 var(--f-mono); padding: 5px 7px; cursor: pointer; }
.dq-list { list-style: none; margin: 0; padding: 8px; overflow-y: auto; }
.dq-list li a { display: grid; gap: 3px; padding: 10px 12px; border-radius: 9px; color: var(--ink); text-decoration: none; }
.dq-list li a small { font: 500 .72rem/1.3 var(--f-mono); color: var(--muted); }
.dq-list li a b { font-weight: 600; }
.dq-list li a span { font-size: .88rem; color: var(--ink-2); line-height: 1.45; }
.dq-list li a.on, .dq-list li a:hover { background: var(--accent-weak); }
.dq-list mark, .d-hit { background: var(--mark); color: inherit; border-radius: 3px; padding: 0 1px; }
.dq-empty { padding: 26px 20px; color: var(--muted); font-size: .94rem; }
.dq-foot { display: flex; gap: 16px; padding: 9px 16px; border-top: 1px solid var(--line); background: var(--side); font-size: .78rem; color: var(--muted); }
.dq-foot kbd { font: 600 .68rem/1 var(--f-mono); padding: 2px 5px; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--surface); }
::highlight(d-hit) { background-color: var(--mark); color: inherit; }

.d-toast { position: fixed; left: 50%; bottom: 24px; z-index: 99; transform: translate(-50%, 16px); padding: 9px 14px; border-radius: 9px; background: var(--ink); color: var(--bg); font-size: .88rem; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.d-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* an enlarged screenshot */
.dz { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 24px; background: var(--scrim); cursor: zoom-out; }
.dz img { max-width: min(1600px, 100%); max-height: 100%; border-radius: 10px; box-shadow: var(--shadow-lg); background: var(--surface); }

/* narrower screens: no "on this page" column; then the side menu as a drawer */
@media (max-width: 1240px) {
  .dl { grid-template-columns: 270px minmax(0, 1fr); }
  .dt { display: none; }
  .dt-m { display: block; }
}
@media (max-width: 960px) {
  .dl { grid-template-columns: minmax(0, 1fr); }
  .dh-menu { display: inline-grid; }
  .ds { position: fixed; z-index: 60; top: 0; left: 0; bottom: 0; height: auto; width: min(320px, 86vw); transform: translateX(-102%); transition: transform .2s ease; box-shadow: var(--shadow-lg); padding-top: 18px; }
  body.d-nav-open .ds { transform: none; }
  body.d-nav-open .ds-scrim { display: block; position: fixed; inset: 0; z-index: 55; background: var(--scrim); }
  .dh-search { flex: 1 1 auto; margin-left: 6px; }
  .dh-site { display: none; }
}
@media (max-width: 640px) {
  .dh-in { gap: 8px; padding: 0 12px; }
  .dh-brand span { display: none; }
  .dh-search kbd, .dh-search span { display: none; }
  .dh-search { flex: 0 0 38px; width: 38px; padding: 0; justify-content: center; margin-left: auto; }
  .dh-end { margin-left: 0; }
  .dh-lang svg { display: none; }
  .dm { padding: 18px 16px 48px; }
  .d-cards { grid-template-columns: 1fr; }
  .dp { grid-template-columns: 1fr; }
  .dp-next { grid-column: auto; text-align: left; }
  .dd h2 { font-size: 1.35rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
@media print {
  .dh, .ds, .dt, .dt-m, .dp, .d-feedback, .df, .d-anchor { display: none !important; }
  .dl { display: block; } .dm { padding: 0; }
}
