/* The 2022 study page (/alternatives/): a short summary with bar charts and one lane diagram.
   Used only by src/alternatives.html, loaded after styles.css. Colours are the design-system
   tokens declared in styles.css. Nothing is rounded, and there are no cards. */
.brief { padding-bottom: 8px; }
.brief .section > p, .brief .section > ul, .brief .section > figure, .brief .section > blockquote { max-width: 44em; }
.brief .section > h2 + p { margin-top: 20px; }
.brief .section > p { font-size: clamp(17px, 1.3vw, 19px); }

/* one pull quote: a rule above and below, no side bar */
.pull { margin: 24px 0; padding: 14px 0; border-top: 2px solid var(--ls-red); border-bottom: 1px solid var(--ls-rule); }
.pull p { margin: 0; font-style: italic; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.4; }
.pull p::before { content: "\201C"; }
.pull p::after { content: "\201D"; }
.pull footer { margin-top: 8px; font-size: 14px; color: var(--ls-muted); }

/* charts: a full-sentence caption, then horizontal bars that start at zero */
.chart { margin: 26px 0 24px; }
.chart figcaption { margin: 0 0 14px; font-size: 16px; font-weight: 700; line-height: 1.4; max-width: none; }
.bars { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--ls-ink); }
.bars li { padding: 5px 0 9px; }
.bars .name { display: block; padding-left: 8px; font-size: 15px; line-height: 1.3; margin-bottom: 4px; }
.bars .track { display: flex; align-items: center; gap: 8px; }
.bars .bar { flex: 0 0 auto; width: calc((100% - 3.4em) * var(--n)); height: 26px; background: var(--ls-tan); }
.bars .val { font: 800 24px/1 var(--ls-font-display); color: var(--ls-ink); font-variant-numeric: tabular-nums lining-nums; }
.bars .lead .bar { background: var(--ls-red); }
.bars .lead .val { color: var(--ls-red); }
.bars .ours .bar { background: var(--ls-yellow); box-shadow: inset 0 0 0 2px var(--ls-ink); }
.bars .ours .name { font-weight: 700; }

/* lane diagram: the dashed lines mark today's curbs; the tested design reaches past them */
.lanes { position: relative; padding: 0 7.5%; }
.lanes::before { content: ""; position: absolute; top: 0; bottom: 0; left: 7.5%; right: 7.5%; border-left: 2px dashed var(--ls-ink); border-right: 2px dashed var(--ls-ink); pointer-events: none; }
.lanes .row-name { margin: 0; padding: 10px 8px 6px; font-size: 15px; line-height: 1.3; }
.lanes .row { display: flex; gap: 2px; height: 44px; }
.lanes .row.wide { margin: 0 -8.8%; }
.lanes .row span { flex: 1 1 0; min-width: 0; display: grid; place-items: center; background: var(--ls-tan); color: var(--ls-ink); font: 800 15px/1 var(--ls-font-display); letter-spacing: .01em; }
.lanes .row .bus { background: var(--ls-red); color: #fff; }
.lanes .row .stop { flex-grow: 1.3; background: var(--ls-stone); }
.lanes .curb-note { margin: 0; padding: 8px 8px 0; font-size: 14px; color: var(--ls-muted); }

.short-list { padding-left: 1.2em; margin: 0 0 1em; }
.short-list li { margin-bottom: 10px; }
.brief-actions { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-top: 24px; }
/* keep the outer lane labels clear of the dashed curb lines */
.lanes .row.wide span:first-child { justify-items: start; padding-left: 5px; }
.lanes .row.wide span:last-child { justify-items: end; padding-right: 5px; }
