/* test2 — BLUEPRINT · Engineering precision (Swiss / technical drawing)
 * Light: cool paper + fine technical grid, ink navy, brand blue, one signal orange-red.
 * Dark: "cyanotype" — deep Prussian-blue ground, pale lines.
 */
:root {
  --paper: #f3f6f9; --ink: #0c1d33; --ink-2: #33475e; --rule: #c4d0dc; --rule-2: #dfe6ee;
  --brand: #005680; --brand-ink: #004467; --signal: #d9401f; --signal-ink: #b5341a;
  --grid-minor: rgba(0, 86, 128, .045); --grid-major: rgba(0, 86, 128, .085);
  --card: #ffffff; --card-2: #e9eff5; --hl: rgba(0, 86, 128, .08);
  --fs-bg: var(--paper); --fs-fg: var(--ink); --fs-muted: #4b5d72; --fs-line: var(--rule);
  --fs-surface: var(--card); --fs-surface-2: var(--card-2); --fs-accent: var(--brand); --fs-accent-fg: #ffffff; --fs-plate: #ffffff;
  --fs-radius: 2px;
  --fs-font-body: 'IBM Plex Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --fs-font-display: 'Gothic A1', 'IBM Plex Sans KR', 'Apple SD Gothic Neo', sans-serif;
  --fs-font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --fs-wrap: 1440px; --fs-header-h: 56px;
  --gut: clamp(16px, 2vw, 28px);
  --draw-line: var(--ink); --draw-fill: rgba(255, 255, 255, .88); --draw-dim: #5a6f86; --draw-flow: var(--brand); --draw-cmd: var(--brand);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0b2c4d; --ink: #e9f2fa; --ink-2: #bcd2e6; --rule: #2f5578; --rule-2: #21466a;
    --brand: #7cc6ef; --brand-ink: #a6daf7; --signal: #ff7a57; --signal-ink: #ff9374;
    --grid-minor: rgba(196, 226, 248, .05); --grid-major: rgba(196, 226, 248, .1);
    --card: #0f355a; --card-2: #143f69; --hl: rgba(124, 198, 239, .12);
    --fs-muted: #a4bed6; --fs-accent-fg: #06223b; --fs-plate: #f4f7fa;
    --draw-line: #dcebf7; --draw-fill: rgba(11, 44, 77, .9); --draw-dim: #93b3cf; --draw-flow: #8fd0f5; --draw-cmd: #8fd0f5;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0b2c4d; --ink: #e9f2fa; --ink-2: #bcd2e6; --rule: #2f5578; --rule-2: #21466a;
  --brand: #7cc6ef; --brand-ink: #a6daf7; --signal: #ff7a57; --signal-ink: #ff9374;
  --grid-minor: rgba(196, 226, 248, .05); --grid-major: rgba(196, 226, 248, .1);
  --card: #0f355a; --card-2: #143f69; --hl: rgba(124, 198, 239, .12);
  --fs-muted: #a4bed6; --fs-accent-fg: #06223b; --fs-plate: #f4f7fa;
  --draw-line: #dcebf7; --draw-fill: rgba(11, 44, 77, .9); --draw-dim: #93b3cf; --draw-flow: #8fd0f5; --draw-cmd: #8fd0f5;
  color-scheme: dark;
}

/* ---------- base ---------- */
html { background: var(--paper); }
body {
  margin: 0; min-height: 100vh;
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid-major) 1px, transparent 1px), linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    linear-gradient(var(--grid-minor) 1px, transparent 1px), linear-gradient(90deg, var(--grid-minor) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px;
  background-position: -1px -1px;
  font-feature-settings: "tnum" 0;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
::selection { background: var(--brand); color: var(--fs-accent-fg); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 0; }
.bp-wrap { max-width: var(--fs-wrap); margin-inline: auto; padding-left: max(var(--gut), env(safe-area-inset-left, 0px)); padding-right: max(var(--gut), env(safe-area-inset-right, 0px)); box-sizing: border-box; width: 100%; }
.fs-wrap { max-width: var(--fs-wrap); padding-left: max(var(--gut), env(safe-area-inset-left, 0px)); padding-right: max(var(--gut), env(safe-area-inset-right, 0px)); }
.bp-mono { font-family: var(--fs-font-mono); }
.bp-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fs-skip { border-radius: 0; font-family: var(--fs-font-mono); font-size: 13px; }
.bp-main { display: block; outline: none; padding-top: var(--fs-header-h); }
.bp-arr { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: square; }

/* ---------- top bar ---------- */
.bp-bar { position: fixed; inset: 0 0 auto 0; z-index: 50; height: calc(var(--fs-header-h) + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px); box-sizing: border-box;
  background: color-mix(in oklab, var(--paper) 90%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.bp-scrolled .bp-bar, .bp-bar:focus-within { border-bottom-color: var(--rule); }
.bp-bar-in { height: 100%; display: flex; align-items: center; gap: 20px; padding-left: max(var(--gut), env(safe-area-inset-left, 0px)); padding-right: max(var(--gut), env(safe-area-inset-right, 0px)); max-width: none; }
.bp-brand { flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-height: 44px; }
.bp-mark { width: 22px; height: 22px; fill: var(--brand); flex: none; }
.bp-word { font-family: var(--fs-font-display); font-weight: 800; font-size: 17px; letter-spacing: -.02em; }
.bp-est { font-family: var(--fs-font-mono); font-size: 10.5px; letter-spacing: .08em; color: var(--fs-muted); padding-left: 10px; border-left: 1px solid var(--rule); }
.bp-bar-sheet { font-family: var(--fs-font-mono); font-size: 11px; letter-spacing: .06em; color: var(--fs-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 1; padding-left: 20px; border-left: 1px solid var(--rule); align-self: center; line-height: 22px; }
.bp-bar-r { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.bp-lang { display: flex; align-items: center; font-family: var(--fs-font-mono); font-size: 12px; }
.bp-lang a { display: grid; place-items: center; min-width: 34px; min-height: 44px; text-decoration: none; color: var(--fs-muted); }
.bp-lang a[aria-current] { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.bp-lang span { color: var(--rule); }
.bp-theme { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px; background: none; border: 0; color: var(--fs-muted); font: 500 12px var(--fs-font-mono); cursor: pointer; }
.bp-theme:hover { color: var(--ink); }
.bp-theme-ic { width: 14px; height: 14px; border: 1.5px solid currentColor; border-radius: 50%; background: linear-gradient(90deg, currentColor 50%, transparent 50%); }
.bp-index-btn { white-space: nowrap; flex: none; display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 14px; margin-left: 6px; background: var(--ink); color: var(--paper); border: 0; font: 600 12px var(--fs-font-mono); letter-spacing: .14em; cursor: pointer; }
.bp-index-btn:hover { background: var(--brand); color: var(--fs-accent-fg); }
.bp-ib-lines { display: grid; gap: 4px; width: 16px; }
.bp-ib-lines i { display: block; height: 1.5px; background: currentColor; }
.bp-ib-lines i:last-child { width: 10px; }

/* ---------- full-screen index (drawing register) ---------- */
.bp-index { position: fixed; inset: 0; z-index: 80; background: var(--paper); overflow-y: auto; overscroll-behavior: contain;
  background-image: linear-gradient(var(--grid-major) 1px, transparent 1px), linear-gradient(90deg, var(--grid-major) 1px, transparent 1px);
  background-size: 80px 80px; opacity: 0; transition: opacity .22s ease; }
.bp-index.is-open { opacity: 1; }
.bp-ix-open { overflow: hidden; }
.bp-ix-in { min-height: 100%; box-sizing: border-box; display: flex; flex-direction: column; padding: calc(env(safe-area-inset-top, 0px) + 10px) max(var(--gut), env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 24px) max(var(--gut), env(safe-area-inset-left, 0px)); }
.bp-ix-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 46px; border-bottom: 2px solid var(--ink); padding-bottom: 8px; }
.bp-ix-title { margin: 0; font: 800 15px var(--fs-font-display); display: flex; gap: 14px; align-items: baseline; }
.bp-ix-title span { font: 500 11px var(--fs-font-mono); letter-spacing: .14em; color: var(--signal-ink); }
.bp-ix-close { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 14px; background: none; border: 1px solid var(--ink); color: var(--ink); font: 600 12px var(--fs-font-mono); letter-spacing: .1em; cursor: pointer; }
.bp-ix-close:hover { background: var(--ink); color: var(--paper); }
.bp-x { position: relative; width: 14px; height: 14px; }
.bp-x::before, .bp-x::after { content: ""; position: absolute; left: -1px; top: 6px; width: 16px; height: 1.5px; background: currentColor; transform: rotate(45deg); }
.bp-x::after { transform: rotate(-45deg); }
.bp-ix-grid { flex: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin-top: 0; }
.bp-ix-col { padding: 28px 22px 32px; border-right: 1px solid var(--rule); min-width: 0; }
.bp-ix-col:first-child { padding-left: 0; }
.bp-ix-col:last-child { border-right: 0; }
.bp-ix-top { display: grid; gap: 4px; margin: 0 0 22px; }
.bp-ix-letter { font: 500 11px var(--fs-font-mono); color: var(--signal-ink); letter-spacing: .12em; }
.bp-ix-top a { font: 900 clamp(30px, 3.4vw, 52px)/1 var(--fs-font-display); letter-spacing: -.045em; text-decoration: none; color: var(--ink); }
.bp-ix-top a:hover { color: var(--brand); }
.bp-ix-list, .bp-ix-items { list-style: none; margin: 0; padding: 0; }
.bp-ix-list > li { border-top: 1px solid var(--rule); }
.bp-ix-list a { display: grid; grid-template-columns: 4.6em minmax(0, 1fr); gap: 8px; align-items: baseline; padding: 10px 0; min-height: 24px; text-decoration: none; color: var(--ink); }
.bp-ix-g .bp-ix-l { font: 700 17px/1.35 var(--fs-font-display); letter-spacing: -.01em; }
.bp-ix-items a { padding: 5px 0; }
.bp-ix-items .bp-ix-l { font-size: 14px; color: var(--ink-2); line-height: 1.4; }
.bp-ix-items { padding-bottom: 8px; }
.bp-ix-no { font: 500 11px var(--fs-font-mono); color: var(--fs-muted); letter-spacing: .02em; }
.bp-ix-list a:hover .bp-ix-l, .bp-ix-list a[aria-current] .bp-ix-l { color: var(--brand); }
.bp-ix-list a[aria-current] .bp-ix-no { color: var(--signal-ink); }
.bp-ix-list a[aria-current] .bp-ix-no::before { content: "▸ "; }
.bp-ix-motto { font: 500 12px/1.6 var(--fs-font-mono); letter-spacing: .06em; color: var(--fs-muted); margin: 0 0 22px; max-width: 22ch; }
.bp-ix-cta { margin: 0 0 18px; }
.bp-ix-util { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin: 0; }
.bp-ix-lang { font: 600 13px var(--fs-font-mono); min-height: 44px; display: inline-flex; align-items: center; }
.bp-theme-ix { padding-left: 0; }
.bp-ix-foot { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; padding-top: 12px; border-top: 2px solid var(--ink); font: 500 11px var(--fs-font-mono); color: var(--fs-muted); letter-spacing: .04em; }
@media (max-width: 1100px) { .bp-ix-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .bp-ix-col:nth-child(3n) { border-right: 0; } .bp-ix-col:nth-child(3n+1) { padding-left: 0; } .bp-ix-col { border-bottom: 1px solid var(--rule); } }
@media (max-width: 680px) {
  .bp-ix-grid { grid-template-columns: minmax(0, 1fr); }
  .bp-ix-col { padding: 22px 0; border-right: 0; }
  .bp-ix-top { grid-template-columns: 2em 1fr; align-items: baseline; margin-bottom: 12px; }
  .bp-ix-top a { font-size: 32px; }
  .bp-ix-list a { padding: 11px 0; }
  .bp-ix-items a { padding: 9px 0; }
}

/* ---------- buttons / links ---------- */
.bp-btn { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 20px; box-sizing: border-box; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); font: 600 15px var(--fs-font-body); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.bp-btn:hover { background: var(--ink); color: var(--paper); }
.bp-btn-solid { background: var(--brand); border-color: var(--brand); color: var(--fs-accent-fg); }
.bp-btn-solid:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.bp-btn-lg { min-height: 56px; font-size: 16px; padding: 0 26px; }
.bp-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--brand); font-weight: 600; text-decoration: none; border-bottom: 1px solid transparent; }
.bp-link:hover { border-bottom-color: currentColor; }
.bp-more { margin: 28px 0 0; }

/* ---------- home: sheets on a 12-col grid ---------- */
.bp-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); }
.bp-grid > * { grid-column: 1 / -1; min-width: 0; }
.bp-sec { padding: clamp(56px, 8vw, 128px) 0 0; }
.bp-sec:last-child { padding-bottom: clamp(72px, 10vw, 160px); }
.bp-rule { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); align-items: end; position: relative; padding-bottom: 10px; margin-bottom: clamp(32px, 5vw, 72px); font: 500 11px var(--fs-font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fs-muted); }
.bp-rule-n { grid-column: 1 / span 2; font: 600 13px var(--fs-font-mono); color: var(--ink); letter-spacing: .02em; }
.bp-rule-n i { font-style: normal; color: var(--fs-muted); font-weight: 400; }
.bp-rule-name { grid-column: 3 / span 6; color: var(--ink); }
.bp-rule-code { grid-column: 11 / span 2; }
.bp-rule-line { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ink); transform-origin: left; }
.bp-rule-line::before { content: ""; position: absolute; left: 0; bottom: 2px; width: 1px; height: 10px; background: var(--ink); }
.bp-rule-line::after { content: ""; position: absolute; left: calc((100% - 11 * var(--gut)) / 12 * 2 + 2 * var(--gut)); bottom: 2px; width: 1px; height: 22px; background: var(--rule); }
.js .bp-rule:not(.in) .bp-rule-line { transform: scaleX(.12); }
.bp-rule .bp-rule-line { transition: transform 1s cubic-bezier(.2, .7, .1, 1); }

.bp-kicker { grid-column: 1 / span 2; font: 500 11px/1.6 var(--fs-font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--signal-ink); margin: 6px 0 16px; }
.bp-h2 { font: 800 clamp(32px, 4.6vw, 68px)/1.08 var(--fs-font-display); letter-spacing: -.04em; margin: 0; text-wrap: balance; }
.bp-h3 { font: 800 clamp(22px, 2.4vw, 32px)/1.2 var(--fs-font-display); letter-spacing: -.03em; margin: 0 0 18px; text-wrap: balance; }
.bp-sec-head .bp-kicker { grid-column: 1 / span 3; }
.bp-sec-head .bp-h2 { grid-column: 4 / span 8; }
.bp-sec-lead { grid-column: 4 / span 6; color: var(--ink-2); font-size: clamp(16px, 1.4vw, 19px); margin: 22px 0 0; text-wrap: pretty; }
.bp-sec-head { margin-bottom: clamp(36px, 5vw, 72px); }

/* 00 hero */
.bp-hero { padding-top: clamp(28px, 4vw, 56px); }
.bp-hero .bp-rule { margin-bottom: clamp(28px, 5vw, 64px); }
.bp-hero-eyebrow { grid-column: 1 / span 6; display: flex; gap: 10px; align-items: center; font: 500 12px var(--fs-font-mono); letter-spacing: .14em; color: var(--ink-2); margin: 0 0 22px; }
.bp-sq { width: 9px; height: 9px; background: var(--signal); flex: none; }
.bp-hero-title { grid-column: 1 / span 11; margin: 0; font: 900 clamp(46px, 8.6vw, 140px)/1.04 var(--fs-font-display); letter-spacing: -.055em; color: var(--ink); text-wrap: balance; }
.bp-hero-title span { display: block; }
.bp-ht-b { color: var(--brand); }
:lang(en) .bp-hero-title { letter-spacing: -.045em; }
.bp-hero-lead { grid-column: 1 / span 6; margin-top: clamp(32px, 4vw, 56px); }
.bp-hero-lead > p { font-size: clamp(16px, 1.35vw, 19px); line-height: 1.75; color: var(--ink-2); margin: 0; max-width: 58ch; text-wrap: pretty; }
.bp-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.bp-hero-side { grid-column: 9 / span 4; margin-top: clamp(32px, 4vw, 56px); align-self: end; }
.bp-hero-spec { margin: 0; border-top: 1px solid var(--ink); }
.bp-hero-spec > div { display: grid; grid-template-columns: 6.6em minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.bp-hero-spec dt { font: 500 10.5px/1.9 var(--fs-font-mono); letter-spacing: .1em; color: var(--fs-muted); }
.bp-hero-spec dd { margin: 0; font-size: 14px; line-height: 1.6; }
.bp-hero-spec dd.bp-mono { font-size: 12px; letter-spacing: .04em; }
.bp-film-btn { display: flex; align-items: center; gap: 14px; width: 100%; margin-top: 16px; padding: 12px 0; background: none; border: 0; border-bottom: 1px solid var(--rule); color: var(--ink); font: 600 15px var(--fs-font-body); text-align: left; cursor: pointer; min-height: 56px; }
.bp-film-btn small { display: block; font: 500 10.5px var(--fs-font-mono); letter-spacing: .1em; color: var(--fs-muted); }
.bp-play { width: 40px; height: 40px; flex: none; border: 1.5px solid var(--ink); display: grid; place-items: center; transition: background .15s; }
.bp-play::before { content: ""; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }
.bp-film-btn:hover .bp-play { background: var(--signal); border-color: var(--signal); color: #fff; }

/* 01 drawing */
.bp-flow-head .bp-kicker { grid-column: 1 / span 3; }
.bp-flow-head .bp-h2 { grid-column: 4 / span 7; }
.bp-flow-lead { grid-column: 4 / span 6; color: var(--ink-2); font-size: clamp(16px, 1.4vw, 19px); margin: 20px 0 clamp(28px, 4vw, 52px); }
.bp-fig { margin: 0; border: 1.5px solid var(--ink); background: color-mix(in oklab, var(--card) 70%, transparent); }
.bp-fig-cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 10px 14px; border-bottom: 1px solid var(--ink); font: 500 11px var(--fs-font-mono); letter-spacing: .06em; color: var(--ink-2); }
.bp-fig-cap b { color: var(--ink); font-weight: 600; margin-right: 8px; }
.bp-fig-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.bp-fig-legend i { display: inline-block; width: 22px; height: 0; border-top: 2px solid var(--draw-flow); margin-left: 8px; vertical-align: middle; }
.bp-fig-legend .lg-cmd { border-top: 2px dashed var(--draw-cmd); }
.bp-fig-legend .lg-tun { border-top: 4px double var(--draw-line); height: 0; }
.bp-fig-legend .lg-blk { width: 10px; height: 10px; border: 2px solid var(--signal); border-radius: 50%; box-sizing: border-box; }
.bp-fig-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--ink); }
.bp-tab { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 4px 12px; padding: 14px 16px 18px; min-height: 60px; background: transparent; border: 0; border-right: 1px solid var(--rule); color: var(--fs-muted); text-align: left; font: inherit; cursor: pointer; transition: background .2s, color .2s; }
.bp-tab:last-child { border-right: 0; }
.bp-tab:hover { color: var(--ink); background: var(--hl); }
.bp-tab[aria-selected="true"] { color: var(--ink); background: var(--hl); }
.bp-tab-n { font: 600 12px var(--fs-font-mono); color: inherit; }
.bp-tab[aria-selected="true"] .bp-tab-n { color: var(--signal-ink); }
.bp-tab-code { font: 600 clamp(12px, 1.05vw, 14px) var(--fs-font-mono); letter-spacing: .04em; }
.bp-tab-bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; overflow: hidden; }
.bp-tab-bar i { position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.bp-tab[aria-selected="true"] .bp-tab-bar i { transform: scaleX(1); }
.bp-fig-host .bp-tab.is-auto .bp-tab-bar i { transform: scaleX(var(--cycle, 0)); background: var(--brand); }
.bp-fig-body { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); }
.bp-step-panel { padding: 24px 22px; border-right: 1px solid var(--rule); min-height: 260px; }
.bp-step-code { margin: 0 0 18px; font: 600 12px var(--fs-font-mono); color: var(--brand); letter-spacing: .04em; display: grid; gap: 4px; }
.bp-step-code span { font-weight: 500; font-size: 10.5px; color: var(--fs-muted); letter-spacing: .12em; }
.bp-step-title { margin: 0 0 12px; font: 800 clamp(20px, 1.9vw, 26px)/1.25 var(--fs-font-display); letter-spacing: -.03em; text-wrap: balance; }
.bp-step-text { margin: 0; font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.bp-svg-wrap { position: relative; min-width: 0; }
.bp-svg { display: block; width: 100%; height: auto; }
.bp-node-info { position: absolute; left: 12px; right: 12px; bottom: 30px; margin: 0; padding: 10px 14px; background: var(--ink); color: var(--paper); font-size: 13px; line-height: 1.55; opacity: 0; transform: translateY(6px); transition: opacity .18s, transform .18s; pointer-events: none; max-width: 760px; }
.bp-node-info.on { opacity: 1; transform: none; }
.bp-fig-foot { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); border-top: 1px solid var(--ink); }
.bp-flow-note { margin: 0; padding: 16px 22px; border-right: 1px solid var(--rule); font-size: 14px; line-height: 1.6; }
.bp-flow-note span, .bp-zt dt { display: block; font: 600 10.5px var(--fs-font-mono); letter-spacing: .12em; color: var(--signal-ink); margin-bottom: 4px; }
.bp-zt { margin: 0; display: grid; grid-template-columns: 1fr 1fr; }
.bp-zt > div { padding: 16px 22px; border-right: 1px solid var(--rule); }
.bp-zt > div:last-child { border-right: 0; }
.bp-zt dt { color: var(--brand); font-size: 11px; letter-spacing: .04em; }
.bp-zt dd { margin: 0; font-size: 14px; color: var(--ink-2); }

/* drawing SVG */
.bp-svg { font-family: var(--fs-font-body); }
.bp-svg .fr { fill: none; stroke: var(--draw-line); stroke-width: 1; opacity: .45; }
.bp-svg .tick { stroke: var(--draw-line); stroke-width: 1; opacity: .45; }
.bp-svg .zone { font: 500 9.5px var(--fs-font-mono); fill: var(--draw-dim); }
.bp-svg .edge { fill: none; stroke-width: 2; stroke-linejoin: miter; }
.bp-svg .e-flow { stroke: var(--draw-flow); }
.bp-svg .e-atk { stroke: var(--signal); stroke-dasharray: 2 4; stroke-width: 1.6; }
.bp-svg .e-cmd { stroke: var(--draw-cmd); stroke-width: 1.4; stroke-dasharray: 7 5; opacity: 0; transition: opacity .6s 1.6s; }
.bp-svg.is-drawn .e-cmd { opacity: 1; }
.bp-svg .e-cmd.on { stroke-width: 2; animation: bp-march .9s linear infinite; }
.bp-svg[data-step="2"] .e-cmd.on { animation-direction: reverse; stroke: var(--draw-dim); }
@keyframes bp-march { to { stroke-dashoffset: -12; } }
.bp-svg .e-track { fill: none; stroke: none; }
.bp-svg .arrow { fill: none; stroke-width: 2; stroke-linecap: square; }
.bp-svg .a-flow { stroke: var(--draw-flow); }
.bp-svg .a-cmd { stroke: var(--draw-cmd); stroke-width: 1.6; }
.bp-svg .a-atk { stroke: var(--signal); }
.bp-svg[data-step="2"] .a-cmd { opacity: .25; }
.bp-svg .junction { fill: var(--draw-cmd); }
.bp-svg .rail { fill: none; stroke: var(--draw-line); stroke-width: 1.6; }
.bp-svg .hatch { fill: none; stroke: var(--draw-line); stroke-width: 1; opacity: .3; }
.bp-svg .box { fill: none; stroke: var(--draw-line); stroke-width: 1.5; }
.bp-svg .box-fill { fill: var(--draw-fill); }
.bp-svg .n-atk .box { stroke: var(--signal); stroke-dasharray: 4 3; }
.bp-svg .n-xitm .box { stroke-width: 2.2; }
.bp-svg .t-tag { font: 600 9.5px var(--fs-font-mono); letter-spacing: .1em; fill: var(--draw-dim); }
.bp-svg .n-atk .t-tag { fill: var(--signal); }
.bp-svg .t-title { font-family: var(--fs-font-display); font-weight: 800; fill: var(--draw-line); letter-spacing: -.01em; }
.bp-svg .t-sub { font-size: 11px; fill: var(--draw-dim); }
.bp-svg .t-lab { font: 600 11px var(--fs-font-mono); fill: var(--draw-line); letter-spacing: .02em; }
.bp-svg .t-dim { font: 500 10.5px var(--fs-font-mono); fill: var(--draw-dim); letter-spacing: .04em; }
.bp-svg .t-cmd { font: 600 11px var(--fs-font-mono); fill: var(--draw-cmd); }
.bp-svg .t-block { font: 700 10.5px var(--fs-font-mono); fill: var(--signal); letter-spacing: .1em; }
.bp-svg .t-sim { font: 500 9.5px var(--fs-font-mono); fill: var(--draw-dim); letter-spacing: .06em; }
.bp-svg .chip-r { fill: var(--draw-fill); stroke: var(--draw-line); stroke-width: 1.4; }
.bp-svg .chip-l { stroke: var(--draw-line); stroke-width: 1.2; }
.bp-svg .t-chip { font: 700 10.5px var(--fs-font-mono); fill: var(--draw-line); letter-spacing: .08em; }
.bp-svg .dim .ext { stroke: var(--draw-dim); stroke-width: .8; fill: none; }
.bp-svg .dim .dl { stroke: var(--draw-dim); stroke-width: .9; fill: none; }
.bp-svg .dim .dl-ah { stroke: var(--draw-dim); stroke-width: .9; fill: none; }
.bp-svg .dl-bg { fill: var(--paper); }
.bp-svg .leader { stroke: var(--signal); stroke-width: 1; fill: none; }
.bp-svg .leader-dot { fill: var(--signal); }
.bp-svg .co-c { fill: var(--paper); stroke: var(--signal); stroke-width: 1.4; }
.bp-svg .t-co { font: 700 11.5px var(--fs-font-mono); fill: var(--signal); }
.bp-svg .callout.on .co-c { fill: var(--signal); }
.bp-svg .callout.on .t-co { fill: #fff; }
.bp-svg .bm-c { fill: var(--paper); stroke: var(--signal); stroke-width: 2; }
.bp-svg .bm-x { stroke: var(--signal); stroke-width: 2; }
.bp-svg .pk { pointer-events: none; }
.bp-svg .pk-a { fill: var(--draw-flow); }
.bp-svg .pk-t { fill: var(--draw-dim); }
.bp-svg .pk-c { fill: var(--draw-cmd); stroke: var(--paper); stroke-width: 1.5; }
.bp-svg .pk-x { fill: var(--signal); }
.bp-svg .pk-q { fill: var(--draw-line); }
.bp-svg .pk-ring { fill: none; stroke: var(--signal); stroke-width: 1.6; }
.bp-svg .node { cursor: pointer; }
.bp-svg .node:hover .box { stroke: var(--brand); stroke-width: 2.4; }
/* highlight */
.bp-svg .hl { transition: opacity .45s ease; }
.bp-svg[data-step] .hl:not(.on) { opacity: .3; }
.bp-svg[data-step] .node.on .box { stroke: var(--brand); stroke-width: 2.4; }
.bp-svg[data-step] .node.on .t-tag { fill: var(--brand); }
.bp-svg[data-step="3"] .n-atk.on .box { stroke: var(--signal); }
/* draw-in */
.bp-svg .ln { stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s cubic-bezier(.3, .6, .2, 1) var(--d, 0s); }
.bp-svg.is-drawn .ln { stroke-dashoffset: 0; }
.bp-svg .e-atk.ln { stroke-dasharray: 1 1; }
.bp-svg.is-drawn .e-atk.ln { stroke-dasharray: 2 4; transition: none; }
.bp-svg .box-fill, .bp-svg text, .bp-svg .arrow, .bp-svg .chip, .bp-svg .hatch, .bp-svg .blockmark, .bp-svg .callout, .bp-svg .dl-ah, .bp-svg .dl-bg, .bp-svg .junction { opacity: 0; transition: opacity .5s ease .5s; }
.bp-svg.is-drawn .box-fill, .bp-svg.is-drawn text, .bp-svg.is-drawn .chip, .bp-svg.is-drawn .dl-ah, .bp-svg.is-drawn .dl-bg, .bp-svg.is-drawn .junction { opacity: 1; }
.bp-svg.is-drawn .hatch { opacity: .3; }
.bp-svg.is-drawn .arrow, .bp-svg.is-drawn .blockmark, .bp-svg.is-drawn .callout { opacity: 1; transition: opacity .45s ease; }
.bp-svg.is-drawn[data-step] .hl:not(.on) { opacity: .3; }
.bp-svg.is-drawn[data-step="2"] .a-cmd { opacity: .25; }
.bp-svg.no-anim .ln, .bp-svg.no-anim * { transition: none !important; animation: none !important; }

/* 02 pillars — spec sheets */
.bp-specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); border-left: 1px solid var(--rule); }
.bp-spec { position: relative; display: flex; flex-direction: column; padding: 0 clamp(18px, 2vw, 30px) 26px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: color-mix(in oklab, var(--card) 55%, transparent); }
.bp-spec-h { display: flex; justify-content: space-between; gap: 10px; margin: 0 calc(-1 * clamp(18px, 2vw, 30px)) 0; padding: 10px clamp(18px, 2vw, 30px); border-bottom: 1px solid var(--rule); font: 500 10.5px var(--fs-font-mono); letter-spacing: .12em; color: var(--fs-muted); }
.bp-spec-h span:first-child { color: var(--signal-ink); }
.bp-spec-g { padding: 26px 0 8px; }
.bp-spec-g svg { width: 120px; height: 64px; display: block; fill: none; stroke: var(--ink); stroke-width: 1.4; overflow: visible; }
.bp-spec-g .d { stroke: var(--brand); stroke-dasharray: 4 3; }
.bp-spec-g text { stroke: none; fill: var(--ink); font: 600 9px var(--fs-font-mono); }
.bp-spec-name { font: 900 clamp(34px, 3.6vw, 54px)/1 var(--fs-font-display); letter-spacing: -.05em; margin: 18px 0 14px; color: var(--brand); }
.bp-spec-title { font: 700 clamp(17px, 1.4vw, 19px)/1.45 var(--fs-font-display); letter-spacing: -.02em; margin: 0 0 12px; text-wrap: balance; }
.bp-spec-text { font-size: 15px; line-height: 1.75; color: var(--ink-2); margin: 0 0 18px; flex: 1; }

/* 03 stat */
.bp-stat-fig { grid-column: 1 / span 7; }
.bp-stat-notes { grid-column: 9 / span 4; padding-top: 30px; }
.bp-stat-src { font-size: 11px; letter-spacing: .14em; color: var(--signal-ink); margin: 0 0 18px; }
.bp-stat-num { position: relative; display: inline-block; margin: 0; padding-top: 30px; font: 900 clamp(84px, 15vw, 250px)/.86 var(--fs-font-display); letter-spacing: -.065em; color: var(--ink); font-variant-numeric: tabular-nums; }
.bp-stat-unit { font-size: .42em; letter-spacing: -.02em; margin-left: .06em; color: var(--brand); vertical-align: top; position: relative; top: .14em; }
.bp-stat-dim { position: absolute; left: 0; right: 0; top: 4px; height: 12px; border-left: 1px solid var(--signal); border-right: 1px solid var(--signal); }
.bp-stat-dim::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; border-top: 1px solid var(--signal); }
.bp-stat-dim::after { content: attr(data-l); position: absolute; left: 50%; top: -1px; transform: translateX(-50%); padding: 0 8px; background: var(--paper); font: 500 10px var(--fs-font-mono); letter-spacing: .1em; color: var(--signal-ink); white-space: nowrap; }
.bp-stat-label { font: 700 clamp(18px, 1.8vw, 24px)/1.4 var(--fs-font-display); letter-spacing: -.02em; margin: 22px 0 0; max-width: 28ch; }
.bp-bars { margin-top: 40px; border-top: 1px solid var(--ink); padding-top: 18px; }
.bp-bar-row { display: grid; grid-template-columns: minmax(0, 9em) 4.6em minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px 0; }
.bp-bar-k { font-size: 13px; color: var(--ink-2); }
.bp-bar-v { font: 600 12px var(--fs-font-mono); text-align: right; }
.bp-sbar { position: relative; height: 14px; border: 1px solid var(--rule); background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), var(--rule) calc(10% - 1px) 10%); }
.bp-sbar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--brand); min-width: 2px; transform-origin: left; transition: transform 1.2s cubic-bezier(.2, .7, .1, 1) .2s; }
.js .bp-bars:not(.in) .bp-sbar i { transform: scaleX(0); }
.bp-bar-call { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font: 600 11px var(--fs-font-mono); color: var(--signal-ink); padding-left: 18px; }
.bp-bar-call::before { content: ""; position: absolute; left: 0; top: 50%; width: 12px; border-top: 1px solid var(--signal); }
.bp-bar-note { font: 500 11px/1.6 var(--fs-font-mono); color: var(--fs-muted); margin: 12px 0 0; letter-spacing: .02em; }
.bp-notes { list-style: none; padding: 0; margin: 0; counter-reset: n; }
.bp-notes li { position: relative; padding: 16px 0 16px 0; border-top: 1px solid var(--rule); font-size: 15px; line-height: 1.75; color: var(--ink-2); }
.bp-note-k { display: block; font: 600 10.5px var(--fs-font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fs-muted); margin-bottom: 6px; }
.bp-note-warn { border-left: 3px solid var(--signal); padding-left: 14px !important; background: color-mix(in oklab, var(--signal) 6%, transparent); }
.bp-note-warn .bp-note-k { color: var(--signal-ink); }
.bp-stat-links { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 8px 0 0; border-top: 1px solid var(--rule); }

/* 04 product index */
.bp-pi-head { display: grid; grid-template-columns: 8em minmax(0, 4fr) minmax(0, 4fr) minmax(0, 3fr) 2.4em; gap: var(--gut); padding: 0 0 10px; border-bottom: 2px solid var(--ink); font: 500 10.5px var(--fs-font-mono); letter-spacing: .14em; color: var(--fs-muted); }
.bp-pi { list-style: none; margin: 0; padding: 0; }
.bp-pi li { border-bottom: 1px solid var(--rule); }
.bp-pi-a { display: grid; grid-template-columns: 8em minmax(0, 4fr) minmax(0, 4fr) minmax(0, 3fr) 2.4em; column-gap: var(--gut); align-items: baseline; padding: 16px 0; text-decoration: none; color: var(--ink); transition: background .2s, padding .2s; }
.bp-pi-code { font: 600 13px var(--fs-font-mono); color: var(--brand); display: flex; gap: 10px; align-items: baseline; }
.bp-pi-code i { font-style: normal; font-weight: 400; color: var(--fs-muted); font-size: 11px; order: -1; }
.bp-pi-name { font: 800 clamp(18px, 1.7vw, 24px)/1.25 var(--fs-font-display); letter-spacing: -.03em; }
.bp-pi-title { font-size: 15px; color: var(--ink-2); }
.bp-pi-tag { font: 500 11.5px/1.5 var(--fs-font-mono); color: var(--fs-muted); letter-spacing: .02em; }
.bp-pi-go { grid-column: 5; grid-row: 1; justify-self: end; color: var(--ink); font-size: 18px; transition: transform .2s; }
.bp-pi-desc { grid-column: 2 / span 3; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease, margin .35s; }
.bp-pi-desc > span { overflow: hidden; font-size: 15px; line-height: 1.7; color: var(--ink-2); max-width: 72ch; }
.bp-pi-a:hover, .bp-pi-a:focus-visible { background: var(--hl); padding-left: 14px; padding-right: 14px; }
.bp-pi-a:hover .bp-pi-desc, .bp-pi-a:focus-visible .bp-pi-desc { grid-template-rows: 1fr; margin-top: 10px; }
.bp-pi-a:hover .bp-pi-go { transform: translateX(4px); color: var(--brand); }
@media (hover: none) { .bp-pi-desc { grid-template-rows: 1fr; margin-top: 8px; } }

/* 05 facts */
.bp-facts-l { grid-column: 1 / span 5; }
.bp-facts-l .bp-kicker { margin-bottom: 18px; }
.bp-facts-l .bp-h2 { font-size: clamp(28px, 3.4vw, 50px); }
.bp-facts-r { grid-column: 7 / span 6; }
.bp-spectable { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); font-variant-numeric: tabular-nums; }
.bp-spectable th, .bp-spectable td { text-align: left; vertical-align: baseline; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--rule); }
.bp-spectable thead th { font: 500 10.5px var(--fs-font-mono); letter-spacing: .14em; color: var(--fs-muted); padding-block: 10px; }
.bp-spectable tbody th { font: 900 clamp(22px, 2.3vw, 32px)/1.1 var(--fs-font-display); letter-spacing: -.04em; white-space: nowrap; color: var(--ink); }
.bp-spectable td { font-size: 14.5px; color: var(--ink-2); }
.bp-spectable td.bp-mono { font-size: 11px; color: var(--signal-ink); width: 4em; }
.bp-ruler-wrap { margin-top: clamp(48px, 6vw, 88px); }
.bp-ruler-k { font: 500 10.5px var(--fs-font-mono); letter-spacing: .14em; color: var(--fs-muted); margin: 0 0 10px; }
.bp-ruler { position: relative; height: 54px; border-top: 2px solid var(--ink); margin: 0 18px 0 0; }
.bp-tick { position: absolute; top: 0; width: 1px; height: 8px; background: var(--ink); opacity: .55; }
.bp-tick.md { height: 13px; opacity: .8; }
.bp-tick.mj { height: 20px; opacity: 1; }
.bp-tick b { position: absolute; top: 24px; left: 0; transform: translateX(-50%); font: 600 11px var(--fs-font-mono); white-space: nowrap; }
.bp-tick:first-child b { transform: none; }
.bp-tick:last-of-type b { transform: translateX(-100%); }
.bp-ruler-fill { position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: var(--brand); transform-origin: left; transition: transform 1.8s cubic-bezier(.3, .6, .1, 1); }
.js .bp-ruler:not(.in) .bp-ruler-fill { transform: scaleX(0); }
.bp-ruler::before, .bp-ruler::after { content: ""; position: absolute; top: -7px; width: 12px; height: 12px; border-radius: 50%; background: var(--signal); }
.bp-ruler::before { left: -6px; }
.bp-ruler::after { right: -6px; background: var(--brand); }
.bp-ruler-ev { display: flex; justify-content: space-between; gap: 24px; margin-top: 8px; }
.bp-ruler-ev p { margin: 0; font-size: 14px; color: var(--ink-2); max-width: 40ch; }
.bp-ruler-ev p:last-child { text-align: right; }
.bp-ruler-ev b { display: block; font: 900 clamp(26px, 3vw, 44px)/1.1 var(--fs-font-display); letter-spacing: -.04em; color: var(--ink); }

/* 06 news */
.bp-news-l { grid-column: 1 / span 7; }
.bp-news-r { grid-column: 9 / span 4; }
.bp-news-l .bp-h2 { margin-bottom: 30px; }
.bp-news-r .bp-h3 { padding-top: clamp(8px, 1.6vw, 26px); }
.bp-nl, .bp-pl { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.bp-nl li, .bp-pl li { border-bottom: 1px solid var(--rule); }
.bp-nl a { display: grid; grid-template-columns: 7.2em minmax(0, 1fr) 96px; gap: 6px 18px; align-items: start; padding: 16px 0; text-decoration: none; color: var(--ink); }
.bp-nl time, .bp-pl time { font-size: 12px; color: var(--fs-muted); padding-top: 3px; }
.bp-nl-t { font: 700 17px/1.45 var(--fs-font-display); letter-spacing: -.02em; grid-column: 2; }
.bp-nl-th { grid-column: 3; grid-row: 1 / span 2; aspect-ratio: 4 / 3; background: var(--fs-plate); border: 1px solid var(--rule); overflow: hidden; }
.bp-nl-th img, .bp-nl-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bp-nl a:hover .bp-nl-t, .bp-pl a:hover span { color: var(--brand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.bp-nl-lead a { grid-template-columns: 7.2em minmax(0, 1fr); padding-top: 0; }
.bp-nl-img { grid-column: 1 / -1; aspect-ratio: 16 / 8; overflow: hidden; border-bottom: 1px solid var(--rule); margin-bottom: 14px; background: var(--fs-plate); }
.bp-nl-lead .bp-nl-t { font-size: clamp(20px, 2vw, 26px); line-height: 1.35; letter-spacing: -.03em; }
.bp-nl-x { grid-column: 2; color: var(--ink-2); font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bp-pl a { display: grid; gap: 4px; padding: 16px 0; text-decoration: none; color: var(--ink); }
.bp-pl span { font: 600 15.5px/1.5 var(--fs-font-body); }

/* 07 downloads — drawing sheets */
.bp-sheets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gut); }
.bp-sheets a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); border: 1.5px solid var(--ink); background: var(--card); transition: transform .25s; }
.bp-sheets a:hover { transform: translateY(-4px); }
.bp-sh-cover { aspect-ratio: 3 / 4; background: var(--fs-plate); overflow: hidden; border-bottom: 1.5px solid var(--ink); padding: 10px; box-sizing: border-box; display: block; }
.bp-sh-cover img { width: 100%; height: 100%; object-fit: cover; display: block; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.bp-sh-tb { display: grid; grid-template-columns: 1fr; flex: 1; }
.bp-sh-no { font: 600 10.5px var(--fs-font-mono); letter-spacing: .1em; padding: 7px 10px; border-bottom: 1px solid var(--rule); color: var(--signal-ink); }
.bp-sh-t { padding: 10px; font: 700 14.5px/1.4 var(--fs-font-display); letter-spacing: -.01em; border-bottom: 1px solid var(--rule); flex: 1; }
.bp-sh-m { display: grid; grid-template-columns: 1fr auto; font: 500 10.5px var(--fs-font-mono); color: var(--fs-muted); }
.bp-sh-m > * { padding: 7px 10px; }
.bp-sh-m > span { border-left: 1px solid var(--rule); }

/* 08 cta */
.bp-cta-t { grid-column: 1 / span 8; margin: 0; font: 900 clamp(40px, 6.4vw, 108px)/1.1 var(--fs-font-display); letter-spacing: -.055em; text-wrap: balance; }
.bp-cta-t span { color: var(--brand); }
.bp-cta-r { grid-column: 9 / span 4; align-self: end; }
.bp-cta-r > p:first-child { font-size: 17px; color: var(--ink-2); margin: 0; }
.bp-cta-m { font-size: 11px; letter-spacing: .12em; color: var(--fs-muted); margin: 26px 0 0; }

/* ---------- footer: title block ---------- */
.bp-foot { border-top: 2px solid var(--ink); padding: clamp(40px, 5vw, 72px) 0 calc(env(safe-area-inset-bottom, 0px) + 28px); background: color-mix(in oklab, var(--card) 50%, var(--paper)); }
.bp-foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 36px; }
.bp-brand-lg .bp-mark { width: 34px; height: 34px; }
.bp-brand-lg .bp-word { font-size: clamp(26px, 3vw, 40px); font-weight: 900; letter-spacing: -.045em; }
.bp-foot-motto { font: 500 11px var(--fs-font-mono); letter-spacing: .14em; color: var(--fs-muted); margin: 0; }
.bp-fm { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gut); padding-bottom: 36px; }
.bp-fm-top { display: flex; gap: 10px; align-items: baseline; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--ink); }
.bp-fm-top span { font: 500 11px var(--fs-font-mono); color: var(--signal-ink); }
.bp-fm-top a { font: 800 17px var(--fs-font-display); text-decoration: none; }
.bp-fm ul { list-style: none; margin: 0; padding: 0; }
.bp-fm li a { display: inline-block; padding: 4px 0; font-size: 14px; text-decoration: none; color: var(--ink-2); }
.bp-fm li li a { font-size: 13px; color: var(--fs-muted); padding-left: 12px; position: relative; }
.bp-fm li li a::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; border-top: 1px solid var(--rule); }
.bp-fm a:hover { color: var(--brand); }
.bp-tb { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1.5px solid var(--ink); overflow: hidden; }
.bp-tb-c { margin: 0 -1px -1px 0; padding: 10px 12px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-size: 13.5px; min-width: 0; }
.bp-tb-c a { text-decoration: none; }
.bp-tb-c a:hover { color: var(--brand); }
.bp-tb-k { display: block; font: 500 9.5px var(--fs-font-mono); letter-spacing: .14em; color: var(--fs-muted); margin-bottom: 2px; }
.bp-tb-name { grid-column: span 2; }
.bp-tb-name strong { font: 800 18px var(--fs-font-display); }
.bp-tb-addr { grid-column: span 2; }
.bp-foot-bot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; }
.bp-legal { display: flex; flex-wrap: wrap; gap: 0 22px; margin: 0; }
.bp-legal a { display: inline-flex; gap: 6px; align-items: center; min-height: 44px; font-size: 14px; text-decoration: none; }
.bp-legal a:hover { color: var(--brand); }
.bp-copy { margin: 0; font: 500 11px var(--fs-font-mono); color: var(--fs-muted); }

/* ---------- proposal badge ---------- */
.bp-badge { position: fixed; left: max(12px, env(safe-area-inset-left, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 60; background: var(--ink); color: var(--paper); font: 500 11px var(--fs-font-mono); letter-spacing: .06em; max-width: calc(100vw - 24px); }
.bp-badge summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 0 12px; min-height: 34px; }
.bp-badge summary::-webkit-details-marker { display: none; }
.bp-badge-dot { width: 7px; height: 7px; background: var(--signal); }
.bp-badge-b { padding: 4px 12px 12px; border-top: 1px solid color-mix(in oklab, var(--paper) 25%, transparent); }
.bp-badge-b p { margin: 6px 0 8px; font-size: 11px; opacity: .8; }
.bp-badge nav { display: flex; gap: 4px; }
.bp-badge nav a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid color-mix(in oklab, var(--paper) 35%, transparent); text-decoration: none; color: var(--paper); font-weight: 600; }
.bp-badge nav a:hover, .bp-badge nav a[aria-current] { background: var(--paper); color: var(--ink); }

/* ---------- film modal ---------- */
.bp-film { padding: 0; border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink); width: min(1100px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); }
.bp-film::backdrop { background: rgba(6, 18, 33, .82); }
.bp-film-head { display: flex; justify-content: space-between; align-items: center; padding: 4px 4px 4px 14px; border-bottom: 1px solid var(--ink); font: 500 11px var(--fs-font-mono); letter-spacing: .1em; }
.bp-film-x { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; background: none; border: 0; color: var(--ink); font: 600 12px var(--fs-font-mono); cursor: pointer; }
.bp-film video { display: block; width: 100%; max-height: calc(100vh - 100px); background: #000; aspect-ratio: 16 / 9; }

/* ---------- sub-pages: title-block head + right margin column ---------- */
.bp-ph { padding: clamp(24px, 4vw, 48px) 0 0; }
.bp-ph-crumbs .fs-crumbs { font: 500 11.5px var(--fs-font-mono); letter-spacing: .04em; margin: 0 0 14px; }
.bp-ph-block { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); border: 1.5px solid var(--ink); background: color-mix(in oklab, var(--card) 60%, transparent); }
.bp-ph-main { padding: clamp(22px, 3vw, 40px); border-right: 1px solid var(--ink); min-width: 0; }
.bp-ph-eyebrow { color: var(--signal-ink); }
.bp-ph .fs-page-title { font: 900 clamp(32px, 5vw, 76px)/1.06 var(--fs-font-display); letter-spacing: -.05em; }
.bp-ph .fs-page-lead { color: var(--ink-2); }
.bp-ph-meta { margin: 0; display: grid; grid-template-columns: 1fr 1fr; align-content: stretch; }
.bp-ph-meta > div { padding: 12px 16px; border-bottom: 1px solid var(--rule); border-right: 1px solid var(--rule); min-width: 0; }
.bp-ph-meta > div:nth-child(2n) { border-right: 0; }
.bp-ph-meta > div:first-child { grid-column: 1 / -1; border-right: 0; }
.bp-ph-meta > div:first-child dd { font: 900 clamp(28px, 3vw, 44px)/1.1 var(--fs-font-display); letter-spacing: -.04em; color: var(--brand); }
.bp-ph-meta dt { font: 500 9.5px var(--fs-font-mono); letter-spacing: .16em; color: var(--fs-muted); }
.bp-ph-meta dd { margin: 4px 0 0; font: 600 13px var(--fs-font-mono); overflow-wrap: anywhere; }
.bp-ph-meta > div:last-child { border-bottom: 0; }

.fs-subnav { background: color-mix(in oklab, var(--paper) 92%, transparent); border-bottom: 1px solid var(--ink); }
.fs-subnav-row { gap: 0; padding-block: 0; }
.fs-subnav a { border-radius: 0; padding: 0 16px; min-height: 46px; display: inline-flex; align-items: center; font-size: 14px; border-right: 1px solid var(--rule); }
.fs-subnav a:first-child { padding-left: 0; }
.fs-subnav a[aria-current="page"] { background: transparent; color: var(--ink); font-weight: 700; box-shadow: inset 0 -3px 0 var(--brand); }
.fs-subnav-items a { min-height: 40px; font-size: 13px; }

.bp-sheet { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); align-items: start; }
.bp-sheet > .bp-sheet-body { grid-column: 1 / span 8; max-width: none; padding-left: 0; padding-right: 0; margin: 0; min-width: 0; }
.bp-margin { grid-column: 10 / span 3; position: sticky; top: calc(var(--fs-header-h) + 24px); padding-top: clamp(28px, 5vw, 56px); padding-bottom: 40px; max-height: calc(100vh - var(--fs-header-h) - 24px); overflow-y: auto; scrollbar-width: thin; }
.bp-m-blk { border-top: 2px solid var(--ink); padding-top: 10px; margin-bottom: 28px; }
.bp-m-k { font: 500 10px var(--fs-font-mono); letter-spacing: .16em; color: var(--signal-ink); margin: 0 0 8px; }
.bp-m-list, .bp-m-toc { list-style: none; margin: 0; padding: 0; }
.bp-m-list a, .bp-m-toc a { display: grid; grid-template-columns: 4.4em minmax(0, 1fr); gap: 6px; padding: 7px 0; font-size: 14px; line-height: 1.4; text-decoration: none; color: var(--ink-2); border-bottom: 1px solid var(--rule-2); }
.bp-m-list a span, .bp-m-toc a span { font: 500 10.5px/1.9 var(--fs-font-mono); color: var(--fs-muted); }
.bp-m-sub a { font-size: 13px; padding-left: 10px; }
.bp-m-list a:hover, .bp-m-toc a:hover { color: var(--brand); }
.bp-m-list a[aria-current], .bp-m-toc a.on { color: var(--ink); font-weight: 700; }
.bp-m-list a[aria-current] span, .bp-m-toc a.on span { color: var(--signal-ink); }
.bp-m-toc a { grid-template-columns: 2.4em minmax(0, 1fr); }
.bp-m-note p { font-size: 13.5px; color: var(--ink-2); margin: 0 0 10px; }
.bp-m-cta { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; font-weight: 600; color: var(--brand); text-decoration: none; }
@media (min-width: 1025px) {
  .bp-sheet ~ .fs-subnav, .fs-subnav:has(+ .bp-sheet) { display: none; }
  .bp-has-toc .sub-tab-menu { display: none; }
}
@media (max-width: 1024px) {
  .bp-sheet > .bp-sheet-body { grid-column: 1 / -1; }
  .bp-margin { display: none; }
}

/* legacy content restyled as drawing sheets */
.fs-legacy { font-size: 16px; }
.fs-legacy h3, .fs-legacy .doc-title { font-weight: 800; letter-spacing: -.035em; padding-top: 14px; border-top: 2px solid var(--ink); }
.fs-legacy .section + .section { border-top: 0; }
.fs-legacy h4, .fs-legacy .doc-tit { font-weight: 800; letter-spacing: -.02em; display: flex; gap: 10px; align-items: baseline; }
.fs-legacy h4::before, .fs-legacy .doc-tit::before { content: ""; width: 8px; height: 8px; background: var(--signal); flex: none; transform: translateY(-2px); }
.fs-legacy .pic img, .fs-legacy .img img, .fs-legacy .prod-img img, .fs-legacy p > img, .fs-legacy .group > p > img, .fs-legacy .prod-img-txt img, .fs-legacy .map-img img, .fs-legacy .photo img, .fs-legacy .fs-article-img {
  border-radius: 0; border: 1px solid var(--ink); box-shadow: 6px 6px 0 -1px var(--paper), 6px 6px 0 0 var(--rule); }
.fs-legacy .icon img, .fs-legacy .logo img, .fs-legacy .name img { border-radius: 0; }
.fs-legacy .prod-img-txt .txt li, .fs-legacy .arc-cnt li, .fs-legacy .service-cnt li, .fs-legacy .business-area li { border-radius: 0; background: color-mix(in oklab, var(--card) 70%, transparent); }
.fs-legacy .prod-list .box { border-radius: 0; border-color: var(--ink); }
.fs-legacy .btn, .fs-legacy .btn-pack, .fs-legacy .prod-btn a { border-radius: 0; min-height: 44px; box-sizing: border-box; }
.fs-legacy .sub-tab-menu { top: calc(var(--fs-header-h) + 47px + env(safe-area-inset-top, 0px)); border-bottom-color: var(--ink); }
.fs-legacy .sub-tab-menu a { border-radius: 0; font-family: var(--fs-font-mono); font-size: 12.5px; min-height: 40px; display: inline-flex; align-items: center; box-sizing: border-box; }
.fs-table-scroll { border-radius: 0; border: 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); background: color-mix(in oklab, var(--card) 70%, transparent); }
.fs-legacy th { background: transparent; font: 600 11.5px var(--fs-font-mono); letter-spacing: .06em; color: var(--ink); border-bottom: 1px solid var(--ink); }
.fs-legacy td { border-bottom-color: var(--rule); }
.fs-legacy tr:hover td { background: var(--hl); }
.fs-legacy .history .row { border-top-color: var(--ink); }
.fs-legacy .history .year { font-weight: 900; letter-spacing: -.04em; color: var(--brand); }
.fs-legacy .history .month { font-family: var(--fs-font-mono); font-size: 13px; padding-top: 2px; }
.fs-legacy .history-head .tit { font-weight: 900; letter-spacing: -.04em; }
.fs-legacy .pro-support ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 0; border-top: 2px solid var(--ink); border-left: 1px solid var(--rule); }
.fs-legacy .pro-support li { margin: 0; padding: 18px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.fs-legacy .pro-support .icon-wrap { display: flex; gap: 12px; align-items: flex-start; }
.fs-legacy .pro-support .icon-wrap .icon img { width: 40px; }
.fs-legacy .pro-support dl { margin: 0; }
.fs-legacy .pro-support dt { font: 800 18px var(--fs-font-display); }
.fs-legacy .pro-support dd { margin: 4px 0 10px; font-size: 13.5px; color: var(--fs-muted); }
.fs-legacy .pro-support .icon1, .fs-legacy .pro-support .icon2 { display: none; }
.fs-legacy .pro-support-box ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: var(--gut); }
.fs-legacy .pro-support-box .box { padding: 16px; border: 1px solid var(--ink); }
.fs-legacy .bar { display: inline-block; width: 1px; height: 11px; background: var(--rule); margin: 0 8px; }
.fs-legacy dl dd { margin-left: 0; }

/* boards */
.fs-board-count { font-family: var(--fs-font-mono); font-size: 12px; letter-spacing: .06em; }
.fs-posts { gap: 0; border-top: 2px solid var(--ink); border-left: 1px solid var(--rule); grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.fs-post a { border-radius: 0; border: 0; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: transparent; }
.fs-post a:hover { transform: none; background: var(--hl); border-color: var(--rule); }
.fs-post-thumb { border-bottom: 1px solid var(--rule); background: var(--fs-plate); }
.fs-post-title { font-family: var(--fs-font-display); font-weight: 700; letter-spacing: -.02em; }
.fs-post-ph { font-family: var(--fs-font-mono); color: #8296aa; }
.fs-pager a { border-radius: 0; min-width: 44px; height: 44px; font-family: var(--fs-font-mono); font-size: 13px; }
.fs-pager a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.fs-article-wrap { max-width: none; }
.fs-article { font-size: 17px; }
.fs-article img { border-radius: 0; border: 1px solid var(--rule); padding: 10px; box-sizing: border-box; height: auto; }
.fs-files { border-radius: 0; border: 1.5px solid var(--ink); background: transparent; }
.fs-article-list { border-radius: 0; border-color: var(--ink); min-height: 44px; box-sizing: border-box; display: inline-flex; align-items: center; }
.fs-article-nav { border-top: 2px solid var(--ink); }
/* downloads */
.fs-dls { gap: 0; border-top: 2px solid var(--ink); }
.fs-dl { border-radius: 0; border: 0; border-bottom: 1px solid var(--rule); background: transparent; padding: 18px 0; grid-template-columns: 110px minmax(0, 1fr); }
.fs-dl-cover { border-radius: 0; border: 1px solid var(--ink); padding: 6px; box-sizing: border-box; }
.fs-dl-body strong { font-family: var(--fs-font-display); font-weight: 800; letter-spacing: -.02em; font-size: 19px; }
.fs-dl-file { border-radius: 0; min-height: 40px; box-sizing: border-box; }
.fs-dl-file span { border-radius: 0; }
.fs-btn { border-radius: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .bp-sheets { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bp-sheets li:nth-child(n+4) { display: none; }
  .bp-fig-body, .bp-fig-foot { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .bp-est { display: none; }
}
@media (max-width: 900px) {
  .bp-hero-lead { grid-column: 1 / span 12; }
  .bp-hero-side { grid-column: 1 / span 12; max-width: 520px; }
  .bp-sec-head .bp-kicker, .bp-flow-head .bp-kicker { grid-column: 1 / -1; margin-bottom: 10px; }
  .bp-sec-head .bp-h2, .bp-flow-head .bp-h2, .bp-sec-lead, .bp-flow-lead { grid-column: 1 / -1; }
  .bp-specs { grid-template-columns: minmax(0, 1fr); }
  .bp-stat-fig, .bp-stat-notes, .bp-facts-l, .bp-facts-r, .bp-news-l, .bp-news-r, .bp-cta-t, .bp-cta-r { grid-column: 1 / -1; }
  .bp-stat-notes { padding-top: 40px; }
  .bp-facts-r { margin-top: 30px; }
  .bp-news-r { margin-top: 48px; }
  .bp-cta-r { margin-top: 30px; }
  .bp-pi-head { display: none; }
  .bp-pi-a { grid-template-columns: minmax(0, 1fr) 1.6em; row-gap: 4px; }
  .bp-pi-code, .bp-pi-name, .bp-pi-title, .bp-pi-tag, .bp-pi-desc { grid-column: 1; }
  .bp-pi-go { grid-column: 2; grid-row: 1; }
  .bp-pi-desc { grid-template-rows: 1fr; margin-top: 6px; }
  .bp-fm { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .bp-tb { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bp-tb-name, .bp-tb-addr { grid-column: 1 / -1; }
  .bp-ph-block { grid-template-columns: minmax(0, 1fr); }
  .bp-ph-main { border-right: 0; border-bottom: 1px solid var(--ink); }
  .bp-ph-meta { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bp-ph-meta > div:first-child { grid-column: auto; border-right: 1px solid var(--rule); }
  .bp-ph-meta > div { border-bottom: 0; }
  .bp-ph-meta > div:nth-child(2n) { border-right: 1px solid var(--rule); }
  .bp-ph-meta > div:last-child { border-right: 0; }
  .bp-ph-meta > div:first-child dd { font-size: 20px; }
}
@media (max-width: 760px) {
  :root { --fs-header-h: 52px; }
  .bp-bar-sheet, .bp-theme-t { display: none; }
  .bp-bar-in { gap: 8px; }
  .bp-bar .bp-theme { padding: 0 8px; min-width: 40px; justify-content: center; }
  .bp-index-btn { padding: 0 12px; }
  .bp-word { font-size: 16px; }
  .bp-rule { grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; }
  .bp-rule-n { grid-column: 1; }
  .bp-rule-name { grid-column: 2; }
  .bp-rule-code { display: none; }
  .bp-rule-line::after { display: none; }
  .bp-hero-title { font-size: clamp(42px, 12.6vw, 64px); letter-spacing: -.05em; line-height: 1.02; }
  .bp-ctas .bp-btn { flex: 1 1 100%; justify-content: space-between; }
  .bp-fig { margin-inline: calc(-1 * var(--gut)); border-left: 0; border-right: 0; }
  .bp-fig-tabs { grid-template-columns: 1fr 1fr; position: sticky; top: var(--fs-header-h); z-index: 5; background: var(--paper); }
  .bp-tab { border-bottom: 1px solid var(--rule); padding: 10px 12px 12px; min-height: 52px; }
  .bp-tab:nth-child(2) { border-right: 0; }
  .bp-tab-code { font-size: 11.5px; }
  .bp-fig-body, .bp-fig-foot { grid-template-columns: minmax(0, 1fr); }
  .bp-step-panel { border-right: 0; border-bottom: 1px solid var(--rule); min-height: 0; padding: 18px var(--gut); }
  .bp-step-title { font-size: 21px; }
  .bp-node-info { position: sticky; bottom: 12px; margin: 0 12px 12px; }
  .bp-flow-note { border-right: 0; border-bottom: 1px solid var(--rule); padding: 14px var(--gut); }
  .bp-zt { grid-template-columns: minmax(0, 1fr); }
  .bp-zt > div { border-right: 0; border-bottom: 1px solid var(--rule); padding: 14px var(--gut); }
  .bp-fig-cap { padding: 10px var(--gut); }
  .bp-stat-num { font-size: clamp(76px, 25vw, 120px); }
  .bp-bar-row { grid-template-columns: minmax(0, 1fr) auto; }
  .bp-sbar { grid-column: 1 / -1; }
  .bp-nl a { grid-template-columns: minmax(0, 1fr) 84px; }
  .bp-nl time { grid-column: 1; }
  .bp-nl-t { grid-column: 1; }
  .bp-nl-th { grid-column: 2; grid-row: 1 / span 2; }
  .bp-nl-lead a { grid-template-columns: minmax(0, 1fr); }
  .bp-nl-x { grid-column: 1; }
  .bp-sheets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bp-sheets li:nth-child(n+4) { display: block; }
  .bp-sheets li:nth-child(n+5) { display: none; }
  .bp-ruler-ev { flex-direction: column; gap: 14px; }
  .bp-ruler-ev p:last-child { text-align: left; }
  .bp-tick:not(.mj) b { display: none; }
  .bp-tick.mj:not(:first-child):not(:last-of-type) b { font-size: 10px; }
  .bp-spectable tbody th { white-space: normal; font-size: 22px; }
  .bp-spectable td.bp-mono { display: none; }
  .bp-spectable thead th:first-child { display: none; }
  .bp-ph-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bp-ph-meta > div { border-bottom: 1px solid var(--rule); }
  .bp-ph-meta > div:nth-child(2n) { border-right: 0; }
  .bp-ph-meta > div:first-child { grid-column: 1 / -1; border-right: 0; }
  .bp-ph-meta > div:last-child { border-bottom: 0; }
  .bp-fm { grid-template-columns: minmax(0, 1fr); }
  .bp-tb { grid-template-columns: minmax(0, 1fr); }
  .bp-badge { bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
  .bp-foot { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 64px); }
  .fs-subnav a { padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .bp-rule-line, .bp-ruler-fill, .bp-sbar i { transition: none !important; transform: none !important; }
}

/* ---------- 02 ITU exploded view + virtual wiring ---------- */
.bp-xfig { margin-bottom: clamp(28px, 4vw, 48px); }
.bp-x-toggle { display: inline-flex; border: 1px solid var(--ink); }
.bp-x-toggle button { min-height: 36px; padding: 0 12px; border: 0; background: transparent; color: var(--ink-2); font: 600 11px var(--fs-font-mono); letter-spacing: .06em; cursor: pointer; }
.bp-x-toggle button + button { border-left: 1px solid var(--ink); }
.bp-x-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.bp-xfig .bp-fig-cap { align-items: center; }
.bp-x-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.bp-x-draw { border-right: 1px solid var(--rule); padding: 12px 12px 0; min-width: 0; }
.bp-xsvg { display: block; width: 100%; height: auto; max-height: 560px; }
.bp-x-note { margin: 0; padding: 12px 6px 16px; font-size: 14px; color: var(--ink-2); border-top: 1px solid var(--rule-2); }
.bp-x-legend { list-style: none; margin: 0; padding: 0; }
.bp-x-legend li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 2px 12px; padding: 16px 20px; border-bottom: 1px solid var(--rule); transition: background .2s; }
.bp-x-legend li:last-child { border-bottom: 0; }
.bp-x-legend li.on { background: var(--hl); }
.bp-x-k { grid-row: span 2; width: 24px; height: 24px; border: 1.4px solid var(--signal); border-radius: 50%; display: grid; place-items: center; font: 700 11px var(--fs-font-mono); color: var(--signal-ink); }
.bp-x-legend li.on .bp-x-k { background: var(--signal); color: #fff; }
.bp-x-legend strong { font: 800 16px/1.3 var(--fs-font-display); letter-spacing: -.02em; }
.bp-x-legend li > span:last-child { font-size: 14px; line-height: 1.65; color: var(--ink-2); }
.bp-xsvg .x-top { fill: var(--card); stroke: var(--draw-line); stroke-width: 1.2; stroke-linejoin: round; }
.bp-xsvg .x-front { fill: var(--card-2); stroke: var(--draw-line); stroke-width: 1.2; stroke-linejoin: round; }
.bp-xsvg .x-side { fill: color-mix(in oklab, var(--card-2) 70%, var(--draw-line) 12%); stroke: var(--draw-line); stroke-width: 1.2; stroke-linejoin: round; }
.bp-xsvg .x-atom-s.x-top { fill: color-mix(in oklab, var(--brand) 10%, var(--card)); }
.bp-xsvg .x-core { fill: none; stroke: var(--brand); stroke-width: .9; opacity: .7; }
.bp-xsvg .x-mono-s.x-top { fill: color-mix(in oklab, var(--ink) 8%, var(--card)); }
.bp-xsvg .x-vi-s.x-top { fill: color-mix(in oklab, var(--brand) 16%, var(--card)); }
.bp-xsvg .x-ghost { fill: none; stroke: var(--draw-dim); stroke-dasharray: 4 3; }
.bp-xsvg .x-halink { stroke: var(--brand); stroke-width: 2; }
.bp-xsvg .x-asm-l { stroke: var(--draw-dim); stroke-width: .8; stroke-dasharray: 3 4; }
.bp-xsvg text { font-family: var(--fs-font-mono); fill: var(--draw-line); }
.bp-xsvg .x-lab-m { font-size: 12.5px; font-weight: 700; }
.bp-xsvg .x-lab-xs { font-size: 8.5px; fill: var(--draw-dim); }
.bp-xsvg .x-lab-s { font-size: 10px; letter-spacing: .12em; fill: var(--draw-dim); font-weight: 600; }
.bp-xsvg .x-lab-f { font-size: 10px; font-weight: 700; letter-spacing: .06em; fill: var(--brand); }
.bp-xsvg .x-lab-p { font-size: 10px; font-weight: 700; letter-spacing: .1em; fill: var(--signal); }
.bp-xsvg .x-patch-l { fill: none; stroke: var(--signal); stroke-width: 1.6; }
.bp-xsvg .x-mod-patch .x-top { animation: bp-patch 3.2s ease-in-out infinite; }
@keyframes bp-patch { 0%, 70%, 100% { fill: var(--card); } 80% { fill: color-mix(in oklab, var(--signal) 22%, var(--card)); } }
.bp-xsvg .x-leader { stroke: var(--signal); stroke-width: 1; fill: none; }
.bp-xsvg .x-dot { fill: var(--signal); }
.bp-xsvg .x-co-c { fill: var(--paper); stroke: var(--signal); stroke-width: 1.4; }
.bp-xsvg .x-co-t { font-size: 11px; font-weight: 700; fill: var(--signal); }
.bp-xsvg .x-co.on .x-co-c { fill: var(--signal); }
.bp-xsvg .x-co.on .x-co-t { fill: #fff; }
.bp-xsvg .x-co { cursor: default; }
.bp-xsvg .x-layer, .bp-xsvg .x-asm, .bp-xsvg .x-callouts { transition: transform .9s cubic-bezier(.5, 0, .2, 1), opacity .6s ease; }
.bp-xsvg.is-mono .x-ms { transform: translateY(96px); opacity: 0; }
.bp-xsvg.is-mono .x-vi { transform: translateY(190px); opacity: 0; }
.bp-xsvg.is-mono .x-asm { opacity: 0; }
.bp-xsvg.is-micro .x-mono { opacity: 0; transform: translateY(-30px); }
.bp-xsvg.is-mono .x-co-B, .bp-xsvg.is-mono .x-co-C, .bp-xsvg.is-mono .x-co-D { opacity: .2; }
.bp-xsvg .x-co { transition: opacity .5s; }
.bp-xsvg.is-mono .x-ha { opacity: .4; }

.bp-w-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--ink); }
.bp-w-tabs button { display: grid; gap: 2px; text-align: left; padding: 10px 16px 12px; min-height: 52px; background: transparent; border: 0; border-right: 1px solid var(--rule); color: var(--fs-muted); font: 700 15px var(--fs-font-display); cursor: pointer; box-shadow: inset 0 -3px 0 transparent; }
.bp-w-tabs button:last-child { border-right: 0; }
.bp-w-tabs button span { font: 500 10.5px var(--fs-font-mono); letter-spacing: .1em; }
.bp-w-tabs button[aria-selected="true"] { color: var(--ink); background: var(--hl); box-shadow: inset 0 -3px 0 var(--ink); }
.bp-w-tabs button[aria-selected="true"] span { color: var(--signal-ink); }
.bp-w-body { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.bp-w-ed { padding: 20px 22px 22px; border-right: 1px solid var(--rule); }
.bp-w-lead { font-size: 14px; color: var(--ink-2); margin: 0 0 16px; }
.bp-w-chain { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.bp-w-chain li { display: grid; grid-template-columns: 28px minmax(0, 1fr) 40px 40px 40px; align-items: center; gap: 4px; border-bottom: 1px solid var(--rule); min-height: 46px; }
.bp-w-n { font: 700 12px var(--fs-font-mono); color: var(--signal-ink); }
.bp-w-f { font: 700 15px var(--fs-font-mono); }
.bp-w-chain button, .bp-w-add button, .bp-w-rs { min-height: 40px; min-width: 40px; border: 1px solid var(--rule); background: var(--card); color: var(--ink); font: 600 13px var(--fs-font-mono); cursor: pointer; }
.bp-w-chain button:hover:not(:disabled), .bp-w-add button:hover, .bp-w-rs:hover:not(:disabled) { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.bp-w-chain button:disabled, .bp-w-rs:disabled { opacity: .35; cursor: default; }
.bp-w-add { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 14px; }
.bp-w-add > span { font: 500 10.5px var(--fs-font-mono); letter-spacing: .12em; color: var(--fs-muted); margin-right: 4px; }
.bp-w-add button { padding: 0 10px; border-style: dashed; }
.bp-w-reset { margin: 14px 0 0; }
.bp-w-rs { padding: 0 12px; font-size: 12px; }
.bp-w-draw { min-width: 0; padding: 10px; display: flex; flex-direction: column; }
.bp-wsvg { display: block; width: 100%; height: auto; }
.bp-w-path { margin: 0; padding: 10px 8px 4px; border-top: 1px solid var(--rule-2); font: 600 13px/1.6 var(--fs-font-mono); color: var(--ink); }
.bp-w-path span { display: block; font-weight: 500; font-size: 10.5px; letter-spacing: .12em; color: var(--fs-muted); }
.bp-w-path em, .bp-w-vil em { font-style: normal; font-weight: 500; font-size: 10.5px; padding: 1px 6px; border: 1px solid var(--rule); color: var(--fs-muted); margin-left: 6px; }
.bp-w-path em.ed, .bp-w-vil em { border-color: var(--signal); color: var(--signal-ink); }
.bp-w-vi { border-top: 1px solid var(--ink); padding: 14px 22px 18px; }
.bp-w-vi-t { margin: 0 0 8px; font: 600 10.5px var(--fs-font-mono); letter-spacing: .12em; color: var(--signal-ink); }
.bp-w-vil { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gut); }
.bp-w-vil li { padding: 8px 0; border-bottom: 1px solid var(--rule-2); font: 500 13px/1.5 var(--fs-font-mono); color: var(--ink-2); }
.bp-w-vil li span { display: block; font-size: 10.5px; letter-spacing: .08em; color: var(--fs-muted); }
.bp-w-vil li.on { color: var(--ink); font-weight: 600; }
.bp-w-vil li.on span { color: var(--signal-ink); }
.bp-w-vil i { font-style: normal; color: var(--brand); }
.bp-wsvg .w-port { fill: var(--ink); }
.bp-wsvg .w-port-t { font: 700 10px var(--fs-font-mono); fill: var(--paper); }
.bp-wsvg .w-bus { stroke: var(--rule); stroke-width: 1; stroke-dasharray: 2 4; fill: none; }
.bp-wsvg .w-path-bg { fill: none; stroke: var(--paper); stroke-width: 7; }
.bp-wsvg .w-path { fill: none; stroke: var(--draw-flow); stroke-width: 2.2; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.bp-wsvg.drawn .w-path { animation: bp-wdraw 1.1s cubic-bezier(.3, .6, .2, 1) forwards; }
@keyframes bp-wdraw { to { stroke-dashoffset: 0; } }
.bp-wsvg .w-track { fill: none; stroke: none; }
.bp-wsvg .w-box { fill: var(--card); stroke: var(--draw-dim); stroke-width: 1.2; stroke-dasharray: 3 3; }
.bp-wsvg .w-mod.on .w-box { stroke: var(--draw-line); stroke-width: 1.6; stroke-dasharray: none; }
.bp-wsvg .w-mod-t { font: 700 14px var(--fs-font-mono); fill: var(--draw-dim); }
.bp-wsvg .w-mod.on .w-mod-t { fill: var(--draw-line); }
.bp-wsvg .w-mod-id { font: 500 8.5px var(--fs-font-mono); fill: var(--draw-dim); letter-spacing: .08em; }
.bp-wsvg .w-ord { fill: var(--signal); }
.bp-wsvg .w-ord-t { font: 700 11px var(--fs-font-mono); fill: #fff; }
.bp-wsvg .w-byp { font: 600 8.5px var(--fs-font-mono); fill: var(--draw-dim); letter-spacing: .14em; }
.bp-wsvg .w-pk { fill: var(--draw-flow); stroke: var(--paper); stroke-width: 1.5; }

/* ---------- 03 SDP sequence ---------- */
.bp-s-ctl { display: flex; align-items: stretch; border-bottom: 1px solid var(--ink); }
.bp-s-ctl button { min-width: 48px; min-height: 48px; border: 0; border-right: 1px solid var(--rule); background: transparent; color: var(--ink); font: 600 13px var(--fs-font-mono); cursor: pointer; padding: 0 14px; }
.bp-s-ctl button:hover { background: var(--ink); color: var(--paper); }
.bp-s-play { min-width: 96px !important; }
.bp-s-now { margin: 0; padding: 8px 16px; font-size: 14px; line-height: 1.55; color: var(--ink-2); flex: 1; align-self: center; }
.bp-s-now span { display: block; font: 600 10.5px var(--fs-font-mono); letter-spacing: .12em; color: var(--signal-ink); }
.bp-s-draw { padding: 8px 8px 0; }
.bp-ssvg { display: block; width: 100%; height: auto; }
.bp-s-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.bp-s-list li { border-right: 1px solid var(--rule); }
.bp-s-list li:last-child { border-right: 0; }
.bp-s-list button { display: grid; gap: 4px; width: 100%; height: 100%; text-align: left; padding: 12px 14px 14px; min-height: 64px; background: transparent; border: 0; color: var(--fs-muted); cursor: pointer; font: inherit; box-shadow: inset 0 3px 0 transparent; }
.bp-s-list span { font: 600 11px var(--fs-font-mono); }
.bp-s-list strong { font: 600 13px/1.4 var(--fs-font-body); }
.bp-s-list li.on button { color: var(--ink); background: var(--hl); box-shadow: inset 0 3px 0 var(--ink); }
.bp-s-list li.on span { color: var(--signal-ink); }
.bp-ssvg .s-zone-a { fill: color-mix(in oklab, var(--signal) 5%, transparent); }
.bp-ssvg .s-zone-b { fill: color-mix(in oklab, var(--brand) 6%, transparent); }
.bp-ssvg .s-zone-t { font: 700 11px var(--fs-font-display); fill: var(--draw-dim); letter-spacing: .08em; }
.bp-ssvg .s-head { fill: var(--card); stroke: var(--draw-line); stroke-width: 1.4; }
.bp-ssvg .s-lane-x .s-head { stroke: var(--signal); stroke-dasharray: 4 3; }
.bp-ssvg .s-head-t { font: 700 13px var(--fs-font-display); fill: var(--draw-line); }
.bp-ssvg .s-life { stroke: var(--draw-dim); stroke-width: 1; stroke-dasharray: 5 4; }
.bp-ssvg .s-arrow { fill: none; stroke: var(--draw-flow); stroke-width: 1.8; }
.bp-ssvg .s-ret { stroke-dasharray: 6 4; }
.bp-ssvg .s-ah { fill: none; stroke: var(--draw-flow); stroke-width: 1.8; }
.bp-ssvg .s-act { fill: var(--card-2); stroke: var(--draw-line); stroke-width: 1; }
.bp-ssvg .s-lab { font: 600 12.5px var(--fs-font-mono); fill: var(--draw-line); }
.bp-ssvg .s-msg { transition: opacity .4s; }
.bp-ssvg .s-msg.todo { opacity: .22; }
.bp-ssvg .s-msg.done { opacity: .6; }
.bp-ssvg .s-msg.now .s-arrow, .bp-ssvg .s-msg.now .s-ah { stroke-width: 2.6; }
.bp-ssvg .s-msg.now .s-lab { fill: var(--brand); }
.bp-ssvg .s-pk { fill: var(--draw-flow); stroke: var(--paper); stroke-width: 1.5; }
.bp-ssvg .s-note-b { fill: var(--card); stroke: var(--draw-line); stroke-width: 1; }
.bp-ssvg .s-note-k { font: 700 10px var(--fs-font-mono); fill: var(--signal); letter-spacing: .1em; }
.bp-ssvg .s-note-t { font: 500 12px var(--fs-font-body); fill: var(--draw-line); }
.bp-ssvg .s-probe { stroke: var(--signal); stroke-width: 1.4; stroke-dasharray: 2 4; fill: none; }
.bp-ssvg .s-x-c { fill: var(--paper); stroke: var(--signal); stroke-width: 1.6; }
.bp-ssvg .s-x { stroke: var(--signal); stroke-width: 1.8; }
.bp-ssvg .s-spk { fill: var(--signal); }
.bp-ssvg .s-scan-t { font: 600 11.5px var(--fs-font-mono); fill: var(--signal-ink); }

@media (max-width: 1100px) {
  .bp-x-body { grid-template-columns: minmax(0, 1fr); }
  .bp-x-draw { border-right: 0; border-bottom: 1px solid var(--rule); }
  .bp-x-legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bp-x-legend li { border-right: 1px solid var(--rule); }
  .bp-w-body { grid-template-columns: minmax(0, 1fr); }
  .bp-w-ed { border-right: 0; border-bottom: 1px solid var(--rule); }
  .bp-s-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bp-s-list li { border-bottom: 1px solid var(--rule); }
}
@media (max-width: 760px) {
  .bp-xfig, .bp-wfig, .bp-sfig { margin-inline: calc(-1 * var(--gut)); border-left: 0; border-right: 0; }
  .bp-x-legend { grid-template-columns: minmax(0, 1fr); }
  .bp-x-legend li { border-right: 0; padding: 14px var(--gut); }
  .bp-x-draw { padding: 8px 4px 0; }
  .bp-x-note { padding: 10px var(--gut) 14px; }
  .bp-w-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bp-w-tabs button { border-bottom: 1px solid var(--rule); }
  .bp-w-tabs button:nth-child(2) { border-right: 0; }
  .bp-w-ed { padding: 16px var(--gut); }
  .bp-w-vi { padding: 14px var(--gut); }
  .bp-w-vil { grid-template-columns: minmax(0, 1fr); }
  .bp-w-draw { padding: 6px 0 0; }
  .bp-w-path { padding: 10px var(--gut); }
  .bp-s-now { padding: 8px 12px; font-size: 13px; }
  .bp-s-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bp-s-list li:nth-child(2n) { border-right: 0; }
  .bp-s-draw { padding: 6px 0 0; }
  .bp-ssvg .s-lab { font-size: 11px; }
  .bp-ssvg .s-head-t { font-size: 11px; }
  .bp-ssvg .s-note-t { font-size: 11px; }
  .bp-ssvg .s-scan-t { font-size: 11px; }
  .bp-xfig .bp-fig-cap { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .bp-xsvg .x-mod-patch .x-top { animation: none; }
  .bp-wsvg.drawn .w-path { animation: none; stroke-dashoffset: 0; }
}
.bp-ssvg .s-scan-bg { fill: var(--paper); stroke: var(--signal); stroke-width: .8; }
.bp-ssvg .s-zone-a { fill: color-mix(in oklab, var(--signal) 3.5%, transparent); }
.bp-ssvg .s-lab-bg { fill: var(--paper); opacity: .92; }
/* flow head: one compact row so the drawing follows the cover closely */
.bp-flow .bp-rule { margin-bottom: clamp(24px, 3vw, 40px); }
.bp-flow-head { margin-bottom: clamp(20px, 2.4vw, 32px); align-items: end; }
.bp-flow-head .bp-h2 { grid-column: 4 / span 5; font-size: clamp(28px, 3.2vw, 48px); }
.bp-flow-lead { grid-column: 9 / span 4; margin: 0; font-size: 15px; }
.bp-flow { padding-top: clamp(40px, 5vw, 72px); }
@media (max-width: 900px) { .bp-flow-head .bp-h2, .bp-flow-lead { grid-column: 1 / -1; } .bp-flow-lead { margin-top: 14px; } }
