/* The manual customers read (manual.js draws it). --accent is the manual's own colour, set from its settings. */
:root {
  --accent: #0a6cf0; --accent-ink: #ffffff;
  --bg: #ffffff; --bg-soft: #f5f6f8; --panel: #ffffff; --line: #e3e6eb; --line-strong: #cdd3dc;
  --text: #15181d; --muted: #555e6c; --faint: #858e9d;
  --link: var(--accent);
  --accent-soft: color-mix(in srgb, var(--accent) 9%, var(--bg));
  --tip: #10805a; --important: #7443d0; --warning: #a85800; --danger: #c4302b;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 4px 16px rgba(16, 24, 40, .06);
  --radius: 12px; --header: 60px; --nav-w: 272px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1115; --bg-soft: #161920; --panel: #161920; --line: #262b35; --line-strong: #363d4a;
    --text: #e8eaef; --muted: #a7aebb; --faint: #737c8b;
    --link: color-mix(in srgb, var(--accent) 62%, #ffffff);
    --accent-soft: color-mix(in srgb, var(--accent) 17%, var(--bg));
    --tip: #4cc690; --important: #b693ff; --warning: #f0a54a; --danger: #ff7a70;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 6px 20px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1115; --bg-soft: #161920; --panel: #161920; --line: #262b35; --line-strong: #363d4a;
  --text: #e8eaef; --muted: #a7aebb; --faint: #737c8b;
  --link: color-mix(in srgb, var(--accent) 62%, #ffffff);
  --accent-soft: color-mix(in srgb, var(--accent) 17%, var(--bg));
  --tip: #4cc690; --important: #b693ff; --warning: #f0a54a; --danger: #ff7a70;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 6px 20px rgba(0, 0, 0, .25);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.7 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
button, input { font: inherit; color: inherit; }
img { max-width: 100%; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 50; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { top: 10px; }
.noscript { padding: 40px; text-align: center; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 40; height: var(--header); display: flex; align-items: center; gap: 12px;
  padding: 0 20px; border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px);
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--text); text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.brand img { height: 30px; width: auto; border-radius: 6px; }
.brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.version { font-size: 12px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 1px 9px; white-space: nowrap; }
.spacer { flex: 1; }
.icon-btn {
  width: 38px; height: 38px; flex: none; display: inline-grid; place-items: center; border-radius: 9px;
  border: 1px solid transparent; background: transparent; color: var(--muted); cursor: pointer;
}
.icon-btn:hover { background: var(--bg-soft); color: var(--text); }
.menu-btn { display: none; margin-left: -8px; }
/* PlayStation / Xbox: which controller the pictures show */
.platform { display: flex; flex: none; padding: 3px; gap: 2px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line); }
.platform[hidden] { display: none; }
.platform button {
  height: 30px; padding: 0 11px; border: 0; border-radius: 7px; background: transparent; color: var(--muted);
  font-size: 13.5px; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.platform button:hover { color: var(--text); }
.platform button[aria-pressed="true"] { background: var(--panel); color: var(--text); box-shadow: 0 1px 2px rgba(16, 24, 40, .12); }
.platform .short { display: none; }
.search { position: relative; display: flex; align-items: center; }
.search-icon { position: absolute; left: 11px; color: var(--faint); display: grid; pointer-events: none; }
.search input {
  width: 260px; height: 38px; padding: 0 34px 0 34px; border-radius: 9px; border: 1px solid var(--line);
  background: var(--bg-soft); outline: none;
}
.search input:focus { border-color: var(--accent); background: var(--bg); box-shadow: 0 0 0 3px var(--accent-soft); }
.search input::-webkit-search-cancel-button { display: none; }
.search-key {
  position: absolute; right: 9px; font: 600 11px var(--mono); color: var(--faint); border: 1px solid var(--line);
  border-radius: 5px; padding: 1px 6px; pointer-events: none;
}
.search input:focus ~ .search-key { display: none; }
.results {
  position: absolute; top: calc(100% + 8px); right: 0; width: min(440px, calc(100vw - 24px)); max-height: 70vh; overflow: auto;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 16px 40px rgba(0, 0, 0, .16); padding: 6px;
}
.result { display: block; padding: 9px 12px; border-radius: 9px; color: var(--text); text-decoration: none; line-height: 1.45; }
.result[aria-selected="true"], .result:hover { background: var(--accent-soft); }
.result small { display: block; color: var(--faint); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.result strong { display: block; }
.result span { display: block; color: var(--muted); font-size: 13.5px; }
.no-results { margin: 0; padding: 14px 12px; color: var(--muted); font-size: 14px; }
mark { background: color-mix(in srgb, var(--accent) 24%, transparent); color: inherit; border-radius: 3px; padding: 0 1px; }

/* ---------- Layout ---------- */
.shell { display: grid; grid-template-columns: var(--nav-w) minmax(0, 1fr); }
.nav {
  position: sticky; top: var(--header); height: calc(100vh - var(--header)); overflow-y: auto;
  padding: 26px 16px 48px 22px; border-right: 1px solid var(--line);
}
.nav h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--faint); margin: 24px 10px 6px; font-weight: 700; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 6px 10px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: 14.5px; line-height: 1.4; }
.nav a:hover { color: var(--text); background: var(--bg-soft); }
.nav a[aria-current="page"] { color: var(--link); background: var(--accent-soft); font-weight: 600; }
.nav-home { font-weight: 600; }
.scrim { position: fixed; inset: var(--header) 0 0 0; background: rgba(0, 0, 0, .4); z-index: 29; }
.main {
  display: grid; grid-template-columns: minmax(0, 46rem) 13rem; gap: 56px; justify-content: center;
  padding: 44px 40px 96px; min-width: 0; outline: none;
}
.main.cover-main { grid-template-columns: minmax(0, 60rem); }
.doc { min-width: 0; }

/* ---------- Text ---------- */
.doc h1 { font-size: 2.15rem; line-height: 1.2; letter-spacing: -.022em; margin: 0 0 20px; }
.doc h2 { font-size: 1.45rem; line-height: 1.3; letter-spacing: -.012em; margin: 2.1em 0 .6em; }
.doc h3 { font-size: 1.15rem; line-height: 1.35; margin: 1.7em 0 .5em; }
.doc p { margin: 0 0 1em; }
.doc ul, .doc ol { padding-left: 1.4em; margin: 0 0 1.1em; }
.doc li { margin: .3em 0; }
.doc li::marker { color: var(--faint); }
.doc a { color: var(--link); text-underline-offset: 2px; text-decoration-thickness: 1px; }
.doc a:hover { text-decoration-thickness: 2px; }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 2.2em 0; }
.doc code { font-family: var(--mono); font-size: .86em; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 5px; padding: .08em .36em; }
.eyebrow { color: var(--link); font-weight: 650; font-size: 13px; text-transform: uppercase; letter-spacing: .07em; margin: 0 0 8px; }
.ui {
  display: inline-block; font-weight: 600; font-size: .88em; line-height: 1.55; padding: 0 .5em; border-radius: 6px;
  background: var(--accent-soft); color: var(--link); border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  white-space: nowrap; vertical-align: 1px;
}
/* Pictures in text: an icon the height of the words, or a picture on a line of its own */
.ico { display: inline-block; height: 1.3em; width: auto; vertical-align: -.3em; margin: 0 .06em; }
.ico[data-tip] { cursor: help; border-radius: 4px; }
/* Controller buttons (a PlayStation / Xbox pair, so they carry data-alt): their files have room around the button for
   its black outline (index.html manOutline), so they're drawn that much bigger to keep the button the size of .ico */
img.ico[data-alt] { height: 1.51em; vertical-align: -.4em; margin: 0 -.04em; }
/* An icon's name, over it (manual.js wireTips). Not ".tip": that's a Success hint's class (.callout.tip) */
.icon-tip {
  position: fixed; z-index: 60; max-width: calc(100vw - 16px); padding: 4px 10px; border-radius: 7px; pointer-events: none;
  background: var(--text); color: var(--bg); font-size: 13px; font-weight: 600; line-height: 1.45; white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
}
.ico.ink {
  width: 1.3em; background: currentColor;
  -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
}
.pic-line { margin: 0 0 1em; }
.pic { display: block; max-width: 100%; max-height: 420px; height: auto; border-radius: 8px; cursor: zoom-in; }
.table-wrap { overflow-x: auto; margin: 0 0 1.3em; border: 1px solid var(--line); border-radius: 10px; }
.doc table { border-collapse: collapse; width: 100%; font-size: .94em; }
.doc th, .doc td { padding: 9px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.doc th { background: var(--bg-soft); font-weight: 650; }
.doc tbody tr:last-child td { border-bottom: 0; }

/* ---------- Blocks ---------- */
.block > :last-child, .rich > :last-child { margin-bottom: 0; }
.block + .block { margin-top: 1em; }
.zoom { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; margin: 0 auto; max-width: 100%; }
.zoom img { display: block; height: auto; }
.figure { margin: 1.6em 0; }
.figure img { margin: 0 auto; }
.figure.size-s img { max-width: min(240px, 100%); }
.figure.size-m img { max-width: min(360px, 100%); }
.figure.size-l img { max-width: min(560px, 100%); }
.figure.size-full img { width: 100%; }
/* Where a picture sits on its line (its align field): its caption follows it */
/* The zoom button can be wider than its picture (the size cap is on the img), so both move */
.figure.align-left .zoom, .figure.align-left img { margin-left: 0; }
.figure.align-right .zoom, .figure.align-right img { margin-right: 0; }
.figure.align-left figcaption { text-align: left; }
.figure.align-right figcaption { text-align: right; }
.frame-border img { border: 1px solid var(--line); border-radius: 10px; }
.frame-phone img, .steps-shot img { border: 6px solid #1d2026; border-radius: 24px; background: #111; box-shadow: var(--shadow); }
/* Images side by side (manual.js blocksHtml): each column grows up to its picture's size and the row is centred, so
   small pictures stay together; a column that would be under 200px drops to the next line, so on a phone they stack */
.pic-row { display: flex; flex-wrap: wrap; gap: 1em 20px; justify-content: center; align-items: flex-start; margin: 1.6em 0; }
.pic-row > .block { flex: 1 1 200px; min-width: 0; max-width: 360px; margin: 0 !important; }
.pic-row > .block:has(.size-s) { max-width: 240px; }
.pic-row > .block:has(.size-l) { max-width: 560px; }
.pic-row > .block:has(.size-full) { max-width: none; }
.pic-row .figure { margin: 0; }
.pic-row.align-left { justify-content: flex-start; }
.pic-row.align-right { justify-content: flex-end; }
figcaption { color: var(--muted); font-size: 14px; text-align: center; margin-top: 10px; line-height: 1.5; }

.steps {
  display: grid; gap: 20px 28px; margin: 1.6em 0; padding: 22px 24px; background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.steps.with-shot { grid-template-columns: 200px minmax(0, 1fr); align-items: start; }
.steps-shot { margin: 0; }
.steps .steps-title { margin: 0 0 14px; font-size: 1.08rem; }
.step-list { list-style: none; padding: 0 !important; margin: 0 !important; display: grid; gap: 14px; }
.step-list > li { position: relative; padding-left: 42px; margin: 0; min-height: 28px; }
.step-list > li > span { display: block; padding-top: 1px; }
.step-list > li::before {
  counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 28px; height: 28px;
  border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 14px;
  display: grid; place-items: center; line-height: 1;
}
/* "Or: ..." is another way to do the step above, so it has no number of its own */
.step-list > li.or::before {
  counter-increment: none; content: "or"; background: transparent; color: var(--muted); border: 1.5px solid var(--line-strong);
  font-size: 11px; font-weight: 650; text-transform: uppercase;
}

.callout {
  --c: var(--link); display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding: 14px 18px; margin: 1.5em 0;
  border-radius: 10px; border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); background: color-mix(in srgb, var(--c) 7%, var(--bg));
}
.callout.tip { --c: var(--tip); }
.callout.important { --c: var(--important); }
.callout.warning { --c: var(--warning); }
.callout.danger { --c: var(--danger); }
.callout .ci { color: var(--c); margin-top: 2px; display: grid; }
.callout-title { font-weight: 700; color: var(--c); margin: 0 0 2px !important; }
.callout > div > :last-child { margin-bottom: 0; }

.download {
  display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 14px; align-items: center; margin: 1.5em 0;
  padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow);
}
.dl-icon { width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--link); }
.dl-body { min-width: 0; line-height: 1.45; }
.dl-name { display: block; font-weight: 650; }
.dl-text { display: block; color: var(--muted); font-size: .94em; margin-top: 2px; }
.dl-meta { display: block; color: var(--faint); font-size: 13px; margin-top: 3px; overflow-wrap: anywhere; }
.doc .dl-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 9px; font-weight: 600;
  background: var(--accent); color: var(--accent-ink); text-decoration: none; white-space: nowrap;
}
.doc .dl-btn:hover { filter: brightness(1.08); }

.video { margin: 1.6em 0; }
.ratio { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.ratio iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Cover ---------- */
.hero { padding: 16px 0 8px; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.1rem); letter-spacing: -.03em; margin-bottom: 14px; }
.tagline { font-size: 1.22rem; line-height: 1.55; color: var(--muted); max-width: 42rem; margin: 0 0 18px !important; }
.intro { max-width: 46rem; }
.cta {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 11px 20px; border-radius: 10px;
  background: var(--accent); color: var(--accent-ink) !important; font-weight: 600; text-decoration: none !important;
}
.cta:hover { filter: brightness(1.08); }
/* The map of the guide: a numbered card per section. --c is the card's colour: the accent, or purple for advanced.
   Each card is a subgrid three rows tall (name, summary, pages), so cards side by side are the same height and their
   page lists start on the same line however long their summaries are. */
.sec-groups { display: grid; gap: 22px; margin-top: 48px; }
.sec-groups .sec-grid { margin-top: 0; }
.sec-panel { border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); padding: 22px 22px 24px; }
.sec-panel.adv {
  border-color: color-mix(in srgb, var(--important) 34%, transparent);
  background: color-mix(in srgb, var(--important) 6%, var(--bg));
}
.sec-panel-head { margin: 0 0 18px; }
.doc .sec-panel-head h2 {
  display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; font-weight: 750;
  text-transform: uppercase; letter-spacing: .08em; color: var(--muted);
}
.doc .sec-panel.adv .sec-panel-head h2 { color: var(--important); }
.doc .sec-panel-head p { margin: 4px 0 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.sec-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr)); gap: 18px; margin-top: 48px;
}
.sec-card {
  --c: var(--link); position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 22px 14px; background: var(--panel); box-shadow: var(--shadow);
  display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0;
}
@supports not (grid-template-rows: subgrid) { .sec-card { display: block; grid-row: auto; } }
.sec-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--c); }
.sec-card.adv { --c: var(--important); border-color: color-mix(in srgb, var(--important) 30%, var(--line)); }
.doc .sec-top { display: flex; align-items: center; gap: 12px; padding: 0; color: var(--text); text-decoration: none; }
.sec-top .lvl { margin-left: auto; }
.sec-panel-head svg { flex: none; }
.sec-num {
  flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%;
  background: color-mix(in srgb, var(--c) 13%, var(--panel)); color: var(--c); font-weight: 750; font-size: 16px;
}
.doc .sec-card h2 { font-size: 1.18rem; line-height: 1.3; margin: 0; }
.doc .sec-top:hover h2 { color: var(--c); }
.doc .sec-sum { color: var(--muted); font-size: 14.5px; line-height: 1.55; margin: 12px 0 0; }
.doc .sec-sum:empty { margin: 0; }
.sec-card ul { list-style: none; padding: 10px 0 0; margin: 14px 0 0; border-top: 1px solid var(--line); align-self: start; }
.sec-card li { margin: 0; }
.doc .sec-card li a { display: block; padding: 5px 0; color: var(--text); text-decoration: none; line-height: 1.4; font-size: 15px; }
.doc .sec-card li a:hover { color: var(--c); }
/* "Advanced", after an advanced section's name in the nav and on its pages */
.lvl {
  display: inline-block; margin-left: 6px; padding: 0 7px; border-radius: 999px; vertical-align: 1px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.7;
  color: var(--important); background: color-mix(in srgb, var(--important) 12%, transparent);
}

/* ---------- Around a page ---------- */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 60px; }
.doc .pager a { display: grid; gap: 2px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); text-decoration: none; line-height: 1.4; }
.doc .pager a:hover { border-color: var(--accent); }
.pager small { color: var(--faint); font-size: 13px; }
.pager span { font-weight: 600; }
.pager .next { grid-column: 2; text-align: right; }
.foot { margin-top: 52px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13.5px; display: flex; gap: 8px 16px; flex-wrap: wrap; justify-content: space-between; }
.toc { position: sticky; top: calc(var(--header) + 40px); align-self: start; font-size: 13.5px; max-height: calc(100vh - var(--header) - 60px); overflow: auto; }
.toc p { margin: 0 0 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--faint); font-weight: 700; }
.toc ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 4px 0 4px 14px; margin-left: -1px; color: var(--muted); text-decoration: none; border-left: 2px solid transparent; line-height: 1.4; }
.toc li.h3 a { padding-left: 26px; }
.toc a:hover { color: var(--text); }
.toc a.on { color: var(--link); border-left-color: var(--accent); font-weight: 600; }

.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .85); display: grid; place-items: center; padding: 20px; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 94vw; max-height: 92vh; border-radius: 10px; }
.muted { color: var(--muted); }

/* ---------- In the internal site's Guide tab: empty blocks show as a placeholder (the real site leaves them out) ---------- */
.ph { border: 1.5px dashed var(--line-strong); border-radius: 10px; padding: 16px; color: var(--faint); text-align: center; font-size: 14px; margin: 1em 0; }
.block.flash { animation: flash 1.4s ease-out; }
@keyframes flash { 0%, 50% { outline: 2px solid var(--accent); outline-offset: 6px; background: var(--accent-soft); } }

/* ---------- Smaller screens ---------- */
@media (max-width: 1240px) {
  .main { grid-template-columns: minmax(0, 46rem); }
  .toc { display: none; }
}
@media (max-width: 900px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .menu-btn { display: inline-grid; }
  .nav {
    position: fixed; z-index: 30; top: var(--header); left: 0; bottom: 0; height: auto; width: min(86vw, 320px);
    background: var(--bg); transform: translateX(-102%); box-shadow: var(--shadow);
  }
  .nav.anim { transition: transform .2s ease; } /* only while opening or closing, not when the window is resized */
  .nav.open { transform: none; }
  .main { padding: 28px 18px 72px; }
  .top { padding: 0 12px; gap: 6px; }
  .version, .search-key { display: none; }
  .platform button { padding: 0 9px; }
  .platform .long { display: none; }
  .platform .short { display: inline; }
  .search { flex: 1 1 auto; min-width: 0; max-width: 260px; }
  .search input { width: 100%; padding-right: 10px; }
  .results { position: fixed; top: calc(var(--header) + 6px); left: 12px; right: 12px; width: auto; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .doc h1 { font-size: 1.75rem; }
  .steps { padding: 18px 16px; }
  .steps.with-shot { grid-template-columns: minmax(0, 1fr); }
  .steps-shot { max-width: 220px; margin: 0 auto; }
  .download { grid-template-columns: 46px minmax(0, 1fr); }
  .doc .dl-btn { grid-column: 1 / -1; justify-content: center; }
  .pager { grid-template-columns: 1fr; }
  .pager .next { grid-column: 1; }
  .sec-panel { padding: 16px 12px 14px; }
  .sec-panel-head { padding: 0 4px; }
  .brand { font-size: 15.5px; }
}
@media print {
  .top, .nav, .toc, .pager, .scrim { display: none !important; }
  .shell, .main { display: block; padding: 0; }
  .steps, .download, .sec-card { box-shadow: none; break-inside: avoid; }
}
