/* Applidex: a printed reference. One flat warm page, no boxes: hierarchy comes from type, hairline rules,
   indents and space. Condensed labels, a legible humanist body face and a monospaced face for anything
   that is a model number, a code or a measurement. Blueprint blue only where something is a link, a
   control or a mark. Tokens are documented in docs/BRAND.md. Never use a hex value in a component. */

@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/atkinson-400.d444e1815a3a.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/atkinson-400-italic.66d79cf044cb.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/atkinson-700.c6b471cbb2b9.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-500.c67b8cf83b8c.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-600.965395aad327.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-700.db3da8cffd10.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/plex-mono-400.814fe1615d4d.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/plex-mono-500.6708425c446b.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/plex-mono-600.e71a597e376e.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --font-ui: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --accent-soft: color-mix(in srgb, var(--accent) 11%, transparent);
  --ok-bg: color-mix(in srgb, var(--ok) 13%, transparent);
  --warn-bg: color-mix(in srgb, var(--warn) 15%, transparent);
  --danger-bg: color-mix(in srgb, var(--danger) 12%, transparent);
  --text-prose: color-mix(in srgb, var(--text) 90%, var(--text-muted));
  --radius-sm: 3px;
  --radius: 6px;
  --shadow: 0 18px 40px -24px rgba(20, 18, 12, .5);
  --wrap: 1240px;
  --gutter: 20px;
  --space-1: 8px; --space-2: 16px; --space-3: 24px; --space-4: 40px; --space-5: 64px; --space-6: 96px;
  --h1: clamp(2rem, 1.3rem + 2.8vw, 3.4rem);
  --lede: 1.08rem;
  --lede-width: 64ch;
  --rule: 1px solid var(--line);
  --rule-soft: 1px solid var(--line-soft);
}
:root, :root[data-theme="light"], :root[data-theme="auto"] {
  color-scheme: light;
  --bg: #F8F6F1; --bg-2: #F1EEE7;
  --surface: #F8F6F1; --surface-2: #F1EEE7; --surface-3: #E7E3DA;
  --line: #C9C3B6; --line-soft: #E2DDD3;
  --text: #1B1D20; --text-muted: #4E5158; --text-faint: #6C6F76;
  --accent: #2451C9; --accent-hi: #1A3FA6; --on-accent: #FFFFFF;
  --ok: #2F7D4F; --warn: #A8701A; --danger: #B42318;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #17191C; --bg-2: #1D2024;
  --surface: #17191C; --surface-2: #22262B; --surface-3: #2E333A;
  --line: #3B4149; --line-soft: #2B3037;
  --text: #ECEAE3; --text-muted: #B3B1A9; --text-faint: #9C9B94;
  --accent: #7E9CFF; --accent-hi: #9DB4FF; --on-accent: #0E1220;
  --ok: #7CC08F; --warn: #E0A84A; --danger: #F08A7E;
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="auto"] {
    color-scheme: dark;
    --bg: #17191C; --bg-2: #1D2024;
    --surface: #17191C; --surface-2: #22262B; --surface-3: #2E333A;
    --line: #3B4149; --line-soft: #2B3037;
    --text: #ECEAE3; --text-muted: #B3B1A9; --text-faint: #9C9B94;
    --accent: #7E9CFF; --accent-hi: #9DB4FF; --on-accent: #0E1220;
    --ok: #7CC08F; --warn: #E0A84A; --danger: #F08A7E;
    }
}
:root[data-theme="contrast"] {
  color-scheme: dark;
  --bg: #000000; --bg-2: #0A0A0A;
  --surface: #0F0F0F; --surface-2: #1A1A1A; --surface-3: #262626;
  --line: #8A8A8A; --line-soft: #5C5C5C;
  --text: #FFFFFF; --text-muted: #E6E6E6; --text-faint: #CFCFCF;
  --accent: #A9C0FF; --accent-hi: #C4D3FF; --on-accent: #000000;
  --ok: #B3E8B0; --warn: #FFD27A; --danger: #FF9A8C;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column; overflow-x: clip;
  font-family: var(--font-ui); font-size: 16px; line-height: 1.55; color: var(--text);
  background: var(--bg);
}
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
main.wrap { flex: 1; padding-top: var(--space-3); padding-bottom: var(--space-6); min-width: 0; }
@media (min-width: 900px) { main.wrap { padding-top: var(--space-4); } }
@media (min-width: 900px) { :root { --gutter: 32px; } }
a { color: inherit; text-decoration-color: color-mix(in srgb, var(--accent) 60%, transparent); text-decoration-thickness: 1px; text-underline-offset: .16em; }
a:hover { color: var(--accent-hi); text-decoration-color: var(--accent-hi); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: .005em; line-height: 1.08; margin: 0; color: var(--text); text-wrap: balance; }
h1 { font-size: var(--h1); font-weight: 700; }
h2 { font-size: clamp(1.45rem, 1.1rem + 1.2vw, 1.9rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; font-family: var(--font-ui); font-weight: 700; }
p { margin: 0 0 1em; }
.lede { font-size: var(--lede); color: var(--text-muted); max-width: var(--lede-width); margin: 12px 0 0; line-height: 1.6; }
.faint { color: var(--text-faint); font-size: .92rem; }
.eyebrow { display: inline-block; font-family: var(--font-display); font-weight: 600; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.eyebrow::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; background: var(--accent); vertical-align: -1px; }
.mono, code, .code-badge, .num, .kv dd.mono, .datasheet td.value { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -80px; background: var(--accent); color: var(--on-accent); padding: 8px 12px; z-index: 100; }
.skip:focus { top: 8px; }
svg { width: 1em; height: 1em; fill: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
img { max-width: 100%; }
hr { border: 0; border-top: var(--rule); margin: 32px 0; }

/* ---------- Header ---------- */
/* One sticky row, about 64px: logo | section links | search | account. Below 1100px the links fold into a
   panel behind the Menu button and the search stays in the row; below 600px the search takes a second row
   of its own and Log in gives way to Sign up. */
.site-header { background: var(--bg); border-bottom: var(--rule); position: sticky; top: 0; z-index: 40; }
.site-header-row { display: grid; grid-template-columns: auto auto minmax(200px, 1fr) auto; align-items: center; column-gap: var(--space-3); min-height: 64px; }
.site-nav { display: flex; gap: 2px; align-items: center; }
.site-nav a { flex: none; text-decoration: none; padding: 20px 10px 18px; font-weight: 700; font-size: .93rem; color: var(--text-muted); border-bottom: 3px solid transparent; white-space: nowrap; }
.site-nav a:hover { color: var(--text); }
.site-nav a[aria-current] { color: var(--text); border-bottom-color: var(--accent); }
.site-nav .nav-more { display: none; }
.site-header .search-compact { width: 100%; max-width: 440px; justify-self: end; }
.site-header .menu-toggle { display: none; }
.site-header .menu-toggle[aria-expanded="true"] { border-color: var(--text); color: var(--text); }
.logo { display: inline-grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; text-decoration: none; color: var(--text); }
.logo-mark { grid-row: 1 / 3; width: 26px; height: 26px; border: 2.5px solid var(--text); position: relative; }
.logo-mark span { position: absolute; right: -2.5px; bottom: -2.5px; width: 12px; height: 12px; background: var(--accent); }
.logo-word { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; letter-spacing: .06em; text-transform: uppercase; line-height: 1; }
.logo-tag { font-family: var(--font-display); font-weight: 500; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); line-height: 1; margin-top: 3px; }
.logo-lg .logo-mark { width: 36px; height: 36px; } .logo-lg .logo-word { font-size: 2rem; } .logo-lg .logo-tag { font-size: .8rem; }
.account { display: flex; gap: 8px; align-items: center; justify-self: end; }
.inline { display: inline; }
@media (max-width: 1100px) {
  .site-header-row { grid-template-columns: auto minmax(160px, 1fr) auto auto; column-gap: 12px; }
  .site-header .menu-toggle { display: inline-flex; }
  .js .site-nav { display: none; }
  .js .site-header.is-open .site-nav { display: flex; flex-wrap: wrap; gap: 4px; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: var(--rule); box-shadow: var(--shadow); padding: 10px var(--gutter) 14px; }
  .site-nav a { padding: 10px 12px; border: var(--rule-soft); border-radius: var(--radius-sm); }
  .site-nav a[aria-current] { border-color: var(--accent); }
  .site-nav .nav-more { display: inline-block; font-weight: 400; }
  .site-header .search-compact { max-width: none; }
}
@media (max-width: 600px) {
  .site-header-row { grid-template-columns: auto 1fr auto; row-gap: 10px; padding-top: 10px; padding-bottom: 10px; min-height: 0; }
  .site-header .search-compact { grid-column: 1 / -1; grid-row: 2; }
  .site-header .menu-toggle { grid-column: 2; grid-row: 1; justify-self: end; }
  .account { grid-column: 3; grid-row: 1; }
  .account .btn span { display: none; }
}
@media (max-width: 480px) { .logo-tag { display: none; } .logo-word { font-size: 1.3rem; } }

/* ---------- Task cards ---------- */
.tasks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); margin: var(--space-4) 0; }
.task { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; padding: 18px 0 8px; border-top: 2px solid var(--text); }
.task > svg { width: 32px; height: 32px; color: var(--accent); margin-top: 2px; }
.task h2 { font-size: 1.3rem; margin-bottom: 4px; }
.task p { margin: 0 0 12px; color: var(--text-muted); font-size: .95rem; }
.task .mini { display: flex; gap: 8px; }
.task .mini input { flex: 1; min-width: 0; font: inherit; font-family: var(--font-mono); text-transform: uppercase; padding: 9px 12px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); color: var(--text); }
.task .mini input::placeholder { text-transform: none; font-family: var(--font-ui); color: var(--text-faint); }
.task .mini input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.task .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.task .chips a, .task .chips button { font: inherit; font-size: .88rem; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--text); text-decoration: none; cursor: pointer; }
.task .chips a:hover, .task .chips button:hover, .task .chips [aria-pressed="true"] { border-color: var(--text); }
.task .chips [aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.task .chips .faint { align-self: center; }
.task .foot { font-size: .85rem; color: var(--text-faint); margin: 10px 0 0; }
@media (max-width: 700px) { .tasks { grid-template-columns: 1fr; } .task { grid-template-columns: 32px 1fr; padding: 18px; } .task > svg { width: 32px; height: 32px; } }

/* ---------- Buttons, pills, badges ---------- */
.btn { display: inline-flex; align-items: center; gap: 7px; padding: 10px 16px; border-radius: var(--radius-sm); border: 1px solid transparent; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; line-height: 1.1; white-space: nowrap; }
.btn svg { width: 1.05em; height: 1.05em; }
.btn-primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hi); color: var(--on-accent); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--text); }
.btn-secondary:hover { background: var(--text); color: var(--bg); }
.btn-ghost { background: transparent; color: var(--text-muted); border-color: var(--line); }
.btn-ghost:hover { color: var(--text); border-color: var(--text); }
.btn-sm { padding: 7px 11px; font-size: .9rem; }
.btn-icon { padding: 7px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border: 1px solid var(--line); border-radius: 999px; font-size: .92rem; text-decoration: none; background: transparent; color: var(--text); }
.pill:hover, .pill[aria-current] { border-color: var(--text); }
.pill[aria-current] { background: var(--text); color: var(--bg); }
.code-badge { display: inline-block; padding: 3px 9px; border: 1.5px solid var(--text); border-radius: var(--radius-sm); font-weight: 600; font-size: .95rem; letter-spacing: .02em; text-decoration: none; color: var(--text); background: transparent; position: relative; white-space: nowrap; }
.code-badge::before, .code-badge::after { content: ""; position: absolute; width: 5px; height: 5px; background: var(--accent); }
.code-badge::before { left: -1.5px; top: -1.5px; } .code-badge::after { right: -1.5px; bottom: -1.5px; }
.code-badge:hover { border-color: var(--accent-hi); color: var(--accent-hi); }
.code-badge-lg { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.8rem); padding: 6px 18px; border-width: 2px; }
.code-badge-lg::before, .code-badge-lg::after { width: 9px; height: 9px; }
.status-pill { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .02em; background: var(--surface-3); color: var(--text-muted); white-space: nowrap; }
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-pill.official { background: var(--accent-soft); color: var(--accent-hi); }
.status-pill.ok { background: var(--ok-bg); color: var(--ok); }
.status-pill.warn { background: var(--warn-bg); color: var(--warn); }
:root[data-theme="dark"] .status-pill.official, :root[data-theme="contrast"] .status-pill.official { color: var(--accent); }

/* ---------- Page header, breadcrumbs ---------- */
.breadcrumbs { font-size: .9rem; color: var(--text-faint); margin-bottom: var(--space-3); display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs a { color: var(--text-muted); text-decoration: none; } .breadcrumbs a:hover { color: var(--accent-hi); }
.breadcrumbs span[aria-current] { color: var(--text); }
.page-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; padding-bottom: var(--space-3); border-bottom: var(--rule); margin-bottom: var(--space-4); }
.page-title-main { max-width: 820px; }
.page-title h1 .mono { letter-spacing: -.01em; }
.page-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.byline { margin-top: 10px; }

/* ---------- Sections, panels, cards ---------- */
.section { margin: var(--space-5) 0; }
.section:first-child { margin-top: var(--space-4); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: var(--space-3); padding-bottom: 12px; border-bottom: var(--rule); }
.section-head h2 { counter-increment: section; }
.numbered .section-head h2::before { content: counter(section, decimal-leading-zero); font-family: var(--font-mono); font-weight: 500; font-size: .85rem; color: var(--accent); margin-right: 12px; vertical-align: .35em; letter-spacing: .05em; }
.numbered { counter-reset: section; }
.panel { border-top: 2px solid var(--text); padding: 20px 0 0; margin: var(--space-5) 0; }
.panel h2 { margin-bottom: 10px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); column-gap: var(--space-5); row-gap: 0; border-top: var(--rule); }
.card { display: flex; gap: 14px; padding: 16px 0; border-bottom: var(--rule-soft); text-decoration: none; color: inherit; }
.card:hover .card-title { color: var(--accent-hi); }
.card-art { flex: 0 0 44px; height: 44px; color: var(--text-faint); } .card-art svg { width: 44px; height: 44px; }
.card-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.card-body .eyebrow { margin: 0; font-size: .72rem; }
.card-body .eyebrow::before { display: none; }
.card-title { font-weight: 600; font-size: 1.1rem; letter-spacing: .01em; }
.card-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .9rem; color: var(--text-muted); }
.card-meta span { font-family: var(--font-mono); font-size: .85rem; }
.card-foot { font-size: .8rem; margin-top: auto; padding-top: 4px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 var(--space-4); border-top: var(--rule); }
.tile { display: flex; flex-direction: column; gap: 10px; padding: 20px 0; border-bottom: var(--rule-soft); text-decoration: none; color: inherit; }
.tile:hover b { color: var(--accent-hi); }
.tile svg { width: 56px; height: 56px; color: var(--text); }
.tile b { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; }
.tile .faint { font-size: .85rem; }
.brand-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); column-gap: var(--space-5); row-gap: 0; border-top: var(--rule); }
.brand-list a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 13px 0; border-bottom: var(--rule-soft); text-decoration: none; font-weight: 700; }
.brand-list a:hover { color: var(--accent-hi); }
.brand-list .faint { font-weight: 400; font-family: var(--font-mono); font-size: .74rem; white-space: nowrap; }
.brand-list .faint::after { content: "\203A"; margin-left: 10px; color: var(--accent); font-family: var(--font-ui); font-size: 1rem; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); background: var(--surface); border: var(--rule); border-radius: var(--radius); overflow: hidden; margin: var(--space-4) 0 0; }
.stat { padding: 22px 24px; box-shadow: inset -1px -1px 0 var(--line-soft); }
.stat b { display: block; font-family: var(--font-mono); font-weight: 600; font-size: 1.6rem; letter-spacing: -.02em; }
.stat span { font-size: .85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; font-family: var(--font-display); }

/* ---------- Direct answer, key facts, datasheet ---------- */
.answer { position: relative; padding: 2px 0 2px 24px; margin: 0 0 var(--space-4); border-left: 4px solid var(--accent); font-size: 1.15rem; line-height: 1.6; max-width: 72ch; }
.answer p { margin: 0; }
.answer .eyebrow { margin-bottom: 8px; }
.layout-split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--space-5); align-items: start; }
.layout-split > * { min-width: 0; }
.detail-aside { position: sticky; top: 84px; display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; }
@media (max-width: 1100px) { .layout-split { grid-template-columns: minmax(0, 1fr); } .detail-aside { position: static; order: -1; } }
.kv { margin: 0; display: grid; grid-template-columns: minmax(96px, max-content) 1fr; gap: 10px 20px; font-size: .95rem; }
.kv dt { color: var(--text-muted); font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; padding-top: 3px; }
.kv dd { margin: 0; font-weight: 600; }
.kv dd.mono { font-weight: 500; }
.key-facts { border-top: 2px solid var(--text); padding: 16px 0 4px; overflow-wrap: anywhere; }
.key-facts h2 { font-size: .9rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 12px; color: var(--text-muted); }
.datasheet { width: 100%; border-collapse: collapse; font-size: .95rem; }
.datasheet th, .datasheet td { text-align: left; padding: 12px 12px; border-bottom: var(--rule-soft); vertical-align: top; }
.datasheet thead th { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; color: var(--text-muted); border-bottom: var(--rule); }
.datasheet th.label, .datasheet td.label { color: var(--text-prose); width: 42%; font-weight: 400; }
.datasheet td.value { font-weight: 500; }
.datasheet td.value.long { font-family: var(--font-ui); font-weight: 400; color: var(--text-prose); }
.datasheet td.src { text-align: right; white-space: nowrap; }
.datasheet td.src a { color: var(--text-faint); text-decoration: none; font-size: .8rem; } .datasheet td.src a:hover { color: var(--accent-hi); }
.datasheet tbody tr:hover { background: var(--surface-2); }
.datasheet .num { text-align: right; white-space: nowrap; }
.table-wrap { overflow-x: auto; }
.spec-group { margin: var(--space-4) 0; }
.spec-group h3 { font-family: var(--font-display); font-size: .95rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-muted); margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.spec-group h3::after { content: ""; flex: 1; border-top: var(--rule); }
.provenance { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .85rem; color: var(--text-faint); margin: 10px 0 0; }
.provenance svg { width: 1em; height: 1em; }
.provenance a { color: var(--text-muted); }
.safety { display: flex; gap: 14px; padding: 4px 0 4px 20px; border-left: 4px solid var(--warn); margin: 24px 0; }
.safety svg { flex: 0 0 26px; width: 26px; height: 26px; color: var(--warn); margin-top: 2px; }
.safety strong { display: block; margin-bottom: 4px; font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .04em; text-transform: uppercase; }
.safety p { margin: 0; font-size: .95rem; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 12px 0; }
.steps li { position: relative; padding-left: 40px; margin-bottom: 10px; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border: 1.5px solid var(--text); border-radius: 50%; display: grid; place-items: center; font-family: var(--font-mono); font-size: .85rem; font-weight: 600; }
.prose { max-width: 72ch; color: var(--text-prose); line-height: 1.6; }
.prose h2 { margin: 32px 0 10px; color: var(--text); } .prose h3 { margin: 24px 0 8px; color: var(--text); }
.prose ul, .prose ol { padding-left: 22px; } .prose li { margin-bottom: 6px; }
.prose blockquote { margin: 16px 0; padding: 10px 18px; border-left: 3px solid var(--line); color: var(--text-muted); font-style: italic; }
.quote { margin: 12px 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--line); color: var(--text-prose); }
.quote cite { display: block; font-style: normal; font-size: .82rem; color: var(--text-faint); margin-top: 6px; }
.notice { padding: 10px 14px; border: 1px dashed var(--line); border-radius: var(--radius-sm); color: var(--text-muted); font-size: .9rem; }

/* ---------- Lists: codes, manuals, applies-to ---------- */
.code-table td:first-child { white-space: nowrap; width: 1%; }
.code-table .code-meaning { color: var(--text-prose); }
.manual-list { list-style: none; padding: 0; margin: 0; border-top: var(--rule); }
.manual-list li { display: grid; grid-template-columns: 30px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: var(--rule-soft); }
.manual-list svg { width: 30px; height: 30px; color: var(--accent); }
.manual-list b { display: block; font-size: 1.02rem; }
.manual-list .meta { font-size: .85rem; color: var(--text-faint); font-family: var(--font-mono); }
.manual-list .btn { white-space: nowrap; }
@media (max-width: 600px) { .manual-list li { grid-template-columns: 1fr; } .manual-list svg { display: none; } }
.applies { columns: 2; column-gap: 24px; list-style: none; padding: 0; margin: 10px 0; }
.applies li { break-inside: avoid; padding: 6px 0; border-bottom: var(--rule-soft); }
.applies a { text-decoration: none; font-weight: 600; } .applies a:hover { color: var(--accent-hi); }
@media (max-width: 600px) { .applies { columns: 1; } }
.related-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); column-gap: var(--space-5); row-gap: 0; border-top: var(--rule); }
.related-item { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; border-bottom: var(--rule-soft); text-decoration: none; }
.related-item:hover .related-title { color: var(--accent-hi); }
.related-title { font-weight: 700; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.faq details { border-top: var(--rule-soft); padding: 12px 0; }
.faq details:last-child { border-bottom: var(--rule-soft); }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--accent); }
.faq details[open] summary::after { content: "\2013"; }
.faq p { margin: 10px 0 0; color: var(--text-prose); }
.sources ul { padding-left: 20px; margin: 8px 0; } .sources li { margin-bottom: 4px; overflow-wrap: anywhere; }
.alpha { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 18px; }
.alpha a { font-family: var(--font-mono); padding: 4px 8px; border: var(--rule); border-radius: var(--radius-sm); text-decoration: none; font-size: .9rem; }
.alpha a:hover { border-color: var(--text); }
.empty { text-align: left; padding: 24px 0; border-top: var(--rule); border-bottom: var(--rule-soft); color: var(--text-muted); }
.empty svg { width: 48px; height: 48px; margin-bottom: 8px; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 16px; margin: 28px 0 0; }

/* ---------- Search ---------- */
.search { position: relative; }
.search-field { display: flex; align-items: center; gap: 8px; background: var(--surface-2); border: 1.5px solid var(--text); border-radius: var(--radius-sm); padding: 4px 4px 4px 12px; }
.search-field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.search-field svg { width: 20px; height: 20px; color: var(--text-faint); flex: none; }
.search-field input { flex: 1; border: 0; background: transparent; font: inherit; font-family: var(--font-mono); font-size: 1rem; color: var(--text); min-width: 0; padding: 8px 4px; outline: 0; text-transform: uppercase; }
.search-field input::placeholder { text-transform: none; font-family: var(--font-ui); color: var(--text-faint); }
.search-hero .search-field { padding: 8px 8px 8px 18px; }
.search-hero .search-field input { font-size: 1.25rem; padding: 10px 6px; }
.search-hero .search-field svg { width: 26px; height: 26px; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: var(--bg); border: var(--rule); border-radius: var(--radius); box-shadow: var(--shadow); z-index: 50; max-height: 70vh; overflow: auto; }
.suggest-group { padding: 8px 0 4px; }
.suggest-group + .suggest-group { border-top: var(--rule-soft); }
.suggest-label { display: block; padding: 2px 14px 6px; font-family: var(--font-display); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); }
.suggest a { display: flex; justify-content: space-between; gap: 14px; padding: 8px 14px; text-decoration: none; }
.suggest a b { font-family: var(--font-mono); font-weight: 600; }
.suggest a span { color: var(--text-faint); font-size: .88rem; text-align: right; }
.suggest a:hover, .suggest a[aria-selected="true"] { background: var(--accent-soft); }
.suggest-foot { display: block; padding: 10px 14px; border-top: var(--rule); font-size: .9rem; color: var(--text-muted); text-decoration: none; }
.search-hero-wrap { padding: 0 0 var(--space-3); max-width: 820px; }
.search-hero-wrap h1 { margin-bottom: 14px; }
.search-examples { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 12px; font-size: .9rem; color: var(--text-faint); }
.search-examples a { font-family: var(--font-mono); text-decoration: none; color: var(--text-muted); border-bottom: 1px dashed var(--line); }
.facets { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 18px; }
.facets select, .facet-input { font: inherit; padding: 7px 10px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); color: var(--text); }
.facet-input { width: 170px; text-transform: uppercase; } .facet-input::placeholder { text-transform: none; font-family: var(--font-ui); }
a.term { text-decoration: none; border-bottom: 1px dotted var(--text-faint); color: inherit; display: inline-block; padding: 5px 0; margin: -5px 0; }  /* a 24px tap target without changing the row height */ a.term:hover { color: var(--accent-hi); border-bottom-style: solid; }
.results { list-style: none; padding: 0; margin: 0; }
.results { border-top: var(--rule); }
.results li a { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-bottom: var(--rule-soft); text-decoration: none; align-items: baseline; }
.results li a:hover b { color: var(--accent-hi); }
.results .kind { font-family: var(--font-display); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); }
.results b { font-family: var(--font-mono); font-weight: 600; font-size: 1.05rem; display: block; }
.results span.sub { color: var(--text-muted); font-size: .92rem; }
@media (max-width: 600px) { .results li a { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Compare ---------- */
.compare-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.compare-table th, .compare-table td { padding: 10px; border-bottom: var(--rule-soft); text-align: left; vertical-align: top; }
.compare-table thead th { position: sticky; top: 64px; background: var(--surface); border-bottom: var(--rule); z-index: 2; }
.compare-table th a { font-family: var(--font-mono); text-decoration: none; }
.compare-table td.value { font-family: var(--font-mono); font-weight: 500; }
.compare-table td.label { color: var(--text-prose); font-weight: 400; width: 26%; }
.compare-table tr:hover td { background: var(--surface-2); }
.compare-add { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 16px 0; }

/* ---------- Home ---------- */
.hero { padding: var(--space-4) 0 var(--space-3); max-width: 920px; }
@media (min-width: 900px) { .hero { padding-top: var(--space-4); } }
.hero h1 { font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4.2rem); line-height: 1; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { font-size: 1.15rem; margin-top: 14px; }
.hero-search { margin-top: var(--space-4); }
.reveal > * { animation: rise .4s cubic-bezier(.2, .7, .2, 1) both; }
.reveal > *:nth-child(2) { animation-delay: .05s; } .reveal > *:nth-child(3) { animation-delay: .1s; } .reveal > *:nth-child(4) { animation-delay: .15s; } .reveal > *:nth-child(5) { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal > * { animation: none; } .card, .tile { transition: none; } }
.home-how { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-4); }
.home-how article { padding: 16px 0 0; border-top: 2px solid var(--text); }
.home-how article b { display: block; font-family: var(--font-mono); font-size: .8rem; color: var(--accent); margin-bottom: 6px; letter-spacing: .05em; }
.home-how article h3 { margin-bottom: 6px; } .home-how p { margin: 0; color: var(--text-prose); font-size: .95rem; }

/* ---------- Forms ---------- */
.form-layout { display: flex; justify-content: center; padding: 20px 0; }
.form-card, .auth-card { width: 100%; max-width: 520px; padding: 20px 0; border-top: 2px solid var(--text); }
.form-intro { color: var(--text-muted); margin: 8px 0 18px; } .form-after { margin-top: 18px; font-size: .95rem; color: var(--text-muted); }
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; padding: 20px 0; }
.auth-aside { padding: 28px; border-left: 2px solid var(--accent); }
.auth-aside h2 { margin: 6px 0 14px; }
.rubric-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: var(--text-prose); }
.rubric-list b { color: var(--accent-hi); font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; margin-right: 6px; }
@media (max-width: 800px) { .auth { grid-template-columns: 1fr; } .auth-aside { border-left: 0; border-top: 2px solid var(--accent); padding: 20px 0; } }
.field { margin-bottom: 16px; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: 6px; font-size: .95rem; }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea { width: 100%; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); color: var(--text); font: inherit; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); outline: 0; box-shadow: 0 0 0 3px var(--accent-soft); }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.helptext { font-size: .85rem; color: var(--text-faint); margin-top: 4px; }
.errorlist { color: var(--danger); font-size: .9rem; margin: 6px 0 0; padding-left: 18px; }
.form-errors { background: var(--danger-bg); border: 1px solid var(--danger); border-radius: var(--radius-sm); padding: 10px 14px; margin-bottom: 16px; }
.form-errors ul { margin: 0; padding-left: 18px; }
.switch { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch-track { flex: none; width: 40px; height: 22px; border-radius: 999px; background: var(--line); position: relative; transition: background .15s; margin-top: 2px; }
.switch-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); transition: transform .15s; }
.switch input:checked + .switch-track { background: var(--accent); } .switch input:checked + .switch-track::after { transform: translateX(18px); }
.switch input:focus-visible + .switch-track { outline: 2px solid var(--accent); outline-offset: 2px; }
.switch-label { font-weight: 700; }
.radio-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.radio-card { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; }
.radio-card:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.radio-card input { accent-color: var(--accent); }
fieldset { border: 0; padding: 0; margin: 0; }
.input-reveal { position: relative; } .input-reveal .reveal { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; font: inherit; font-size: .85rem; color: var(--text-muted); cursor: pointer; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.messages { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.messages li { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--ok-bg); border: 1px solid color-mix(in srgb, var(--ok) 40%, transparent); }
.messages li.error { background: var(--danger-bg); border-color: var(--danger); }
.messages svg { color: var(--ok); } .messages li.error svg { color: var(--danger); }

/* ---------- House pages (about, terms, privacy) ---------- */
.house { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; }
.house-contents { position: sticky; top: 84px; font-size: .9rem; }
.house-contents ol { list-style: none; padding: 0; margin: 0; border-left: var(--rule); }
.house-contents li a { display: block; padding: 5px 12px; color: var(--text-muted); text-decoration: none; border-left: 2px solid transparent; margin-left: -1px; }
.house-contents li a:hover, .house-contents li a[aria-current] { color: var(--text); border-left-color: var(--accent); }
@media (max-width: 800px) { .house { grid-template-columns: 1fr; } .house-contents { position: static; } }
.house-facts { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.house-facts li { padding: 14px 0 0; border-top: 2px solid var(--text); display: grid; gap: 2px; }
.house-facts .hf-n { font-family: var(--font-mono); font-size: 2rem; font-weight: 600; color: var(--accent); line-height: 1; }
.house-facts strong { font-family: var(--font-display); font-size: 1.1rem; }
.house-facts span:last-child { color: var(--text-muted); font-size: .9rem; }
.house-rule { padding: 4px 0 4px 20px; border-left: 4px solid var(--accent); }
.house-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; } @media (max-width: 700px) { .house-cols { grid-template-columns: 1fr; } }
.contact-card { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; padding: 16px 0; border-top: 2px solid var(--text); border-bottom: var(--rule-soft); margin-bottom: 24px; }
.contact-email { font-family: var(--font-mono); font-size: 1.2rem; font-weight: 600; text-decoration: none; display: block; }
.site-page-updated { margin-top: 32px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 2px solid var(--text); padding: var(--space-5) 0 var(--space-4); margin-top: auto; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: var(--space-5); }
.footer-brand .footer-blurb { color: var(--text-muted); max-width: 46ch; margin: 14px 0; }
.footer-col h2 { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; color: var(--text-muted); margin-bottom: 10px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-col a { text-decoration: none; color: var(--text); } .footer-col a:hover { color: var(--accent-hi); }
.footer-social { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0; }
.footer-social a { display: grid; place-items: center; width: 34px; height: 34px; border: var(--rule); border-radius: 50%; }
.footer-base { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; border-top: var(--rule-soft); margin-top: 30px; padding-top: 18px; flex-wrap: wrap; }
.footer-legal { font-size: .85rem; color: var(--text-faint); max-width: 78ch; }
.footer-legal p { margin: 0 0 6px; } .footer-legal a { margin-left: 10px; color: var(--text-muted); }
.footer-copy { font-weight: 700; color: var(--text-muted); }
.theme-switch { display: flex; gap: 8px; align-items: center; font-size: .9rem; }
.theme-switch select { font: inherit; padding: 6px 8px; border: var(--rule); border-radius: var(--radius-sm); background: var(--surface-2); color: var(--text); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 14px 18px; background: var(--bg); border: var(--rule); border-radius: var(--radius); box-shadow: var(--shadow); font-size: .92rem; }
.cookie-bar p { margin: 0; } .cookie-bar form { display: flex; gap: 8px; }

/* ---------- Density ---------- */
[data-density="compact"] { --gutter: 12px; }
[data-density="compact"] .datasheet th, [data-density="compact"] .datasheet td { padding: 5px 8px; }
[data-density="compact"] .card { padding: 10px; } [data-density="compact"] .section { margin: 24px 0; }

/* ---------- Print ---------- */
@media print { .site-header, .site-footer, .cookie-bar, .detail-aside .btn, .parts, .search { display: none !important; } body { background: #fff; } body::after { display: none; } .answer { border-left-color: #000; } }

/* ---------- Find the model number ---------- */
.find-model { display: grid; grid-template-columns: minmax(220px, 320px) minmax(0, 1fr); gap: var(--space-4); align-items: start; }
.find-model-art { color: var(--text); border: var(--rule); border-radius: var(--radius-sm); padding: 16px; }
.find-model-art svg { width: 100%; height: auto; display: block; }
.find-model-text h2 { margin-bottom: 10px; }
.find-model-places { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 8px; }
.find-model-places li { padding-left: 18px; position: relative; color: var(--text-prose); }
.find-model-places li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; background: var(--accent); }
.find-model-places b { color: var(--text); }
@media (max-width: 760px) { .find-model { grid-template-columns: 1fr; } .find-model-art { max-width: 360px; } }

.problems-table th.label a { text-decoration: none; } .problems-table th.label a:hover { color: var(--accent-hi); }
.problems-table .chip-list { margin: 0; }

.glance th.label { width: auto; white-space: nowrap; }
.glance thead th { white-space: nowrap; }
.glance tr.is-own td, .glance tr.is-own th { font-weight: 700; } .glance tr.is-own th .faint { font-weight: 400; }

.notes { margin: var(--space-3) 0; border-top: var(--rule); border-bottom: var(--rule); }
.notes summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; }
.notes summary::after { content: "+"; font-family: var(--font-mono); color: var(--accent); } .notes[open] summary::after { content: "\2013"; }
.note { border-top: var(--rule-soft); padding: 12px 0; } .note b { display: block; margin-bottom: 4px; } .note p { margin: 0; color: var(--text-prose); font-size: .95rem; }

/* ---------- Printed-reference tables and rows ---------- */
.brands-table th.label { width: auto; }
.brands-table th.label a { text-decoration: none; } .brands-table th.label a:hover { color: var(--accent-hi); }
.brands-table .num { font-family: var(--font-mono); }
.card-sub { color: var(--text-muted); font-size: .92rem; }
.steps-wide li { max-width: 72ch; margin-bottom: 14px; color: var(--text-prose); }
.steps-wide li b { color: var(--text); }
.code-table-full td.code-meaning { color: var(--text-prose); line-height: 1.5; }

/* A section heading already draws its rule: lists directly under it start without a second one. */
.section-head + .grid, .section-head + .brand-list, .section-head + .tiles, .section-head + .related-list, .section-head + .results, .section-head + .manual-list { border-top: 0; }

/* ---------- Illustration and data graphics ---------- */
.hero-split { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: var(--space-5); align-items: center; max-width: none; }
.hero-art { justify-self: end; width: 100%; max-width: 340px; position: relative; }
.hero-art img { width: 100%; height: auto; display: block; filter: drop-shadow(0 18px 24px rgba(20, 20, 30, .22)); }
.hero-art::after { content: ""; position: absolute; left: 8%; right: 8%; bottom: -14px; height: 22px; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(20, 20, 30, .18), transparent 70%); }
:root[data-theme="dark"] .hero-art img { filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .6)); }
:root[data-theme="dark"] .hero-art::after { background: radial-gradient(ellipse at center, rgba(0, 0, 0, .5), transparent 70%); }
@media (max-width: 1000px) { .hero-split { grid-template-columns: 1fr; } .hero-art { display: none; } }
.glyphs { list-style: none; padding: 0; margin: calc(-1 * var(--space-3)) 0 var(--space-4); display: flex; flex-wrap: wrap; gap: 8px 32px; }
.glyphs li { display: grid; grid-template-columns: 30px auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; }
.glyphs svg { width: 30px; height: 30px; grid-row: 1 / 3; color: var(--accent); }
.glyphs b { font-family: var(--font-mono); font-size: 1.15rem; font-weight: 600; line-height: 1.1; }
.glyphs span { font-size: .78rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: .08em; font-family: var(--font-display); }
.escale { margin: 0; }
.escale svg { width: 100%; max-width: 260px; height: auto; display: block; }
.escale path { fill: var(--surface-3); opacity: .55; }
.escale path.is-on { opacity: 1; }
.escale .eA.is-on { fill: #1E8449; } .escale .eB.is-on { fill: #3DA35D; } .escale .eC.is-on { fill: #8BC34A; } .escale .eD.is-on { fill: #D4C02E; }
.escale .eE.is-on { fill: #E9A23B; } .escale .eF.is-on { fill: #E06A2D; } .escale .eG.is-on { fill: #C83A2E; }
.escale .el { font-family: var(--font-display); font-weight: 700; font-size: 11px; fill: var(--text-muted); }
.escale .el.is-on { fill: #fff; }
.escale .emark text { font-family: var(--font-display); font-weight: 700; font-size: 28px; fill: var(--text); }
.escale .emark .emark-sub { font-size: 9px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; fill: var(--text-faint); }
.product-photo, .product-art { margin: 0; }
.product-photo img { width: 100%; height: auto; display: block; border-radius: var(--radius-sm); }
.product-photo figcaption, .product-art figcaption { margin-top: 6px; }
.product-art svg { width: 140px; height: 140px; color: var(--text-faint); display: block; }
.display-panel { margin: 0 0 var(--space-3); }
.display-screen { background: #101214; border-radius: 6px; padding: 18px 20px; box-shadow: inset 0 2px 8px rgba(0,0,0,.6), 0 0 0 4px #2A2D31; }
.display-screen span { display: block; font-family: var(--font-mono); font-weight: 600; font-size: clamp(2rem, 1.4rem + 1.5vw, 2.6rem); letter-spacing: .12em; color: #FF7A3D; text-shadow: 0 0 12px rgba(255, 122, 61, .55); white-space: nowrap; }
.display-panel figcaption { font-size: .78rem; color: var(--text-faint); margin-top: 6px; text-transform: uppercase; letter-spacing: .08em; font-family: var(--font-display); }

/* ---------- Manufacturer videos ---------- */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--space-4) var(--space-4); }
.video { margin: 0; }
.video-poster { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-sm); background: #000; }
.video-poster img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .92; transition: opacity .2s, transform .3s; }
.video-poster:hover img { opacity: 1; transform: scale(1.03); }
.video-poster iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; box-shadow: 0 4px 16px rgba(0,0,0,.35); transition: transform .15s; }
.video-play svg { width: 26px; height: 26px; margin-left: 3px; }
.video-poster:hover .video-play { transform: scale(1.08); }
.video-dur { position: absolute; right: 8px; bottom: 8px; font-family: var(--font-mono); font-size: .75rem; padding: 2px 6px; background: rgba(0,0,0,.75); color: #fff; border-radius: 3px; }
.video figcaption { margin-top: 8px; display: grid; gap: 2px; }
.video figcaption b { font-size: .95rem; line-height: 1.35; }
.video figcaption .faint { font-size: .8rem; }
.video-note { margin-top: var(--space-3); font-size: .8rem; }
.section-intro { max-width: 64ch; margin: 0 0 var(--space-3); color: var(--text-muted); }
