@font-face {
  font-family: "Fukiai";
  src: url("fonts/fukiai.ttf") format("truetype");
  font-style: normal;
  font-weight: normal;
  font-display: block;
}

:root {
  --header-height: 56px;
  --panel-padding-y: 10px;
  --panel-svg-height: calc(100svh - var(--header-height) - 20px);
  --bg: #f5f5f7;
  --bg-header: rgba(245, 245, 247, .82);
  --fg: #111;
  --fg-body: #3f3f43;
  --fg-muted: #777;
  --fg-faint: #999;
  --border: rgba(0, 0, 0, .08);
  --border-strong: rgba(0, 0, 0, .12);
  --surface: rgba(255, 255, 255, .92);
  --hover: rgba(0, 0, 0, .05);
  --note-border: #b5790a;
  --note-bg: rgba(181, 121, 10, .1);
  --accent: #24798d;
  --warning-fg: #4a3100;
  --warning-border: #c78512;
  --warning-bg: #fff3cf;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--fg);
  background: var(--bg);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000;
    --bg-header: rgba(0, 0, 0, .78);
    --fg: #f2f2f2;
    --fg-body: #c9c9ce;
    --fg-muted: #9a9a9a;
    --fg-faint: #7a7a7a;
    --border: rgba(255, 255, 255, .12);
    --border-strong: rgba(255, 255, 255, .18);
    --surface: rgba(28, 28, 30, .88);
    --hover: rgba(255, 255, 255, .08);
    --note-border: #d99a2b;
    --note-bg: rgba(217, 154, 43, .14);
    --accent: #67b5c3;
    --warning-fg: #ffe6a6;
    --warning-border: #d99a2b;
    --warning-bg: rgba(137, 88, 0, .28);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  letter-spacing: 0;
  font-size: 16px;
  font-feature-settings: "kern" 1, "palt" 1;
  text-rendering: optimizeLegibility;
}

::selection {
  background: color-mix(in srgb, var(--accent) 28%, transparent);
}

a {
  color: inherit;
  text-decoration-color: color-mix(in srgb, var(--accent) 65%, transparent);
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}

strong,
b {
  font-weight: 620;
}

button { font: inherit; }

.fukiai-icon {
  font-family: "Fukiai";
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  speak: never;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  height: var(--header-height);
  padding: 0 18px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-header);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.site-title {
  margin: 0;
  color: var(--fg);
  font-size: 17px;
  font-weight: 500;
  text-align: center;
}

.icon-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.icon-button .fukiai-icon {
  display: block;
  color: var(--fg);
  font-size: 21px;
}

.icon-button:hover { background: var(--hover); }

.lang-button {
  justify-self: end;
  width: 38px;
  height: 30px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: transparent;
  color: var(--fg);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
}

.lang-button:hover { background: var(--hover); }

.toc {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 40;
  width: min(300px, 82vw);
  transform: translateX(-100%);
  transition: transform 260ms cubic-bezier(.2, .8, .2, 1);
}

.toc.is-open { transform: translateX(0); }

.toc-panel {
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 22px;
  background: var(--surface);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  border-right: 1px solid var(--border);
  box-shadow: 18px 0 40px rgba(0, 0, 0, .12);
}

.toc-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--fg);
  font-size: 15px;
  font-weight: 620;
  letter-spacing: -.01em;
}

.toc-brand::before {
  content: "\ea48";
  color: var(--accent);
  font-family: "Fukiai";
  font-size: 17px;
  font-weight: normal;
  line-height: 1;
}

.toc-label {
  margin: 5px 0 18px;
  color: var(--fg-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.toc-panel .toc-group {
  margin: 20px 0 2px;
  color: var(--fg-faint);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.toc-label + .toc-group {
  margin-top: 0;
}

.toc-panel a {
  position: relative;
  display: block;
  padding: 10px 0;
  color: var(--fg);
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color 160ms ease, padding 160ms ease;
}

.toc-panel a::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: transparent;
}

.toc-panel a.is-current {
  padding-left: 9px;
  color: var(--accent);
  font-weight: 620;
}

.toc-panel a.is-current::before {
  background: var(--accent);
}

.toc-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(0, 0, 0, .18);
}

main {
  display: block;
}

.panel-reader {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 4px;
  position: sticky;
  top: var(--header-height);
  height: min(540px, calc(100svh - var(--header-height) - 24px));
  padding: 14px 0;
  overflow: hidden;
  background: var(--bg);
}

.panel-stage {
  position: relative;
  width: min(100%, 248px);
  max-height: 100%;
  margin: 0 auto;
  transform: translate(var(--panel-pan-x, 0px), var(--panel-pan-y, 0px)) scale(var(--panel-scale, 1));
  transform-origin: 50% 50%;
  transition: transform 520ms cubic-bezier(.2, .8, .2, 1);
  will-change: transform;
}

.panel-art {
  display: block;
  width: 100%;
  aspect-ratio: 171.92 / 364.39;
  border: 0;
}

.panel-art svg {
  display: block;
  width: 100%;
  height: 100%;
}

.panel-oled {
  position: absolute;
  left: 15.33%;
  top: 68.39%;
  width: 40.03%;
  aspect-ratio: 4 / 1;
  overflow: hidden;
  background: #000;
  border-radius: 3px;
  pointer-events: none;
  transition: opacity 260ms ease, filter 260ms ease;
}

.panel-oled canvas {
  display: block;
  width: 100%;
  height: 100%;
  background: #000;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.panel-stage[data-demo="tempo"] .panel-art [data-name="rotaryknob"] {
  animation: rotary-knob-blink 760ms steps(1, end) infinite;
}

@keyframes rotary-knob-blink {
  50% { opacity: .2; }
}

.manual-copy {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 54px 36px 108px;
  background: var(--bg);
}

.document-title-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
  max-width: 920px;
  padding: 24px 0 34px;
  border-bottom: 1px solid var(--border-strong);
}

.document-cover-copy {
  align-self: center;
  min-width: 0;
}

.cover-product {
  width: min(128px, 42vw);
  margin: 0 auto;
}

.cover-product img {
  display: block;
  width: 100%;
  height: auto;
}

.cover-product figcaption {
  margin-top: 8px;
  color: var(--fg-faint);
  font-size: 10px;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
}

.document-kind {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.document-kind::before {
  content: "\eab4";
  font-family: "Fukiai";
  font-size: 16px;
  font-weight: normal;
  line-height: 1;
}

.document-title {
  max-width: none;
  margin: 0 0 14px;
  font-size: clamp(42px, 7vw, 68px);
  font-weight: 430;
  letter-spacing: -.04em;
  line-height: 1.05;
}

.lead {
  max-width: 720px;
  margin: 0;
  color: var(--fg-body);
  font-size: clamp(17px, 2.3vw, 21px);
  line-height: 1.75;
}

.manual-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 24px 0 0;
  color: var(--fg-muted);
  font-size: 13px;
}

.manual-meta div { display: flex; gap: 7px; }
.manual-meta dt { font-weight: 600; }
.manual-meta dd { margin: 0; }

.chapter {
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.chapter > h2,
.revision > h2 {
  position: relative;
  max-width: 920px;
  margin: 76px 0 0;
  padding: 0 0 15px;
  border-bottom: 1px solid var(--border-strong);
  color: var(--fg);
  font-size: clamp(25px, 3.4vw, 32px);
  font-weight: 480;
  letter-spacing: -.025em;
  line-height: 1.24;
}

.chapter[data-section] > h2::before,
.revision[data-section] > h2::before {
  content: attr(data-section);
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1;
}

.chapter > h2::after,
.revision > h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 54px;
  height: 2px;
  background: var(--accent);
}

.subchapter {
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.subchapter > h3 {
  position: relative;
  max-width: 820px;
  margin: 52px 0 0;
  padding: 0 0 11px;
  border-bottom: 1px solid var(--border);
  color: var(--fg);
  font-size: clamp(21px, 2.8vw, 26px);
  font-weight: 520;
  letter-spacing: -.016em;
  line-height: 1.3;
}

.subchapter[data-section] > h3::before {
  content: attr(data-section);
  display: block;
  margin-bottom: 7px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1;
}

.heading-anchor {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-left: .3em;
  color: var(--fg-faint);
  font-family: "Fukiai";
  font-size: 15px;
  font-weight: normal;
  line-height: 1;
  text-decoration: none;
  vertical-align: .08em;
  transition: color 150ms ease, opacity 150ms ease;
}

.heading-anchor:hover {
  color: var(--accent);
}

.heading-anchor:active {
  transform: scale(.94);
}

.manual-step h3 .heading-anchor,
.manual-step h4 .heading-anchor,
.subchapter > h3 .heading-anchor,
.research-disclaimer h3 .heading-anchor {
  width: 25px;
  height: 25px;
  font-size: 13px;
}

.chapter-lead {
  max-width: 720px;
  margin: 16px 0 2px;
  color: var(--fg-muted);
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.75;
}

.faq-item {
  max-width: 820px;
  padding-top: 25px;
  padding-bottom: 27px;
}

.manual-step .faq-question,
.faq-answer {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
}

.manual-step .faq-question {
  margin-bottom: 12px;
}

.faq-mark {
  color: var(--accent);
  font-size: 18px;
  font-weight: 720;
  line-height: 1.35;
  letter-spacing: 0;
}

.faq-answer .faq-mark {
  color: var(--fg-faint);
}

.manual-step .faq-answer p {
  padding-top: 1px;
}

.research-disclaimer {
  max-width: 820px;
  margin: 26px 0 10px;
  padding: 19px 0 20px;
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
}

.research-disclaimer h3 {
  margin: 0 0 11px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .045em;
}

.research-disclaimer p {
  max-width: 760px;
  margin: 0;
  color: var(--fg-body);
  font-size: 14px;
  line-height: 1.75;
}

.research-disclaimer p + p {
  margin-top: 9px;
}

.research-section {
  max-width: 920px;
}

.hardware-settings-table {
  min-width: 620px;
}

.hardware-settings-table th:first-child {
  width: 38%;
}

.hardware-settings-table td:nth-child(2) {
  width: 22%;
  white-space: nowrap;
}

.ports-setting {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.ports-setting b {
  color: var(--fg);
  font-size: 13px;
  font-weight: 620;
}

.chapter-title {
  max-width: none;
  margin: 56px 0 0;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--border-strong);
  color: var(--fg);
  font-size: clamp(21px, 3vw, 25px);
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1.3;
}

.manual-step {
  scroll-margin-top: calc(var(--header-height) + 24px);
  max-width: 760px;
  min-height: 0;
  padding: 30px 0 34px;
  border-bottom: 1px solid var(--border);
}

.manual-step h3 {
  margin: 0 0 14px;
  color: var(--fg);
  font-size: clamp(19px, 2.5vw, 22px);
  line-height: 1.4;
  font-weight: 560;
  letter-spacing: -.012em;
}

.manual-step h4 {
  margin: 28px 0 9px;
  color: var(--accent);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 620;
  letter-spacing: .035em;
}

.subchapter .manual-step > h4 {
  margin: 0 0 14px;
  color: var(--fg);
  font-size: clamp(18px, 2.2vw, 20px);
  font-weight: 560;
  letter-spacing: -.01em;
}

.manual-step p {
  margin: 0;
  color: var(--fg-body);
  font-size: 16px;
  line-height: 1.85;
}

.manual-step p + p {
  margin-top: 14px;
}

.manual-step ul,
.manual-step ol {
  margin: 0;
  padding-left: 1.35em;
  color: var(--fg-body);
  font-size: 16px;
  line-height: 1.8;
}

.manual-step li + li {
  margin-top: 7px;
}

.manual-step li::marker {
  color: var(--accent);
  font-weight: 650;
}

.sign-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px;
  margin: 7px 0 9px;
}

.sign-strip img,
.heading-sign {
  display: block;
  width: 40px;
  height: auto;
  flex: 0 0 auto;
}

.control-block h4 {
  display: flex;
  align-items: center;
  gap: 7px;
}

.control-block .heading-sign {
  width: 34px;
}

@media (prefers-color-scheme: dark) {
  .sign-strip img,
  .heading-sign {
    filter: invert(1);
  }
}

.operation-guide {
  max-width: 920px;
}

.operation-grid {
  margin-top: 18px;
  border-bottom: 1px solid var(--border-strong);
}

.operation-mode {
  min-width: 0;
  padding: 20px 0 24px;
  border-top: 1px solid var(--border-strong);
}

.operation-mode-body {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 32px;
}

.operation-device-demo {
  position: relative;
  width: 100%;
  aspect-ratio: 118 / 32;
  --operation-arrow-opacity: 0;
  --operation-press-opacity: 0;
  --operation-arrow-rotation: 0deg;
}

.operation-device-demo::before {
  content: "↓";
  position: absolute;
  z-index: 3;
  left: 84.7%;
  top: 1%;
  color: var(--fg);
  opacity: var(--operation-press-opacity);
  font-size: clamp(18px, 2.2vw, 25px);
  font-weight: 400;
  line-height: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.operation-device-demo::after {
  content: "↻";
  position: absolute;
  z-index: 3;
  left: 81.7%;
  top: 1%;
  color: var(--fg);
  opacity: var(--operation-arrow-opacity);
  font-size: clamp(18px, 2.2vw, 25px);
  font-weight: 400;
  line-height: 1;
  transform: translate(-50%, -50%) rotate(var(--operation-arrow-rotation));
  pointer-events: none;
}

.operation-device-demo[data-operation-demo="port"]::after {
  left: 78.7%;
}

.operation-svg-host,
.operation-svg-host svg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.operation-mini-oled {
  position: absolute;
  left: 5.39%;
  top: 22.44%;
  width: 58.32%;
  height: 53.77%;
  overflow: hidden;
  background: #000;
  pointer-events: none;
}

.operation-demo-canvas {
  display: block;
  width: 100%;
  height: 100%;
  background: #000;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.manual-step .operation-mode h4 {
  margin: 0 0 14px;
  font-size: 15px;
  letter-spacing: .035em;
}

.operation-mode dl {
  display: grid;
  gap: 6px;
  margin: 0;
}

.operation-mode dl > div {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 12px;
  opacity: 1;
  transition: opacity 180ms ease;
}

.operation-mode.is-cueing-action .operation-description dl > div {
  opacity: .3;
}

.operation-mode.is-cueing-action .operation-description dl > div.is-action-active {
  opacity: 1;
}

.operation-mode dt,
.operation-mode dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.operation-mode dt {
  color: var(--fg-muted);
  font-weight: 500;
}

.operation-mode dd {
  color: var(--fg);
  opacity: .82;
}

.manual-step .operation-mode p {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.65;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 28px;
  margin-top: 20px !important;
}

.warning-callout {
  margin: 4px 0 0;
  padding: 20px 24px 22px;
  border: 1px solid color-mix(in srgb, var(--warning-border) 55%, transparent);
  border-left: 4px solid var(--warning-border);
  background: var(--warning-bg);
  color: var(--warning-fg);
}

.manual-step .warning-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 13px;
  color: var(--warning-fg);
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: .06em;
}

.warning-title span {
  display: block;
  width: 22px;
  font-size: 20px;
  font-weight: normal;
  text-align: center;
}

.manual-step .warning-callout ul {
  margin: 0;
  color: var(--warning-fg);
  font-size: 15px;
  line-height: 1.75;
}

.warning-callout li::marker {
  color: var(--warning-border);
}

.task-card {
  max-width: 920px;
  margin: 22px 0 0;
  padding: 26px 0 28px;
  border-top: 1px solid var(--border-strong);
}

.task-card + .task-card { margin-top: 18px; }

.signal-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin: 18px 0 22px;
}

.flow-node {
  display: grid;
  place-items: center;
  min-height: 88px;
  padding: 14px;
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
  color: var(--fg-muted);
  text-align: center;
  line-height: 1.45;
}

.flow-node strong {
  color: var(--fg);
  font-size: 15px;
}

.flow-arrow {
  color: var(--fg-muted);
  font-size: 28px;
  font-weight: 300;
}

.panel-explainer {
  display: grid;
  grid-template-columns: minmax(230px, 290px) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  margin-top: 22px;
}

.panel-copy { min-width: 0; }

.panel-copy .manual-step {
  min-height: 0;
  padding-top: 24px;
  transition: opacity 260ms ease;
}

.panel-copy.is-focusing .manual-step {
  opacity: .28;
}

.panel-copy.is-focusing .manual-step.is-active {
  opacity: 1;
}

.control-block-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 16px;
}

.manual-step .control-block {
  min-width: 0;
  padding: 14px 0;
  border-top: 1px solid var(--border-strong);
}

.manual-step .control-block:last-child {
  border-bottom: 1px solid var(--border-strong);
}

.manual-step .control-block h4 {
  margin: 0 0 7px;
  font-size: 14px;
  letter-spacing: .035em;
}

.manual-step .control-block p {
  font-size: 13px;
  line-height: 1.6;
}

.control-pair {
  display: block;
  border-top: 1px solid var(--border);
}

.control-pair .manual-step {
  min-height: 0;
  padding: 24px 0 28px;
  border: 0;
}

.tempo-demo {
  margin-top: 18px !important;
  padding: 12px 0;
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
  color: var(--fg) !important;
  font-size: clamp(14px, 2vw, 17px) !important;
}

.table-wrap {
  width: 100%;
  margin: 18px 0;
  overflow-x: auto;
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
}

table {
  width: 100%;
  border-collapse: collapse;
  color: var(--fg);
  font-size: 14px;
  line-height: 1.6;
}

th,
td {
  padding: 11px 13px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

thead th {
  background: transparent;
  color: var(--fg-muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .055em;
  text-transform: uppercase;
}

tbody th {
  width: 29%;
  background: transparent;
  font-weight: 600;
}

tr:last-child th,
tr:last-child td { border-bottom: 0; }

.oled-icon-heading,
.oled-icon-cell {
  width: 46px;
  min-width: 46px;
  padding-right: 1px;
}

.oled-icon-table td {
  vertical-align: middle;
}

.ports-table > tbody > tr > td {
  vertical-align: middle;
}

.ports-table > tbody > tr > td:first-child {
  font-weight: 600;
}

.port-value-table {
  width: auto;
  min-width: 132px;
  font-size: 14px;
}

.port-value-table td {
  padding: 5px 8px;
  vertical-align: middle;
}

.port-value-table td:first-child {
  width: 40px;
  padding-left: 0;
}

.oled-menu-icon {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
  background: #000;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.note {
  margin-top: 16px !important;
  padding: 15px 0 15px 17px;
  border-left: 3px solid var(--accent);
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
  color: var(--fg-body) !important;
}

.timing-figure {
  margin: 24px 0 0;
  padding: 18px 0;
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
}

.timing-figure svg {
  display: block;
  width: 100%;
  height: auto;
}

.timing-figure polyline {
  fill: none;
  stroke: var(--fg);
  stroke-linejoin: round;
  stroke-width: 4;
}

.timing-figure text {
  fill: var(--fg-muted);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
}

.timing-figure .measure-line {
  stroke: #36b95b;
  stroke-width: 2;
}

.timing-figure .measure-text {
  fill: #36b95b;
  font-size: 12px;
}

.timing-figure figcaption {
  margin-top: 8px;
  color: var(--fg-muted);
  font-size: 13px;
  line-height: 1.6;
}

.update-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
}

.update-flow > span {
  display: grid;
  place-items: center;
  min-height: 104px;
  padding: 12px 8px;
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
  text-align: center;
}

.update-flow b {
  display: block;
  margin-bottom: 8px;
  color: #36b95b;
  font-size: 12px;
}

.update-flow em {
  color: var(--fg);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.35;
}

.update-flow > i {
  color: var(--fg-muted);
  font-size: 22px;
  font-style: normal;
}

.revision {
  margin-top: 70px;
  padding: 4px 0 28px;
}

.revision p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--fg-muted);
  font-size: 13px;
  line-height: 1.7;
}

@media (min-width: 760px) {
  .document-title-block {
    grid-template-columns: minmax(0, 1fr) 152px;
    align-items: center;
    gap: 56px;
  }
  .cover-product { width: 152px; }
  .panel-explainer .manual-step:first-child { padding-top: 0; }
}

@media (min-width: 1200px) {
  :root { --toc-rail-width: 268px; }

  .site-header {
    margin-left: var(--toc-rail-width);
  }

  .site-header .icon-button {
    visibility: hidden;
    pointer-events: none;
  }

  .toc {
    inset: 0 auto 0 0;
    z-index: 25;
    width: var(--toc-rail-width);
    transform: none;
    transition: none;
  }

  .toc-panel {
    padding: 28px 22px 64px;
    border-right: 1px solid var(--border);
    background: var(--bg);
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .toc-backdrop {
    display: none !important;
  }

  main {
    margin-left: var(--toc-rail-width);
  }

  .manual-copy {
    padding-left: 48px;
    padding-right: 48px;
  }
}

@media (max-width: 759px) {
  .site-header { padding: 0 10px; }
  .manual-copy { padding: 36px 18px 76px; }
  .document-title-block { padding-top: 12px; }
  .chapter > h2,
  .revision > h2 { margin-top: 60px; }
  .subchapter > h3 { margin-top: 44px; }
  .warning-callout { padding: 18px 17px 20px; }
  .feature-list { grid-template-columns: 1fr; }
  .operation-mode-body {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .signal-flow { gap: 7px; }
  .flow-node { min-height: 78px; padding: 10px 6px; font-size: 12px; }
  .flow-arrow { font-size: 21px; }
  .panel-explainer { grid-template-columns: 1fr; gap: 12px; }
  .panel-reader {
    position: sticky;
    top: var(--header-height);
    z-index: 6;
    height: clamp(180px, 32svh, 260px);
    max-height: none;
    padding: 8px 0 10px;
    border-bottom: 1px solid var(--border-strong);
    box-shadow: 0 12px 18px -18px rgba(0, 0, 0, .5);
  }
  .panel-stage {
    width: clamp(76px, 13.8svh, 114px);
    height: auto;
    max-height: none;
  }
  .panel-art { height: auto; }
  .panel-copy .manual-step {
    scroll-margin-top: calc(var(--header-height) + clamp(180px, 32svh, 260px) + 20px);
  }
  .update-flow {
    grid-template-columns: 1fr;
  }
  .update-flow > span { min-height: 72px; }
  .update-flow > i { transform: rotate(90deg); text-align: center; }
  .panel-copy .manual-step { min-height: 0; }
  .control-pair .manual-step { min-height: 0; }
}

@media (max-width: 759px) and (max-height: 520px) {
  .panel-reader { height: 160px; }
  .panel-stage { width: 67px; }
  .panel-copy .manual-step {
    scroll-margin-top: calc(var(--header-height) + 180px);
  }
}

@media print {
  :root {
    --bg: #fff;
    --fg: #111;
    --fg-muted: #555;
    --border: rgba(0, 0, 0, .12);
    --border-strong: rgba(0, 0, 0, .22);
    --surface: #fff;
  }
  .site-header,
  .toc,
  .toc-backdrop,
  .heading-anchor { display: none !important; }
  .manual-copy { width: 100%; padding: 0; }
  .panel-reader { position: relative; top: auto; }
  .sign-strip img,
  .heading-sign { filter: none; }
  .task-card,
  .faq-item,
  .research-disclaimer,
  .timing-figure,
  .table-wrap { break-inside: avoid; }
}
