/* ============================================================
   Swiss POS — User Manual
   Aesthetic: International Typographic Style ("Swiss") on warm paper.
   Royal blue · precise grid · numbered sections · hairline rules.
   ============================================================ */

:root {
  --paper:        #fbfaf6;   /* warm manual paper */
  --paper-2:      #f3f2ec;
  --surface:      #ffffff;
  --ink:          #0a1f44;   /* headings */
  --ink-body:     #34415a;   /* reading text */
  --ink-soft:     #5b6b85;   /* secondary text */
  --ink-mute:     #93a0b8;
  --royal:        #1e3a8a;
  --royal-deep:   #14275f;
  --royal-bright: #2563eb;
  --royal-tint:   #d7e2ff;
  --royal-mist:   #eef3ff;
  --accent:       #e8a13a;   /* warm signal — used sparingly */
  --accent-soft:  #fbeccd;
  --danger:       #c4452f;
  --line:         #e4e2d8;   /* hairlines on paper */
  --line-2:       #d9d7cc;
  --shadow-card:  0 1px 2px rgba(10,31,68,.05), 0 8px 28px -16px rgba(10,31,68,.22);
  --shadow-pop:   0 18px 48px -22px rgba(10,31,68,.38);

  --font-display: 'Sora', 'Segoe UI', sans-serif;
  --font-sans:    'Manrope', 'Segoe UI', sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  --topbar-h: 64px;
  --side-w: 308px;
  --maxread: 760px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink-body);
  background:
    radial-gradient(1200px 600px at 78% -8%, var(--royal-mist), transparent 60%),
    linear-gradient(180deg, var(--paper), var(--paper));
  background-attachment: fixed;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* faint blueprint grid behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: .35;
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0, transparent 78%);
          mask-image: radial-gradient(circle at 50% 30%, #000 0, transparent 78%);
  pointer-events: none;
  z-index: 0;
}

/* film grain for paper texture */
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--royal); color: #fff; }

/* reading-progress bar */
.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--royal), var(--royal-bright));
  z-index: 60; transition: width .12s linear;
}

/* ───────────────────────── Top bar ───────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 50;
  height: var(--topbar-h);
  display: flex; align-items: center; gap: 18px;
  padding: 0 clamp(16px, 3vw, 30px);
  background: rgba(251,250,246,.82);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--royal); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: -1px;
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.16), 0 4px 14px -6px var(--royal);
}
.brand-mark.sm { width: 26px; height: 26px; font-size: 15px; border-radius: 8px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.brand-sub { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-mute); letter-spacing: .14em; text-transform: uppercase; }

.search {
  position: relative; flex: 1; max-width: 440px; margin: 0 auto 0 8px;
  display: flex; align-items: center;
}
.search-ic { position: absolute; left: 13px; width: 17px; height: 17px; stroke: var(--ink-mute); fill: none; stroke-width: 2; stroke-linecap: round; }
#search {
  width: 100%; height: 42px; padding: 0 40px 0 38px;
  border: 1px solid var(--line-2); border-radius: 12px;
  background: var(--surface); color: var(--ink);
  font-family: var(--font-sans); font-size: 14.5px;
  transition: border-color .15s, box-shadow .15s;
}
#search::placeholder { color: var(--ink-mute); }
#search:focus { outline: none; border-color: var(--royal-bright); box-shadow: 0 0 0 4px var(--royal-mist); }
.search-kbd {
  position: absolute; right: 10px;
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft);
  border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 6px;
  padding: 1px 7px; background: var(--paper-2);
}

.top-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: 11px;
  background: var(--surface); color: var(--ink);
  font-family: var(--font-sans); font-weight: 600; font-size: 13.5px; cursor: pointer;
  transition: background .15s, border-color .15s, transform .1s;
}
.btn-ghost svg { width: 17px; height: 17px; fill: none; stroke: var(--royal); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.btn-ghost:hover { background: var(--royal-mist); border-color: var(--royal-tint); }
.btn-ghost:active { transform: translateY(1px); }

.nav-toggle { display: none; flex-direction: column; gap: 4px; width: 42px; height: 40px; border: 1px solid var(--line-2); border-radius: 11px; background: var(--surface); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .22s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ───────────────────────── Layout ───────────────────────── */
.layout {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr);
  max-width: 1320px; margin: 0 auto;
}

/* ───────────────────────── Sidebar ───────────────────────── */
.sidebar {
  position: sticky; top: var(--topbar-h);
  height: calc(100vh - var(--topbar-h));
  overflow-y: auto; overscroll-behavior: contain;
  padding: 26px 22px 40px 0;
  border-right: 1px solid var(--line);
  scrollbar-width: thin; scrollbar-color: var(--line-2) transparent;
}
.sidebar::-webkit-scrollbar { width: 8px; }
.sidebar::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 8px; }
.toc-head { display: flex; align-items: baseline; justify-content: space-between; padding: 4px 6px 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.toc-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink); font-weight: 500; }
.toc-count { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-mute); }

.toc-list { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.toc-list a {
  display: flex; align-items: baseline; gap: 12px;
  padding: 7px 12px; border-radius: 9px;
  text-decoration: none; color: var(--ink-soft);
  font-size: 14px; line-height: 1.35; font-weight: 500;
  position: relative; transition: background .14s, color .14s;
}
.toc-n { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-mute); min-width: 18px; transition: color .14s; font-variant-numeric: tabular-nums; }
.toc-t { transition: transform .16s; }
.toc-list a::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%) scaleY(0);
  width: 3px; height: 64%; border-radius: 3px; background: var(--royal); transition: transform .18s;
}
.toc-list a:hover { background: var(--royal-mist); color: var(--ink); }
.toc-list a:hover .toc-n { color: var(--royal); }
.toc-list a.active { background: var(--royal-mist); color: var(--royal-deep); font-weight: 700; }
.toc-list a.active::before { transform: translateY(-50%) scaleY(1); }
.toc-list a.active .toc-n { color: var(--royal); }
.toc-list a.dim { opacity: .32; }
.toc-list a mark { background: var(--accent-soft); color: var(--ink); border-radius: 3px; padding: 0 1px; }

.toc-foot { margin-top: 22px; padding: 16px 12px 0; border-top: 1px dashed var(--line-2); }
.toc-foot .crop { width: 18px; height: 18px; border-left: 1.5px solid var(--royal); border-bottom: 1.5px solid var(--royal); opacity: .45; margin-bottom: 10px; }
.toc-foot p { margin: 0; font-size: 12.5px; color: var(--ink-mute); line-height: 1.5; }

/* ───────────────────────── Content shell ───────────────────────── */
.content { padding: 0 clamp(20px, 5vw, 76px) 90px; min-width: 0; }

/* ───────────────────────── Hero ───────────────────────── */
.hero {
  position: relative;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center;
  padding: clamp(48px, 7vw, 86px) 0 clamp(40px, 5vw, 60px);
  border-bottom: 1px solid var(--line);
}
.hero-marks { position: absolute; inset: 18px 0 14px; pointer-events: none; }
.hero-marks i { position: absolute; width: 14px; height: 14px; opacity: .5; }
.hero-marks i:nth-child(1) { top: 0; left: -6px; border-left: 1.5px solid var(--royal); border-top: 1.5px solid var(--royal); }
.hero-marks i:nth-child(2) { top: 0; right: -6px; border-right: 1.5px solid var(--royal); border-top: 1.5px solid var(--royal); }
.hero-marks i:nth-child(3) { bottom: 0; left: -6px; border-left: 1.5px solid var(--royal); border-bottom: 1.5px solid var(--royal); }
.hero-marks i:nth-child(4) { bottom: 0; right: -6px; border-right: 1.5px solid var(--royal); border-bottom: 1.5px solid var(--royal); }

.hero-copy > * { opacity: 0; transform: translateY(14px); animation: rise .7s cubic-bezier(.22,.7,.3,1) forwards; }
.hero-copy > *:nth-child(1) { animation-delay: .04s; }
.hero-copy > *:nth-child(2) { animation-delay: .12s; }
.hero-copy > *:nth-child(3) { animation-delay: .2s; }
.hero-copy > *:nth-child(4) { animation-delay: .28s; }
.hero-copy > *:nth-child(5) { animation-delay: .36s; }
.hero-copy > *:nth-child(6) { animation-delay: .44s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.hero-kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--royal); font-weight: 500;
  padding: 7px 13px; border: 1px solid var(--royal-tint); border-radius: 999px; background: var(--royal-mist);
}
.hero-kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--royal); box-shadow: 0 0 0 4px var(--royal-tint); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

.hero-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(38px, 5.4vw, 66px); line-height: 1.02; letter-spacing: -.025em;
  color: var(--ink); margin: 22px 0 0;
}
.hero-lead { font-family: var(--font-display); font-weight: 500; font-size: clamp(17px, 2vw, 21px); color: var(--royal-deep); margin: 18px 0 0; line-height: 1.4; }
.hero-desc { font-size: 16px; color: var(--ink-soft); max-width: 52ch; margin: 14px 0 0; }
.hero-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  margin: 26px 0 0; font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-soft);
}
.hero-meta b { color: var(--royal); font-weight: 700; }
.hero-meta .sep { width: 5px; height: 5px; background: var(--line-2); border-radius: 50%; }

.hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 30px; height: 50px; padding: 0 22px;
  background: var(--royal); color: #fff; text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  border-radius: 13px; box-shadow: var(--shadow-card);
  transition: background .16s, transform .12s, box-shadow .16s;
}
.hero-cta svg { width: 19px; height: 19px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s; }
.hero-cta:hover { background: var(--royal-deep); transform: translateY(-2px); box-shadow: var(--shadow-pop); }
.hero-cta:hover svg { transform: translateX(4px); }

.hero-art { position: relative; opacity: 0; animation: rise .8s .3s cubic-bezier(.22,.7,.3,1) forwards; }
.hero-art svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 24px 40px rgba(10,31,68,.12)); }
.art-label { font-family: var(--font-mono); font-size: 9px; letter-spacing: .12em; fill: var(--royal); opacity: .7; }
.hero-art .art-cable { stroke-dashoffset: 60; animation: dash 2.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: 0; } }

/* ───────────────────────── Sections ───────────────────────── */
.doc-section { padding: clamp(46px, 6vw, 76px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--topbar-h) + 18px); }
.doc-section.hidden { display: none; }

.sec-head { position: relative; margin-bottom: 30px; }
.sec-ghost {
  position: absolute; right: -4px; top: -38px; z-index: 0;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(96px, 15vw, 168px);
  line-height: 1; color: var(--royal); opacity: .055; letter-spacing: -.04em; user-select: none;
}
.sec-eyebrow {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--royal); font-weight: 500;
}
.sec-eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--royal); }
.sec-title {
  position: relative; z-index: 1;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(27px, 3.4vw, 38px); line-height: 1.1; letter-spacing: -.02em;
  color: var(--ink); margin: 12px 0 0; max-width: 20ch;
}

/* ───────────────────────── Body typography ───────────────────────── */
.sec-body { max-width: var(--maxread); }
.sec-body > *:first-child { margin-top: 0; }
.sec-body p { margin: 0 0 18px; }
.sec-body strong { color: var(--ink); font-weight: 700; }

.sec-body h3 {
  font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -.01em;
  color: var(--ink); margin: 42px 0 14px; padding-left: 18px; position: relative;
  scroll-margin-top: calc(var(--topbar-h) + 18px);
}
.sec-body h3::before { content: ""; position: absolute; left: 0; top: .12em; width: 5px; height: 1.05em; border-radius: 3px; background: var(--royal); }
.sec-body h4 { font-family: var(--font-display); font-weight: 600; font-size: 16.5px; color: var(--ink); margin: 30px 0 10px; scroll-margin-top: calc(var(--topbar-h) + 18px); }

.sec-body a { color: var(--royal); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: var(--royal-tint); transition: color .14s, text-decoration-color .14s; }
.sec-body a:hover { color: var(--royal-bright); text-decoration-color: var(--royal-bright); }

/* lists */
.sec-body ul, .sec-body ol { margin: 0 0 20px; padding-left: 0; list-style: none; }
.sec-body li { margin: 0 0 9px; padding-left: 30px; position: relative; }
.sec-body ul > li::before { content: ""; position: absolute; left: 6px; top: .62em; width: 7px; height: 7px; background: var(--royal); transform: rotate(45deg); }
.sec-body ol { counter-reset: li; }
.sec-body ol > li { counter-increment: li; }
.sec-body ol > li::before {
  content: counter(li); position: absolute; left: 0; top: .04em;
  font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--royal);
  width: 21px; height: 21px; border-radius: 6px; background: var(--royal-mist);
  display: grid; place-items: center; font-variant-numeric: tabular-nums;
}
.sec-body li > ul, .sec-body li > ol { margin-top: 9px; margin-bottom: 0; }
.sec-body li p { margin: 0 0 8px; }

/* inline code */
.sec-body :not(pre) > code {
  font-family: var(--font-mono); font-size: .86em;
  background: var(--paper-2); border: 1px solid var(--line);
  color: var(--royal-deep); padding: 2px 6px; border-radius: 6px; white-space: nowrap;
}

/* blockquote → callout */
.sec-body blockquote {
  position: relative; margin: 26px 0; padding: 18px 22px 18px 52px;
  background: var(--royal-mist); border: 1px solid var(--royal-tint);
  border-left: 3px solid var(--royal); border-radius: 4px 14px 14px 4px;
  color: var(--ink-body);
}
.sec-body blockquote::before {
  content: ""; position: absolute; left: 18px; top: 18px; width: 20px; height: 20px;
  background: var(--royal);
  -webkit-mask: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4M12 8h.01'/%3E%3C/svg%3E");
          mask: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4M12 8h.01'/%3E%3C/svg%3E");
}
.sec-body blockquote p { margin: 0 0 10px; }
.sec-body blockquote p:last-child { margin: 0; }
.sec-body blockquote strong:first-child { color: var(--royal-deep); }
.sec-body blockquote a { color: var(--royal-deep); }

/* tables */
.sec-body .tbl-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-card); }
.sec-body table { width: 100%; border-collapse: collapse; font-size: 15px; }
.sec-body thead th {
  text-align: left; font-family: var(--font-mono); font-weight: 700; font-size: 11px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--royal-deep);
  background: var(--royal-mist); padding: 13px 18px; border-bottom: 1px solid var(--royal-tint); white-space: nowrap;
}
.sec-body tbody td { padding: 13px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.sec-body tbody tr:last-child td { border-bottom: none; }
.sec-body tbody tr:hover td { background: var(--royal-mist); }
.sec-body tbody td:first-child { font-weight: 600; color: var(--ink); }

.sec-body hr { border: none; border-top: 1px solid var(--line); margin: 32px 0; }

/* ───────────────────────── Footer ───────────────────────── */
.doc-footer { padding: 56px 0 0; }
.foot-rule { height: 1px; background: var(--line); margin-bottom: 28px; }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--ink); }
.foot-colophon { margin: 16px 0 6px; color: var(--ink-soft); font-size: 15px; max-width: 60ch; }
.foot-fine { margin: 0; color: var(--ink-mute); font-size: 13px; }

/* ───────────────────────── Back to top ───────────────────────── */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--royal); border: none; cursor: pointer;
  display: grid; place-items: center; box-shadow: var(--shadow-pop);
  opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none;
  transition: opacity .22s, transform .22s, background .16s;
}
.to-top svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--royal-deep); }

/* mobile scrim — lives inside .layout so the drawer (z-48) stays above it (z-45) */
.scrim { position: fixed; inset: 0; z-index: 45; background: rgba(10,31,68,.42); backdrop-filter: blur(2px); opacity: 0; pointer-events: none; transition: opacity .25s; }
.scrim.show { opacity: 1; pointer-events: auto; }
/* keep the back-to-top button from floating over the open drawer */
body.nav-open .to-top { display: none; }

/* no-results note */
.no-results { display: none; padding: 10px 12px; margin-top: 8px; font-size: 13px; color: var(--ink-mute); font-family: var(--font-mono); }
.no-results.show { display: block; }

/* ───────────────────────── Responsive ───────────────────────── */
@media (max-width: 1000px) {
  :root { --side-w: 280px; }
  .hero { grid-template-columns: 1fr; }
  .hero-art { max-width: 380px; margin-top: 6px; }
}
@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .search { display: none; }
  .layout { grid-template-columns: 1fr; }
  .sidebar {
    position: fixed; top: var(--topbar-h); left: 0; z-index: 48;
    width: min(86vw, 340px); height: calc(100dvh - var(--topbar-h));
    background: var(--paper); border-right: 1px solid var(--line);
    padding: 22px 18px 40px; box-shadow: var(--shadow-pop);
    transform: translateX(-104%); transition: transform .28s cubic-bezier(.22,.7,.3,1);
  }
  .sidebar.open { transform: none; }
  .content { padding-left: clamp(18px, 5vw, 30px); padding-right: clamp(18px, 5vw, 30px); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .btn-ghost span { display: none; }
  .btn-ghost { padding: 0 11px; }
  .sec-body table { font-size: 14px; }
  .to-top { right: 16px; bottom: 16px; }
}

/* ───────────────────────── Print / Save-as-PDF ───────────────────────── */
@media print {
  :root { --topbar-h: 0px; }
  body { background: #fff; font-size: 11pt; color: #1a2438; overflow: visible; }
  body::before, .grain, .progress, .topbar, .sidebar, .to-top, .scrim, .hero-art, .hero-cta, .nav-toggle, .search { display: none !important; }
  .layout { display: block; max-width: none; }
  .content { padding: 0; }
  .hero { display: block; border-bottom: 2px solid var(--royal); padding: 0 0 18px; page-break-after: avoid; }
  .hero-title { font-size: 26pt; }
  .doc-section { padding: 18px 0; border-bottom: 1px solid #ccc; page-break-inside: auto; }
  .sec-head { page-break-after: avoid; }
  .sec-ghost { display: none; }
  .sec-title { font-size: 17pt; }
  .sec-body { max-width: none; }
  .sec-body h3, .sec-body h4 { page-break-after: avoid; }
  .sec-body blockquote, .sec-body .tbl-wrap, .sec-body table, .sec-body li, .sec-body img { page-break-inside: avoid; }
  .sec-body blockquote { background: #f4f7ff !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .sec-body thead th { background: #eef3ff !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  a { color: var(--royal) !important; text-decoration: none; }
  .doc-footer { page-break-before: avoid; }
}
