@font-face {
  font-family: "Saira Condensed";
  src: url("/fonts/saira-condensed-latin-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF;
}
@font-face {
  font-family: "Saira Condensed";
  src: url("/fonts/saira-condensed-latin-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF;
}
@font-face {
  font-family: "Saira Condensed";
  src: url("/fonts/saira-condensed-latin-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF;
}

:root {

  --paper: #fbf9ec;
  --line: #3346c8;
  --ink: #1d1f2b;
  --red: #dc2a40;
  --rule: #e9e6cf;

  --ink-2: color-mix(in oklab, var(--ink) 74%, var(--paper));
  --ink-3: color-mix(in oklab, var(--ink) 58%, var(--paper));
  --red-ink: color-mix(in oklab, var(--red) 80%, var(--ink));
  --line-soft: color-mix(in oklab, var(--line) 34%, var(--paper));
  --line-faint: color-mix(in oklab, var(--line) 16%, var(--paper));
  --line-wash: color-mix(in srgb, var(--line) 11%, transparent);
  --sheet: color-mix(in oklab, var(--paper) 55%, #ffffff);

  --cjk: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --latin: "Saira Condensed", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;

  --r-ctl: 6px;
  --r-card: 10px;

  --gutter: 32px;
  --pad-x: 36px;
  --col-a: 640px;
  --col-gap: 44px;
  --ease: cubic-bezier(.32, .72, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.75 var(--cjk);
  line-break: strict;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: var(--line); text-decoration-thickness: 1px; text-underline-offset: 4px; }
button { font: inherit; color: inherit; }
p { text-wrap: pretty; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: var(--r-ctl);
}
.skip:focus { top: 10px; }

.topbar { position: relative; z-index: 20; }
.topbar-in {
  margin: 0 var(--gutter);
  padding: 0 calc(var(--pad-x) + 9px);
  display: grid;
  grid-template-columns: minmax(0, var(--col-a)) minmax(0, 1fr);
  column-gap: var(--col-gap);
  align-items: center;
  height: 64px;
}
.wordmark {
  justify-self: start;
  font: 600 32px/1 var(--latin);
  letter-spacing: .02em;
  color: var(--ink);
  text-decoration: none;
  padding: 6px 0;
}
.nav { justify-self: stretch; }
.menu-btn { display: none; }
.nav-list { display: flex; gap: 4px; margin-left: -14px; }
.nav-list a {
  position: relative;
  display: flex; align-items: center;
  height: 64px; padding: 0 14px;
  color: var(--ink); text-decoration: none;
  font-size: 15.5px; font-weight: 500;
}
.nav-room { display: none; }
.nav-list a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 10px; height: 2px;
  background: var(--line); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav-list a:hover, .nav-list a.is-lit { color: var(--line); }
.nav-list a.is-lit::after { transform: scaleX(1); opacity: .45; }
.nav-list a[aria-current="page"] { color: var(--line); font-weight: 600; }
.nav-list a[aria-current="page"]::after { transform: scaleX(1); opacity: 1; height: 3px; }

.sheet {
  margin: 4px var(--gutter) 0;
  border: 1px solid var(--line-soft);
  padding: 6px;
}
.sheet-frame {
  border: 2px solid var(--line);
  padding: 26px var(--pad-x) 26px;
  display: grid;
  grid-template-columns: minmax(0, var(--col-a)) minmax(0, 1fr);
  column-gap: var(--col-gap);
}
.col-text { display: flex; flex-direction: column; padding-top: 10px; }
.col-draw { display: flex; flex-direction: column; min-width: 0; }

h1 {
  font-size: 64px;
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -.012em;
  font-feature-settings: "palt" 1;
}
h1 span { display: block; }
.lead {
  margin-top: 22px;
  max-width: 35em;
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-2);
  word-break: keep-all; overflow-wrap: anywhere;
}

.note {
  margin-top: auto;
  position: relative;
  background: var(--sheet);
  border: 1.5px solid color-mix(in oklab, var(--red) 62%, var(--paper));
  border-radius: var(--r-card);
  padding: 18px 24px 12px;
  max-width: 600px;
}
.note-head {
  display: flex; align-items: center; gap: 8px;
  color: var(--red-ink); font-size: 14px; font-weight: 600; line-height: 1;
}
.delta path { fill: var(--paper); stroke: var(--red); stroke-width: 1.6; stroke-linejoin: round; }
.delta text { fill: var(--red-ink); font: 600 11px/1 var(--cjk); text-anchor: middle; }
.note-title {
  margin-top: 12px;
  font-size: 20px; line-height: 1.5; font-weight: 600;
  max-width: 23em;
  word-break: keep-all; overflow-wrap: anywhere;
}
.note-why { margin-top: 8px; font-size: 15px; line-height: 1.75; color: var(--ink-2); word-break: keep-all; overflow-wrap: anywhere; }
.note-link {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--red-ink); font-weight: 600; font-size: 15.5px;
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px;
}
.note-link:hover { text-decoration-thickness: 2.5px; }

.plan { margin: 0; }
.plan-svg { display: block; width: 100%; height: auto; overflow: visible; }
.hatch-line { stroke: var(--line); stroke-width: 1; opacity: .62; }
.p-axis { stroke: var(--line); stroke-width: .7; stroke-dasharray: 10 3 2 3; opacity: .45; fill: none; }
.p-bubble circle { fill: var(--paper); stroke: var(--line); stroke-width: 1; }
.p-bubble text { fill: var(--line); font: 500 12px/1 var(--latin); text-anchor: middle; }
.p-dim { stroke: var(--line); stroke-width: .7; fill: none; opacity: .75; }
.p-tick { stroke: var(--line); stroke-width: 1.4; fill: none; }
.p-dimtext {
  fill: var(--line); font: 500 12px/1 var(--latin); text-anchor: middle; letter-spacing: .04em;
  paint-order: stroke; stroke: var(--paper); stroke-width: 4px; stroke-linejoin: round;
}
.p-poche { fill: url(#hatch); }
.p-wall-line { fill: none; stroke: var(--line); stroke-width: 1.7; stroke-linejoin: miter; }
.p-cut { fill: var(--paper); }
.p-jamb { stroke: var(--line); stroke-width: 1.5; fill: none; }
.p-win { stroke: var(--line); stroke-width: .8; fill: none; }
.p-leaf { stroke: var(--line); stroke-width: 1.6; fill: none; }
.p-leaf-heavy { stroke-width: 3.4; }
.p-swing { stroke: var(--line); stroke-width: .8; fill: none; opacity: .8; }
.p-furn { stroke: var(--line); stroke-width: .8; fill: none; opacity: .5; }
.p-corridor { fill: var(--line); font: 400 12px/1 var(--cjk); text-anchor: middle; letter-spacing: .5em; opacity: .7; }

.room { cursor: pointer; outline: none; }
.room-hit { fill: transparent; stroke: transparent; stroke-width: 2; transition: fill .3s var(--ease); }
.room-name {
  fill: var(--ink); font: 600 18px/1 var(--cjk); text-anchor: middle;
  paint-order: stroke; stroke: var(--paper); stroke-width: 5px; stroke-linejoin: round;
  transition: fill .3s var(--ease);
}
.room-name-s { font-size: 16px; }
.room-sub {
  fill: var(--line); font: 400 13px/1 var(--cjk); text-anchor: middle;
  paint-order: stroke; stroke: var(--paper); stroke-width: 4px; stroke-linejoin: round;
}
.room:hover .room-hit { fill: var(--line-wash); }
.room:hover .room-name { fill: var(--line); }
.room:focus-visible .room-hit {
  fill: var(--line-wash);
  stroke: var(--ink); stroke-dasharray: 6 4;
}
.room:focus-visible .room-name { fill: var(--line); }

.p-cloud { fill: none; stroke: var(--red); stroke-width: 1.5; stroke-linejoin: round; }
.p-delta path { fill: var(--paper); stroke: var(--red); stroke-width: 1.5; stroke-linejoin: round; }
.p-delta text { fill: var(--red-ink); font: 600 11px/1 var(--cjk); text-anchor: middle; }

.p-here-ring { fill: none; stroke: var(--line); stroke-width: .9; }
.p-here-dot { fill: var(--line); }
.p-here text { fill: var(--ink); font: 500 12.5px/1 var(--cjk); }
.p-north circle { fill: none; stroke: var(--line); stroke-width: .9; }
.p-north path { fill: var(--line); }
.p-north text { fill: var(--line); font: 600 11px/1 var(--latin); text-anchor: middle; }

.plan-cap {
  display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 12px;
  margin-top: 6px; padding-left: 12.2%;
}
.cap-title {
  font-size: 15px; font-weight: 600; letter-spacing: .12em;
  padding-bottom: 3px;
  border-bottom: 2px solid var(--ink);
  box-shadow: 0 3px 0 -1px var(--paper), 0 4px 0 0 var(--ink);
}
.cap-scale { font: 500 15px/1 var(--latin); color: var(--ink-2); }
.cap-hint { margin-left: auto; font-size: 13px; color: var(--ink-3); }

.tb {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr);
  border: 2px solid var(--line);
  background: var(--sheet);
}
.tb-cell { padding: 12px 16px; min-width: 0; }
.tb-code { border-right: 1px solid var(--line); }
.tb-label { font-size: 13px; line-height: 1; color: var(--ink-3); letter-spacing: .08em; }
.code-row {
  display: grid; grid-template-columns: auto auto; justify-content: start;
  align-items: center; column-gap: 14px; margin-top: 8px;
}
.code {
  font: 600 46px/1 var(--latin);
  letter-spacing: .04em;
  color: var(--ink);
  user-select: all; -webkit-user-select: all;
  padding: 2px 0 0;
}
.copy-btn {
  flex: none;
  min-height: 44px; padding: 0 16px;
  border: 1.5px solid transparent; border-radius: var(--r-ctl);
  background: var(--line); color: var(--paper);
  font-size: 15px; font-weight: 600; letter-spacing: .02em; white-space: nowrap;
  cursor: pointer;
  transition: background-color .25s var(--ease);
}
.copy-btn:hover { background: color-mix(in oklab, var(--line) 82%, var(--ink)); }
.copy-btn:active { transform: translateY(1px); }
.copy-status {
  grid-column: 1 / -1; justify-self: end;
  min-height: 22px; margin-top: 6px;
  display: flex; align-items: center; gap: 6px; text-align: right;
  font-size: 13.5px; line-height: 1.4; font-weight: 600;
}
.copy-status.is-ok { color: var(--line); }
.copy-status.is-fail { color: var(--red-ink); }
.copy-status svg { flex: none; }
.copy-status svg path { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.tb-benefit { display: flex; flex-direction: column; justify-content: center; }
.benefit { font-size: 17px; line-height: 1.55; font-weight: 600; word-break: keep-all; overflow-wrap: anywhere; }
.star { color: var(--line); margin-left: 1px; }
.footnote { margin-top: 8px; font-size: 13px; line-height: 1.6; color: var(--ink-2); word-break: keep-all; overflow-wrap: anywhere; }
.nw { white-space: nowrap; }

.tb-meta {
  border-top: 1px solid var(--line);
  padding-top: 8px; padding-bottom: 8px;
  font-size: 13px; line-height: 1.5; color: var(--ink-2);
  display: flex; align-items: center; gap: 10px;
}
.tb-date { font: 500 15px/1 var(--latin); color: var(--ink); letter-spacing: .04em; }
.tb-meta.tb-disclose { display: block; }
.tb-disclose a { color: var(--line); white-space: nowrap; }
.tb-when { border-right: 1px solid var(--line); }

.tb-go {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 16px;
  padding-top: 10px; padding-bottom: 10px;
}
.go {
  flex: none;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 16px;
  border: 1.5px solid var(--line); border-radius: var(--r-ctl);
  color: var(--line); background: var(--paper);
  font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: background-color .25s var(--ease);
}
.go:hover { background: var(--line-wash); }
.go-note { font-size: 13px; line-height: 1.6; color: var(--ink-2); word-break: keep-all; overflow-wrap: anywhere; }

.okx-mark { display: inline-flex; flex: none; align-items: center; justify-content: center; background: #000; color: #fff; font-family: var(--latin); font-weight: 600; line-height: 1; letter-spacing: .08em; }
.okx-mark img { display: block; width: auto; }
.okx-mark-hero { height: 70px; padding: 0 20px; font-size: 52px; }
.okx-mark-hero img { height: 54px; }
.okx-mark-card { height: 36px; font-size: 48px; }
.okx-mark-card img { height: 36px; }
.okx-mark-strip { height: 36px; font-size: 48px; }
.okx-mark-strip img { height: 36px; }
.brand-row { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.brand-note { max-width: 19em; font-size: 14px; line-height: 1.6; color: var(--ink-2); word-break: keep-all; overflow-wrap: anywhere; }

.tb.is-okx { --line: rgba(255, 255, 255, .32); --ink: #fff; --ink-2: #d0d0d0; --ink-3: #ababab; --sheet: #000; background: #000; border-color: #000; color: #fff; box-shadow: 0 0 0 4px var(--paper), 0 0 0 5.5px #3346c8; outline: 1px solid transparent; }
.tb.is-okx .tb-when .okx-mark { margin-right: 6px; }
.tb.is-okx .tb-disclose { word-break: keep-all; overflow-wrap: anywhere; }
.tb.is-okx ::selection, .okx-strip ::selection { background: #fff; color: #000; }
.tb.is-okx .copy-btn, .okx-strip .copy-btn { background: #fff; color: #000; }
.tb.is-okx .copy-btn:hover, .okx-strip .copy-btn:hover { background: #e2e2e2; }
.tb.is-okx .copy-status.is-ok, .okx-strip .copy-status.is-ok { color: #fff; }
.tb.is-okx .copy-status.is-fail, .okx-strip .copy-status.is-fail { color: #ffb6c0; }
.tb.is-okx .star { color: #fff; }
.tb.is-okx .go { background: #fff; color: #000; border-color: #fff; }
.tb.is-okx .go:hover { background: #e2e2e2; }
.tb.is-okx .tb-disclose a { display: inline-block; padding: 13px 0; margin: -13px 0; color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.tb.is-okx :focus-visible, .okx-strip :focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.okx-strip { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "code act" "note stamp"; align-items: center; row-gap: 14px; margin: 32px 0 10px; max-width: 760px; padding: 16px 18px; background: #000; color: #fff; box-shadow: 0 0 0 4px var(--paper), 0 0 0 5.5px #3346c8; outline: 1px solid transparent; }
.okx-strip p { margin: 0; }
.okx-strip .os-code { grid-area: code; display: flex; align-items: baseline; gap: 12px; }
.okx-strip .tb-label { color: #ababab; white-space: nowrap; }
.okx-strip .code { color: #fff; font-size: 38px; }
.okx-strip .os-act { grid-area: act; position: relative; display: flex; flex-direction: column; align-items: flex-end; padding-left: 20px; }
.okx-strip .copy-status { position: absolute; right: 0; top: 100%; margin-top: 2px; min-height: 0; white-space: nowrap; text-align: right; }
.okx-strip .os-note { grid-area: note; align-self: stretch; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .32); font-size: 13px; line-height: 1.65; color: #d0d0d0; word-break: keep-all; overflow-wrap: anywhere; }
.okx-strip .os-stamp { grid-area: stamp; align-self: stretch; display: flex; align-items: flex-end; justify-content: flex-end; padding: 12px 0 0 20px; border-top: 1px solid rgba(255, 255, 255, .32); }

.strip { display: none; }

.paths {
  margin: 0 var(--gutter);
  padding: 22px calc(var(--pad-x) + 9px) 8px;
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  column-gap: var(--col-gap);
  align-items: start;
}
.paths-h { font-size: 24px; line-height: 1.3; font-weight: 700; padding-top: 18px; }
.path-list {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--line);
  align-items: start;
}
.path { border-left: 1px solid var(--line-soft); }
.path:first-child { border-left: 0; }
.path-q { font-size: inherit; font-weight: inherit; }
.path-btn {
  width: 100%;
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 12px; align-items: center;
  text-align: left;
  min-height: 72px; padding: 12px 20px;
  background: none; border: 0; cursor: pointer;
}
.path-room { grid-column: 1; font-size: 13px; line-height: 1.4; color: var(--line); }
.path-title { grid-column: 1; font-size: 17px; line-height: 1.45; font-weight: 600; }
.chev { grid-column: 2; grid-row: 1 / span 2; transition: transform .38s var(--ease); }
.chev path { fill: none; stroke: var(--line); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.path-btn:hover .path-title { color: var(--line); }
.path-btn:focus-visible { outline-offset: -3px; }
.path-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }

.path-panel {
  display: grid; grid-template-rows: 0fr;
  opacity: 0; visibility: hidden;
  transition: grid-template-rows .38s var(--ease), opacity .3s var(--ease), visibility 0s linear .38s;
}
.path.is-open .path-panel {
  grid-template-rows: 1fr; opacity: 1; visibility: visible;
  transition: grid-template-rows .38s var(--ease), opacity .3s var(--ease) .05s, visibility 0s;
}
.path-body { overflow: hidden; min-height: 0; padding: 0 20px; }
.path-body p { font-size: 15px; line-height: 1.75; color: var(--ink-2); padding-top: 2px; word-break: keep-all; overflow-wrap: anywhere; }
.path-body a {
  display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 8px;
  font-weight: 600; font-size: 15px;
}

.sec-h { font-size: 24px; line-height: 1.3; font-weight: 700; }
.sec-sub { margin-top: 6px; color: var(--ink-2); font-size: 15px; }

.floors { display: none; }

.recent {
  margin: 56px var(--gutter) 0;
  padding: 0 calc(var(--pad-x) + 9px);
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  column-gap: var(--col-gap);
}
.recent-list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px;
  border-top: 1px solid var(--line-soft);
}
.recent-list li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--rule);
}
.recent-list a { color: var(--ink); text-decoration: none; font-size: 16px; line-height: 1.6; }
.recent-list a:hover { color: var(--line); text-decoration: underline; }
.r-date { flex: none; font: 500 15px/1 var(--latin); color: var(--ink-3); letter-spacing: .04em; }

.foot { margin: 72px var(--gutter) 0; border-top: 2px solid var(--line); }
.foot-in {
  border-top: 1px solid var(--line); margin-top: 3px;
  padding: 22px calc(var(--pad-x) + 9px) 40px;
  display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 28px; row-gap: 8px;
}
.foot-mark { font: 600 22px/1 var(--latin); letter-spacing: .02em; }
.foot-txt { font-size: 14px; color: var(--ink-2); flex: 1 1 360px; }
.foot-links { display: flex; gap: 4px 20px; flex-wrap: wrap; }
.foot-links a { display: inline-flex; min-height: 44px; align-items: center; font-size: 14px; }

@media (prefers-reduced-motion: no-preference) {
  .is-home .p-wall-line { stroke-dasharray: 1; animation: draw 1.15s var(--ease) .1s backwards; }
  .is-home .p-late { animation: appear .7s var(--ease) .75s backwards; }
  .is-home .p-cloud { stroke-dasharray: 1; animation: draw .9s var(--ease) 1.25s backwards; }
  .is-home .p-delta { animation: appear .4s var(--ease) 1.9s backwards; }
}
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
}

@media (min-width: 1180px) and (max-width: 1439px) {
  .col-draw .code-row { grid-template-columns: auto; justify-items: start; row-gap: 8px; }
  .col-draw .code { font-size: 40px; }
  .col-draw .copy-status { justify-self: start; }
}
@media (min-width: 1180px) and (max-width: 1279px) {
  .col-draw .tb { grid-template-columns: minmax(0, 1fr); }
  .col-draw .tb-code { border-right: 0; border-bottom: 1px solid var(--line); }
  .col-draw .tb-when { border-right: 0; }
}
@media (min-width: 1180px) and (max-width: 1349px) {
  .topbar-in { grid-template-columns: auto minmax(0, 1fr); }
  .nav-list { justify-content: flex-end; margin-left: 0; }
  .nav-list a { padding: 0 10px; white-space: nowrap; }
}

@media (max-width: 1179px) {
  :root { --gutter: 20px; --pad-x: 28px; }
  .topbar-in { grid-template-columns: auto minmax(0, 1fr); }
  .nav-list { justify-content: flex-end; margin-left: 0; }
  .sheet-frame { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .col-text, .col-draw { display: contents; }
  .intro { order: 1; }
  .tb { order: 2; margin-top: 24px; max-width: 760px; }
  .plan { order: 3; margin-top: 28px; max-width: 760px; }
  .note { order: 4; margin-top: 24px; max-width: 760px; }
  .paths, .recent { grid-template-columns: minmax(0, 1fr); row-gap: 14px; }
  .paths-h { padding-top: 0; }
}

@media (max-width: 759px) {
  :root { --gutter: 16px; --pad-x: 0px; }
  body { font-size: 15.5px; }

  .topbar-in { height: 56px; margin: 0 16px; padding: 0; grid-template-columns: auto auto; justify-content: space-between; }
  .wordmark { font-size: 30px; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 44px; padding: 0 12px 0 10px; margin-right: -6px;
    background: none; border: 1.5px solid var(--line); border-radius: var(--r-ctl);
    color: var(--line); font-size: 15px; font-weight: 600; cursor: pointer;
  }
  .menu-ico path { stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; fill: none; transition: transform .3s var(--ease), opacity .2s; transform-origin: 10px 10px; }
  .menu-btn[aria-expanded="true"] .menu-ico path { d: path("M5 5l10 10M10 10h0M15 5 5 15"); }
  .nav { position: static; }
  .nav-list {
    position: absolute; left: 12px; right: 12px; top: 56px;
    display: block; margin: 0;
    background: var(--sheet);
    border: 2px solid var(--line); border-radius: var(--r-card);
    padding: 6px 0;
    box-shadow: 0 18px 40px -18px color-mix(in oklab, var(--ink) 45%, transparent);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .25s var(--ease), transform .35s var(--ease), visibility 0s linear .35s;
  }
  .nav.is-open .nav-list { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .35s var(--ease), visibility 0s; }
  .nav-list li + li { border-top: 1px solid var(--line-faint); }
  .nav-list a { height: auto; min-height: 52px; padding: 0 18px; justify-content: space-between; font-size: 16px; }
  .nav-list a::after { display: none; }
  .nav-list a[aria-current="page"] { background: var(--line-wash); box-shadow: inset 3px 0 0 var(--line); }
  .nav-room { display: inline; font-size: 13px; color: var(--line); font-weight: 400; }

  .sheet { margin: 0; border: 0; padding: 0; }
  .sheet-frame { border: 0; padding: 8px 16px 0; row-gap: 0; }
  .col-text, .col-draw { display: contents; }
  .intro { order: 1; display: flex; flex-direction: column; }
  .intro h1 { order: 1; }
  .intro .lead { order: 2; }
  .intro .brand-row { order: 3; margin: 12px 0 0; flex-direction: row-reverse; justify-content: space-between; gap: 16px; }
  .col-draw .plan { display: none; }
  .tb { order: 2; margin-top: 20px; }
  .strip { order: 3; margin-top: 18px; }
  .note { order: 4; margin-top: 14px; }

  h1 { font-size: clamp(25px, 7.7vw, 34px); line-height: 1.24; letter-spacing: -.01em; }
  .lead { margin-top: 10px; font-size: 14.5px; line-height: 1.7; }
  .lead-more { display: none; }

  .tb { grid-template-columns: minmax(0, 1fr); }
  .tb-cell { padding: 10px 14px; }
  .tb-code { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 4px; }
  .code-row { margin-top: 6px; grid-template-columns: auto auto; justify-content: space-between; }
  .code { font-size: 42px; }
  .copy-status { min-height: 20px; margin-top: 4px; font-size: 13px; }
  .benefit { font-size: 15.5px; line-height: 1.5; }
  .footnote { margin-top: 4px; font-size: 13px; line-height: 1.55; }
  .tb-when { border-right: 0; }
  .strip {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-top: 12px;
    border: 5px solid transparent;
    background:
      linear-gradient(var(--paper), var(--paper)) padding-box,
      repeating-linear-gradient(45deg, var(--line) 0 1px, transparent 1px 4px) border-box;
    box-shadow: inset 0 0 0 1.5px var(--line), 0 0 0 1.5px var(--line);
  }
  .strip-room {
    position: relative;
    display: flex; align-items: flex-start; justify-content: center;
    min-height: 52px; padding: 9px 2px 0;
    color: var(--ink); text-decoration: none;
    font-size: 13px; font-weight: 600; line-height: 1.2; text-align: center;
  }
  .strip-room + .strip-room { box-shadow: inset 1.5px 0 0 var(--line); }
  .strip-room::after {
    content: ""; position: absolute; left: 50%; bottom: 0; width: 18px; height: 18px;
    margin-left: -9px;
    border-left: 1.2px solid var(--line); border-top: .8px solid var(--line-soft);
    border-top-left-radius: 100%;
  }
  .strip-room.is-marked span { color: var(--red-ink); }
  .strip-room.is-marked::before {
    content: ""; position: absolute; inset: 4px; border: 1px dashed color-mix(in oklab, var(--red) 70%, var(--paper)); border-radius: 4px;
  }
  .strip-room:focus-visible { outline-offset: -3px; }
  .tb-go { flex-direction: column; align-items: stretch; gap: 6px; padding-top: 10px; padding-bottom: 8px; }
  .go { justify-content: center; }
  .go-note { font-size: 13px; }

  .tb-disclose { padding-top: 6px; padding-bottom: 6px; font-size: 13px; }

  .note { padding: 14px 16px 4px; }
  .note-head { font-size: 13.5px; }
  .note-head .delta { width: 24px; height: 22px; }
  .note-title { margin-top: 8px; font-size: 16.5px; line-height: 1.5; }
  .note-why { margin-top: 4px; font-size: 13.5px; line-height: 1.65; }
  .note-link { font-size: 15px; }

  .paths { margin: 0; padding: 26px 16px 0; row-gap: 10px; }
  .paths-h { font-size: 21px; }
  .path-list { grid-template-columns: minmax(0, 1fr); }
  .path { border-left: 0; border-bottom: 1px solid var(--line-soft); }
  .path-btn { min-height: 64px; padding: 10px 2px; }
  .path-body { padding: 0 2px; }

  .floors { display: block; margin: 44px 16px 0; }
  .floor-list {
    margin-top: 16px;
    border: 7px solid transparent;
    background:
      linear-gradient(var(--paper), var(--paper)) padding-box,
      repeating-linear-gradient(45deg, var(--line) 0 1px, transparent 1px 5px) border-box;
    outline: 1.5px solid var(--line); outline-offset: 0;
    box-shadow: inset 0 0 0 1.5px var(--line);
  }
  .floor-list li + li { position: relative; }
  .floor-list li + li::before {
    content: ""; position: absolute; left: 0; right: 0; top: -3px; height: 6px;
    background:
      linear-gradient(var(--paper), var(--paper)) 18px 0 / 40px 100% no-repeat,
      linear-gradient(var(--line), var(--line)) 0 0 / 100% 1.5px no-repeat,
      linear-gradient(var(--line), var(--line)) 0 100% / 100% 1.5px no-repeat;
  }
  .floor-room {
    position: relative; display: block;
    padding: 16px 18px 16px 72px; min-height: 76px;
    color: var(--ink); text-decoration: none;
  }
  .floor-room::before {
    content: ""; position: absolute; left: 18px; top: 3px; width: 40px; height: 40px;
    border-right: 1.5px solid var(--line);
    border-left: .8px solid var(--line-soft); border-bottom: .8px solid var(--line-soft);
    border-bottom-left-radius: 100%;
  }
  .floor-list li:first-child .floor-room::before { display: none; }
  .fr-name { display: flex; align-items: baseline; gap: 10px; font-size: 17px; font-weight: 600; line-height: 1.4; }
  .fr-col { font-size: 13px; font-weight: 400; color: var(--line); }
  .fr-sub { display: block; margin-top: 2px; font-size: 14px; color: var(--ink-2); line-height: 1.6; }
  .fr-delta { position: absolute; right: 14px; top: 16px; }
  .fr-delta path { fill: var(--paper); stroke: var(--red); stroke-width: 1.6; stroke-linejoin: round; }
  .fr-delta text { fill: var(--red-ink); font: 600 11px/1 var(--cjk); text-anchor: middle; }
  .floor-room:hover .fr-name, .floor-room:focus-visible .fr-name { color: var(--line); }
  .floor-room:focus-visible { outline-offset: -4px; }

  .recent { margin: 44px 16px 0; padding: 0; }
  .recent-list { grid-template-columns: minmax(0, 1fr); }
  .recent-list li { flex-direction: column; gap: 4px; }
  .foot { margin: 56px 16px 0; }
  .foot-in { padding: 18px 0 32px; }
}

.nav-find a { gap: 6px; }
.nav-find svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

.index { margin: 56px var(--gutter) 0; padding: 0 calc(var(--pad-x) + 9px); }
.index-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 18px; }
.index-grid {
  margin-top: 18px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--line); border-left: 1px solid var(--line-soft);
}
.room-block { border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 16px 20px 18px; }
.rb-h { font-size: inherit; }
.rb-h a { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--ink); min-height: 32px; }
.rb-room { font-size: 18px; font-weight: 700; }
.rb-name { font-size: 13px; color: var(--line); }
.rb-h a:hover .rb-room { color: var(--line); }
.rb-list { margin: 8px 0 0; padding: 0 0 0 1.4em; list-style: decimal; color: var(--ink-3); }
.rb-list li { padding: 5px 0; line-height: 1.6; font-size: 15px; }
.rb-list li::marker { font: 500 14px/1 var(--latin); color: var(--line); }
.rb-list a { color: var(--ink); text-decoration: none; }
.rb-list a:hover { color: var(--line); text-decoration: underline; }
.rb-tools { background: color-mix(in oklab, var(--line) 5%, var(--paper)); }
.tags-home { margin: 48px var(--gutter) 0; padding: 0 calc(var(--pad-x) + 9px); }
.tag-cloud { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; }
.tag-cloud a {
  display: inline-flex; align-items: baseline; gap: 8px; min-height: 44px; padding: 10px 14px;
  border: 1px solid var(--line-soft); border-radius: var(--r-ctl);
  color: var(--ink); text-decoration: none; font-size: 15px; background: var(--sheet);
}
.tag-cloud a:hover { border-color: var(--line); color: var(--line); }
.tc-n { font: 500 13px/1 var(--latin); color: var(--ink-3); }

.room-head { margin: 4px var(--gutter) 0; border: 1px solid var(--line-soft); padding: 6px; }
.room-head-in {
  border: 2px solid var(--line); padding: 26px var(--pad-x);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); column-gap: var(--col-gap); align-items: center;
}
.rh-solo { grid-template-columns: minmax(0, 1fr); }
.rh-crumb, .doc-crumb { font-size: 14px; color: var(--ink-3); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.rh-crumb a, .doc-crumb a { color: var(--line); text-decoration: none; }
.rh-crumb a:hover, .doc-crumb a:hover { text-decoration: underline; }
.room-head h1 { margin-top: 12px; font-size: 46px; line-height: 1.18; letter-spacing: -.01em; }
.rh-page { margin-left: 14px; font-size: 18px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.rh-intro { margin-top: 14px; max-width: 38em; color: var(--ink-2); font-size: 16px; line-height: 1.85; }
.rh-intro p + p { margin-top: 10px; }
.rh-count { margin-top: 14px; font-size: 14px; color: var(--line); font-weight: 600; }
.rh-plan { margin: 0; }
.rh-plan .room.is-here .room-hit { fill: color-mix(in srgb, var(--red) 9%, transparent); stroke: var(--red); stroke-dasharray: 5 4; }
.rh-plan .room.is-here .room-name { fill: var(--red-ink); }

.room-list { margin: 28px var(--gutter) 0; padding: 0 calc(var(--pad-x) + 9px); max-width: calc(var(--col-a) + 400px); }
.rl { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--line); counter-reset: rl; }
.rl-item, .tag-card { padding: 18px 0 18px 52px; border-bottom: 1px solid var(--rule); position: relative; }
.rl-item::before {
  counter-increment: rl; content: counter(rl);
  position: absolute; left: 4px; top: 20px; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--line);
  font: 500 14px/28px var(--latin); text-align: center;
}
.tag-cards { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--line); }
.tag-card { padding-left: 0; }
.rl-title { font-size: 19px; line-height: 1.5; font-weight: 600; color: var(--ink); text-decoration: none; }
.rl-title:hover { color: var(--line); text-decoration: underline; }
.rl-desc { margin-top: 6px; font-size: 15px; line-height: 1.75; color: var(--ink-2); max-width: 46em; }
.rl-meta { margin-top: 6px; font-size: 13px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 4px 16px; }
.rl-tags { color: var(--line); }
.pager { margin-top: 22px; display: flex; align-items: center; gap: 18px; }
.pager a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.pager-at { color: var(--ink-3); font-size: 14px; }

.doc-top {
  margin: 10px auto 0; padding: 18px var(--gutter) 0; max-width: 1180px;
  display: grid; grid-template-columns: minmax(0, 1fr) 360px; column-gap: 48px; align-items: end;
}
.doc-top > .doc-head { margin: 0; padding: 0; max-width: none; }
.doc-head { margin: 10px auto 0; padding: 18px var(--gutter) 0; max-width: 1180px; }
.doc-head h1 {
  margin-top: 14px; max-width: 22em;
  font-size: 44px; line-height: 1.22; font-weight: 700; letter-spacing: -.01em;
  text-wrap: balance; overflow-wrap: anywhere;
}
.doc-meta { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 14px; color: var(--ink-3); }
.doc-meta a { color: var(--ink-2); }
.doc-meta time { font-family: var(--latin); font-size: 15px; letter-spacing: .03em; color: var(--ink-2); }
.article-cover { margin: 0; }
.article-cover img { display: block; width: 100%; height: auto; border: 1px solid var(--line-soft); }
.article-cover figcaption { margin-top: 8px; font-size: 13px; color: var(--ink-3); }

.doc-grid {
  margin: 30px auto 0; max-width: 1180px; padding: 0 var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1fr) 280px; column-gap: 56px; align-items: start;
}
.doc-grid.no-toc { grid-template-columns: minmax(0, 760px); }
.toc {
  grid-column: 2; grid-row: 1; position: sticky; top: 18px;
  border: 1.5px solid var(--line); background: var(--sheet); padding: 14px 16px 10px;
}
.toc-h { font-size: 14px; font-weight: 700; color: var(--line); padding-bottom: 8px; border-bottom: 1px solid var(--line-soft); }
.toc-list ul { margin: 6px 0 0; padding: 0; list-style: none; counter-reset: tc; }
.toc-list li { counter-increment: tc; }
.toc-list a {
  display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: baseline;
  padding: 7px 0; min-height: 36px; color: var(--ink-2); text-decoration: none; font-size: 14.5px; line-height: 1.5;
}
.toc-list a::before { content: counter(tc); font: 500 14px/1 var(--latin); color: var(--line); }
.toc-list a:hover { color: var(--line); }
.prose { grid-column: 1; grid-row: 1; min-width: 0; max-width: 760px; font-size: 17px; line-height: 1.9; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 {
  margin-top: 2.1em; padding-top: .5em;
  font-size: 27px; line-height: 1.35; font-weight: 700;
  border-top: 2px solid var(--line); position: relative;
  scroll-margin-top: 16px;
}
.prose h2::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 1px solid var(--line-soft); }
.prose h3 { margin-top: 1.6em; font-size: 20px; line-height: 1.45; font-weight: 700; scroll-margin-top: 16px; }
.prose a { color: var(--line); text-underline-offset: 4px; }
.prose strong { font-weight: 700; color: var(--ink); background: linear-gradient(transparent 62%, color-mix(in oklab, var(--line) 14%, transparent) 62%); }
.prose ul, .prose ol { padding-left: 1.5em; }
.prose ul { list-style: none; }
.prose ul > li { position: relative; }
.prose ul > li::before { content: ""; position: absolute; left: -1.05em; top: .78em; width: 7px; height: 7px; border: 1.5px solid var(--line); }
.prose ol > li::marker { font: 600 16px/1 var(--latin); color: var(--line); }
.prose li + li { margin-top: .4em; }
.prose blockquote { margin: 1.3em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--line-soft); color: var(--ink-2); }
.prose code { font-family: "Saira Condensed", var(--cjk); font-size: .98em; padding: 1px 6px; border: 1px solid var(--line-faint); border-radius: 4px; background: var(--sheet); }
.prose hr { border: 0; border-top: 1px dashed var(--line-soft); margin: 2em 0; }

.prose .tishi, .prose .jinggao {
  padding: 14px 18px; border-radius: var(--r-card); font-size: 16px; line-height: 1.85;
}
.prose .tishi { background: color-mix(in oklab, var(--line) 7%, var(--paper)); border: 1px solid var(--line-soft); }
.prose .jinggao { background: color-mix(in oklab, var(--red) 6%, var(--paper)); border: 1px solid color-mix(in oklab, var(--red) 45%, var(--paper)); }
.prose .dian { border-left: 4px solid var(--line); padding: 6px 0 6px 18px; font-size: 18px; font-weight: 600; line-height: 1.7; }
.prose ol.buzhou { list-style: none; padding-left: 0; counter-reset: bz; }
.prose ol.buzhou > li {
  counter-increment: bz; position: relative; padding: 12px 0 12px 52px; border-bottom: 1px solid var(--rule); margin: 0;
}
.prose ol.buzhou > li::before {
  content: counter(bz); position: absolute; left: 0; top: 12px;
  width: 34px; height: 34px; border: 1.5px solid var(--line); border-radius: 50%;
  font: 600 17px/31px var(--latin); color: var(--line); text-align: center;
}

.biao { margin: 1.4em 0; overflow-x: auto; border: 1.5px solid var(--line); background: var(--sheet); }
.biao:focus-visible { outline-offset: 2px; }
.biao table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.65; min-width: 520px; }
.biao th { text-align: left; font-weight: 700; padding: 10px 14px; border-bottom: 1.5px solid var(--line); background: color-mix(in oklab, var(--line) 6%, var(--paper)); }
.biao td { padding: 10px 14px; border-top: 1px solid var(--rule); vertical-align: top; }
.biao td + td, .biao th + th { border-left: 1px solid var(--line-faint); }

.shot { margin: 1.5em 0; }
.shot img { display: block; max-width: 100%; height: auto; border: 1px solid var(--line-soft); background: #fff; }
.shot figcaption { margin-top: 8px; font-size: 13.5px; line-height: 1.6; color: var(--ink-3); }

.yuanwen { margin: 1.4em 0; border: 1px solid var(--line-soft); border-left: 4px solid var(--line); background: var(--sheet); padding: 12px 18px 14px; }
.yw-src { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; font-size: 14px; font-weight: 600; }
.yw-date { font: 500 14px/1 var(--latin); color: var(--ink-3); }
.yw-hint { font-weight: 400; color: var(--ink-3); }
.yw-body { margin-top: 6px; font-size: 16px; line-height: 1.85; color: var(--ink-2); }
.yw-body > * + * { margin-top: .6em; }

.prose .tb { margin: 1.6em 0; font-size: 16px; line-height: 1.6; }
.prose .tb .code { font-size: 40px; }

.wenda { margin-top: 2.4em; border-top: 2px solid var(--line); padding-top: .5em; }
.wenda > h2 { margin-top: .2em; padding-top: 0; border-top: 0; font-size: 24px; }
.wenda > h2::after { display: none; }
.qa { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.qa h3 { margin: 0; font-size: 17.5px; }
.qa p { margin-top: 6px; color: var(--ink-2); font-size: 16px; }

.doc-after { margin: 44px auto 0; max-width: 1180px; padding: 0 var(--gutter); display: grid; grid-template-columns: minmax(0, 760px); gap: 26px; }
.dt-h { font-size: 14px; font-weight: 700; color: var(--line); margin-bottom: 8px; }
.doc-tags ul { display: flex; flex-wrap: wrap; gap: 8px; }
.doc-tags a, .doc-tags span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 6px 12px;
  border: 1px solid var(--line-soft); border-radius: var(--r-ctl); font-size: 14.5px; text-decoration: none;
}
.doc-tags a { color: var(--ink); background: var(--sheet); }
.doc-tags a:hover { border-color: var(--line); color: var(--line); }
.doc-tags span { color: var(--ink-3); border-style: dashed; }
.doc-rel ul { border-top: 1px solid var(--line-soft); }
.doc-rel li { border-bottom: 1px solid var(--rule); }
.doc-rel a { display: block; padding: 11px 0; color: var(--ink); text-decoration: none; font-size: 16px; line-height: 1.55; }
.doc-rel a:hover { color: var(--line); }
.doc-turn { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.doc-turn a {
  display: block; padding: 12px 16px; border: 1px solid var(--line-soft); border-radius: var(--r-card);
  color: var(--ink); text-decoration: none; font-size: 15px; line-height: 1.55; background: var(--sheet);
}
.doc-turn a:hover { border-color: var(--line); }
.turn-next { grid-column: 2; text-align: right; }
.turn-l { display: block; font-size: 13px; color: var(--line); margin-bottom: 4px; }

.prose-note h2 { font-size: 23px; }

.tool-head h1 { font-size: 40px; }
.tool-lead { margin-top: 10px; max-width: 40em; color: var(--ink-2); font-size: 16.5px; line-height: 1.8; }
.tool-box { margin: 24px auto 0; max-width: 1180px; padding: 0 var(--gutter); }
.tool-guide { margin: 28px auto 0; max-width: 1180px; padding: 0 var(--gutter); }
.tool-guide > summary {
  cursor: pointer; display: flex; align-items: center; min-height: 52px; padding: 0 16px;
  border: 1.5px solid var(--line); background: var(--sheet); font-weight: 600; color: var(--line); list-style: none;
}
.tool-guide > summary::-webkit-details-marker { display: none; }
.tool-guide > summary::after { content: "展开"; margin-left: auto; font-size: 13px; font-weight: 500; }
.tool-guide[open] > summary::after { content: "收起"; }
.prose-guide { padding: 6px 0 0; max-width: 760px; }

.tw { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 2px solid var(--line); background: var(--sheet); }
.tw-in { padding: 20px 22px; border-right: 1px solid var(--line); }
.tw-out { padding: 22px 24px; min-height: 240px; }
.tw label, .tw .tw-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.tw-help { font-size: 13px; color: var(--ink-3); margin-top: 6px; line-height: 1.6; }
.tw input[type="text"], .tw input[type="url"], .tw input[type="date"], .tw input[type="tel"], .tw select, .tw textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; font: inherit; font-size: 16px; color: var(--ink);
  border: 1.5px solid var(--line-soft); border-radius: var(--r-ctl); background: #fffef8;
}
.tw textarea { min-height: 96px; resize: vertical; }
.tw input:focus-visible, .tw select:focus-visible, .tw textarea:focus-visible { outline: 2px solid var(--line); outline-offset: 1px; border-color: var(--line); }
.tw .is-bad { border-color: var(--red); }
.tw-err { margin-top: 6px; font-size: 13.5px; color: var(--red-ink); min-height: 1.2em; }
.tw-row + .tw-row { margin-top: 16px; }
.tw-btn {
  margin-top: 16px; min-height: 46px; padding: 0 20px; border: 0; border-radius: var(--r-ctl);
  background: var(--line); color: var(--paper); font: inherit; font-weight: 600; font-size: 15.5px; cursor: pointer;
}
.tw-btn:hover { background: color-mix(in oklab, var(--line) 82%, var(--ink)); }
.tw-verdict { font-size: 22px; font-weight: 700; line-height: 1.4; }
.tw-verdict.v-ok { color: var(--line); }
.tw-verdict.v-bad { color: var(--red-ink); }
.tw-verdict.v-warn { color: color-mix(in oklab, var(--red) 55%, var(--ink)); }
.tw-steps { margin-top: 12px; padding: 0; list-style: none; border-top: 1px solid var(--line-soft); }
.tw-steps li { padding: 9px 0; border-bottom: 1px solid var(--rule); font-size: 15px; line-height: 1.65; }
.tw-steps b { font-weight: 700; }
.tw-empty { color: var(--ink-3); font-size: 15px; }
.tw-host { font-family: "Saira Condensed", var(--cjk); font-size: 20px; letter-spacing: .02em; }

.tw-out {
  background:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px) 0 0 / 22px 22px,
    #1f2a86;
  color: #eef0ff;
}
.tw-out .tw-empty { color: #c9cff5; }
.tw-out .tw-label { color: #aab4ee; font-weight: 500; }
.tw-out .tw-host { color: #ffffff; }
.tw-out .tw-verdict { font-size: 26px; letter-spacing: -.005em; }
.tw-out .tw-verdict.v-ok { color: #ffffff; }
.tw-out .tw-verdict.v-ok::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 10px; border-radius: 50%; background: #8fe3b8; vertical-align: 3px; }
.tw-out .tw-verdict.v-bad { color: #ffc2cb; }
.tw-out .tw-verdict.v-bad::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 10px; border-radius: 50%; background: #ff7a8c; vertical-align: 3px; }
.tw-out .tw-verdict.v-warn { color: #ffe3a6; }
.tw-out .tw-steps { border-top-color: rgba(255,255,255,.22); }
.tw-out .tw-steps li { border-bottom-color: rgba(255,255,255,.14); color: #e3e7ff; }
.tw-out .tw-steps b { color: #ffffff; }

.find { margin: 18px auto 0; max-width: 1180px; padding: 0 var(--gutter); }
.find-form { max-width: 760px; }
.find-label { display: block; font-size: 14px; color: var(--ink-3); margin-bottom: 8px; }
.find-row { display: flex; gap: 10px; }
.find-row input {
  flex: 1 1 auto; min-width: 0; min-height: 50px; padding: 10px 14px; font: inherit; font-size: 17px;
  border: 2px solid var(--line); border-radius: var(--r-ctl); background: #fffef8; color: var(--ink);
}
.find-btn { flex: none; min-height: 50px; padding: 0 22px; border: 0; border-radius: var(--r-ctl); background: var(--line); color: var(--paper); font: inherit; font-weight: 600; cursor: pointer; }
.find-state { margin-top: 16px; color: var(--ink-2); font-size: 15px; }
.find-out { margin: 10px 0 0; padding: 0; list-style: none; max-width: 860px; border-top: 1px solid var(--line-soft); }
.find-hit { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.find-hit a { font-size: 18px; font-weight: 600; color: var(--ink); text-decoration: none; }
.find-hit a:hover { color: var(--line); text-decoration: underline; }
.find-room { margin-left: 10px; font-size: 13px; color: var(--line); }
.find-hit p { margin-top: 4px; color: var(--ink-2); font-size: 15px; }

.lost { margin: 40px auto 0; max-width: 900px; padding: 0 var(--gutter); }
.lost h1 { font-size: 40px; }
.lost p { margin-top: 12px; color: var(--ink-2); }
.lost-plan { margin: 18px 0 0; }

.foot-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; row-gap: 12px; align-items: start; }
.foot-id { display: flex; align-items: baseline; gap: 20px; }
.foot-mark { color: var(--ink); text-decoration: none; }
.foot-txt { font-size: 13.5px; line-height: 1.75; color: var(--ink-2); max-width: 44em; }
.foot-links { display: grid; grid-template-columns: repeat(2, auto); gap: 0 22px; }
.foot-links a { min-height: 44px; }
.foot-note { grid-column: 1 / -1; font-size: 13px; color: var(--ink-3); }

@media (max-width: 1179px) {
  .index-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .room-head-in { grid-template-columns: minmax(0, 1fr); }
  .rh-plan { display: none; }
  .doc-top { grid-template-columns: minmax(0, 1fr) 260px; column-gap: 28px; }
  .doc-grid { grid-template-columns: minmax(0, 1fr); }
  .toc { grid-column: 1; grid-row: auto; position: static; margin-bottom: 18px; max-width: 760px; }
  .prose { grid-row: auto; }
}

@media (max-width: 759px) {
  .index { margin: 40px 16px 0; padding: 0; }
  .index-grid { grid-template-columns: minmax(0, 1fr); border-left: 0; }
  .room-block { border-right: 0; padding: 14px 2px 16px; }
  .tags-home { margin: 40px 16px 0; padding: 0; }
  .room-head { margin: 0; border: 0; padding: 0 16px; }
  .room-head-in { border: 0; padding: 10px 0 4px; }
  .room-head h1 { font-size: 30px; }
  .rh-intro { font-size: 15px; }
  .room-list { margin: 18px 16px 0; padding: 0; }
  .rl-item { padding-left: 44px; }
  .rl-item::before { left: 0; }
  .rl-title { font-size: 17px; }
  .doc-top { grid-template-columns: minmax(0, 1fr); padding: 8px 16px 0; margin-top: 0; row-gap: 14px; }
  .doc-head { padding: 8px 16px 0; margin-top: 0; }
  .doc-head h1 { font-size: 27px; line-height: 1.32; }
  .article-cover { display: none; }
  .doc-grid { padding: 0 16px; margin-top: 20px; }
  .prose { font-size: 16.5px; line-height: 1.85; }
  .toc { padding: 10px 0 0; border: 0; border-top: 2px solid var(--line); background: none; margin-bottom: 14px; }
  .toc-h { border: 0; padding-bottom: 6px; font-size: 13px; }
  .toc-list ul { display: flex; gap: 8px; overflow-x: auto; margin: 0; padding: 2px 0 10px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
  .toc-list li { flex: none; scroll-snap-align: start; }
  .toc-list a {
    display: flex; gap: 6px; align-items: center; min-height: 40px; padding: 6px 12px; max-width: 15em;
    border: 1px solid var(--line-soft); border-radius: var(--r-ctl); background: var(--sheet);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px;
  }
  .toc-list a::before { flex: none; }
  .prose h2 { font-size: 22px; }
  .prose h3 { font-size: 18px; }
  .prose .tb .code { font-size: 36px; }
  .doc-after { padding: 0 16px; }
  .doc-turn { grid-template-columns: minmax(0, 1fr); }
  .turn-next { grid-column: 1; text-align: left; }
  .tool-head h1 { font-size: 28px; }
  .tool-box, .tool-guide, .find { padding: 0 16px; }
  .tw { grid-template-columns: minmax(0, 1fr); }
  .tw-in { border-right: 0; border-bottom: 1px solid var(--line); }
  .find-row { flex-direction: column; }
  .lost { padding: 0 16px; }
  .lost h1 { font-size: 30px; }
  .foot-in { grid-template-columns: minmax(0, 1fr); }
  .foot-id { flex-direction: column; gap: 8px; }
}

@media (max-width: 759px) {
  .okx-mark-hero { height: 48px; padding: 0 12px; font-size: 36px; }
  .okx-mark-hero img { height: 38px; }
  .brand-row { gap: 12px; margin-bottom: 14px; }
  .brand-note { font-size: 13px; line-height: 1.5; word-break: normal; }
  .okx-strip { grid-template-columns: minmax(0, 1fr); grid-template-areas: "code" "act" "note" "stamp"; padding: 16px; }
  .okx-strip .os-act { align-items: flex-start; padding-left: 0; }
  .okx-strip .copy-status { position: static; margin-top: 4px; text-align: left; }
  .okx-strip .os-stamp { padding-left: 0; border-top: 0; padding-top: 0; }
  .okx-strip .code { font-size: 34px; }
}

@media (max-width: 359px) {
  .tb .code { font-size: 36px; }
  .code-row { column-gap: 10px; }
}

@media (forced-colors: active) {
  .okx-mark { forced-color-adjust: none; background: #000; }
}
