.viz { --warn: #8A3A1A; --warn-dim: #F5E6DD; margin: 2rem 0; }
.viz svg { display: block; width: 100%; height: auto; }
.viz figcaption { margin-top: .6rem; font-size: .88rem; color: var(--olive); max-width: var(--measure); }
.viz-phone { display: none; }
@media (max-width: 700px) {
figure svg.viz-wide { display: none !important; }
figure svg.viz-phone { display: block !important; }
}
@media (min-width: 701px) {
figure svg.viz-wide { display: block !important; }
figure svg.viz-phone { display: none !important; }
}
.viz svg a text { fill: var(--moss-deep); text-decoration: underline; }
.viz-quote blockquote {
margin: 0; padding: 1.4rem 1.5rem; background: var(--paper-dim);
border-left: 6px solid var(--moss); border-radius: 8px;
font-size: 1.3rem; line-height: 1.4; font-weight: 650; color: var(--ink);
}
.viz-quote blockquote p { margin: 0; max-width: none; }
.viz-table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.45; }
.viz-table th, .viz-table td { text-align: left; vertical-align: top; padding: .7rem .8rem; border: 1px solid var(--rule); }
.viz-table thead th { background: var(--paper-dim); font-weight: 740; }
.viz-table tbody th { font-weight: 650; background: var(--paper); }
.viz-table tr.is-warn th, .viz-table tr.is-warn td { background: var(--warn-dim); }
.viz-table tr.is-warn th { border-left: 6px solid var(--warn); }
.viz-table tr.is-warn th span { display: block; margin-top: .25rem; color: var(--warn); font-size: .85rem; font-weight: 700; }
.viz-table tfoot td { font-size: .88rem; color: var(--olive); background: var(--paper); }
@media (max-width: 700px) {
.viz-table, .viz-table thead, .viz-table tbody, .viz-table tfoot, .viz-table tr, .viz-table th, .viz-table td { display: block; width: 100%; }
.viz-table thead { display: none; }
.viz-table tbody tr { border: 1px solid var(--rule); border-left: 6px solid var(--moss); border-radius: 8px; margin-bottom: .8rem; overflow: hidden; }
.viz-table tbody tr.is-warn { border-left-color: var(--warn); }
.viz-table tbody th, .viz-table tbody td { border: 0; border-top: 1px solid var(--rule); }
.viz-table tbody th { border-top: 0; background: var(--paper-dim); }
.viz-table tr.is-warn th { border-left: 0; }
.viz-table tbody td::before { content: attr(data-label); display: block; font-weight: 700; font-size: .85rem; color: var(--olive); margin-bottom: .15rem; }
.viz-table tfoot td { border: 0; padding: 0; }
}
.cf-bands { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1.25fr 1.25fr; gap: .9rem; max-width: none; }
.prose .cf-bands > li { margin: 0; }
.prose .cf-band ol > li { margin: 0 0 .6rem; }
.cf-band h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--olive); margin: 0 0 .5rem; padding-bottom: .4rem; border-bottom: 3px solid var(--moss); }
.cf-band--planned h3 { border-bottom-style: dashed; border-bottom-color: var(--olive); }
.cf-band ol { list-style: none; margin: 0; padding: 0; }
.cf-mark { position: relative; padding: .7rem .8rem; margin-bottom: .6rem; border: 1.5px solid var(--rule); border-radius: 8px; background: var(--paper); font-size: .92rem; line-height: 1.45; }
.cf-mark time, .cf-mark .cf-when { display: block; font-weight: 740; color: var(--moss-deep); margin-bottom: .2rem; }
.cf-mark .cf-src { display: block; margin-top: .35rem; font-size: .82rem; }
.cf-mark--done { border-color: var(--moss); border-left-width: 6px; }
.cf-mark--planned { border-style: dashed; border-color: var(--olive); background: transparent; }
.cf-mark--said p { text-decoration: line-through; text-decoration-color: var(--olive); color: var(--olive); }
.cf-mark p { margin: 0; }
.cf-tag { display: inline-block; margin-top: .4rem; padding: .1rem .5rem; border-radius: 4px; background: var(--ink); color: var(--paper); font-size: .78rem; font-weight: 700; letter-spacing: .02em; }
@media (max-width: 700px) {
.cf-bands { grid-template-columns: 1fr; }
}
.cf-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; max-width: none; }
.prose ul.cf-cards { padding: 0; }
.prose .cf-cards li { margin: 0; }
.cf-card { padding: 1rem 1.05rem; border: 1px solid var(--rule); border-top: 5px solid var(--moss); border-radius: 8px; background: var(--paper); font-size: .95rem; line-height: 1.5; }
.cf-card svg { width: 4.25rem; height: auto; margin-bottom: .55rem; }
.cf-card h3 { font-size: 1rem; margin: 0 0 .35rem; }
.cf-card p { margin: 0 0 .45rem; }
.cf-card .cf-src { font-size: .82rem; margin: 0; }
.cf-card--muted { background: var(--paper-dim); border-top-color: var(--olive); color: var(--olive); }
.cf-card--muted h3 { color: var(--ink); }
.cf-card--warn { border-top-color: var(--warn); }
@media (max-width: 700px) {
.cf-cards { grid-template-columns: 1fr; }
}
.cf-chart-title { font-weight: 740; margin: 0 0 .6rem; }
.cf-panels { display: grid; grid-template-columns: 1.6fr 1fr; gap: .9rem; }
.cf-panel { border: 1px solid var(--rule); border-radius: 8px; padding: .9rem 1rem .8rem; background: var(--paper); }
.cf-panel h3 { font-size: .95rem; margin: 0 0 .5rem; }
.cf-panel svg { margin: 0 auto; }
.cf-panel .cf-src { font-size: .82rem; margin: .4rem 0 0; }
@media (max-width: 700px) {
.cf-panels { grid-template-columns: 1fr; }
}
.prose ul.viz-check { list-style: none; margin: 0; padding: 0; max-width: var(--measure); }
.prose ul.viz-check li { margin-bottom: .55rem; }
.viz-check label {
display: grid; grid-template-columns: auto 1fr auto; gap: .75rem; align-items: start;
padding: .85rem 1rem; background: var(--paper); border: 1px solid var(--rule);
border-left: 6px solid var(--moss); border-radius: 8px; cursor: pointer;
}
.viz-check input { width: 1.15rem; height: 1.15rem; margin: .22rem 0 0; accent-color: var(--moss-deep); }
.viz-check input:checked ~ span { color: var(--olive); text-decoration: line-through; }
.viz-check .cf-min { font-weight: 740; color: var(--moss-deep); white-space: nowrap; font-size: .92rem; }
.viz-check-src { display: block; margin-top: .25rem; font-size: .82rem; }
.viz-illus img { display: block; width: 100%; height: auto; border-radius: 8px; }
.src-list a { overflow-wrap: anywhere; }
@media (prefers-reduced-motion: reduce) {
.viz *, .viz *::before, .viz *::after { animation: none !important; transition: none !important; }
}