/* //GA article components and adapters.
   Evidence owns its values and mechanisms. These rules own only presentation. */

.ga :is(.ga-article-evidence, .ga-article-method, .ga-article-series, .ga-article-next) {
    min-width: 0;
    color: var(--ga-color-ink);
    font-family: var(--ga-font-sans);
    font-size: var(--ga-type-compact);
    line-height: 1.7;
    letter-spacing: -.01em;
}
.ga .ga-article-label {
    display: block;
    color: var(--ga-color-secondary);
    font: 400 var(--ga-type-label)/1.6 var(--ga-font-mono);
    letter-spacing: .035em;
    text-transform: uppercase;
}
.ga :is(.ga-article-evidence, .ga-article-method, .ga-article-next) p + p { margin-top: var(--ga-space-4); }
.ga :is(.ga-article-evidence, .ga-article-method, .ga-article-series, .ga-article-next) a {
    text-decoration: underline;
    text-decoration-color: var(--ga-color-accent);
    text-underline-offset: 4px;
}
.ga :is(.ga-article-evidence, .ga-article-method, .ga-article-series, .ga-article-next) a:hover { color: var(--ga-color-accent-ink); }

/* Evidence is useful without JavaScript: caption, actual values, and scope. */
.ga .ga-article-evidence {
    margin-block: var(--ga-space-5);
    border-block: 1px solid var(--ga-color-ink);
    background: var(--ga-color-paper);
}
.ga .ga-article-evidence > figcaption,
.ga .ga-article-evidence__caption,
.ga .ga-native-content figure.ga-article-evidence > figcaption {
    margin: 0;
    padding: var(--ga-space-5) 0;
    color: var(--ga-color-ink);
    font-size: var(--ga-type-subhead);
    font-weight: 550;
    line-height: 1.3;
    letter-spacing: -.035em;
    text-align: left;
}
.ga .ga-article-evidence > figcaption > .ga-article-label { margin-bottom: var(--ga-space-3); }
.ga .ga-article-evidence > figcaption strong { font-weight: 550; }
.ga .ga-native-content .ga-article-evidence table { width: 100%; max-width: 100%; font-size: var(--ga-type-compact); }
.ga .ga-native-content .ga-article-evidence table :is(th, td) { padding: var(--ga-space-4); }
.ga .ga-native-content .ga-article-evidence table :is(th, td):first-child { padding-left: 0; }
.ga .ga-native-content .ga-article-evidence table :is(th, td):last-child { padding-right: 0; }
.ga .ga-native-content .ga-article-evidence thead th { color: var(--ga-color-secondary); font-size: var(--ga-type-small); font-weight: 500; }
.ga .ga-native-content .ga-article-evidence tbody th { font-weight: 500; }
.ga .ga-native-content .ga-article-evidence tbody td { font-family: var(--ga-font-mono); font-weight: 500; font-variant-numeric: tabular-nums; }
.ga .ga-native-content .ga-article-evidence td strong { font-family: var(--ga-font-mono); font-size: 1.125em; font-weight: 500; font-variant-numeric: tabular-nums; }
.ga .ga-article-evidence > ol { margin: 0; padding: 0 0 0 var(--ga-space-5); }
.ga .ga-article-evidence > ol > li { padding: var(--ga-space-4) 0; }
.ga .ga-article-evidence > ol > li + li { border-top: 1px solid var(--ga-color-line); }
.ga .ga-article-evidence > ol > li::marker { color: var(--ga-color-accent-ink); font-family: var(--ga-font-mono); }
.ga .ga-article-evidence > ol strong { display: block; margin-bottom: var(--ga-space-2); font-weight: 550; }
.ga .ga-article-evidence__note { margin: 0; padding: var(--ga-space-4) 0 var(--ga-space-5); color: var(--ga-color-secondary); font-size: var(--ga-type-small); line-height: 1.65; letter-spacing: 0; }

/* A native disclosure keeps the short account separate from its method. */
.ga .ga-article-method { margin-block: var(--ga-space-5); padding-block: var(--ga-space-4); border-block: 1px solid var(--ga-color-line); }
.ga details.ga-article-method { padding: 0; }
.ga .ga-article-method > summary { display: flex; justify-content: space-between; align-items: center; gap: var(--ga-space-5); min-height: var(--ga-layout-control); padding-block: var(--ga-space-4); font-size: var(--ga-type-small); font-weight: 550; cursor: pointer; list-style: none; }
.ga .ga-article-method > summary::-webkit-details-marker { display: none; }
.ga .ga-article-method > summary::after { content: '+'; flex: none; font: 400 1.25rem/1 var(--ga-font-mono); }
.ga .ga-article-method[open] > summary::after { content: '−'; }
.ga .ga-article-method[open] > summary { border-bottom: 1px solid var(--ga-color-line); }
.ga details.ga-article-method > :not(summary) { margin-block: var(--ga-space-4); }
.ga .ga-article-method > :is(h2, h3) { margin-bottom: var(--ga-space-3); font-size: var(--ga-type-compact); font-weight: 550; }
.ga .ga-article-method :is(ul, ol) { padding-left: var(--ga-space-5); }
.ga .ga-article-method li + li { margin-top: var(--ga-space-2); }

/* Series orientation and the next useful action are independent components. */
.ga .ga-article-series { margin-block: var(--ga-space-6); padding-block: var(--ga-space-5); border-block: 1px solid var(--ga-color-line); }
.ga .ga-article-series > p { margin: 0 0 var(--ga-space-4); color: var(--ga-color-secondary); font: 400 var(--ga-type-label)/1.6 var(--ga-font-mono); letter-spacing: .035em; text-transform: uppercase; }
.ga .ga-article-series > :is(h2, h3) { margin: 0 0 var(--ga-space-4); font-size: var(--ga-type-compact); line-height: 1.4; font-weight: 550; }
.ga .ga-article-series > ol { margin: 0; padding-left: 1.8rem; list-style-type: decimal-leading-zero; }
.ga .ga-article-series li { padding-left: var(--ga-space-2); }
.ga .ga-article-series li + li { margin-top: var(--ga-space-2); }
.ga .ga-article-series li::marker { color: var(--ga-color-secondary); font-family: var(--ga-font-mono); font-size: var(--ga-type-label); }
.ga .ga-article-series a { display: flex; align-items: center; min-height: var(--ga-layout-control); padding: var(--ga-space-2) var(--ga-space-3); font-size: var(--ga-type-small); line-height: 1.5; }
.ga .ga-article-series a[aria-current="page"] { background: var(--ga-color-ink); color: var(--ga-color-paper); text-decoration-color: var(--ga-color-accent); }
.ga .ga-article-next { margin-top: var(--ga-space-7); padding-top: var(--ga-space-5); border-top: 1px solid var(--ga-color-ink); }
.ga .ga-article-next > :is(h2, h3) { margin: var(--ga-space-3) 0 var(--ga-space-4); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 550; line-height: 1.25; letter-spacing: -.04em; }
.ga .ga-article-next > p { max-width: 60ch; }
.ga .ga-article-next > p:last-child { margin-top: var(--ga-space-4); }
.ga .ga-article-next .ga-text-link { text-decoration: none; }

/* Existing payment-risk examples: a shared skin around unchanged calculations,
   source links, aria states, result labels, IDs and authored responsive layouts. */
.ga .ga-native-content :is(.tk01-article, .tk02-article, .tk03-article,
                          .tk01-toy, .tk02-toy, .tk03-toy,
                          .tk01-notes, .tk02-methods, .tk03-methods) {
    --tk01-ink: var(--ga-color-ink);
    --tk01-muted: var(--ga-color-secondary);
    --tk01-line: var(--ga-color-line);
    --tk01-paper: var(--ga-color-paper);
    --tk01-accent: var(--ga-color-ink);
    --tk01-wash: var(--ga-color-surface);
    --tk02-ink: var(--ga-color-ink);
    --tk02-muted: var(--ga-color-secondary);
    --tk02-border: var(--ga-color-line);
    --tk02-bg: var(--ga-color-paper);
    --tk02-accent: var(--ga-color-ink);
    --tk03-ink: var(--ga-color-ink);
    --tk03-muted: var(--ga-color-secondary);
    --tk03-border: var(--ga-color-line);
    --tk03-bg: var(--ga-color-paper);
    --tk03-accent: var(--ga-color-ink);
    --tk03-warn: var(--ga-color-accent-ink);
    color: var(--ga-color-ink);
    font-family: var(--ga-font-sans);
}
.ga .ga-native-content :is(.tk01-article, .tk02-article, .tk03-article) { font-size: inherit; line-height: inherit; }
.ga .ga-native-content :is(.tk01-article, .tk02-article, .tk03-article) > p { margin: 0 0 var(--ga-space-5); line-height: 1.85; }
.ga .ga-native-content :is(.tk01-article, .tk02-article, .tk03-article) > h2 { margin: var(--ga-space-8) 0 var(--ga-space-5); color: var(--ga-color-ink); font: 550 clamp(1.625rem, 2.3vw, 2.125rem)/1.2 var(--ga-font-sans); letter-spacing: -.04em; }
.ga .ga-native-content :is(.tk01-article, .tk02-article, .tk03-article) > blockquote { margin-block: var(--ga-space-6); padding-left: var(--ga-space-5); border-left: 3px solid var(--ga-color-accent); color: var(--ga-color-ink); font-size: var(--ga-type-subhead); line-height: 1.5; }
.ga .ga-native-content :is(.tk01-article, .tk02-article, .tk03-article) > :is(p, ul, ol, blockquote) a { color: inherit; text-decoration: underline; text-decoration-color: var(--ga-color-accent); text-underline-offset: 4px; }
.ga .ga-native-content :is(.tk01-article, .tk02-article, .tk03-article) > :is(p, ul, ol, blockquote) a:hover { color: var(--ga-color-accent-ink); }
.ga .ga-native-content :is(.tk01-toy, .tk02-toy, .tk03-toy) { margin: var(--ga-space-7) 0; padding: var(--ga-space-5); border: 1px solid var(--ga-color-ink); border-radius: 0; background: var(--ga-color-paper); font-size: var(--ga-type-compact); line-height: 1.65; letter-spacing: -.01em; box-shadow: none; }
.ga .ga-native-content :is(.tk01-toy, .tk02-toy, .tk03-toy) :is(p, label, legend, button, input, select, output, h3, h4, dt, dd, summary, table, th, td, caption) { font-family: var(--ga-font-sans); }
.ga .ga-native-content :is(.tk01-toy, .tk02-toy, .tk03-toy) > h3 { font-size: clamp(1.375rem, 2.5vw, 1.75rem); font-weight: 550; line-height: 1.25; letter-spacing: -.035em; }
.ga .ga-native-content :is(.tk01-toy, .tk02-toy, .tk03-toy) p { font-size: var(--ga-type-compact); line-height: 1.65; }
.ga .ga-native-content :is(.tk01-toy, .tk02-toy, .tk03-toy) :is(.tk01-eyebrow, .tk02-eyebrow, .tk03-eyebrow) { font: 400 var(--ga-type-label)/1.6 var(--ga-font-mono); color: var(--ga-color-secondary); letter-spacing: .035em; }
.ga .ga-native-content :is(.tk01-toy, .tk02-toy, .tk03-toy) :is(.tk01-note, .tk02-note, .tk03-note,
                          .tk01-live, .tk02-status, .tk03-status,
                          .tk03-guardrail, .tk01-outcome) { font-size: var(--ga-type-small); line-height: 1.65; }
.ga .ga-native-content :is(.tk01-toy, .tk02-toy, .tk03-toy) button { border-color: var(--ga-color-ink); border-radius: 0; background: var(--ga-color-ink); color: var(--ga-color-paper); font-size: var(--ga-type-small); font-weight: 550; line-height: 1.5; min-height: var(--ga-layout-control); box-shadow: none; }
.ga .ga-native-content :is(.tk01-toy, .tk02-toy, .tk03-toy) button:hover { filter: none; background: var(--ga-color-accent); border-color: var(--ga-color-accent); color: var(--ga-color-ink); }
.ga .ga-native-content :is(.tk01-toy, .tk02-toy, .tk03-toy) button:is(.tk01-secondary, .tk02-secondary, .tk03-secondary) { background: var(--ga-color-paper); color: var(--ga-color-ink); }
.ga .ga-native-content :is(.tk01-toy, .tk02-toy, .tk03-toy) button[aria-pressed="true"] { background: var(--ga-color-accent); border-color: var(--ga-color-accent); color: var(--ga-color-ink); box-shadow: none; }
.ga .ga-native-content :is(.tk01-toy, .tk02-toy, .tk03-toy) :is(input[type="number"], select) { border-radius: 0; background: var(--ga-color-paper); border-color: var(--ga-color-line); color: var(--ga-color-ink); min-height: var(--ga-layout-control); font-size: 16px; }
.ga .ga-native-content :is(.tk01-toy, .tk02-toy, .tk03-toy) input[type="range"] { min-height: var(--ga-layout-control); accent-color: var(--ga-color-accent-ink); }
.ga .ga-native-content :is(.tk01-toy, .tk02-toy, .tk03-toy) :is(output, dd) { font-family: var(--ga-font-mono); font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
.ga .ga-native-content :is(.tk01-toy, .tk02-toy, .tk03-toy) :is(button, input, select, summary, a, .tk01-tablescroll, .tk02-table, .tk03-table):focus-visible { outline: 2px solid var(--ga-color-ink); outline-offset: 4px; box-shadow: 0 0 0 4px var(--ga-color-accent); }
.ga .ga-native-content :is(.tk01-readout, .tk02-readout, .tk03-readout) { border-left-color: var(--ga-color-accent); background: var(--ga-color-surface); color: var(--ga-color-ink); font-size: var(--ga-type-small); }
.ga .ga-native-content :is(.tk02-observed, .tk03-observed, .tk03-stage, .tk03-good-branch, .tk02-route-card) { border-radius: 0; background: var(--ga-color-paper); border-color: var(--ga-color-line); }
.ga .ga-native-content :is(.tk01-current td, .tk02-route-card[data-best="true"], .tk02-toy tr[data-best="true"], .tk03-stage:last-child, .tk03-history-cycles span) { background: var(--ga-color-surface); }
.ga .ga-native-content .tk02-route-card[data-best="true"] { border-left: 3px solid var(--ga-color-accent); }
.ga .ga-native-content .tk02-toy tr[data-best="true"] th::after { color: var(--ga-color-accent-ink); }
.ga .ga-native-content .tk03-history-cycles span { border-radius: 0; font-family: var(--ga-font-mono); }
.ga .ga-native-content :is(.tk03-history-cycles small, .tk03-stage small, .tk02-route-card small) { font-size: var(--ga-type-label); line-height: 1.5; }
.ga .ga-native-content :is(.tk01-toy, .tk02-toy, .tk03-toy) :is(table, caption) { font-family: var(--ga-font-sans); font-size: var(--ga-type-small); line-height: 1.65; }
.ga .ga-native-content :is(.tk01-toy, .tk02-toy, .tk03-toy) :is(th, dt) { font-weight: 500; font-size: var(--ga-type-label); }
.ga .ga-native-content :is(.tk01-toy, .tk02-toy, .tk03-toy) :is(pre, code) { font-family: var(--ga-font-mono); }
.ga .ga-native-content :is(.tk01-toy, .tk02-toy, .tk03-toy) pre { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--ga-color-surface); }
.ga .ga-native-content :is(.tk01-toy, .tk02-toy, .tk03-toy) summary { min-height: var(--ga-layout-control); display: list-item; align-content: center; color: var(--ga-color-ink); }
.ga .ga-native-content :is(.tk01-notes, .tk02-methods, .tk03-methods) { margin-block: var(--ga-space-7); padding-block: var(--ga-space-4); border-color: var(--ga-color-line); font-family: var(--ga-font-sans); font-size: var(--ga-type-small); line-height: 1.7; }
.ga .ga-native-content :is(.tk01-notes, .tk02-methods, .tk03-methods) summary { color: var(--ga-color-ink); min-height: var(--ga-layout-control); align-content: center; }
.ga .ga-native-content :is(.tk01-notes, .tk02-methods, .tk03-methods) :is(p, li) { font-family: var(--ga-font-sans); font-size: var(--ga-type-small); }
.ga .ga-native-content :is(.tk01-notes, .tk02-methods, .tk03-methods) a { color: var(--ga-color-ink); text-decoration: underline; text-decoration-color: var(--ga-color-accent); text-underline-offset: 4px; }
.ga .ga-native-content :is(.tk01-cta, .tk02-cta, .tk03-cta) { margin-top: var(--ga-space-7); padding: var(--ga-space-5); border: 1px solid var(--ga-color-line); border-top-color: var(--ga-color-ink); border-radius: 0; background: var(--ga-color-paper); color: var(--ga-color-ink); }
.ga .ga-native-content :is(.tk01-cta, .tk02-cta, .tk03-cta) h2 { color: var(--ga-color-ink); font-family: var(--ga-font-sans); font-size: var(--ga-type-subhead); font-weight: 550; }

/* Decision studies: a choice is a peer until the reader selects it. Orange
   records that selection; it never marks a supposedly correct answer. */
.ga .ga-native-content :is(.tk01-toy, .tk02-toy, .tk03-toy) button:is([aria-pressed], [data-commit], [data-value-preset], [data-world], [data-history-commit], [data-history-world], [data-response-risk]) {
    background: var(--ga-color-paper); color: var(--ga-color-ink); border-color: var(--ga-color-line);
}
.ga .ga-native-content :is(.tk01-toy, .tk02-toy, .tk03-toy) button:is([aria-pressed], [data-commit], [data-value-preset], [data-world], [data-history-commit], [data-history-world], [data-response-risk]):hover {
    background: var(--ga-color-surface); border-color: var(--ga-color-ink); color: var(--ga-color-ink);
}
.ga .ga-native-content :is(.tk01-toy, .tk02-toy, .tk03-toy) button[aria-pressed="true"],
.ga .ga-native-content :is(.tk01-toy, .tk02-toy, .tk03-toy) button[aria-pressed="true"]:hover {
    background: var(--ga-color-accent); border-color: var(--ga-color-ink); color: var(--ga-color-ink);
}
.ga .ga-native-content :is(.tk01-toy, .tk02-toy, .tk03-toy) :is(.tk02-route-card > span, .tk03-stage > strong, .tk01-money) {
    font-family: var(--ga-font-mono); font-variant-numeric: tabular-nums; font-weight: 500;
}
.ga .ga-native-content .tk01-chart text { font-family: var(--ga-font-sans); fill: var(--ga-color-ink); }
.ga .ga-native-content .tk01-chart rect { rx: 0; }
.ga .ga-native-content :is(.tk01-cta, .tk02-cta, .tk03-cta) a {
    color: var(--ga-color-ink); text-decoration: underline; text-decoration-color: var(--ga-color-accent);
    text-underline-offset: 4px; border-bottom: 0;
}
.ga .ga-native-content :is(.tk01-cta, .tk02-cta, .tk03-cta) a:hover { color: var(--ga-color-accent-ink); }

/* Read-only graphics consume authored readouts. No second economic model is
   hidden in the presentation layer. Exact values stay in native live regions. */
.ga .ga-native-content .ga-risk-figure {
    margin: var(--ga-space-5) 0; padding-block: var(--ga-space-5); border-block: 1px solid var(--ga-color-line);
    width: 100%; max-width: none; color: var(--ga-color-ink); background: var(--ga-color-paper);
}
.ga .ga-native-content .ga-risk-figure[hidden] { display: none; }
.ga .ga-native-content .ga-risk-figure figcaption { margin: 0 0 var(--ga-space-4); padding: 0; text-align: left; max-width: none; }
.ga .ga-native-content .ga-risk-figure__title { display: block; font: 550 var(--ga-type-compact)/1.5 var(--ga-font-sans); letter-spacing: -.025em; }
.ga .ga-native-content .ga-risk-figure__scope { display: block; margin-top: var(--ga-space-1); color: var(--ga-color-secondary); font: 400 var(--ga-type-label)/1.6 var(--ga-font-sans); }
.ga .ga-native-content .ga-risk-figure__row + .ga-risk-figure__row { margin-top: var(--ga-space-4); }
.ga .ga-native-content .ga-risk-figure__label { display: flex; justify-content: space-between; align-items: baseline; gap: var(--ga-space-4); font: 400 var(--ga-type-small)/1.5 var(--ga-font-sans); }
.ga .ga-native-content .ga-risk-figure__value { flex-shrink: 0; font-family: var(--ga-font-mono); font-variant-numeric: tabular-nums; }
.ga .ga-native-content .ga-risk-figure__track { display: block; position: relative; height: 14px; margin-top: var(--ga-space-2); background: var(--ga-color-surface); box-shadow: inset 0 0 0 1px var(--ga-color-line); }
.ga .ga-native-content .ga-risk-figure__bar { display: block; width: var(--ga-risk-size, 0%); height: 100%; background: var(--ga-color-ink); transition: width 260ms cubic-bezier(.22, 1, .36, 1); }
.ga .ga-native-content .ga-risk-figure__bar--cost { background: var(--ga-color-accent); }
.ga .ga-native-content .ga-risk-figure__axis { display: flex; justify-content: space-between; margin-top: var(--ga-space-2); color: var(--ga-color-secondary); font: 400 var(--ga-type-label)/1.5 var(--ga-font-mono); }
.ga .ga-native-content .ga-risk-figure[data-direct="true"] .ga-risk-figure__bar { transition: none; }
.ga .ga-native-content .ga-risk-figure__stack { display: flex; height: 24px; background: var(--ga-color-surface); box-shadow: inset 0 0 0 1px var(--ga-color-line); }
.ga .ga-native-content .ga-risk-figure__stack .ga-risk-figure__bar { flex: 0 0 auto; }
.ga .ga-native-content .ga-risk-figure__key { display: flex; flex-wrap: wrap; gap: var(--ga-space-2) var(--ga-space-5); margin-top: var(--ga-space-3); font: 400 var(--ga-type-label)/1.6 var(--ga-font-sans); }
.ga .ga-native-content .ga-risk-figure__key > span { display: inline-flex; align-items: center; gap: var(--ga-space-2); }
.ga .ga-native-content .ga-risk-figure__swatch { width: 10px; height: 10px; flex-shrink: 0; background: var(--ga-color-ink); }
.ga .ga-native-content .ga-risk-figure__swatch--further { background: var(--ga-color-accent); }
.ga .ga-native-content .ga-risk-figure__swatch--withheld { background: var(--ga-color-surface); box-shadow: inset 0 0 0 1px var(--ga-color-secondary); }
.ga .ga-native-content .ga-risk-figure p.ga-risk-figure__footnote { margin: var(--ga-space-3) 0 0; color: var(--ga-color-secondary); font: 400 var(--ga-type-small)/1.6 var(--ga-font-sans); }
.ga .ga-native-content #ga-risk-error-cost { margin-bottom: 0; padding-bottom: var(--ga-space-4); border-bottom: 0; }
.ga .ga-native-content .tk03-stage p { font-size: var(--ga-type-small); line-height: 1.6; }
.ga .ga-native-content .ga-risk-cost-fact .ga-risk-figure__track { height: 10px; }
.ga .ga-native-content .ga-risk-cost-fact .ga-risk-figure__bar { transition: none; }
.ga .ga-native-content .tk03-observed .ga-risk-cost-note { font-size: var(--ga-type-label); color: var(--ga-color-secondary); margin-top: var(--ga-space-3); }
@media (max-width: 600px) {
    .ga .ga-native-content :is(.tk01-toy, .tk02-toy, .tk03-toy) { padding: var(--ga-space-4); }
    .ga .ga-native-content .ga-risk-figure__label { align-items: start; gap: var(--ga-space-3); }
    .ga .ga-native-content .ga-risk-figure__value { font-size: var(--ga-type-small); }
}
@media (prefers-reduced-motion: reduce) {
    .ga .ga-native-content .ga-risk-figure__bar { transition: none; }
}

/* Wada: neutral editorial surroundings, unchanged palette swatches, SVG data
   marks, comparison colors and underlying coordinates. */
.ga .ga-native-content > #sanzo-ghost-story {
    grid-column: wide-start / wide-end;
    width: 100%;
    max-width: 65rem;
    margin: 0 auto;
    --bg: var(--ga-color-paper);
    --card: var(--ga-color-surface);
    --ink: var(--ga-color-ink);
    --mut: var(--ga-color-secondary);
    --rule: var(--ga-color-line);
    background: var(--ga-color-paper);
    color: var(--ga-color-ink);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    font-family: var(--ga-font-sans);
    font-size: var(--ga-type-body);
    line-height: 1.85;
}
.ga #sanzo-ghost-story .wrap { max-width: none; padding: 0; }
.ga #sanzo-ghost-story :is(.sbs, .duo, .picker, .rail) > * { min-width: 0; max-width: 100%; }
.ga #sanzo-ghost-story .hero { padding: var(--ga-space-7) 0; }
.ga #sanzo-ghost-story section { padding-block: var(--ga-layout-section); }
.ga #sanzo-ghost-story :is(.dek, .lead, p.body, .rcard h3, .rcard p, .dead p, figcaption) { font-family: var(--ga-font-sans); }
.ga #sanzo-ghost-story :is(.dek, p.body, .verdict-strip) { color: var(--ga-color-ink); }
.ga #sanzo-ghost-story p.body { max-width: var(--ga-layout-prose); font-size: var(--ga-type-body); line-height: 1.85; }
.ga #sanzo-ghost-story .lead { max-width: 25ch; font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 550; line-height: 1.18; letter-spacing: -.045em; }
.ga #sanzo-ghost-story :is(.eyebrow, .hero-kicker, .coltag, .chip, .actno, .jl, .axl, .zone, .cap, h2) { font-family: var(--ga-font-mono); letter-spacing: .025em; }
.ga #sanzo-ghost-story :is(.eyebrow, .hero-kicker, h2, .coltag, .actno) { font-size: var(--ga-type-label); }
.ga #sanzo-ghost-story :is(.hero-kicker, .actno) { color: var(--ga-color-accent-ink); }
.ga #sanzo-ghost-story :is(.rcard, .dead, .viz, .verdict-strip, .bar, .herostrip, .chip, .rollv) { border-radius: 0; box-shadow: none; }
.ga #sanzo-ghost-story :is(.rcard, .dead) { background: var(--ga-color-paper); }
.ga #sanzo-ghost-story :is(.verdict-strip, .verdict-strip.good) { background: var(--ga-color-surface); }
.ga #sanzo-ghost-story .rcard h3 { font-weight: 550; line-height: 1.3; }
.ga #sanzo-ghost-story :is(.rcard p, .dead p) { font-size: var(--ga-type-small); line-height: 1.65; }
.ga #sanzo-ghost-story :is(.cap, figcaption) { color: var(--ga-color-secondary); font-size: var(--ga-type-small); line-height: 1.65; }
.ga #sanzo-ghost-story figcaption b { color: var(--ga-color-ink); font-size: var(--ga-type-small); }
.ga #sanzo-ghost-story :is(.axl, .jl, .zone) { font-size: 14px; letter-spacing: 0; }
.ga #sanzo-ghost-story .sw { padding: 8px; }
.ga #sanzo-ghost-story .sw :is(.hx, .nm) { align-self: flex-start; max-width: 100%; padding: 1px 3px; color: var(--ga-color-ink); background: var(--ga-color-paper); opacity: 1; }
.ga #sanzo-ghost-story .sw .hx { font-size: 11px; line-height: 1.5; }
.ga #sanzo-ghost-story .sw .nm { font-size: 10px; line-height: 1.5; }
.ga #sanzo-ghost-story .ga-article-palette-key { display: none; }

/* Wide diagrams keep a readable natural coordinate width inside one keyboard-
   operable scroll region. The small enhancer supplies each SVG's viewBox width. */
.ga .ga-article-diagram { position: relative; min-width: 0; max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; }
.ga .ga-article-diagram > svg { display: block; width: 100%; min-width: var(--ga-diagram-width, 0px); max-width: none; height: auto; }
.ga .ga-article-diagram:focus-visible { outline: 2px solid var(--ga-color-ink); outline-offset: 4px; box-shadow: 0 0 0 4px var(--ga-color-accent); }
.ga .ga-article-diagram + .ga-article-diagram__hint { margin: var(--ga-space-2) 0 0; color: var(--ga-color-secondary); font: 400 var(--ga-type-label)/1.6 var(--ga-font-mono); letter-spacing: 0; }
.ga #sanzo-ghost-story .ga-article-diagram { margin-top: var(--ga-space-4); }
.ga #sanzo-ghost-story .ga-article-diagram > .viz { margin-top: 0; }

@media (max-width: 40rem) {
    .ga .ga-article-evidence > figcaption,
    .ga .ga-native-content figure.ga-article-evidence > figcaption { font-size: 1.375rem; }
    .ga .ga-native-content .ga-article-evidence table { font-size: var(--ga-type-small); }
    .ga .ga-native-content .ga-article-evidence table :is(th, td) { padding-inline: var(--ga-space-3); }
    .ga .ga-native-content :is(.tk01-toy, .tk02-toy, .tk03-toy) { margin-inline: 0; padding: var(--ga-space-4); }
    .ga .ga-native-content :is(.tk01-article, .tk02-article, .tk03-article) > h2 { margin-top: var(--ga-space-7); }
    .ga #sanzo-ghost-story .rail { grid-template-columns: minmax(0, 1fr); }
    .ga #sanzo-ghost-story p.body { font-size: 1.0625rem; }
    .ga #sanzo-ghost-story :is(.hero, section) { padding-block: var(--ga-space-7); }
    .ga #sanzo-ghost-story .bar.ga-has-palette-key .sw :is(.hx, .nm) { display: none; }
    .ga #sanzo-ghost-story .ga-article-palette-key { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ga-space-3); margin: var(--ga-space-3) 0 0; padding: 0; list-style: none; }
    .ga #sanzo-ghost-story .ga-article-palette-key li { display: flex; align-items: flex-start; gap: var(--ga-space-2); min-width: 0; }
    .ga #sanzo-ghost-story .ga-article-palette-key i { flex: none; width: 12px; height: 12px; margin-top: 3px; border: 1px solid var(--ga-color-line); }
    .ga #sanzo-ghost-story .ga-article-palette-key :is(b, span) { display: block; min-width: 0; }
    .ga #sanzo-ghost-story .ga-article-palette-key b { color: var(--ga-color-ink); font: 500 var(--ga-type-label)/1.5 var(--ga-font-mono); white-space: nowrap; }
    .ga #sanzo-ghost-story .ga-article-palette-key span span { color: var(--ga-color-secondary); font: 400 var(--ga-type-label)/1.5 var(--ga-font-sans); }
}
@media print {
    .ga .ga-article-diagram { overflow: visible; }
    .ga .ga-article-diagram > svg { min-width: 0; max-width: 100%; }
    .ga .ga-article-diagram__hint { display: none; }
}

/* Native primary-author identity: one quiet note, maintained in Ghost. */
.ga .ga-article-author {
    min-width: 0;
    margin-top: var(--ga-space-7);
    padding-top: var(--ga-space-5);
    border-top: 1px solid var(--ga-color-line);
    color: var(--ga-color-ink);
    font-family: var(--ga-font-sans);
    overflow-wrap: anywhere;
}
.ga .ga-article-author__name {
    margin: 0;
    color: var(--ga-color-ink);
    font-size: var(--ga-type-compact);
    font-weight: 550;
    line-height: 1.4;
    letter-spacing: -.01em;
}
.ga .ga-article-author__bio {
    margin: var(--ga-space-3) 0 0;
    color: var(--ga-color-ink);
    font-size: var(--ga-type-small);
    line-height: 1.7;
}
.ga .ga-article-author__link {
    display: inline-flex;
    align-items: center;
    gap: var(--ga-space-3);
    min-height: var(--ga-layout-control);
    margin-top: var(--ga-space-2);
    color: var(--ga-color-ink);
    font-size: var(--ga-type-small);
    text-decoration: underline;
    text-decoration-color: var(--ga-color-accent);
    text-underline-offset: 4px;
}
.ga .ga-article-author__link:hover { color: var(--ga-color-accent-ink); }
.ga .ga-article-author__link:focus-visible { outline: 2px solid var(--ga-color-ink); outline-offset: 4px; }
