/* === theme/patterns/_chart-frame.css === */
/* _chart-frame.css
 * 共用圖表外框。文件圖表只要在 figure 上掛 chart-frame，
 * 元件自己的 class 只負責內部結構樣式。
 */

.reader-page--content .page-body > figure.chart-frame,
:where(.chart-frame) {
  width: 100%;
  max-width: none;
  margin: var(--openpress-space-3) 0 var(--openpress-space-4);
  margin-left: 0;
  margin-right: 0;
  padding: var(--openpress-space-2);
  border: 1px solid rgba(0, 0, 0, 0.07);
  background: var(--openpress-color-document);
  box-sizing: border-box;
  break-inside: avoid;
}

:where(.chart-frame) figcaption {
  margin-top: var(--openpress-space-2);
  color: var(--openpress-color-muted);
  font-size: clamp(10px, 1.05cqw, 11px);
  line-height: 1.55;
  letter-spacing: 0.04em;
  text-align: center;
}

.reader-page--content .page-body > figure svg,
:where(.chart-frame) svg {
  display: block;
  max-width: 100%;
  height: auto;
  overflow: visible;
}

/* === theme/patterns/figure-grid.css === */
/* figure-grid
 * Reusable image grid pattern for inline Markdown/HTML figures.
 */

table.figure-grid {
  border: 0;
  background: transparent;
  table-layout: fixed;
}

div.figure-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4mm;
  margin: var(--openpress-space-4) 0 var(--openpress-space-2);
  break-inside: avoid;
}

table.figure-grid td {
  border: 0;
  padding: 0 2mm 3mm;
  vertical-align: top;
}

table.figure-grid figure,
div.figure-grid figure {
  margin-top: 0;
  margin-bottom: 0;
}

.figure-grid img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 62mm;
}

/* Three-column triptych: one lead figure plus two siblings, centered on the
 * page. Use this when a section needs a coordinated trio of images at a fixed
 * aspect ratio (e.g. founder profile, milestone photo set). */
div.figure-grid--triptych {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3mm;
  width: min(92%, 156mm);
  margin: var(--openpress-space-4) auto var(--openpress-space-2);
}

div.figure-grid--triptych figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
}

div.figure-grid--triptych img {
  width: 100%;
  max-height: none;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

div.figure-grid--triptych .figure-grid__lead img {
  aspect-ratio: 4 / 3;
}

div.figure-grid--triptych figcaption {
  text-align: left;
}

/* === theme/patterns/table-utilities.css === */
/* table-utilities
 * Semantic table helpers used by content Markdown.
 */

.cell-check,
.cell-partial,
.cell-dash {
  display: inline-block;
  font-feature-settings: "tnum";
  line-height: 1;
}

.cell-check {
  color: #24a148;
  font-weight: 600;
}

.cell-partial {
  color: #b58105;
  font-weight: 500;
}

.cell-dash {
  color: var(--openpress-color-text-placeholder);
  letter-spacing: -0.04em;
}

.status-text {
  display: inline;
  font-size: inherit;
  line-height: inherit;
  white-space: nowrap;
}

.status-live {
  color: #198038;
}

.status-building {
  color: #0f62fe;
}

.status-planned {
  color: #525252;
}

.status-ai-full {
  color: #007d79;
}

.status-ai-partial {
  color: #8a5a00;
}

td.numeric,
th.numeric {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

td.savings-rate,
th.savings-rate {
  color: var(--openpress-color-green);
  font-weight: 600;
}

/* === components/EconomicsVisualShowcase/style.css === */
.economics-visual-showcase {
  width: min(100%, 166mm);
  margin: var(--openpress-space-4) auto;
  break-inside: avoid;
}

.economics-visual-showcase__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3mm;
}

.economics-visual-showcase__panel {
  min-width: 0;
  border: 1px solid var(--openpress-color-line);
  background: var(--openpress-color-document);
  padding: 4.5mm;
}

.economics-visual-showcase__panel--data,
.economics-visual-showcase__panel--prompt {
  grid-column: 1 / -1;
}

.economics-visual-showcase__kicker {
  margin: 0 0 3mm;
  color: var(--openpress-color-muted);
  font-family: var(--openpress-font-mono);
  font-size: clamp(4pt, 1.3cqw, 7pt);
  letter-spacing: 0.14em;
  line-height: 1;
}

.economics-visual-showcase__flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 42mm;
  border-top: 1px solid var(--openpress-color-line);
  border-left: 1px solid var(--openpress-color-line);
}

.economics-visual-showcase__flow span {
  position: relative;
  display: grid;
  place-items: center;
  padding: 3mm;
  border-right: 1px solid var(--openpress-color-line);
  border-bottom: 1px solid var(--openpress-color-line);
  color: var(--openpress-color-ink);
  font-size: clamp(5pt, 1.45cqw, 8pt);
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
}

.economics-visual-showcase__flow span:nth-child(1) {
  background: var(--openpress-chart-gold-bg);
}

.economics-visual-showcase__flow span:nth-child(2) {
  background: var(--openpress-chart-coral-bg);
}

.economics-visual-showcase__flow span:nth-child(3) {
  background: var(--openpress-chart-coral-deep-bg);
}

.economics-visual-showcase__flow span:nth-child(4) {
  background: var(--openpress-chart-dark-bg);
}

.economics-visual-showcase__flow span:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -2.2mm;
  z-index: 1;
  width: 4.4mm;
  height: 4.4mm;
  border-top: 1px solid var(--openpress-color-muted);
  border-right: 1px solid var(--openpress-color-muted);
  background: var(--openpress-color-document);
  transform: translateY(-50%) rotate(45deg);
}

.economics-visual-showcase__variable-map {
  position: relative;
  min-height: 42mm;
  border: 1px solid var(--openpress-color-line);
  background:
    linear-gradient(var(--openpress-color-soft-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--openpress-color-soft-line) 1px, transparent 1px),
    rgba(31, 35, 40, 0.025);
  background-size: 100% 10mm, 14mm 100%, 100% 100%;
}

.economics-visual-showcase__node {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 18mm;
  min-height: 9mm;
  padding: 1.2mm 2mm;
  border: 1px solid var(--openpress-chart-dark-border);
  background: #ffffff;
  color: var(--openpress-color-ink);
  font-size: clamp(5pt, 1.5cqw, 8pt);
  font-weight: 600;
  line-height: 1.1;
}

.economics-visual-showcase__node--top {
  top: 3mm;
  left: 50%;
  transform: translateX(-50%);
}

.economics-visual-showcase__node--left {
  top: 17mm;
  left: 5mm;
}

.economics-visual-showcase__node--right {
  top: 17mm;
  right: 5mm;
}

.economics-visual-showcase__node--bottom {
  bottom: 3mm;
  left: 50%;
  transform: translateX(-50%);
  background: var(--openpress-chart-gold-bg);
}

.economics-visual-showcase__axis {
  position: absolute;
  display: block;
  background: var(--openpress-color-muted);
  opacity: 0.72;
}

.economics-visual-showcase__axis--x {
  top: 22mm;
  left: 20mm;
  right: 20mm;
  height: 1px;
}

.economics-visual-showcase__axis--y {
  top: 12mm;
  bottom: 12mm;
  left: 50%;
  width: 1px;
}

.economics-visual-showcase__charts {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 5mm;
  align-items: center;
  min-height: 40mm;
}

.economics-visual-showcase__pie {
  display: grid;
  place-items: center;
  width: min(32mm, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--openpress-color-document) 0 34%, transparent 35%),
    conic-gradient(
      var(--openpress-chart-gold) 0 42%,
      var(--openpress-chart-coral) 42% 70%,
      var(--openpress-chart-coral-deep) 70% 86%,
      var(--openpress-chart-dark) 86% 100%
    );
}

.economics-visual-showcase__pie span {
  color: var(--openpress-color-ink);
  font-family: var(--openpress-font-mono);
  font-size: clamp(7pt, 1.9cqw, 11pt);
  font-weight: 700;
  line-height: 1;
}

.economics-visual-showcase__line {
  min-width: 0;
  border: 1px solid var(--openpress-color-line);
  background:
    linear-gradient(var(--openpress-color-soft-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--openpress-color-soft-line) 1px, transparent 1px),
    rgba(255, 176, 0, 0.055);
  background-size: 100% 9mm, 14mm 100%, 100% 100%;
  padding: 3mm;
}

.economics-visual-showcase__line svg {
  display: block;
  width: 100%;
  height: 31mm;
}

.economics-visual-showcase__line polyline {
  fill: none;
  stroke: var(--openpress-chart-coral-deep);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.economics-visual-showcase__line circle {
  fill: var(--openpress-color-document);
  stroke: var(--openpress-chart-coral-deep);
  stroke-width: 2;
}

.economics-visual-showcase__prompt-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3mm;
}

.economics-visual-showcase__prompt-card {
  min-width: 0;
  min-height: 28mm;
  padding: 3.5mm;
  border: 1px solid var(--openpress-color-line);
  background: rgba(255, 176, 0, 0.07);
}

.economics-visual-showcase__prompt-card span {
  display: block;
  margin-bottom: 2mm;
  color: var(--openpress-color-muted);
  font-family: var(--openpress-font-mono);
  font-size: clamp(4pt, 1.25cqw, 7pt);
  letter-spacing: 0.1em;
  line-height: 1;
}

.economics-visual-showcase__prompt-card p {
  margin: 0;
  color: var(--openpress-color-ink);
  font-size: clamp(5pt, 1.45cqw, 8pt);
  line-height: 1.45;
}

/* === components/OpenPressVisionFigure/style.css === */
.openpress-vision-figure {
  width: min(100%, 150mm);
  margin: var(--openpress-space-3) auto var(--openpress-space-4);
  break-inside: avoid;
}

.openpress-vision-figure img {
  width: 100%;
  max-height: 66mm;
  object-fit: contain;
}

/* === components/ProjectAsDocumentFigure/style.css === */
.project-document-figure {
  width: min(100%, 164mm);
  margin: var(--openpress-space-4) auto;
  break-inside: avoid;
}

.project-document-figure__stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18mm minmax(0, 0.9fr);
  align-items: stretch;
  gap: 0;
  min-height: 86mm;
  border: 1px solid var(--openpress-color-line);
  background:
    linear-gradient(90deg, rgba(179, 74, 45, 0.06), transparent 36%),
    var(--openpress-color-document);
}

.project-document-figure__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 6mm;
  min-width: 0;
}

.project-document-figure__panel--document {
  align-items: center;
  justify-content: space-between;
  border-left: 1px solid var(--openpress-color-line);
}

.project-document-figure__eyebrow {
  color: var(--openpress-color-muted);
  font-family: var(--openpress-font-mono);
  font-size: clamp(3.4pt, 1.3cqw, 7.2pt);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.project-document-figure__tree {
  display: grid;
  gap: 1.8mm;
  margin-top: 5mm;
}

.project-document-figure__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 3mm;
  padding: 2.1mm 0;
  border-bottom: 1px solid var(--openpress-color-line);
}

.project-document-figure__row span {
  color: var(--openpress-color-ink);
  font-family: var(--openpress-font-mono);
  font-size: clamp(3.6pt, 1.45cqw, 8.2pt);
  overflow-wrap: anywhere;
}

.project-document-figure__row small {
  color: var(--openpress-color-muted);
  font-family: var(--openpress-font-body);
  font-size: clamp(3.4pt, 1.25cqw, 7.4pt);
  white-space: nowrap;
}

.project-document-figure__bridge {
  display: grid;
  place-items: center;
  border-left: 1px solid var(--openpress-color-line);
}

.project-document-figure__bridge span {
  position: relative;
  display: block;
  width: 13mm;
  height: 1px;
  background: var(--openpress-color-muted);
}

.project-document-figure__bridge span::before,
.project-document-figure__bridge span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 5mm;
  height: 5mm;
  border-top: 1px solid var(--openpress-color-muted);
  border-right: 1px solid var(--openpress-color-muted);
  transform: translateY(-50%) rotate(45deg);
  right: 0;
}

.project-document-figure__bridge span::before {
  left: 0;
  right: auto;
  width: 3mm;
  height: 3mm;
  border: 1px solid var(--openpress-color-muted);
  border-radius: 999px;
  transform: translateY(-50%);
}

.project-document-figure__page-stack {
  position: relative;
  width: min(48mm, 72%);
  aspect-ratio: 0.72;
  margin: 3mm auto 2mm;
}

.project-document-figure__page {
  position: absolute;
  inset: 0;
  border: 1px solid var(--openpress-color-ink);
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.project-document-figure__page--back {
  transform: translate(5mm, -4mm);
  opacity: 0.55;
  background: #f8f4ea;
}

.project-document-figure__page--front {
  display: grid;
  grid-template-rows: 16mm 1px 1px 1fr;
  gap: 4mm;
  padding: 6mm;
}

.project-document-figure__block,
.project-document-figure__line,
.project-document-figure__table {
  display: block;
  background: var(--openpress-color-line);
}

.project-document-figure__block--hero {
  background: rgba(179, 74, 45, 0.18);
}

.project-document-figure__line {
  height: 1px;
}

.project-document-figure__line--short {
  width: 68%;
}

.project-document-figure__table {
  align-self: end;
  min-height: 18mm;
  background:
    linear-gradient(var(--openpress-color-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--openpress-color-line) 1px, transparent 1px),
    rgba(132, 146, 115, 0.12);
  background-size: 100% 4.5mm, 12mm 100%, 100% 100%;
}

.project-document-figure__outputs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.6mm;
  width: 100%;
}

.project-document-figure__outputs span {
  padding: 1.5mm 2.3mm;
  border: 1px solid var(--openpress-color-line);
  color: var(--openpress-color-ink);
  font-size: clamp(3.4pt, 1.25cqw, 7.4pt);
  line-height: 1;
}

/* === components/TokenSwatchGrid/style.css === */
/* token-swatch-grid
 * Color specimen grid referenced by design.md to display each color token with
 * its sample, hex, and usage note.
 */

.token-swatch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3mm;
  margin: var(--openpress-space-3) 0 var(--openpress-space-4);
  break-inside: avoid;
}

.token-swatch {
  min-height: 42mm;
  overflow: hidden;
  border: 1px solid var(--openpress-color-line);
  border-radius: 6px;
  background: var(--openpress-color-document);
  box-sizing: border-box;
  break-inside: avoid;
}

.token-swatch__sample {
  height: 17mm;
  background: var(--swatch);
  border-bottom: 1px solid var(--swatch-border, var(--openpress-color-line));
}

.token-swatch__body {
  padding: 3mm;
}

.token-swatch h4 {
  margin: 0;
  color: var(--openpress-color-ink);
  font-family: var(--openpress-font-body);
  font-size: 9pt;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
}

.token-swatch code {
  display: block;
  margin-top: 1mm;
  color: var(--openpress-color-muted);
  font-size: 8pt;
  line-height: 1.35;
}

.token-swatch p {
  margin: 2mm 0 0;
  color: #333333;
  font-size: 8.4pt;
  line-height: 1.45;
}

/* === components/TypeSpecimen/style.css === */
/* type-specimen
 * Typography specimen block referenced by design.md to display each typography
 * token alongside a sample in document context.
 */

.type-specimen {
  margin: var(--openpress-space-3) 0 var(--openpress-space-4);
  border-top: 1px solid var(--openpress-color-line);
  break-inside: avoid;
}

.type-specimen__row {
  display: grid;
  grid-template-columns: minmax(30mm, 38mm) minmax(0, 1fr);
  gap: var(--openpress-space-3);
  align-items: center;
  min-height: 20mm;
  padding: 3mm 0;
  border-bottom: 1px solid var(--openpress-color-line);
}

.type-specimen__meta strong {
  display: block;
  font-size: 8.8pt;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  color: var(--openpress-color-ink);
}

.type-specimen__meta span {
  display: block;
  margin-top: 1mm;
  color: var(--openpress-color-muted);
  font-size: 8pt;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.type-specimen__sample {
  margin: 0 !important;
  color: var(--openpress-color-ink);
  text-align: center;
  overflow-wrap: anywhere;
}

.type-specimen__sample--metric {
  font-family: var(--openpress-font-body);
  font-size: 34pt;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.type-specimen__sample--cover-title {
  font-family: var(--openpress-font-serif);
  font-size: 30pt;
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: 0.01em;
}

.type-specimen__sample--chapter-title {
  font-family: var(--openpress-font-serif);
  font-size: 17pt;
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: 0.04em;
}

.type-specimen__sample--section-title {
  font-family: var(--openpress-font-serif);
  font-size: 13pt;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.03em;
}

.type-specimen__sample--body {
  max-width: 112mm;
  margin-right: auto !important;
  margin-left: auto !important;
  font-family: var(--openpress-font-body);
  font-size: 10pt;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0;
}

.type-specimen__sample--caption {
  font-family: var(--openpress-font-body);
  font-size: 8pt;
  font-weight: 400;
  line-height: 1.5;
  color: var(--openpress-color-muted);
  letter-spacing: 0.02em;
}

/* === components/UserStoryPhaseFigure/style.css === */
.user-story-phase-figure {
  width: min(100%, 160mm);
  margin: var(--openpress-space-4) auto;
  break-inside: avoid;
}

.user-story-phase-figure__stage {
  border: 1px solid var(--openpress-color-line);
  background:
    linear-gradient(120deg, rgba(255, 176, 0, 0.11), transparent 40%),
    linear-gradient(300deg, rgba(31, 35, 40, 0.055), transparent 34%),
    var(--openpress-color-document);
  padding: 6mm;
}

.user-story-phase-figure[data-phase="openpress"] .user-story-phase-figure__stage {
  background:
    linear-gradient(120deg, rgba(255, 106, 77, 0.1), transparent 40%),
    linear-gradient(300deg, rgba(31, 35, 40, 0.055), transparent 34%),
    var(--openpress-color-document);
}

.user-story-phase-figure[data-phase="iterate"] .user-story-phase-figure__stage {
  background:
    linear-gradient(120deg, rgba(92, 140, 79, 0.1), transparent 40%),
    linear-gradient(300deg, rgba(31, 35, 40, 0.055), transparent 34%),
    var(--openpress-color-document);
}

.user-story-phase-figure__header {
  display: grid;
  gap: 1.4mm;
  margin-bottom: 5mm;
}

.user-story-phase-figure__header span {
  color: var(--openpress-color-muted);
  font-family: var(--openpress-font-mono);
  font-size: clamp(4pt, 1.3cqw, 7pt);
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.user-story-phase-figure__header strong {
  color: var(--openpress-color-ink);
  font-family: var(--openpress-font-serif);
  font-size: clamp(10pt, 2.35cqw, 16pt);
  font-weight: 300;
  line-height: 1.22;
}

.user-story-phase-figure__track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--openpress-color-line);
  border-left: 1px solid var(--openpress-color-line);
}

.user-story-phase-figure__node {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 25mm;
  padding: 3mm;
  border-right: 1px solid var(--openpress-color-line);
  border-bottom: 1px solid var(--openpress-color-line);
  background: rgba(255, 255, 255, 0.62);
  min-width: 0;
}

.user-story-phase-figure__node span {
  color: var(--openpress-color-ink);
  font-family: var(--openpress-font-mono);
  font-size: clamp(4.7pt, 1.35cqw, 7.6pt);
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
}

.user-story-phase-figure__node i {
  position: absolute;
  top: 50%;
  right: -2.2mm;
  z-index: 1;
  width: 4.4mm;
  height: 4.4mm;
  border-top: 1px solid var(--openpress-color-muted);
  border-right: 1px solid var(--openpress-color-muted);
  background: var(--openpress-color-document);
  transform: translateY(-50%) rotate(45deg);
}

.user-story-phase-figure__output {
  margin: 4mm 0 0;
  color: var(--openpress-color-ink);
  font-size: clamp(5.4pt, 1.55cqw, 8.6pt);
  font-weight: 600;
  line-height: 1.45;
}

/* === components/ZeroToOpenPressFigure/style.css === */
.zero-openpress-figure {
  width: min(100%, 166mm);
  margin: var(--openpress-space-4) auto;
  break-inside: avoid;
}

.zero-openpress-figure__stage {
  border: 1px solid var(--openpress-color-line);
  background:
    linear-gradient(120deg, rgba(255, 176, 0, 0.12), transparent 38%),
    linear-gradient(300deg, rgba(31, 35, 40, 0.06), transparent 34%),
    var(--openpress-color-document);
  padding: 7mm;
}

.zero-openpress-figure__headline {
  display: grid;
  gap: 1.4mm;
  margin-bottom: 6mm;
}

.zero-openpress-figure__headline span {
  color: var(--openpress-color-muted);
  font-family: var(--openpress-font-mono);
  font-size: clamp(4pt, 1.4cqw, 7.4pt);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.zero-openpress-figure__headline strong {
  color: var(--openpress-color-ink);
  font-family: var(--openpress-font-serif);
  font-size: clamp(11pt, 2.7cqw, 18pt);
  font-weight: 300;
  line-height: 1.2;
}

.zero-openpress-figure__flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--openpress-color-line);
  border-bottom: 1px solid var(--openpress-color-line);
}

.zero-openpress-figure__step {
  position: relative;
  display: grid;
  align-content: start;
  gap: 2mm;
  min-height: 34mm;
  padding: 5mm 4mm 4mm;
  border-right: 1px solid var(--openpress-color-line);
  min-width: 0;
}

.zero-openpress-figure__step:last-child {
  border-right: 0;
}

.zero-openpress-figure__step b {
  color: var(--openpress-color-ink);
  font-size: clamp(5.8pt, 1.65cqw, 9pt);
  font-weight: 600;
  line-height: 1.25;
}

.zero-openpress-figure__step small {
  color: var(--openpress-color-muted);
  font-size: clamp(4.8pt, 1.38cqw, 7.6pt);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.zero-openpress-figure__arrow {
  position: absolute;
  top: 50%;
  right: -2.8mm;
  z-index: 1;
  width: 5.6mm;
  height: 5.6mm;
  border-top: 1px solid var(--openpress-color-muted);
  border-right: 1px solid var(--openpress-color-muted);
  background: var(--openpress-color-document);
  transform: translateY(-50%) rotate(45deg);
}

.zero-openpress-figure__output {
  display: flex;
  flex-wrap: wrap;
  gap: 2mm;
  margin-top: 5mm;
}

.zero-openpress-figure__output span {
  padding: 1.6mm 2.5mm;
  border: 1px solid var(--openpress-chart-coral-border);
  background: var(--openpress-chart-coral-bg);
  color: var(--openpress-color-ink);
  font-family: var(--openpress-font-mono);
  font-size: clamp(4pt, 1.35cqw, 7.2pt);
  line-height: 1;
}

