/* roulang page: index */
:root {
  --bg: #241E1A;
  --paper: #F7F1E8;
  --ink: #241E1A;
  --muted: #6B625C;
  --plum: #5C3A6E;
  --celadon: #6F8F7A;
  --persimmon: #D4654A;
  --persimmon-hover: #B85039;
  --line: #E4D9CC;
  --card: #FFFBF7;
  --shadow: 0 8px 20px rgba(36,30,26,.08);
  --radius: 10px;
  --radius-sm: 6px;
  --header-h: 64px;
  --sidebar-w: 232px;
  --read: 42em;
  --font: "Noto Sans SC", "Source Han Sans SC", "Source Han Sans CN", system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button, input, textarea { font-family: inherit; font-size: 16px; }
a { color: var(--plum); text-underline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 700; line-height: 1.35; letter-spacing: 0; }
ul, ol { margin: 0; padding: 0; }
::selection { background: rgba(92,58,110,.18); }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; }
body::after {
  content: "";
  position: fixed;
  top: var(--header-h);
  right: 0;
  bottom: 0;
  width: 18px;
  pointer-events: none;
  background-image: repeating-linear-gradient(to bottom, transparent 0 27px, rgba(212,101,74,.55) 27px 28px);
  z-index: 5;
}
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--card);
  color: var(--ink);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  z-index: 80;
}
.skip:focus { top: 72px; }

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 40;
  background: var(--bg);
  color: var(--paper);
  border-bottom: 1px solid rgba(228,217,204,.22);
}
.topbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px 0 20px;
  max-width: 1240px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--paper);
  text-decoration: none;
  flex: 0 1 auto;
  min-width: 0;
}
.logo-mark {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 6px;
  background: var(--plum);
  box-shadow: inset 0 -7px 0 #F7F1E8;
}
.logo-text { font-weight: 700; font-size: 16px; line-height: 1.25; }
.icon-btn {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(228,217,204,.35);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--paper);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.icon-btn svg { width: 18px; height: 18px; display: block; }
.search-form { flex: 1 1 220px; max-width: 320px; min-width: 0; }
.search-form input, .page-search input, .field input, .field textarea {
  width: 100%;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  line-height: 1.5;
  box-shadow: none;
}
.search-form input::placeholder, .page-search input::placeholder, .field textarea::placeholder { color: var(--muted); }
.search-form input:hover, .page-search input:hover, .field input:hover, .field textarea:hover { border-color: #CDBFAE; }
.pill-group { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.pill-label { font-size: 13px; color: #E7DDD2; }
.pill {
  border: 1px solid rgba(228,217,204,.4);
  background: transparent;
  color: #E7DDD2;
  border-radius: 999px;
  min-height: 32px;
  padding: 2px 10px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.4;
}
.pill:hover { border-color: #F7F1E8; color: #fff; }
.pill.is-on, .pill[aria-pressed="true"] {
  background: var(--plum);
  border-color: var(--plum);
  color: #fff;
}
.site-links { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.site-links a {
  color: #E7DDD2;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
.site-links a:hover { color: #fff; }
.site-links a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--persimmon); }

.shell { padding-top: var(--header-h); }
.doc-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  bottom: 0;
  width: var(--sidebar-w);
  z-index: 30;
  background: #2C2622;
  color: #E7DDD2;
  overflow: auto;
  padding: 18px 0 28px;
  border-right: 1px solid rgba(228,217,204,.14);
}
.doc-nav h2 {
  font-size: 13px;
  font-weight: 700;
  color: #CDBFAE;
  padding: 0 16px 8px;
}
.doc-link {
  display: block;
  color: #E7DDD2;
  text-decoration: none;
  padding: 9px 16px 9px 18px;
  font-size: 15px;
  line-height: 1.5;
  border-left: 3px solid transparent;
}
.doc-link:hover { color: #fff; }
.doc-link.is-active {
  color: #fff;
  font-weight: 700;
  border-left-color: var(--plum);
  background: transparent;
}
.side-home { display: none; padding: 8px 16px 12px; border-bottom: 1px solid rgba(228,217,204,.14); margin-bottom: 10px; }
.side-home a { display: block; color: #F7F1E8; text-decoration: none; padding: 6px 0; font-weight: 700; }
.scrim {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: rgba(36,30,26,.45);
  z-index: 25;
  border: 0;
  padding: 0;
}
.main-wrap {
  margin-left: var(--sidebar-w);
  padding: 28px 36px 48px 28px;
  display: flex;
  justify-content: center;
}
.reader {
  width: 100%;
  max-width: var(--read);
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px 28px 12px;
}
.block { padding: 28px 0; border-bottom: 1px solid var(--line); }
.block:last-child { border-bottom: 0; }
.block h2 { font-size: 22px; margin-bottom: 8px; }
.lead { color: var(--ink); margin: 8px 0 16px; }
.kicker, .meta, .hint, .foot-note, .badge, .pill, .tc, .stat b + span { font-size: 13px; }
.kicker { color: var(--plum); font-weight: 700; margin-bottom: 8px; }
.sub { font-size: 18px; font-weight: 700; margin: 10px 0; }
h1 { font-size: 30px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; align-items: start; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.btn, .btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn { background: var(--persimmon); color: #FFF8F4; }
.btn:hover, .btn:active { background: var(--persimmon-hover); color: #fff; }
.btn-line { background: transparent; color: var(--plum); border-color: var(--plum); }
.btn-line:hover, .btn-line:active { background: rgba(92,58,110,.06); color: var(--plum); }
.cue-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--plum);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px 12px 10px;
}
.cue-head { display: flex; justify-content: space-between; align-items: center; font-weight: 700; margin-bottom: 6px; }
.cue-list { list-style: none; }
.cue-list li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}
.tc { font-family: var(--mono); color: var(--plum); white-space: nowrap; }
.scale {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}
.page-search { display: flex; gap: 8px; align-items: center; }
.page-search input { flex: 1; }
.result-head { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 0 8px; font-weight: 700; }
.result-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.result-list li, .news-list li, .card, .step, .scene, .anchor-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.result-list a, .case-card, .news-list a, .feature, .scene, .anchor-card, .dir-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
.result-row, .news-list a, .case-card { border-left: 3px solid var(--line); padding: 10px 12px; }
.result-row.is-ok, .case-card.is-ok, .bar-ok { border-left-color: var(--celadon); }
.result-row.is-wait, .case-card.is-wait, .bar-wait { border-left-color: var(--persimmon); }
.result-row.is-add, .case-card.is-add, .bar-add { border-left-color: var(--plum); }
.row-top, .case-top, .news-top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.row-title { font-weight: 700; }
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: #F3EBE1;
  white-space: nowrap;
}
.badge.ok { color: #2F4A3C; background: #E7F0EA; border-color: #C9DDD2; }
.badge.wait { color: #8A3B28; background: #FDE8E2; border-color: #F0C8BC; }
.badge.add { color: var(--plum); background: #F3EAF6; border-color: #E0D0E8; }
.row-text { color: var(--muted); margin-top: 4px; }
.empty { color: var(--persimmon); font-weight: 700; }

.bento { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.bento-lg { grid-row: span 2; border-left: 3px solid var(--plum); }
.bento-md { border-left: 3px solid var(--celadon); }
.bento-row { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr .9fr .85fr; gap: 12px; }
.card { padding: 12px; color: inherit; text-decoration: none; }
.card h3, .step h3, .scene h3, .anchor-card h3, .dir-card h3, .feature h3 { font-size: 16px; margin-bottom: 6px; }
.card p, .step p, .scene p, .anchor-card p, .dir-card p, .feature p, .case-card p { color: var(--muted); }
.mini { list-style: none; margin-top: 8px; }
.mini li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.bento-row .card:nth-child(1) { border-left: 3px solid var(--persimmon); }
.bento-row .card:nth-child(2) { border-left: 3px solid var(--plum); }
.bento-row .card:nth-child(3) { border-left: 3px solid var(--celadon); }
.card:hover, .case-card:hover, .news-list a:hover, .feature:hover, .scene:hover, .anchor-card:hover, .dir-card:hover, .result-list a:hover {
  border-color: #CDBFAE;
}

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px;
  border-top: 3px solid var(--plum);
}
.stat b { display: block; font-size: 28px; line-height: 1.2; color: var(--plum); font-weight: 700; }
.stat span { color: var(--muted); }

.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.step { padding: 10px; position: relative; border-top: 3px solid var(--plum); }
.step i { display: block; font-style: normal; font-family: var(--mono); color: var(--plum); font-weight: 700; font-size: 13px; }
@media (min-width: 769px) {
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 22px;
    right: -6px;
    width: 8px;
    border-top: 1px solid var(--line);
  }
}

.case-wall { columns: 2; column-gap: 12px; }
.case-card { break-inside: avoid; margin: 0 0 12px; }
.case-card p { margin-top: 6px; }

.scene-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.scene { padding: 12px; border-left: 3px solid var(--plum); }
.scene:nth-child(2) { border-left-color: var(--celadon); }
.scene:nth-child(3) { border-left-color: var(--persimmon); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; min-width: 280px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #F3EBE1; font-weight: 700; width: 28%; }
tr:last-child td, tr:last-child th { border-bottom: 0; }
td { color: var(--ink); }

.news-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 12px; align-items: start; }
.news-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.feature { padding: 12px; border-left: 3px solid var(--plum); height: 100%; }
.date { font-family: var(--mono); font-size: 13px; color: var(--muted); }

.dir-grid { display: grid; grid-template-columns: 1.15fr .85fr .85fr; gap: 10px; }
.dir-card { padding: 12px; border-left: 3px solid var(--line); }
.dir-card.main { border-left-color: var(--persimmon); background: #FFF8F4; }

.name-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.name-strip span {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  color: var(--ink);
  line-height: 1.5;
}
.promise, .anchor-grid, .foot-grid { display: grid; gap: 10px; }
.promise { grid-template-columns: repeat(3, 1fr); list-style: none; }
.promise li, .faq, .form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.promise li { border-left: 3px solid var(--persimmon); padding: 10px 12px; }
.promise li:nth-child(2) { border-left-color: var(--celadon); }
.promise li:nth-child(3) { border-left-color: var(--plum); }
.promise strong { display: block; }
.anchor-grid { grid-template-columns: 1fr 1fr; }
.anchor-card { padding: 12px; border-left: 3px solid var(--plum); }
.anchor-card:nth-child(even) { border-left-color: var(--celadon); }
.faq { margin-bottom: 8px; }
.faq summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  padding: 12px 42px 12px 14px;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 14px;
  top: 8px;
  color: var(--plum);
  font-size: 22px;
  line-height: 1;
}
.faq[open] summary::after { content: "−"; }
.faq-a {
  padding: 12px 14px 14px;
  background: #EFE6DA;
  border-top: 1px solid var(--line);
}
.form-card { padding: 14px; border-top: 3px solid var(--persimmon); }
.form-grid { display: grid; gap: 10px; }
.field { display: flex; flex-direction: column; gap: 4px; font-weight: 700; }
.field span { font-weight: 700; }
.form-error { color: var(--persimmon); font-weight: 700; min-height: 1.5em; }
.form-ok { color: #2F4A3C; font-weight: 700; }
.badge { border-radius: var(--radius-sm); }
.doc-link.sublink { padding-left: 30px; font-size: 14px; }
.nav-tools { display: none; padding: 8px 16px 12px; }
.nav-tools .pill-group { margin: 8px 0; flex-wrap: wrap; }
.scrim { display: none; }
.scrim.is-on { display: block; }
.site-footer {
  margin-left: var(--sidebar-w);
  background: #1C1815;
  color: #E7DDD2;
  padding: 28px 36px 36px 28px;
}
.foot-grid { grid-template-columns: 1.3fr .8fr .9fr .8fr; max-width: 1240px; }
.site-footer h2 { font-size: 16px; color: #F7F1E8; margin-bottom: 8px; }
.site-footer a { color: #E7DDD2; text-decoration: none; display: block; padding: 3px 0; }
.site-footer a:hover { color: #fff; }
.site-footer p { color: #CDBFAE; }
.copyright { margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(228,217,204,.2); color: #CDBFAE; font-size: 13px; }
.block { scroll-margin-top: 80px; }
@media (max-width: 1023px) {
  body::after { display: none; }
  .icon-btn { display: inline-flex; }
  .topbar .search-form, .topbar .pill-group, .site-links { display: none; }
  .topbar .search-form.is-open {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    max-width: none;
    padding: 10px 12px 12px;
    background: #241E1A;
    z-index: 50;
  }
  .doc-nav { transform: translateX(-105%); transition: transform .2s ease; width: min(86vw, 300px); }
  .doc-nav.is-open { transform: none; }
  .nav-tools, .side-home { display: block; }
  .main-wrap, .site-footer { margin-left: 0; padding: 16px 16px 32px; }
  .stat-grid, .process { grid-template-columns: 1fr 1fr; }
  .promise { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  h1 { font-size: 26px; }
  .reader { padding: 4px 14px 8px; }
  .hero-grid, .bento, .bento-row, .scene-row, .news-grid, .dir-grid, .anchor-grid, .foot-grid, .process { grid-template-columns: 1fr; }
  .bento-lg { grid-row: auto; }
  .case-wall { columns: 1; }
  .page-search { flex-direction: column; align-items: stretch; }
  .logo-text { font-size: 14px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .topbar-inner { padding: 0 10px; gap: 8px; }
  .row-top, .case-top, .news-top, .cue-list li { flex-direction: column; align-items: flex-start; }
  .block { padding: 22px 0; }
  .btn, .btn-line { width: 100%; }
}

/* roulang page: category1 */
:root {
 --bg: #241E1A;
 --paper: #F7F1E8;
 --ink: #241E1A;
 --muted: #6B625C;
 --plum: #5C3A6E;
 --celadon: #6F8F7A;
 --persimmon: #D4654A;
 --persimmon-hover: #B85039;
 --line: #E4D9CC;
 --card: #FFFBF7;
 --shadow: 0 8px 20px rgba(36,30,26,.08);
 --radius: 10px;
 --radius-sm: 6px;
 --header-h: 64px;
 --sidebar-w: 232px;
 --read: 42em;
 --font: "Noto Sans SC", "Source Han Sans SC", "Source Han Sans CN", system-ui, sans-serif;
 --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
/* roulang page: category1 */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
 margin: 0;
 font-family: var(--font);
 font-size: 16px;
 line-height: 1.8;
 color: var(--ink);
 background: var(--bg);
 -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button, input, textarea, select { font-family: inherit; font-size: 16px; }
a { color: var(--plum); text-underline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 32px; line-height: 1.35; font-weight: 700; letter-spacing: 0; }
h2 { font-size: 20px; line-height: 1.45; font-weight: 700; letter-spacing: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; }
.sr-only {
 position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
 overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
body::after {
 content: "";
 position: fixed;
 top: var(--header-h);
 right: 0;
 bottom: 0;
 width: 18px;
 pointer-events: none;
 background-image: repeating-linear-gradient(to bottom, transparent 0 27px, rgba(212,101,74,.55) 27px 28px);
 z-index: 5;
}
.topbar {
 position: fixed;
 inset: 0 0 auto 0;
 height: var(--header-h);
 z-index: 40;
 background: var(--bg);
 color: var(--paper);
 border-bottom: 1px solid rgba(228,217,204,.22);
}
.topbar-inner {
 height: 100%;
 display: flex;
 align-items: center;
 gap: 12px;
 padding: 0 16px 0 20px;
 max-width: 1240px;
 margin: 0 auto;
}
.logo {
 display: flex;
 align-items: center;
 gap: 8px;
 color: var(--paper);
 text-decoration: none;
 flex: 0 1 auto;
 min-width: 0;
}
.logo-mark {
 width: 22px;
 height: 22px;
 flex: 0 0 22px;
 border-radius: 6px;
 background: var(--plum);
 box-shadow: inset 0 -7px 0 #F7F1E8;
}
.logo-text { font-weight: 700; font-size: 16px; line-height: 1.25; white-space: nowrap; }
.icon-btn {
 display: none;
 width: 40px;
 height: 40px;
 border: 1px solid rgba(228,217,204,.35);
 border-radius: var(--radius-sm);
 background: transparent;
 color: var(--paper);
 align-items: center;
 justify-content: center;
 cursor: pointer;
 flex: 0 0 auto;
}
.icon-btn svg { width: 18px; height: 18px; display: block; }
.icon-btn:hover { border-color: #F7F1E8; color: #fff; }
.search-form { flex: 1 1 220px; max-width: 320px; min-width: 0; }
.search-form input, .field input, .field textarea, .filter-field select {
 width: 100%;
 background: var(--card);
 color: var(--ink);
 border: 1px solid var(--line);
 border-radius: var(--radius-sm);
 padding: 8px 12px;
 line-height: 1.5;
 box-shadow: none;
}
.search-form input::placeholder { color: var(--muted); }
.search-form input:hover, .filter-field select:hover { border-color: #CDBFAE; }
.pill-group { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.pill-label { font-size: 13px; color: #E7DDD2; }
.pill {
 border: 1px solid rgba(228,217,204,.4);
 background: transparent;
 color: #E7DDD2;
 border-radius: 999px;
 min-height: 32px;
 padding: 2px 10px;
 cursor: pointer;
 font-size: 13px;
 line-height: 1.4;
}
.pill:hover { border-color: #F7F1E8; color: #fff; }
.pill.is-on, .pill[aria-pressed="true"] {
 background: var(--plum);
 border-color: var(--plum);
 color: #fff;
}
.site-links { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.site-links a {
 color: #E7DDD2;
 text-decoration: none;
 font-size: 14px;
 font-weight: 500;
 min-height: 40px;
 display: inline-flex;
 align-items: center;
}
.site-links a:hover { color: #fff; }
.site-links a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--persimmon); }
.doc-nav {
 position: fixed;
 top: var(--header-h);
 left: 0;
 bottom: 0;
 width: var(--sidebar-w);
 z-index: 30;
 background: #2C2622;
 color: #E7DDD2;
 overflow: auto;
 padding: 18px 0 28px;
 border-right: 1px solid rgba(228,217,204,.14);
}
.doc-nav h2 {
 font-size: 13px;
 font-weight: 700;
 color: #CDBFAE;
 padding: 14px 16px 8px;
 margin: 0;
}
.side-home a, .doc-nav .side-link {
 display: block;
 color: #E7DDD2;
 text-decoration: none;
 padding: 8px 16px 8px 18px;
 border-left: 3px solid transparent;
 font-size: 14px;
 line-height: 1.5;
}
.side-home a { color: #F7F1E8; font-weight: 700; }
.doc-nav .side-link:hover, .side-home a:hover { color: #fff; }
.doc-nav .side-link.is-current {
 border-left-color: var(--plum);
 color: #fff;
 font-weight: 700;
 background: transparent;
}
.mobile-tools { display: none; padding: 8px 16px 0; gap: 10px; }
.nav-mask {
 position: fixed;
 inset: var(--header-h) 0 0 0;
 background: rgba(36,30,26,.45);
 border: 0;
 z-index: 25;
 cursor: pointer;
}
.main-wrap {
 margin-left: var(--sidebar-w);
 margin-top: var(--header-h);
 min-height: calc(100vh - var(--header-h));
 background: var(--paper);
 padding: 28px 36px 12px 28px;
 display: flex;
 justify-content: center;
}
.read { width: 100%; max-width: var(--read); }
.block { padding: 22px 0 26px; border-bottom: 1px solid var(--line); }
.block:nth-child(even) {
 background: #F3EBDF;
 margin-left: -16px;
 margin-right: -16px;
 padding-left: 16px;
 padding-right: 16px;
 border-radius: var(--radius);
}
.kicker, .hint, .crumb { font-size: 13px; color: var(--muted); }
.crumb { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 10px; }
.crumb a { color: var(--plum); text-decoration: none; font-weight: 500; }
.crumb a:hover { text-decoration: underline; }
.lead { margin-top: 8px; line-height: 1.8; }
.ruler {
 display: flex;
 justify-content: space-between;
 margin-top: 14px;
 border-top: 1px solid var(--persimmon);
 color: var(--muted);
 font-family: var(--mono);
 font-size: 13px;
}
.ruler span { position: relative; padding-top: 6px; }
.ruler span::before {
 content: "";
 position: absolute;
 top: -5px;
 left: 0;
 width: 1px;
 height: 5px;
 background: var(--persimmon);
}
.filter-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin-bottom: 12px; }
.filter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.filter-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 500; }
.filter-field select {
 appearance: none;
 min-height: 40px;
 padding-right: 32px;
 background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1.2l5 5 5-5' stroke='%235C3A6E' stroke-width='1.6' fill='none'/></svg>");
 background-repeat: no-repeat;
 background-position: right 10px center;
 cursor: pointer;
}
.list-head, .doc-row a {
 display: grid;
 grid-template-columns: 1.4fr .95fr .72fr .55fr .85fr auto;
 gap: 8px;
 align-items: center;
}
.list-head {
 color: var(--muted);
 font-size: 13px;
 padding: 0 14px 8px;
 border-bottom: 1px solid var(--line);
 margin-bottom: 8px;
}
.doc-list { display: flex; flex-direction: column; gap: 8px; }
.doc-row {
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 border-left: 3px solid var(--line);
 overflow: hidden;
}
.doc-row.is-ok { border-left-color: var(--celadon); }
.doc-row.is-wait { border-left-color: var(--persimmon); }
.doc-row.is-add { border-left-color: var(--plum); }
.doc-row a {
 text-decoration: none;
 color: inherit;
 padding: 12px 14px;
 transition: background-color .15s ease;
}
.doc-row a:hover { background: #FFF7F1; }
.row-title { font-weight: 700; line-height: 1.45; }
.tc { font-family: var(--mono); font-size: 13px; color: var(--ink); }
.meta-bit { font-size: 13px; color: var(--muted); }
.badge {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 22px;
 padding: 0 8px;
 border-radius: 999px;
 font-size: 13px;
 font-weight: 700;
 white-space: nowrap;
}
.badge-ok { color: #3E624E; background: #E5F0E8; }
.badge-wait { color: #8A3E2C; background: #F8E6DF; }
.badge-add { color: #5C3A6E; background: #F0E8F4; }
.empty {
 padding: 16px 14px;
 color: var(--muted);
 background: var(--card);
 border: 1px dashed var(--line);
 border-radius: var(--radius);
}
.scope-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 16px; align-items: start; margin-top: 8px; }
.scope-grid p + p { margin-top: 10px; }
.scope-side { display: flex; flex-direction: column; gap: 8px; }
.scope-side li, .bar-ok, .bar-wait, .bar-add {
 background: var(--card);
 border: 1px solid var(--line);
 border-left-width: 3px;
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 10px 12px;
 font-size: 14px;
}
.bar-ok { border-left-color: var(--celadon); }
.bar-wait { border-left-color: var(--persimmon); }
.bar-add { border-left-color: var(--plum); }
.spec-table {
 width: 100%;
 border-collapse: separate;
 border-spacing: 0;
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 overflow: hidden;
 box-shadow: var(--shadow);
 margin-top: 8px;
}
.spec-table th, .spec-table td {
 text-align: left;
 vertical-align: top;
 padding: 10px 12px;
 border-bottom: 1px solid var(--line);
 font-weight: 400;
 line-height: 1.7;
}
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 5.5em; font-weight: 700; color: var(--plum); background: #FFF7F1; }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 12px 0; }
.stat-row p {
 margin: 0;
 background: var(--card);
 border: 1px solid var(--line);
 border-left: 3px solid var(--plum);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 12px 14px;
}
.stat-row b { display: block; font-size: 28px; line-height: 1.2; color: var(--plum); font-weight: 700; }
.stat-row span { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
.faq-list { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.faq-q {
 width: 100%;
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 12px;
 text-align: left;
 background: var(--card);
 color: var(--ink);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 min-height: 48px;
 padding: 10px 14px;
 font-weight: 700;
 cursor: pointer;
 box-shadow: var(--shadow);
}
.faq-q:hover { border-color: #CDBFAE; }
.faq-item.is-open .faq-q { border-radius: 10px 10px 0 0; box-shadow: none; }
.faq-a {
 background: #EFE6DA;
 border: 1px solid var(--line);
 border-top: 0;
 border-radius: 0 0 10px 10px;
 padding: 12px 14px 14px;
 line-height: 1.75;
}
.faq-mark { width: 1em; flex: 0 0 auto; color: var(--plum); font-family: var(--mono); font-size: 20px; line-height: 1; }
.faq-mark::before { content: "+"; }
.faq-item.is-open .faq-mark::before { content: "−"; }
.more-row { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-top: 8px; }
.more-links { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.more-links a { color: var(--plum); font-weight: 500; }
.more-links a:hover { color: var(--persimmon-hover); }
.btn, .btn-line {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 40px;
 padding: 0 14px;
 border-radius: var(--radius-sm);
 text-decoration: none;
 font-weight: 700;
 border: 1px solid transparent;
 cursor: pointer;
 transition: background-color .15s ease, border-color .15s ease, color .15s ease;
 white-space: nowrap;
}
.btn { background: var(--persimmon); color: #FFF8F4; }
.btn:hover, .btn:active { background: var(--persimmon-hover); color: #fff; }
.btn-line { background: transparent; color: var(--plum); border-color: var(--plum); }
.btn-line:hover, .btn-line:active { background: rgba(92,58,110,.06); color: var(--plum); }
.site-footer {
 margin-left: var(--sidebar-w);
 background: var(--bg);
 color: #E7DDD2;
 border-top: 1px solid rgba(228,217,204,.18);
 padding: 8px 20px 24px;
}
.foot-grid {
 display: grid;
 grid-template-columns: 1.3fr .8fr .9fr .7fr;
 gap: 18px 22px;
 max-width: 920px;
 margin: 0 auto;
 padding: 22px 0 8px;
}
.site-footer h2 { font-size: 14px; color: #CDBFAE; margin-bottom: 8px; }
.site-footer p { color: #E7DDD2; font-size: 14px; line-height: 1.7; }
.site-footer a { display: block; color: #E7DDD2; text-decoration: none; padding: 3px 0; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.copyright {
 max-width: 920px;
 margin: 8px auto 0;
 padding-top: 12px;
 border-top: 1px solid rgba(228,217,204,.18);
 color: #CDBFAE;
 font-size: 13px;
}
@media (max-width: 1023px) {
 .icon-btn { display: inline-flex; }
 .search-form, .topbar .pill-group, .site-links { display: none; }
 .logo { flex: 1 1 auto; }
 .topbar.is-search .search-form {
  display: block;
  position: absolute;
  left: 12px;
  right: 12px;
  top: calc(var(--header-h) + 8px);
  max-width: none;
  z-index: 45;
 }
 .doc-nav {
  transform: translateX(-105%);
  transition: transform .2s ease;
  width: min(80vw, 280px);
  box-shadow: var(--shadow);
 }
 .doc-nav.is-open { transform: translateX(0); }
 .mobile-tools { display: flex; flex-direction: column; }
 .main-wrap, .site-footer { margin-left: 0; }
 .main-wrap { padding: 20px 16px 8px; }
 .stat-row { grid-template-columns: 1fr 1fr; }
 .filter-grid, .scope-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
 .list-head { display: none; }
 .doc-row a {
  grid-template-columns: 1fr;
  justify-items: start;
  gap: 2px;
 }
 .foot-grid { grid-template-columns: 1fr 1fr; }
 .scope-grid { grid-template-columns: 1fr; }
 h1 { font-size: 28px; }
}
@media (max-width: 520px) {
 .filter-grid, .stat-row, .foot-grid { grid-template-columns: 1fr; }
 .more-row { flex-direction: column; align-items: stretch; }
 .btn { width: 100%; }
 h1 { font-size: 26px; }
 .logo-text { font-size: 15px; }
 .main-wrap { padding-right: 22px; }
}
