:root {
  color-scheme: light;
  --bg: #f5f9fd;
  --panel: rgba(255, 255, 255, 0.92);
  --panel-2: rgba(239, 248, 255, 0.9);
  --panel-3: rgba(0, 110, 184, 0.06);
  --line: rgba(0, 83, 143, 0.14);
  --line-strong: rgba(0, 110, 184, 0.28);
  --text: #09213f;
  --muted: #39546f;
  --soft: #6d8298;
  --blue: #006eb8;
  --blue-2: #0a97d8;
  --cyan: #5fc8f2;
  --gold: #b99743;
  --green: #168b65;
  --red: #c84d4d;
  --shadow: 0 22px 60px rgba(26, 76, 126, 0.16);
  --radius: 8px;
  --topbar-height: 70px;
  font-family:
    "Inter", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background: var(--bg);
  letter-spacing: 0;
  overflow-x: clip;
}

button,
a {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 18% 8%, rgba(16, 151, 216, 0.42), transparent 28%),
    radial-gradient(circle at 88% 26%, rgba(0, 110, 184, 0.34), transparent 30%),
    linear-gradient(180deg, #04142d 0%, #071f43 46%, #031126 100%);
}

.site-bg::after {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 72%);
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--blue-2), var(--gold));
  box-shadow: 0 0 18px rgba(16, 151, 216, 0.7);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--topbar-height);
  padding: 12px clamp(16px, 4vw, 46px);
  border-bottom: 1px solid var(--line);
  background: rgba(4, 17, 38, 0.8);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 14px;
  color: #fff;
  text-decoration: none;
}

.brand-symbol {
  flex: 0 0 auto;
  padding: 7px 11px;
  border: 1px solid rgba(213, 239, 255, 0.42);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #005ca8, #1098d7);
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0.08em;
}

.brand-copy {
  overflow: hidden;
  max-width: min(54vw, 620px);
  color: rgba(241, 249, 255, 0.92);
  font-size: 15px;
  font-weight: 680;
  text-overflow: ellipsis;
  white-space: nowrap;
}

a.icon-button {
  text-decoration: none;
}

.top-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.icon-button,
.close-toc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid rgba(218, 241, 255, 0.24);
  border-radius: var(--radius);
  color: #edf8ff;
  background: rgba(255, 255, 255, 0.075);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.icon-button {
  gap: 8px;
  padding: 0 13px;
}

.close-toc {
  display: none;
  width: 36px;
  padding: 0;
}

.icon-button:hover,
.close-toc:hover,
.icon-button:focus-visible,
.close-toc:focus-visible {
  border-color: rgba(213, 239, 255, 0.58);
  background: rgba(255, 255, 255, 0.14);
  outline: none;
  transform: translateY(-1px);
}

.icon-button svg,
.close-toc svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.shell {
  width: min(100%, 1620px);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 46px) 80px;
}

.hero {
  position: relative;
  min-height: min(650px, calc(100vh - var(--topbar-height) - 56px));
  padding: clamp(34px, 5vw, 68px) 0 clamp(20px, 3vw, 36px);
}

.hero::before {
  position: absolute;
  inset: 7% 0 0;
  content: "";
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(118deg, rgba(0, 110, 184, 0.88), rgba(4, 23, 53, 0.68) 52%, rgba(3, 17, 38, 0.42)),
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.05) 48%, transparent 100%);
  box-shadow: var(--shadow);
}

.hero::after {
  position: absolute;
  right: 26px;
  bottom: 30px;
  left: 26px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(223, 243, 255, 0.48), transparent);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  padding: clamp(24px, 4vw, 54px);
}

.eyebrow,
.source-line {
  margin: 0;
  color: rgba(224, 246, 255, 0.84);
  font-size: clamp(13px, 1.25vw, 16px);
  font-weight: 620;
  line-height: 1.7;
}

.eyebrow {
  margin-bottom: 16px;
}

.hero h1 {
  max-width: 980px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(38px, 5.8vw, 78px);
  font-weight: 880;
  line-height: 1.06;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
}

.version-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 18px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 999px;
  color: #083963;
  background: linear-gradient(180deg, #fff, #d9efff);
  font-size: 16px;
  font-weight: 860;
}

.hero-rule {
  width: min(640px, 76%);
  height: 2px;
  margin: 24px 0;
  background: linear-gradient(90deg, var(--gold), rgba(255, 255, 255, 0.72), transparent);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 1080px;
}

.metric-card,
.fact-card,
.definition-card,
.quote-block,
.insight-block,
.trend-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045)),
    rgba(3, 17, 38, 0.44);
  box-shadow: 0 18px 48px rgba(0, 8, 26, 0.22);
}

.metric-card {
  min-width: 0;
  padding: 18px;
}

.metric-card strong,
.metric-card span,
.metric-card small {
  display: block;
}

.metric-card strong {
  color: #fff;
  font-size: clamp(25px, 3vw, 40px);
  line-height: 1.05;
}

.metric-card span {
  margin-top: 9px;
  color: rgba(242, 250, 255, 0.94);
  font-size: 14px;
  font-weight: 680;
}

.metric-card small {
  margin-top: 5px;
  color: rgba(215, 236, 248, 0.75);
  font-size: 12px;
  line-height: 1.45;
}

.layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-top: 18px;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.toc-panel {
  position: sticky;
  top: calc(var(--topbar-height) + 18px);
  align-self: start;
  max-height: calc(100vh - var(--topbar-height) - 36px);
  overflow: auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(5, 22, 49, 0.78);
  box-shadow: 0 20px 55px rgba(2, 10, 24, 0.28);
  backdrop-filter: blur(18px);
  scrollbar-width: thin;
  scrollbar-color: rgba(190, 228, 255, 0.42) transparent;
}

.sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  color: #f3fbff;
  font-size: 18px;
  font-weight: 800;
}

.toc-list {
  display: grid;
  gap: 8px;
}

.toc-link {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: inherit;
  text-align: left;
  background: transparent;
}

.toc-link span,
.toc-link small {
  display: block;
}

.toc-link span {
  color: #dff3ff;
  font-size: 15px;
  font-weight: 780;
  line-height: 1.45;
}

.toc-link small {
  display: none;
  margin-top: 3px;
  color: rgba(227, 243, 255, 0.62);
  font-size: 12px;
  line-height: 1.45;
}

.toc-link:hover,
.toc-link.active {
  border-color: rgba(173, 226, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
}

.report {
  display: grid;
  gap: 28px;
  min-width: 0;
}

.chapter {
  scroll-margin-top: calc(var(--topbar-height) + 24px);
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(3, 17, 38, 0.42);
  box-shadow: var(--shadow);
  min-width: 0;
}

.chapter-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.chapter-kicker {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(169, 228, 255, 0.34);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(0, 110, 184, 0.28);
  font-size: 12px;
  font-weight: 850;
}

.chapter-title {
  margin: 12px 0 0;
  color: #fff;
  font-size: clamp(25px, 3.2vw, 42px);
  line-height: 1.15;
  font-weight: 860;
}

.chapter-lead {
  margin: 12px 0 0;
  color: rgba(238, 248, 255, 0.9);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.75;
  font-weight: 700;
}

.source-chip,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid rgba(169, 228, 255, 0.28);
  border-radius: 999px;
  color: #dff4ff;
  background: rgba(9, 151, 216, 0.16);
  font-size: 12px;
  font-weight: 780;
  white-space: nowrap;
}

.summary-list,
.bullet-list,
.number-list {
  display: grid;
  gap: 9px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.summary-list li,
.bullet-list li,
.number-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.summary-list li::before,
.bullet-list li::before,
.number-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--cyan);
  content: "▸";
}

.section {
  margin-top: 26px;
  scroll-margin-top: calc(var(--topbar-height) + 24px);
}

.section-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.section-title {
  margin: 0;
  color: #fff;
  font-size: clamp(19px, 2vw, 27px);
  line-height: 1.35;
  font-weight: 820;
}

.section-body {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.section-body > * {
  min-width: 0;
}

.paragraph {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.paragraph strong,
.insight-block strong,
.quote-block strong,
td strong {
  color: #fff;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.data-grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.data-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fact-card {
  padding: 18px;
}

.fact-card strong {
  display: block;
  color: #fff;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.1;
}

.fact-card span {
  display: block;
  margin-top: 9px;
  color: rgba(242, 250, 255, 0.92);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.fact-card small {
  display: block;
  margin-top: 5px;
  color: var(--soft);
  font-size: 12px;
  line-height: 1.5;
}

.table-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid rgba(198, 231, 255, 0.12);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
  text-align: left;
  vertical-align: top;
}

th {
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 110, 184, 0.78), rgba(0, 82, 146, 0.78));
  font-size: 13px;
  font-weight: 800;
}

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

tbody tr:hover td {
  background: rgba(255, 255, 255, 0.045);
}

.highlight-row td {
  color: #f7fcff;
  background: rgba(16, 151, 216, 0.15);
}

.positive {
  color: var(--green);
  font-weight: 800;
}

.negative {
  color: var(--red);
  font-weight: 800;
}

.chart-table-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(230px, 0.55fr);
  gap: 16px;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.chart-table-grid > *,
.data-grid > *,
.definition-grid > * {
  min-width: 0;
}

.chart-table-grid table {
  min-width: 520px;
}

.donut-card {
  display: grid;
  place-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.donut {
  --a: 40%;
  --b: 30%;
  --c: 18%;
  --d: 10%;
  width: min(230px, 70vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle closest-side, rgba(3, 17, 38, 0.95) 0 48%, transparent 49%),
    conic-gradient(
      #0a97d8 0 40%,
      #41d59b 40% 70%,
      #d7b86b 70% 88%,
      #7aa8ff 88% 98%,
      #9db4c7 98% 100%
    );
}

.donut-caption {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 740;
  text-align: center;
}

.legend {
  display: grid;
  gap: 8px;
  width: 100%;
  margin-top: 18px;
}

.legend div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.legend i {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 7px;
  border-radius: 50%;
}

.insight-block,
.quote-block {
  padding: 16px 18px;
}

.insight-block {
  border-left: 4px solid var(--blue-2);
}

.quote-block {
  border-left: 4px solid var(--gold);
  background:
    linear-gradient(90deg, rgba(215, 184, 107, 0.16), rgba(255, 255, 255, 0.045)),
    rgba(3, 17, 38, 0.4);
}

.insight-title,
.quote-title {
  display: block;
  margin-bottom: 7px;
  color: #fff;
  font-size: 15px;
  font-weight: 820;
}

.definition-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.definition-card {
  padding: 18px;
}

.definition-card h4 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 17px;
}

.definition-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.section-product-definition .section-body {
  margin-top: 14px;
}

.product-definition-grid {
  gap: 12px;
}

.product-definition-grid .definition-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 0;
  padding: 16px 18px;
  border-left: 3px solid rgba(10, 151, 216, 0.52);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(235, 248, 255, 0.82)),
    #fff;
}

.product-definition-grid .definition-card h4 {
  margin: 0;
  color: #063f73;
  font-size: 16px;
  line-height: 1.35;
}

.product-definition-grid .definition-card p {
  display: grid;
  gap: 6px;
  color: #31506c;
  font-size: 13.5px;
  line-height: 1.58;
}

.product-definition-grid .definition-line {
  display: block;
}

.product-concept-visuals {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(230px, 0.68fr);
  gap: 14px;
  min-width: 0;
}

.concept-visual-main,
.concept-visual-tile {
  overflow: hidden;
  border: 1px solid rgba(0, 83, 143, 0.14);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(231, 246, 255, 0.78));
  box-shadow: 0 18px 44px rgba(26, 76, 126, 0.14);
}

.concept-visual-main {
  aspect-ratio: 16 / 10;
}

.concept-visual-strip {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
  min-height: 0;
}

.concept-visual-tile {
  min-height: 0;
}

.concept-visual-main img,
.concept-visual-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.concept-visual-main img {
  object-position: center 58%;
}

.concept-visual-tile img {
  object-position: center center;
}

.definition-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.definition-card dt {
  color: #fff;
  font-size: 13px;
  font-weight: 820;
}

.definition-card dd {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.case-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.case-card h4 {
  margin: 0;
  color: #fff;
  font-size: 18px;
}

.case-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.pyramid {
  display: grid;
  gap: 10px;
}

.pyramid-layer {
  display: grid;
  grid-template-columns: 110px minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.pyramid-layer strong {
  color: #fff;
}

.pyramid-layer span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

body.compact .chapter {
  padding: 20px;
}

body.compact .report {
  gap: 20px;
}

body.compact .section {
  margin-top: 20px;
}

body.compact th,
body.compact td {
  padding: 10px 12px;
}

body.toc-open {
  overflow: hidden;
}

@media (max-width: 1180px) {
  .hero-metrics,
  .data-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .layout {
    grid-template-columns: 1fr;
  }

  .toc-panel {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 100;
    width: min(360px, 88vw);
    max-height: none;
    border-radius: 0;
    transform: translateX(-105%);
    transition: transform 180ms ease;
  }

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

  .close-toc {
    display: inline-flex;
  }

  .chart-table-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1360px) {
  .chart-table-grid {
    grid-template-columns: 1fr;
  }

  .chart-table-grid table {
    min-width: 680px;
  }
}

@media (max-width: 760px) {
  :root {
    --topbar-height: 62px;
  }

  .topbar {
    padding: 10px 14px;
  }

  .brand-copy {
    display: none;
  }

  .icon-button {
    min-height: 38px;
    padding: 0 10px;
  }

  .icon-button span {
    display: none;
  }

  .shell {
    padding: 0 12px 54px;
  }

  .hero {
    min-height: auto;
    padding-top: 24px;
  }

  .hero::before {
    inset: 16px 0 0;
  }

  .hero-inner {
    padding: 22px 16px 24px;
  }

  .hero h1 {
    font-size: clamp(31px, 10vw, 42px);
  }

  .source-line {
    font-size: 12px;
  }

  .hero-rule {
    width: 100%;
    margin: 18px 0;
  }

  .hero-metrics,
  .data-grid,
  .data-grid.cols-2,
  .data-grid.cols-3,
  .definition-grid,
  .product-concept-visuals {
    grid-template-columns: 1fr;
  }

  .concept-visual-strip {
    grid-template-rows: none;
    grid-template-columns: 1fr;
  }

  .concept-visual-main,
  .concept-visual-tile {
    aspect-ratio: 16 / 10;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .metric-card,
  .fact-card {
    padding: 12px 10px;
  }

  .metric-card strong {
    font-size: 24px;
  }

  .metric-card span {
    font-size: 12px;
  }

  .metric-card small {
    font-size: 11px;
  }

  .chapter {
    padding: 18px 14px;
  }

  .chapter-header {
    grid-template-columns: 1fr;
  }

  .pyramid-layer {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Light Blue Brand Refresh */
.site-bg {
  background:
    linear-gradient(140deg, rgba(0, 110, 184, 0.18), transparent 34%),
    radial-gradient(circle at 86% 18%, rgba(95, 200, 242, 0.22), transparent 28%),
    linear-gradient(180deg, #f7fbff 0%, #edf7ff 48%, #f8fbff 100%);
}

.site-bg::after {
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(0, 110, 184, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 110, 184, 0.055) 1px, transparent 1px);
}

.topbar {
  border-bottom-color: rgba(0, 83, 143, 0.13);
  background: rgba(248, 252, 255, 0.86);
}

.brand-mark {
  color: var(--text);
}

.brand-copy {
  color: #123454;
}

.icon-button,
.close-toc {
  border-color: rgba(0, 110, 184, 0.2);
  color: #0a3a62;
  background: rgba(255, 255, 255, 0.78);
}

.icon-button:hover,
.close-toc:hover,
.icon-button:focus-visible,
.close-toc:focus-visible {
  border-color: rgba(0, 110, 184, 0.36);
  background: #fff;
}

.hero::before {
  border-color: rgba(0, 110, 184, 0.18);
  background:
    linear-gradient(118deg, rgba(0, 110, 184, 0.92), rgba(10, 151, 216, 0.58) 46%, rgba(255, 255, 255, 0.88) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent 64%);
}

.hero::after {
  background: linear-gradient(90deg, transparent, rgba(0, 110, 184, 0.28), transparent);
}

.hero h1 {
  color: #fff;
  text-shadow: 0 14px 34px rgba(0, 49, 92, 0.24);
}

.eyebrow,
.source-line {
  color: rgba(255, 255, 255, 0.9);
}

.hero-rule {
  background: linear-gradient(90deg, #fff, rgba(215, 184, 107, 0.9), transparent);
}

.metric-card,
.fact-card,
.definition-card,
.quote-block,
.insight-block,
.trend-card {
  border-color: rgba(0, 83, 143, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(238, 248, 255, 0.88)),
    #fff;
  box-shadow: 0 14px 36px rgba(26, 76, 126, 0.1);
}

.metric-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(225, 244, 255, 0.68));
  backdrop-filter: blur(8px);
}

.metric-card strong,
.fact-card strong {
  color: #053e70;
}

.metric-card span,
.fact-card span {
  color: #0c3558;
}

.metric-card small,
.fact-card small {
  color: #5c738a;
}

.toc-panel,
.chapter {
  border-color: rgba(0, 83, 143, 0.14);
  background: #fff;
  box-shadow: 0 18px 45px rgba(26, 76, 126, 0.14);
}

.sidebar-head,
.chapter-title,
.section-title,
.insight-title,
.quote-title,
.paragraph strong,
.insight-block strong,
.quote-block strong,
td strong,
.case-card h4,
.pyramid-layer strong {
  color: #09213f;
}

.chapter-lead {
  color: #143c60;
}

.chapter-kicker,
.source-chip,
.tag {
  border-color: rgba(0, 110, 184, 0.22);
  color: #075b97;
  background: rgba(9, 151, 216, 0.09);
}

.toc-link span {
  color: #0b3f69;
}

.toc-link small {
  color: #6d8298;
}

.toc-link:hover,
.toc-link.active {
  border-color: rgba(0, 110, 184, 0.24);
  background: rgba(0, 110, 184, 0.07);
}

.summary-list li,
.bullet-list li,
.number-list li,
.paragraph,
.definition-card p,
.definition-card dd,
.case-card p,
.pyramid-layer span,
th,
td,
.legend div,
.donut-caption {
  color: var(--muted);
}

.summary-list li::before,
.bullet-list li::before,
.number-list li::before {
  color: var(--blue-2);
  content: ">";
}

.table-wrap {
  border-color: rgba(0, 83, 143, 0.14);
  background: #fff;
}

th {
  color: #fff;
  background: linear-gradient(180deg, #0076bd, #0062a6);
}

td {
  border-bottom-color: rgba(0, 83, 143, 0.1);
}

tbody tr:hover td {
  background: rgba(0, 110, 184, 0.045);
}

.highlight-row td {
  color: #0b2b48;
  background: rgba(16, 151, 216, 0.1);
}

.donut-card,
.case-card,
.pyramid-layer {
  border-color: rgba(0, 83, 143, 0.14);
  background: #fff;
}

.donut {
  background:
    radial-gradient(circle closest-side, #fff 0 48%, transparent 49%),
    conic-gradient(
      #0a97d8 0 40%,
      #41d59b 40% 70%,
      #d7b86b 70% 88%,
      #7aa8ff 88% 98%,
      #9db4c7 98% 100%
    );
}

.quote-block {
  border-left-color: var(--gold);
  background:
    linear-gradient(90deg, rgba(215, 184, 107, 0.14), rgba(255, 255, 255, 0.88)),
    #fff;
}

.insight-block {
  border-left-color: var(--blue-2);
}

.definition-card h4,
.definition-card dt {
  color: #0b3f69;
}

/* Persistent Responsive TOC */
@media (max-width: 1180px) {
  .layout {
    gap: 14px;
  }

  .toc-panel {
    position: sticky;
    top: calc(var(--topbar-height) + 8px);
    z-index: 65;
    width: 100%;
    max-height: none;
    padding: 10px;
    border-radius: var(--radius);
    transform: none;
  }

  body.toc-open .toc-panel {
    transform: none;
  }

  .sidebar-head {
    margin-bottom: 8px;
  }

  .close-toc {
    display: none;
  }

  .toc-list {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .toc-list::-webkit-scrollbar {
    display: none;
  }

  .toc-link {
    width: min(260px, 72vw);
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
}

@media (max-width: 760px) {
  .toc-panel {
    top: calc(var(--topbar-height) + 6px);
    margin-top: 2px;
  }

  .toc-link {
    width: min(236px, 72vw);
    padding: 9px 10px;
  }
}

/* Docked TOC While Reading */
@media (max-width: 1180px) {
  .toc-panel {
    display: flex;
    align-items: center;
    gap: 8px;
    position: fixed;
    top: calc(var(--topbar-height) + 8px);
    right: clamp(12px, 4vw, 24px);
    bottom: auto;
    left: clamp(12px, 4vw, 24px);
    width: auto;
    max-height: 72px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-120%);
    transition:
      opacity 160ms ease,
      transform 160ms ease;
  }

  body.toc-docked .toc-panel,
  body.toc-open .toc-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .report {
    padding-top: 78px;
  }

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

  .toc-panel::before {
    flex: 0 0 auto;
    content: "报告目录";
    color: #09213f;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
  }

  .toc-panel .sidebar-head {
    display: none;
  }

  .toc-panel .toc-list {
    flex: 1 1 auto;
    min-width: 0;
  }

  .toc-panel .toc-link {
    width: min(210px, 58vw);
    padding: 8px 10px;
  }

  .toc-panel .toc-link small {
    display: none;
  }
}

@media (max-width: 760px) {
  .toc-panel {
    top: calc(var(--topbar-height) + 6px);
  }

  .report {
    padding-top: 74px;
  }

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

/* Continuous Top Background Gradient */
.shell {
  position: relative;
  isolation: isolate;
}

.shell::before {
  position: absolute;
  top: 0;
  left: calc(50% - 50vw);
  z-index: -1;
  width: 100vw;
  height: 1040px;
  content: "";
  background: linear-gradient(
    180deg,
    #03142f 0%,
    #00447f 28%,
    #0072b5 48%,
    #6fc9e9 66%,
    #d9f0fa 82%,
    #f5f9fd 100%
  );
}

.hero {
  background: transparent;
}

/* Hero Deep Gradient Tuning */
.hero::before {
  border-color: rgba(0, 92, 168, 0.28);
  background:
    linear-gradient(118deg, rgba(0, 92, 168, 0.96) 0%, rgba(0, 124, 199, 0.9) 34%, rgba(4, 31, 70, 0.92) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 58%);
}

.hero::after {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
}

.hero .metric-card {
  border-color: rgba(216, 241, 255, 0.3);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(225, 244, 255, 0.82));
  box-shadow: 0 18px 42px rgba(0, 38, 82, 0.18);
}

/* Full Bleed Hero Band */
.hero {
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  min-height: auto;
  z-index: 0;
  padding-right: clamp(16px, 4vw, 46px);
  padding-bottom: clamp(38px, 5vw, 62px);
  padding-left: clamp(16px, 4vw, 46px);
}

.hero::before {
  inset: 0;
  border-width: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-inner {
  width: min(1120px, calc(100vw - clamp(32px, 8vw, 92px)));
  margin: 0 auto;
}

.hero::after {
  display: none;
}

/* Project Portal */
.portal-page {
  min-height: 100vh;
  color: #fff;
  background: #03142f;
}

.portal-page .site-bg {
  background:
    linear-gradient(180deg, rgba(2, 11, 29, 0.98) 0%, rgba(3, 30, 67, 0.98) 28%, rgba(0, 95, 169, 0.94) 56%, rgba(101, 196, 232, 0.72) 78%, #e7f6fb 100%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.12) 0%, transparent 34%, rgba(83, 205, 246, 0.16) 72%, transparent 100%);
}

.portal-page .site-bg::after {
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(to bottom, black 0%, rgba(0, 0, 0, 0.86) 58%, transparent 100%);
}

.portal-shell {
  display: grid;
  align-content: center;
  width: min(1120px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 76px) 0;
}

.portal-hero {
  position: relative;
  color: #fff;
  text-shadow: 0 18px 42px rgba(0, 18, 46, 0.28);
}

.portal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 7px 12px 7px 7px;
  border: 1px solid rgba(213, 239, 255, 0.26);
  border-radius: 999px;
  background: rgba(1, 17, 41, 0.26);
  box-shadow: 0 16px 40px rgba(0, 24, 60, 0.22);
  backdrop-filter: blur(14px);
}

.portal-hero .brand-symbol {
  width: fit-content;
  box-shadow: 0 12px 30px rgba(0, 39, 92, 0.28);
}

.portal-hero .eyebrow {
  margin: 0;
  color: rgba(235, 248, 255, 0.88);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.portal-hero h1 {
  max-width: 820px;
  margin: 12px 0 14px;
  color: #fff;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 1.02;
  letter-spacing: 0;
}

.portal-lead {
  max-width: 760px;
  margin: 0;
  color: rgba(241, 249, 255, 0.9);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 650;
  line-height: 1.75;
}

.portal-link-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(28px, 5vw, 56px);
}

.portal-link-grid::before {
  position: absolute;
  top: 34px;
  left: 9%;
  z-index: 0;
  width: 82%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(213, 239, 255, 0.78), rgba(185, 225, 252, 0.58), transparent);
}

.portal-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  min-height: 220px;
  padding: clamp(20px, 3vw, 30px);
  overflow: hidden;
  border: 1px solid rgba(213, 239, 255, 0.52);
  border-radius: var(--radius);
  color: #fff;
  text-decoration: none;
  background:
    linear-gradient(145deg, rgba(5, 36, 79, 0.9), rgba(0, 111, 185, 0.78) 52%, rgba(99, 201, 239, 0.64)),
    #06345d;
  box-shadow: 0 28px 82px rgba(0, 21, 54, 0.34);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.portal-card::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 56%);
}

.portal-card:hover,
.portal-card:focus-visible {
  border-color: rgba(255, 255, 255, 0.88);
  outline: none;
  box-shadow: 0 32px 88px rgba(0, 21, 54, 0.42);
  transform: translateY(-3px);
}

.portal-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.portal-card-head span {
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid rgba(213, 239, 255, 0.58);
  border-radius: 999px;
  color: #eaf8ff;
  background: rgba(1, 22, 51, 0.28);
  font-size: 12px;
  font-weight: 850;
}

.portal-card-head em {
  color: rgba(234, 248, 255, 0.78);
  font-size: 13px;
  font-style: normal;
  font-weight: 850;
  letter-spacing: 0;
}

.portal-card strong {
  max-width: 100%;
  color: #fff;
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1.2;
}

.portal-card small {
  color: rgba(237, 249, 255, 0.86);
  font-size: 15px;
  line-height: 1.7;
}

.portal-card.primary {
  background:
    linear-gradient(145deg, rgba(3, 23, 54, 0.94), rgba(0, 89, 160, 0.86) 52%, rgba(50, 176, 224, 0.72)),
    #05244f;
}

@media (max-width: 760px) {
  .portal-link-grid {
    grid-template-columns: 1fr;
  }

  .portal-link-grid::before {
    top: 18px;
    left: 24px;
    width: 1px;
    height: calc(100% - 36px);
    background: linear-gradient(180deg, transparent, rgba(213, 239, 255, 0.62), transparent);
  }

  .portal-card {
    min-height: 0;
  }

  .portal-kicker {
    gap: 10px;
    max-width: 100%;
  }
}

/* Final TOC Simplification */
.toc-link small {
  display: none;
}

.toc-link span {
  font-size: 15px;
  line-height: 1.45;
}

.sidebar-head {
  font-size: 18px;
}

@media (max-width: 1180px) {
  .layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .toc-panel {
    position: sticky;
    top: calc(var(--topbar-height) + 8px);
    right: auto;
    bottom: auto;
    left: auto;
    z-index: 65;
    display: block;
    width: 100%;
    max-height: none;
    overflow: hidden;
    padding: 12px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition:
      border-color 160ms ease,
      box-shadow 160ms ease;
  }

  body.toc-docked .toc-panel,
  body.toc-open .toc-panel {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .toc-panel::before {
    display: none;
    content: "";
  }

  .toc-panel .sidebar-head {
    display: flex;
    margin-bottom: 10px;
    font-size: 18px;
  }

  .toc-panel .toc-list {
    display: flex;
    gap: 8px;
    min-width: 0;
    overflow-x: auto;
    padding-bottom: 2px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .toc-panel .toc-list::-webkit-scrollbar {
    display: none;
  }

  .toc-panel .toc-link {
    flex: 0 0 auto;
    width: auto;
    min-width: max-content;
    max-width: min(320px, 78vw);
    padding: 10px 14px;
    scroll-snap-align: start;
  }

  .toc-panel .toc-link span {
    font-size: 15px;
    white-space: nowrap;
  }

  .report {
    padding-top: 0;
  }

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

@media (max-width: 760px) {
  .toc-panel {
    top: calc(var(--topbar-height) + 6px);
    padding: 11px;
  }

  .report {
    padding-top: 0;
  }

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

/* SENKA Product Concept Demo */
.concept-page {
  background: #f3faff;
}

.concept-page .site-bg {
  background:
    linear-gradient(180deg, rgba(229, 246, 255, 0.92) 0%, rgba(250, 253, 255, 0.98) 38%, #f7fbff 100%),
    linear-gradient(112deg, rgba(0, 74, 138, 0.12), transparent 52%);
}

.concept-page .site-bg::after {
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(0, 95, 170, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 95, 170, 0.06) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 76%);
}

.concept-page .topbar {
  border-bottom-color: rgba(0, 96, 170, 0.12);
  background: rgba(247, 252, 255, 0.82);
  box-shadow: 0 10px 36px rgba(16, 74, 126, 0.08);
}

.concept-shell {
  width: min(100%, 1680px);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 56px) 88px;
}

.concept-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  gap: clamp(22px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - var(--topbar-height));
  padding: clamp(34px, 5vw, 72px) 0 clamp(34px, 5vw, 74px);
}

.concept-hero-copy {
  position: relative;
  z-index: 1;
}

.concept-page .concept-hero .eyebrow,
.concept-page .concept-hero .source-line {
  color: #24516f;
}

.concept-page .concept-hero h1 {
  max-width: 760px;
  margin: 0 0 18px;
  color: #042748;
  font-size: clamp(42px, 6vw, 88px);
  font-weight: 900;
  line-height: 1.02;
  text-shadow: none;
}

.concept-page .concept-hero h1 span {
  display: block;
}

.concept-page .concept-hero .version-pill {
  border-color: rgba(0, 110, 184, 0.22);
  color: #063f73;
  background: linear-gradient(180deg, #fff, #e1f4ff);
}

.concept-page .concept-hero .hero-rule {
  width: min(560px, 92%);
  background: linear-gradient(90deg, #006eb8, rgba(95, 200, 242, 0.78), transparent);
}

.concept-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 620px;
}

.concept-page .concept-metrics .metric-card {
  border-color: rgba(0, 110, 184, 0.16);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 42px rgba(22, 91, 151, 0.12);
  backdrop-filter: blur(14px);
}

.concept-hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 540px;
  overflow: hidden;
  border: 1px solid rgba(0, 95, 170, 0.15);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(224, 245, 255, 0.1)),
    #eaf7ff;
  box-shadow: 0 30px 86px rgba(18, 82, 145, 0.18);
}

.concept-hero-visual > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
  object-position: center center;
}

.concept-hero-thumbs {
  position: absolute;
  right: clamp(12px, 2vw, 24px);
  bottom: clamp(12px, 2vw, 24px);
  display: grid;
  grid-template-columns: repeat(2, minmax(110px, 168px));
  gap: 10px;
}

.concept-hero-thumbs img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(12, 58, 104, 0.18);
}

.concept-layout {
  display: grid;
  grid-template-columns: 276px minmax(0, 1fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
}

.concept-toc {
  top: calc(var(--topbar-height) + 20px);
  border-color: rgba(0, 95, 170, 0.13);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 24px 56px rgba(27, 91, 145, 0.12);
}

.concept-report {
  gap: 28px;
}

.concept-section {
  margin-top: 0;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(0, 83, 143, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 249, 255, 0.92)),
    #fff;
  box-shadow: 0 22px 58px rgba(26, 76, 126, 0.12);
}

.concept-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 95, 170, 0.12);
}

.concept-section-head .section-title {
  color: #052b4c;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.16;
}

.concept-section-body {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.concept-product-story {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(18px, 3vw, 30px);
  align-items: start;
}

.concept-product-frame {
  position: sticky;
  top: calc(var(--topbar-height) + 22px);
  overflow: hidden;
  min-height: 520px;
  border: 1px solid rgba(0, 95, 170, 0.14);
  border-radius: 8px;
  background: #edf8ff;
  box-shadow: 0 24px 62px rgba(23, 89, 150, 0.14);
}

.concept-product-frame img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center center;
}

.concept-page .product-definition-grid {
  grid-template-columns: 1fr;
  gap: 12px;
}

.concept-page .product-definition-grid .definition-card {
  padding: 18px 20px;
  border-left: 0;
  border-color: rgba(0, 95, 170, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(233, 247, 255, 0.84)),
    #fff;
  box-shadow: 0 14px 34px rgba(22, 88, 148, 0.08);
}

.concept-page .product-definition-grid .definition-card h4 {
  color: #004f8e;
  font-size: 17px;
}

.concept-page .product-definition-grid .definition-card p {
  color: #2f4f69;
  font-size: 14px;
  line-height: 1.68;
}

.concept-image-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.concept-image-card {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(0, 95, 170, 0.14);
  border-radius: 8px;
  background: #eef8ff;
  box-shadow: 0 18px 44px rgba(25, 91, 150, 0.12);
}

.concept-image-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.concept-page .definition-grid:not(.product-definition-grid) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.concept-page .definition-card,
.concept-page .insight-block,
.concept-page .quote-block,
.concept-page .pyramid-layer,
.concept-page .table-wrap {
  border-color: rgba(0, 95, 170, 0.13);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 36px rgba(25, 91, 150, 0.08);
}

.concept-page .pyramid {
  gap: 12px;
}

.concept-page .pyramid-layer {
  grid-template-columns: 0.55fr 1.15fr 1.05fr 1.05fr;
}

@media (max-width: 1180px) {
  .concept-hero,
  .concept-layout,
  .concept-product-story {
    grid-template-columns: 1fr;
  }

  .concept-hero {
    min-height: auto;
  }

  .concept-hero-visual,
  .concept-hero-visual > img,
  .concept-product-frame,
  .concept-product-frame img {
    min-height: 420px;
  }

  .concept-product-frame {
    position: relative;
    top: auto;
  }

  .concept-page .definition-grid:not(.product-definition-grid) {
    grid-template-columns: 1fr;
  }

  .concept-page .toc-panel {
    position: sticky;
    top: calc(var(--topbar-height) + 8px);
    right: auto;
    left: auto;
    display: block;
    width: 100%;
    max-height: none;
    overflow: auto;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .concept-page .report {
    padding-top: 0;
  }
}

@media (max-width: 760px) {
  .concept-shell {
    padding: 0 12px 56px;
  }

  .concept-hero {
    gap: 18px;
    padding: 22px 0 34px;
  }

  .concept-page .concept-hero h1 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .concept-metrics,
  .concept-image-band {
    grid-template-columns: 1fr;
  }

  .concept-hero-visual,
  .concept-hero-visual > img,
  .concept-product-frame,
  .concept-product-frame img {
    min-height: 300px;
  }

  .concept-hero-thumbs {
    right: 10px;
    bottom: 10px;
    grid-template-columns: repeat(2, minmax(78px, 1fr));
    width: calc(100% - 20px);
  }

  .concept-section {
    padding: 18px 14px;
  }

  .concept-section-head .section-title {
    font-size: clamp(22px, 7vw, 30px);
  }

  .concept-page .pyramid-layer {
    grid-template-columns: 1fr;
  }
}

/* PDF Export */
@media print {
  * {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  @page {
    size: A4;
    margin: 12mm;
  }

  html,
  body {
    overflow: visible;
    background: #f5f9fd;
  }

  .topbar {
    position: static;
  }

  .shell {
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .hero {
    margin-right: -12mm;
    margin-left: -12mm;
    padding-right: 12mm;
    padding-left: 12mm;
  }

  .layout {
    display: block;
  }

  .toc-panel {
    position: static;
    width: 100%;
    max-height: none;
    margin-bottom: 16px;
    overflow: visible;
  }

  .toc-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .report {
    display: block;
  }

  .chapter,
  .section,
  .insight-block,
  .quote-block,
  .fact-card,
  .definition-card,
  .metric-card {
    break-inside: avoid;
  }

  .chapter {
    margin-bottom: 18px;
  }

  .table-wrap {
    overflow: visible;
    break-inside: auto;
  }
}
