/* ==========================================================================
   天美app · 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base
   -------------------------------------------------------------------------- */
:root {
  --paper: #f6f4ef;
  --ink: #141414;
  --orange: #ff4a1c;
  --pine: #0f5b4f;
  --linen: #e6e1d6;
  --gray-ink: #5b5b56;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, monospace;
  --container: 1080px;
  --reading: 720px;
  --line: 1px solid var(--ink);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.85;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

body.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
  color: var(--ink);
}

h1 {
  font-size: 42px;
  line-height: 1.25;
}

h2 {
  font-size: 26px;
  line-height: 1.35;
}

h3 {
  font-size: 19px;
  line-height: 1.45;
}

p {
  margin: 0 0 18px;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-thickness 0.15s ease, transform 0.15s ease;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

figcaption {
  margin-top: 8px;
  color: var(--gray-ink);
  font-size: 13px;
  line-height: 1.6;
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}

strong {
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   layout
   -------------------------------------------------------------------------- */
.site-main {
  flex: 1 0 auto;
  width: 100%;
}

.home-main,
.inner-main,
.error-main {
  display: block;
}

.inner-main,
.home-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 72px;
}

.home-main {
  padding-top: 8px;
}

.inner-main {
  padding-top: 20px;
}

.error-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px 24px 96px;
}

/* 页头与导航 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-bottom: var(--line);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.brand:hover {
  text-decoration: none;
}

.brand-name {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
}

.brand-slogan {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gray-ink);
  text-transform: uppercase;
}

.primary-nav {
  margin-left: auto;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.primary-nav li {
  display: flex;
  align-items: center;
}

.primary-nav li + li::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 14px;
  background: var(--ink);
  margin: 0 14px;
  opacity: 0.5;
}

.primary-nav a {
  display: inline-block;
  padding: 6px 0;
  font-size: 15px;
  line-height: 1.4;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  color: var(--ink);
}

.primary-nav a:hover {
  border-bottom-color: var(--linen);
}

.primary-nav a.is-current {
  font-weight: 700;
  border-bottom-color: var(--orange);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: var(--line);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

/* 面包屑 */
.breadcrumb {
  font-size: 13px;
  color: var(--gray-ink);
  padding: 16px 0 8px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.breadcrumb a {
  color: var(--gray-ink);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.breadcrumb-sep {
  color: var(--gray-ink);
}

.breadcrumb-current {
  color: var(--ink);
}

/* 页面标题区 */
.page-header {
  padding: 8px 0 24px;
  border-bottom: var(--line);
  margin-bottom: 40px;
}

.page-title {
  font-size: 40px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--ink);
  max-width: 900px;
}

.page-head,
.page-title,
.page-title-block {
  max-width: 100%;
}

.page-head {
  margin-bottom: 40px;
}

.section-label,
.page-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 10px;
}

.page-summary,
.page-lead {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
  max-width: var(--reading);
  margin: 0;
}

.page-title-block {
  padding: 4px 0 24px;
  border-bottom: var(--line);
  margin-bottom: 40px;
}

.page-title-block .section-label {
  margin-bottom: 8px;
}

/* 通用双栏 */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: start;
}

.layout-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: start;
}

/* 页脚 */
.site-footer {
  background: var(--paper);
  border-top: var(--line);
  margin-top: 40px;
  flex-shrink: 0;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-group {
  min-width: 0;
}

.footer-brand {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
}

.footer-group > p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-ink);
  margin: 0 0 10px;
}

.footer-title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 700;
  margin: 0 0 14px;
}

.footer-group ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-group li a {
  font-size: 14px;
  text-decoration: none;
  color: var(--ink);
  display: block;
  line-height: 1.5;
}

.footer-group li a:hover {
  text-decoration: underline;
}

.footer-group li span {
  display: block;
  font-size: 12px;
  color: var(--gray-ink);
  line-height: 1.5;
  margin-top: 2px;
}

.footer-note {
  font-size: 12px;
  line-height: 1.7;
  color: var(--gray-ink);
  margin: 16px 0 0;
}

.footer-bottom {
  border-top: var(--line);
}

.footer-bottom p {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 24px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--gray-ink);
}

/* --------------------------------------------------------------------------
   components
   -------------------------------------------------------------------------- */
/* section 头部 */
.section-head {
  margin-bottom: 28px;
}

.section-head .eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 8px;
}

.section-head h2 {
  margin: 0 0 10px;
  max-width: 760px;
}

.section-head > p:last-child {
  max-width: var(--reading);
  color: var(--gray-ink);
  font-size: 16px;
  line-height: 1.75;
  margin: 0;
}

/* 通用 section 间距 */
.home-main > section,
.inner-main > section,
.inner-main > div.page-layout {
  padding: 48px 0;
  border-bottom: var(--line);
}

.home-main > section:last-child,
.inner-main > section:last-child,
.inner-main > div.page-layout:last-child {
  border-bottom: none;
}

/* 折叠问答 */
.faq details {
  border: var(--line);
  background: var(--paper);
  margin-bottom: 12px;
  border-radius: 4px;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  padding-right: 56px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 22px;
  line-height: 1;
  color: var(--orange);
  font-weight: 400;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details > p {
  padding: 0 20px 18px;
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
}

/* 表格 */
.table-scroll {
  overflow-x: auto;
  border: var(--line);
  background: var(--paper);
  -webkit-overflow-scrolling: touch;
}

.table-hint,
.scroll-hint {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--gray-ink);
  margin: 0 0 10px;
}

.table-scroll .table-hint {
  margin: 12px 14px 0;
}

.data-table,
.dimension-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.7;
}

.data-table caption,
.dimension-table caption {
  text-align: left;
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--gray-ink);
  border-bottom: var(--line);
}

.data-table thead th,
.dimension-table thead th {
  background: var(--pine);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
  padding: 12px 14px;
  font-weight: 700;
  white-space: nowrap;
}

.data-table tbody th,
.data-table tbody td,
.dimension-table tbody th,
.dimension-table tbody td {
  padding: 14px;
  border-top: var(--line);
  vertical-align: top;
  text-align: left;
}

.data-table tbody th,
.dimension-table tbody th {
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.data-table tbody td,
.dimension-table tbody td {
  color: var(--ink);
}

.data-table tbody tr:first-child th,
.data-table tbody tr:first-child td,
.dimension-table tbody tr:first-child th,
.dimension-table tbody tr:first-child td {
  border-top: none;
}

.table-note,
.table-foot {
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray-ink);
  margin: 12px 0 0;
}

/* 结论块 */
.conclusion {
  margin-top: 28px;
  padding: 20px 22px;
  background: var(--paper);
  border-left: 3px solid var(--pine);
  border-top: var(--line);
  border-right: var(--line);
  border-bottom: var(--line);
  border-radius: 0 4px 4px 0;
}

.conclusion p {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.75;
}

.conclusion p:last-of-type {
  color: var(--gray-ink);
}

.conclusion a {
  font-size: 14px;
}

/* 交叉入口 */
.cross-links ul,
.cross-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.cross-links li,
.cross-list li {
  border: var(--line);
  padding: 16px 18px;
  border-radius: 4px;
  background: var(--paper);
}

.cross-links li a,
.cross-list li a {
  display: block;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 6px;
  text-decoration: none;
}

.cross-links li a:hover,
.cross-list li a:hover {
  text-decoration: underline;
}

.cross-links li span,
.cross-list li span {
  display: block;
  font-size: 13px;
  line-height: 1.6;
  color: var(--gray-ink);
}

/* 步骤清单通用 */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 2px solid var(--linen);
  padding-left: 0;
  margin-left: 22px;
}

.step,
.step-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  position: relative;
}

.step-no,
.step-item .step-no {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  border-radius: 4px;
  margin-left: -23px;
  flex-shrink: 0;
}

.step-body h3 {
  font-size: 18px;
  margin: 0 0 6px;
}

.step-body p {
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 6px;
  color: var(--ink);
}

.step-standard {
  font-size: 13px;
  color: var(--gray-ink);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

/* 卡片通用 */
.result-card,
.strip-card,
.zone-pick-card,
.topic-card,
.role-card,
.usage-card {
  background: var(--paper);
  border: var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.card-media,
.zone-pick-card .card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--linen);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   pages
   -------------------------------------------------------------------------- */

/* 首页 · 首屏 */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px;
  align-items: start;
  padding-top: 40px;
  padding-bottom: 56px;
}

.hero-copy {
  min-width: 0;
}

.hero-copy .eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 16px;
}

.hero-copy h1 {
  font-size: 42px;
  line-height: 1.25;
  margin: 0 0 18px;
  max-width: 640px;
}

.hero-lead {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
  max-width: 620px;
  margin: 0 0 28px;
}

.path-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: var(--line);
}

.path-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: var(--line);
}

.path-no {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.06em;
  padding-top: 2px;
}

.path-question {
  grid-column: 2;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 4px;
}

.path-desc {
  grid-column: 2;
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-ink);
  margin: 0 0 8px;
}

.path-item a {
  grid-column: 2;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  align-self: start;
}

.path-item a::after {
  content: " →";
  color: var(--orange);
}

.path-item a:hover {
  text-decoration: underline;
}

.hero-visual {
  position: relative;
  margin: 0;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: var(--line);
  border-radius: 6px;
}

.hero-visual figcaption {
  margin-top: 10px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.hero-tags li {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: var(--line);
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--linen);
  color: var(--ink);
}

/* 首页 · 内容台 */
.console-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.console-layout.sidebar-left {
  grid-template-columns: 300px minmax(0, 1fr);
}

.panel {
  background: var(--linen);
  border: var(--line);
  border-radius: 6px;
  padding: 22px 22px 20px;
  position: sticky;
  top: 88px;
}

.panel-title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: var(--line);
}

.panel-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.panel-list li {
  border-bottom: 1px solid rgba(20, 20, 20, 0.25);
}

.panel-list li:last-child {
  border-bottom: none;
}

.panel-list a {
  display: block;
  padding: 12px 0;
  font-size: 15px;
  text-decoration: none;
  color: var(--ink);
  line-height: 1.4;
}

.panel-list a::after {
  content: "→";
  float: right;
  color: var(--orange);
  font-family: var(--font-mono);
}

.panel-list a:hover {
  text-decoration: underline;
}

.panel-note {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(20, 20, 20, 0.25);
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray-ink);
}

.results {
  min-width: 0;
}

.results-title {
  font-size: 19px;
  margin: 0 0 18px;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.result-card {
  display: flex;
  flex-direction: column;
}

.result-card figure,
.result-card .result-media {
  margin: 0;
}

.result-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: var(--line);
}

.result-card .tag,
.result-card .card-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 12px 16px 4px;
}

.result-card h3,
.result-card .result-name {
  font-size: 16px;
  margin: 0 16px 6px;
  line-height: 1.45;
}

.result-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray-ink);
  margin: 0 16px 12px;
}

.result-check {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--pine);
  margin: auto 16px 14px;
  padding-top: 10px;
  border-top: var(--line);
  text-transform: uppercase;
}

/* 首页 · 片单横向带 */
.topics-strip {
  padding-top: 48px;
}

.strip-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.strip {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  flex: 1 1 auto;
  min-width: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.strip > li {
  flex: 0 0 300px;
  scroll-snap-align: start;
  min-width: 0;
}

.strip::-webkit-scrollbar {
  height: 6px;
}

.strip::-webkit-scrollbar-thumb {
  background: var(--linen);
  border-radius: 3px;
}

.strip-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.strip-card a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  height: 100%;
}

.strip-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: var(--line);
}

.strip-card .strip-count,
.strip-card .card-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 12px 16px 4px;
}

.strip-card h3 {
  font-size: 16px;
  margin: 0 16px 6px;
  line-height: 1.45;
}

.strip-card p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray-ink);
  margin: 0 16px 16px;
}

.strip-card a:hover h3 {
  text-decoration: underline;
}

.strip-btn {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: var(--line);
  border-radius: 4px;
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.strip-btn:hover {
  background: var(--linen);
}

.strip-btn[disabled] {
  opacity: 0.35;
  cursor: not-allowed;
}

.strip-prev::before {
  content: "←";
}

.strip-next::before {
  content: "→";
}

.strip-progress {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--gray-ink);
  margin: 14px 0 0;
  text-align: right;
}

/* 首页 · 榜单摘要 */
.ledger-list {
  display: flex;
  flex-direction: column;
  border-top: var(--line);
  margin-bottom: 32px;
}

.ledger-list li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: var(--line);
  align-items: baseline;
}

.ledger-no {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.04em;
}

.ledger-name {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px;
  line-height: 1.5;
}

.ledger-reason {
  grid-column: 2;
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-ink);
  margin: 0;
}

/* 首页 · 四步核验 */
.feedback-note {
  margin-top: 24px;
  padding: 16px 18px;
  background: var(--linen);
  border-left: 3px solid var(--pine);
  border-radius: 0 4px 4px 0;
  font-size: 14px;
  line-height: 1.75;
}

/* 首页 · 双栏摘要 */
.brief-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.brief-block {
  min-width: 0;
}

.brief-block h3 {
  font-size: 18px;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: var(--line);
}

.brief-block h3 a {
  text-decoration: none;
  color: var(--ink);
}

.brief-block h3 a:hover {
  text-decoration: underline;
}

.radar-nodes {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
}

.radar-nodes li {
  padding: 12px 14px;
  background: var(--linen);
  border-radius: 4px;
  border-left: 3px solid var(--pine);
}

.node-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pine);
  display: block;
  margin-bottom: 4px;
  font-weight: 700;
}

.radar-nodes li p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.brief-foot {
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray-ink);
  margin: 0;
}

.method-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
}

.method-role {
  padding: 12px 14px;
  border: var(--line);
  border-radius: 4px;
}

.method-role h4 {
  font-size: 15px;
  margin: 0 0 4px;
}

.method-role p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-ink);
  margin: 0;
}

/* 内页 · 分区总览表 */
.zones-overview > p {
  max-width: var(--reading);
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 16px;
}

.zones-overview h2,
.rule-section h2,
.zone-picks h2,
.zone-notes h2,
.cross-links h2,
.topics-strip h2,
.topic-body h2,
.topic-extra h2,
.topic-compare h2,
.radar-timeline h2,
.radar-table-block h2,
.caliber-main h2,
.caliber-advice h2,
.radar-usage h2,
.cross-entry h2,
.rank-list h2,
.dimension-section h2,
.boundary-section h2,
.verify-steps h2,
.exception-table h2,
.report h2,
.faq h2,
.method-roles h2,
.method-flow h2,
.method-judge h2,
.method-boundary h2 {
  margin: 0 0 16px;
  padding-top: 0;
  font-size: 26px;
}

/* 内页 · 归类规则区 */
.rule-layout {
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
}

.rule-main {
  min-width: 0;
}

.rule-main h3 {
  font-size: 19px;
  margin: 0 0 16px;
}

.rule-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rule-list li {
  padding: 18px 20px;
  background: var(--paper);
  border: var(--line);
  border-radius: 4px;
}

.rule-name {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.5;
}

.rule-list li > p:last-child {
  font-size: 14px;
  line-height: 1.75;
  color: var(--gray-ink);
  margin: 0;
}

.rule-example {
  min-width: 0;
  background: var(--linen);
  border: var(--line);
  border-radius: 6px;
  padding: 20px;
}

.rule-example h3 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.rule-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: var(--line);
  border-radius: 4px;
}

.example-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}

.example-list li {
  padding-top: 14px;
  border-top: 1px solid rgba(20, 20, 20, 0.25);
}

.example-name {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 4px;
}

.example-list li > p:last-child {
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray-ink);
  margin: 0;
}

/* 内页 · 代表条目网格 */
.zone-picks > p {
  max-width: var(--reading);
  font-size: 16px;
  line-height: 1.75;
  color: var(--gray-ink);
  margin: 0 0 20px;
}

.zone-pick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.zone-pick-card {
  display: flex;
  flex-direction: column;
}

.zone-pick-card .card-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 14px 18px 4px;
}

.zone-pick-card h3 {
  font-size: 17px;
  margin: 0 18px 8px;
  line-height: 1.45;
}

.zone-pick-card > p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-ink);
  margin: 0 18px 12px;
}

.card-link {
  margin: auto 18px 16px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  align-self: flex-start;
}

.card-link::after {
  content: " →";
  color: var(--orange);
}

.card-link:hover {
  text-decoration: underline;
}

/* 内页 · 分区备注 */
.note-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.note-list li {
  padding: 18px 20px;
  border: var(--line);
  border-radius: 4px;
  background: var(--paper);
}

.note-name {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px;
}

.note-list li > p:last-child {
  font-size: 14px;
  line-height: 1.75;
  color: var(--gray-ink);
  margin: 0;
}

/* 专题观察页 */
.topics-strip .strip-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.strip-head h2 {
  margin: 0;
}

.strip-head p {
  font-size: 14px;
  color: var(--gray-ink);
  margin: 0;
  max-width: 480px;
}

.strip-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}

.strip-list {
  display: flex;
  gap: 20px;
}

.strip-track .strip-list > li {
  flex: 0 0 300px;
  scroll-snap-align: start;
  min-width: 0;
}

.topic-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.topic-cover {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--linen);
  border-bottom: var(--line);
}

.topic-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topic-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 12px 16px 4px;
}

.topic-card h3 {
  font-size: 16px;
  margin: 0 16px 4px;
  line-height: 1.45;
}

.topic-card h3 a {
  text-decoration: none;
  color: var(--ink);
}

.topic-card h3 a:hover {
  text-decoration: underline;
}

.topic-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--gray-ink);
  margin: 0 16px 6px;
}

.topic-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray-ink);
  margin: 0 16px 16px;
}

.strip-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 14px;
}

.strip-controls .strip-progress {
  margin: 0 0 0 6px;
  text-align: right;
  flex: 1 1 auto;
}

/* 专题正文 */
.section-lead {
  font-size: 16px;
  line-height: 1.75;
  color: var(--gray-ink);
  max-width: var(--reading);
  margin: 0 0 24px;
}

.topic-list {
  min-width: 0;
}

.order-list {
  display: flex;
  flex-direction: column;
  border-top: var(--line);
}

.order-list li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: var(--line);
  align-items: baseline;
}

.order-no {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.04em;
}

.order-body h3,
.order-body .order-name {
  font-size: 16px;
  margin: 0 0 4px;
  line-height: 1.5;
}

.order-body p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-ink);
  margin: 0;
}

.order-note {
  font-size: 12px;
  color: var(--gray-ink);
  font-family: var(--font-mono);
  margin-top: 4px;
}

.topic-note {
  min-width: 0;
}

.conclusion-block {
  padding: 20px;
  background: var(--paper);
  border-left: 3px solid var(--pine);
  border-top: var(--line);
  border-right: var(--line);
  border-bottom: var(--line);
  border-radius: 0 4px 4px 0;
  margin-bottom: 24px;
}

.conclusion-title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pine);
  font-weight: 700;
  margin: 0 0 8px;
}

.conclusion-block > p {
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 8px;
}

.conclusion-limit {
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray-ink);
  margin: 0;
}

.topic-switch {
  padding: 18px 20px;
  background: var(--linen);
  border: var(--line);
  border-radius: 6px;
}

.topic-switch h3 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.topic-switch ul {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.topic-switch li {
  border-bottom: 1px solid rgba(20, 20, 20, 0.25);
}

.topic-switch li:last-child {
  border-bottom: none;
}

.topic-switch a {
  display: block;
  padding: 10px 0;
  font-size: 14px;
  text-decoration: none;
  color: var(--ink);
}

.topic-switch a:hover {
  text-decoration: underline;
}

/* 更新雷达页 */
.timeline-figure img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border: var(--line);
  border-radius: 6px;
}

.timeline-nodes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.timeline-node {
  padding: 18px 20px;
  background: var(--linen);
  border: var(--line);
  border-radius: 6px;
  border-top: 3px solid var(--pine);
}

.node-index {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--pine);
  font-weight: 700;
  margin: 0 0 6px;
  text-transform: uppercase;
}

.timeline-node h3 {
  font-size: 17px;
  margin: 0 0 6px;
}

.timeline-node p:last-child {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-ink);
  margin: 0;
}

.radar-caliber-layout {
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
}

.caliber-main {
  min-width: 0;
}

.caliber-main > p {
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 20px;
  max-width: var(--reading);
}

.caliber-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.caliber-item {
  padding: 16px 18px;
  border: var(--line);
  border-radius: 4px;
  background: var(--paper);
}

.caliber-item h3 {
  font-size: 16px;
  margin: 0 0 6px;
}

.caliber-item p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--gray-ink);
  margin: 0;
}

.caliber-advice {
  min-width: 0;
  padding: 20px;
  background: var(--linen);
  border: var(--line);
  border-radius: 6px;
}

.caliber-advice > p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-ink);
  margin: 0 0 16px;
}

.advice-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.advice-list li {
  padding-top: 12px;
  border-top: 1px solid rgba(20, 20, 20, 0.25);
}

.advice-list li:first-child {
  padding-top: 0;
  border-top: none;
}

.advice-list h3 {
  font-size: 15px;
  margin: 0 0 4px;
}

.advice-list p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray-ink);
  margin: 0;
}

.usage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.usage-card {
  padding: 20px;
}

.usage-card h3 {
  font-size: 16px;
  margin: 0 0 8px;
}

.usage-card p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--gray-ink);
  margin: 0;
}

/* 条目榜单页 */
.rank-rows {
  display: flex;
  flex-direction: column;
  border-top: var(--line);
}

.rank-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 180px;
  gap: 24px;
  padding: 24px 0;
  border-bottom: var(--line);
  align-items: start;
}

.rank-no {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  letter-spacing: 0.02em;
  padding-top: 4px;
}

.rank-no span {
  display: block;
}

.rank-body {
  min-width: 0;
}

.rank-body h3 {
  font-size: 18px;
  margin: 0 0 6px;
  line-height: 1.45;
}

.rank-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.rank-tag a {
  color: var(--orange);
  text-decoration: none;
}

.rank-tag a:hover {
  text-decoration: underline;
}

.rank-body > p {
  font-size: 14px;
  line-height: 1.75;
  margin: 0 0 8px;
}

.rank-hint {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--pine);
  padding-top: 8px;
  border-top: var(--line);
  margin-top: 8px;
}

.rank-thumb {
  min-width: 0;
}

.rank-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: var(--line);
  border-radius: 4px;
}

.thumb-caption {
  font-size: 12px;
  line-height: 1.6;
  color: var(--gray-ink);
  margin: 8px 0 0;
}

.boundary-section .conclusion-box {
  padding: 20px 22px;
  background: var(--linen);
  border-left: 3px solid var(--pine);
  border-radius: 0 4px 4px 0;
  margin-bottom: 24px;
}

.conclusion-main {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  margin: 0 0 8px;
}

.boundary-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.boundary-list li {
  padding: 14px 16px 14px 44px;
  position: relative;
  border: var(--line);
  border-radius: 4px;
  font-size: 15px;
  line-height: 1.7;
  background: var(--paper);
}

.boundary-list li::before {
  content: "—";
  position: absolute;
  left: 16px;
  top: 14px;
  color: var(--orange);
  font-family: var(--font-mono);
  font-weight: 700;
}

.boundary-tail,
.boundary-fix {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-ink);
  margin: 0;
}

/* 观看核验页 */
.verify-steps .step-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 20px;
  padding: 22px 0;
}

.verify-steps .step-no {
  width: 56px;
  height: 56px;
  font-size: 18px;
  margin-left: -30px;
}

.verify-steps .step-body h3 {
  font-size: 18px;
  margin: 0 0 8px;
}

.verify-steps .step-body p {
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 6px;
}

.verify-steps .step-standard {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--pine);
  letter-spacing: 0.02em;
  padding-top: 6px;
  border-top: var(--line);
}

.exception-table table {
  min-width: 640px;
}

.exception-table table thead th {
  background: var(--pine);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
  padding: 12px 14px;
  font-weight: 700;
}

.exception-table table tbody th,
.exception-table table tbody td {
  padding: 14px;
  border-top: var(--line);
  vertical-align: top;
  text-align: left;
  font-size: 15px;
  line-height: 1.7;
}

.exception-table table tbody th {
  font-weight: 700;
  white-space: nowrap;
}

.exception-table table caption {
  text-align: left;
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--gray-ink);
  border-bottom: var(--line);
}

.report-layout {
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
}

.report-points {
  min-width: 0;
}

.report-points h3 {
  font-size: 18px;
  margin: 0 0 14px;
}

.point-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  counter-reset: point;
}

.point-list li {
  padding: 16px 18px 16px 52px;
  position: relative;
  border: var(--line);
  border-radius: 4px;
  background: var(--paper);
  counter-increment: point;
}

.point-list li::before {
  content: counter(point, decimal-leading-zero);
  position: absolute;
  left: 16px;
  top: 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.04em;
}

.point-list strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.point-list p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-ink);
  margin: 0;
}

.report-path {
  min-width: 0;
  padding: 20px;
  background: var(--linen);
  border: var(--line);
  border-radius: 6px;
}

.report-path h3 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.report-figure {
  margin-bottom: 18px;
}

.report-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: var(--line);
  border-radius: 4px;
}

.path-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.path-links li {
  padding-top: 12px;
  border-top: 1px solid rgba(20, 20, 20, 0.25);
}

.path-links li:first-child {
  padding-top: 0;
  border-top: none;
}

.path-links a {
  display: block;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 2px;
}

.path-links a:hover {
  text-decoration: underline;
}

.path-links span {
  display: block;
  font-size: 13px;
  line-height: 1.6;
  color: var(--gray-ink);
}

/* 编辑与方法页 */
.method-roles .section-intro,
.method-flow .section-intro,
.method-judge .section-intro,
.method-boundary .section-intro {
  font-size: 16px;
  line-height: 1.75;
  color: var(--gray-ink);
  max-width: var(--reading);
  margin: 0 0 24px;
}

.role-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.role-card {
  padding: 22px;
}

.role-card h3 {
  font-size: 17px;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: var(--line);
}

.role-list {
  margin: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 14px;
  font-size: 14px;
  line-height: 1.7;
}

.role-list dt {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--pine);
  font-weight: 700;
  padding-top: 2px;
}

.role-list dd {
  margin: 0;
  color: var(--ink);
}

.flow-figure {
  margin-bottom: 24px;
}

.flow-figure img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border: var(--line);
  border-radius: 6px;
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 2px solid var(--linen);
  margin-left: 20px;
  margin-bottom: 28px;
}

.flow-step {
  padding: 20px 0 20px 20px;
  position: relative;
}

.flow-step::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 28px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
  border: 2px solid var(--paper);
}

.flow-step h3 {
  font-size: 17px;
  margin: 0 0 6px;
}

.flow-step > p {
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 10px;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.check-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-ink);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--pine);
  font-weight: 700;
}

.method-judge .page-layout {
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
}

.judge-flow {
  min-width: 0;
}

.judge-step {
  padding: 18px 0;
  border-top: var(--line);
}

.judge-step:first-of-type {
  border-top: none;
  padding-top: 0;
}

.judge-step h3 {
  font-size: 16px;
  margin: 0 0 6px;
}

.judge-step p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
  margin: 0;
}

.judge-note {
  min-width: 0;
  padding: 20px;
  background: var(--linen);
  border: var(--line);
  border-radius: 6px;
}

.judge-note h3 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.judge-note > p {
  font-size: 14px;
  line-height: 1.75;
  margin: 0 0 10px;
}

.aside-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(20, 20, 20, 0.25);
}

.aside-links a {
  display: block;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 2px;
}

.aside-links a:hover {
  text-decoration: underline;
}

.aside-links span {
  display: block;
  font-size: 12px;
  line-height: 1.6;
  color: var(--gray-ink);
}

/* 404 页 */
.error-inner {
  max-width: 720px;
}

.error-inner h1 {
  font-size: 40px;
  margin: 0 0 16px;
  line-height: 1.25;
}

.error-lead {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
  margin: 0 0 20px;
}

.error-action {
  margin: 0 0 32px;
}

.btn-home {
  display: inline-block;
  padding: 12px 22px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  border: var(--line);
  min-height: 44px;
}

.btn-home:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--paper);
  text-decoration: none;
}

.error-paths {
  padding: 24px;
  border: var(--line);
  border-radius: 6px;
  background: var(--linen);
  margin-bottom: 24px;
}

.error-paths h2 {
  font-size: 18px;
  margin: 0 0 16px;
}

.error-paths ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.error-paths li {
  padding-top: 12px;
  border-top: 1px solid rgba(20, 20, 20, 0.25);
}

.error-paths li:first-child {
  padding-top: 0;
  border-top: none;
}

.error-paths a {
  display: block;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 2px;
}

.error-paths a:hover {
  text-decoration: underline;
}

.error-paths span {
  display: block;
  font-size: 13px;
  line-height: 1.6;
  color: var(--gray-ink);
}

.error-note {
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray-ink);
  margin: 0;
}

/* --------------------------------------------------------------------------
   responsive
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .header-inner {
    padding: 12px 20px;
  }

  .primary-nav a {
    font-size: 14px;
  }

  .primary-nav li + li::before {
    margin: 0 10px;
  }

  .inner-main,
  .home-main,
  .error-main {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
  }

  .console-layout,
  .console-layout.sidebar-left {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 28px;
  }

  .page-layout,
  .layout-shell,
  .rule-layout,
  .radar-caliber-layout,
  .report-layout,
  .method-judge .page-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 32px;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .zone-pick-grid,
  .usage-grid,
  .role-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rank-row {
    grid-template-columns: 48px minmax(0, 1fr) 140px;
    gap: 18px;
  }

  .rank-no {
    font-size: 26px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
    line-height: 1.8;
  }

  h1,
  .page-title,
  .error-inner h1 {
    font-size: 28px;
    line-height: 1.3;
  }

  h2 {
    font-size: 22px;
  }

  h3 {
    font-size: 17px;
  }

  .header-inner {
    padding: 10px 16px;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .brand {
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-slogan {
    font-size: 10px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    display: block;
    margin-left: 0;
    flex-basis: 100%;
    width: 100%;
    order: 3;
    border-top: var(--line);
    margin-top: 8px;
    padding-top: 8px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .primary-nav li {
    display: block;
  }

  .primary-nav li + li::before {
    display: none;
  }

  .primary-nav a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    min-height: 44px;
    border-bottom: 1px solid var(--linen);
  }

  .primary-nav a.is-current {
    border-bottom-color: var(--orange);
  }

  .primary-nav.is-open {
    max-height: 480px;
  }

  .inner-main,
  .home-main,
  .error-main {
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 48px;
  }

  .breadcrumb {
    padding: 12px 0 6px;
    font-size: 12px;
  }

  .page-header {
    padding: 4px 0 18px;
    margin-bottom: 28px;
  }

  .page-title-block {
    padding: 4px 0 18px;
    margin-bottom: 28px;
  }

  .page-head {
    margin-bottom: 28px;
  }

  .home-main > section,
  .inner-main > section,
  .inner-main > div.page-layout {
    padding: 32px 0;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-top: 20px;
    padding-bottom: 36px;
  }

  .hero-copy h1 {
    font-size: 28px;
  }

  .hero-visual {
    order: 2;
  }

  .hero-visual img {
    aspect-ratio: 4 / 3;
  }

  .path-item {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
    padding: 14px 0;
  }

  .path-question {
    font-size: 15px;
  }

  .console-layout,
  .console-layout.sidebar-left {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .panel {
    position: static;
    padding: 16px;
  }

  .panel-list {
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .panel-list li {
    border: var(--line);
    border-radius: 4px;
    flex: 0 0 auto;
    background: var(--paper);
  }

  .panel-list a {
    padding: 10px 12px;
    font-size: 13px;
    white-space: nowrap;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .panel-list a::after {
    display: none;
  }

  .panel-note {
    margin-top: 12px;
    padding-top: 10px;
  }

  .result-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .strip-wrap {
    flex-direction: column;
    align-items: stretch;
  }

  .strip {
    order: 1;
  }

  .strip > li {
    flex: 0 0 82%;
  }

  .strip-btn {
    display: none;
  }

  .strip-progress {
    text-align: left;
    margin-top: 10px;
  }

  .strip-track .strip-list > li {
    flex: 0 0 82%;
  }

  .strip-controls {
    justify-content: space-between;
  }

  .strip-controls .strip-btn {
    display: inline-flex;
  }

  .strip-controls .strip-progress {
    text-align: right;
    margin: 0;
    flex: 1 1 auto;
  }

  .ledger-list li {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    padding: 14px 0;
  }

  .brief-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .page-layout,
  .layout-shell,
  .rule-layout,
  .radar-caliber-layout,
  .report-layout,
  .method-judge .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .step-list {
    margin-left: 18px;
  }

  .step,
  .step-item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    padding: 16px 0;
  }

  .step-no,
  .step-item .step-no {
    width: 40px;
    height: 40px;
    font-size: 13px;
    margin-left: -20px;
  }

  .verify-steps .step-item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 14px;
    padding: 18px 0;
  }

  .verify-steps .step-no {
    width: 40px;
    height: 40px;
    font-size: 14px;
    margin-left: -20px;
  }

  .zone-pick-grid,
  .usage-grid,
  .role-cards,
  .timeline-nodes,
  .note-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .cross-links ul,
  .cross-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .rank-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 20px 0;
  }

  .rank-no {
    font-size: 24px;
    padding-top: 0;
  }

  .rank-thumb {
    order: -1;
  }

  .rank-thumb img {
    aspect-ratio: 16 / 9;
  }

  .timeline-figure img {
    aspect-ratio: 16 / 9;
  }

  .flow-figure img {
    aspect-ratio: 16 / 9;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    padding: 32px 16px 24px;
    gap: 24px;
  }

  .footer-bottom p {
    padding: 16px;
    font-size: 11px;
  }

  .data-table,
  .dimension-table,
  .exception-table table {
    min-width: 560px;
    font-size: 14px;
  }

  .data-table thead th,
  .dimension-table thead th,
  .exception-table table thead th {
    font-size: 11px;
    padding: 10px 12px;
  }

  .data-table tbody th,
  .data-table tbody td,
  .dimension-table tbody th,
  .dimension-table tbody td,
  .exception-table table tbody th,
  .exception-table table tbody td {
    padding: 12px;
  }

  .rule-example,
  .caliber-advice,
  .report-path,
  .judge-note,
  .topic-switch {
    padding: 16px;
  }

  .error-inner h1 {
    font-size: 28px;
  }

  .error-paths {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (forced-colors: active) {
  .primary-nav a.is-current {
    border-bottom-color: Highlight;
    outline: 1px solid Highlight;
  }

  .strip-btn,
  .btn-home,
  .nav-toggle {
    border: 1px solid ButtonText;
  }
}
