/* Final desktop axis contract. This file loads after the shared theme. */
:root {
  --site-font: Arial, "阿里巴巴普惠体-B", "阿里巴巴普惠体", sans-serif;
  --aux-font: Arial, DengXian, "等线", "阿里巴巴普惠体-B", sans-serif;
}

/* Authorship and course record. Kept as a full-width information band. */
.site-footer {
  display: block;
  padding: 0;
  border-top: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  text-transform: none;
}

.footer-info {
  display: grid;
  grid-template-columns: minmax(220px, 0.82fr) minmax(520px, 2fr) minmax(220px, 0.78fr);
}

.footer-info > section {
  min-width: 0;
  padding: 30px 32px 32px;
  border-right: 1px solid rgba(239, 239, 234, 0.34);
}

.footer-info > section:last-child {
  border-right: 0;
}

.site-footer p {
  margin: 0;
}

.footer-label,
.footer-members-label,
.footer-course > span,
.footer-signoff {
  font-family: var(--aux-font) !important;
}

.footer-label {
  margin-bottom: 18px !important;
  color: #aeb0aa;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.4;
}

.footer-designer strong {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 1.62rem;
  line-height: 1.15;
}

.footer-designer strong span {
  color: var(--into);
  font-family: Arial, sans-serif !important;
  font-size: 0.76rem;
  font-weight: 700;
}

.footer-members-label {
  color: var(--for);
  font-size: 0.68rem;
  font-weight: 800;
}

.footer-members {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 22px;
  margin-top: 14px;
}

.footer-members span {
  position: relative;
  padding-left: 13px;
  color: var(--paper);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.45;
  white-space: nowrap;
}

.footer-members span::before {
  position: absolute;
  top: 0.46em;
  left: 0;
  width: 6px;
  height: 6px;
  content: "";
  background: var(--for);
}

.footer-course {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  background: var(--ink);
  color: #aeb0aa;
  text-align: left;
}

.footer-course > span {
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.45;
}

.footer-signoff {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 13px 32px;
  border-top: 1px solid rgba(239, 239, 234, 0.34);
  color: #aeb0aa;
  font-size: 0.61rem;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .footer-info {
    grid-template-columns: minmax(210px, 0.75fr) minmax(0, 1.5fr);
  }

  .footer-course {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(239, 239, 234, 0.34);
  }
}

@media (max-width: 720px) {
  .footer-info {
    grid-template-columns: 1fr;
  }

  .footer-info > section {
    padding: 24px 5vw;
    border-right: 0;
    border-bottom: 1px solid rgba(239, 239, 234, 0.34);
  }

  .footer-course {
    grid-column: auto;
  }

  .footer-signoff {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    padding: 14px 5vw;
  }
}

@media (min-width: 721px) {
  .compare-section::before,
  .compare-section::after {
    display: none;
  }

  .compare-section .section-heading {
    padding-bottom: 42px;
  }

  .compare-section .section-heading .lede {
    max-width: 850px;
  }

  .paper-atlas {
    --paper-accent: var(--into);
    --paper-highlight-fill: rgba(217, 79, 61, 0.16);
    width: min(1380px, 100%);
    margin: 0 auto;
    border: 1px solid var(--ink);
    background: var(--paper);
  }

  .paper-atlas[data-paper-active="for"] {
    --paper-accent: var(--for);
    --paper-highlight-fill: rgba(47, 124, 113, 0.16);
  }

  .paper-atlas[data-paper-active="through"] {
    --paper-accent: var(--through);
    --paper-highlight-fill: rgba(83, 104, 170, 0.17);
  }

  .paper-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-bottom: 1px solid var(--ink);
  }

  .paper-tab {
    position: relative;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    min-height: 94px;
    padding: 14px 20px;
    border: 0;
    border-right: 1px solid var(--ink);
    background: transparent;
    text-align: left;
    cursor: pointer;
  }

  .paper-tab:last-child {
    border-right: 0;
  }

  .paper-tab::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 4px;
    background: var(--tab-accent);
    content: "";
    opacity: 0;
    transform: scaleX(0.2);
    transition: opacity 180ms ease, transform 220ms ease;
  }

  .paper-tab[data-paper="into"] {
    --tab-accent: var(--into);
  }

  .paper-tab[data-paper="for"] {
    --tab-accent: var(--for);
  }

  .paper-tab[data-paper="through"] {
    --tab-accent: var(--through);
  }

  .paper-tab:hover {
    background: var(--paper-strong);
  }

  .paper-tab.is-active {
    background: var(--ink);
    color: var(--paper);
  }

  .paper-tab.is-active::after {
    opacity: 1;
    transform: scaleX(1);
  }

  .paper-tab-index {
    color: var(--tab-accent);
    font-size: 0.76rem;
    font-weight: 800;
  }

  .paper-tab b,
  .paper-tab small {
    display: block;
  }

  .paper-tab > span:last-child {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
  }

  .paper-tab b {
    font-size: 1.08rem;
    line-height: 1.1;
  }

  .paper-tab small {
    margin-top: 0;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.2;
  }

  .paper-tab.is-active small {
    color: #c9cec6;
  }

  .paper-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(540px, 1.1fr);
    min-height: 760px;
    transition: opacity 160ms ease, transform 180ms ease;
  }

  .paper-atlas.is-switching .paper-layout {
    opacity: 0.28;
    transform: translateY(5px);
  }

  .paper-summary {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 32px 36px 36px;
  }

  .paper-source-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 17px;
  }

  .paper-source-line span {
    padding: 3px 7px;
    border: 1px solid var(--ink);
    color: var(--muted);
    font-family: var(--aux-font) !important;
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1.2;
  }

  .paper-source-line span:first-child {
    border-color: var(--paper-accent);
    color: var(--paper-accent);
  }

  .paper-summary > h3 {
    max-width: 660px;
    margin: 0 0 12px;
    font-size: 1.78rem;
    line-height: 1.12;
  }

  .paper-authors {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.55;
  }

  .paper-doi {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
    padding-bottom: 3px;
    border-bottom: 1px solid var(--paper-accent);
    color: var(--paper-accent);
    font-size: 0.78rem;
    font-weight: 700;
  }

  .paper-analysis-block {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    flex: 1 1 0;
    align-content: center;
    align-items: start;
    gap: 14px;
    min-height: 0;
    padding: 20px 0;
    border-top: 1px solid var(--line);
  }

  .paper-analysis-block:last-child {
    border-bottom: 1px solid var(--line);
  }

  .paper-analysis-no {
    color: var(--paper-accent);
    font-family: var(--aux-font) !important;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1.35;
  }

  .paper-analysis-block h4 {
    margin: -2px 0 9px;
    font-size: 1rem;
    line-height: 1.35;
  }

  .paper-analysis-block p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.68;
  }

  .paper-evidence {
    min-width: 0;
    padding: 28px 32px 30px;
    border-left: 1px solid var(--ink);
    background-color: #e8e9e4;
    background-image: radial-gradient(circle, rgba(21, 27, 26, 0.13) 0 1px, transparent 1.2px);
    background-position: 0 0;
    background-size: 14px 14px;
  }

  .paper-evidence-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    min-height: 55px;
    padding: 0 0 16px;
    border-bottom: 1px solid var(--ink);
    background: #e8e9e4;
  }

  .paper-evidence-kicker {
    color: var(--paper-accent);
    font-family: var(--aux-font) !important;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
  }

  .paper-evidence-head h3 {
    margin: 3px 0 0;
    font-size: 1.1rem;
  }

  .evidence-tabs {
    display: inline-flex;
    border: 1px solid var(--ink);
  }

  .evidence-tabs button {
    min-width: 72px;
    min-height: 30px;
    padding: 5px 9px;
    border: 0;
    border-right: 1px solid var(--ink);
    background: var(--paper);
    font-size: 0.66rem;
    cursor: pointer;
  }

  .evidence-tabs button:last-child {
    border-right: 0;
  }

  .evidence-tabs button[aria-selected="true"] {
    background: var(--ink);
    color: var(--paper);
  }

  .paper-shot-viewport {
    display: grid;
    align-items: start;
    justify-items: center;
    height: 510px;
    margin: 18px 0 12px;
    padding: 16px;
    overflow: hidden;
    border: 1px solid var(--ink);
    background: #cfd2cc;
  }

  .paper-shot-canvas {
    position: relative;
    width: min(100%, calc(var(--shot-ratio) * 500px));
    aspect-ratio: var(--shot-ratio);
    margin: 0;
    overflow: hidden;
    background: #fff;
    box-shadow: 8px 8px 0 rgba(21, 27, 26, 0.16);
    transition: opacity 140ms ease, transform 160ms ease;
  }

  .paper-evidence.is-refreshing .paper-shot-canvas {
    opacity: 0.16;
    transform: translateY(4px);
  }

  .paper-shot-canvas img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
  }

  .paper-highlight {
    position: absolute;
    top: var(--highlight-y);
    left: var(--highlight-x);
    width: var(--highlight-w);
    height: var(--highlight-h);
    border: 2px solid var(--paper-accent);
    background: var(--paper-highlight-fill);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.72) inset;
    pointer-events: none;
    animation: evidence-pulse 2.8s ease-in-out infinite;
  }

  .paper-evidence-caption {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 8px 10px;
    border: 1px solid var(--ink);
    background: var(--paper);
    font-family: var(--aux-font) !important;
    font-size: 0.67rem;
    font-weight: 700;
  }

  .paper-evidence-caption span:first-child {
    color: var(--paper-accent);
  }

  .paper-evidence blockquote {
    display: flex;
    min-height: 0;
    margin: 12px 0 0;
    padding: 16px 18px;
    align-items: center;
    border-left: 3px solid var(--paper-accent);
    background: var(--paper);
    color: var(--ink);
    font-size: 0.88rem;
    line-height: 1.65;
    overflow-wrap: anywhere;
  }

  @keyframes evidence-pulse {
    0%,
    100% {
      background-color: transparent;
    }

    48% {
      background-color: var(--paper-highlight-fill);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .paper-layout,
    .paper-highlight {
      animation: none;
      transition: none;
    }
  }
}

body,
body *,
body *::before,
body *::after {
  font-family: var(--site-font) !important;
}

.system-meta,
.eyebrow,
.map-legend,
.node-meta,
.detail-kicker,
.direction-badge,
.step-label,
.step-tabs,
.step-tabs *,
.axis-label,
.axis-terminal,
.flow-label,
.flow-no,
.flow-output,
footer,
footer * {
  font-family: var(--aux-font) !important;
}

@media (min-width: 721px) {
  .route-map-svg {
    z-index: 10;
  }

  .axis-map-svg {
    z-index: 20;
    pointer-events: none;
  }

  .node-layout,
  .process-map .paradigm-node {
    z-index: 30;
  }

  .process-map .paradigm-node.is-active {
    z-index: 31;
  }

  .axis-main {
    stroke-width: 1.2;
    stroke-dasharray: none;
  }

  .axis-flow {
    stroke-width: 1;
    stroke-dasharray: 1 12;
    stroke-linecap: round;
  }

  .research-path {
    stroke-width: 1.2;
    stroke-dasharray: 5 7;
  }

  .map-stage[data-active="for"] .path-for,
  .map-stage[data-active="into"] .path-into,
  .map-stage[data-active="into"] .path-into-scope,
  .map-stage[data-active="through"] .path-through,
  .map-stage[data-active="through"] .path-through-tail,
  .map-stage[data-active="through"] .path-through-reflect {
    stroke-width: 1.55;
  }

  .axis-label-chip rect,
  .axis-terminal-chip rect,
  .axis-caption-chip rect,
  .flow-label-chip rect {
    fill: var(--paper);
    stroke: var(--ink);
    stroke-width: 0.75;
  }

  .axis-label {
    font-size: 13px;
    font-weight: 700;
  }

  .axis-terminal {
    font-size: 12px;
    font-weight: 800;
  }

  .axis-caption {
    fill: var(--ink);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0;
  }

  .axis-caption-frame {
    fill: none;
    stroke: var(--ink);
    vector-effect: non-scaling-stroke;
  }

  .axis-caption-frame-outer {
    fill: var(--paper);
    stroke-width: 1;
  }

  .axis-caption-frame-inner {
    stroke-width: 0.7;
    stroke-dasharray: 3 3;
    opacity: 0.72;
  }

  .flow-label {
    font-size: 11px;
    font-weight: 600;
  }

  .legend-line {
    box-sizing: border-box;
    width: 9px;
    height: 9px;
    border: 1px solid var(--ink);
    background: var(--paper);
  }

  .process-map .paradigm-node {
    gap: 3px;
    width: 25%;
    height: 140px;
    min-height: 140px;
    padding: 14px 16px;
  }

  .process-map .paradigm-node::before,
  .process-map .node-into.is-active::before,
  .process-map .node-for.is-active::before,
  .process-map .node-through.is-active::before {
    top: -1px;
    left: -1px;
    width: 11px;
    height: 11px;
  }

  .process-map .paradigm-node .node-overline,
  .process-map .paradigm-node strong {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: 0;
  }

  .process-map .paradigm-node .node-overline {
    color: var(--ink) !important;
  }

  .process-map .paradigm-node strong {
    display: inline-flex;
    gap: 0.55em;
    white-space: nowrap;
  }

  .process-map .node-into .node-direction {
    color: var(--into);
  }

  .process-map .node-for .node-direction {
    color: var(--for);
  }

  .process-map .node-through .node-direction {
    color: var(--through);
  }

  .tech-mask {
    display: none;
  }

  .node-layout {
    display: block;
  }

  .process-map .paradigm-node {
    position: absolute;
    margin: 0;
  }

  .process-map .node-for {
    top: 90px;
    right: auto;
    bottom: auto;
    left: 0;
    width: 25%;
  }

  .process-map .node-into {
    top: 230px;
    right: 0;
    bottom: auto;
    left: auto;
    width: 25%;
  }

  .process-map .node-through {
    top: 358px;
    right: auto;
    bottom: auto;
    left: 0;
    width: 25%;
  }

  .process-map .node-into:focus-visible {
    outline-color: var(--into);
  }

  .process-map .node-for:focus-visible {
    outline-color: var(--for);
  }

  .process-map .node-through:focus-visible {
    outline-color: var(--through);
  }

  .path-into-coverage {
    stroke-dasharray: none;
  }

  .path-into {
    stroke-dasharray: 5 7;
  }

  .path-into-coverage {
    stroke: var(--into);
    opacity: 0.28;
  }

  .coverage-band {
    fill: var(--into);
    opacity: 0.08;
    transition: opacity 220ms ease;
  }

  .coverage-band-glow {
    fill: var(--into);
    opacity: 0;
    filter: blur(5px);
    transition: opacity 220ms ease;
  }

  .map-stage[data-active="into"] .path-into-coverage {
    opacity: 1;
    stroke-width: 1.55;
  }

  .map-stage[data-active="into"] .coverage-band {
    opacity: 0.16;
  }

  .map-stage[data-active="into"] .coverage-band-glow {
    opacity: 0.14;
    animation: trail-breathe 4.4s ease-in-out infinite;
  }

  .trail-through-reflect,
  .path-through-reflect {
    stroke: var(--through);
  }

  .map-stage[data-active="through"] .trail-through-reflect {
    opacity: 0.24;
    animation: trail-breathe 3.2s ease-in-out infinite;
  }

  .map-stage[data-active="through"] .path-through-reflect {
    opacity: 1;
    animation: research-forward 4.2s linear infinite;
  }

  .map-stage[data-active="into"] .axis-flow,
  .map-stage[data-active="for"] .axis-flow,
  .map-stage[data-active="through"] .axis-flow {
    stroke: var(--ink);
    opacity: 0.66;
    animation: axis-forward 4.8s linear infinite;
  }

  .axis-step-core {
    fill: var(--ink);
  }

  .axis-map-svg .axis-step {
    transform-box: fill-box;
    transform-origin: center;
    animation: process-step-fill 4.5s ease-in-out infinite;
    animation-delay: 0s;
  }

  .axis-map-svg .step-problem {
    animation-delay: 0s;
  }

  .axis-map-svg .step-ideate {
    animation-delay: 0.9s;
  }

  .axis-map-svg .step-make {
    animation-delay: 1.8s;
  }

  .axis-map-svg .step-deploy {
    animation-delay: 2.7s;
  }

  .axis-map-svg .step-reflect {
    animation-delay: 3.6s;
  }

  .tech-dot-array {
    background: radial-gradient(circle, var(--ink) 0 2px, transparent 2.4px) 0 0 / 13px 13px;
    opacity: 0.2;
  }

  @keyframes process-step-fill {
    0%,
    62%,
    100% {
      fill: var(--paper);
      stroke: var(--ink);
      transform: scale(1);
    }

    72% {
      fill: var(--ink);
      stroke: var(--ink);
      transform: scale(1.08);
    }

    82% {
      fill: var(--paper);
      stroke: var(--ink);
      transform: scale(1);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .axis-step {
      animation: none;
    }
  }
}

@media (min-width: 721px) {
  .debate-section::before,
  .debate-section::after {
    display: none;
  }

  .debate-section .section-heading {
    position: relative;
    z-index: 1;
    margin-bottom: 34px;
  }

  .debate-section .eyebrow {
    color: var(--into);
  }

  .debate-case {
    position: relative;
    z-index: 1;
    width: min(1380px, 100%);
    margin: 0 auto;
    border: 1px solid var(--ink);
    background: var(--paper);
  }

  .debate-paper-header {
    padding: 30px 36px 28px;
    border-bottom: 1px solid var(--ink);
    background-color: var(--paper);
    background-image: linear-gradient(90deg, rgba(21, 27, 26, 0.045) 1px, transparent 1px);
    background-size: 28px 100%;
  }

  .debate-source-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    font-family: var(--aux-font) !important;
  }

  .debate-source-line span {
    padding: 4px 8px;
    border: 1px solid var(--ink);
    background: var(--paper);
    font-family: inherit !important;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
  }

  .debate-source-line span:first-child {
    border-color: var(--into);
    color: var(--into);
  }

  .debate-paper-header h3 {
    max-width: 980px;
    margin: 0 0 16px;
    font-size: 2.15rem;
    line-height: 1.08;
  }

  .debate-paper-meta {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
  }

  .debate-paper-meta p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
  }

  .debate-paper-meta a {
    flex: 0 0 auto;
    padding-bottom: 3px;
    border-bottom: 1px solid var(--into);
    color: var(--into);
    font-family: var(--aux-font) !important;
    font-size: 0.8rem;
    font-weight: 700;
  }

  .debate-paper-meta a span {
    font-family: inherit !important;
  }

  .debate-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
  }

  .debate-evidence,
  .debate-reading {
    min-width: 0;
    padding: 32px 36px 36px;
  }

  .debate-evidence {
    background: var(--paper);
  }

  .debate-reading {
    border-left: 1px solid var(--ink);
    background-color: #e8e9e4;
    background-image: radial-gradient(circle, rgba(21, 27, 26, 0.13) 0 1px, transparent 1.2px);
    background-size: 14px 14px;
  }

  .debate-column-kicker {
    margin: 0 0 7px;
    color: var(--into);
    font-family: var(--aux-font) !important;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
  }

  .debate-reading .debate-column-kicker {
    color: var(--through);
  }

  .debate-evidence > h4,
  .debate-reading-head h4 {
    margin: 0 0 24px;
    font-size: 1.42rem;
    line-height: 1.2;
  }

  .debate-reading-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
  }

  .debate-reading-head > div {
    min-width: 0;
  }

  .debate-reading-head h4 {
    margin-bottom: 0;
  }

  .debate-view-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid var(--ink);
    border-radius: 0;
    background: var(--ink);
    color: var(--paper);
    font-family: var(--aux-font) !important;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0;
    cursor: pointer;
    transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
  }

  .debate-view-toggle:hover,
  .debate-view-toggle:focus-visible {
    background: var(--through);
    color: #ffffff;
    outline: none;
    transform: translateY(-2px);
  }

  .debate-view-toggle[aria-pressed="true"] {
    border-color: var(--through);
    background: var(--through);
    color: #ffffff;
  }

  .debate-view-toggle span {
    font-family: inherit !important;
  }

  .debate-pdf-panel,
  .debate-analysis-panel {
    animation: debate-panel-enter 240ms ease both;
  }

  .debate-pdf-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 14px;
    border: 1px solid var(--ink);
    background: var(--paper);
  }

  .debate-pdf-tabs button {
    min-width: 0;
    min-height: 39px;
    border: 0;
    border-right: 1px solid var(--ink);
    border-radius: 0;
    background: transparent;
    color: var(--muted);
    font-family: var(--aux-font) !important;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0;
    cursor: pointer;
  }

  .debate-pdf-tabs button:last-child {
    border-right: 0;
  }

  .debate-pdf-tabs button:hover,
  .debate-pdf-tabs button:focus-visible {
    background: #dfe1dc;
    color: var(--ink);
    outline: none;
  }

  .debate-pdf-tabs button[aria-selected="true"] {
    background: var(--ink);
    color: var(--paper);
  }

  .debate-pdf-figure {
    margin: 0;
  }

  .debate-pdf-viewport {
    position: relative;
    display: grid;
    min-height: 330px;
    padding: 34px 26px 26px;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--ink);
    background-color: #ffffff;
    background-image: linear-gradient(rgba(21, 27, 26, 0.035) 1px, transparent 1px);
    background-size: 100% 28px;
  }

  .debate-pdf-viewport::before {
    position: absolute;
    top: 9px;
    left: 11px;
    content: "SOURCE / ORIGINAL PDF";
    color: var(--into);
    font-family: var(--aux-font) !important;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
  }

  .debate-pdf-viewport img {
    display: block;
    width: 100%;
    max-height: 265px;
    object-fit: contain;
    border: 1px solid rgba(224, 99, 83, 0.82);
    box-shadow: 6px 6px 0 rgba(224, 99, 83, 0.13);
    transition: opacity 140ms ease, transform 140ms ease;
  }

  .debate-pdf-panel.is-refreshing .debate-pdf-viewport img {
    opacity: 0;
    transform: translateY(7px);
  }

  .debate-pdf-figure figcaption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 12px;
    border: 1px solid var(--ink);
    border-top: 0;
    background: var(--paper);
    color: var(--muted);
    font-family: var(--aux-font) !important;
    font-size: 0.68rem;
    font-weight: 700;
  }

  .debate-pdf-figure figcaption span {
    font-family: inherit !important;
  }

  .debate-pdf-note {
    position: relative;
    margin: 14px 0 0;
    padding: 15px 16px 15px 38px;
    border-left: 3px solid var(--into);
    background: var(--paper);
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.62;
  }

  .debate-pdf-note::before {
    position: absolute;
    top: 14px;
    left: 13px;
    content: "↳";
    color: var(--into);
    font-family: Arial, sans-serif !important;
    font-weight: 700;
  }

  .debate-quote {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 22px;
    padding: 22px 0;
    border-top: 1px solid var(--line);
  }

  .debate-quote:last-child {
    border-bottom: 1px solid var(--line);
  }

  .debate-quote > span {
    color: var(--into);
    font-family: var(--aux-font) !important;
    font-size: 0.69rem;
    font-weight: 800;
    line-height: 1.5;
  }

  .debate-quote blockquote {
    margin: 0;
    color: var(--ink);
    font-size: 0.94rem;
    line-height: 1.7;
  }

  .debate-explanation {
    padding: 20px 22px;
    border: 1px solid var(--ink);
    background: var(--paper);
  }

  .debate-explanation h5,
  .debate-verdict h5 {
    margin: 0 0 9px;
    font-size: 1rem;
    line-height: 1.35;
  }

  .debate-explanation p,
  .debate-spectrum-row p,
  .debate-verdict p {
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.72;
  }

  .debate-spectrum {
    margin-top: 24px;
    border-top: 1px solid var(--ink);
  }

  .debate-spectrum-row {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 18px;
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
    background: #e8e9e4;
  }

  .debate-spectrum-row strong {
    align-self: start;
    font-family: var(--aux-font) !important;
    font-size: 0.78rem;
    line-height: 1.5;
  }

  .debate-spectrum-row.is-into strong {
    color: var(--into);
  }

  .debate-spectrum-row.is-for strong {
    color: var(--for);
  }

  .debate-spectrum-row.is-through strong {
    color: var(--through);
  }

  .debate-verdict {
    margin-top: 26px;
    padding-top: 20px;
    border-top: 3px double var(--ink);
  }

  .debate-verdict > span {
    display: block;
    margin-bottom: 7px;
    color: var(--through);
    font-family: var(--aux-font) !important;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
  }

  .debate-verdict h5 {
    font-size: 1.12rem;
  }

  @keyframes debate-panel-enter {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .debate-pdf-panel,
    .debate-analysis-panel,
    .debate-view-toggle,
    .debate-pdf-viewport img {
      animation: none;
      transition: none;
    }
  }
}
