/* Coercion Without Concession. Built on shared/css/tsm.css tokens only. */
body { overflow-x: hidden; }
.actions { max-width: 1400px; margin: 12px auto 0; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; }
.actions .btns { display: flex; gap: 8px; flex-wrap: wrap; }
.views { flex: 1 1 420px; max-width: 620px; grid-template-columns: 1fr 1fr; }
.views button { font-weight: 600; font-size: 13.5px; }
.choices button small { display: block; font-weight: 400; font-size: 11px; color: var(--muted); }
.eyebrow.sm { font-size: 12px; }
.asof { max-width: 1400px; margin: 10px auto 0; }

.card { padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.card[hidden] { display: none; }
.card-h { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: space-between; align-items: flex-start; }
.chartcard { position: relative; }
.chartwrap, #dest-wrap { position: relative; }
.chart, .destsvg { display: block; width: 100%; height: auto; user-select: none; -webkit-user-select: none; }
.chart { cursor: crosshair; touch-action: pan-y; }
.chart:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.chart text, .destsvg text { font: var(--axis-font); fill: var(--axis-ink); }
.grid { stroke: var(--rule); stroke-width: 1; }
.force { fill: var(--muted); opacity: .12; }
.force.open { opacity: .08; }
.force-t { font: 600 11px var(--body) !important; fill: var(--muted) !important; }
.yr-band { fill: var(--blue); opacity: .08; }
.a-china { fill: var(--bad); opacity: .78; }
.a-rest { fill: var(--c1); opacity: .35; }
.l-world { fill: none; stroke: var(--c1); stroke-width: 1.4; }
.ev-line { stroke-width: 1; stroke-dasharray: 2 3; opacity: .55; }
.ev-dot { stroke: var(--panel); stroke-width: 1.5; }
.cross { stroke: var(--ink); stroke-width: 1; opacity: .45; pointer-events: none; }
.k-line { fill: none; stroke-width: 2; stroke-linejoin: round; }
.k-china { stroke: var(--bad); stroke-width: 2.6; }
.k-japan { stroke: var(--c3); }
.k-others { stroke: var(--c1); }
.tooltip { min-width: 200px; }
.tt-ev { display: block; margin-top: 5px; padding-top: 4px; border-top: 1px solid var(--rule); font-size: 12px; }

.legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 11.5px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { display: inline-block; width: 14px; height: 10px; border-radius: 2px; }
.legend i.dot { width: 9px; height: 9px; border-radius: 50%; }
.lg-china { background: var(--bad); opacity: .8; }
.lg-rest { background: color-mix(in srgb, var(--c1) 40%, transparent); border-top: 1.5px solid var(--c1); }
.lg-force { background: color-mix(in srgb, var(--muted) 18%, transparent); }
.lg-yr { background: color-mix(in srgb, var(--blue) 14%, transparent); }
.lg-k { height: 0 !important; border-top: 2.5px solid; }
.lg-k.china { border-color: var(--bad); } .lg-k.japan { border-color: var(--c3); } .lg-k.others { border-color: var(--c1); }

.dest { border-top: 1px solid var(--rule); padding-top: 8px; margin-top: 4px; }
.dest-h { font: 11px var(--body) !important; fill: var(--muted) !important; }
.dest-lab { font: 12px var(--body) !important; fill: var(--ink) !important; }
.dest-bar { fill: var(--c1); opacity: .75; }
.dest-base { fill: none; stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 2; opacity: .6; }
.dest-row.china .dest-bar { fill: var(--bad); }
.dest-row.china .dest-lab { font-weight: 600 !important; }
.dest-val { font: 11px var(--mono) !important; }
.dest-empty { font: 12px var(--body) !important; }

/* Timeline */
.tlsec { max-width: 1400px; margin: 16px auto 0; }
.tl .lg-tg { font-size: 12px; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; cursor: pointer; }
.tl .lg-tg[hidden] { display: none; }
.tl-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; max-height: 420px; overflow-y: auto; }
.tl-item { border-left: 3px solid var(--rule); padding: 4px 0 6px 10px; }
.tl-item[data-kind="measure"] { border-color: var(--bad); }
.tl-item[data-kind="removal"] { border-color: var(--good); }
.tl-item[data-kind="response"] { border-color: var(--blue); }
.tl-item[data-kind="trigger"] { border-color: var(--muted); }
.tl-go { display: grid; grid-template-columns: 96px 76px 1fr; gap: 2px 10px; align-items: baseline; width: 100%; text-align: left; background: transparent; border: 0; padding: 2px 4px; border-radius: 3px; cursor: pointer; color: var(--ink); font: inherit; font-size: 13px; }
@media (hover: hover) { .tl-go:hover { background: var(--chip); } }
.tl-go:focus-visible { outline: 2px solid var(--accent); }
.tl-d { font-size: 11.5px; color: var(--muted); }
.tl-k { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-family: var(--display); font-weight: 600; }
.tl-s { display: block; font-size: 11.5px; color: var(--muted); padding: 0 4px; }
.tl-s a { color: var(--blue); }
@media (max-width: 560px) { .tl-go { grid-template-columns: 1fr auto; } .tl-go .tl-t { grid-column: 1 / -1; } }

/* Panel */
.prods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.units { grid-template-columns: 1fr 1fr; }
.claim { margin: 0; padding: 8px 10px; background: var(--chip); border-radius: 4px; font-size: 13px; }
.claim cite { display: block; margin-top: 4px; font-size: 11.5px; color: var(--muted); font-style: normal; }
.claims { margin: 0; padding-left: 1.1em; font-size: 12.5px; display: flex; flex-direction: column; gap: 5px; }
.claims small { color: var(--muted); }
.warn { color: var(--warn); }
.tablewrap td.num, .tablewrap th.num { text-align: right; }

/* Tour */
.stage { position: relative; }
.tour { position: absolute; z-index: 8; right: 14px; top: 56px; width: min(360px, calc(100% - 28px)); background: var(--panel); border: 1px solid var(--rule); border-top: 3px solid var(--accent); border-radius: 4px; padding: 12px 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.tour[hidden] { display: none; }
.tour-h { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; color: var(--muted); font-family: var(--mono); }
.tour .x { border: 0; background: transparent; font-size: 20px; line-height: 1; cursor: pointer; color: var(--muted); padding: 0 4px; }
.tour h3 { margin: 6px 0 4px; font-size: 20px; }
.tour p { margin: 0 0 10px; font-size: 13px; }
.tour-nav { display: flex; justify-content: flex-end; gap: 8px; }
@media (max-width: 600px) { .tour { position: fixed; left: 10px; right: 10px; bottom: 10px; top: auto; width: auto; } }

.below h2.mt { margin-top: 22px; }
.below code { font-family: var(--mono); font-size: 11.5px; }
.howto { margin: 0; padding-left: 1.1em; display: flex; flex-direction: column; gap: 6px; max-width: 68ch; }
@media (max-width: 480px) { body { padding-inline: 12px; } .card { padding: 10px; } .views { grid-template-columns: 1fr; } }
