/* YeeStudio / Autocomplete · A small, self-contained documentation design system. */
:root {
  color-scheme: light;
  --canvas: #f8f9fb;
  --surface: #ffffff;
  --surface-soft: #f5f7f5;
  --ink: #21332d;
  --muted: #627067;
  --faint: #627067;
  --line: #e4e9e5;
  --line-strong: #d3ddd5;
  --green: #306b50;
  --green-hover: #23523c;
  --green-soft: #edf4ed;
  --green-line: #d3e2d1;
  --hero: #193e32;
  --hero-accent: #c4dbb1;
  --coral: #dd735c;
  --warning: #946137;
  --warning-soft: #fcf1e6;
  --sidebar-width: 244px;
  --header-height: 72px;
  --shadow-dialog: 0 24px 100px #182c3429;
  --radius: 14px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #121b18;
  --surface: #19241f;
  --surface-soft: #202d25;
  --ink: #e5eee5;
  --muted: #acbbb0;
  --faint: #9dae9f;
  --line: #2d3b32;
  --line-strong: #455749;
  --green: #b7d5a6;
  --green-hover: #d8e9cb;
  --green-soft: #283d2e;
  --green-line: #40593d;
  --hero: #193e32;
  --warning: #edbf8d;
  --warning-soft: #3b3025;
  --shadow-dialog: 0 24px 100px #0007;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --canvas: #121b18; --surface: #19241f; --surface-soft: #202d25;
    --ink: #e5eee5; --muted: #acbbb0; --faint: #9dae9f;
    --line: #2d3b32; --line-strong: #455749;
    --green: #b7d5a6; --green-hover: #d8e9cb; --green-soft: #283d2e; --green-line: #40593d;
    --warning: #edbf8d; --warning-soft: #3b3025;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Noto Sans CJK KR", "Malgun Gothic", sans-serif; font-size: 14px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: not-allowed; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-hover); }
button, a { touch-action: manipulation; }
button, a, input { transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease; }
button { border: 0; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; border-radius: 4px; }
::selection { color: var(--ink); background: var(--green-line); }
img, svg { display: block; max-width: 100%; }
.icon { flex: 0 0 auto; vertical-align: middle; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.js-only, .mobile-only { display: none !important; }
.enhanced .js-only { display: flex !important; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 12px 20px; color: var(--surface); background: var(--green); border-radius: 8px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
button:disabled { opacity: .5; }
body.dialog-open { overflow: hidden; }

/* Navigation shell */
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 30; width: var(--sidebar-width); padding: 28px 18px 18px; background: var(--surface); border-right: 1px solid var(--line); display: flex; flex-direction: column; overflow-y: auto; scrollbar-width: thin; }
.brand { display: inline-flex; align-items: center; gap: 10px; margin: 0 10px 29px; color: var(--ink); font-size: 22px; line-height: 1.2; font-weight: 750; letter-spacing: -.8px; white-space: nowrap; }
.brand > .icon { width: 25px; height: 25px; stroke-width: 2; }
.brand-period { color: var(--green); }
.product-label { display: flex; align-items: center; gap: 10px; padding: 13px 11px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 30px; }
.app-mark { display: grid; place-items: center; position: relative; width: 36px; height: 36px; flex: 0 0 auto; border-radius: 10px; color: #fff; background: var(--coral); font-size: 25px; line-height: 1; font-weight: 800; font-family: Arial, sans-serif; letter-spacing: -2px; padding-right: 4px; }
.app-mark > span { position: absolute; top: 6px; right: 5px; font-size: 10px; font-weight: 400; }
.product-label > div { flex: 1; }
.product-label strong { display: block; font-size: 13px; line-height: 1.5; font-weight: 700; }
.product-label div > span { display: block; color: var(--muted); font-size: 10px; margin-top: 3px; }
.product-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); margin-right: 3px; }
.nav-label { display: block; margin: 0 12px 11px; color: var(--faint); font-size: 10px; line-height: 1.5; font-weight: 600; letter-spacing: 1.4px; }
.primary-nav { margin-bottom: 29px; }
.nav-link { display: flex; align-items: center; min-height: 43px; gap: 10px; margin: 5px 0; padding: 9px 11px; color: var(--muted); border-radius: 7px; font-size: 12px; font-weight: 500; }
.nav-link > .icon { width: 17px; height: 17px; }
.nav-arrow { margin-left: auto; opacity: 0; width: 14px !important; }
.nav-link.is-current { color: var(--green); background: var(--green-soft); font-weight: 650; }
.nav-link.is-current .nav-arrow { opacity: 1; }
.nav-link:hover { background: var(--surface-soft); color: var(--ink); }
.nav-link.is-current:hover { background: var(--green-soft); color: var(--green-hover); }
.section-nav { margin-bottom: 22px; }
.section-nav > .nav-label { letter-spacing: .3px; }
.toc-link { display: flex; align-items: center; gap: 12px; padding: 7px 12px; margin: 2px 0; font-size: 12px; line-height: 1.5; color: var(--muted); border-radius: 5px; }
.toc-number { min-width: 17px; color: var(--faint); font-size: 10px; font-variant-numeric: tabular-nums; }
.toc-link:hover { color: var(--green); background: var(--surface-soft); }
.toc-link.is-active { color: var(--green); font-weight: 650; }
.toc-link.is-active .toc-number { color: var(--green); }
.sidebar-bottom { margin-top: auto; padding-top: 16px; }
.sidebar-help { padding: 16px 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-soft); }
.sidebar-help > .icon { width: 18px; height: 18px; margin-bottom: 9px; color: var(--muted); }
.sidebar-help > strong { display: block; font-size: 11px; font-weight: 650; }
.sidebar-help > p { margin: 5px 0 12px; color: var(--muted); font-size: 10px; }
.sidebar-help > a { display: flex; align-items: center; justify-content: space-between; font-size: 11px; font-weight: 600; }
.sidebar-help > a > .icon { width: 15px; height: 15px; }
.sidebar-caption { display: flex; align-items: center; justify-content: center; gap: 7px; padding-top: 17px; color: var(--faint); font-size: 10px; }
.status-dot { display: inline-block; flex: 0 0 auto; width: 6px; height: 6px; border-radius: 50%; background: #80a579; }
.workspace { margin-left: var(--sidebar-width); }
.topbar { position: sticky; top: 0; z-index: 20; height: var(--header-height); padding: 0 40px; background: var(--surface); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar-leading, .topbar-trailing { display: flex; align-items: center; gap: 16px; }
.breadcrumbs { display: flex; align-items: center; gap: 13px; font-size: 11px; white-space: nowrap; }
.breadcrumbs > a { color: var(--muted); }
.breadcrumbs > span { color: var(--faint); }
.breadcrumbs > strong { font-weight: 550; }
.search-trigger { align-items: center; gap: 8px; padding: 7px 9px; width: 198px; color: var(--muted); background: var(--canvas); border: 1px solid var(--line); border-radius: 7px; font-size: 11px; text-align: left; }
.search-trigger > .icon { width: 16px; height: 16px; }
.search-trigger kbd { margin-left: auto; }
kbd { font-family: inherit; font-size: 10px; font-weight: 400; color: var(--muted); padding: 0 5px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); line-height: 1.7; white-space: nowrap; }
.search-trigger:hover { border-color: var(--line-strong); background: var(--surface-soft); }
.topbar-divider { height: 18px; width: 1px; background: var(--line); }
.icon-button { width: 36px; height: 36px; padding: 8px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border-radius: 7px; color: var(--muted); }
.icon-button:hover { background: var(--surface-soft); color: var(--green); }
.icon-button > .icon { width: 18px; height: 18px; }
.theme-sun { display: none; }
[data-theme="dark"] .theme-moon { display: none; }
[data-theme="dark"] .theme-sun { display: block; }
.header-contact { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-size: 11px; font-weight: 550; white-space: nowrap; }
.header-contact > .icon { width: 14px; height: 14px; }
.enhanced .mobile-menu { display: none !important; }
.reading-progress { position: fixed; top: 0; left: var(--sidebar-width); right: 0; height: 2px; z-index: 35; pointer-events: none; }
.reading-progress > span { width: 100%; height: 100%; background: var(--green); transform: scaleX(0); transform-origin: left; }

/* Page heading and signature panels */
.main-content { width: 100%; max-width: 1280px; margin: 0 auto; padding: 34px 40px 0; outline: none; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--green); font-size: 10px; font-weight: 600; letter-spacing: 1.65px; }
.eyebrow > span { width: 5px; height: 5px; background: var(--green); }
.title-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 10px; }
h1 { margin: 0; font-size: clamp(30px, 3.1vw, 42px); line-height: 1.4; letter-spacing: -1.8px; font-weight: 750; }
.title-period { color: var(--green); }
.document-badge { display: inline-flex; align-items: center; gap: 7px; padding: 5px 9px; border: 1px solid var(--line-strong); border-radius: 5px; font-size: 9px; letter-spacing: .8px; color: var(--muted); white-space: nowrap; }
.document-badge > .icon { width: 13px; height: 13px; }
.page-description { margin: 12px 0 17px; color: var(--muted); font-size: 13px; line-height: 1.9; word-break: keep-all; overflow-wrap: anywhere; }
.heading-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 11px; font-size: 10px; color: var(--muted); }
.heading-meta > span, .heading-meta > a { display: inline-flex; align-items: center; gap: 6px; }
.heading-meta .icon { width: 13px; height: 13px; }
.heading-meta time { font-variant-numeric: tabular-nums; color: var(--ink); }
.heading-meta > a { margin-left: auto; color: var(--muted); font-size: 10px; }
.heading-meta > a:hover { color: var(--green); }
.privacy-hero, .installer-hero { position: relative; display: grid; grid-template-columns: 1fr 310px; gap: 24px; overflow: hidden; margin-top: 27px; padding: 27px 33px; background: var(--hero); border: 1px solid #284d3e; border-radius: 15px; color: #f4f8ed; }
.privacy-hero-copy, .installer-hero-copy { position: relative; z-index: 2; }
.hero-eyebrow { display: flex; align-items: center; gap: 8px; font-size: 8px; font-weight: 500; color: #c4d6bf; letter-spacing: 1.5px; }
.hero-eyebrow .status-dot { width: 5px; height: 5px; background: #bfd3a6; }
.privacy-hero h2, .installer-hero h2 { margin: 13px 0 11px; font-size: 34px; line-height: 1.35; letter-spacing: -1.2px; font-weight: 650; }
.privacy-hero h2 > span, .installer-hero h2 > span { color: var(--hero-accent); }
.privacy-hero-copy > p, .installer-hero-copy > p { margin: 0 0 15px; color: #c4d4c6; font-size: 11px; }
.privacy-hero-copy > a, .installer-hero-copy > a { display: inline-flex; align-items: center; gap: 16px; font-size: 10px; color: #e2ecd7; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #81977d; }
.privacy-hero-copy > a:hover, .installer-hero-copy > a:hover { color: #fff; text-decoration-color: #fff; }
.privacy-hero-copy > a > .icon, .installer-hero-copy > a > .icon { width: 14px; height: 14px; }
.privacy-visual { position: relative; height: 207px; align-self: center; }
.orbit { position: absolute; left: 50%; top: 50%; border: 1px solid #bfd3a62b; border-radius: 50%; transform: translate(-50%, -50%); }
.orbit-outer { width: 252px; height: 252px; }
.orbit-inner { width: 183px; height: 183px; border-style: dashed; border-color: #bfd3a63a; }
.orbit-point { position: absolute; width: 5px; height: 5px; background: #adc697; border-radius: 50%; }
.point-one { top: 21px; right: 57px; }
.point-two { bottom: 39px; left: 37px; width: 4px; height: 4px; }
.lock-tile { position: absolute; top: 50%; left: 50%; width: 108px; height: 108px; transform: translate(-50%, -50%) rotate(-9deg); border: 1px solid #7d977777; border-radius: 26px; background: #607b56; box-shadow: 5px 10px 0 #112f2780, inset 0 1px 0 #bbcea977; }
.lock-tile-inner { display: grid; place-items: center; height: 100%; border-radius: 25px; background: linear-gradient(145deg,#738b62,#526f4a); }
.lock-tile-inner > .icon { width: 53px; height: 53px; stroke: #e0edcd; stroke-width: 1.3; }
.lock-check { display: grid; place-items: center; position: absolute; bottom: -8px; right: -9px; width: 31px; height: 31px; color: #214d32; background: #dae9c7; border: 4px solid var(--hero); border-radius: 50%; }
.lock-check > .icon { width: 16px; height: 16px; stroke-width: 2.7; }
.floating-tag { position: absolute; z-index: 2; display: flex; align-items: center; gap: 7px; padding: 9px 11px; border: 1px solid #6c887777; border-radius: 7px; color: #d1dfcb; background: #234637; box-shadow: 0 7px 14px #0c2c252e; font-size: 9px; }
.floating-tag .icon { width: 13px; height: 13px; }
.device-tag { left: 0; top: 10px; transform: rotate(-5deg); font-size: 7px; letter-spacing: 1px; }
.local-tag { right: 0; bottom: 18px; transform: rotate(5deg); }
.local-tag .status-dot { width: 5px; height: 5px; background: #b8d296; }
.visual-coordinate { position: absolute; bottom: -6px; left: 50%; white-space: nowrap; transform: translateX(-50%); font-family: monospace; font-size: 6px; letter-spacing: 2px; color: #b3c5ad; }
.principles-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 25px 0 27px; border-bottom: 1px solid var(--line); margin-bottom: 29px; }
.principle { display: flex; align-items: center; gap: 11px; border-right: 1px solid var(--line); }
.principle:last-child { border-right: 0; }
.principle-icon { display: grid; place-items: center; width: 33px; height: 33px; background: var(--green-soft); color: var(--green); border: 1px solid var(--green-line); border-radius: 9px; }
.principle-icon > .icon { width: 16px; height: 16px; }
.principle > div > strong { display: block; font-size: 11px; line-height: 1.6; font-weight: 650; }
.principle > div > span { display: block; margin-top: 3px; font-size: 9px; color: var(--muted); }
.mobile-contents { display: none; }

/* Privacy document */
.document-layout, .installer-layout { display: grid; grid-template-columns: minmax(0,1fr) 220px; align-items: start; gap: 26px; }
.policy-document { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-width: 0; }
.policy-section { padding: 26px 29px 29px; border-bottom: 1px solid var(--line); scroll-margin-top: 106px; }
.summary-section { padding-top: 24px; background: var(--green-soft); }
.section-title { display: flex; align-items: center; gap: 9px; }
.section-title > .icon { width: 18px; height: 18px; color: var(--green); }
.section-title > h2 { margin: 0; font-size: 18px; line-height: 1.65; font-weight: 650; letter-spacing: -.5px; }
.summary-section .section-title > h2 { color: var(--green); font-size: 16px; }
.small-label { margin-left: auto; color: var(--muted); font-size: 9px; }
.section-anchor { opacity: 0; display: inline-flex; align-items: center; justify-content: center; width: 25px; min-height: 28px; margin-left: auto; color: var(--faint); font-size: 18px; }
.policy-section:hover .section-anchor, .section-anchor:focus-visible { opacity: 1; }
.prose { font-size: 13px; line-height: 1.95; color: var(--muted); word-break: normal; overflow-wrap: anywhere; }
.prose p { margin: 13px 0; }
.prose p:last-child { margin-bottom: 0; }
.prose h3 { color: var(--ink); font-size: 14px; font-weight: 650; line-height: 1.7; margin: 21px 0 7px; }
.prose ul { list-style: none; padding: 0; margin: 14px 0 0; }
.prose li { position: relative; padding-left: 14px; margin: 7px 0; }
.prose li::before { content: ""; position: absolute; top: .85em; left: 1px; width: 4px; height: 4px; border-radius: 50%; background: var(--green); opacity: .7; }
.prose a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--green-line); }
.prose a:hover { text-decoration-color: currentColor; }
.pill-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 19px; }
.pill { display: inline-flex; padding: 4px 7px; background: var(--surface-soft); border: 1px solid var(--line); border-radius: 5px; color: var(--muted); font-size: 10px; line-height: 1.8; }
.document-end { display: flex; align-items: center; gap: 8px; padding: 22px 28px; color: var(--muted); background: var(--surface-soft); font-size: 10px; }
.document-end > .icon { width: 16px; height: 16px; color: var(--green); }
.document-end > a { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; font-size: 10px; white-space: nowrap; }
.document-end > a > .icon { width: 13px; height: 13px; }
.context-rail { display: grid; gap: 19px; position: sticky; top: 102px; min-width: 0; }
.document-info { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.rail-heading { display: flex; align-items: center; gap: 7px; }
.rail-heading > h2 { font-size: 12px; font-weight: 650; margin: 0; }
.rail-heading > .icon { width: 15px; height: 15px; color: var(--muted); }
.document-info > dl { margin: 22px 0 0; }
.document-info > dl > div { display: flex; justify-content: space-between; gap: 10px; margin: 14px 0; }
.document-info dt { color: var(--muted); font-size: 10px; }
.document-info dd { margin: 0; font-size: 10px; text-align: right; }
.document-info dd > span { font-size: 9px; color: var(--muted); }
.document-info time { font-variant-numeric: tabular-nums; }
.document-actions { justify-content: space-between; gap: 7px; padding-top: 17px; margin-top: 17px; border-top: 1px solid var(--line); }
.document-actions > button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 30px; color: var(--muted); background: transparent; padding: 4px 0; font-size: 10px; }
.document-actions > button:hover { color: var(--green); }
.document-actions > button > .icon { width: 13px; height: 13px; }
.guide-callout { display: flex; flex-direction: column; align-items: flex-start; background: var(--green-soft); border: 1px solid var(--green-line); border-radius: var(--radius); padding: 21px; color: var(--ink); }
.guide-callout:hover { border-color: var(--green); color: var(--ink); }
.rail-icon { display: grid; place-items: center; width: 33px; height: 33px; background: var(--surface); border: 1px solid var(--green-line); color: var(--green); border-radius: 9px; margin-bottom: 18px; }
.rail-icon > .icon { width: 17px; height: 17px; }
.mini-eyebrow { color: var(--green); font-size: 8px; letter-spacing: 1.1px; font-weight: 600; }
.guide-callout > strong { margin-top: 8px; font-size: 21px; letter-spacing: -.6px; line-height: 1.45; font-weight: 650; }
.guide-description { margin-top: 13px; font-size: 10px; line-height: 1.9; color: var(--muted); word-break: keep-all; overflow-wrap: anywhere; }
.text-action { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; color: var(--green); font-size: 10px; font-weight: 600; margin-top: 24px; }
.text-action > .icon { width: 14px; height: 14px; }
.rail-note { display: flex; align-items: flex-start; gap: 8px; padding: 0 9px; color: var(--muted); }
.rail-note > .icon { width: 13px; height: 13px; margin-top: 3px; }
.rail-note > p { margin: 0; font-size: 10px; line-height: 1.85; }
.rail-note a { color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }

/* Installer guide */
.installer-hero { grid-template-columns: 1fr 355px; padding: 27px 33px; align-items: center; margin-bottom: 35px; }
.terminal-preview { background: #122b24; border: 1px solid #436151; border-radius: 10px; box-shadow: 0 12px 30px #0a211b40; overflow: hidden; transform: rotate(-1.5deg); }
.terminal-header { display: flex; align-items: center; gap: 10px; min-height: 33px; padding: 0 13px; background: #234235; border-bottom: 1px solid #3e5c47; }
.terminal-header > span:not(.terminal-dots) { font-family: monospace; font-size: 7px; letter-spacing: 1px; color: #c1d1bb; }
.terminal-header > .icon { width: 11px; height: 11px; margin-left: auto; color: #c1d1bb; }
.terminal-dots { display: flex; gap: 4px; }
.terminal-dots > i { width: 5px; height: 5px; border-radius: 50%; background: #a1b99b; }
.terminal-dots > i:first-child { background: #d7866a; }
.terminal-dots > i:nth-child(2) { background: #d0b475; }
.terminal-content { padding: 16px 18px 18px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; color: #e0eccf; font-size: 12px; line-height: 1.65; }
.terminal-content > p { margin: 0 0 7px; }
.terminal-comment { font-size: 9px; color: #b7cbb2; }
.terminal-prompt { color: #bdd29c; margin-right: 8px; }
.terminal-cursor { display: inline-block; width: 5px; height: 12px; margin-left: 3px; background: #bfd397; vertical-align: -2px; }
.terminal-rule { height: 1px; background: #35503e; margin: 17px 0 11px; }
.terminal-status { display: flex; align-items: center; gap: 9px; color: #c0d2ba; font-size: 9px; margin-top: 9px; }
.terminal-status .status-dot { width: 5px; height: 5px; }
.terminal-status .is-warning { background: #d39b74; }
.terminal-status code { color: #e3eccb; }
.installer-section { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 27px; margin-bottom: 25px; scroll-margin-top: 100px; }
.section-heading-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.section-kicker { display: block; margin-bottom: 8px; color: var(--faint); font-size: 8px; letter-spacing: 1.35px; font-weight: 550; }
.section-heading-row h2, .support-section h2 { margin: 0; font-size: 22px; line-height: 1.55; font-weight: 650; letter-spacing: -.7px; }
.count-badge { border: 1px solid var(--line); border-radius: 4px; padding: 3px 7px; font-size: 8px; color: var(--muted); white-space: nowrap; letter-spacing: .8px; }
.section-description { color: var(--muted); margin: 9px 0 22px; font-size: 12px; line-height: 1.85; word-break: keep-all; overflow-wrap: anywhere; }
.parameter-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 0; padding: 0; border: 0; }
.parameter-card { position: relative; display: flex; flex-direction: column; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; cursor: pointer; transition: border-color .18s, background-color .18s; }
.parameter-card:hover { border-color: var(--green); }
.parameter-card.is-selected { background: var(--green-soft); border-color: var(--green-line); }
.parameter-card:focus-within { outline: 3px solid var(--green); outline-offset: 3px; }
.parameter-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.parameter-icon { display: grid; place-items: center; width: 28px; height: 28px; background: var(--surface-soft); border: 1px solid var(--line); border-radius: 7px; color: var(--muted); }
.parameter-icon > .icon { width: 15px; height: 15px; }
.is-selected .parameter-icon { background: var(--surface); border-color: var(--green-line); color: var(--green); }
.parameter-card input { position: absolute; top: 18px; right: 18px; width: 22px; height: 22px; opacity: 0; margin: 0; }
.custom-checkbox { display: grid; place-items: center; width: 19px; height: 19px; border: 1px solid var(--line-strong); background: var(--surface); border-radius: 5px; pointer-events: none; }
.custom-checkbox > .icon { width: 12px; height: 12px; stroke-width: 2.4; opacity: 0; }
.parameter-card input:checked + .custom-checkbox { background: var(--green); border-color: var(--green); color: var(--surface); }
.parameter-card input:checked + .custom-checkbox > .icon { opacity: 1; }
.parameter-flag { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 6px; }
.parameter-flag code { font-size: 13px; font-weight: 550; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; color: var(--green); }
.recommended-badge { color: var(--green); font-size: 8px; border: 1px solid var(--green-line); background: var(--surface); border-radius: 4px; padding: 0 4px; line-height: 1.7; }
.parameter-card > strong { font-size: 12px; font-weight: 650; margin-bottom: 6px; }
.parameter-description { color: var(--muted); font-size: 10px; line-height: 1.85; word-break: keep-all; overflow-wrap: anywhere; }
.command-builder { flex-direction: column; margin-top: 22px; }
.command-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 10px; color: var(--muted); margin-bottom: 9px; }
.command-label > span { display: inline-flex; align-items: center; gap: 6px; }
.command-label > span > .icon { width: 13px; height: 13px; }
.text-button { padding: 5px 0; background: none; color: var(--green); font-size: 9px; text-decoration: underline; text-underline-offset: 4px; }
.command-output { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 15px; border: 1px solid #355342; border-radius: 8px; color: #e0e9d9; background: #193b2e; }
.command-output > code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; line-height: 1.85; overflow-wrap: anywhere; }
.command-output > code.is-empty { font-family: inherit; color: #cedac4; font-size: 11px; }
.copy-command { display: flex; align-items: center; justify-content: center; gap: 5px; flex-shrink: 0; min-height: 31px; color: #e6efdc; background: #31563f; border: 1px solid #658068; border-radius: 5px; padding: 5px 9px; font-size: 10px; }
.copy-command > .icon { width: 12px; height: 12px; }
.copy-command:hover { background: #42694c; }
.command-note { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 9px; margin: 8px 0 0; }
.command-note > .icon { width: 11px; height: 11px; }
.inline-note { display: flex; align-items: flex-start; gap: 7px; margin: 20px 0 0; padding: 12px 13px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface-soft); color: var(--muted); font-size: 10px; }
.inline-note > .icon { width: 13px; height: 13px; margin-top: 2px; }
.inline-note p { margin: 0; }
.inline-note code { color: var(--green); font-size: 10px; }
.code-search { display: flex; align-items: center; gap: 9px; width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: 7px; margin-bottom: 17px; background: var(--canvas); }
.code-search > .icon { width: 14px; height: 14px; color: var(--muted); }
.code-search input { min-width: 0; width: 100%; border: 0; background: transparent; color: var(--ink); font-size: 10px; padding: 4px 0; outline: 0; }
input::placeholder { color: var(--muted); opacity: 1; }
.code-search:focus-within { outline: 2px solid var(--green); outline-offset: 2px; }
.code-search > span { flex-shrink: 0; font-size: 9px; color: var(--muted); }
.exit-table-wrap { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.exit-table { border-collapse: collapse; width: 100%; text-align: left; table-layout: fixed; }
.exit-table th, .exit-table td { padding: 14px 13px; vertical-align: top; line-height: 1.85; text-align: left; }
.exit-table thead { background: var(--surface-soft); }
.exit-table thead th { color: var(--muted); font-size: 9px; font-weight: 500; border-bottom: 1px solid var(--line); }
.exit-table thead th:first-child { width: 21%; }
.exit-table thead th:nth-child(2) { width: 40%; }
.exit-table tbody td { color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.exit-table tbody tr + tr > * { border-top: 1px solid var(--line); }
.exit-code { display: inline-grid; place-items: center; width: 27px; height: 27px; font-size: 13px; font-weight: 600; border-radius: 7px; line-height: 1; }
.code-success { color: var(--green); background: var(--green-soft); border: 1px solid var(--green-line); }
.code-error { color: var(--warning); background: var(--warning-soft); border: 1px solid var(--warning); }
.exit-code-title { display: block; font-size: 10px; font-weight: 550; margin-top: 6px; color: var(--ink); }
.inline-action { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; margin-top: 12px; }
.inline-action > .icon { width: 12px; height: 12px; }
.table-footnote { display: flex; gap: 6px; color: var(--muted); font-size: 9px; margin: 13px 0 0; line-height: 1.85; }
.table-footnote > .icon { width: 11px; height: 11px; margin-top: 3px; }
.filter-empty { text-align: center; border: 1px dashed var(--line-strong); border-radius: 9px; padding: 30px 20px; }
.filter-empty > .icon { margin: 0 auto 13px; color: var(--muted); }
.filter-empty strong { display: block; font-size: 14px; }
.filter-empty p { font-size: 12px; color: var(--muted); }
.support-section { display: flex; align-items: flex-start; gap: 20px; padding: 30px 26px; border: 1px solid var(--green-line); border-radius: var(--radius); background: var(--green-soft); scroll-margin-top: 100px; }
.support-icon { display: grid; place-items: center; flex-shrink: 0; width: 41px; height: 41px; border: 1px solid var(--green-line); background: var(--surface); border-radius: 11px; color: var(--green); }
.support-copy { min-width: 0; }
.support-copy > p { font-size: 12px; color: var(--muted); margin: 9px 0 15px; }
.support-email { display: inline-flex; align-items: center; gap: 7px; color: var(--green); font-size: 13px; font-weight: 550; overflow-wrap: anywhere; }
.support-email > .icon { width: 14px; height: 14px; }
.support-related { display: block; color: var(--muted); font-size: 10px; margin-top: 14px; }
.support-related > a { text-decoration: underline; text-underline-offset: 3px; }
.steps-list { list-style: none; padding: 0; margin: 24px 0 0; }
.steps-list > li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 22px; }
.steps-list > li > span { display: grid; place-items: center; flex-shrink: 0; width: 20px; height: 20px; border: 1px solid var(--green-line); border-radius: 50%; color: var(--green); background: var(--green-soft); font-size: 9px; }
.steps-list strong { display: block; font-size: 11px; font-weight: 600; }
.steps-list p { font-size: 10px; line-height: 1.8; margin: 5px 0 0; color: var(--muted); word-break: keep-all; }
.rail-contact { display: flex; justify-content: space-between; align-items: center; padding-top: 15px; border-top: 1px solid var(--line); color: var(--green); font-size: 11px; }
.rail-contact > .icon { width: 13px; height: 13px; }

/* Footer and progressive-enhancement dialogs */
.site-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; max-width: 1200px; margin: 44px auto 0; padding: 25px 40px 30px; border-top: 1px solid var(--line); }
.footer-brand { font-size: 17px; font-weight: 750; letter-spacing: -.6px; color: var(--ink); }
.footer-brand > span { color: var(--green); }
.site-footer p { color: var(--muted); font-size: 9px; margin: 7px 0 0; }
.footer-right { text-align: right; }
.footer-right nav { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 10px; }
.footer-right nav > a { color: var(--muted); }
.footer-right nav > a:hover { color: var(--green); }
.back-to-top { display: inline-grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--line-strong); border-radius: 6px; margin-left: 5px; }
.back-to-top > .icon { width: 13px; height: 13px; }
dialog { color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow-dialog); }
dialog:not([open]) { display: none; }
dialog::backdrop { background: #0c211a66; backdrop-filter: blur(4px); }
.search-dialog { width: min(620px,calc(100% - 32px)); max-height: min(660px,85dvh); padding: 0; border-radius: 14px; margin: 13vh auto auto; overflow: hidden; }
.search-input-row { display: flex; align-items: center; gap: 12px; padding: 14px 17px; border-bottom: 1px solid var(--line); }
.search-input-row > .icon { color: var(--green); width: 21px; height: 21px; }
.search-input-row > input { min-width: 0; flex: 1; height: 32px; padding: 0; border: 0; background: transparent; color: var(--ink); outline: none; font-size: 13px; }
.search-input-row:focus-within { box-shadow: inset 0 -2px var(--green); }
.search-input-row > .icon-button { width: 32px; height: 32px; }
.search-body { padding: 12px; max-height: min(440px,calc(85dvh - 125px)); overflow-y: auto; overscroll-behavior: contain; }
.search-caption { font-size: 10px; color: var(--muted); margin: 5px 9px 12px; }
.search-results { list-style: none; padding: 0; margin: 0; }
.search-results a { display: block; padding: 13px 12px; border: 1px solid transparent; border-radius: 8px; }
.search-results a:hover, .search-results a:focus { background: var(--green-soft); border-color: var(--green-line); outline: none; }
.search-result-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--ink); font-size: 13px; font-weight: 600; }
.search-result-category { flex-shrink: 0; font-size: 9px; font-weight: 400; color: var(--muted); }
.search-result-excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 6px 0 0; font-size: 11px; line-height: 1.9; color: var(--muted); }
.search-result-excerpt mark { background: var(--green-line); color: var(--ink); }
.search-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 42px; padding: 10px 20px; border-top: 1px solid var(--line); background: var(--surface-soft); color: var(--muted); font-size: 10px; }
.search-footer > span { display: flex; align-items: center; gap: 5px; }
.search-footer kbd { font-size: 9px; }
.search-empty { padding: 38px 15px; text-align: center; }
.search-empty > .icon { width: 27px; height: 27px; margin: 0 auto 15px; color: var(--faint); }
.search-empty > strong { display: block; font-size: 15px; }
.search-empty > p { color: var(--muted); font-size: 12px; margin: 10px 0 19px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 9px 15px; border-radius: 7px; font-size: 12px; font-weight: 500; }
.button-secondary { background: var(--surface); color: var(--green); border: 1px solid var(--green-line); }
.button-secondary:hover { background: var(--green-soft); }
.navigation-dialog { inset: 0 auto 0 0; width: min(340px,calc(100% - 28px)); max-width: none; height: 100%; height: 100dvh; max-height: none; margin: 0; padding: 24px 20px; border: 0; border-right: 1px solid var(--line); border-radius: 0; overflow-y: auto; }
.navigation-dialog-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.navigation-dialog-header > .brand { margin: 0; }
.navigation-dialog .primary-nav { margin-bottom: 25px; }
.navigation-dialog .toc-link { min-height: 40px; font-size: 13px; }
.navigation-dialog .sidebar-bottom { padding-top: 22px; }
.toast { position: fixed; bottom: 25px; left: calc(50% + var(--sidebar-width)/2); z-index: 60; max-width: min(460px,calc(100% - 32px)); padding: 13px 21px; background: var(--ink); color: var(--surface); border-radius: 9px; box-shadow: 0 6px 26px #152d3126; font-size: 12px; text-align: center; transform: translate(-50%,12px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.is-visible { opacity: 1; transform: translate(-50%,0); }

/* Responsive layouts. No runtime measurement is required for basic reading. */
@media (min-width: 1600px) { .topbar { padding-right: max(40px,calc((100vw - var(--sidebar-width) - 1200px)/2)); padding-left: max(40px,calc((100vw - var(--sidebar-width) - 1200px)/2)); } }
@media (max-width: 1250px) {
  :root { --sidebar-width: 226px; }
  .sidebar { padding-left: 14px; padding-right: 14px; }
  .topbar { padding: 0 30px; }
  .main-content { padding-left: 30px; padding-right: 30px; }
  .privacy-hero { grid-template-columns: 1fr 250px; }
  .installer-hero { grid-template-columns: 1fr 290px; }
  .document-layout, .installer-layout { grid-template-columns: minmax(0,1fr) 200px; gap: 20px; }
  .document-info { padding: 18px; }
  .guide-callout { padding: 19px; }
  .policy-section { padding-left: 24px; padding-right: 24px; }
  .wide-break { display: none; }
  .principle { gap: 8px; }
  .principle > div > span { font-size: 8px; }
  .search-trigger { width: 160px; }
  .topbar-trailing { gap: 10px; }
  .installer-section { padding: 23px; }
}
@media (max-width: 1100px) {
  .document-layout, .installer-layout { grid-template-columns: minmax(0,1fr); }
  .context-rail { position: static; grid-template-columns: 1fr 1fr; gap: 20px; }
  .context-rail .rail-note { grid-column: 1/-1; }
  .context-rail .guide-callout { padding: 22px; }
  .context-rail .guide-callout strong > br, .context-rail .desktop-break { display: none; }
  .context-rail .rail-icon { margin-bottom: 10px; }
  .context-rail .text-action { margin-top: 18px; }
  .privacy-hero { grid-template-columns: 1fr 210px; padding: 25px; }
  .privacy-hero h2, .installer-hero h2 { font-size: 32px; }
  .privacy-visual { height: 200px; }
  .orbit-outer { width: 225px; height: 225px; }
  .device-tag { left: -12px; top: 9px; }
  .local-tag { right: -5px; }
  .installer-hero { grid-template-columns: 1fr 260px; padding: 25px; gap: 15px; }
  .terminal-content { font-size: 11px; padding: 15px; }
  .terminal-header > span:not(.terminal-dots) { font-size: 6px; }
  .principle > div > span { display: none; }
  .principle > div > strong { font-size: 10px; }
  .page-description { font-size: 12px; }
  .header-contact { display: none; }
  .title-row { gap: 10px; }
  .document-badge { font-size: 8px; }
}
@media (max-width: 900px) {
  :root { --sidebar-width: 0px; --header-height: 64px; }
  .sidebar { display: none; }
  .workspace { margin-left: 0; }
  .topbar { padding: 0 23px; gap: 12px; }
  .topbar-leading { gap: 10px; }
  .enhanced .mobile-menu { display: flex !important; }
  .main-content { padding: 28px 26px 0; }
  h1 { font-size: 37px; }
  .document-badge { font-size: 9px; }
  .privacy-hero { grid-template-columns: 1fr 280px; }
  .privacy-visual { height: 207px; }
  .orbit-outer { width: 252px; height: 252px; }
  .device-tag { left: 0; }
  .local-tag { right: 0; }
  .principle > div > span { display: block; font-size: 9px; }
  .principle > div > strong { font-size: 11px; }
  .mobile-contents { display: block; margin: 0 0 22px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
  .mobile-contents > summary { display: flex; align-items: center; gap: 8px; min-height: 47px; padding: 11px 15px; color: var(--muted); font-size: 12px; cursor: pointer; list-style: none; }
  .mobile-contents > summary::-webkit-details-marker { display: none; }
  .mobile-contents > summary > .icon { width: 15px; height: 15px; }
  .mobile-contents > summary > .icon:last-child { margin-left: auto; }
  .mobile-contents[open] > summary > .icon:last-child { transform: rotate(180deg); }
  .mobile-contents > nav { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; border-top: 1px solid var(--line); padding: 10px; }
  .mobile-contents a { font-size: 12px; padding: 9px; }
  .installer-hero { grid-template-columns: 1fr 310px; }
  .installer-hero-copy > p > br { display: none; }
  .section-anchor { opacity: .7; }
  .toast { left: 50%; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 85px; }
  .topbar { padding: 0 16px; }
  .topbar-leading { gap: 6px; }
  .breadcrumbs { font-size: 10px; gap: 8px; }
  .breadcrumbs > a { display: none; }
  .breadcrumbs > span { display: none; }
  .topbar-trailing { gap: 4px; }
  .topbar-divider { display: none; }
  .search-trigger { width: 36px; height: 36px; padding: 9px; background: transparent; border-color: transparent; }
  .search-trigger > .icon { width: 18px; height: 18px; }
  .search-trigger > span, .search-trigger > kbd { display: none; }
  .main-content { padding: 25px 20px 0; }
  .eyebrow { font-size: 8px; letter-spacing: 1.4px; }
  .title-row { margin-top: 9px; }
  h1 { font-size: 31px; letter-spacing: -1.4px; }
  .document-badge { display: none; }
  .page-description { font-size: 12px; margin: 13px 0 15px; line-height: 1.95; }
  .heading-meta { column-gap: 8px; row-gap: 9px; font-size: 9px; }
  .heading-meta > a { margin-left: 0; flex-basis: 100%; font-size: 9px; }
  .heading-meta > .meta-dot { display: none; }
  .heading-meta > span:nth-of-type(3) { border-left: 1px solid var(--line-strong); padding-left: 8px; }
  .privacy-hero, .installer-hero { display: block; margin-top: 22px; padding: 25px 25px 27px; }
  .privacy-hero h2, .installer-hero h2 { font-size: 32px; margin-top: 15px; }
  .privacy-hero-copy > p { max-width: 235px; font-size: 10px; margin-bottom: 16px; }
  .privacy-hero-copy > a { font-size: 10px; }
  .hero-eyebrow { font-size: 7px; letter-spacing: 1.25px; }
  .privacy-visual { position: absolute; right: -62px; bottom: -36px; width: 200px; height: 200px; opacity: .18; }
  .floating-tag, .visual-coordinate, .orbit-point { display: none; }
  .orbit-outer { width: 236px; height: 236px; }
  .lock-tile { transform: translate(-50%,-50%) rotate(-12deg); }
  .principles-strip { padding: 22px 0; gap: 4px; margin-bottom: 22px; }
  .principle { display: flex; flex-direction: column; gap: 9px; text-align: center; padding: 0 3px; }
  .principle-icon { width: 30px; height: 30px; border-radius: 8px; }
  .principle-icon > .icon { width: 15px; height: 15px; }
  .principle > div > strong { font-size: 9px; font-weight: 550; }
  .principle > div > span { display: none; }
  .mobile-contents > summary { font-size: 11px; }
  .mobile-contents > nav { gap: 2px; }
  .mobile-contents a { font-size: 11px; }
  .document-layout, .installer-layout { gap: 20px; }
  .policy-section { padding: 24px 21px 26px; scroll-margin-top: 85px; }
  .section-title > h2 { font-size: 17px; letter-spacing: -.65px; }
  .summary-section .section-title > h2 { font-size: 15px; }
  .small-label { font-size: 8px; }
  .prose { font-size: 12px; line-height: 2; }
  .prose p { margin-top: 13px; }
  .prose h3 { font-size: 13px; }
  .prose li { margin: 10px 0; }
  .pill { font-size: 9px; }
  .document-end { flex-wrap: wrap; padding: 20px; font-size: 9px; gap: 8px; }
  .document-end > a { flex-basis: 100%; margin-left: 23px; font-size: 9px; }
  .context-rail { gap: 13px; }
  .document-info { padding: 17px; }
  .rail-heading { gap: 6px; }
  .rail-heading > h2 { font-size: 11px; }
  .document-info dl > div { flex-wrap: wrap; gap: 4px; }
  .document-info dd { font-size: 9px; }
  .document-info dt { font-size: 9px; }
  .document-info dd > span { font-size: 8px; }
  .document-actions { flex-direction: column; gap: 3px; padding-top: 10px; }
  .document-actions > button { justify-content: flex-start; min-height: 32px; }
  .context-rail .guide-callout { padding: 18px; }
  .context-rail .guide-callout > strong { font-size: 17px; word-break: keep-all; }
  .context-rail .guide-callout strong > br { display: block; }
  .mini-eyebrow { font-size: 7px; letter-spacing: .5px; }
  .guide-description { font-size: 9px; }
  .text-action { font-size: 9px; gap: 6px; }
  .context-rail .text-action { margin-top: 18px; }
  .text-action > .icon { width: 12px; height: 12px; }
  .rail-note > p { font-size: 9px; }
  .site-footer { flex-direction: column; align-items: flex-start; margin-top: 29px; padding: 25px 20px; gap: 20px; }
  .footer-right { width: 100%; text-align: left; }
  .footer-right nav { font-size: 9px; }
  .footer-right .back-to-top { margin-left: auto; }
  .site-footer p { font-size: 8px; }
  .terminal-preview { display: none; }
  .installer-hero { margin-bottom: 24px; }
  .installer-hero-copy > p { font-size: 11px; max-width: 245px; margin-bottom: 18px; }
  .installer-section { padding: 23px 19px; margin-bottom: 20px; scroll-margin-top: 85px; }
  .section-heading-row h2, .support-section h2 { font-size: 20px; }
  .section-kicker { font-size: 7px; letter-spacing: 1.15px; }
  .count-badge { font-size: 7px; padding: 2px 5px; }
  .section-description { font-size: 11px; margin-bottom: 20px; }
  .parameter-grid { gap: 10px; }
  .parameter-card { padding: 14px; }
  .parameter-card input { top: 14px; right: 14px; }
  .parameter-flag { gap: 5px; }
  .parameter-flag code { font-size: 11px; }
  .parameter-card > strong { font-size: 11px; }
  .parameter-description { font-size: 10px; }
  .parameter-top { margin-bottom: 12px; }
  .recommended-badge { font-size: 7px; }
  .command-label { flex-wrap: wrap; font-size: 9px; }
  .command-label .text-button { font-size: 8px; }
  .command-output { padding: 13px 12px; gap: 9px; }
  .command-output > code { font-size: 11px; }
  .copy-command { padding: 7px; font-size: 9px; }
  .command-note { font-size: 8px; }
  .inline-note { font-size: 9px; }
  .inline-note code { font-size: 9px; }
  .code-search { padding: 8px 10px; }
  .code-search > input { font-size: 9px; }
  .exit-table, .exit-table tbody { display: block; width: 100%; }
  .exit-table thead { display: none; }
  .exit-table tbody tr { display: grid; gap: 15px; padding: 18px; }
  .exit-table tbody tr + tr { border-top: 1px solid var(--line); }
  .exit-table tbody tr + tr > * { border: 0; }
  .exit-table th, .exit-table td { display: block; padding: 0; font-size: 12px; }
  .exit-table tbody th { display: flex; align-items: center; gap: 10px; }
  .exit-code-title { font-size: 12px; margin: 0; }
  .exit-table tbody td::before { content: attr(data-label); display: block; font-size: 8px; font-weight: 600; letter-spacing: .7px; color: var(--muted); margin-bottom: 4px; text-transform: uppercase; }
  .table-footnote { font-size: 8px; }
  .support-section { gap: 12px; padding: 22px 18px; scroll-margin-top: 85px; }
  .support-icon { width: 31px; height: 31px; border-radius: 9px; }
  .support-icon > .icon { width: 16px; height: 16px; }
  .support-section h2 { font-size: 18px; }
  .support-copy > p { font-size: 10px; }
  .support-email { font-size: 10px; gap: 4px; }
  .support-email > .icon { width: 12px; height: 12px; }
  .support-related { font-size: 9px; }
  .steps-list > li { gap: 6px; }
  .steps-list strong { font-size: 10px; }
  .steps-list p { font-size: 9px; }
  .steps-list > li > span { width: 18px; height: 18px; font-size: 8px; }
  .rail-contact { font-size: 10px; }
  .search-dialog { margin-top: 8vh; width: calc(100% - 24px); }
  .search-input-row { padding: 12px; gap: 8px; }
  .search-input-row > input { font-size: 12px; }
  .search-input-row > .icon { width: 18px; height: 18px; }
  .search-result-heading { font-size: 12px; flex-wrap: wrap; gap: 4px; }
  .search-result-category { font-size: 8px; }
  .search-result-excerpt { font-size: 10px; }
  .search-footer { font-size: 9px; padding: 10px 13px; }
  .search-empty > p { font-size: 11px; }
  .toast { font-size: 11px; width: max-content; }
}
@media (max-width: 360px) {
  .main-content { padding-left: 16px; padding-right: 16px; }
  h1 { font-size: 28px; }
  .privacy-hero, .installer-hero { padding-left: 21px; padding-right: 21px; }
  .privacy-hero h2, .installer-hero h2 { font-size: 30px; }
  .heading-meta > span:nth-of-type(3) { border-left: 0; padding-left: 0; flex-basis: 100%; }
  .context-rail { grid-template-columns: 1fr; }
  .document-actions { flex-direction: row; }
  .document-info dl > div { flex-wrap: nowrap; }
  .parameter-grid { grid-template-columns: 1fr; }
  .parameter-card { padding: 18px; }
  .parameter-card input { top: 18px; right: 18px; }
  .support-icon { display: none; }
  .support-email { font-size: 11px; }
  .section-title > h2 { font-size: 16px; }
  .small-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  :root, :root[data-theme] { color-scheme: light; --canvas: #fff; --surface: #fff; --surface-soft: #fff; --ink: #000; --muted: #333; --faint: #444; --line: #ccc; --green: #153d2d; --green-soft: #fff; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .sidebar, .topbar, .reading-progress, .privacy-hero, .installer-hero, .principles-strip, .mobile-contents, .context-rail, .section-anchor, .document-badge, .toast, dialog, .skip-link, .back-to-top, .enhanced .js-only { display: none !important; }
  .workspace { margin: 0; }
  .main-content { max-width: none; padding: 0; }
  .heading-meta > a { display: none; }
  .page-heading { padding-bottom: 16pt; border-bottom: 1px solid #ccc; }
  h1 { font-size: 25pt; }
  .page-description { font-size: 10pt; }
  .document-layout, .installer-layout { display: block; }
  .policy-document { border: 0; }
  .policy-section, .installer-section { padding: 18pt 0; break-inside: avoid; border-radius: 0; border-left: 0; border-right: 0; }
  .prose { font-size: 10pt; line-height: 1.8; color: #222; }
  .prose h3 { font-size: 11pt; }
  .section-title > h2 { font-size: 14pt; }
  .section-anchor { display: none; }
  .parameter-card { break-inside: avoid; background: #fff; }
  .parameter-card input, .custom-checkbox, .parameter-icon { display: none; }
  .parameter-flag code { color: #000; }
  .parameter-card > strong, .parameter-description { color: #000; font-size: 10pt; }
  .command-builder { display: none; }
  .exit-table { display: table; }
  .exit-table thead { display: table-header-group; }
  .exit-table tbody { display: table-row-group; }
  .exit-table tbody tr { display: table-row !important; }
  .exit-table th, .exit-table td { display: table-cell !important; border: 1px solid #ccc; padding: 10pt; }
  .exit-table tbody td::before { display: none; }
  .support-section { break-inside: avoid; }
  .site-footer { max-width: none; padding: 16pt 0 0; margin-top: 20pt; }
  .document-end { background: #fff; }
  a { color: #000; }
}

/* Honest fallbacks for environments without dialog support and for print filtering. */
.no-dialogs [data-search-open], .no-dialogs [data-nav-open] { display: none !important; }
html:not(.enhanced) .parameter-card { cursor: default; }
@media print {
  .exit-table-wrap[hidden] { display: block !important; }
  .exit-table tbody tr[hidden] { display: table-row !important; }
  .filter-empty { display: none !important; }
}

/* Reading-scale tuning: the document stays legible, including on smaller screens. */
html { scroll-padding-top: calc(var(--header-height) + 24px); }
.policy-section, .installer-section, .support-section, .installer-hero { scroll-margin-top: 0; }
.page-description { font-size: 14px; }
.prose { font-size: 14px; }
.prose h3 { font-size: 15px; }
.section-title > h2 { font-size: 20px; }
.nav-link, .toc-link { font-size: 13px; }
.breadcrumbs, .search-trigger { font-size: 12px; }
.heading-meta, .heading-meta > a { font-size: 11px; }
.hero-eyebrow { font-size: 9px; }
.privacy-hero-copy > p, .installer-hero-copy > p { font-size: 12px; }
.privacy-hero-copy > a, .installer-hero-copy > a { font-size: 11px; }
.principle > div > strong { font-size: 12px; }
.principle > div > span { font-size: 10px; }
.parameter-description { font-size: 12px; }
.parameter-card > strong { font-size: 13px; }
.section-description { font-size: 13px; }
.exit-table tbody td { font-size: 12px; }
.sidebar-help > strong { font-size: 12px; }
.sidebar-help > p { font-size: 11px; }
.document-info dt, .document-info dd { font-size: 11px; }
.guide-description { font-size: 11px; }
@media (max-width: 1250px) {
  .nav-link { font-size: 12px; }
  .principle > div > span { font-size: 9px; }
}
@media (max-width: 640px) {
  .page-description { font-size: 13px; }
  .prose { font-size: 14px; line-height: 1.95; }
  .prose h3 { font-size: 15px; }
  .section-title > h2 { font-size: 18px; }
  .summary-section .section-title > h2 { font-size: 16px; }
  .breadcrumbs { font-size: 11px; }
  .heading-meta, .heading-meta > a { font-size: 10px; }
  .hero-eyebrow { font-size: 8px; }
  .privacy-hero-copy > p, .installer-hero-copy > p { font-size: 11px; }
  .principle > div > strong { font-size: 10px; }
  .parameter-card > strong { font-size: 12px; }
  .parameter-description { font-size: 11px; }
  .section-description { font-size: 12px; }
  .document-info dt, .document-info dd { font-size: 10px; }
  .guide-description { font-size: 10px; }
}
@media (pointer: coarse) {
  .topbar .icon-button, .search-trigger { min-width: 44px; min-height: 44px; }
  .document-actions > button, .text-button, .copy-command { min-height: 44px; }
}
@media print {
  .page-description, .prose { font-size: 10pt; }
  .section-title > h2 { font-size: 14pt; }
}

/* Public page navigation: product home and policy are first-class destinations. */
.public-nav { display: flex; align-items: center; gap: 8px; min-width: 0; }
.public-nav > a { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 11px; white-space: nowrap; font-size: 12px; font-weight: 550; color: var(--muted); border-radius: 7px; }
.public-nav > a:hover { color: var(--ink); background: var(--surface-soft); }
.public-nav > a[aria-current="page"] { color: var(--green); background: var(--green-soft); font-weight: 700; }
.topbar .topbar-leading { min-width: 0; }
@media (max-width: 1150px) and (min-width: 641px) {
  .topbar .header-contact, .topbar .search-trigger > span, .topbar .search-trigger > kbd { display: none; }
  .topbar .search-trigger { min-width: 38px; padding: 8px; }
  .topbar .public-nav { gap: 3px; }
}
@media (max-width: 640px) {
  :root { --header-height: 112px; }
  html { scroll-padding-top: 132px; }
  .topbar { height: auto; min-height: 112px; flex-wrap: wrap; gap: 4px 12px; padding: 7px 16px 6px; }
  .topbar .topbar-leading { display: contents; }
  .topbar .topbar-trailing { margin-left: auto; }
  .topbar .public-nav { order: 3; width: 100%; border-top: 1px solid var(--line); padding-top: 4px; gap: 3px; }
  .topbar .public-nav > a { min-height: 40px; padding: 7px 10px; font-size: 12px; }
  .footer-right nav { flex-wrap: wrap; row-gap: 10px; }
}
