/* Daylight phase 2, group a2: styles for the pages that group converts. Kept in its own file so the four groups never edit the same lines. Folded into site.css afterwards. */

/* Tables inside a Panel. Scrolls sideways on a phone instead of squeezing. */
.band > .a2-scroll, .band.prose > .a2-scroll { max-width: none; overflow-x: auto; margin-top: 1.25rem; }
.a2-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 22px; min-width: 32rem; }
.a2-table th, .a2-table td { text-align: left; padding: 10px 14px 10px 0; border-top: 1px solid var(--rule); vertical-align: top; }
.a2-table thead th { border-top: 0; font-size: 12px; line-height: 16px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.a2-table td:first-child { font-weight: 600; }
.a2-table td.num { white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Terms and what they mean: a fact list. */
.a2-facts { display: grid; margin-top: 1.1rem; }
.band.prose > .a2-facts { max-width: 72ch; }
.a2-facts > div { display: grid; grid-template-columns: minmax(7rem, 11rem) minmax(0, 1fr); gap: .25rem 1.5rem; padding: .8rem 0; border-top: 1px solid var(--rule); }
.a2-facts dt { font-weight: 650; }
.a2-facts dd { margin: 0; }

/* A short note under a panel's heading. */
.a2-note { max-width: 72ch; margin-bottom: 1rem; }
.band > p.a2-note + .a2-scroll { margin-top: .5rem; }

/* A laptop beside running text. */
.a2-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 2rem 2.5rem; align-items: start; }
.a2-split--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.a2-split--flip > .laptop { order: 2; }
.a2-split-text > * + * { margin-top: .9rem; }

@media (max-width: 860px) {
    .a2-split, .a2-split--flip { grid-template-columns: minmax(0, 1fr); }
    .a2-split--flip > .laptop { order: 0; }
    .a2-facts > div { grid-template-columns: minmax(0, 1fr); }
}
