/* ==========================================================================
   狠狠撸 · 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #f3f1ec;
  color: #262626;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: #0a0a0a;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}

:focus-visible {
  outline: 2px solid #8c8c8c;
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  background: #0a0a0a;
  color: #ffffff;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.4;
}

.skip-link:focus {
  top: 8px;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   layout · 全站骨架
   -------------------------------------------------------------------------- */

.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1 0 auto;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px 72px;
}

.inner-main {
  padding-top: 8px;
}

/* 页头 */

.site-header {
  background: #0a0a0a;
  color: #f3f1ec;
}

.header-bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.brand {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  padding: 10px 0;
  white-space: nowrap;
}

.brand:hover {
  text-decoration: none;
  color: #d7d7d7;
}

.site-nav {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  flex: 1 1 auto;
  justify-content: flex-end;
  padding: 8px 0;
}

.nav-group {
  min-width: 0;
}

.nav-group-title {
  display: block;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8c8c8c;
  margin-bottom: 2px;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}

.nav-link {
  display: inline-block;
  color: #d7d7d7;
  font-size: 14px;
  line-height: 1.6;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

.nav-link:hover {
  color: #ffffff;
  text-decoration: none;
  border-bottom-color: #6b6b6b;
}

.nav-link.is-current {
  color: #ffffff;
  font-weight: 700;
  border-bottom-color: #ffffff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 10px;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  border-radius: 4px;
}

.nav-toggle-line {
  display: block;
  height: 2px;
  background: #f3f1ec;
  border-radius: 1px;
}

/* 工作区状态条 */

.workspace-bar {
  background: #262626;
  color: #d7d7d7;
}

.workspace-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 32px;
  font-size: 13px;
  line-height: 1.6;
}

.workspace-label {
  color: #8c8c8c;
  letter-spacing: 0.04em;
}

.workspace-name {
  color: #ffffff;
  font-weight: 700;
}

.workspace-hint {
  color: #a9a9a9;
  font-size: 12px;
}

/* 页脚 */

.site-footer {
  background: #0a0a0a;
  color: #d7d7d7;
  padding: 48px 32px 28px;
  margin-top: auto;
}

.footer-intro {
  max-width: 1200px;
  margin: 0 auto 32px;
}

.footer-brand {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 6px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #a9a9a9;
  max-width: 720px;
}

.footer-nav {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid #333333;
}

.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  color: #b5b5b5;
  font-size: 14px;
  line-height: 1.6;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-copy {
  max-width: 1200px;
  margin: 20px auto 0;
  font-size: 12px;
  line-height: 1.7;
  color: #7a7a7a;
}

/* --------------------------------------------------------------------------
   components · 通用组件
   -------------------------------------------------------------------------- */

/* 按钮 */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: #0a0a0a;
  color: #ffffff;
  border-color: #0a0a0a;
}

.btn-primary:hover {
  background: #262626;
  border-color: #262626;
  color: #ffffff;
}

.btn-ghost {
  background: transparent;
  color: #0a0a0a;
  border-color: #0a0a0a;
}

.btn-ghost:hover {
  background: #0a0a0a;
  color: #ffffff;
}

/* 文字链接 */

.text-link {
  display: inline-block;
  color: #0a0a0a;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  border-bottom: 1px solid #8c8c8c;
  padding-bottom: 1px;
}

.text-link:hover {
  text-decoration: none;
  border-bottom-color: #0a0a0a;
}

/* 面包屑 */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 20px 0 4px;
  font-size: 13px;
  line-height: 1.6;
  color: #6b6b6b;
}

.breadcrumb a {
  color: #6b6b6b;
}

.breadcrumb a:hover {
  color: #0a0a0a;
}

.breadcrumb-sep {
  color: #a9a9a9;
}

.breadcrumb-current {
  color: #262626;
  font-weight: 600;
}

/* 页面标题区 */

.page-header {
  padding: 12px 0 20px;
  border-bottom: 1px solid #d7d7d7;
  margin-bottom: 32px;
}

.page-title {
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 700;
  line-height: 1.25;
  color: #0a0a0a;
}

/* 内页导语与标签 */

.page-eyebrow,
.page-kicker,
.page-workspace-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b6b6b;
  margin-bottom: 8px;
}

.page-lead {
  font-size: 18px;
  line-height: 1.7;
  color: #3a3a3a;
  max-width: 760px;
}

.page-meta,
.page-tags,
.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.meta-tag,
.page-tag,
.tag,
.meta-chip {
  display: inline-block;
  padding: 4px 12px;
  font-size: 13px;
  line-height: 1.6;
  color: #262626;
  background: #ffffff;
  border: 1px solid #d7d7d7;
  border-radius: 4px;
}

.page-title-block {
  padding: 4px 0 28px;
  margin-bottom: 8px;
  border-bottom: 1px solid #d7d7d7;
}

/* 区块标题 */

.section-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  color: #0a0a0a;
  margin-bottom: 8px;
}

.section-lead {
  font-size: 15px;
  line-height: 1.75;
  color: #6b6b6b;
  max-width: 760px;
  margin-bottom: 24px;
}

.section-head {
  margin-bottom: 20px;
}

.section-head h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  color: #0a0a0a;
  margin-bottom: 8px;
}

.section-head p,
.section-desc {
  font-size: 15px;
  line-height: 1.75;
  color: #6b6b6b;
  max-width: 760px;
}

.section-head p a,
.section-desc a {
  color: #0a0a0a;
  border-bottom: 1px solid #8c8c8c;
}

.section-head p a:hover,
.section-desc a:hover {
  text-decoration: none;
  border-bottom-color: #0a0a0a;
}

.section-more {
  margin-top: 16px;
}

.section-note {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: #6b6b6b;
}

.section-note a {
  color: #0a0a0a;
  border-bottom: 1px solid #8c8c8c;
}

.section-note a:hover {
  text-decoration: none;
  border-bottom-color: #0a0a0a;
}

/* 表格 */

.table-scroll {
  width: 100%;
  overflow-x: auto;
  background: #ffffff;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
}

.data-table {
  min-width: 640px;
  font-size: 14px;
  line-height: 1.65;
}

.table-caption,
.data-table caption {
  text-align: left;
  padding: 12px 16px;
  font-size: 13px;
  color: #6b6b6b;
  border-bottom: 1px solid #d7d7d7;
  caption-side: top;
}

.data-table th,
.data-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #e6e4df;
}

.data-table thead th {
  background: #f3f1ec;
  font-size: 13px;
  font-weight: 700;
  color: #0a0a0a;
  white-space: nowrap;
}

.data-table tbody th {
  font-weight: 600;
  color: #0a0a0a;
  white-space: nowrap;
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table a {
  color: #0a0a0a;
  border-bottom: 1px solid #8c8c8c;
}

.data-table a:hover {
  text-decoration: none;
  border-bottom-color: #0a0a0a;
}

/* 图片容器 */

.hero-figure,
.section-media,
.catalog-figure,
.page-media,
.article-media,
.path-media,
.topic-cover {
  margin: 0;
  background: #e6e4df;
  border-radius: 8px;
  overflow: hidden;
}

.hero-figure img,
.section-media img,
.catalog-figure img,
.page-media img,
.article-media img,
.path-media img,
.topic-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

figcaption {
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.6;
  color: #6b6b6b;
  background: #ffffff;
  border-top: 1px solid #d7d7d7;
}

/* 定义列表字段 */

.entry-fields,
.record-fields {
  display: grid;
  grid-template-columns: minmax(96px, 140px) minmax(0, 1fr);
  gap: 6px 16px;
  font-size: 14px;
  line-height: 1.7;
}

.entry-fields dt,
.record-fields dt {
  color: #6b6b6b;
  font-size: 13px;
}

.entry-fields dd,
.record-fields dd {
  color: #262626;
  margin: 0;
}

.entry-fields dd a,
.record-fields dd a {
  color: #0a0a0a;
  border-bottom: 1px solid #8c8c8c;
}

.entry-fields dd a:hover,
.record-fields dd a:hover {
  text-decoration: none;
  border-bottom-color: #0a0a0a;
}

/* 边界与提示列表 */

.boundary-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.boundary-list li {
  background: #ffffff;
  border: 1px solid #d7d7d7;
  border-left: 3px solid #0a0a0a;
  border-radius: 4px;
  padding: 16px 18px;
  font-size: 14px;
  line-height: 1.75;
  color: #3a3a3a;
}

.boundary-list li h3 {
  font-size: 16px;
  font-weight: 700;
  color: #0a0a0a;
  margin-bottom: 6px;
}

.boundary-list li a {
  color: #0a0a0a;
  border-bottom: 1px solid #8c8c8c;
}

.boundary-list li a:hover {
  text-decoration: none;
  border-bottom-color: #0a0a0a;
}

/* 下一步链接 */

.next-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.next-links li a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 18px;
  background: #ffffff;
  border: 1px solid #d7d7d7;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  color: #0a0a0a;
}

.next-links li a:hover {
  text-decoration: none;
  border-color: #0a0a0a;
  background: #f3f1ec;
}

/* --------------------------------------------------------------------------
   pages · 首页
   -------------------------------------------------------------------------- */

.home-main {
  padding-top: 32px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
  gap: 32px;
  align-items: start;
  padding-bottom: 40px;
  border-bottom: 1px solid #d7d7d7;
}

.hero-copy {
  min-width: 0;
}

.hero-figure {
  aspect-ratio: 16 / 9;
  margin-bottom: 20px;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b6b6b;
  margin-bottom: 10px;
}

.hero h1 {
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 700;
  line-height: 1.18;
  color: #0a0a0a;
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 18px;
  line-height: 1.7;
  color: #3a3a3a;
  max-width: 640px;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.stack-card {
  background: #ffffff;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  padding: 22px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.stack-card:hover {
  border-color: #0a0a0a;
}

.stack-card-large {
  padding: 28px 24px;
}

.stack-card-small {
  padding: 18px 20px;
  background: #f3f1ec;
}

.stack-card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b6b6b;
  margin-bottom: 8px;
}

.stack-card-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: #0a0a0a;
  margin-bottom: 8px;
}

.stack-card-small .stack-card-title {
  font-size: 17px;
}

.stack-card-text {
  font-size: 14px;
  line-height: 1.75;
  color: #3a3a3a;
  margin-bottom: 14px;
}

/* 频道标签带 */

.channel-band {
  padding: 40px 0;
  border-bottom: 1px solid #d7d7d7;
}

.channel-tags {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 10px;
}

.channel-tag {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 44px;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid #d7d7d7;
  border-radius: 4px;
  color: #0a0a0a;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.channel-tag:hover {
  text-decoration: none;
  border-color: #0a0a0a;
  background: #f3f1ec;
}

.channel-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.channel-scope {
  font-size: 12px;
  line-height: 1.5;
  color: #6b6b6b;
}

/* 内容方向索引 */

.directions-index {
  padding: 40px 0;
  border-bottom: 1px solid #d7d7d7;
}

.direction-item {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 1fr);
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid #e6e4df;
}

.direction-item:first-of-type {
  border-top: 1px solid #d7d7d7;
}

.direction-scope {
  min-width: 0;
}

.direction-no {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #ffffff;
  background: #0a0a0a;
  border-radius: 3px;
  padding: 1px 8px;
  margin-bottom: 8px;
}

.direction-name {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  color: #0a0a0a;
  margin-bottom: 6px;
}

.direction-text {
  font-size: 15px;
  line-height: 1.75;
  color: #3a3a3a;
}

.direction-meta {
  min-width: 0;
  background: #ffffff;
  border: 1px solid #d7d7d7;
  border-radius: 4px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.direction-meta .meta-field {
  font-size: 14px;
  line-height: 1.7;
  color: #3a3a3a;
}

.meta-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b6b6b;
  margin-bottom: 2px;
}

.direction-figure {
  margin: 20px 0 0;
  background: #e6e4df;
  border-radius: 8px;
  overflow: hidden;
}

.direction-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 专题跨页 */

.topics-spread {
  padding: 40px 0;
  border-bottom: 1px solid #d7d7d7;
}

.topic-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 28px;
  padding: 24px 0;
  border-top: 1px solid #e6e4df;
}

.topic-entry:first-of-type {
  border-top: 1px solid #d7d7d7;
}

.topic-entry-reverse {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
}

.topic-entry-reverse .topic-cover {
  order: 2;
}

.topic-entry-reverse .topic-body {
  order: 1;
}

.topic-cover {
  padding: 22px;
  background: #262626;
  color: #f3f1ec;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: flex-end;
  min-height: 180px;
}

.topic-name {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
}

.topic-cover-text {
  font-size: 13px;
  line-height: 1.7;
  color: #b5b5b5;
}

.topic-body {
  min-width: 0;
}

.topic-summary {
  font-size: 15px;
  line-height: 1.75;
  color: #3a3a3a;
  margin-bottom: 14px;
}

.topic-sequence {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  counter-reset: seq;
}

.topic-sequence li {
  position: relative;
  padding-left: 28px;
  font-size: 14px;
  line-height: 1.7;
  color: #262626;
  counter-increment: seq;
}

.topic-sequence li::before {
  content: counter(seq);
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #ffffff;
  background: #6b6b6b;
  border-radius: 50%;
}

/* 片单目录预览 */

.catalog-preview {
  padding: 40px 0;
  border-bottom: 1px solid #d7d7d7;
}

/* 观看路径三步 */

.path-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.path-steps .step-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  padding: 20px;
}

.path-steps .step-no {
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  color: #6b6b6b;
}

.path-steps .step-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: #0a0a0a;
}

.path-steps .step-text {
  font-size: 14px;
  line-height: 1.75;
  color: #3a3a3a;
  margin-bottom: 4px;
}

/* 公开资料字段表 */

.field-table-block {
  padding: 40px 0;
  border-bottom: 1px solid #d7d7d7;
}

/* 入口核验步骤 */

.verify-block {
  padding: 40px 0;
  border-bottom: 1px solid #d7d7d7;
}

.verify-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid #d7d7d7;
}

.verify-item {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid #e6e4df;
}

.verify-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: #0a0a0a;
}

.verify-text {
  font-size: 14px;
  line-height: 1.75;
  color: #3a3a3a;
  min-width: 0;
}

.verify-item .text-link {
  white-space: nowrap;
}

/* 交流反馈入口 */

.feedback-block {
  padding: 40px 0 0;
}

.feedback-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 24px;
}

.feedback-scope,
.feedback-flow {
  background: #ffffff;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  padding: 22px;
  min-width: 0;
}

.feedback-subtitle {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: #0a0a0a;
  margin-bottom: 12px;
}

.feedback-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feedback-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.75;
  color: #3a3a3a;
}

.feedback-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: #0a0a0a;
  border-radius: 50%;
}

.feedback-text {
  font-size: 14px;
  line-height: 1.75;
  color: #3a3a3a;
  margin-bottom: 14px;
}

/* --------------------------------------------------------------------------
   pages · 内页通用区块
   -------------------------------------------------------------------------- */

.section {
  padding: 32px 0;
  border-bottom: 1px solid #d7d7d7;
}

.section:last-of-type {
  border-bottom: 0;
}

.next-section {
  padding: 32px 0 0;
  border-bottom: 0;
}

/* --------------------------------------------------------------------------
   pages · 内容方向页
   -------------------------------------------------------------------------- */

.scope-item {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid #e6e4df;
}

.scope-item:first-of-type {
  border-top: 1px solid #d7d7d7;
}

.scope-copy {
  min-width: 0;
}

.scope-num {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #ffffff;
  background: #0a0a0a;
  border-radius: 3px;
  padding: 1px 8px;
  margin-bottom: 8px;
}

.scope-copy h3 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  color: #0a0a0a;
  margin-bottom: 6px;
}

.scope-copy p {
  font-size: 15px;
  line-height: 1.8;
  color: #3a3a3a;
}

.scope-fields {
  min-width: 0;
  background: #ffffff;
  border: 1px solid #d7d7d7;
  border-radius: 4px;
  padding: 16px 18px;
}

.scope-fields .field-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b6b6b;
  margin-bottom: 2px;
}

.scope-fields p {
  font-size: 14px;
  line-height: 1.7;
  color: #262626;
  margin-bottom: 12px;
}

.scope-fields p:last-child {
  margin-bottom: 0;
}

.scope-fields a {
  color: #0a0a0a;
  border-bottom: 1px solid #8c8c8c;
}

.scope-fields a:hover {
  text-decoration: none;
  border-bottom-color: #0a0a0a;
}

.section-media {
  margin-bottom: 24px;
  aspect-ratio: 21 / 9;
}

.reason-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.reason-item {
  background: #ffffff;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  padding: 20px;
}

.reason-item h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  color: #0a0a0a;
  margin-bottom: 8px;
}

.reason-item p {
  font-size: 14px;
  line-height: 1.75;
  color: #3a3a3a;
}

/* --------------------------------------------------------------------------
   pages · 专题进度页
   -------------------------------------------------------------------------- */

.ledger {
  padding: 32px 0;
  border-bottom: 1px solid #d7d7d7;
}

.topic-spread {
  padding: 32px 0;
  border-bottom: 1px solid #d7d7d7;
}

.topic-spread .topic-cover {
  position: relative;
  padding: 0;
  background: #e6e4df;
  min-height: 0;
  aspect-ratio: 4 / 3;
  justify-content: flex-start;
  gap: 0;
}

.topic-spread .topic-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topic-spread .topic-cover figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 10, 0.82);
  color: #f3f1ec;
  border-top: 0;
  font-size: 13px;
  font-weight: 600;
}

.topic-spread .topic-body h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: #0a0a0a;
  margin-bottom: 10px;
}

.sequence-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.sequence-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 0 8px;
  padding: 10px 12px;
  background: #ffffff;
  border: 1px solid #d7d7d7;
  border-radius: 4px;
}

.sequence-index {
  grid-row: span 2;
  align-self: start;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #ffffff;
  background: #6b6b6b;
  border-radius: 50%;
}

.sequence-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: #0a0a0a;
}

.sequence-note {
  font-size: 13px;
  line-height: 1.6;
  color: #6b6b6b;
}

.topic-link {
  font-size: 14px;
}

.topic-link a {
  color: #0a0a0a;
  font-weight: 600;
  border-bottom: 1px solid #8c8c8c;
}

.topic-link a:hover {
  text-decoration: none;
  border-bottom-color: #0a0a0a;
}

.records {
  padding: 32px 0;
  border-bottom: 1px solid #d7d7d7;
}

.related {
  padding: 32px 0;
  border-bottom: 1px solid #d7d7d7;
}

.related-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.related-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: #ffffff;
  border: 1px solid #d7d7d7;
  border-radius: 4px;
  padding: 14px 16px;
  min-height: 44px;
}

.related-item a {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: #0a0a0a;
}

.related-topic {
  font-size: 12px;
  line-height: 1.5;
  color: #6b6b6b;
}

.related-note {
  font-size: 13px;
  line-height: 1.6;
  color: #3a3a3a;
}

.next-step {
  padding: 32px 0;
  border-bottom: 1px solid #d7d7d7;
}

.next-step h2 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  color: #0a0a0a;
  margin-bottom: 10px;
}

.next-step p {
  font-size: 15px;
  line-height: 1.8;
  color: #3a3a3a;
}

.next-step p a {
  color: #0a0a0a;
  font-weight: 600;
  border-bottom: 1px solid #8c8c8c;
  margin-right: 4px;
}

.next-step p a:hover {
  text-decoration: none;
  border-bottom-color: #0a0a0a;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding: 24px 0 0;
}

.related-links-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b6b6b;
}

.related-links-item {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 14px;
  background: #ffffff;
  border: 1px solid #d7d7d7;
  border-radius: 4px;
  font-size: 14px;
  color: #0a0a0a;
}

.related-links-item:hover {
  text-decoration: none;
  border-color: #0a0a0a;
}

/* --------------------------------------------------------------------------
   pages · 片单目录页
   -------------------------------------------------------------------------- */

.page-head {
  padding: 4px 0 28px;
  margin-bottom: 8px;
  border-bottom: 1px solid #d7d7d7;
}

.page-head .page-lead {
  margin-bottom: 20px;
}

.catalog-figure {
  aspect-ratio: 21 / 9;
}

.catalog-groups {
  padding: 32px 0;
  border-bottom: 1px solid #d7d7d7;
}

.catalog-group {
  padding: 20px 0;
  border-top: 1px solid #e6e4df;
}

.catalog-group:first-of-type {
  border-top: 1px solid #d7d7d7;
}

.group-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: #0a0a0a;
  margin-bottom: 14px;
  padding-left: 12px;
  border-left: 3px solid #0a0a0a;
}

.catalog-entry {
  background: #ffffff;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  padding: 18px 20px;
  margin-bottom: 12px;
}

.catalog-entry:last-child {
  margin-bottom: 0;
}

.catalog-fields {
  padding: 32px 0;
  border-bottom: 1px solid #d7d7d7;
}

.catalog-notes {
  padding: 32px 0;
  border-bottom: 1px solid #d7d7d7;
}

.note-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.note-item {
  background: #ffffff;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  padding: 20px;
}

.note-item h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  color: #0a0a0a;
  margin-bottom: 8px;
}

.note-item p {
  font-size: 14px;
  line-height: 1.75;
  color: #3a3a3a;
}

.catalog-boundary {
  padding: 32px 0 0;
}

.section-next {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.8;
  color: #3a3a3a;
}

.section-next a {
  color: #0a0a0a;
  font-weight: 600;
  border-bottom: 1px solid #8c8c8c;
  margin-right: 6px;
}

.section-next a:hover {
  text-decoration: none;
  border-bottom-color: #0a0a0a;
}

/* --------------------------------------------------------------------------
   pages · 公开资料页
   -------------------------------------------------------------------------- */

.page-hero {
  padding: 4px 0 28px;
  margin-bottom: 8px;
  border-bottom: 1px solid #d7d7d7;
}

.layout-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  gap: 40px;
  align-items: start;
  padding-top: 28px;
}

.reference-article {
  min-width: 0;
  max-width: 760px;
}

.article-media {
  aspect-ratio: 16 / 9;
  margin-bottom: 28px;
}

.content-block {
  padding: 0 0 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid #d7d7d7;
}

.content-block:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.block-head {
  margin-bottom: 18px;
}

.block-head h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  color: #0a0a0a;
  margin-bottom: 8px;
}

.block-desc {
  font-size: 15px;
  line-height: 1.75;
  color: #6b6b6b;
  max-width: 720px;
}

.step-flow {
  display: flex;
  flex-direction: column;
  gap: 14px;
  counter-reset: flow;
}

.step-flow .step-item {
  position: relative;
  background: #ffffff;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  padding: 18px 20px 18px 64px;
  counter-increment: flow;
}

.step-flow .step-no {
  position: absolute;
  left: 18px;
  top: 18px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #ffffff;
  background: #0a0a0a;
  border-radius: 50%;
}

.step-flow .step-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  color: #0a0a0a;
  margin-bottom: 6px;
}

.step-flow .step-text {
  font-size: 14px;
  line-height: 1.75;
  color: #3a3a3a;
  margin-bottom: 8px;
}

.step-flow .step-link {
  font-size: 14px;
  line-height: 1.6;
}

.step-flow .step-link a {
  color: #0a0a0a;
  font-weight: 600;
  border-bottom: 1px solid #8c8c8c;
}

.step-flow .step-link a:hover {
  text-decoration: none;
  border-bottom-color: #0a0a0a;
}

.record-template {
  background: #ffffff;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  overflow: hidden;
}

.record-row {
  display: grid;
  grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid #e6e4df;
}

.record-row:last-child {
  border-bottom: 0;
}

.record-row dt {
  font-size: 13px;
  font-weight: 700;
  color: #6b6b6b;
  line-height: 1.7;
}

.record-row dd {
  font-size: 14px;
  line-height: 1.7;
  color: #262626;
  margin: 0;
}

.feedback-entries {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.entry-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 44px;
  background: #ffffff;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  padding: 18px 20px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.entry-card:hover {
  text-decoration: none;
  border-color: #0a0a0a;
  background: #f3f1ec;
}

.entry-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b6b6b;
}

.entry-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  color: #0a0a0a;
}

.entry-desc {
  font-size: 13px;
  line-height: 1.65;
  color: #3a3a3a;
}

.page-aside {
  min-width: 0;
  background: #ffffff;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  padding: 22px;
}

.aside-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: #0a0a0a;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid #d7d7d7;
}

.aside-block {
  margin-bottom: 22px;
}

.aside-block:last-child {
  margin-bottom: 0;
}

.aside-subtitle {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #6b6b6b;
  margin-bottom: 10px;
}

.aside-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.aside-links li a {
  display: block;
  min-height: 36px;
  padding: 6px 0;
  font-size: 14px;
  line-height: 1.6;
  color: #262626;
  border-bottom: 1px solid #e6e4df;
}

.aside-links li:last-child a {
  border-bottom: 0;
}

.aside-links li a:hover {
  color: #0a0a0a;
  text-decoration: none;
  border-bottom-color: #0a0a0a;
}

.aside-note {
  background: #f3f1ec;
  border: 1px solid #d7d7d7;
  border-radius: 4px;
  padding: 14px 16px;
}

.aside-note p {
  font-size: 13px;
  line-height: 1.7;
  color: #3a3a3a;
}

/* --------------------------------------------------------------------------
   pages · 观看指南页
   -------------------------------------------------------------------------- */

.guide-path,
.guide-checklist,
.guide-faq,
.guide-feedback {
  padding: 32px 0;
  border-bottom: 1px solid #d7d7d7;
}

.path-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: start;
}

.path-media {
  aspect-ratio: 4 / 3;
}

.path-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.path-step {
  position: relative;
  background: #ffffff;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  padding: 18px 20px;
  min-width: 0;
}

.path-step .step-no {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  color: #ffffff;
  background: #0a0a0a;
  border-radius: 3px;
  padding: 1px 8px;
  margin-bottom: 8px;
}

.path-step h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  color: #0a0a0a;
  margin-bottom: 6px;
}

.path-step p {
  font-size: 14px;
  line-height: 1.75;
  color: #3a3a3a;
}

.path-step p a {
  color: #0a0a0a;
  font-weight: 600;
  border-bottom: 1px solid #8c8c8c;
}

.path-step p a:hover {
  text-decoration: none;
  border-bottom-color: #0a0a0a;
}

.path-step .step-done {
  font-size: 12px;
  line-height: 1.6;
  color: #6b6b6b;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #d7d7d7;
}

.check-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #d7d7d7;
}

.check-item {
  display: grid;
  grid-template-columns: minmax(160px, 240px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid #e6e4df;
}

.check-item h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: #0a0a0a;
}

.check-item p {
  font-size: 14px;
  line-height: 1.75;
  color: #3a3a3a;
  min-width: 0;
}

.check-item p a {
  color: #0a0a0a;
  font-weight: 600;
  border-bottom: 1px solid #8c8c8c;
}

.check-item p a:hover {
  text-decoration: none;
  border-bottom-color: #0a0a0a;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  overflow: hidden;
}

.faq-item summary {
  position: relative;
  display: block;
  padding: 16px 48px 16px 18px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  color: #0a0a0a;
  cursor: pointer;
  list-style: none;
  min-height: 44px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  color: #6b6b6b;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item summary:hover {
  background: #f3f1ec;
}

.faq-item p {
  padding: 0 18px 18px;
  font-size: 14px;
  line-height: 1.8;
  color: #3a3a3a;
}

.feedback-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.feedback-card {
  background: #ffffff;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  padding: 20px;
}

.feedback-card h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  color: #0a0a0a;
  margin-bottom: 8px;
}

.feedback-card p {
  font-size: 14px;
  line-height: 1.75;
  color: #3a3a3a;
  margin-bottom: 12px;
}

.related-nav {
  padding: 32px 0 0;
}

.related-nav h2 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #6b6b6b;
  margin-bottom: 12px;
}

.related-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.related-nav ul li a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 4px 14px;
  background: #ffffff;
  border: 1px solid #d7d7d7;
  border-radius: 4px;
  font-size: 14px;
  color: #0a0a0a;
}

.related-nav ul li a:hover {
  text-decoration: none;
  border-color: #0a0a0a;
}

/* --------------------------------------------------------------------------
   pages · 交流反馈页
   -------------------------------------------------------------------------- */

.feedback-types,
.feedback-views,
.feedback-checklist,
.feedback-flow,
.feedback-boundary,
.next-steps {
  padding: 32px 0;
  border-bottom: 1px solid #d7d7d7;
}

.next-steps {
  border-bottom: 0;
}

.feedback-types h2,
.feedback-views h2,
.feedback-checklist h2,
.feedback-flow h2,
.feedback-boundary h2,
.next-steps h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  color: #0a0a0a;
  margin-bottom: 8px;
}

.section-intro {
  font-size: 15px;
  line-height: 1.75;
  color: #6b6b6b;
  max-width: 760px;
  margin-bottom: 20px;
}

.page-media {
  aspect-ratio: 21 / 9;
  margin-bottom: 8px;
}

.type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.type-card {
  background: #ffffff;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  padding: 18px 20px;
}

.type-card h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  color: #0a0a0a;
  margin-bottom: 6px;
}

.type-card p {
  font-size: 14px;
  line-height: 1.75;
  color: #3a3a3a;
}

.tab-shell {
  background: #ffffff;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  overflow: hidden;
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid #d7d7d7;
  background: #f3f1ec;
}

.tab-button {
  min-height: 44px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  color: #6b6b6b;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.tab-button:hover {
  color: #0a0a0a;
  background: #ffffff;
}

.tab-button.is-active {
  color: #0a0a0a;
  background: #ffffff;
  border-bottom-color: #0a0a0a;
}

.tab-panel {
  padding: 22px 20px;
}

.tab-panel[hidden] {
  display: none;
}

.panel-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  color: #0a0a0a;
  margin-bottom: 14px;
}

.record-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.record-item {
  background: #f3f1ec;
  border: 1px solid #d7d7d7;
  border-radius: 4px;
  padding: 14px 16px;
}

.record-name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: #0a0a0a;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #d7d7d7;
}

.checklist {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #d7d7d7;
}

.checklist-item {
  display: grid;
  grid-template-columns: minmax(160px, 240px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid #e6e4df;
}

.checklist-item h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: #0a0a0a;
}

.checklist-item p {
  font-size: 14px;
  line-height: 1.75;
  color: #3a3a3a;
  min-width: 0;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.flow-step {
  background: #ffffff;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  padding: 20px;
}

.step-index {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  color: #6b6b6b;
  margin-bottom: 8px;
}

.flow-step h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  color: #0a0a0a;
  margin-bottom: 6px;
}

.flow-step p {
  font-size: 14px;
  line-height: 1.75;
  color: #3a3a3a;
}

.feedback-boundary .boundary-list li h3 {
  font-size: 16px;
  font-weight: 700;
  color: #0a0a0a;
  margin-bottom: 6px;
}

/* --------------------------------------------------------------------------
   pages · 404
   -------------------------------------------------------------------------- */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 64px;
  padding-bottom: 64px;
}

.error-panel {
  width: 100%;
  max-width: 640px;
  background: #ffffff;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  padding: 40px 32px;
  text-align: left;
}

.error-code {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #6b6b6b;
  margin-bottom: 10px;
}

.error-panel h1 {
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 700;
  line-height: 1.25;
  color: #0a0a0a;
  margin-bottom: 14px;
}

.error-lead {
  font-size: 16px;
  line-height: 1.75;
  color: #3a3a3a;
  margin-bottom: 24px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.error-hints {
  padding-top: 22px;
  border-top: 1px solid #d7d7d7;
}

.error-hints h2 {
  font-size: 15px;
  font-weight: 700;
  color: #6b6b6b;
  margin-bottom: 12px;
}

.error-hints ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.error-hints ul li a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 4px 14px;
  background: #f3f1ec;
  border: 1px solid #d7d7d7;
  border-radius: 4px;
  font-size: 14px;
  color: #0a0a0a;
}

.error-hints ul li a:hover {
  text-decoration: none;
  border-color: #0a0a0a;
}

/* --------------------------------------------------------------------------
   responsive
   -------------------------------------------------------------------------- */

@media (max-width: 960px) {
  .site-main {
    padding: 0 24px 56px;
  }

  .header-bar {
    padding: 0 24px;
    gap: 16px;
  }

  .workspace-bar {
    padding: 8px 24px;
  }

  .site-footer {
    padding: 40px 24px 24px;
  }

  .site-nav {
    gap: 20px;
  }

  .nav-list {
    gap: 4px 12px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .hero-stack {
    flex-direction: row;
    align-items: stretch;
  }

  .hero-stack .stack-card {
    flex: 1 1 0;
    min-width: 0;
  }

  .direction-item,
  .scope-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .topic-entry,
  .topic-entry-reverse {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .topic-entry-reverse .topic-cover,
  .topic-entry-reverse .topic-body {
    order: 0;
  }

  .topic-spread .topic-cover {
    aspect-ratio: 21 / 9;
  }

  .path-steps,
  .flow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .path-steps .step-item:last-child,
  .flow-step:last-child {
    grid-column: 1 / -1;
  }

  .verify-item {
    grid-template-columns: minmax(140px, 200px) minmax(0, 1fr);
  }

  .verify-item .text-link {
    grid-column: 2 / 3;
    justify-self: start;
  }

  .feedback-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .layout-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .reference-article {
    max-width: none;
  }

  .page-aside {
    width: 100%;
  }

  .path-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .path-media {
    aspect-ratio: 21 / 9;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
  }

  .site-main {
    padding: 0 16px 48px;
  }

  .header-bar {
    padding: 0 16px;
    min-height: 56px;
  }

  .brand {
    font-size: 18px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    flex: 1 1 100%;
    order: 3;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    border-top: 1px solid #333333;
  }

  .nav-group {
    padding: 12px 0;
    border-bottom: 1px solid #262626;
  }

  .nav-group:last-child {
    border-bottom: 0;
  }

  .nav-group-title {
    margin-bottom: 6px;
    padding: 0 2px;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 2px;
    border-bottom: 1px solid #1f1f1f;
  }

  .nav-link.is-current {
    border-bottom-color: #ffffff;
  }

  .nav-list:not(.is-open) {
    display: none;
  }

  .workspace-bar {
    padding: 8px 16px;
    font-size: 12px;
  }

  .workspace-hint {
    flex: 1 1 100%;
  }

  .site-footer {
    padding: 32px 16px 20px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }

  .breadcrumb {
    padding-top: 16px;
  }

  .page-header {
    padding-bottom: 16px;
    margin-bottom: 24px;
  }

  .page-title {
    font-size: clamp(26px, 7vw, 32px);
  }

  .page-lead {
    font-size: 16px;
  }

  .hero {
    padding-bottom: 32px;
  }

  .hero h1 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stack {
    flex-direction: column;
  }

  .section-title,
  .section-head h2,
  .block-head h2,
  .feedback-types h2,
  .feedback-views h2,
  .feedback-checklist h2,
  .feedback-flow h2,
  .feedback-boundary h2,
  .next-steps h2 {
    font-size: 21px;
  }

  .channel-band,
  .directions-index,
  .topics-spread,
  .catalog-preview,
  .field-table-block,
  .verify-block {
    padding: 28px 0;
  }

  .channel-tags {
    grid-template-columns: minmax(0, 1fr);
  }

  .topic-sequence li {
    padding-left: 26px;
  }

  .path-steps,
  .flow-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .path-steps .step-item:last-child,
  .flow-step:last-child {
    grid-column: auto;
  }

  .verify-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .verify-item .text-link {
    grid-column: auto;
  }

  .table-scroll {
    overflow-x: visible;
    border: 0;
    background: transparent;
    border-radius: 0;
  }

  .data-table {
    min-width: 0;
    display: block;
    font-size: 14px;
  }

  .data-table caption {
    display: block;
    padding: 0 0 10px;
    border-bottom: 0;
    font-size: 12px;
  }

  .data-table thead {
    display: none;
  }

  .data-table tbody,
  .data-table tr,
  .data-table th,
  .data-table td {
    display: block;
    width: 100%;
  }

  .data-table tr {
    background: #ffffff;
    border: 1px solid #d7d7d7;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 10px;
  }

  .data-table tr:last-child {
    margin-bottom: 0;
  }

  .data-table tbody th {
    padding: 0 0 8px;
    border-bottom: 1px solid #e6e4df;
    white-space: normal;
    font-size: 15px;
  }

  .data-table td {
    padding: 8px 0 0;
    border-bottom: 0;
    font-size: 14px;
    line-height: 1.7;
  }

  .data-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #6b6b6b;
    margin-bottom: 2px;
  }

  .catalog-entry {
    padding: 16px;
  }

  .entry-fields,
  .record-fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
    padding: 6px 0;
    border-bottom: 1px solid #e6e4df;
  }

  .entry-fields:last-child,
  .record-fields:last-child {
    border-bottom: 0;
  }

  .entry-fields dt,
  .record-fields dt {
    font-size: 12px;
  }

  .entry-fields dd,
  .record-fields dd {
    margin-bottom: 6px;
  }

  .entry-fields dd:last-child,
  .record-fields dd:last-child {
    margin-bottom: 0;
  }

  .record-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 12px 14px;
  }

  .check-item,
  .checklist-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .step-flow .step-item {
    padding: 16px 16px 16px 16px;
  }

  .step-flow .step-no {
    position: static;
    display: inline-flex;
    margin-bottom: 8px;
  }

  .tab-button {
    flex: 1 1 auto;
    padding: 10px 12px;
    font-size: 13px;
  }

  .tab-panel {
    padding: 16px 14px;
  }

  .error-main {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .error-panel {
    padding: 28px 20px;
  }

  .error-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .error-actions .btn {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .footer-nav {
    grid-template-columns: minmax(0, 1fr);
  }

  .topic-spread .topic-cover {
    aspect-ratio: 16 / 9;
  }

  .related-links-item,
  .related-nav ul li a,
  .error-hints ul li a {
    flex: 1 1 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
