:root {
  color-scheme: light;
  --ink: #192c2a;
  --accent: #285d49;
  --paper: #f7faf6;
  --panel: #edf4ed;
  --body-font: "Inter", "Segoe UI", sans-serif;
  --display-font: "Georgia", serif;
  font-family: var(--body-font);
  font-size: 100%;
}
body, .site-directory > li {
  --rule: color-mix(in srgb, var(--ink), transparent 83%);
  --muted: color-mix(in srgb, var(--ink), transparent 26%);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: var(--accent); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: .16em; }
:where(a, canvas, summary):focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.skip { position: absolute; z-index: 2; inset: .5rem auto auto 1rem; background: white; padding: .75rem; transform: translateY(-150%); }
.skip:focus { transform: none; }
.shell { width: min(100% - 3rem, 1200px); margin-inline: auto; }
.top { border-bottom: 1px solid var(--rule); }
.top-inner { min-height: 4.75rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); font-size: 1.45rem; font-weight: 780; text-decoration: none; letter-spacing: -.048em; flex-shrink: 0; }
.brand-symbol { display: grid; place-content: center; width: 2rem; height: 2rem; border-radius: .3rem; background: var(--accent); color: white; font-family: system-ui, sans-serif; font-size: 1.26rem; line-height: 1; }
.top nav { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem 1.7rem; }
.top nav a { text-decoration: none; font-weight: 650; font-size: .93rem; color: var(--ink); }
.top nav a:hover { color: var(--accent); }
.article-grid > *, .chart-gallery > * { min-width: 0; }
.eyebrow { margin: 0 0 .9rem; color: var(--accent); font-size: .89rem; line-height: 1.4; font-weight: 760; letter-spacing: .09em; text-transform: uppercase; }
h1, h2 { font-family: var(--display-font); }
h1, h2, h3 { margin: 0; line-height: 1.06; letter-spacing: -.045em; }
h1 { font-size: clamp(2.6rem, 6.2vw, 6rem); font-weight: 650; text-wrap: balance; }
h2 { font-size: clamp(2rem, 3.8vw, 3.35rem); }
h3 { font-size: clamp(1.22rem, 2vw, 1.7rem); }
p { line-height: 1.65; }
.standfirst { max-width: 38rem; margin: 1.35rem 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.65vw, 1.27rem); line-height: 1.6; }
.figure-link { font-weight: 680; font-size: .94rem; }
.figure-link { display: inline-block; margin-top: .85rem; }
.chart { margin: 0; border: 1px solid var(--rule); background: var(--panel); border-radius: .75rem; padding: clamp(1rem, 2.7vw, 1.7rem); min-width: 0; }
.chart figcaption p { margin: .45rem 0 .55rem; color: var(--muted); font-size: .875rem; }
.chart figcaption h2 { font-family: var(--body-font); font-size: clamp(1.22rem, 2vw, 1.7rem); letter-spacing: -.025em; }
.plot { position: relative; }
.plot canvas { display: block; width: 100%; height: clamp(13rem, 26vw, 19rem); cursor: crosshair; }
.chart-tip { position: absolute; inset: 0 0 auto auto; border: 1px solid var(--rule); border-radius: .3rem; max-width: 75%; padding: .4rem .55rem; background: var(--paper); font-size: .875rem; pointer-events: none; }
.chart-key { display: flex; gap: .45rem 1rem; flex-wrap: wrap; }
.chart-key:not(:empty) { margin: .55rem 0; }
.chart-key span { display: flex; gap: .4rem; align-items: center; font-size: .875rem; }
.chart-key i { width: .65rem; height: .65rem; border-radius: .1rem; background: var(--series-color); }
.data-table { margin-top: .75rem; font-size: .875rem; }
.data-table summary { cursor: pointer; font-weight: 650; width: max-content; max-width: 100%; }
.data-table div { overflow: auto; max-height: 19rem; margin-top: .6rem; }
.data-table table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { text-align: left; min-width: 5rem; padding: .4rem .6rem .4rem 0; font-variant-numeric: tabular-nums; border-bottom: 1px solid var(--rule); }
.data-table td { white-space: nowrap; }
.data-table th { font-weight: 650; }
.site-directory { padding: 0; list-style: none; margin: 0; }
.inner-page, .article { padding-block: clamp(2rem, 5vw, 4.5rem); }
.inner-page h1, .article h1, .workspace h1 { font-size: clamp(2.7rem, 5.6vw, 5rem); }
.inner-page > h2 { margin-top: 2rem; }
.chart-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; margin-top: 2.5rem; }
.chart-gallery .chart { height: auto; }
.article-head { border-bottom: 1px solid var(--rule); padding-bottom: 1.8rem; margin-bottom: 2rem; }
.article-head h1 { max-width: 60rem; }
.breadcrumb { display: inline-block; margin-bottom: 1.45rem; font-size: .93rem; font-weight: 650; }
.article-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(1.3rem, 5vw, 5rem); align-items: start; }
.story-text p { margin: 0 0 1.2rem; line-height: 1.72; font-size: 1.08rem; }
.methods { margin-top: 2.5rem; padding: 1.4rem 0; max-width: 52rem; border-top: 1px solid var(--rule); }
.methods h2, .sources h2 { font-family: var(--body-font); font-size: 1.45rem; }
.methods h3 { font-size: 1.15rem; }
.methods li, .sources li { margin-block: .6rem; }
.footer { padding: 1.35rem 0; border-top: 1px solid var(--rule); }
.footer .shell { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem 1.2rem; }
.footer a { margin-left: auto; }
.footer span { color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.layout-field { --display-font: "Franklin Gothic Medium", "Trebuchet MS", sans-serif; }
.layout-field .article .story-text { border-top: .26rem solid var(--accent); padding-top: 1rem; }

.layout-ledger { --display-font: "Rockwell", "Georgia", serif; }
.layout-ledger .chart { border-radius: 0; }
.layout-ledger .article .methods { border-top: .3rem double var(--accent); }

.layout-desk { --display-font: "Georgia", serif; }
.layout-desk .plot canvas { height: clamp(13rem, 23vw, 19rem); }
.layout-desk .article-grid { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
.layout-desk .article .story-text { max-width: 53rem; }

.layout-lab { --display-font: "Trebuchet MS", sans-serif; }
.layout-lab .article-grid > .chart { grid-column: 1; grid-row: 1; }
.layout-lab .article-grid > .story-text { grid-column: 2; grid-row: 1; }

.layout-atlas { --display-font: "Palatino Linotype", "Georgia", serif; }
.layout-atlas .brand-symbol { border-radius: 50%; }

.theme-government .brand-symbol { border-radius: 0; }
.theme-immigration .brand-symbol { transform: rotate(-8deg); }

.workspace { background: #f3f5f2; color: #1b2c2a; }
.workspace-head { padding: clamp(2rem, 7vw, 5rem) 0 2rem; }
.site-directory { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1rem; padding-bottom: 3rem; }
.site-directory a { display: flex; flex-direction: column; height: 100%; gap: .45rem; padding: 1.1rem; border: 1px solid var(--rule); border-top: .25rem solid var(--accent); background: var(--paper); color: var(--ink); text-decoration: none; }
.site-directory a:hover { box-shadow: 0 .3rem 1.1rem #18292019; }
.site-directory a span { font-size: .88rem; font-weight: 650; color: var(--accent); }
.site-directory a strong { font-size: 1.55rem; line-height: 1.15; }
.site-directory a small { font-size: .95rem; line-height: 1.5; }

@media (max-width: 900px) {
  .article-grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .layout-lab .article-grid > .chart, .layout-lab .article-grid > .story-text { grid-column: auto; grid-row: auto; }
}
@media (max-width: 650px) {
  .shell { width: min(100% - 1.65rem, 1200px); }
  .top-inner { padding-block: .7rem; align-items: start; flex-direction: column; }
  .top nav { gap: .65rem 1.25rem; }
  .chart-gallery { grid-template-columns: minmax(0, 1fr); }
  .footer a { margin-left: 0; }
}


/* Loan & Ledger */
.theme-finance {
  --body-font: "Segoe UI", sans-serif;
  font-family: var(--body-font);
  --display-font: Georgia, serif;
  --ledger-cover: #122f2c;
  --ledger-light: #eaf7f0;
}
.theme-finance .top { background: var(--ledger-cover); border-color: #4e7169; }
.theme-finance .top :is(.brand, nav a) { color: var(--ledger-light); }
.theme-finance .top a:hover { color: #9fe1b8; }
.theme-finance .top a:focus-visible { outline-color: #9fe1b8; }
.theme-finance .brand-symbol { background: #9fe1b8; color: #142e27; border-radius: 0; }
.theme-finance .ledger-cover { background: var(--ledger-cover); color: var(--ledger-light); padding: clamp(2rem, 5vw, 4rem) 0 clamp(1.25rem, 4vw, 2.2rem); }
.theme-finance .ledger-opening { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(15rem, .6fr); gap: 1rem 3rem; align-items: end; }
.theme-finance .ledger-opening h1 { font-size: clamp(3rem, 7vw, 6rem); letter-spacing: -.05em; text-wrap: initial; }
.theme-finance .ledger-opening p { margin: 0; max-width: 23rem; color: #c4d9cf; }
.theme-finance .ledger-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: clamp(1.5rem, 4vw, 3rem) 0 0; border-block: 1px solid #53756a; }
.theme-finance .ledger-facts > div { display: flex; flex-direction: column-reverse; justify-content: start; gap: .45rem; padding: .8rem 1rem .9rem 0; }
.theme-finance .ledger-facts > div + div { border-left: 1px solid #53756a; padding-left: 1rem; }
.theme-finance .ledger-facts dt { color: #c4d9cf; font-size: .92rem; line-height: 1.35; }
.theme-finance .ledger-facts dd { margin: 0; color: #9fe1b8; font: 700 clamp(1.7rem, 4vw, 3.4rem)/1.1 "Cascadia Mono", Consolas, monospace; font-variant-numeric: tabular-nums; }
.theme-finance .ledger-nav { display: flex; flex-wrap: wrap; gap: .65rem 1.8rem; padding-block: .9rem; border-bottom: 1px solid var(--rule); }
.theme-finance .ledger-nav a { font: 700 .9rem/1.4 "Cascadia Mono", Consolas, monospace; }
.theme-finance .ledger-body { display: grid; grid-template-columns: minmax(0, .83fr) minmax(0, 1.35fr); gap: clamp(1.5rem, 5vw, 5rem); padding-block: clamp(1.65rem, 4vw, 3.1rem); align-items: start; }
.theme-finance .ledger-exhibit { min-width: 0; background: #e6efe7; padding: clamp(.85rem, 2vw, 1.45rem); border-top: .23rem solid var(--accent); }
.theme-finance .ledger-caption { margin: 0 0 1rem; font: 700 .88rem/1.3 "Cascadia Mono", Consolas, monospace; text-transform: uppercase; letter-spacing: .06em; }
.theme-finance .ledger-exhibit .chart { background: #f9fcf9; border-radius: 0; }
.theme-finance .ledger-exhibit > p:last-child { margin-bottom: 0; font-weight: 650; }
.theme-finance .ledger-records h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .8rem; }
.theme-finance .ledger-record { scroll-margin-top: 1rem; margin: 0 0 1.55rem; }
.theme-finance .ledger-record h3 { padding: .48rem .65rem; background: #dfece1; font: 760 .95rem/1.4 "Cascadia Mono", Consolas, monospace; letter-spacing: normal; }
.theme-finance .ledger-record table { width: 100%; border-collapse: collapse; text-align: left; table-layout: fixed; }
.theme-finance .ledger-record th, .theme-finance .ledger-record td { padding: .55rem .55rem .55rem .65rem; border-bottom: 1px solid var(--rule); vertical-align: top; line-height: 1.4; overflow-wrap: anywhere; }
.theme-finance .ledger-record thead th { color: var(--muted); font-size: .8rem; }
.theme-finance .ledger-record tbody th { font-size: .95rem; }
.theme-finance .ledger-record td { color: var(--muted); font-size: .86rem; }
.theme-finance .article-head { border-bottom: .25rem double var(--accent); }
.theme-finance .article :is(.breadcrumb, .eyebrow), .theme-finance .methods h2 { font-family: "Cascadia Mono", Consolas, monospace; }
.theme-finance .chart-gallery .chart { border-color: #b7cbbd; background: #eff5ef; border-radius: 0; }

/* Crop & County */
.theme-agriculture {
  --display-font: "Palatino Linotype", Georgia, serif;
  --body-font: "Trebuchet MS", "Segoe UI", sans-serif;
  font-family: var(--body-font);
  --field-green: #243b2c;
  --field-buff: #f2e0b2;
}
.theme-agriculture .top { background: #f4e6c6; border-bottom: 2px solid #ad8a43; }
.theme-agriculture .brand { font-family: var(--display-font); letter-spacing: -.025em; }
.theme-agriculture .brand-symbol { border-radius: 50%; background: var(--field-green); }
.theme-agriculture .field-cover {
  background-color: var(--field-green);
  background-image: repeating-linear-gradient(145deg, transparent 0 20px, #60704a 21px 22px, transparent 23px 36px);
  border-bottom: .55rem solid var(--field-buff);
  color: #fff9df;
}
.theme-agriculture .field-cover-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(13rem, .65fr); gap: clamp(1.3rem, 8vw, 7rem); align-items: end; padding-block: clamp(2.1rem, 6.8vw, 5.3rem); }
.theme-agriculture .field-cover-inner > div { padding: .9rem .5rem .9rem 0; background: #243b2c; box-shadow: -.7rem 0 0 #243b2c, .65rem 0 0 #243b2c; }
.theme-agriculture .field-kicker { margin: 0 0 1rem; color: #f6d181; font: 700 .9rem/1.3 "Cascadia Mono", Consolas, monospace; letter-spacing: .04em; }
.theme-agriculture .field-cover h1 { font-size: clamp(3.1rem, 6.6vw, 6.3rem); }
.theme-agriculture .field-cover h1 + p { max-width: 40ch; margin: .9rem 0 0; color: #f2e7c6; }
.theme-agriculture .field-bookmarks { display: grid; gap: .2rem; background: #f4e6c6; color: #25362b; border-left: .5rem solid #be9448; padding: .4rem .65rem; }
.theme-agriculture .field-bookmarks a { padding: .7rem .65rem; display: flex; align-items: baseline; gap: .75rem; color: #2a4234; text-decoration: none; font-weight: 700; }
.theme-agriculture .field-bookmarks a + a { border-top: 1px solid #bfaa76; }
.theme-agriculture .field-bookmarks a:hover { text-decoration: underline; }
.theme-agriculture .field-bookmarks span { color: #6b4e1c; font: 600 .86rem/1.4 "Cascadia Mono", Consolas, monospace; }
.theme-agriculture .almanac-chapters { padding-top: 1.5rem; }
.theme-agriculture .almanac-chapter { display: grid; grid-template-columns: minmax(8rem, .54fr) minmax(0, 1.27fr) minmax(0, 1.28fr); gap: 1rem clamp(1rem, 3vw, 2.6rem); padding-block: clamp(1.5rem, 4vw, 3rem); border-bottom: 1px solid #bdab7e; scroll-margin-top: 1rem; }
.theme-agriculture .almanac-year { border-top: 2px solid #7d723c; padding-top: .72rem; }
.theme-agriculture .almanac-year > span { display: block; color: #694e19; font: 750 .93rem/1.35 "Cascadia Mono", Consolas, monospace; margin-bottom: .45rem; }
.theme-agriculture .almanac-year h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
.theme-agriculture .almanac-entries { list-style: none; margin: 0; padding: 0; }
.theme-agriculture .almanac-chapter:not(:has(.almanac-figure)) .almanac-entries { grid-column: 2 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.theme-agriculture .almanac-entries li { padding: .2rem 0 .8rem; }
.theme-agriculture .almanac-entries li + li { border-top: 1px dotted #b5a378; padding-top: .8rem; }
.theme-agriculture .almanac-chapter:not(:has(.almanac-figure)) li { border: 0; padding-top: .2rem; }
.theme-agriculture .almanac-entries a { display: inline-block; font: 700 clamp(1.12rem, 1.9vw, 1.4rem)/1.25 var(--display-font); color: #294735; }
.theme-agriculture .almanac-entries p { margin: .35rem 0 0; color: #605335; font-size: .93rem; }
.theme-agriculture .almanac-figure .chart { background: #f3e8c9; border-color: #b1a06e; border-radius: .15rem; }
.theme-agriculture .almanac-all { margin-block: 1.1rem 2.8rem; }
.theme-agriculture .article-head { border-bottom: .42rem double #897340; }
.theme-agriculture .article .story-text { border: 0; padding-top: 0; }
.theme-agriculture .article .story-text p:first-child::first-letter { float: left; font: 700 3rem/.84 var(--display-font); color: #354f34; margin: .17rem .25rem .12rem 0; }
.theme-agriculture .article-grid > .chart, .theme-agriculture .chart-gallery .chart { background: #f3e8c9; border-color: #baa87b; border-radius: .15rem; }

/* Campus & Cost */
.theme-education {
  --display-font: "Segoe UI", sans-serif;
  --body-font: "Segoe UI", sans-serif;
  font-family: var(--body-font);
  --campus-plum: #432660;
  --campus-light: #f3eaff;
}
.theme-education .top { background: #faf6fc; border-bottom: 1px solid #ccb7dd; }
.theme-education .brand-symbol { border-radius: .65rem .15rem .65rem .15rem; }
.theme-education .decision-cover { text-align: center; color: #fff7ff; background: linear-gradient(145deg, #291746, #51336c 63%, #613977); padding-block: clamp(2rem, 4.8vw, 4.15rem); }
.theme-education .decision-cover h1 { font-weight: 770; text-wrap: balance; font-size: clamp(2.8rem, 6.5vw, 5.5rem); }
.theme-education .decision-cover p { max-width: 56ch; color: #f0e2fa; margin: 1rem auto 0; }
.theme-education .decision-cover ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin: clamp(1.25rem, 3vw, 2.1rem) auto 0; width: min(100%, 57rem); text-align: left; }
.theme-education .decision-cover li a { height: 100%; min-height: 3.6rem; display: flex; justify-content: space-between; align-items: center; gap: .6rem; border: 1px solid #d1a8e4; border-radius: .65rem; padding: .65rem .75rem; background: var(--campus-light); color: #3f2563; text-decoration: none; font-weight: 720; line-height: 1.35; }
.theme-education .decision-cover li a:hover { background: white; text-decoration: underline; }
.theme-education .decision-cover li a:focus-visible { outline-color: #f1d8ff; }
.theme-education .decision-guide { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, .86fr); gap: clamp(1.5rem, 5vw, 4.2rem); align-items: start; padding-block: clamp(1.7rem, 5vw, 4rem); }
.theme-education .decision-question { padding: 1rem 0 0 1rem; border-left: .26rem solid #9b73bd; margin-bottom: 1.8rem; scroll-margin-top: 1rem; }
.theme-education .decision-question h2 { font-size: clamp(1.45rem, 2.5vw, 2.35rem); font-weight: 760; }
.theme-education .decision-question dl { margin: .8rem 0 0; }
.theme-education .decision-question dl > div { border-top: 1px solid #ded2e7; padding: .65rem 0; }
.theme-education .decision-question dt { font-weight: 680; }
.theme-education .decision-question dd { margin: .3rem 0 0; color: #5c4b69; font-size: .95rem; line-height: 1.45; }
.theme-education .decision-example { background: #eee3f8; padding: clamp(1rem, 2vw, 1.5rem); border-radius: .9rem; }
.theme-education .decision-example > h2 { font-size: clamp(1.5rem, 3.5vw, 2.45rem); }
.theme-education .decision-example .chart { background: #fbf7ff; border-color: #cdb6e2; border-radius: .6rem; }
.theme-education .decision-example > a { display: block; border-top: 1px solid #cdb6e2; padding-top: .45rem; }
.theme-education .article-head { background: #eee3f8; border: 0; padding: clamp(1rem, 4vw, 2.4rem); border-radius: 1rem; }
.theme-education.layout-desk .article-grid { grid-template-columns: minmax(0, .78fr) minmax(0, 1.2fr); gap: clamp(1.1rem, 4vw, 3.3rem); }
.theme-education .article-grid .chart, .theme-education .chart-gallery .chart { background: #f2e9fa; border-color: #d4c0e7; }
.theme-education .methods { padding-inline-start: 1.05rem; border-top: 0; border-inline-start: .24rem solid #9b73bd; }

/* Visa & Entry */
.theme-immigration {
  --display-font: "Palatino Linotype", Georgia, serif;
  --body-font: "Segoe UI", sans-serif;
  font-family: var(--body-font);
  --pass-plum: #542f4e;
  --pass-green: #274d42;
}
.theme-immigration .top { border-top: .25rem solid #743d57; border-bottom: 1px solid #cbaebd; background: #fbf1f2; }
.theme-immigration .brand { font-family: var(--display-font); letter-spacing: -.025em; }
.theme-immigration .brand-symbol { border-radius: .7rem; transform: none; }
.theme-immigration .visa-reference { width: min(100% - 3rem, 1060px); padding-block: clamp(1.8rem, 5vw, 4rem); }
.theme-immigration .visa-cover { text-align: center; padding: clamp(1.15rem, 4.5vw, 3.6rem) clamp(.9rem, 6vw, 3rem) clamp(1rem, 3vw, 2.2rem); border: 1px solid #c7a3b1; border-bottom: 0; background: radial-gradient(ellipse at top, #f2dce4, #fbf3f2 74%); }
.theme-immigration .visa-cover h1 { font-size: clamp(2.55rem, 6.4vw, 5.4rem); }
.theme-immigration .visa-cover p { max-width: 54ch; margin: 1rem auto 0; color: #5b3b4b; }
.theme-immigration .visa-cover nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.5rem; margin-top: 1.05rem; }
.theme-immigration .visa-cover nav a { color: #63354d; font-weight: 700; }
.theme-immigration .visa-register { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .85fr); border: 1px solid #c7a3b1; }
.theme-immigration .visa-register > section { min-width: 0; scroll-margin-top: 1rem; background: #fff7f8; }
.theme-immigration .visa-register > section + section { border-left: 1px solid #a3b8a9; background: #f2f8f1; }
.theme-immigration .visa-register header { color: white; background: var(--pass-plum); padding: .95rem clamp(.9rem, 3vw, 1.8rem); }
.theme-immigration .visa-register > section + section header { background: var(--pass-green); }
.theme-immigration .visa-register h2 { font-size: clamp(1.5rem, 3vw, 2.45rem); }
.theme-immigration .visa-register header p { margin: .45rem 0 0; color: #f9edf6; font-size: .88rem; line-height: 1.45; }
.theme-immigration .visa-register > section + section header p { color: #e4f7e8; }
.theme-immigration .visa-register ul { list-style: none; padding: .5rem clamp(.9rem, 3vw, 1.8rem) .9rem; margin: 0; }
.theme-immigration .visa-register li + li { border-top: 1px solid #dfcad4; }
.theme-immigration .visa-register > section + section li + li { border-color: #cbdbc9; }
.theme-immigration .visa-register li a { display: block; padding-block: .65rem; color: #612d46; font-weight: 680; }
.theme-immigration .visa-register > section + section a { color: #284f43; }
.theme-immigration .visa-exhibit { display: grid; grid-template-columns: minmax(0, .69fr) minmax(0, 1.15fr); gap: 1rem clamp(1rem, 4vw, 3.5rem); align-items: center; margin-top: clamp(1.2rem, 3vw, 2.6rem); }
.theme-immigration .visa-exhibit > div { border-left: .25rem solid #a9768a; padding-left: 1rem; }
.theme-immigration .visa-exhibit > div h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); }
.theme-immigration .visa-exhibit .chart { background: #faf0f5; border-color: #d5b7c8; border-radius: .85rem; }
.theme-immigration .article-head { border: 1px solid #c7a3b1; border-top: .4rem solid #754761; background: #fbf1f4; padding: clamp(1rem, 4vw, 2rem); }
.theme-immigration .article .chart, .theme-immigration .chart-gallery .chart { background: #fff8fb; border-color: #d9c2d0; border-radius: .75rem; }
.theme-immigration.layout-ledger .article .methods { border-top: .2rem solid #a9768a; }

@media (max-width: 900px) {
  .theme-finance .ledger-opening, .theme-finance .ledger-body { grid-template-columns: minmax(0, 1fr); }
  .theme-agriculture .almanac-chapter { grid-template-columns: minmax(6rem, .52fr) minmax(0, 1.4fr); }
  .theme-agriculture .almanac-figure { grid-column: 2; }
  .theme-education.layout-desk .article-grid { grid-template-columns: minmax(0, 1fr); }
  .theme-immigration .visa-exhibit { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 650px) {
  .theme-finance .ledger-facts { grid-template-columns: minmax(0, 1fr); }
  .theme-finance .ledger-facts > div { flex-direction: row-reverse; justify-content: start; align-items: center; gap: .75rem; }
  .theme-finance .ledger-facts > div + div { border-left: 0; border-top: 1px solid #53756a; padding-left: 0; }
  .theme-finance .ledger-record th, .theme-finance .ledger-record td { padding: .5rem .3rem; }
  .theme-agriculture .field-cover-inner, .theme-agriculture .almanac-chapter { grid-template-columns: minmax(0, 1fr); }
  .theme-agriculture .almanac-figure, .theme-agriculture .almanac-chapter:not(:has(.almanac-figure)) .almanac-entries { grid-column: 1; }
  .theme-agriculture .almanac-chapter:not(:has(.almanac-figure)) .almanac-entries { display: block; }
  .theme-agriculture .almanac-chapter:not(:has(.almanac-figure)) .almanac-entries li + li { border-top: 1px dotted #b5a378; padding-top: .8rem; }
  .theme-education .decision-cover ul, .theme-education .decision-guide { grid-template-columns: minmax(0, 1fr); }
  .theme-immigration .visa-reference { width: min(100% - 1.65rem, 1060px); }
  .theme-immigration .visa-register { grid-template-columns: minmax(0, 1fr); }
  .theme-immigration .visa-register > section + section { border-left: 0; }
}


/* Publication navigation and interior reading systems */
.theme-finance .ledger-imprint { padding-block: .7rem .45rem; }
.theme-finance .ledger-imprint a { color: #eaf7f0; font: 700 clamp(1.8rem, 4vw, 3rem)/1 Georgia, serif; letter-spacing: -.04em; text-decoration: none; }
.theme-finance .ledger-mast .ledger-controls { justify-content: space-between; padding-block: .55rem; border-top: 1px solid #52736a; }
.theme-finance .ledger-controls > div { display: flex; flex-wrap: wrap; gap: .5rem 1.55rem; }
.theme-finance .ledger-controls a { font-family: "Cascadia Mono", Consolas, monospace; }
.theme-finance .ledger-controls a[aria-current] { text-decoration: underline; text-decoration-color: #9fe1b8; }
.theme-finance .ledger-report, .theme-finance .ledger-chartbook { padding-block: clamp(1.5rem, 5vw, 4rem); }
.theme-finance .ledger-report-head { display: grid; grid-template-columns: minmax(0, 2fr) minmax(12rem, .72fr); gap: 1rem 2rem; align-items: end; padding-block: .9rem 1.45rem; border-block: .25rem double #608874; }
.theme-finance .ledger-report-head h1 { font-size: clamp(2.45rem, 5vw, 5rem); text-wrap: initial; }
.theme-finance .ledger-report-head div > p { margin: 1rem 0 .45rem; font: 700 .88rem/1.4 "Cascadia Mono", Consolas, monospace; text-transform: uppercase; }
.theme-finance .ledger-report-head > p, .theme-finance .ledger-report-prose p, .theme-finance .ledger-chartbook > p { color: #3e554c; }
.theme-finance .ledger-report-body { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.22fr); align-items: start; gap: clamp(1rem, 4vw, 3rem); padding-top: 1.2rem; }
.theme-finance .ledger-report-prose { font-size: 1.08rem; }
.theme-finance .ledger-notes { margin-block: 1.55rem .5rem; border-top: 1px solid #a9c6b7; padding-top: .65rem; }
.theme-finance .ledger-notes summary { font-weight: 700; cursor: pointer; }
.theme-finance .ledger-notes .methods { margin-top: .65rem; }
.theme-finance .ledger-report-evidence { background: #e6efe7; padding: clamp(.85rem, 2vw, 1.4rem); border-top: .22rem solid var(--accent); }
.theme-finance .ledger-report-evidence .chart, .theme-finance .ledger-exhibit-list .chart { border-radius: 0; background: #f9fcf9; }
.theme-finance .ledger-chartbook > h1 { font-size: clamp(2.55rem, 5vw, 4.35rem); }
.theme-finance .ledger-chartbook > table { width: 100%; border-collapse: collapse; text-align: left; margin-block: 1.5rem; }
.theme-finance .ledger-chartbook > table th, .theme-finance .ledger-chartbook > table td { border: 1px solid #afc8bc; padding: .6rem .7rem; overflow-wrap: anywhere; }
.theme-finance .ledger-chartbook > table thead { background: #dceee4; font-family: "Cascadia Mono", Consolas, monospace; }
.theme-finance .ledger-chartbook > table details > summary { cursor: pointer; font-weight: 650; }
.theme-finance .ledger-chartbook > table ul { padding-left: 1rem; }
.theme-finance .ledger-exhibit-list { max-width: 69rem; margin: 2rem auto 0; }
.theme-finance .ledger-exhibit-entry { border-block-start: .21rem double #7eab94; background: #e9f4ed; padding: 1rem; margin: 0 0 1.4rem; scroll-margin-top: 1rem; }

.theme-agriculture .almanac-mast > .shell { display: flex; justify-content: space-between; align-items: center; gap: .25rem 1.5rem; }
.theme-agriculture .almanac-name { padding-block: .7rem; }
.theme-agriculture .almanac-name a { color: #2b3d2d; font: 760 clamp(1.55rem, 3.7vw, 2.8rem)/1 var(--display-font); text-decoration: none; letter-spacing: -.04em; }
.theme-agriculture .almanac-mast nav ul { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.theme-agriculture .almanac-mast nav a { display: inline-block; padding: .63rem .7rem; border-left: 1px solid #c3a875; }
.theme-agriculture .almanac-mast nav a[aria-current] { background: #d9be80; }
.theme-agriculture .almanac-entry-head, .theme-agriculture .field-book-head { background: #e9d5a4; color: #263b2c; border-block: .28rem double #a5833e; }
.theme-agriculture .almanac-entry-head .shell, .theme-agriculture .field-book-head .shell { padding-block: clamp(1.15rem, 4vw, 3rem); }
.theme-agriculture .almanac-entry-head h1, .theme-agriculture .field-book-head h1 { max-width: 56rem; font-size: clamp(2.55rem, 5.6vw, 5.2rem); text-wrap: initial; }
.theme-agriculture .almanac-entry-format { margin: .95rem 0 .45rem; color: #5b4a24; font: 750 .9rem/1.4 "Cascadia Mono", Consolas, monospace; letter-spacing: .035em; }
.theme-agriculture .almanac-entry-head h1 + p, .theme-agriculture .field-book-head h1 + p { max-width: 58ch; }
.theme-agriculture .almanac-entry-body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(1.2rem, 4vw, 3.2rem); align-items: start; padding-block: clamp(1.15rem, 4vw, 3rem); }
.theme-agriculture .almanac-entry-figure { border: 1px solid #b3a178; padding: .45rem; }
.theme-agriculture .almanac-entry-figure .chart { border-radius: 0; background: #f5e9c9; border-color: #d1bb87; }
.theme-agriculture .almanac-entry-reading > section { font-size: 1.08rem; }
.theme-agriculture .almanac-entry-reading > section p:first-child::first-letter { float: left; font: 750 3rem/.86 var(--display-font); color: #416048; margin: .18rem .25rem 0 0; }
.theme-agriculture .almanac-entry-reading > aside { padding: .3rem 1rem .65rem; background: #f1e6c9; border-left: .28rem solid #9f7e3d; }
.theme-agriculture .almanac-entry-reading .methods { margin-block: .45rem; border-top: 0; }
.theme-agriculture .field-book-head nav ul { display: flex; flex-wrap: wrap; gap: .4rem 1rem; padding: 0; list-style: none; }
.theme-agriculture .field-book-head nav a { color: #263c2d; font-weight: 700; }
.theme-agriculture .field-chart-chapters { padding-block: 1.5rem 3rem; }
.theme-agriculture .field-chart-chapter, .theme-agriculture .field-source-chapter { border-inline-start: .38rem solid #a8853d; padding-inline-start: clamp(.8rem, 3vw, 2rem); margin-block: 1rem 2.2rem; scroll-margin-top: 1rem; }
.theme-agriculture .field-chart-chapter h2, .theme-agriculture .field-source-chapter h2 { font-size: clamp(1.8rem, 4vw, 2.75rem); margin-bottom: .7rem; }
.theme-agriculture .field-chart-chapter details, .theme-agriculture .field-source-chapter details { border-block-end: 1px solid #cdbb96; }
.theme-agriculture .field-chart-chapter .data-table { border: 0; }
.theme-agriculture :is(.field-chart-chapter, .field-source-chapter) > details > summary { padding: .62rem .75rem; background: #f4e8c9; font-weight: 700; cursor: pointer; }
.theme-agriculture .field-chart-leaf, .theme-agriculture .field-source-chapter > details > p { padding: .9rem .75rem; margin: 0; }
.theme-agriculture .field-chart-leaf .chart { max-width: 62rem; }

.theme-education .campus-mast > .shell { display: flex; align-items: center; justify-content: space-between; gap: .6rem 1.5rem; padding-block: .78rem; }
.theme-education .campus-name a { color: #462660; font-size: clamp(1.65rem, 3.5vw, 2.3rem); font-weight: 800; letter-spacing: -.07em; line-height: 1; text-decoration: none; }
.theme-education .campus-mast nav { gap: .45rem .75rem; }
.theme-education .campus-mast nav a { border-radius: .4rem; padding: .35rem .55rem; color: #51346c; }
.theme-education .campus-mast nav a[aria-current], .theme-education .campus-mast nav a:hover { background: #eadcf5; }
.theme-education .campus-article, .theme-education .campus-chartbook { padding-block: clamp(1.4rem, 4vw, 3rem); }
.theme-education .campus-article-head, .theme-education .campus-chartbook > header { background: #eadcf7; border-radius: 1rem 1rem .35rem .35rem; border-block-start: .3rem solid #9268b7; padding: clamp(1rem, 4vw, 2.75rem); }
.theme-education .campus-article-head h1, .theme-education .campus-chartbook h1 { font-size: clamp(2.45rem, 5vw, 4.6rem); text-wrap: initial; }
.theme-education .campus-article-head h1 { margin-top: .75rem; }
.theme-education .campus-article-head p, .theme-education .campus-chartbook > header p { max-width: 62ch; margin-bottom: 0; color: #513f63; }
.theme-education .campus-steps { display: grid; grid-template-columns: minmax(10rem, .45fr) minmax(0, 1.55fr); gap: .8rem 1.5rem; align-items: start; margin-top: 1.35rem; }
.theme-education .campus-steps > nav { grid-row: 1 / span 3; display: grid; gap: .7rem; border-inline-end: 1px solid #d9cee5; padding: .8rem .9rem .8rem 0; }
.theme-education .campus-step { border-inline-start: .24rem solid #ad8acc; padding-inline-start: 1rem; margin-bottom: 1rem; scroll-margin-top: 1rem; }
.theme-education .campus-step h2, .theme-education .campus-comparisons h2 { font-size: clamp(1.55rem, 3vw, 2.6rem); }
.theme-education .campus-finding p { max-width: 65ch; }
.theme-education .campus-step .methods { margin-top: 0; padding-inline-start: 0; border-inline-start: 0; }
.theme-education .campus-chartbook > nav ul { display: flex; flex-wrap: wrap; list-style: none; gap: .55rem 1.35rem; padding: 0 1rem; }
.theme-education .campus-comparisons { margin-block: 1.5rem 2.1rem; }
.theme-education .campus-comparisons > div { border-top: .24rem solid #b496cf; margin-top: .7rem; }
.theme-education .campus-comparisons article { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.35fr); align-items: start; gap: 1rem 1.5rem; border-bottom: 1px solid #dccce6; padding: 1rem .35rem 1.35rem; }
.theme-education .campus-comparisons article header > p:first-child { color: #654680; font-size: .9rem; font-weight: 700; margin-top: 0; }
.theme-education .campus-comparisons article .chart { background: #f7f0fb; }
.theme-education .campus-source-prompts { margin-top: 1.2rem; display: grid; gap: .65rem; }
.theme-education .campus-source-prompts > details { border-radius: .7rem; border: 1px solid #d2bce9; background: #faf6fd; padding: 1rem 1.1rem; }
.theme-education .campus-source-prompts summary { color: #4c3164; font-weight: 730; cursor: pointer; }
.theme-education .campus-source-prompts dt { font-weight: 700; }
.theme-education .campus-source-prompts dd { margin-inline-start: .65rem; }

.theme-immigration .entry-mast nav { min-height: 3.5rem; align-items: center; gap: .5rem 1.1rem; padding-block: .65rem; }
.theme-immigration .entry-name > a { color: #622a4e; font: 750 clamp(1.65rem, 3.5vw, 2.55rem)/1 var(--display-font); letter-spacing: -.035em; }
.theme-immigration .entry-nav-divider { height: 1.5rem; width: 1px; background: #bd98ad; }
.theme-immigration .entry-mast nav ul { display: flex; flex-wrap: wrap; gap: .55rem 1.2rem; align-items: center; margin: 0; padding: 0; list-style: none; }
.theme-immigration .entry-mast nav a[aria-current] { border-bottom: 2px solid #8b6279; }
.theme-immigration .entry-article, .theme-immigration .entry-chartbook { width: min(100% - 3rem, 1120px); padding-block: clamp(1.4rem, 4vw, 3rem); }
.theme-immigration .entry-article-frame { display: grid; grid-template-columns: minmax(10rem, .43fr) minmax(0, 1.57fr); border: 1px solid #c5a5b6; }
.theme-immigration .entry-article-index { padding: 1rem; background: #efe0e9; border-inline-end: 1px solid #c5a5b6; }
.theme-immigration .entry-article-index > p { color: #603650; margin: 0 0 .55rem; font-weight: 750; }
.theme-immigration .entry-article-index nav { display: grid; gap: .53rem; margin-top: 1.25rem; border-block-start: 1px solid #c5a5b6; padding-top: .65rem; }
.theme-immigration .entry-article-pages { padding: clamp(.95rem, 3vw, 2.1rem); background: #fffafb; }
.theme-immigration .entry-article-pages header { border-block-end: 1px solid #c5a5b6; }
.theme-immigration .entry-article-pages header h1, .theme-immigration .entry-chartbook h1 { font-size: clamp(2.4rem, 5.6vw, 4.9rem); text-wrap: initial; }
.theme-immigration .entry-article-pages header > p:first-child { margin-top: 0; font-weight: 750; color: #774b68; }
.theme-immigration .entry-article-pages .chart { background: #f8edf3; border-color: #d5b7c8; border-radius: .5rem; }
.theme-immigration .entry-article-pages .methods { margin-top: 1.1rem; }
.theme-immigration .entry-chartbook > header { padding: clamp(1rem, 3vw, 2.3rem); border: 1px solid #c7a3b1; background: #f6e7ef; }
.theme-immigration .entry-chartbook > header p { max-width: 62ch; }
.theme-immigration .entry-chartbook > header nav ul { display: flex; flex-wrap: wrap; gap: .45rem 1.1rem; padding-left: 0; list-style: none; }
.theme-immigration .entry-chart-columns, .theme-immigration .entry-source-leaves { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 1rem; margin-top: 1rem; }
.theme-immigration :is(.entry-chart-column, .entry-source-leaves > section) { border: 1px solid #d3bac8; background: #fff8fb; min-width: 0; padding: .85rem; scroll-margin-top: 1rem; }
.theme-immigration :is(.entry-chart-column, .entry-source-leaves > section):nth-child(2) { border-color: #baccbf; background: #f1f8f3; }
.theme-immigration :is(.entry-chart-column, .entry-source-leaves > section) > h2 { font-size: clamp(1.7rem, 3.5vw, 2.45rem); margin: 0 0 1rem; }
.theme-immigration .entry-chart-leaf { border-top: .2rem solid #b88ca7; margin-top: .95rem; padding-top: .65rem; }
.theme-immigration .entry-chart-column:nth-child(2) .entry-chart-leaf { border-color: #83a697; }
.theme-immigration .entry-source-leaves dt { font-weight: 750; }
.theme-immigration .entry-source-leaves dd { margin-inline-start: .7rem; }

@media (max-width: 780px) {
  .theme-finance .ledger-report-head, .theme-finance .ledger-report-body, .theme-agriculture .almanac-entry-body, .theme-education .campus-comparisons article, .theme-immigration .entry-chart-columns, .theme-immigration .entry-source-leaves { grid-template-columns: minmax(0, 1fr); }
  .theme-agriculture .almanac-mast > .shell, .theme-education .campus-mast > .shell { align-items: start; flex-direction: column; }
  .theme-agriculture .almanac-mast nav a { border-left: 0; padding: .4rem .72rem .4rem 0; }
  .theme-immigration .entry-chart-columns, .theme-immigration .entry-source-leaves { row-gap: 1rem; }
}
@media (max-width: 560px) {
  .theme-finance .ledger-chartbook > table th, .theme-finance .ledger-chartbook > table td { padding: .45rem .35rem; font-size: .84rem; }
  .theme-education .campus-steps, .theme-immigration .entry-article-frame { grid-template-columns: minmax(0, 1fr); }
  .theme-education .campus-steps > nav { grid-row: auto; border-inline-end: 0; border-block-end: 1px solid #d9cee5; }
  .theme-immigration .entry-article, .theme-immigration .entry-chartbook { width: min(100% - 1.65rem, 1120px); }
  .theme-immigration .entry-article-index { border-inline-end: 0; border-block-end: 1px solid #c5a5b6; }
  .theme-immigration .entry-nav-divider { display: none; }
}

/* The editorial references are documented in docs/newsroom-references.md.
   Load after each publication’s identity stylesheet. */

/* HazardPrint — incident briefing */
.theme-weather {
  --paper: #eef4ef !important;
  --ink: #102722 !important;
  --accent: #176758 !important;
  --panel: #e0ece7 !important;
  --display-font: "Bahnschrift", "Arial Narrow", "Segoe UI", sans-serif;
}
.theme-weather .hazard-utility { background: #0b251f; border-bottom: 1px solid #31554c; }
.theme-weather .hazard-wordmark { font-size: 1.62rem; letter-spacing: -.065em; }
.theme-weather .hazard-wordmark span { color: #ffd27d; }
.theme-weather .hazard-briefing {
  background: radial-gradient(ellipse at 80% 2%, #245747, transparent 63%), #102c26;
  border-bottom: .39rem solid #d2a252;
  --accent: #a3eed6;
}
.theme-weather .hazard-stage { align-items: end; }
.theme-weather .hazard-intro h1 { line-height: .94; }
.theme-weather .hazard-label { color: #f0cb84; }
.theme-weather .hazard-observation { border-top-color: #e6bd70; box-shadow: .65rem .65rem 0 #0a231c; }
.theme-weather .hazard-reading strong { color: #f7d994; }
.theme-weather .hazard-index section { border-top-color: #458477; }
.theme-weather .hazard-file-heading { background: #103029; border-bottom-color: #d2a252; }
.theme-weather .hazard-file-prose { border-left-color: #7aa99a; }
.theme-weather .hazard-briefing :focus-visible { outline-color: #f6cf8a; }

/* CountyShifts — atlas of place comparisons */
.theme-population {
  --paper: #f7f6ff !important;
  --ink: #232349 !important;
  --accent: #483a9d !important;
  --panel: #ebe8fb !important;
  --display-font: "Palatino Linotype", Cambria, serif;
}
.theme-population .place-masthead { background: #fbfaff; border-color: #d5ccec; }
.theme-population .place-wordmark { color: #29224e; }
.theme-population .place-wordmark span { color: #6d55c2; }
.theme-population .place-masthead nav :where(a:hover, a[aria-current]) { background: #ebe4fb; color: #3c3087; }
.theme-population .place-intro {
  background-color: #e6def9;
  background-image: linear-gradient(90deg, #c6b6ea52 1px, transparent 1px), linear-gradient(#c6b6ea52 1px, transparent 1px);
  background-size: 26px 26px;
  border-color: #cec2ed;
  padding-block-end: clamp(2.75rem, 5.8vw, 5rem);
}
.theme-population .place-intro h1, .theme-population .place-intro p { color: #2b2357; }
.theme-population .place-navigator { border: 0; box-shadow: 0 0 0 1px #cbc0ea, .72rem .72rem 0 #ddd4f4; }
.theme-population .place-navigator > header, .theme-population .place-page-heading { background: #e8defa; }
.theme-population .place-navigator > header :where(h2, p), .theme-population .place-page-heading h1 { color: #2b2357; }
.theme-population .place-navigation, .theme-population .place-file-grid nav { border-left-color: #af9ada; }
.theme-population .place-subject { border-top-color: #d4c9ea; }
.theme-population .place-file .chart, .theme-population .place-chart-library .chart { border-left-color: #ac97da; }

/* Main Street Stats — business broadsheet */
.theme-economy {
  --paper: #fbf1de !important;
  --ink: #2c201b !important;
  --accent: #8e341e !important;
  --panel: #f0dfc5 !important;
  --display-font: Cambria, Charter, Georgia, serif;
}
.theme-economy .market-publisher { background: #f7e7c8; border-top: .28rem solid #8a3e28; }
.theme-economy .market-wordmark { color: #33211a; font-weight: 740; }
.theme-economy .market-mast {
  text-align: start;
  padding-block: clamp(1.55rem, 4vw, 3.45rem) clamp(1.35rem, 3vw, 2.1rem);
}
.theme-economy .market-mast h1 { margin-inline: 0; max-width: 22ch; font-style: italic; font-weight: 610; }
.theme-economy .market-mast p:last-child { margin-inline: 0; }
.theme-economy .market-lead .chart, .theme-economy .market-file .chart, .theme-economy .market-chart-ledger .chart {
  background: #f5e4c9;
  border-top: .19rem solid #a35436;
  border-radius: 0;
}
.theme-economy .market-section-label { color: #60331d; }
.theme-economy .market-lead h2 { max-width: 23ch; }
.theme-economy .market-briefs { border-top-color: #5a3b2b; }

/* VoteDocket — readable records with the source beside each row */
.theme-government {
  --paper: #fbf6f8 !important;
  --ink: #302331 !important;
  --accent: #6f3d59 !important;
  --panel: #f3e8f0 !important;
  --display-font: "Segoe UI", Arial, sans-serif;
}
.theme-government .record-masthead, .theme-government .docket-intro { background: #332337; }
.theme-government .record-masthead { border-bottom-color: #635168; }
.theme-government .record-wordmark i { color: #372336; background: #f0d59f; border-radius: .15rem; }
.theme-government .docket-intro h1 { font-weight: 730; border-inline-start-color: #e1b96c; }
.theme-government .docket-intro p { color: #ecdfef; }
.theme-government .docket-index, .theme-government .record-file-index { border-top-color: #765276; background: #f2e7f0; }
.theme-government .docket-index :where(h2, a), .theme-government .record-file-index a { color: #624261; }
.theme-government .docket-records h2, .theme-government .docket-records td a { color: #593d58; }
.theme-government .docket-records thead th { background: #57425e; }
.theme-government .docket-group th { background: #ede0ed; color: #583d5a; }
.theme-government .docket-calendar { background: #f4eaf2; }
.theme-government .docket-calendar h2, .theme-government :is(.record-file-main, .exhibit-index, .record-collections) h1 { color: #583d59; }
.theme-government :is(.record-exhibit, .record-file-main) .chart { border-top-color: #89668f; background: #fff9fd; }

/* Grid & Bill — utility workbench */
.theme-energy {
  --paper: #f0f7ec !important;
  --ink: #17352b !important;
  --accent: #286a53 !important;
  --panel: #e2efe4 !important;
  --display-font: "Bahnschrift", "Segoe UI", sans-serif;
}
.theme-energy .grid-mast { background: #eaf1e6; border-bottom: .23rem solid #2c6757; }
.theme-energy .power-book { background: #d9e5d8; }
.theme-energy .power-sidebar { background: #142f2a; box-shadow: inset -.48rem 0 0 #326257; }
.theme-energy .power-sidebar h1 { max-width: 10ch; }
.theme-energy .power-sidebar nav a:hover { background: #1c4a3b; }
.theme-energy .power-statement { border-top-color: #cc921d; background: #fafff9; }
.theme-energy .power-statement-head { border-bottom-style: dotted; }
.theme-energy .power-total strong {
  color: #225f4e;
  font-family: "Cascadia Mono", Consolas, monospace;
}
.theme-energy .power-chapters { background: #f2f8ed; }
.theme-energy .power-chapters h2 { color: #205242; }

/* HabitatTally — place-first field magazine */
.theme-environment {
  --paper: #f7efe1 !important;
  --ink: #31291d !important;
  --accent: #765126 !important;
  --panel: #eee1cc !important;
  --display-font: "Palatino Linotype", Georgia, serif;
}
.theme-environment .habitat-mast { background: #f4e7d0; border-top: .31rem solid #574b2c; }
.theme-environment .habitat-mast nav ul { border-top-color: #bdab8a; }
.theme-environment .habitat-intro h1 { font-weight: 450; color: #3d3425; }
.theme-environment .habitat-photo { outline: 1px solid #c3b092; outline-offset: -.3rem; }
.theme-environment .habitat-photo figcaption { background: #f7efe1; padding-inline: .5rem; }
.theme-environment .habitat-section-head { border-top-color: #9d7946; }
.theme-environment .habitat-article-title h1 { color: #513e26; }
@media (min-width: 920px) {
  .theme-environment .habitat-opener { grid-template-columns: minmax(15rem, .78fr) minmax(0, 1.22fr); }
  .theme-environment .habitat-opener .habitat-photo img { aspect-ratio: 1.46; }
}

/* BenefitGauge — practical guide and separate benchmark */
.theme-benefits {
  --paper: #fff9e6 !important;
  --ink: #303725 !important;
  --accent: #36582f !important;
  --panel: #f4ebcb !important;
  --display-font: "Trebuchet MS", "Segoe UI", sans-serif;
}
.theme-benefits .bg-masthead { background: #fff2c8; border-bottom: 1px solid #ded09d; }
.theme-benefits .bg-intro {
  background: linear-gradient(108deg, #e5b84d 0 36%, #edc761 36%);
  border-bottom: .24rem solid #774e18;
  color: #272d1d;
}
.theme-benefits .bg-intro h1 { max-width: 13ch; font-weight: 710; }
.theme-benefits .bg-intro p { color: #3d3c22; }
.theme-benefits .bg-snapshot { border-top-color: #bc871d; background: #fff3cd; }
.theme-benefits .bg-trend { background: #f6eccd; }
.theme-benefits .bg-trend .chart { border-top: .17rem solid #c49b52; }

/* RouteMeasure — live-board hierarchy for archived records */
.theme-transportation {
  --paper: #171d25 !important;
  --ink: #f5f7fa !important;
  --accent: #ffd892 !important;
  --panel: #222b36 !important;
  --display-font: "Arial Narrow", "Bahnschrift", "Segoe UI", sans-serif;
}
.theme-transportation .rm-masthead { background: #1b2028; border-bottom-color: #5c6268; }
.theme-transportation .rm-brief { background: #202933; border-bottom: .2rem solid #efb558; }
.theme-transportation .rm-brief h1 { font-weight: 800; max-width: 15ch; text-wrap: pretty; }
.theme-transportation .rm-feature { border-top: .2rem solid #f2b652; background: #26313a; }
.theme-transportation .rm-feature-text strong { color: #ffd892; }
.theme-transportation .rm-board thead { background: #354351; }
.theme-transportation .rm-board tbody tr:not(.rm-track):nth-child(odd) { background: #202b36; }
.theme-transportation .rm-board :where(th, td) { font-variant-numeric: tabular-nums; }
.theme-transportation .rm-track th { color: #ffd892; }


/* Rent & Roof — housing workbook and rent definitions */
.theme-housing {
  --paper: #fff7ef !important;
  --ink: #3f2c31 !important;
  --accent: #873a57 !important;
  --panel: #fae8e5 !important;
  --display-font: "Book Antiqua", "Palatino Linotype", Georgia, serif;
}
.theme-housing .rr-masthead { background: #fae8e3; border-top: .29rem solid #a15c70; }
.theme-housing .rr-mast { border-bottom: .22rem solid #b47a8d; }
.theme-housing .rr-mast h1 { color: #6b304a; }
.theme-housing .rr-market-note { background: #733951; border-radius: 1.45rem .25rem 1.45rem .25rem; }
.theme-housing .rr-market-note span { color: #fae4ef; }
.theme-housing .rr-market-book thead { color: #512e44; background: #f1dce5; }
.theme-housing .rr-market-book tbody tr:nth-child(even) { background: #fbebef; }
.theme-housing .rr-market-book :where(th, td) { border-bottom-color: #ead1db; }
.theme-housing .rr-chart-toggle { border-color: #c67e98; }
.theme-housing .rr-editions { border-top-color: #b47a8d; }

/* ClinicCount — clinical evidence and measure library */
.theme-health {
  --paper: #f8fbff !important;
  --ink: #1c2b3b !important;
  --accent: #9a2a42 !important;
  --panel: #eaf1f9 !important;
  --display-font: "Segoe UI", Arial, sans-serif;
}
.theme-health .cc-masthead { border-top: .27rem solid #972742; background: #fff; }
.theme-health .cc-title { background: #e4eef7; border-bottom-color: #b8c9da; }
.theme-health .cc-title h1 { max-width: 18ch; color: #213348; font-weight: 760; }
.theme-health .cc-title nav a { background: #fff; border: 1px solid #b9ccdf; border-bottom: 0; border-radius: 0; }
.theme-health .cc-title nav a:hover { color: #8d223a; }
.theme-health .cc-score-row { border: 0; border-top: .19rem solid #a54157; border-radius: 0; box-shadow: 0 0 0 1px #dce6ee; }
.theme-health .cc-score { background: #eef4f9; border-radius: 0; }
.theme-health .cc-score dd { color: #a3324a; }
.theme-health .cc-measure-library .chart { border-top: .19rem solid #b45d70; border-radius: 0; }

/* Loan & Ledger — financial statement and sector filing views */
.theme-finance {
  --paper: #eff7f8 !important;
  --ink: #1b303a !important;
  --accent: #135d61 !important;
  --panel: #e1f0f0 !important;
  --ledger-cover: #132c39;
  --ledger-light: #f2fcfd;
  --display-font: "Trebuchet MS", "Segoe UI", sans-serif;
}
.theme-finance .ledger-mast { background: #102833; }
.theme-finance .ledger-opening h1 { font-weight: 735; letter-spacing: -.075em; max-width: 14ch; }
.theme-finance .ledger-facts { border-color: #4f757b; }
.theme-finance .ledger-facts dd { color: #a3f0dd; }
.theme-finance .ledger-facts > div + div { border-color: #4f757b; }
.theme-finance .ledger-exhibit { background: #e1efef; border-top-color: #367d7d; }
.theme-finance .ledger-exhibit .chart, .theme-finance .ledger-exhibit-list .chart { background: #f5fbfb; }
.theme-finance .ledger-exhibit-entry { border-top-color: #6c9c9a; background: #e3f1f0; }

/* Crop & County — seasonal almanac */
.theme-agriculture {
  --paper: #fcf4da !important;
  --ink: #3d301d !important;
  --accent: #7d392a !important;
  --panel: #f2e4bc !important;
  --display-font: "Constantia", "Palatino Linotype", Georgia, serif;
}
.theme-agriculture .almanac-mast { background: #fbefca; border-bottom: .22rem solid #aa7645; }
.theme-agriculture .field-cover { border-bottom: .31rem solid #af7945; }
.theme-agriculture .field-cover-inner > div { background: #532e27; box-shadow: -.7rem 0 0 #532e27, .65rem 0 0 #532e27; }
.theme-agriculture .field-cover h1 { font-weight: 550; letter-spacing: -.055em; color: #fff2ce; }
.theme-agriculture .field-bookmarks { background: #f9edc2; border-left-color: #a95537; }
.theme-agriculture .field-bookmarks a { color: #5a3324; }
.theme-agriculture .almanac-chapter { border-top-color: #ad885b; }
.theme-agriculture .almanac-year { border-top-color: #a87247; }
.theme-agriculture .almanac-figure .chart { background: #fff5d9; }

/* Campus & Cost — decision guide with study paths upfront */
.theme-education {
  --paper: #fff9ef !important;
  --ink: #3c2941 !important;
  --accent: #5d3374 !important;
  --panel: #f2e7e2 !important;
  --display-font: "Trebuchet MS", "Segoe UI", sans-serif;
}
.theme-education .campus-mast { background: #f7ead9; border-bottom: .2rem solid #b5817b; }
.theme-education .decision-cover {
  background: radial-gradient(ellipse at 80% -55%, #98557f, transparent 70%), #44304f;
  border-bottom: .36rem solid #e2ac62;
}
.theme-education .decision-cover h1 { max-width: 18ch; margin-inline: auto; }
.theme-education .decision-cover li a {
  background: #fff2d6;
  color: #553952;
  border: 0;
  border-bottom: .22rem solid #c38945;
  border-radius: .24rem;
}
.theme-education .decision-cover li a:hover { background: #fff9e8; }
.theme-education .decision-example { border-radius: .28rem; background: #f5e8d6; border-top: .23rem solid #b48152; }
.theme-education .decision-example .chart { background: #fff8e9; border-color: #ddc6ab; }

/* OrbitTally — observatory, technical plots, and research shelves */
.theme-science {
  --paper: #1b142a !important;
  --ink: #faf3ff !important;
  --accent: #e0baff !important;
  --panel: #271d3c !important;
  --display-font: "Century Gothic", "Trebuchet MS", "Segoe UI", sans-serif;
}
.theme-science .orbit-mast { background: #211733; border-bottom: 1px solid #564371; }
.theme-science .orbit-observatory::after {
  background: linear-gradient(90deg, #201636f6 0%, #201636ce 35%, #251a4336 78%), linear-gradient(0deg, #201636ad, transparent 30%);
}
.theme-science .orbit-observatory h1 { color: #fff3fc; font-weight: 620; letter-spacing: -.07em; }
.theme-science .orbit-plot-title h2 { color: #e9d5fc; }
.theme-science .orbit-plot .chart, .theme-science .orbit-chart-file .chart { background: #2a1d3e; border-top: .19rem solid #9372b4; }
.theme-science .orbit-shelves { border-top-color: #715b90; }
@media (max-width: 720px) {
  .theme-science .orbit-observatory::after {
    background: linear-gradient(90deg, #201636f7, #20163686), linear-gradient(0deg, #201636bd, transparent 28%);
  }
}

/* Visa & Entry — guidebook with distinct visa and travel registers */
.theme-immigration {
  --paper: #fcf4e7 !important;
  --ink: #382826 !important;
  --accent: #763d40 !important;
  --panel: #f0e2d1 !important;
  --pass-plum: #692f36;
  --pass-green: #33564d;
  --display-font: "Georgia", "Palatino Linotype", serif;
}
.theme-immigration .entry-mast { background: #f3e2c8; border-bottom: .2rem solid #aa7558; }
.theme-immigration .visa-cover {
  background: #f8ebd2;
  border: 1px solid #c09c78;
  border-bottom: 0;
  text-align: start;
}
.theme-immigration .visa-cover h1 { color: #63333a; }
.theme-immigration .visa-cover p { margin-inline: 0; color: #63483e; }
.theme-immigration .visa-cover nav { justify-content: flex-start; }
.theme-immigration .visa-cover nav a { color: #783a3c; }
.theme-immigration .visa-register { border-color: #c09c78; }
.theme-immigration .visa-register > section { background: #fff6e8; }
.theme-immigration .visa-register > section + section { background: #edf3e5; }
.theme-immigration .visa-register li a { color: #6d3a41; }
.theme-immigration .entry-article-index { border-top-color: #9e6755; }

.edition-home,
.edition-index {
  padding-block: clamp(1.75rem, 4.5vw, 4.25rem);
}

.edition-lead {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(1.1rem, 3.8vw, 3.25rem);
  align-items: center;
  min-inline-size: 0;
  padding-block-end: clamp(1.6rem, 3.7vw, 3rem);
  border-bottom: 1px solid var(--rule);
}

.edition-lead > *,
.edition-secondary > *,
.edition-chart-gallery > * { min-inline-size: 0; }

.edition-label {
  margin: 0 0 .85rem;
  color: var(--accent);
  font-size: .875rem;
  font-weight: 750;
  line-height: 1.4;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.edition-home h1,
.edition-index h1 {
  font-size: clamp(2.2rem, 4.7vw, 4.5rem);
  line-height: 1.02;
  text-wrap: pretty;
}

.edition-home :is(h1, h2) a,
.edition-gallery-entry h2 a { color: var(--ink); text-decoration: none; }

.edition-home :is(h1, h2) a:is(:hover, :focus-visible),
.edition-gallery-entry h2 a:is(:hover, :focus-visible) {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: .065em;
}

.edition-dek {
  margin: 1rem 0 .85rem;
  max-inline-size: 56ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.58;
}

.edition-date {
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.4;
}

.edition-lead-chart,
.edition-gallery-entry figure {
  margin: 0;
  min-inline-size: 0;
}

.edition-lead-chart img,
.edition-gallery-entry img {
  display: block;
  inline-size: 100%;
  block-size: auto;
  aspect-ratio: auto 5 / 3;
  border: 1px solid var(--rule);
}

.edition-lead-chart figcaption,
.edition-gallery-entry figcaption {
  padding-block-start: .5rem;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.45;
}

.edition-secondary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.1rem, 3vw, 2.6rem);
  padding-block: clamp(1.4rem, 3.5vw, 2.85rem);
  border-bottom: 1px solid var(--rule);
}

.edition-secondary-story h2,
.edition-gallery-entry h2 {
  margin-block: .45rem;
  font-size: clamp(1.38rem, 2.6vw, 2.3rem);
  line-height: 1.14;
  text-wrap: pretty;
}

.edition-secondary-story p {
  margin: .7rem 0 0;
  color: var(--muted);
  max-inline-size: 64ch;
}

.edition-home-links {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1.5rem;
  margin-block-start: 1.2rem;
  font-weight: 650;
}

.layout-field .edition-lead {
  padding: clamp(1.1rem, 4vw, 3rem);
  background: var(--panel);
  border-block-start: .35rem solid var(--accent);
}

.theme-environment .edition-lead { border-block-start-width: .125rem; }
.theme-agriculture .edition-lead { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }

.layout-atlas .edition-lead-chart {
  border: 1px solid var(--rule);
  border-radius: .75rem;
  background: var(--panel);
  padding: clamp(.55rem, 1.5vw, 1rem);
}

.layout-atlas .edition-secondary-story + .edition-secondary-story {
  padding-inline-start: clamp(1rem, 2.8vw, 2rem);
  border-inline-start: 1px solid var(--rule);
}

.theme-benefits .edition-lead-copy {
  border-inline-start: .2rem solid var(--accent);
  padding-inline-start: clamp(.8rem, 2.8vw, 1.5rem);
}

.theme-housing .edition-secondary {
  background: var(--panel);
  padding-inline: clamp(.75rem, 2.8vw, 2rem);
}

.layout-desk .edition-home {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  align-items: start;
  gap: 1.5rem 2.5rem;
}

.layout-desk .edition-lead {
  grid-template-columns: minmax(0, 1fr);
  gap: 1.15rem;
  padding-block-end: 0;
  border-bottom: 0;
}

.layout-desk .edition-secondary {
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  padding: .15rem 0 0 1.5rem;
  border-bottom: 0;
  border-inline-start: 1px solid var(--rule);
}

.layout-desk .edition-secondary-story + .edition-secondary-story {
  border-top: 1px solid var(--rule);
  padding-block-start: 1.25rem;
}

.layout-desk .edition-home-links {
  grid-column: 1 / -1;
  margin-block-start: 0;
  border-block-start: 1px solid var(--rule);
  padding-block-start: 1rem;
}

.theme-education .edition-secondary {
  padding: 1.15rem;
  background: var(--panel);
  border-inline-start: .15rem solid var(--accent);
}

.layout-lab .edition-lead { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
.layout-lab .edition-lead-copy { grid-area: 1 / 2; }
.layout-lab .edition-lead-chart { grid-area: 1 / 1; }

.theme-transportation .edition-lead {
  padding: clamp(1rem, 3.25vw, 2.5rem);
  border: 1px solid var(--rule);
}

.theme-health .edition-lead-chart { background: var(--panel); padding: clamp(.5rem, 1.5vw, 1.1rem); }
.theme-science .edition-lead { border-block-end-color: var(--accent); }
.theme-science .edition-lead-chart {
  background: var(--panel);
  padding: clamp(.55rem, 1.7vw, 1.1rem);
}

.layout-ledger .edition-lead {
  border-block-start: .28rem double var(--accent);
  padding-block-start: clamp(1.25rem, 3vw, 2.4rem);
}

.layout-ledger .edition-secondary {
  padding-block: 0;
  gap: 0;
}

.layout-ledger .edition-secondary-story { padding: clamp(1rem, 2.6vw, 1.8rem); }
.layout-ledger .edition-secondary-story + .edition-secondary-story { border-inline-start: 1px solid var(--rule); }
.theme-finance .edition-secondary { background: var(--panel); }
.theme-immigration .edition-lead { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }

.edition-index-head {
  border-block-end: 1px solid var(--rule);
  padding-block-end: 1.2rem;
  margin-block-end: clamp(1.25rem, 3vw, 2rem);
}

.edition-chart-gallery { display: grid; gap: 1.4rem; }

.edition-gallery-entry {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1rem, 3vw, 2.4rem);
  padding-block-end: 1.4rem;
  border-block-end: 1px solid var(--rule);
}

.edition-gallery-entry header p {
  margin-block: .6rem 0;
  color: var(--muted);
  font-size: .9375rem;
}

.edition-gallery-entry figure a { display: block; }
.edition-gallery-entry figure a:focus-visible { outline-offset: 3px; }

.edition-source-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(1.2rem, 4vw, 3rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.edition-source-list li {
  display: grid;
  gap: .3rem;
  min-inline-size: 0;
  overflow-wrap: anywhere;
  line-height: 1.48;
  padding-block: .8rem;
  border-block-end: 1px solid var(--rule);
}

.edition-source-list a { inline-size: fit-content; font-weight: 650; }
.edition-source-list span { color: var(--muted); font-size: .875rem; }

@media (max-width: 830px) {
  .layout-desk .edition-home { display: block; }

  .layout-desk .edition-secondary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-inline-start: 0;
    border-block-start: 1px solid var(--rule);
    margin-block-start: 1.4rem;
    padding: 1rem 0;
  }

  .theme-education .edition-secondary { padding-inline: 1rem; }

  .layout-desk .edition-secondary-story + .edition-secondary-story {
    border-block-start: 0;
    padding-block-start: 0;
  }
}

@media (max-width: 650px) {
  .edition-home .edition-lead,
  .edition-home .edition-secondary,
  .edition-gallery-entry,
  .edition-source-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .layout-lab .edition-lead > * { grid-area: auto; }
  .edition-home .edition-secondary { gap: 0; padding-block: 0; }
  .edition-secondary-story { padding-block: 1.05rem; }
  .edition-home .edition-secondary-story + .edition-secondary-story {
    padding-inline-start: 0;
    padding-block-start: 1.05rem;
    border-inline-start: 0;
    border-block-start: 1px solid var(--rule);
  }

  .layout-ledger .edition-home .edition-secondary-story { padding-inline: .9rem; }
  .layout-desk .edition-home .edition-home-links { padding-block-start: .85rem; }
}

.edition-story {
  width: min(100% - 2.5rem, 70rem);
  margin-inline: auto;
  padding: clamp(2rem, 6vw, 5rem) 0 4rem;
}
.edition-story-header {
  border-block-start: max(.16rem, 2px) solid var(--accent);
  margin: 0 auto 2.6rem;
  max-width: 54rem;
  padding-top: 1.6rem;
}
.edition-story-header h1 {
  font-size: clamp(2rem, 6vw, 4.1rem);
  line-height: 1.06;
  line-break: auto;
  letter-spacing: -.035em;
  margin: 0 0 .7rem;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.edition-dek {
  font-size: clamp(1.13rem, 2vw, 1.4rem);
  line-height: 1.5;
  margin: 0 0 1.1rem;
  max-width: 58ch;
}
.edition-story-meta {
  margin: 1.1rem 0 0;
  font-weight: 600;
  font-size: .925rem;
}
.edition-story-body {
  margin-inline: auto;
  max-width: 66ch;
  font-size: clamp(1.04rem, 1.7vw, 1.2rem);
  line-height: 1.68;
  overflow-wrap: anywhere;
}
.edition-story-body h2 {
  font-size: clamp(1.37rem, 3vw, 2.15rem);
  line-height: 1.2;
  margin: 2.05em 0 .55em;
  letter-spacing: -.018em;
}
.edition-story-body h2:first-child { margin-top: 0; }
.edition-story-body p {
  color: inherit;
  margin: 0 0 1.04em;
}
.edition-story-body a {
  color: inherit;
  text-decoration-thickness: max(1px, .09em);
  text-underline-offset: .2em;
  text-decoration-color: var(--accent);
}
.edition-chart {
  margin: 1.8em 0 2.15em;
  padding: clamp(.5rem, 2vw, 1rem);
  background: var(--panel);
  border: 1px solid color-mix(in srgb, var(--ink), transparent 80%);
}
.edition-chart img {
  display: block;
  height: auto;
  max-width: 100%;
  width: 100%;
}
.edition-chart figcaption {
  margin-top: .75rem;
  font-size: .91rem;
  line-height: 1.4;
}
.edition-figure-data {
  display: inline-block;
  margin-inline-start: .4em;
}
.edition-table {
  margin-block: 1.6rem 2rem;
  overflow-x: auto;
  font-size: .94rem;
}
.edition-table table { line-height: 1.35; }
.edition-table th,
.edition-table td {
  border-block-end: 1px solid color-mix(in srgb, var(--ink), transparent 70%);
  padding: .55rem .66rem;
  overflow-wrap: normal;
}
.edition-table thead { background: var(--panel); }
.edition-cell-right { text-align: right; }
.edition-cell-center { text-align: center; }
.edition-cell-left { text-align: left; }
.theme-weather .edition-story-header,
.theme-government .edition-story-header,
.theme-environment .edition-story-header { max-width: 61rem; }
.theme-finance .edition-story-header,
.theme-economy .edition-story-header,
.theme-energy .edition-story-header { border-block-start-width: .55rem; }
.theme-science .edition-story-header,
.theme-immigration .edition-story-header,
.theme-education .edition-story-header { border-block-start-width: 0; border-block-end: 1px solid var(--accent); padding-bottom: 1.35rem; }
.theme-agriculture .edition-story-header,
.theme-population .edition-story-header { border-inline-start: .25rem solid var(--accent); padding-inline-start: clamp(.7rem, 3vw, 2rem); }
.theme-housing .edition-story-header,
.theme-benefits .edition-story-header,
.theme-health .edition-story-header { padding: clamp(1rem, 4vw, 2rem); background: var(--panel); }

/* Article photographs sit outside the quantitative article body. */
.edition-hero {
  width: min(100% - 1rem, 69rem);
  margin: clamp(1.5rem, 3.6vw, 3.3rem) auto;
}
.edition-hero img,
.pr-docket-figure img {
  width: 100%;
  height: auto;
  display: block;
}
.edition-hero figcaption,
.pr-docket-figure figcaption {
  color: inherit;
  margin-top: .6rem;
  font-size: .875rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.edition-photo-credit {
  font-size: .875rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.edition-photo-credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .14em;
}
.pr-docket-figure { margin: 1rem 0 .25rem; }
.entry-story-head .edition-hero { width: 100%; }

/* Publication mastheads */

.edition-masthead {
  --mast-paper: var(--paper);
  --mast-ink: var(--ink);
  --mast-rule: var(--rule);
  --mast-font: inherit;
  background: var(--mast-paper);
  color: var(--mast-ink);
  border-block-end: 1px solid var(--mast-rule);
  overflow-wrap: anywhere;
}
.edition-masthead > .shell { width: min(100% - 3rem, 75rem); padding-block: clamp(.85rem, 2vw, 1.6rem); }
.edition-masthead :is(a, p) { color: inherit; }
.edition-masthead nav, .edition-masthead nav > * { min-inline-size: 0; }
.edition-masthead nav { font-size: .94rem; line-height: 1.3; font-weight: 660; }
.edition-masthead nav a { text-decoration-thickness: .07em; text-underline-offset: .25em; }
.edition-masthead :is(a, summary):focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.edition-masthead [aria-current="page"]:not(.desk-wordmark) { text-decoration: underline; font-weight: 820; }
.desk-wordmark {
  display: inline-block;
  font: 820 clamp(1.65rem, 4vw, 3rem)/1.03 var(--mast-font, system-ui);
  letter-spacing: -.06em;
  text-decoration: none;
}
.desk-wordmark + span { display: block; margin-block-start: .28rem; font-size: .81rem; line-height: 1.4; }
.mast-menu { min-inline-size: 0; }
.mast-menu summary { cursor: pointer; padding: .6rem .75rem; }
.mast-menu ul { margin: .1rem 0 0; padding: .3rem .75rem .5rem 1.7rem; }
.mast-menu li a { display: inline-block; padding-block: .28rem; }

.masthead-weather {
  --mast-paper: #112e2d; --mast-ink: #eafff9; --mast-rule: #4c9f8e; --mast-font: "Segoe UI", sans-serif;
  border-block-end-width: .28rem;
}
.masthead-weather > .shell {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(17rem, .7fr); justify-content: space-between;
  gap: .85rem clamp(1rem, 6vw, 5rem); align-items: start;
}
.mast-storm-brand { padding-inline-start: .78rem; border-inline-start: .26rem solid #74c3b2; }
.mast-storm-brand span { color: #c4e5dc; }
.mast-storm-tools { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .45rem .65rem; }
.mast-storm-tools .mast-menu { border: 1px solid #72ad9d; }
.mast-storm-tools .mast-menu[open] { background: #244840; }
.mast-storm-tools .mast-storm-reports { align-self: start; padding: .62rem .7rem; text-decoration: none; background: #d3efe4; color: #13352c; }

.masthead-population {
  --mast-paper: #eff1fb; --mast-ink: #162e4d; --mast-rule: #93a3c6; --mast-font: Georgia, serif;
  background-image: linear-gradient(90deg, transparent 2.9rem, #607e9c26 2.9rem 3rem, transparent 3rem);
  background-size: 3rem 100%;
}
.masthead-population > .shell {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: .85rem 2rem; align-items: end;
}
.mast-atlas-title .desk-wordmark { font-style: italic; font-weight: 650; letter-spacing: -.065em; }
.mast-atlas-index { display: flex; flex-wrap: wrap; gap: .55rem 1rem; align-items: center; }
.mast-atlas-index .mast-atlas-primary { color: #fff; background: #294579; padding: .62rem .85rem; text-decoration: none; }

.masthead-economy {
  --mast-paper: #faeed6; --mast-ink: #3c281c; --mast-rule: #85543a; --mast-font: Georgia, serif;
}
.masthead-economy > .shell { text-align: center; padding-block: .75rem 0; }
.mast-broadsheet-title .desk-wordmark { font-size: clamp(2.5rem, 6.4vw, 5.2rem); font-weight: 900; }
.mast-broadsheet-title span { font-style: italic; margin-block-start: .15rem; }
.mast-broadsheet-index {
  margin-block-start: .65rem; border-block-start: 3px double #9a6447; display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.mast-broadsheet-index a { padding: .6rem .35rem; font-family: Georgia, serif; }
.mast-broadsheet-index a + a { border-inline-start: 1px solid #b99b79; }

.masthead-government {
  --mast-paper: #eadfe8; --mast-ink: #3a2539; --mast-rule: #8e6d88; --mast-font: ui-monospace, monospace;
}
.masthead-government > .shell {
  display: grid; grid-template-columns: minmax(0, 1fr); align-items: start;
  padding-block: .85rem .75rem;
}
.mast-file-name {
  width: fit-content; max-inline-size: 100%; background: #f8f0f7; border: 1px solid #ae8ca6;
  border-block-end: 0; padding: .55rem 1rem .72rem;
}
.mast-file-name .desk-wordmark { letter-spacing: -.08em; }
.mast-file-tools {
  display: flex; flex-wrap: wrap; align-items: flex-start; gap: .35rem .55rem;
  background: #412d40; color: #fff4fb; padding: .4rem .62rem;
}
.mast-file-tools .mast-file-index { display: block; background: #684d64; color: #fff4fb; padding: .62rem .8rem; }
.mast-file-tools .mast-menu { color: #3a2539; background: #f7eff6; border: 1px solid #ae8ca6; }

.masthead-energy {
  --mast-paper: #eaf4e7; --mast-ink: #183c2d; --mast-rule: #7c9d89; --mast-font: ui-monospace, monospace;
}
.masthead-energy > .shell {
  display: grid; grid-template-columns: minmax(0, .64fr) minmax(0, 1.36fr); align-items: center;
  padding-block: 0; border-inline-start: 1px solid #9dbcaa; border-inline-end: 1px solid #9dbcaa;
}
.mast-meter-name { box-sizing: border-box; min-inline-size: 0; padding: .95rem 1rem; background: #244d3a; color: #f6fff9; }
.mast-meter-name .desk-wordmark { letter-spacing: -.085em; }
.mast-meter-tabs { display: grid; grid-template-columns: minmax(0,.68fr) minmax(0,1.48fr) minmax(0,.82fr); }
.mast-meter-tabs a { display: grid; place-items: center; text-align: center; padding: .65rem .55rem; border-inline-end: 1px solid #a9c5b2; }
.mast-meter-tabs a:last-child { border-inline-end: 0; }
.mast-meter-tabs .mast-meter-compare { background: #d3e8d9; }

.masthead-environment {
  --mast-paper: #f3eedb; --mast-ink: #293d2f; --mast-rule: #a09871; --mast-font: Georgia, serif;
}
.masthead-environment > .shell {
  display: grid; grid-template-columns: minmax(0,1fr); gap: .55rem; padding-block: 1rem .45rem;
}
.mast-trail-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .9rem; padding-inline-start: .75rem; border-inline-start: 3px double #898357; }
.mast-trail-name .desk-wordmark { letter-spacing: -.035em; font-weight: 650; }
.mast-trail-index { display: flex; flex-wrap: wrap; gap: .45rem 1.15rem; border-block-start: 1px dashed #989569; padding-block-start: .46rem; }
.mast-trail-index a { padding: .3rem .25rem; text-decoration: none; }
.mast-trail-index a::before { content: ""; display: inline-block; width: .32rem; height: .32rem; background: #70815c; margin-inline-end: .4rem; vertical-align: .18em; }

.masthead-benefits {
  --mast-paper: #f5e8ae; --mast-ink: #303b29; --mast-rule: #968344; --mast-font: "Segoe UI",sans-serif;
}
.masthead-benefits > .shell {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 1fr); gap: 1rem 2rem; align-items: start;
}
.mast-program-title .desk-wordmark { letter-spacing: -.075em; }
.mast-program-index { display: flex; align-items: flex-start; flex-wrap: wrap; gap: .55rem 1rem; }
.mast-program-index .mast-program-primary {
  display: block; background: #34432d; color: #fff8d7; border-radius: .22rem; padding: .66rem .85rem; text-decoration: none;
}
.mast-program-index .mast-menu { outline: 1px solid #7f7342; outline-offset: -1px; background: #fbf1c8; }

.masthead-transportation {
  --mast-paper: #222a33; --mast-ink: #f6f8ef; --mast-rule: #9daa81; --mast-font: ui-monospace, monospace;
}
.masthead-transportation > .shell {
  display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.15fr); align-items: center; gap: 1rem 2rem;
}
.mast-line-title span { color: #d9e2ca; }
.mast-line-guide ol { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); list-style: none; margin: 0; padding: 0; }
.mast-line-guide li { position: relative; padding-block-start: .64rem; border-block-start: 2px solid #a1bd7b; }
.mast-line-guide li::before { content: ""; position: absolute; inset-block-start: -.38rem; inset-inline-start: 0; inline-size: .55rem; block-size: .55rem; border-radius: 50%; background: #d7ee96; }
.mast-line-guide a { display: inline-block; padding-inline-end: .3rem; }
.mast-line-guide li:last-child a { padding-inline-end: 0; }

.masthead-housing {
  --mast-paper: #fbefe6; --mast-ink: #56313b; --mast-rule: #b58187; --mast-font: Georgia, serif;
}
.masthead-housing > .shell { display: grid; grid-template-columns: minmax(10rem, .8fr) minmax(0, .75fr); justify-content: space-between; align-items: center; gap: .75rem 2rem; }
.mast-address-name .desk-wordmark { padding: .26rem 0 .4rem; border-block-end: 1px solid #a87880; font-weight: 520; font-size: clamp(2.15rem,5vw,4rem); line-height: 1; }
.mast-address-tools a { display: block; padding: .45rem .6rem; border-inline-start: 3px solid #ad747d; background: #f5e4e0; }
.mast-address-tools a + a { margin-block-start: .3rem; }

.masthead-health {
  --mast-paper: #e7f2f9; --mast-ink: #153b54; --mast-rule: #7494aa; --mast-font: "Segoe UI",sans-serif;
  border-block-start: .28rem solid #22637f;
}
.masthead-health > .shell {
  display: grid; grid-template-columns: minmax(0,1fr); gap: .65rem; padding-block: .85rem 0;
}
.mast-method-title { display: flex; flex-wrap: wrap; gap: .15rem .9rem; align-items: baseline; }
.mast-method-title .desk-wordmark { font-weight: 880; letter-spacing: -.075em; }
.mast-method-index { display: grid; grid-template-columns: .9fr 1fr 1fr; gap: .5rem .45rem; }
.mast-method-index a { border: 1px solid #7997ad; border-block-end: 0; display: block; padding: .48rem .7rem; text-decoration: none; }
.mast-method-index .mast-method-primary { background: #285974; color: #f9fdff; border-color: #285974; }

.masthead-finance {
  --mast-paper: #173642; --mast-ink: #eff9f9; --mast-rule: #7698a1; --mast-font: Georgia,serif;
}
.masthead-finance > .shell { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: .85rem 1.6rem; align-items: stretch; padding-block: 0; }
.mast-accounts-name { border-inline-end: .35rem solid #85b9b8; padding: 1rem .9rem 1.05rem 0; text-align: end; }
.mast-accounts-name .desk-wordmark { font-variant: small-caps; }
.mast-accounts-index { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); padding-block: .65rem; }
.mast-accounts-index a { padding: .4rem .6rem; border-block-start: 1px dotted #8faeaf; }
.mast-accounts-index a:last-child { grid-column: 1/-1; }

.masthead-agriculture {
  --mast-paper: #faefd0; --mast-ink: #50351e; --mast-rule: #98784b; --mast-font: Georgia,serif;
  border-block-end-width: .24rem;
}
.masthead-agriculture > .shell { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1fr); align-items: center; gap: .8rem 2rem; }
.mast-almanac-name { padding-inline-start: .8rem; border-inline-start: 4px double #917051; }
.mast-almanac-name .desk-wordmark { font-weight: 640; letter-spacing: -.035em; }
.mast-almanac-name span { font-style: italic; }
.mast-almanac-tabs { display: flex; flex-wrap: wrap; gap: .5rem; }
.mast-almanac-tabs a { background: #f0e2b8; padding: .36rem .57rem; border: 1px solid #baa173; }

.masthead-education {
  --mast-paper: #f5eaf3; --mast-ink: #412850; --mast-rule: #b095b3; --mast-font: "Segoe UI", sans-serif;
}
.masthead-education > .shell { text-align: center; }
.mast-study-name .desk-wordmark { font-family: Georgia, serif; font-size: clamp(2rem,5vw,3.7rem); }
.mast-study-guide { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem 1rem; align-items: start; margin-block-start: .72rem; }
.mast-study-guide .mast-study-primary { background: #5b3b68; color: #fff4fc; border-radius: 1.4rem; padding: .56rem .9rem; text-decoration: none; }
.mast-study-guide .mast-menu { border-block-end: 1px solid #81658b; text-align: start; }

.masthead-science {
  --mast-paper: #181524; --mast-ink: #f2edff; --mast-rule: #8568a9; --mast-font: ui-monospace, monospace;
}
.masthead-science > .shell {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .8rem 1.7rem; align-items: center;
}
.mast-observation-title { border-inline-start: .25rem solid #a38bca; padding-inline-start: .7rem; }
.mast-observation-title .desk-wordmark { letter-spacing: -.06em; }
.mast-observation-title span { color: #cebfec; }
.mast-console-tools { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .24rem .5rem; font-family: ui-monospace,monospace; }
.mast-console-tools a { padding: .33rem .48rem; border-block-end: 1px solid #8269a8; }
.mast-console-tools .mast-console-primary { padding: .44rem .52rem; grid-column: 1/-1; background: #3c2e52; border: 1px solid #a58dce; }

.masthead-immigration {
  --mast-paper: #f3e8d0; --mast-ink: #492f3a; --mast-rule: #a17c7c; --mast-font: Georgia,serif;
}
.masthead-immigration > .shell { display: grid; grid-template-columns: minmax(0,.92fr) minmax(15rem,1.08fr); align-items: start; gap: 1rem 2rem; }
.mast-document-name { background: #ecdbc4; border: 1px solid #b08c83; padding: .74rem .9rem; }
.mast-document-name .desk-wordmark { font-weight: 720; letter-spacing: -.035em; }
.mast-document-tools { display: flex; justify-content: flex-end; gap: .45rem; flex-wrap: wrap; }
.mast-document-tools .mast-document-primary { padding: .6rem .75rem; border-block-end: 2px solid #986b71; }
.mast-document-tools .mast-menu { border: 1px solid #ad8d8d; background: #fff5e0; }

@media (max-width: 640px) {
  .edition-masthead > .shell { width: calc(100% - 1.75rem); padding-block: .65rem; }
  .edition-masthead nav :is(a, summary) { min-block-size: 2.15rem; box-sizing: border-box; align-content: center; }
  .edition-masthead nav a { display: block; }
  .masthead-weather > .shell { grid-template-columns: minmax(0, 1fr); }
  .mast-storm-tools { grid-template-columns: minmax(0,1fr) minmax(0,1.3fr); }
  .masthead-population > .shell { grid-template-columns: minmax(0,1fr); gap: .45rem; }
  .mast-atlas-index { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .3rem .55rem; }
  .mast-atlas-index .mast-atlas-primary { grid-column: 1/-1; }
  .masthead-economy > .shell { padding-block-end: 0; }
  .mast-broadsheet-title .desk-wordmark { font-size: clamp(2rem, 10vw, 3.2rem); }
  .mast-broadsheet-index { margin-block-start: .42rem; }
  .mast-broadsheet-index a { font-size: .85rem; }
  .masthead-government > .shell { padding-block: .6rem .55rem; }
  .mast-file-name { padding: .35rem .65rem; }
  .mast-file-tools { padding-inline: .4rem; }
  .mast-file-tools .mast-file-index { padding-inline: .45rem; }
  .mast-file-tools .mast-menu summary { padding-inline: .48rem; }
  .masthead-energy > .shell { width: 100%; display: block; padding-block: 0; border: 0; }
  .mast-meter-name { padding: .65rem .875rem; }
  .mast-meter-tabs a { text-align: center; font-size: .85rem; }
  .masthead-environment > .shell { align-items: flex-start; }
  .mast-trail-name { display: block; }
  .mast-trail-index { gap: .25rem .55rem; padding-block-start: .4rem; }
  .mast-trail-index a { padding: .3rem .02rem; }
  .mast-trail-index a::before { margin-inline-end: .27rem; }
  .masthead-benefits > .shell { grid-template-columns: minmax(0,1fr); gap: .55rem; }
  .mast-program-index { display: grid; grid-template-columns: minmax(0,1fr); gap: .35rem; }
  .mast-program-index summary { padding-block: .42rem; }
  .masthead-transportation > .shell { grid-template-columns: minmax(0,1fr); gap: .7rem; }
  .mast-line-guide ol { display: flex; flex-wrap: wrap; gap: 0 .55rem; }
  .mast-line-guide li { flex: 1 1 5rem; }
  .mast-line-guide a { font-size: .85rem; }
  .masthead-housing > .shell { grid-template-columns: minmax(0,1fr); gap: .45rem; }
  .mast-address-name .desk-wordmark { padding-block: 0 .2rem; }
  .mast-address-tools { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .35rem; }
  .mast-address-tools a + a { margin: 0; }
  .masthead-health > .shell { padding-block-end: 0; gap: .36rem; }
  .mast-method-title { display: block; }
  .mast-method-index { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .3rem; }
  .mast-method-index a { font-size: .79rem; padding: .37rem .3rem; text-align: center; }
  .masthead-finance > .shell { gap: .4rem 1rem; grid-template-columns: minmax(0,1fr); }
  .mast-accounts-name { padding: .35rem .55rem .33rem 0; }
  .mast-accounts-index { padding: 0; }
  .masthead-agriculture > .shell { grid-template-columns: minmax(0,1fr); gap: .55rem; }
  .mast-almanac-tabs { gap: .3rem; }
  .mast-almanac-tabs a { font-size: .84rem; padding: .3rem .4rem; }
  .mast-study-guide { display: grid; gap: .35rem; text-align: center; margin-block-start: .5rem; }
  .mast-study-guide summary { padding: .36rem .55rem; }
  .masthead-science > .shell { grid-template-columns: minmax(0,1fr); gap: .58rem; }
  .mast-console-tools { font-size: .84rem; }
  .masthead-immigration > .shell { grid-template-columns: minmax(0,1fr); gap: .42rem; }
  .mast-document-name { padding: .48rem .65rem; }
  .mast-document-tools { justify-content: flex-start; }
  .mast-document-tools .mast-document-primary, .mast-document-tools summary { padding: .42rem .52rem; }
}

/* Closing sections keep their primary action in view. */

.edition-brand-footer {
  --close-paper: var(--panel);
  --close-ink: var(--ink);
  --close-rule: var(--rule);
  color: var(--close-ink);
  background: var(--close-paper);
  margin-block-start: clamp(2.2rem, 5.5vw, 4.8rem);
  padding-block: clamp(1.3rem, 3.5vw, 3.1rem);
  overflow-wrap: anywhere;
}
.edition-brand-footer > .shell { width: min(100% - 3rem, 75rem); }
.edition-brand-footer :is(a, p) { color: inherit; }
.edition-brand-footer h2 {
  font-size: clamp(1.38rem, 3vw, 2.55rem);
  line-height: 1.1;
  margin: 0;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.edition-brand-footer p { margin: .65rem 0 0; line-height: 1.45; }
.edition-brand-footer nav { min-inline-size: 0; }
.edition-brand-footer a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.edition-brand-footer .closing-name {
  display: inline-block; text-decoration: none; font-size: clamp(1.45rem, 3vw, 2.55rem);
  letter-spacing: -.045em; font-weight: 780; line-height: 1;
}
.edition-brand-footer .closing-name:is(:hover,:focus-visible) { text-decoration: underline; }

.footer-weather { --close-paper: #142f2e; --close-ink: #f2fbf8; border-block-start: 4px solid #7abfb2; }
.close-field-record { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,.65fr); gap: 1.1rem 2.2rem; }
.close-field-record nav { display: grid; gap: .65rem; border-inline-start: 1px solid #7ca69b; padding-inline-start: 1.1rem; align-content: center; }
.close-field-stamp { margin-block-start: 1.5rem; }
.close-field-stamp .closing-name { font-size: 1rem; letter-spacing: .03em; }

.footer-population { --close-paper: #e8eefb; --close-ink: #162f4e; border-block-start: 1px solid #8296b4; }
.close-atlas-index {
  border: 1px solid #8fa4bf; padding: clamp(1rem, 3vw, 2.5rem);
  background-size: 1.6rem 1.6rem;
  background-image: linear-gradient(90deg, #7794bb24 1px, transparent 1px), linear-gradient(#7794bb24 1px, transparent 1px);
}
.close-atlas-index h2 { font-family: Georgia, serif; font-style: italic; }
.close-atlas-index nav { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; align-items: center; margin-block-start: 1rem; }
.close-atlas-index nav .close-atlas-primary { display: inline-block; padding: .54rem .78rem; background: #233f69; color: #fff; }

.footer-economy { --close-paper: #f0e3c9; --close-ink: #402c20; border-block: 4px double #986a48; }
.close-broadsheet { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.85fr); gap: 1rem 2.25rem; }
.close-broadsheet .closing-name { font: 900 clamp(1.65rem,4.5vw,3.2rem)/1 Georgia,serif; }
.close-broadsheet p { font-family: Georgia,serif; font-style: italic; }
.close-edition-index { display: grid; gap: .3rem; padding-inline-start: .9rem; border-inline-start: 3px double #997453; }
.close-edition-index a { font-family: Georgia,serif; }

.footer-government { --close-paper: #362638; --close-ink: #fff2f8; border-block-start: .38rem solid #896581; }
.close-docket { border-inline-start: .32rem solid #b58fa9; padding-inline-start: clamp(.8rem,3vw,1.55rem); max-inline-size: 54rem; }
.close-docket h2 { font-family: ui-monospace,monospace; font-weight: 710; }
.close-docket-returns { display: flex; flex-wrap: wrap; gap: .45rem 1rem; margin-block-start: 1.15rem; }
.close-docket-returns a { border: 1px solid #bda0b7; padding: .52rem .7rem; }

.footer-energy { --close-paper: #edf5eb; --close-ink: #18392b; padding-block-start: 0; border-block-start: .25rem solid #4e8069; }
.close-meter { max-inline-size: 48rem; border-inline: 1px solid #b1c7b8; margin-inline: auto; }
.close-meter > div { padding: .87rem 1.05rem; border-block-end: 1px solid #aec1ad; }
.close-meter .closing-name { font-family: ui-monospace,monospace; }
.close-meter dl { padding: .15rem 1rem; margin: 0; }
.close-meter dl > div { display: grid; grid-template-columns: minmax(0,.62fr) minmax(0,1fr); gap: .55rem 1rem; border-block-end: 1px dotted #afc2ad; padding-block: .62rem; }
.close-meter dt { font-weight: 680; }
.close-meter dd { margin: 0; }

.footer-environment { --close-paper: #e9e9d5; --close-ink: #263929; border-block-start: 2px dashed #8a8a61; }
.close-trail { display: flex; flex-wrap: wrap; gap: .65rem 3rem; align-items: baseline; }
.close-trail h2 { font-family: Georgia,serif; font-weight: 550; }
.close-trail ul { display: flex; flex-wrap: wrap; gap: .35rem 1.2rem; list-style: square; margin: 0; padding-inline-start: 1.1rem; }

.footer-benefits { --close-paper: #f6e4a2; --close-ink: #313822; }
.close-program { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.02fr); align-items: center; gap: 1rem 2rem; }
.close-program h2 { font-weight: 850; }
.close-program nav { display: flex; flex-wrap: wrap; gap: .55rem .95rem; align-items: center; }
.close-program nav .close-program-primary { background: #34412b; color: #fff7d4; border-radius: .25rem; padding: .72rem .95rem; }

.footer-transportation { --close-paper: #222a33; --close-ink: #f0f5e8; }
.close-route h2 { font-family: ui-monospace,monospace; color: #e3f4a8; }
.close-route ol { display: flex; flex-wrap: wrap; gap: .6rem 1.75rem; list-style: none; margin: .95rem 0; padding: 0; }
.close-route li::before { content: ""; display: inline-block; inline-size: .42rem; block-size: .42rem; border-radius: 50%; margin-inline-end: .48rem; background: #d6e88e; vertical-align: .15em; }
.close-route .closing-name { font: 730 .95rem/1.1 ui-monospace,monospace; letter-spacing: .03em; }

.footer-housing { --close-paper: #fcf2ea; --close-ink: #57333b; border-block-start: 1px solid #be9698; }
.close-market-card {
  max-inline-size: 44rem; margin-inline: auto; text-align: center; padding: 1.1rem clamp(.8rem,4vw,2rem);
  background: #f2e2dd; border: 1px solid #b6888b; border-start-start-radius: .95rem;
}
.close-market-card h2 { font: 510 clamp(1.7rem,4vw,2.65rem)/1.12 Georgia,serif; }
.close-market-card nav { display: grid; margin-block-start: .85rem; gap: .65rem; justify-items: center; }
.close-market-card .close-market-primary { padding: .5rem .75rem; background: #633640; color: #fff3f1; }
.close-market-return { max-inline-size: 44rem; margin: .65rem auto 0; }
.close-market-return .closing-name { font: 600 1rem/1 Georgia,serif; }

.footer-health { --close-paper: #e5f0f7; --close-ink: #1a3a50; }
.close-measure-sheet { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1fr); gap: .72rem 1.15rem; border-block-start: .28rem solid #3c6078; background: #f3f8fb; padding: clamp(.95rem,3vw,1.6rem); }
.close-measure-sheet nav { display: grid; gap: .4rem; align-content: center; }
.close-measure-sheet > div { grid-column: 1/-1; text-align: right; border-block-start: 1px solid #bccdd7; padding-block-start: .55rem; }
.close-measure-sheet .closing-name { font-size: 1.1rem; }

.footer-finance { --close-paper: #152f38; --close-ink: #eef7f7; }
.close-audit { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr); gap: 1rem 2rem; border-block: 1px dotted #98b5bb; padding-block: .95rem; }
.close-audit h2 { font: 540 clamp(1.55rem,3.3vw,2.65rem)/1.12 Georgia,serif; }
.close-audit nav { display: grid; gap: .54rem; align-content: center; }
.close-audit-signature { margin-block-start: 1rem; }
.close-audit-signature .closing-name { font: 730 1.1rem/1.1 Georgia,serif; font-variant: small-caps; }

.footer-agriculture { --close-paper: #f6e9c8; --close-ink: #4b311d; border-block-start: 4px double #9e7956; }
.close-almanac-index { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,.87fr); gap: .4rem 1.5rem; background: #efe0b9; border-inline-start: .35rem solid #866245; padding: 1rem; }
.close-almanac-index .closing-name { font: 700 clamp(1.6rem,4vw,2.7rem)/1 Georgia,serif; }
.close-almanac-index h2 { grid-column: 1; font: italic 500 1rem/1.25 Georgia,serif; }
.close-almanac-index nav { grid-column: 2; grid-row: 1/3; display: grid; gap: .5rem; align-content: center; }

.footer-education { --close-paper: #eee1f2; --close-ink: #432a50; }
.close-study { padding: clamp(.85rem,3vw,1.6rem); border-inline-start: .37rem solid #7c5587; }
.close-study h2 { max-inline-size: 20ch; }
.close-study nav { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1.3rem; margin-block-start: .9rem; }
.close-study .close-study-primary { display: inline-block; border-radius: 99px; padding: .65rem .9rem; background: #603f6b; color: #fff6fe; }

.footer-science { --close-paper: #171322; --close-ink: #f6eefe; border-block-start: 1px solid #9980bb; }
.close-observer { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,.74fr) max-content; align-items: start; gap: .85rem 1.25rem; border: 1px solid #5c4b72; padding: clamp(.8rem,2vw,1.25rem); }
.close-observer .closing-name { font-family: ui-monospace,monospace; }
.close-observer span { display: block; margin-block-start: .38rem; color: #decdf1; font: .86rem/1.4 ui-monospace,monospace; }
.close-observer nav { display: grid; gap: .58rem; }
.close-observer-primary { padding: .35rem .55rem; border: 1px solid #9a80bb; width: fit-content; }
.close-observer-top { color: #dbcaed; font-size: .87rem; }

.footer-immigration { --close-paper: #eddcc2; --close-ink: #4d3139; border-block-start: 2px solid #9a747a; }
.close-document { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr); gap: 1rem; background: #f9efd9; border: 1px solid #b69488; padding: clamp(.85rem,3vw,1.55rem); }
.close-document h2 { font-family: Georgia,serif; font-weight: 610; }
.close-document nav { border-inline-start: 1px dashed #997983; padding-inline-start: .75rem; display: grid; gap: .5rem; align-content: center; }

@media (max-width: 670px) {
  .edition-brand-footer > .shell { width: calc(100% - 1.75rem); }
  .close-field-record, .close-broadsheet, .close-program, .close-measure-sheet, .close-audit, .close-observer, .close-document {
    grid-template-columns: minmax(0,1fr); gap: .8rem;
  }
  .close-field-record nav, .close-edition-index, .close-document nav { padding-inline-start: .6rem; }
  .close-atlas-index nav, .close-study nav, .close-docket-returns { display: grid; justify-items: start; }
  .close-meter dl > div { gap: .55rem; }
  .close-trail ul { display: grid; }
  .close-measure-sheet > div { text-align: left; }
  .close-almanac-index { grid-template-columns: minmax(0,1fr); }
  .close-almanac-index nav { grid-column: auto; grid-row: auto; margin-block-start: .24rem; }
  .close-observer-top { justify-self: start; }
}

/* Opening copy belongs to the article and keeps its original deep link. */
.desk-opening { margin-block: 0 2rem; scroll-margin-top: 1.1rem; }
.edition-story-body .desk-opening h2 { margin: 0 0 .65em; }
.desk-opening p:last-child { margin-bottom: 0; }
.desk-opening-weather { padding: .85rem 0; border-block: 2px solid currentColor; }
.desk-opening-economy { padding-block: .75rem; border-block: 3px double var(--rule); }
.desk-opening-government { padding: .9rem 1.2rem; border: 1px solid var(--rule); border-inline-start-width: .35rem; }
.desk-opening-energy { padding: 1rem clamp(.85rem, 3vw, 1.65rem); background: var(--panel); }
.desk-opening-benefits { border-left: .3rem solid var(--accent); padding-inline-start: 1rem; }
.desk-opening-transportation { padding: .9rem 0; border-block: 1px dashed var(--rule); }
.desk-opening-health { padding: 1rem; border-inline-start: 2px solid var(--accent); background: var(--panel); }
.desk-opening-finance { border-block-end: 1px solid var(--rule); padding-block-end: 1.2rem; }
.desk-opening-agriculture { padding-block-start: .7rem; border-top: 3px double var(--rule); }
.desk-opening-science { padding: 1rem clamp(.8rem, 3vw, 1.5rem); border: 1px solid var(--rule); }
.desk-opening-immigration { border-block-start: 1px solid var(--rule); padding-block-start: 1rem; }
.theme-population .desk-opening-prose > p:first-child { font-family: Georgia, serif; font-size: 1.21em; }
.theme-environment .desk-opening-prose > p:first-child::first-letter { font: 600 2.4em/.7 Georgia, serif; }
.theme-housing .desk-opening-prose > p:first-child { font-size: 1.18em; font-weight: 600; }
.theme-education .desk-opening-prose { border-inline-start: 2px solid var(--rule); padding-inline-start: 1rem; }

/* Browseable editions, registers, and evidence. */
.desk-index { overflow-wrap: anywhere; padding-bottom: clamp(1rem, 4vw, 3rem); }
.desk-index h2 { font-size: clamp(1.15rem, 2.4vw, 1.7rem); line-height: 1.18; }
.desk-index h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.25; }
.desk-index a { text-underline-offset: .16em; }
.desk-index time { font-variant-numeric: tabular-nums; }
.desk-index .edition-index-head { border-block-end: 2px solid var(--accent); }
.desk-index-register .edition-index-head h1 { font-variant-numeric: tabular-nums; }
.desk-index-profiles .edition-index-head,
.desk-index-full .edition-index-head { border-block-end: 0; }
.desk-index-dispatch .edition-index-head { border-block-start: .36rem solid var(--accent); padding-top: 1rem; }
.desk-index-columns > .edition-index-head { text-align: center; border-block: 3px double var(--rule); padding-block: .8rem; }
.desk-index-matrix .edition-index-head { border-inline-start: .27rem solid var(--accent); padding-inline: 1rem; }

.desk-day { margin-block: 1.6rem 2.75rem; }
.desk-day h2 { margin-block: 0 .8rem; }
.desk-day ul { margin: 0; padding: 0; list-style: none; }
.desk-day li { line-height: 1.48; padding-block: .75rem; border-block-end: 1px solid var(--rule); }
.desk-index-dispatch .desk-day { display: grid; grid-template-columns: minmax(0, .33fr) minmax(0, 1fr); gap: .5rem 1.6rem; }
.desk-index-dispatch .desk-day h2 { font-size: 1rem; border-block-start: 1px solid var(--rule); padding-top: .8rem; }
.desk-index-columns .desk-day ul { columns: 2 280px; column-gap: clamp(1.4rem, 5vw, 3rem); column-rule: 1px solid var(--rule); }
.desk-index-columns .desk-day li { break-inside: avoid; }
.desk-index-profiles .desk-day {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 1rem;
}
.desk-index-profiles .desk-day > h2 { grid-column: 1 / -1; }
.desk-index-profiles .desk-day article { border-block-start: .18rem solid var(--accent); padding: 1rem; background: var(--panel); }
.desk-index-profiles .desk-day article h3 { margin-top: 0; }
.desk-index-profiles .desk-day article p { margin-bottom: 0; }
.desk-register th { text-align: start; background: var(--panel); }
.desk-register :is(th, td) { padding: .8rem .9rem; border-bottom: 1px solid var(--rule); }
.desk-register tr td:first-child { white-space: nowrap; }
.theme-transportation .desk-register time,
.theme-government .desk-register time { font: .9rem ui-monospace, monospace; }
.theme-finance .desk-register td:first-child { border-inline-end: 1px dotted var(--rule); }

.desk-chart-index { display: grid; gap: clamp(1rem, 4vw, 2.2rem); }
.desk-chart-index figure { margin: 0; min-width: 0; }
.desk-chart-index figure a { display: block; }
.desk-chart-index img { display: block; width: 100%; height: auto; }
.desk-chart-index h2 { margin: 0 0 .5rem; }
.desk-chart-index p { margin-block: .5rem 0; }
.desk-chart-index span { font-size: .9em; }
.desk-index-full .desk-chart-index > figure { border-bottom: 1px solid var(--rule); padding-bottom: 1.35rem; }
.desk-index-full .desk-chart-index :is(img, figcaption) { max-width: 62rem; }
.desk-index-full .desk-chart-index figcaption { margin-top: 1rem; }
.desk-index-matrix .desk-chart-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.desk-index-matrix .desk-chart-index > figure { background: var(--panel); padding: clamp(.65rem, 2vw, 1.1rem); }
.desk-index-matrix .desk-chart-index figcaption { margin-top: .7rem; }
.desk-chart-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .8fr);
  align-items: center;
  gap: 1rem clamp(1rem, 4vw, 3rem);
  border-block-end: 1px solid var(--rule);
  padding-block: .75rem 1.25rem;
}
.desk-chart-index details { border-block-end: 1px solid var(--rule); padding: .5rem 0 .85rem; }
.desk-chart-index summary { cursor: pointer; font-size: 1.16rem; font-weight: 730; padding-block: .35rem; }
.desk-chart-index details > figure { max-width: 58rem; margin-block-start: 1rem; }
.desk-chart-index details > p { margin-block-start: .85rem; }
.theme-science .desk-index-matrix .desk-chart-index > figure { border: 1px solid var(--rule); }
.theme-energy .desk-index-matrix .desk-chart-index > figure { border-block-start: .25rem solid var(--accent); }
.theme-weather .desk-index-full .desk-chart-index h2 { font-size: 1.25rem; }

.desk-source-index { display: grid; gap: clamp(1rem, 3vw, 1.7rem); }
.desk-index-publisher .desk-source-index { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.desk-source-group { border-block-start: 1px solid var(--rule); padding-block-start: .95rem; }
.desk-source-group h2 { margin: 0 0 .65rem; }
.desk-source-group ul { padding-inline-start: 1.35rem; margin: 0; }
.desk-source-group li { padding-block: .32rem; }
.desk-source-group li span { font-size: .87rem; }
.desk-index-story .desk-source-group { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1fr); gap: .6rem 1.7rem; }
.theme-agriculture .desk-index-publisher .desk-source-group { background: var(--panel); padding: .95rem; }
.theme-science .desk-index-publisher .desk-source-group h2 { font: 650 1.15rem ui-monospace, monospace; }
.theme-government .desk-index-story .desk-source-group ul { list-style: square; }
.theme-housing .desk-index-story .desk-source-group { border-block-start: 3px double var(--rule); }
.theme-education .desk-index-story .desk-source-group h2 { font-family: Georgia, serif; }

@media (max-width: 710px) {
  .desk-index-profiles .desk-day { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .desk-index-dispatch .desk-day,
  .desk-index-matrix .desk-chart-index,
  .desk-chart-row,
  .desk-index-story .desk-source-group,
  .desk-index-publisher .desk-source-index { grid-template-columns: minmax(0, 1fr); }
  .desk-index-dispatch .desk-day h2 { margin: 0; }
  .desk-register :is(th, td) { padding-inline: .45rem; }
  .desk-register tr td:first-child { white-space: normal; }
}



.desk-chart-index > * { min-inline-size: 0; }
.desk-chart-index img { max-inline-size: 100%; }
.edition-story-body .desk-opening summary { cursor: pointer; font-weight: 730; margin-block-end: .8rem; }

.decision-home { padding-block: clamp(1.5rem, 4vw, 3.6rem) 4rem; }
.decision-home :is(h1, h2, h3), .decision-story h1 { overflow-wrap: anywhere; }
.decision-home :is(h1, h2, h3) a { color: inherit; text-decoration: none; }
.decision-home :is(h1, h2, h3) a:is(:hover, :focus-visible) {
  text-decoration: underline;
  text-underline-offset: .15em;
}
.decision-excerpt { margin: .75rem 0; color: var(--muted); }
.decision-figure, .decision-story .edition-hero { inline-size: 100%; min-inline-size: 0; margin: 0; }
.decision-figure img { display: block; inline-size: 100%; block-size: auto; }
.decision-figure figcaption {
  margin-block-start: .5rem;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.decision-story h1 { margin-block-end: .8rem; }
.decision-story .edition-story-body { min-inline-size: 0; font-variant-numeric: tabular-nums; }
.decision-story .edition-story-body table { inline-size: 100%; border-collapse: collapse; }
.decision-story .edition-table:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.decision-story .edition-dek { overflow-wrap: anywhere; }

/* Loan & Ledger */
.finance-front, .decision-story-finance {
  --display-font: "Trebuchet MS", "Segoe UI", sans-serif;
  --register-type: "IBM Plex Mono", Consolas, monospace;
  --finance-rule: #98b5bd;
}
.finance-intro { border-block-end: .3rem double var(--finance-rule); padding-block-end: 1.3rem; }
.finance-intro h1 { max-inline-size: 22ch; font-size: clamp(2.1rem, 4.5vw, 4rem); }
.finance-intro p { margin: .45rem 0 0; max-inline-size: 65ch; }
.finance-ledger, .finance-story-grid {
  display: grid;
  grid-template-columns: minmax(13rem, .72fr) minmax(0, 2fr);
  gap: clamp(1.15rem, 3.5vw, 3.8rem);
  align-items: start;
}
.finance-desk { background: #e0eef0; border-block-end: .23rem solid #7b9da5; }
.finance-desk nav, .finance-file nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  font: 650 .86rem/1.45 var(--register-type);
}
.finance-desk nav a { padding: .75rem 1rem; border-block-end: 1px solid var(--finance-rule); }
.finance-desk .decision-figure, .finance-file .edition-hero { padding: 1rem; }
.finance-entries ol { list-style: none; margin: 0; padding: 0; }
.finance-register-head, .finance-entries li {
  display: grid;
  grid-template-columns: minmax(6.5rem, .55fr) minmax(0, 2fr);
  gap: clamp(.75rem, 2vw, 1.6rem);
  border-block-end: 1px solid var(--finance-rule);
  padding: .75rem 0;
}
.finance-register-head, .finance-entries time {
  color: var(--accent);
  font: 650 .88rem/1.5 var(--register-type);
}
.finance-entries li { padding-block: 1.15rem; }
.finance-entries h2 { font-size: clamp(1.3rem, 2.6vw, 2.05rem); line-height: 1.14; }
.finance-entries .decision-excerpt { margin-block-end: 0; }
.decision-story-finance { width: min(100% - 3rem, 72rem); }
.finance-story-head {
  padding: clamp(1.05rem, 3.25vw, 2.35rem);
  margin-block-end: 1.35rem;
  border-block: .32rem double var(--finance-rule);
  background: #f8fdfe;
}
.finance-story-head h1 { max-inline-size: 29ch; font-size: clamp(2.05rem, 4.5vw, 3.7rem); }
.finance-story-head .edition-story-meta { font: 650 .88rem/1.45 var(--register-type); color: var(--accent); }
.finance-file { border: 1px solid var(--finance-rule); background: #e3f0f2; }
.finance-file nav a { padding: .68rem 1rem; border-block-start: 1px solid var(--finance-rule); }
.finance-story-grid .edition-story-body { max-width: 74ch; margin-inline: 0; font-size: 1.07rem; line-height: 1.64; }
.decision-story-finance .edition-story-body h2 { border-block-end: 1px solid var(--finance-rule); padding-block-end: .38rem; }
.decision-story-finance .edition-chart { display: flex; flex-direction: column; border: 0; padding: 0; background: #f8fdfe; }
.decision-story-finance .edition-chart figcaption {
  order: -1;
  margin: 0;
  padding: .8rem .95rem;
  border-block: 1px solid var(--finance-rule);
  background: #dceef0;
  font-family: var(--register-type);
}
.decision-story-finance .edition-chart img { margin-block: .75rem; }
.decision-story-finance .edition-table tr:nth-child(even) { background: #e5f1f3; }
.decision-story-finance .edition-table thead { color: #f1fbfc; background: #1b454e; }

/* Crop & County */
.harvest-front, .decision-story-agriculture {
  --display-font: "Constantia", "Palatino Linotype", Georgia, serif;
  --harvest-rule: #b99d6e;
  --harvest-dark: #482d22;
  --harvest-text: #fff3d5;
}
.harvest-front { padding-block-start: 0; }
.harvest-cover { background: var(--harvest-dark); color: var(--harvest-text); }
.harvest-cover .decision-figure { max-inline-size: 100rem; margin-inline: auto; }
.harvest-cover .decision-figure img { max-block-size: min(60vw, 31rem); object-fit: cover; }
.harvest-cover figcaption { padding: 0 max(1.5rem, 5vw) .75rem; color: inherit; }
.harvest-cover figcaption a { color: inherit; }
.harvest-lead-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: .5rem clamp(1.5rem, 5vw, 4.75rem);
  align-items: center;
  padding-block: clamp(1.4rem, 4vw, 3.25rem);
}
.harvest-lead-copy h1 { font-size: clamp(2.1rem, 4.1vw, 3.9rem); }
.harvest-lead-copy time { display: block; margin-block-start: .85rem; }
.harvest-lead-copy .decision-excerpt { font: 1.2rem/1.55 var(--display-font); }
.harvest-reports { border-block-start: .32rem double var(--harvest-rule); }
.harvest-reports header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .65rem 1.25rem; margin-block: 1rem; }
.harvest-reports h2 { font-size: clamp(1.6rem, 2.5vw, 2.15rem); }
.harvest-reports nav, .harvest-story-main > nav { display: flex; flex-wrap: wrap; gap: .5rem 1.15rem; }
.harvest-list { display: grid; gap: 1.1rem; }
.harvest-list article {
  display: grid;
  grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr);
  gap: 1rem clamp(1rem, 3vw, 2.25rem);
  align-items: center;
  padding-block-start: 1rem;
  border-block-start: 1px solid var(--harvest-rule);
}
.harvest-list h3 { font-family: var(--display-font); font-size: clamp(1.45rem, 2.5vw, 2.1rem); }
.decision-story-agriculture { width: 100%; padding-block-start: 0; }
.harvest-story-head { background: var(--harvest-dark); color: var(--harvest-text); }
.harvest-story-cover {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.15rem, 4.2vw, 4.25rem);
  padding-block: clamp(1.6rem, 5.25vw, 4.5rem);
}
.harvest-story-cover h1 { font-size: clamp(1.95rem, 4.3vw, 3.9rem); font-weight: 540; }
.harvest-story-cover :is(a, p) { color: inherit; }
.harvest-story-cover a:focus-visible { outline-color: var(--harvest-text); }
.harvest-story-main { padding-block-start: clamp(1.6rem, 5vw, 4.5rem); }
.harvest-story-main .edition-story-body { max-width: 54rem; font: clamp(1.12rem, 1.65vw, 1.33rem)/1.65 var(--display-font); }
.harvest-story-main .edition-story-body :is(h2, h3, p) { max-width: 61ch; }
.harvest-story-main h2 { font-weight: 550; border-block-start: 1px solid var(--harvest-rule); padding-block-start: .5rem; }
.harvest-story-main .edition-chart {
  padding: 0 0 .75rem;
  border: 0;
  border-block-end: .3rem double var(--harvest-rule);
  background: transparent;
}
.harvest-story-main .edition-chart figcaption { color: #604120; font: italic 1rem/1.45 var(--display-font); }
.harvest-story-main .edition-table { border-block: 1px solid var(--harvest-rule); }
.harvest-story-main .edition-table th { background: #eee1b9; color: #523723; }
.harvest-story-main > nav { border-block-start: 1px solid var(--harvest-rule); padding-block-start: 1rem; }

/* Campus & Cost */
.campus-front, .decision-story-education {
  --display-font: "Trebuchet MS", "Segoe UI", sans-serif;
  --campus-border: #cbb4c8;
  --campus-paper: #f9f0e7;
}
.campus-intro {
  max-width: 66rem;
  margin-inline: auto;
  padding: clamp(1.45rem, 5vw, 4rem);
  border: 1px solid var(--campus-border);
  border-radius: 2rem 2rem .4rem .4rem;
  text-align: center;
  background: #efe4ef;
}
.campus-intro h1 { font-size: clamp(2.2rem, 5.2vw, 4.75rem); }
.campus-intro p { max-width: 60ch; margin: .8rem auto 1.4rem; }
.campus-intro nav, .campus-story-head nav { display: flex; flex-wrap: wrap; gap: .65rem; }
.campus-intro nav { justify-content: center; }
.campus-intro nav a, .campus-story-head nav a {
  padding: .55rem .78rem;
  border-radius: .18rem;
  border: 1px solid #a887ac;
  background: #fff9f4;
  font-size: .91rem;
  font-weight: 700;
}
.campus-reading { max-width: 66rem; margin: 2rem auto 0; }
.campus-reading > h2 { margin-block-end: .85rem; font-size: clamp(1.45rem, 2.5vw, 2rem); }
.campus-lead {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 4vw, 3rem);
  padding: clamp(1rem, 3vw, 2rem);
  background: var(--campus-paper);
  border-inline-start: .36rem solid #a06d9d;
}
.campus-lead h3 { font-size: clamp(1.45rem, 3.2vw, 2.55rem); }
.campus-lead img { border-radius: .4rem; }
.campus-comparisons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.campus-comparisons li { background: var(--campus-paper); padding: clamp(1rem, 3vw, 1.65rem); border-block-start: 2px solid #a06d9d; }
.campus-comparisons h3 { font-size: clamp(1.35rem, 2.4vw, 1.95rem); }
.decision-story-education { width: min(100% - 3rem, 76rem); }
.campus-study {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .7fr);
  align-items: start;
  gap: clamp(1rem, 2.8vw, 2.75rem);
}
.campus-story-head {
  padding: clamp(1.15rem, 3.8vw, 2.75rem);
  border-block-start: .65rem solid #68466f;
  background: #efe4ef;
  border-radius: 1rem 1rem .25rem .25rem;
}
.campus-story-head h1 { font-size: clamp(2rem, 4vw, 3.55rem); }
.campus-story-head nav { margin-top: 1.35rem; }
.campus-story-photo { padding: .65rem; border: 1px dashed var(--campus-border); background: #fffaf4; }
.campus-paper {
  max-inline-size: 62rem;
  margin: clamp(1.45rem, 3vw, 2.75rem) auto 0;
  padding: clamp(1rem, 4vw, 3.4rem);
  border: 1px solid var(--campus-border);
  background: #fffefb;
}
.campus-paper .edition-story-body { max-width: 76ch; }
.campus-paper h2 { clear: both; color: #593762; font-size: clamp(1.4rem, 3vw, 2rem); }
.campus-paper .edition-chart { padding: .85rem; border: 0; border-radius: .65rem; background: #f3eaf4; }
.campus-paper .edition-chart figcaption { padding: .25rem .15rem 0; color: #593762; }
.campus-paper .edition-figure-data {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: .65rem 0 0;
  padding: .35rem .6rem;
  border: 1px solid #b493be;
  border-radius: .25rem;
}
.campus-paper .edition-table th { color: #4d2f55; background: #e9dbea; }
.campus-paper .edition-table tr:nth-child(even) td { background: #f7f1f5; }

/* OrbitTally */
.orbit-front, .decision-story-science {
  --display-font: "Century Gothic", "Trebuchet MS", sans-serif;
  --orbit-line: #776294;
  --orbit-console: #241a39;
  --orbit-code: Consolas, "Courier New", monospace;
}
.orbit-cover {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: stretch;
  border: 1px solid var(--orbit-line);
  background: #1c152c;
}
.orbit-view, .orbit-story-view { min-width: 0; min-height: 0; background: #0e0c14; }
.orbit-view img, .orbit-story-view img { display: block; width: 100%; height: auto; }
.orbit-view figcaption, .orbit-story-view figcaption { margin: 0; padding: .7rem .85rem; color: #e7daef; }
.orbit-cover > header { padding: clamp(1rem, 3.5vw, 2.65rem); border-inline-start: 1px solid var(--orbit-line); }
.orbit-cover h1, .orbit-story-copy h1 { font-size: clamp(1.85rem, 4.15vw, 3.7rem); font-weight: 640; }
.orbit-cover .edition-date, .orbit-story-copy .edition-story-meta { display: block; margin: 0 0 .75rem; color: #e1c4ff; font: .9rem/1.45 var(--orbit-code); }
.orbit-read { display: inline-block; margin-block-start: .4rem; font-weight: 750; }
.orbit-plot-preview { grid-column: 1 / -1; border-block-start: 1px solid var(--orbit-line); background: var(--orbit-console); }
.orbit-plot-preview summary { max-width: fit-content; padding: .8rem 1.2rem; font: 650 .93rem/1.5 var(--orbit-code); cursor: pointer; }
.orbit-plot-preview figure { margin: .1rem 1.2rem 1.2rem; max-inline-size: 38rem; }
.orbit-plot-preview img { display: block; inline-size: 100%; block-size: auto; }
.orbit-plot-preview figcaption { margin-block-start: .6rem; }
.orbit-shelf { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 1rem; margin-block-start: 1.2rem; }
.orbit-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.orbit-features li, .orbit-shelf nav { border-block-start: 1px solid var(--orbit-line); padding-block-start: .85rem; }
.orbit-features h2 { font-size: clamp(1.25rem, 2.5vw, 1.85rem); }
.orbit-shelf nav, .orbit-story-main > nav { display: flex; flex-wrap: wrap; align-content: start; gap: .6rem 1.2rem; font-family: var(--orbit-code); }
.decision-story-science { width: 100%; }
.orbit-story-head { border: 1px solid var(--orbit-line); background: var(--orbit-console); }
.orbit-story-view img { max-block-size: clamp(14rem, 33vw, 27rem); object-fit: contain; }
.orbit-story-copy {
  padding: clamp(1rem, 3.5vw, 2.65rem);
  border-block-start: 1px solid var(--orbit-line);
}
.orbit-story-copy h1 { max-inline-size: 27ch; }
.orbit-story-main .edition-story-body { max-width: 52rem; margin-block-start: clamp(1.35rem, 4vw, 3.25rem); }
.orbit-story-main .edition-story-body :is(p, h2, h3) { max-width: 66ch; }
.orbit-story-main .edition-story-body h2 { color: #edceff; font-weight: 635; }
.orbit-story-main .edition-chart {
  margin-block: 2rem 2.6rem;
  padding: 0;
  border: 1px solid var(--orbit-line);
  background: #100d17;
}
.orbit-story-main .edition-chart img { width: calc(100% - 1rem); margin: .5rem; }
.orbit-story-main .edition-chart figcaption { margin: 0; padding: .8rem; border-block-start: 1px solid var(--orbit-line); font-family: var(--orbit-code); }
.orbit-story-main .edition-table { font-family: var(--orbit-code); border: 1px solid var(--orbit-line); }
.orbit-story-main .edition-table thead { background: #402952; color: #f4e4fc; }
.orbit-story-main > nav { padding-block-start: .8rem; border-block-start: 1px solid var(--orbit-line); }

/* Visa & Entry */
.entry-front, .decision-story-immigration {
  --display-font: Georgia, "Palatino Linotype", serif;
  --entry-border: #a87a65;
  --entry-green: #31534a;
}
.entry-front-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, .75fr);
  align-items: center;
  gap: 1rem clamp(1rem, 5vw, 4.25rem);
  padding: clamp(1.15rem, 4vw, 3.2rem);
  border: .32rem double var(--entry-border);
  background: #f3e6d5;
}
.entry-front-heading h1 { max-inline-size: 19ch; font-size: clamp(2.2rem, 4.9vw, 4.4rem); color: #643239; }
.entry-front-heading p { max-inline-size: 48ch; }
.entry-front-heading nav, .entry-story-tabs { display: flex; flex-wrap: wrap; gap: .6rem 1.25rem; }
.entry-front-heading nav a { font-weight: 690; }
.entry-report-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  gap: clamp(.5rem, 2vw, 1.4rem);
  margin-block-start: 1.45rem;
  padding: 0;
}
.entry-report-tabs li { border-block: 1px solid var(--entry-border); padding: 1rem .5rem; }
.entry-report-tabs li + li { border-inline-start: 1px dashed var(--entry-border); padding-inline-start: .9rem; }
.entry-report-tabs h2 { font-size: clamp(1.38rem, 2.45vw, 2rem); }
.entry-report-tabs time { color: var(--entry-green); }
.decision-story-immigration { width: min(100% - 3rem, 76rem); }
.entry-story-head {
  display: grid;
  grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr);
  align-items: center;
  border: 1px solid var(--entry-border);
  background: #f9eddf;
}
.entry-story-photo { background: #eadbca; padding: clamp(.75rem, 2.6vw, 1.55rem); border-inline-end: 1px dashed var(--entry-border); }
.entry-story-photo img { border: .23rem solid #fffaf0; }
.entry-story-copy { padding: clamp(1rem, 3.75vw, 2.8rem); }
.entry-story-copy h1 { font-size: clamp(1.9rem, 4.3vw, 3.75rem); color: #63323a; }
.entry-story-copy .edition-story-meta { color: var(--entry-green); }
.entry-story-tabs {
  margin-block: 1.1rem 2rem;
  padding-block: .55rem;
  border-block: 1px solid var(--entry-border);
}
.entry-story-tabs a { padding: .55rem .6rem; border-inline-start: 2px solid #9b745c; }
.entry-story-main .edition-story-body { max-width: 48rem; }
.entry-story-main .edition-story-body h2 { padding-inline-start: .85rem; border-inline-start: .25rem solid var(--entry-green); }
.entry-story-main .edition-chart {
  border: .28rem double #a3816c;
  padding: 1rem;
  background: #fff9ed;
}
.entry-story-main .edition-chart figcaption { margin-top: .65rem; color: #62463b; font: 1rem/1.5 var(--display-font); }
.entry-story-main .edition-table { border-block-end: 1px solid var(--entry-border); }
.entry-story-main .edition-table thead { background: #e3ece1; color: #29473e; }
.entry-story-main .edition-table tbody td + td { border-inline-start: 1px dashed #b39d8b; }

@media (max-width: 820px) {
  .orbit-shelf { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 690px) {
  .finance-ledger, .finance-story-grid, .harvest-lead-copy, .harvest-story-cover, .campus-study,
  .campus-lead, .orbit-cover, .entry-front-heading, .entry-story-head,
  .entry-report-tabs { grid-template-columns: minmax(0, 1fr); }
  .finance-ledger .finance-desk { order: 2; }
  .finance-desk .decision-figure { inline-size: min(100%, 32rem); }
  .finance-file nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .finance-story-grid .finance-file .edition-hero { inline-size: min(100%, 32rem); }
  .harvest-story-copy { grid-row: 1; }
  .entry-story-copy { grid-row: 1; }
  .orbit-cover > header { border-inline-start: 0; border-block-start: 1px solid var(--orbit-line); }
  .entry-story-photo { border-inline-end: 0; border-block-start: 1px dashed var(--entry-border); }
  .entry-report-tabs li + li { border-inline-start: 0; padding-inline-start: .5rem; }
}
@media (max-width: 470px) {
  .finance-register-head, .finance-entries li, .harvest-list article, .campus-comparisons,
  .orbit-features { grid-template-columns: minmax(0, 1fr); }
  .finance-register-head span:first-child { display: none; }
}

/* Publication archives */
.desk-index .library-table { overflow-x: auto; max-inline-size: 100%; }
.desk-index .library-table table { inline-size: 100%; line-height: 1.38; }
.library-table :is(th, td) { padding: .65rem .72rem; border-block-end: 1px solid var(--rule); text-align: start; vertical-align: top; }
.library-table th a { font-weight: 690; }
.library-table thead th { background: var(--panel); }
.desk-index .library-table :is(th, td) { min-inline-size: 6ch; }
.desk-index-archive-ledger .library-table td:first-child { border-inline-end: 1px dotted var(--rule); }
.desk-index-archive-filings .library-table tbody tr:nth-child(2n),
.desk-index-archive-rates .library-table tbody tr:nth-child(2n) { background: var(--panel); }
.desk-index-archive-observations .library-table time { display: block; font-family: ui-monospace,monospace; }
.desk-index-archive-reference .library-table tbody tr td:last-child { border-inline-start: 2px solid var(--accent); }
.library-day { margin-block: 1.1rem 2.1rem; }
.library-day h2 { margin: 0 0 .4rem; }
.library-day li { padding-block: .5rem; }
.library-day li > a { font-weight: 680; }
.library-day li p { margin-block: .35rem 0; line-height: 1.42; }
.desk-index-archive-timeline .library-day {
  border-inline-start: .22rem solid var(--accent); padding-inline-start: 1rem;
}
.desk-index-archive-timeline .library-day ol { list-style-type: square; }
.desk-index-archive-dispatch .library-day h2 { font-family: ui-monospace,monospace; border-block-start: 1px dashed var(--rule); padding-top: .9rem; }
.desk-index-archive-dispatch .library-day ol { list-style: none; padding-inline: 0; }
.desk-index-archive-edition .library-day ol { columns: 2 17rem; column-gap: 3.2rem; }
.desk-index-archive-edition .library-day li { break-inside: avoid-column; }
.desk-index-archive-bulletins .library-day { background: var(--panel); padding: .9rem 1rem; }
.desk-index-archive-bulletins .library-day ol { list-style: none; padding: 0; }
.library-stories { display: grid; gap: 1.35rem; }
.library-stories article, .library-observer > *, .library-compare > * { min-inline-size: 0; }
.library-stories h2 { margin: 0 0 .5rem; }
.library-photo { margin: 0; min-inline-size: 0; }
.library-photo img { display: block; inline-size: 100%; block-size: auto; }
.library-photo figcaption { font-size: .85rem; line-height: 1.4; margin-block-start: .35rem; }
.desk-index-archive-atlas .library-stories { grid-template-columns: repeat(2,minmax(0,1fr)); }
.desk-index-archive-atlas article { background: var(--panel); padding: 1rem; }
.desk-index-archive-atlas article > div { padding-top: 1rem; }
.desk-index-archive-atlas .library-photo img { aspect-ratio: 8/5; object-fit: cover; }
.desk-index-archive-fieldbook article { border-block-start: 1px solid var(--rule); padding-block-start: .8rem; }
.desk-index-archive-fieldbook article header { margin-block-end: .8rem; }
.desk-index-archive-fieldbook .library-photo { max-inline-size: 52rem; }
.desk-index-archive-market article { display: grid; grid-template-columns: minmax(0,1.28fr) minmax(0,.72fr);
  align-items: start; gap: 1rem 2.25rem; border-block-start: 3px double var(--rule); padding-block-start: 1.35rem; }
.desk-index-archive-market .library-photo img { border-radius: 38% 38% 0 0; }
.library-reading-list { padding: 0; list-style: none; display: grid; gap: 1rem; }
.library-reading-list h2 { margin: 0; }
.library-reading-list li { padding-block-start: .9rem; border-block-start: 1px solid var(--rule); }
.desk-index-archive-subjects .library-reading-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
.desk-index-archive-subjects .library-reading-list li { background: var(--panel); padding: .85rem; }
.desk-index-archive-questions .library-reading-list li { border-inline-start: .25rem solid var(--accent); border-block-start: 0; padding: .7rem 1rem; }
.desk-index-archive-seasons .library-reading-list li { border-block-start: 3px double var(--rule); }

.library-figures { display: grid; gap: 1.5rem; }
.library-exhibit { padding-block: 1.2rem; border-block-start: 1px solid var(--rule); min-inline-size: 0; }
.library-exhibit h2 { margin-block: 0 .8rem; }
.library-exhibit figure { margin: 0; }
.library-exhibit figure img { display: block; max-inline-size: 100%; inline-size: 100%; block-size: auto; }
.library-exhibit figcaption { margin-block: .5rem; font-size: .94rem; line-height: 1.4; }
.library-exhibit summary, .library-source summary { cursor: pointer; font-weight: 720; }
.library-exhibits { margin: .8rem 0 0; padding-inline-start: 1.4rem; overflow-wrap: anywhere; }
.library-exhibits li { padding-block: .5rem; border-block-start: 1px solid var(--rule); }
.library-evidence-actions { display: flex; flex-wrap: wrap; gap: .3rem .85rem; font-size: .87rem; align-items: baseline; }
.library-exhibit > .library-evidence-actions { margin-block-end: .7rem; }
.library-compare { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin-block-end: .9rem; }
.desk-index-charts-sheets .library-compare { grid-template-columns: repeat(3,minmax(0,1fr)); }
.desk-index-charts-sheets .library-compare > div { border-block-end: 1px solid var(--rule); padding-block-end: .6rem; }
.library-observer { display: grid; grid-template-columns: minmax(0,.62fr) minmax(0,1.38fr); gap: 1.35rem; margin-block: .8rem; }
.theme-science .library-observer { grid-template-columns: minmax(0,.9fr) minmax(0,1fr); padding: .8rem; border: 1px solid var(--rule); }
.desk-index-charts-feature .library-figures article:first-child figure { max-inline-size: 62rem; }
.desk-index-charts-docket .library-exhibit { border-inline-start: 2px solid var(--accent); padding-inline: 1rem; }
.desk-index-charts-checklist details { background: var(--panel); padding: .75rem 1rem; margin-block-end: .8rem; }
.desk-index-charts-checklist .library-exhibit figure { max-inline-size: 47rem; }
.desk-index-charts-measures .library-exhibit { display: grid; grid-template-columns:minmax(0,.65fr) minmax(0,1.35fr); gap: .7rem 1.3rem; }
.desk-index-charts-measures .library-exhibit :is(details, .library-evidence-actions) { grid-column: 1/-1; }

.library-records { display: grid; gap: 1.15rem 1.6rem; }
.library-source { border-block-start: 1px solid var(--rule); padding-block-start: .8rem; }
.library-source h2 { margin: 0 0 .8rem; }
.library-source li { padding-block: .25rem; }
.library-source li span { font-size: .85rem; }
.desk-index-sources-agencies .library-records { grid-template-columns: repeat(2,minmax(0,1fr)); }
.desk-index-sources-agencies .library-source { background: var(--panel); padding: .9rem; }
.desk-index-sources-crossref .library-source > ul > li { margin-block: .65rem; }
.desk-index-sources-crossref .library-source > ul > li > a { font-weight: 720; }
.desk-index-sources-crossref .library-source ul ul { margin-block: .2rem .5rem; font-size: .9rem; }
.desk-index-sources-citations .library-source { display: grid; grid-template-columns: minmax(0,.67fr) minmax(0,1fr); gap: 1rem; }
.desk-index-sources-citations .library-source ul { margin: 0; }
.desk-index-sources-origins td ul { margin: 0; padding-inline-start: 1.1rem; }
.desk-index-sources-reports details { margin-block-end: .75rem; border: 1px solid var(--rule); padding: .65rem .9rem; }

@media(max-width:850px) {
  .desk-index-charts-sheets .library-compare { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:620px) {
  .desk-index-archive-atlas .library-stories,
  .desk-index-archive-market article,
  .desk-index-archive-subjects .library-reading-list,
  .desk-index-charts-sheets .library-compare,
  .desk-index-charts-measures .library-exhibit,
  .library-compare, .library-observer, .theme-science .library-observer,
  .desk-index-sources-agencies .library-records,
  .desk-index-sources-citations .library-source { grid-template-columns: minmax(0,1fr); }
  .library-table :is(th, td) { padding-inline: .42rem; }
}

/* Article evidence follows the manuscript but each desk has its own reading plan. */
.edition-story-body > .story-flow { container-type: inline-size; min-inline-size: 0; }
.story-flow > * { min-inline-size: 0; }
.story-flow .flow-chapter { scroll-margin-block-start: 1.25rem; margin-block: clamp(2.3rem, 5cqi, 4.25rem); }
.story-flow .flow-chapter:first-child { margin-block-start: 0; }
.story-flow .flow-chapter > :is(h2, h3, h4, h5, h6) {
  margin: 0 0 .9rem;
  scroll-margin-block-start: 1.25rem;
  text-wrap: pretty;
}
.flow-chapter-copy { min-inline-size: 0; }
.flow-chapter-copy > :last-child { margin-block-end: 0; }
.flow-figure { display: flow-root; min-inline-size: 0; scroll-margin-block-start: 1rem; }
.story-flow :is(.flow-note, .flow-index, .flow-reading-links) { margin-block: 1.35rem; }
.story-flow a:focus-visible, .story-flow summary:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.story-flow :is(.flow-note, .flow-note > summary):target { outline: 2px solid var(--accent); outline-offset: 4px; }
.flow-note { padding: clamp(.95rem, 3cqi, 1.5rem); scroll-margin-block-start: 1.25rem; }
.story-flow .flow-note-label, .story-flow .flow-index > p {
  margin: 0 0 .65rem;
  font-size: .79rem;
  font-weight: 760;
  line-height: 1.3;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.flow-note-text > :last-child, .flow-note-standfirst > :last-child, .flow-note li > :last-child {
  margin-block-end: 0;
}
.flow-index :is(ol, ul), .flow-note-study-cards ul { margin: 0; padding: 0; list-style: none; }
.flow-index :is(li, a) { display: block; }
.flow-index li { min-inline-size: 0; }
.flow-index a, .flow-reading-links a {
  padding-block: .38rem;
  font-size: .95rem;
  font-weight: 650;
  line-height: 1.38;
}
.flow-reading-links { display: flex; gap: .5rem .85rem; flex-wrap: wrap; }
.flow-reading-links a {
  display: inline-block;
  padding: .46rem .72rem;
  border: 1px solid currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: .24em;
}
.flow-evidence-pair { min-inline-size: 0; margin-block: 1.8rem 2.5rem; }
.flow-evidence-pair > :first-child, .flow-evidence-pair .flow-figure:first-child > figure { margin-block-start: 0; }
.flow-evidence-pair > :last-child, .flow-evidence-pair .flow-figure:last-child > figure { margin-block-end: 0; }
.story-flow details > summary { cursor: pointer; font-weight: 720; padding-block: .25rem; }
.story-flow details[open] > summary { margin-block-end: .85rem; }
.flow-reference { border-block-start: 1px solid var(--rule); padding-block-start: 1.15rem; }

/* HazardPrint begins with the main finding, then moves through an event track. */
.flow-note-alert { background: #173d34; color: #f3f6e9; border-inline-start: .35rem solid #ebb95a; }
.flow-note-alert .flow-note-label { color: #ffd986; }
.flow-note-alert > .flow-note-text { font-size: 1.12em; }
.flow-index-waypoints { border-block: 1px solid #89a69d; padding-block: .85rem; }
.flow-index-waypoints ol { display: grid; gap: .2rem 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.flow-index-waypoints a { text-decoration-color: #448475; }
.story-flow-weather > .flow-chapter {
  margin-inline-start: .3rem;
  padding-inline-start: clamp(.9rem, 5cqi, 2.6rem);
  border-inline-start: 2px solid #92b8a8;
  position: relative;
}
.story-flow-weather > .flow-chapter::before {
  content: "";
  position: absolute;
  inset: .35rem auto auto -.43rem;
  inline-size: .73rem;
  aspect-ratio: 1;
  border: 2px solid white;
  border-radius: 50%;
  background: #24664e;
}
.story-flow-weather > .flow-reference::before { inset-block-start: 1.5rem; }
.flow-note-conditions { background: #e2eee6; color: #173c31; border-block: 1px solid #90a295; }

/* CountyShifts is an atlas of comparisons with a field note after its opening. */
.flow-index-profile-links { background: #e9e3f6; color: #36295c; padding: 1rem 1.15rem; }
.flow-index-profile-links ol { display: grid; gap: .2rem .85rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.story-flow-population > .flow-chapter > :is(h2, h3, h4) {
  color: #342660;
  border-block-end: .2rem solid #a99cc9;
  padding-block-end: .45rem;
}
.flow-note-profile { background: #f5f1fb; border: 1px solid #a89ac7; color: #372a59; }
.flow-note-profile .flow-note-text p + p { border-block-start: 1px solid #c8bedc; padding-block-start: .8rem; }

/* Main Street Stats has a standfirst, section rules, and a margin note. */
.story-flow-economy .flow-note-standfirst {
  padding: .95rem 0 1.05rem;
  border-block-end: 4px double #9a7863;
  font: italic clamp(1.18rem, 3cqi, 1.5rem)/1.5 Georgia, serif;
}
.story-flow-economy > .flow-chapter > :is(h2, h3, h4) {
  font-family: Georgia, serif;
  border-block-end: 1px solid #b48970;
  padding-block-end: .55rem;
}
.flow-note-news-note { padding: .95rem 0 .95rem 1.15rem; border-inline-start: .28rem double #99624e; color: #533229; }

/* VoteDocket puts the signed record and its exhibits first. */
.flow-index-exhibits { padding: .9rem 1rem; background: #f0e8ed; color: #44283d; border: 1px solid #b7a0b3; }
.flow-index-exhibits ul { display: grid; gap: .1rem 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11.5rem), 1fr)); }
.flow-index-exhibits li { padding-inline-start: .65rem; border-inline-start: 1px solid #b398ae; }
.story-flow-government > .flow-chapter { margin-block: 2rem; padding-block-start: 1.2rem; border-block-start: 1px solid #a6819e; }
.story-flow-government > .flow-chapter > :is(h2, h3, h4) { font-size: clamp(1.25rem, 3cqi, 1.8rem); color: #573348; }
.story-flow-government .flow-note-disclosure { border: 1px solid #b69cb3; background: #f8f3f6; color: #402a3b; }

/* Grid & Bill reads like an open account. */
.story-flow-energy .flow-chapter { border-block-start: .23rem solid #6f9380; padding-block-start: 1rem; }
.story-flow-energy .flow-chapter > :is(h2, h3, h4) { font-size: clamp(1.2rem, 4cqi, 1.75rem); }
.story-flow-energy .flow-evidence-pair { border-block: 1px dashed #5d836f; padding-block: 1rem; }
.flow-note-meter { background: #d8e8de; color: #223f30; border-block: .2rem double #729783; }
.flow-note-meter .flow-note-text { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); gap: .8rem 1rem; }
.flow-note-meter .flow-note-text p { margin: 0; padding-inline-start: .7rem; border-inline-start: 1px solid #93ad9e; font-size: .92em; }

/* HabitatTally lets the manuscript lead and drops notes through the field log. */
.story-flow-environment > .flow-chapter { margin-block: 2.8rem; }
.story-flow-environment > .flow-chapter > :is(h2, h3, h4) { font-size: clamp(1.65rem, 5cqi, 2.75rem); line-height: 1.05; }
.story-flow-environment .flow-chapter-copy > p { max-inline-size: 59ch; }
.story-flow-environment .flow-figure { margin-block: .35rem 1.05rem; }
.flow-note-field-note { border-inline-start: 3px solid #476b4f; color: #27442f; background: #edf1e4; }
.flow-note-field-context { background: #254438; color: #f8f4df; border-radius: 0 1.5rem 0 0; }

/* BenefitGauge gives readers quick access to the program record and methodology. */
.story-flow-benefits .flow-reading-links a { border-radius: .3rem; color: #3e4325; background: #fbf3d6; }
.story-flow-benefits > .flow-chapter { border-block-start: 1px solid #af9f67; padding-block-start: 1rem; margin-block: 2.6rem; }
.story-flow-benefits > .flow-chapter > :is(h2, h3, h4) { color: #454626; }
.flow-note-program-brief { padding-inline: 1rem; background: #fbf4d7; color: #3e4025; border-block-start: .3rem solid #64723f; }
.flow-note-program-note { border: 1px solid #a69564; border-radius: .55rem; }

/* RouteMeasure follows a dispatch log and leaves the recap at the end. */
.flow-index-route-stops { background: #1d3138; color: #f0f0db; padding: 1rem 1.15rem; }
.flow-index-route-stops ol { display: flex; flex-wrap: wrap; gap: .42rem 1rem; }
.flow-index-route-stops a { color: #ffdf8d; text-decoration-color: #d8b661; }
.story-flow-transportation > .flow-chapter { border-block-end: 1px dashed #667177; padding-block-end: 1.4rem; }
.story-flow-transportation > .flow-chapter > :is(h2, h3, h4) { color: var(--route-amber, #ffd784); }
.flow-note-dispatch { background: #25353c; color: #f6f3db; border-inline-end: .4rem solid #dda844; }

/* Rent & Roof opens as a market feature and runs the qualifications separately. */
.story-flow-housing .flow-note-standfirst {
  padding: .75rem 0 1.1rem;
  border-block-end: 3px double #b28c9f;
  font-size: clamp(1.2rem, 3.5cqi, 1.52rem);
  line-height: 1.43;
}
.story-flow-housing > .flow-chapter > :is(h2, h3, h4) { text-align: start; text-wrap: balance; }
.story-flow-housing .flow-figure {
  background: color-mix(in srgb, var(--panel), transparent 44%);
  margin-block: 1.2rem 1.65rem;
}
.story-flow-housing .flow-figure > figure { margin-block: .6rem; }
.flow-note-market-note { background: #f5e4e7; color: #5d3148; border-block-start: 2px solid #a0617c; }
.flow-note-market-limits { color: #493643; padding-inline-start: 0; border-block: 1px dashed #b78397; }

/* ClinicCount uses a short finding and a separate measures panel. */
.story-flow-health > .flow-chapter {
  padding: clamp(.7rem, 2.8cqi, 1.65rem);
  border-block-start: .25rem solid #9fbecb;
  background: #fcfefe;
  color: #193641;
}
.story-flow-health > .flow-chapter > :is(h2, h3, h4) { text-wrap: balance; }
.flow-note-clinical { background: #dfeef1; color: #1d4357; border-inline-start: .3rem solid #3b728b; }
.flow-note-clinical-context { border: 2px solid #8db2bf; background: #eef9fb; color: #193b4a; }

/* Loan & Ledger puts the exhibit links above the analysis and the note near the sources. */
.flow-index-entries { padding: .85rem 0; border-block: 4px double #7b979c; color: #254950; }
.flow-index-entries a { font-variant-numeric: tabular-nums; }
.story-flow-finance .flow-evidence-pair {
  background: #e9f3f4;
  color: #243e47;
  padding: .85rem;
  border-inline-start: 2px solid #628891;
}
.flow-note-statement { background: #e6f2f3; color: #25404a; border-block: 2px solid #75939a; }

/* Crop & County breaks a long narrative with fold-out survey notes. */
.story-flow-agriculture > .flow-chapter > :is(h2, h3, h4) { border-block-start: 3px double #958068; padding-block-start: .58rem; }
.story-flow-agriculture .flow-chapter-copy > ul { padding-inline-start: 1.25rem; }
.flow-note-folio-note, .flow-note-folio-detail, .flow-note-folio { color: #4f371c; border: 1px solid #b9a470; background: #eee1b9; }
.flow-note-folio { background: #f7eed5; border-inline-width: .35rem 1px; }
.flow-note-folio-detail { border-inline-width: 1px 0; background: transparent; }

/* Campus & Cost is a study guide with short cards and navigable questions. */
.flow-note-study-cards { padding-inline: 0; }
.flow-note-study-cards ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); gap: .7rem; }
.flow-note-study-cards li { background: #ede3f1; border-block-start: 3px solid #92709b; color: #442f49; padding: .95rem; }
.flow-index-questions { border-inline-start: 2px solid #9872a3; padding-inline-start: .85rem; }
.story-flow-education > .flow-chapter > :is(h2, h3, h4) { color: #594261; }
.story-flow-education .flow-reference { background: #f6eef7; padding: 1rem; }

/* OrbitTally puts the instruments in easy reach and prints observations alongside the plots. */
.flow-index-instruments { padding: .9rem 1.05rem; border: 1px solid #78598c; background: #24162e; color: #f7e4ff; }
.flow-index-instruments a { text-decoration-color: #d29cf1; }
.story-flow-science > .flow-chapter { border-block-start: 1px solid #795989; padding-block-start: 1.2rem; }
.story-flow-science .flow-figure { margin-block: .4rem 1.12rem; }
.story-flow-science .flow-figure > figure { box-shadow: 0 0 0 2px #372542; }
.flow-note-observation { border-inline-start: .25rem solid #d297ed; color: #f3dfff; }
.flow-note-observation-log { color: #fcecff; background: #30203b; border-block: 1px solid #875ba0; }

/* Visa & Entry keeps a reader guide available beside the record. */
.story-flow-immigration .flow-note-disclosure { padding: .7rem .85rem; background: #eaf0e6; color: #304b3a; border: 1px solid #9eab99; }
.story-flow-immigration .flow-reference { border-block-start: 3px double #799281; }
.story-flow-immigration .flow-reference .flow-chapter-copy { font-size: .94em; }

@container (width >= 39rem) {
  .story-flow-government > .flow-chapter {
    display: grid;
    grid-template-columns: minmax(0, .29fr) minmax(0, 1fr);
    gap: 1.1rem;
    align-items: start;
  }
  .story-flow-government .flow-chapter-copy { border-inline-start: 1px solid #d2bfcc; padding-inline-start: 1.05rem; }
  .story-flow-government > .flow-chapter > :is(h2, h3, h4) { hyphens: auto; }
  .story-flow-economy > .flow-chapter:not(.flow-reference) > .flow-chapter-copy {
    columns: 2 15.5rem;
    column-gap: 1.4rem;
    column-rule: 1px solid #c5aa93;
  }
  .story-flow-economy .flow-chapter-copy > :is(.flow-figure, .edition-table) { column-span: all; }
  .story-flow-environment > .flow-note-field-note { margin-inline-start: clamp(1rem, 14cqi, 6rem); }
}
@media (forced-colors: active) {
  .story-flow-weather > .flow-chapter::before { background: CanvasText; border-color: Canvas; }
}

/* Reading aids use the scope of the underlying story. */
.flow-index-operating {
  border-block: 2px solid #5c876f;
  background: #e9f2e8;
  color: #244b3a;
  padding: .8rem 1rem;
}
.flow-index-operating ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: .35rem 1rem;
}
.flow-index-operating li { border-inline-start: 2px solid #8eae94; padding-inline-start: .7rem; }
.flow-measure-guide { display: grid; gap: .25rem; margin-block: 0 1.5rem; }
.story-flow-health .flow-measure-guide a {
  display: block;
  padding: .65rem .8rem;
  background: #e2eff3;
  color: #173f53;
  line-height: 1.35;
  border-inline-start: .24rem solid #47738a;
}
.flow-index-profile-links > summary { color: #342660; }
.flow-index-profile-links > nav { border-block-start: 1px solid #b9aacd; }
.flow-index-questions > summary { color: #594261; }
.flow-index-questions li + li { border-block-start: 1px dotted #bb9db2; }

/* On smaller screens, each desk preserves the cues readers use to orient themselves. */
@media (max-width: 640px) {
  .pr-story-weather .pr-weather-story-stage .edition-hero {
    inline-size: min(100%, 28rem);
    padding: .5rem;
    border: 1px solid #819a89;
    background: #152e28;
  }
  .pr-story-weather .pr-weather-story-stage .edition-hero img {
    max-block-size: 13rem;
    object-fit: contain;
  }
  .story-flow-weather .flow-index-waypoints ol {
    grid-template-columns: 1fr;
    border-inline-start: 1px dotted #679b89;
    padding-inline-start: .65rem;
  }
  .story-flow-weather .flow-index-waypoints li + li { margin-block-start: .2rem; }

  .pr-story-population .pr-place-reading .edition-hero {
    padding: .6rem .6rem .75rem;
    background: #fcf8ff;
    border: 1px solid #bba8d7;
    box-shadow: .25rem .3rem 0 #e3d7f2;
  }
  .pr-story-population .pr-place-reading .edition-hero img { border: 0; box-shadow: none; }
  .story-flow-population .flow-note-profile {
    border: double .23rem #a89ac7;
    padding: .85rem .95rem;
    border-radius: .85rem 0 .85rem 0;
  }

  .pr-story-economy .pr-market-story-head { border-block: 5px double #9f745d; }
  .pr-story-economy .pr-market-story-columns .edition-hero {
    inline-size: min(100%, 23rem);
    clip-path: none;
    border-block-end: 1px solid #9f745d;
    padding-block-end: .5rem;
  }
  .story-flow-economy > .flow-chapter:not(.flow-reference) > .flow-chapter-copy > p:first-child::first-letter {
    font-size: 2.75em;
    line-height: .8;
    float: inline-start;
    padding-inline-end: .1em;
    color: #6a3a28;
  }

  .pr-story-government .pr-docket-exhibits nav {
    display: flex;
    flex-wrap: wrap;
    align-content: start;
    gap: .1rem .85rem;
    padding-inline: .65rem;
    border-block: 1px dotted #a7819b;
    background: #f5eaf0;
  }
  .pr-story-government .pr-docket-exhibits nav a { padding-block: .55rem; }
  .story-flow-government .flow-index-exhibits li { border-inline-start: .2rem solid #b294ab; }

  .pr-story-energy .pr-grid-cover .edition-hero {
    inline-size: min(100%, 25rem);
    padding: .65rem;
    border: 1px dashed #688674;
    background: #e1eee3;
  }
  .story-flow-energy .flow-index-operating {
    margin-inline: .35rem;
    border: 1px dashed #5c876f;
  }
  .story-flow-energy > .flow-chapter > :is(h2, h3, h4) { font-variant-numeric: tabular-nums; }

  .habitat-story .habitat-story-canopy .edition-hero img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    max-block-size: 58svh;
  }
  .habitat-story .habitat-story-canopy header { padding-inline: 1.1rem; }
  .story-flow-environment .flow-note-field-note {
    margin-inline: .45rem;
    border-inline-start: 0;
    border-block-start: .23rem solid #5c825f;
    border-radius: 0 1rem 0 0;
  }

  .benefit-story .benefit-story-brief {
    border-block-start: .3rem solid #747d46;
    border-block-end: 0;
  }
  .benefit-story .benefit-story-evidence nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .45rem;
    background: transparent;
    border: 0;
  }
  .benefit-story .benefit-story-evidence nav a {
    display: flex;
    align-items: center;
    min-block-size: 3rem;
    padding: .45rem .55rem;
    line-height: 1.25;
    border: 1px solid #8b905a;
    background: #f6edc9;
  }
  .story-flow-benefits .flow-reading-links { display: grid; grid-template-columns: repeat(2,minmax(0, 1fr)); }
  .story-flow-benefits .flow-reading-links a { text-align: center; }

  .route-story .route-case-record .edition-hero {
    border-inline-start: .24rem solid #dfbd69;
    padding-inline-start: .6rem;
  }
  .story-flow-transportation .flow-index-route-stops ol {
    display: grid;
    gap: 0;
    list-style: decimal;
    padding-inline-start: 1.35rem;
  }
  .story-flow-transportation .flow-index-route-stops li {
    display: list-item;
    padding-inline-start: .3rem;
    border-block-start: 1px dashed #69777a;
  }
  .story-flow-transportation .flow-index-route-stops li::marker { color: #ffdf8d; }

  .housing-story .housing-story-cover .edition-hero { padding-block-start: .4rem; border-block-start: 0; }
  .housing-story .housing-story-cover .edition-hero img {
    border-radius: 48% 48% .15rem .15rem / 26% 26% .15rem .15rem;
  }
  .housing-story .housing-story-cover .edition-hero figcaption {
    padding-block-end: .7rem;
    border-block-end: 3px double #aa849a;
  }
  .story-flow-housing .flow-note-market-note {
    border-block-end: 1px solid #aa849a;
    margin-inline: .3rem;
  }

  .clinic-story .clinic-story-references .edition-hero {
    inline-size: min(100%, 25rem);
    padding: .45rem;
    background: #f5fcfd;
    border: 1px solid #8fb4bd;
    border-inline-start: .32rem solid #6b9ba7;
  }
  .clinic-story .clinic-story-references nav {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem 1rem;
  }
  .story-flow-health .flow-measure-guide a {
    padding-block: .65rem;
    min-block-size: 2.8rem;
    border-block: 1px solid #99b9c7;
    font-weight: 680;
  }

  .decision-story-finance .finance-story-grid .finance-file {
    border: 2px solid #7a99a0;
    border-block-start: .38rem solid #46636d;
  }
  .decision-story-finance .finance-story-grid .finance-file .edition-hero { padding: .6rem; }
  .story-flow-finance .flow-index-entries li {
    border-block-end: 1px solid #b8c5c7;
    font-variant-numeric: tabular-nums;
  }
  .story-flow-finance .flow-index-entries a { padding-block: .65rem; }

  .decision-story-agriculture .harvest-story-cover .edition-hero { border: 4px double #ba9f73; padding: .45rem; }
  .story-flow-agriculture .flow-note-folio-note {
    margin-inline: .3rem;
    border: 0;
    border-block: 4px double #9c805d;
    background: #f4ead2;
  }
  .story-flow-agriculture .flow-note-folio-detail { background: #f1e6c9; }

  .decision-story-education .campus-story-head nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: .4rem;
    margin-block-start: .85rem;
  }
  .decision-story-education .campus-story-head nav a { display: block; text-align: start; padding: .55rem .7rem; }
  .story-flow-education .flow-note-study-cards ul { grid-template-columns: 1fr; gap: .35rem; }
  .story-flow-education .flow-note-study-cards li {
    padding: .85rem;
    margin-inline-start: .35rem;
    border-block-start: 0;
    border-inline-start: .25rem solid #92709b;
    border-radius: 0 .65rem .65rem 0;
  }

  .decision-story-science .orbit-story-view .edition-hero {
    background: #130f21;
    border-block: 1px solid #8466a3;
    padding: .4rem;
  }
  .decision-story-science .orbit-story-view .edition-hero img {
    object-fit: contain;
    max-block-size: min(16rem, 50svh);
  }
  .story-flow-science .flow-index-instruments a { padding-block: .65rem; border-block-end: 1px solid #6d557d; }

  .decision-story-immigration .entry-story-head .edition-hero {
    display: grid;
    gap: .55rem;
    padding: .55rem;
    background: #f8f3e6;
    border-block: 1px solid #9a9a6b;
  }
  .decision-story-immigration .entry-story-head .edition-hero img {
    inline-size: min(100%, 20rem);
    justify-self: center;
  }
  .decision-story-immigration .entry-story-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    max-inline-size: 100%;
    padding-block-end: .4rem;
    scrollbar-width: thin;
  }
  .decision-story-immigration .entry-story-tabs a { flex-shrink: 0; }
}

/* Front pages have different reading orders, even at handset widths. */
.individual-front {
  --front-display: Georgia, serif;
  --front-text: "Segoe UI", sans-serif;
  font-family: var(--front-text);
  overflow-wrap: anywhere;
}
.individual-front :is(h1,h2,h3,p,ul,ol,dl,figure) { margin: 0; }
.individual-front :is(h1,h2,h3) { font-family: var(--front-display); line-height: 1.08; letter-spacing: -.034em; }
.individual-front h1 { font-size: clamp(2rem,4.8vw,5.1rem); text-wrap: balance; }
.individual-front h2 { font-size: clamp(1.55rem,3.2vw,3.35rem); }
.individual-front h3 { font-size: clamp(1.1rem,1.8vw,1.65rem); }
.individual-front :is(h1,h2,h3) a { color: inherit; text-decoration: none; }
.individual-front :is(h1,h2,h3) a:hover { text-decoration: underline; }
.individual-front p { line-height: 1.55; margin-block-start: .62rem; color: inherit; }
.individual-front nav { display: flex; flex-wrap: wrap; gap: .6rem 1.15rem; }
.individual-front img { display: block; max-inline-size: 100%; inline-size: 100%; block-size: auto; }
.individual-front figcaption { font-size: .77rem; line-height: 1.45; margin-block-start: .48rem; color: inherit; }
.individual-front .edition-photo-credit { opacity: .9; }
.individual-front time { display: block; font-size: .78rem; font-weight: 690; color: inherit; }
.individual-front summary { cursor: pointer; }
.individual-front :is(summary,a):focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

/* HazardPrint starts with a terrain report and offers its plot as a disclosure. */
.front-hazard { --front-display: Bahnschrift,"Segoe UI",sans-serif; background: #ecede0; color: #172d2f; }
.hazard-front-heading {
  padding-block: clamp(1rem,3.2vw,2.2rem); display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: end; gap: 1rem 2rem;
}
.hazard-front-heading h1 { font-size: clamp(1.85rem,3.6vw,3.6rem); }
.hazard-front-heading nav a { font-weight: 700; }
.hazard-front-terrain { background: #123c3c; color: #f2f1db; border-block-end: .3rem solid #ffce78; padding-block: .95rem 1.25rem; }
.hazard-front-terrain a { color: #ffdc93; }
.hazard-front-dispatch { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: center; gap: 1rem clamp(1.35rem,4vw,4rem); }
.hazard-front-copy { padding: 1.15rem 0 1rem; }
.hazard-front-copy h2 { font-size: clamp(1.95rem,4.1vw,4.45rem); }
.hazard-front-copy time { color: #ffe1a5; margin-block-end: .8rem; }
.hazard-front-read { display: inline-block; margin-block-start: 1.1rem; border-block-end: 2px solid currentColor; font-weight: 740; }
.hazard-front-photo img { aspect-ratio: 7 / 4; object-fit: cover; border: 1px solid #8caa9f; }
.hazard-front-graphic { border-block-start: 1px solid #89aaa1; padding-block: .75rem .25rem; margin-block-start: 1rem; }
.hazard-front-graphic summary { width: fit-content; font-weight: 710; color: #ffdc93; }
.individual-front .hazard-front-chart { max-width: 45rem; margin-block-start: .75rem; }
.hazard-front-history { padding-block: 1.8rem 3rem; }
.hazard-front-history h2 { font-size: clamp(1.6rem,3.1vw,2.35rem); }
.individual-front .hazard-front-history ol { padding-inline-start: .95rem; margin-block: .9rem; list-style: square; }
.hazard-front-history li { border-block-start: 1px solid #aab7a4; padding: .65rem 0; }
.hazard-front-history li h3 { margin-block-start: .28rem; }
@media (max-width: 650px) {
  .hazard-front-heading nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: 100%; gap: .5rem; }
  .hazard-front-heading nav a { background: #d5ded0; padding: .5rem .6rem; }
  .hazard-front-dispatch { grid-template-columns: 1fr; }
  .hazard-front-copy { border-inline-start: .24rem solid #ffce78; padding: .25rem 0 .5rem .75rem; }
  .hazard-front-copy h2 { font-size: clamp(1.7rem,7vw,2.7rem); }
  .hazard-front-photo { padding-block: .2rem .6rem; }
}

/* CountyShifts gives the lead place a map plate and an index in the margin. */
.front-county { color: #2e244c; background: #eeedf5; }
.county-front-map {
  padding-block: clamp(1.1rem,4vw,3.1rem) 2.6rem; display: grid;
  grid-template-columns: minmax(0,1.65fr) minmax(0,.85fr);
  grid-template-areas: "place finder" "profile finder"; gap: 1.25rem clamp(1rem,4vw,4rem);
}
.county-front-place {
  grid-area: place; padding: .9rem 1rem .7rem; border-block-start: 3px solid #805eb8;
  background: repeating-linear-gradient(0deg,transparent 0 23px,#d9d0ea 24px),#e9e4f6;
}
.county-front-place h1 { font-style: italic; font-weight: 450; font-size: clamp(2.3rem,4.6vw,4.55rem); }
.county-front-place nav { margin-block-start: .78rem; }
.county-front-place nav a { color: #49296e; font-weight: 730; }
.county-front-profile { grid-area: profile; background: #fff; padding: .65rem; box-shadow: 0 0 0 1px #aa96d0; }
.county-front-profile img { aspect-ratio: 19 / 8; object-fit: cover; }
.county-front-label { padding: .9rem .55rem .65rem; }
.county-front-label time { margin-block-start: .48rem; color: #65457f; }
.county-front-aerial figcaption { padding: .3rem .5rem; border-block-end: 1px solid #e1d7f0; }
.county-front-finder { grid-area: finder; border-inline-start: 2px dotted #9c83c7; padding: .8rem .85rem; align-self: start; }
.county-front-finder h2 { font: 710 1.15rem/1.2 "Segoe UI",sans-serif; }
.individual-front .county-front-finder ul { list-style: none; margin-block: .75rem; padding: 0; }
.county-front-finder li { border-block-start: 1px solid #c8b9df; padding: .72rem 0; }
.county-front-finder h3 { font-size: 1.21rem; }
.county-front-finder time { margin-block-start: .28rem; color: #65457f; }
@media (max-width: 690px) {
  .county-front-map { grid-template-columns: 1fr; grid-template-areas: "place" "profile" "finder"; gap: 1.15rem; }
  .county-front-place nav a { padding: .28rem .52rem; background: #f9f6fd; border: 1px solid #b5a3d2; }
  .county-front-profile img { aspect-ratio: 9 / 5; }
  .county-front-finder { border-inline-start: 0; padding-inline: 0; }
  .county-front-finder li { padding-inline-start: .5rem; border-inline-start: 2px solid #ad95d2; }
}

/* Main Street Stats places the lead headline above a full newspaper picture strip. */
.front-economy { color: #2c2422; padding-block: 1.55rem 3rem; }
.economy-front-dateline { border-block-start: 3px double #725547; }
.economy-front-dateline > div { display: flex; gap: .55rem 1rem; justify-content: space-between; align-items: center; border-block-end: 1px solid #ae9180; padding: .53rem 0; }
.economy-front-dateline > div > a { font-size: .79rem; font-weight: 720; color: #733923; }
.individual-front .economy-front-dateline h1 { font-size: clamp(1.55rem,3.2vw,2.95rem); margin-block: .7rem 1rem; font-style: italic; color: #723924; }
.economy-front-headline { padding-block-end: 1.5rem; }
.economy-front-headline h2 { font-size: clamp(2.1rem,5.8vw,5.9rem); font-weight: 830; max-width: 24ch; line-height: .94; text-wrap: balance; }
.individual-front .economy-front-headline p { font: 1.12rem/1.5 Georgia,serif; max-width: 66ch; margin-block: .8rem 1.1rem; }
.economy-front-photo img { max-height: 22rem; aspect-ratio: 3 / 1; object-fit: cover; }
.economy-front-columns { border-block-start: 3px double #725547; padding-block-start: 1.1rem; }
.economy-front-columns > div { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-block: 1rem; }
.economy-front-columns article { border-block-start: 1px solid #ae9180; padding: .65rem .9rem .9rem; }
.economy-front-columns article + article { border-inline-start: 1px solid #ae9180; }
.economy-front-columns article h3 { margin-block-start: .35rem; }
.economy-front-columns nav a { color: #733923; }
@media (max-width: 600px) {
  .front-economy { padding-block-start: .65rem; }
  .economy-front-headline h2 { font-size: clamp(2rem,10vw,3.75rem); text-wrap: pretty; }
  .individual-front .economy-front-headline p { font-size: 1rem; }
  .economy-front-photo img { aspect-ratio: 2.5 / 1; }
  .economy-front-columns > div { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .economy-front-columns article { padding: .65rem .55rem .8rem; }
  .economy-front-columns article + article { border-inline-start: 0; }
  .economy-front-columns article:nth-child(2n) { border-inline-start: 1px solid #ae9180; }
  .economy-front-columns article h3 { font-size: 1.13rem; }
  .economy-front-columns article p { font-size: .87rem; }
}

/* VoteDocket makes the subject drawers the primary document navigation. */
.front-docket { --front-display: Cambria,Georgia,serif; color: #2f2449; padding-block: clamp(1rem,3.1vw,2.6rem) 3.4rem; }
.docket-front-cover { background: #29213b; color: #f3eefa; padding: clamp(1rem,3vw,2.2rem); border-inline-start: .38rem solid #b39bd9; }
.docket-front-cover h1 { font-size: clamp(2.1rem,4vw,4rem); }
.docket-front-desks { display: grid; grid-template-columns: minmax(13rem,.64fr) minmax(0,1.36fr); gap: 1rem 2.4rem; margin-block-start: 1.4rem; }
.docket-front-register { border: 1px solid #ab9abf; align-self: start; padding: .9rem; background: #f1edf8; }
.docket-front-register h2 { font-size: 1.35rem; font-family: "Segoe UI",sans-serif; }
.docket-front-register > div { margin-block: .72rem; }
.docket-front-register details { padding: .5rem 0; border-block-start: 1px solid #b8aaca; }
.docket-front-register summary { font-weight: 700; }
.individual-front .docket-front-register ul { padding: .62rem 0 .3rem 1.45rem; }
.docket-front-register li + li { margin-block-start: .43rem; }
.docket-front-register nav { border-block-start: 1px solid #b8aaca; padding-block-start: .65rem; font-weight: 720; }
.docket-front-filing { border-block-start: .23rem solid #75578f; padding-block-start: .6rem; }
.docket-front-filing time { color: #624779; margin-block-end: .45rem; }
.docket-front-filing h2 { font-size: clamp(1.8rem,4vw,3.8rem); }
.individual-front .docket-front-exhibit { margin-block-start: .85rem; max-width: 42rem; }
.docket-front-exhibit img { aspect-ratio: 15 / 6; object-fit: cover; }
@media (max-width: 680px) {
  .docket-front-desks { display: flex; flex-direction: column; gap: 1.1rem; }
  .docket-front-register > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .3rem .6rem; }
  .docket-front-register details { border: 1px solid #b8aaca; padding: .5rem; min-width: 0; }
  .docket-front-register summary { font-size: .88rem; }
}

/* Grid & Bill uses a statement with compact rate and source tabs. */
.front-grid { --front-display: "Cascadia Mono",Consolas,monospace; color: #16362d; background: #e5eee6; padding-block: 1rem 3rem; }
.grid-front-statement { background: #fafbef; border: 1px solid #8caa95; box-shadow: .26rem .32rem 0 #c5d8c8; }
.grid-front-description { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,.85fr); align-items: center; gap: .7rem 1.5rem; padding: clamp(.9rem,2vw,1.5rem); }
.grid-front-description h1 { font-weight: 700; font-size: clamp(1.45rem,3.6vw,3.65rem); text-wrap: pretty; }
.individual-front .grid-front-description p { margin: 0; }
.grid-front-tabs { padding: .6rem clamp(.75rem,2vw,1.4rem); border-block: 1px dashed #789586; background: #cde3d2; }
.grid-front-tabs a { font-weight: 730; }
.grid-front-current { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: .9rem 1.6rem; padding: clamp(.85rem,2.5vw,2rem); }
.grid-front-current header > span { display: block; font-size: .8rem; font-weight: 730; color: #486950; }
.grid-front-current header time { margin-block: .38rem; }
.grid-front-current h2 { font-family: "Segoe UI",sans-serif; font-size: clamp(1.5rem,3vw,3.15rem); font-weight: 760; }
.grid-front-photo { align-self: start; }
.grid-front-photo img { aspect-ratio: 7 / 4; object-fit: cover; }
.grid-front-detail { border-block-start: 1px dashed #789586; padding: .9rem 1.2rem 1.05rem; }
.grid-front-detail h2 { font-size: 1.1rem; }
.individual-front .grid-front-detail ol { list-style: none; padding: 0; margin-block-start: .55rem; }
.grid-front-detail li { display: grid; grid-template-columns: 9rem 1fr; gap: .5rem; border-block-start: 1px solid #c8d8ca; padding-block: .55rem; }
.grid-front-detail li h3 { font-size: 1.05rem; font-family: "Segoe UI",sans-serif; }
@media (max-width: 650px) {
  .grid-front-description { grid-template-columns: 1fr; }
  .individual-front .grid-front-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .35rem; }
  .grid-front-tabs a { text-align: center; padding: .26rem; font-size: .83rem; }
  .grid-front-current { grid-template-columns: 1fr; }
  .grid-front-photo img { aspect-ratio: 2.9 / 1; }
  .grid-front-detail li { grid-template-columns: minmax(0,.6fr) minmax(0,1.45fr); }
}

/* HabitatTally moves from a field photograph into the notebook. */
.front-habitat { --front-display: "Palatino Linotype",Georgia,serif; background: #f3eee5; color: #2c3b32; }
.habitat-front-cover { background: #263b2d; color: #f1ead6; border-block-end: .5rem solid #9d8757; }
.habitat-front-band { display: grid; grid-template-columns: minmax(0,.67fr) minmax(0,1.33fr); gap: 1rem 3rem; align-items: center; padding-block: clamp(1rem,3vw,2.35rem); }
.habitat-front-band h1 { font-weight: 465; line-height: .98; font-size: clamp(2.2rem,5vw,5.5rem); }
.habitat-front-band header a { display: inline-block; margin-block-start: 1rem; font-weight: 680; }
.habitat-front-band a { color: #f1d595; }
.habitat-front-band img { aspect-ratio: 16 / 7; object-fit: cover; border: 1px solid #aaa17b; }
.habitat-front-reading { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); gap: 1rem clamp(1.2rem,4vw,3.5rem); padding-block: 1.4rem 3rem; }
.habitat-front-current { padding: 1rem; border-inline-start: .45rem solid #8e7751; background: #eae2cd; align-self: start; }
.habitat-front-current time { margin-block-end: .7rem; }
.habitat-front-current h2 { font-size: clamp(1.9rem,4.3vw,4.2rem); font-weight: 570; }
.habitat-front-notes h2 { font-size: clamp(1.45rem,3vw,2.5rem); }
.individual-front .habitat-front-notes ol { list-style: none; padding: 0; margin-block: .7rem 1rem; }
.habitat-front-notes li { border-block-start: 1px dashed #8d9177; padding-block: .65rem; }
.habitat-front-notes h3 { margin-block-start: .3rem; font-weight: 560; font-size: clamp(1.1rem,2vw,1.65rem); }
@media (max-width: 680px) {
  .habitat-front-band { grid-template-columns: 1fr; }
  .habitat-front-band img { aspect-ratio: 2 / 1; }
  .habitat-front-band h1 { font-size: clamp(2.3rem,9vw,3.5rem); }
  .habitat-front-reading { grid-template-columns: 1fr; }
  .habitat-front-current { padding: .85rem .8rem; }
}

/* BenefitGauge starts with a program directory. */
.front-benefit { --front-display: "Trebuchet MS","Segoe UI",sans-serif; color: #382c11; background: #f9f2d9; }
.benefit-front-programs { padding-block: clamp(1.3rem,4.5vw,3.2rem) 1.5rem; }
.benefit-front-programs header { border-inline-start: .55rem solid #d69418; padding-inline-start: .9rem; }
.benefit-front-programs h1 { font-size: clamp(2rem,4.75vw,4.85rem); text-wrap: pretty; }
.benefit-front-programs nav { display: grid; gap: .65rem; margin-block-start: 1.2rem; }
.benefit-front-programs nav ul {
  list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .7rem;
}
.benefit-front-programs nav li { display: flex; min-width: 0; }
.benefit-front-programs nav li a {
  display: flex; flex-direction: column; border-block-start: .25rem solid #986947; padding: .78rem;
  text-decoration: none; color: #382c11; background: #eee3b5; width: 100%;
}
.benefit-front-programs nav li a:hover span { text-decoration: underline; }
.benefit-front-programs li strong { font-family: var(--front-display); font-size: 1.13rem; line-height: 1.25; }
.benefit-front-programs li span { margin-block-start: .45rem; display: block; font-size: .88rem; line-height: 1.38; }
.benefit-front-programs nav > a { color: #654927; }
.benefit-front-news { background: #fef9e5; border-block: 1px solid #ad884b; }
.benefit-front-latest { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr); gap: .85rem clamp(1rem,3vw,2.5rem); padding-block: clamp(1rem,4vw,2.8rem); align-items: start; }
.benefit-front-latest h2 { margin-block-start: .45rem; font-size: clamp(1.5rem,3.7vw,3.65rem); }
.benefit-front-latest header > a { display: inline-block; margin-top: .65rem; color: #60481d; }
.benefit-front-latest img { aspect-ratio: 7 / 4; object-fit: cover; }
@media (max-width: 620px) {
  .benefit-front-programs nav ul { grid-template-columns: 1fr; gap: .25rem; }
  .benefit-front-programs nav li a {
    display: grid; grid-template-columns: minmax(0,.66fr) minmax(0,1.34fr); align-items: start;
    gap: .55rem; border: 0; border-inline-start: .3rem solid #8f623f;
  }
  .benefit-front-programs li span { margin: 0; }
  .benefit-front-latest { grid-template-columns: 1fr; }
  .benefit-front-latest img { aspect-ratio: 2.35 / 1; }
}

/* RouteMeasure prioritizes the dispatch board before the event photograph. */
.front-transit { --front-display: Bahnschrift,"Segoe UI",sans-serif; background: #17222c; color: #e9f0ee; padding-block: 1.4rem 2.7rem; }
.front-transit a { color: #f5d690; }
.route-front-banner { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .6rem 1rem; margin-block-end: 1.15rem; }
.route-front-banner h1 { color: #ffe09b; text-transform: uppercase; font-size: clamp(2rem,5.6vw,4.85rem); font-weight: 720; }
.route-front-banner > a { font: 700 .88rem/1.4 "Cascadia Mono",Consolas,monospace; }
.route-front-legend, .route-front-board article {
  display: grid; grid-template-columns: minmax(7rem,.34fr) minmax(7rem,.31fr) minmax(0,1.35fr); gap: .7rem;
}
.route-front-legend { background: #ffdc88; color: #2a2821; font-size: .78rem; font-weight: 800; padding: .48rem .65rem; }
.individual-front .route-front-board ol { list-style: none; padding: 0; margin: 0 0 .8rem; }
.route-front-board article { padding: .77rem .65rem; border-block-end: 1px solid #6b7a81; align-items: start; }
.route-front-mode, .route-front-time { font-family: "Cascadia Mono",Consolas,monospace; font-size: .82rem; }
.route-front-mode { color: #ffe09b; }
.route-front-report h2 { font-size: clamp(1.12rem,2.1vw,1.85rem); letter-spacing: -.015em; }
.route-front-context { margin-block-start: 1.15rem; max-width: 41rem; border: 1px solid #88969c; padding: .6rem; }
.route-front-context img { aspect-ratio: 3 / 1; object-fit: cover; }
@media (max-width: 610px) {
  .route-front-legend { display: none; }
  .route-front-board article { grid-template-columns: minmax(0,1fr) auto; gap: .35rem; padding-inline: .52rem; border-inline-start: .23rem solid #ffdc88; }
  .route-front-report { grid-column: 1 / -1; }
  .route-front-mode, .route-front-time { font-size: .74rem; }
  .route-front-board li + li article { margin-block-start: .42rem; }
  .route-front-context img { aspect-ratio: 16 / 7; }
}

/* Rent & Roof opens with a large photograph and a market reading. */
.front-housing { --front-display: Baskerville,Georgia,serif; color: #42252b; padding-block: 1.15rem 3rem; }
.housing-front-spread { border-block: 1px solid #a57780; padding: .8rem .1rem .9rem; }
.housing-front-spread h1 { font-size: clamp(1.95rem,4.4vw,4.55rem); font-weight: 490; letter-spacing: -.05em; }
.housing-front-spread > a { display: inline-block; margin-block-start: .54rem; font-size: .88rem; font-weight: 690; }
.housing-front-feature { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); gap: clamp(.95rem,3vw,2.8rem); align-items: center; padding-block: 1.35rem; }
.housing-front-feature img { aspect-ratio: 8 / 5; object-fit: cover; border-start-start-radius: 36%; }
.housing-front-feature time { color: #82485a; margin-block-end: .55rem; }
.housing-front-feature h2 { font-size: clamp(1.65rem,3.6vw,3.65rem); font-weight: 510; }
.housing-front-shelf { border-block-start: .28rem double #a57780; padding-block-start: 1rem; }
.housing-front-shelf header { display: flex; flex-wrap: wrap; gap: .45rem 1.25rem; justify-content: space-between; align-items: baseline; }
.housing-front-shelf header > h2 { font-weight: 520; font-size: clamp(1.5rem,3vw,2.45rem); }
.housing-front-shelf article { display: grid; grid-template-columns: minmax(0,.6fr) minmax(0,1.4fr); gap: .75rem; background: #f2e3df; padding: .85rem; margin-block-start: .8rem; }
.housing-front-shelf article img { aspect-ratio: 9 / 5; object-fit: cover; }
.housing-front-shelf article h3 { margin-block-start: .4rem; font-size: clamp(1.14rem,2.3vw,1.95rem); font-weight: 550; }
@media (max-width: 640px) {
  .housing-front-feature { grid-template-columns: 1fr; }
  .housing-front-feature img { border-start-start-radius: 35%; aspect-ratio: 9 / 5; }
  .housing-front-feature h2 { font-size: clamp(1.8rem,7.5vw,2.85rem); }
  .housing-front-shelf article img { aspect-ratio: 1 / 1; }
}

/* ClinicCount opens a written brief with an optional measurement exhibit. */
.front-clinic { --front-display: "Segoe UI",sans-serif; color: #173044; background: #f1f6f7; }
.clinic-front-band { padding-block: 1.2rem; border-block-end: .18rem solid #8d3a42; background: #d3e4ed; }
.clinic-front-band h1 { font-size: clamp(1.65rem,4.25vw,4.1rem); }
.clinic-front-fold { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,.7fr); gap: .85rem 1.2rem; padding-block: 1.35rem 3rem; }
.clinic-front-brief { background: #fff; padding: clamp(.9rem,2.2vw,1.8rem); align-self: start; border-block-start: .29rem solid #537f93; }
.clinic-front-brief h2 { margin-block-start: .52rem; font-size: clamp(1.65rem,3.9vw,3.85rem); font-weight: 760; }
.clinic-front-evidence { border: 1px solid #9eb7c5; background: #e9f2f5; margin-block-start: .8rem; padding: .6rem .75rem; }
.clinic-front-evidence summary { font-weight: 725; }
.individual-front .clinic-front-evidence[open] figure { margin-block-start: .75rem; }
.clinic-front-resources { padding: .8rem; border: 1px solid #a1b8c4; align-self: start; }
.clinic-front-resources nav { margin-block-end: .85rem; font-weight: 700; }
.clinic-front-resources img { aspect-ratio: 13 / 7; object-fit: cover; }
.clinic-front-resources section { border-block-start: 1px solid #b5c7cf; margin-block-start: .7rem; padding-block-start: .75rem; }
.clinic-front-resources section h2 { font-size: 1.12rem; }
.individual-front .clinic-front-resources ul { list-style: square; padding-inline-start: 1rem; margin-block: .55rem; }
.clinic-front-resources li h3 { font-size: 1.04rem; line-height: 1.35; }
@media (max-width: 630px) {
  .clinic-front-fold { grid-template-columns: 1fr; }
  .clinic-front-evidence summary { padding: .4rem .05rem; }
  .individual-front .clinic-front-resources nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .clinic-front-resources nav a { background: #d3e4ed; padding: .45rem .5rem; }
  .clinic-front-resources img { aspect-ratio: 18 / 5; }
}

/* Loan & Ledger posts an entry above its classified ledger. */
.front-finance { --front-display: Cambria,Georgia,serif; color: #17353d; padding-block: 1.2rem 3.2rem; }
.finance-front-record { background: #102b36; color: #e9f5f3; padding: clamp(1rem,2.7vw,2rem); border-inline-start: .42rem solid #8cd1b7; }
.finance-front-record h1 { font-size: clamp(2rem,4.8vw,4.7rem); }
.finance-front-record nav { border-block-start: 1px dotted #a5c6c6; margin-block-start: .8rem; padding-block-start: .68rem; }
.finance-front-record a { color: #c2edda; font-family: "Cascadia Mono",Consolas,monospace; font-size: .87rem; }
.finance-front-entry { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,.65fr); gap: 1rem 1.85rem; background: #edf5f3; padding: 1.2rem; border-block-end: 1px solid #75928f; }
.finance-front-entry h2 { margin-block-start: .45rem; }
.finance-front-entry img { aspect-ratio: 10 / 6; object-fit: cover; border: 1px solid #8ca6a2; }
.finance-front-ledger { border-block-start: 3px double #668a87; padding-block-start: .78rem; margin-block-start: 1.5rem; }
.finance-front-ledger h2 { font-size: clamp(1.55rem,3vw,2.2rem); }
.individual-front .finance-front-ledger dl { margin: .6rem 0; }
.finance-front-ledger dl > div { display: grid; grid-template-columns: minmax(6rem,.4fr) minmax(0,1.6fr); gap: .8rem; padding: .55rem 0; border-block-start: 1px dotted #8aa8a1; }
.finance-front-ledger dt { font: 650 .88rem/1.4 "Cascadia Mono",Consolas,monospace; }
.finance-front-ledger dd { margin: 0; }
.individual-front .finance-front-ledger ul { list-style: none; padding: 0; }
.finance-front-ledger li a { font-weight: 700; }
.finance-front-ledger li + li { margin-top: .55rem; }
@media (max-width: 640px) {
  .finance-front-entry { grid-template-columns: 1fr; padding: .85rem; }
  .finance-front-entry img { aspect-ratio: 20 / 6; }
  .finance-front-ledger dl > div { grid-template-columns: 1fr; gap: .28rem; }
  .finance-front-ledger dt { border-inline-start: .16rem solid #6b9b91; padding-inline-start: .45rem; }
}

/* Crop & County indexes its almanac as a printed grain and market bulletin. */
.front-farm { --front-display: "Palatino Linotype",Palatino,Georgia,serif; background: #f5e7bd; color: #402916; }
.farm-front-mast { background: #e7cd8d; border-block-end: .41rem double #7e5838; }
.farm-front-mast > div { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .65rem 1.6rem; padding-block: 1rem; }
.farm-front-mast h1 { font-size: clamp(1.95rem,4.45vw,4.7rem); font-weight: 520; }
.farm-front-mast a { font-weight: 680; }
.farm-front-spread {
  display: grid; grid-template-areas: "heading plate" "summary plate";
  grid-template-columns: minmax(0,1.4fr) minmax(0,.6fr);
  gap: .55rem clamp(.75rem,3vw,2.6rem); align-items: start; padding-block: 1.35rem 1.65rem;
}
.farm-front-clipping { grid-area: heading; border-inline-start: .29rem solid #8e603c; padding-inline-start: .8rem; }
.farm-front-clipping time { color: #714829; margin-block-end: .5rem; }
.farm-front-clipping h2 { font-size: clamp(1.5rem,3.8vw,3.95rem); font-weight: 580; }
.farm-front-spread > figure { grid-area: plate; border: 1px solid #af9060; padding: .38rem; background: #f9efd3; }
.farm-front-spread img { aspect-ratio: 5 / 3; object-fit: cover; }
.farm-front-summary { grid-area: summary; padding-inline-start: 1.1rem; max-width: 56ch; }
.individual-front .farm-front-summary p { margin-block-start: 0; }
.farm-front-index { border-block-start: .28rem double #845e3e; padding-block: 1rem 3.25rem; display: grid; grid-template-columns: minmax(0,.65fr) minmax(0,1.35fr); gap: .8rem 1.35rem; }
.farm-front-index h2 { font-size: clamp(1.5rem,3.1vw,2.8rem); font-weight: 560; }
.farm-front-index nav { margin-block-start: .65rem; }
.individual-front .farm-front-index ol { list-style: none; padding: 0; }
.farm-front-index li { border-block-start: 1px dashed #9e794f; padding: .68rem .65rem; }
.farm-front-index li:nth-child(even) { background: #e8d6a1; }
.farm-front-index h3 { margin-block-start: .33rem; font-weight: 570; }
@media (max-width: 640px) {
  .farm-front-spread { grid-template-areas: "heading plate" "summary summary"; grid-template-columns: minmax(0,1fr) minmax(6rem,.54fr); }
  .farm-front-clipping h2 { font-size: clamp(1.34rem,6.5vw,2.55rem); }
  .farm-front-spread img { aspect-ratio: 5 / 4; }
  .farm-front-spread figcaption, .farm-front-spread figcaption span { font-size: .69rem; line-height: 1.27; }
  .farm-front-index { grid-template-columns: 1fr; }
  .farm-front-index li { border-inline-start: .3rem solid #916743; }
}

/* Campus & Cost has a ruled study spread and a reading list. */
.front-campus { --front-display: "Trebuchet MS","Segoe UI",sans-serif; color: #43284d; padding-block: 1.05rem 3.1rem; }
.campus-front-heading { padding: 1.15rem; border-inline-start: .45rem solid #8a5d9d; background: #e8dfec; }
.campus-front-heading h1 { font-size: clamp(1.85rem,4.6vw,4.65rem); text-wrap: pretty; }
.campus-front-heading nav { margin-block-start: .72rem; font-weight: 710; }
.campus-front-heading nav a { text-decoration-thickness: .13em; }
.campus-front-workbook {
  padding: clamp(.8rem,2.2vw,1.55rem); margin-block-start: 1.2rem;
  display: grid; grid-template-columns: minmax(0,1.48fr) minmax(0,.72fr); gap: 1rem 1.2rem;
  border: 1px solid #ba9fc2; background: repeating-linear-gradient(#fffaf2 0 29px,#e5daec 30px,#fffaf2 31px);
}
.campus-front-current, .campus-front-problems { background: #fffaf3; border: 1px solid #a980b4; padding: .85rem; align-self: start; }
.campus-front-current h2 { font-size: clamp(1.55rem,3.5vw,3.25rem); margin-block-start: .48rem; }
.individual-front .campus-front-current figure { margin-block-start: .85rem; }
.campus-front-current img { aspect-ratio: 15 / 6; object-fit: cover; }
.campus-front-problems h2 { font-size: 1.2rem; }
.individual-front .campus-front-problems ul { list-style: none; padding: 0; margin-block: .65rem; }
.campus-front-problems li { border-block-start: 1px solid #c9b6ce; padding: .45rem 0 .55rem; }
.campus-front-problems h3 { font-size: 1.08rem; line-height: 1.28; }
.campus-front-problems time { margin-block-start: .32rem; }
@media (max-width: 655px) {
  .campus-front-workbook { grid-template-columns: 1fr; padding: .55rem; }
  .individual-front .campus-front-heading nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .55rem; }
  .campus-front-heading nav a { font-size: .88rem; border-block-end: 1px solid #a37dab; padding: .23rem 0; }
  .campus-front-current img { aspect-ratio: 19 / 7; }
}

/* OrbitTally frames the newest photograph and plot as separate observations. */
.front-observatory { --front-display: "Segoe UI",sans-serif; color: #f0ecff; background: #17152b; }
.front-observatory a { color: #d2d6ff; }
.orbit-front-instrument { padding-block: clamp(.75rem,2.4vw,1.9rem); background: #0b0d1b; border-block-end: 1px solid #57528b; }
.orbit-front-reading { display: grid; grid-template-columns: 1fr minmax(14rem,.59fr); grid-template-areas: "headline headline" "image plot"; gap: .9rem 1.25rem; align-items: start; }
.orbit-front-reading > header { grid-area: headline; max-width: 75rem; border-block-end: 1px solid #554e7d; padding: .3rem 0 .85rem; }
.orbit-front-reading time { color: #b7b8e2; margin-block-end: .5rem; font-family: "Cascadia Mono",Consolas,monospace; }
.orbit-front-reading h1 { font-size: clamp(1.9rem,5.3vw,5.1rem); font-weight: 650; }
.orbit-front-reading > .decision-figure { grid-area: image; padding: .5rem; border: 1px solid #686496; }
.orbit-front-reading > .decision-figure img { aspect-ratio: 18 / 8; object-fit: contain; background: #10101c; }
.orbit-front-plot { grid-area: plot; border: 1px solid #7772a5; padding: .6rem; font-family: "Cascadia Mono",Consolas,monospace; }
.orbit-front-plot summary { color: #e3dcff; font-weight: 690; }
.individual-front .orbit-front-plot figure { margin-top: .6rem; }
.orbit-front-index { padding-block: 1.2rem 2.75rem; }
.orbit-front-index h2 { font-size: clamp(1.38rem,3.2vw,2.45rem); }
.individual-front .orbit-front-index ul { list-style: none; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; margin-block: .65rem; padding: 0; }
.orbit-front-index li { border-block-start: 1px solid #6a6597; padding-block: .7rem; }
.orbit-front-index h3 { margin-block-start: .36rem; font-weight: 625; }
@media (max-width: 650px) {
  .orbit-front-reading { grid-template-columns: 1fr; grid-template-areas: "image" "headline" "plot"; }
  .orbit-front-reading > .decision-figure img { aspect-ratio: 9 / 5; }
  .orbit-front-reading h1 { font-size: clamp(1.9rem,7.8vw,3.23rem); }
  .individual-front .orbit-front-index ul { grid-template-columns: 1fr; }
}

/* Visa & Entry uses document drawers next to the newest official count. */
.front-entry { --front-display: Cambria,Georgia,serif; color: #3d2a34; padding-block: 1.1rem 3.2rem; }
.entry-front-counter { border: 2px solid #96735f; border-block-start: .4rem solid #6b3b53; background: #f6ebd2; padding: clamp(.85rem,2.5vw,1.75rem); }
.entry-front-counter h1 { font-size: clamp(1.83rem,4.65vw,4.65rem); font-weight: 600; }
.entry-front-counter nav { margin-block-start: .62rem; }
.entry-front-counter nav a { color: #513c50; font-weight: 690; }
.entry-front-files { display: grid; grid-template-columns: minmax(0,1.22fr) minmax(0,.78fr); gap: 1rem 1.55rem; margin-block-start: 1.1rem; }
.entry-front-document { background: #f7eddb; border: 1px solid #b89c84; padding: .75rem; align-self: start; }
.entry-front-document img { aspect-ratio: 21 / 8; object-fit: cover; }
.entry-front-document > div { padding: .45rem .4rem .55rem; }
.entry-front-document h2 { margin-top: .45rem; font-weight: 590; }
.entry-front-drawers { padding: .75rem 0; align-self: start; }
.entry-front-drawers h2 { font-size: clamp(1.34rem,2.75vw,2.05rem); }
.entry-front-drawers details { border: 1px solid #bca48c; margin-block-start: .57rem; background: #f1e6d1; }
.entry-front-drawers summary { padding: .5rem .6rem; color: #563145; font-weight: 730; }
.entry-front-drawers details[open] summary { border-block-end: 1px dashed #bca48c; }
.individual-front .entry-front-drawers ul { padding: .55rem .7rem .62rem 1.62rem; }
.entry-front-drawers h3 { font-size: 1.03rem; line-height: 1.32; }
.entry-front-drawers li + li { margin-block-start: .4rem; }
.entry-front-drawers > a { display: inline-block; margin-block-start: .7rem; font-weight: 670; }
@media (max-width: 650px) {
  .entry-front-files { grid-template-columns: 1fr; }
  .entry-front-drawers { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .35rem; }
  .entry-front-drawers > :is(h2,details[open],a) { grid-column: 1 / -1; }
  .entry-front-drawers details { margin-block-start: 0; }
  .entry-front-document img { aspect-ratio: 15 / 6; }
}


@media (max-width: 420px) {
  .farm-front-spread { grid-template: "heading" "plate" "summary" / minmax(0, 1fr); }
  .farm-front-spread > figure { display: grid; grid-template-columns: minmax(4rem, .65fr) minmax(0, 1.35fr);
    gap: .5rem; align-items: start; }
  .farm-front-spread > figure figcaption { margin-block-start: 0; }
}

/* Evidence tools work against the visible document and preserve the archive without JavaScript. */
.edition-index [hidden], .edition-chart [hidden] { display: none !important; }
.library-controls {
  --tool-paper: var(--panel);
  --tool-ink: var(--ink);
  --tool-rule: var(--rule);
  --tool-focus: var(--accent);
  display: grid;
  grid-template-columns: minmax(12rem, 1.65fr) minmax(9rem, 1fr) minmax(9rem, 1fr) auto;
  align-items: end;
  gap: .7rem 1.1rem;
  color: var(--tool-ink);
  background: var(--tool-paper);
  margin-block: .9rem 2rem;
  padding: clamp(.85rem, 2.5vw, 1.25rem);
  border: 1px solid var(--tool-rule);
}
.library-controls > * { min-inline-size: 0; }
.library-query { display: grid; gap: .35rem; }
.library-query > label, .library-select, .library-topics legend { font-weight: 720; font-size: .91rem; line-height: 1.3; }
.library-query input, .library-select select, .chart-reader-tools input {
  inline-size: 100%;
  min-inline-size: 0;
  min-block-size: 2.75rem;
  padding: .55rem .6rem;
  border: 1px solid var(--tool-ink, var(--rule));
  border-radius: 0;
  color: var(--tool-ink, var(--ink));
  background: var(--tool-input, var(--paper));
  font: inherit;
}
.library-query input::placeholder, .chart-reader input::placeholder {
  color: var(--tool-ink, var(--ink)); opacity: .72;
}
.library-select { display: grid; gap: .35rem; }
.library-select select { font-size: .91rem; font-weight: 550; }
.library-topics { padding: 0; margin: 0; border: 0; min-inline-size: 0; }
.library-topics legend { padding: 0; margin-block-end: .35rem; }
.library-topics > div { display: flex; flex-wrap: wrap; gap: .35rem; }
.library-controls button, .chart-reader button {
  min-block-size: 2.75rem;
  padding: .45rem .7rem;
  color: inherit;
  border: 1px solid var(--tool-rule, var(--rule));
  border-radius: 0;
  background: transparent;
  font: inherit; font-size: .86rem; font-weight: 650; line-height: 1.25;
  cursor: pointer;
}
.library-controls button[aria-pressed="true"] {
  background: var(--tool-ink);
  color: var(--tool-paper);
  border-color: var(--tool-ink);
}
.library-controls button:hover, .chart-reader button:hover { text-decoration: underline; }
.library-controls :focus-visible, .chart-reader :focus-visible, .exhibit-thumbnail:focus-visible {
  outline: 2px solid var(--tool-focus, var(--accent));
  outline-offset: 2px;
}
.library-results { grid-column: 1/-1; font-size: .87rem; padding-block-start: .15rem; }
.library-empty { border-inline-start: 3px solid var(--accent); padding: .65rem .9rem; }

.controls-briefing { --tool-paper: #173532; --tool-input: #234941; --tool-ink: #f0faf4; --tool-rule: #8cad9f; --tool-focus: #b5edd8; border-block-start: .34rem solid #78bda5; }
.controls-briefing .library-query { grid-column: 1/3; }
.controls-briefing .library-topics { grid-column: 1/-1; grid-row: 2; }
.controls-atlas { border-inline-start: .28rem solid var(--accent); background-image: repeating-linear-gradient(0deg, transparent 0 20px, #54488b14 20px 21px); }
.controls-atlas .library-results { font-family: ui-monospace,monospace; }
.controls-newsroom { --tool-paper: #f4e6c7; border: 0; border-block: 3px double #8a634e; }
.controls-newsroom .library-query label { font: 700 1.13rem Georgia,serif; }
.controls-docket { --tool-paper: #eadfea; --tool-rule: #966783; border-inline-start: .34rem solid #60325a; }
.controls-docket .library-topics { grid-column: 1/3; }
.controls-docket .library-query { grid-column: 1/-1; }
.controls-docket button { border-block-end-width: 2px; font-family: ui-monospace,monospace; }
.controls-ratebook { --tool-paper: #d9ebdf; --tool-rule: #6d9a80; border-block: 3px double #45765d; }
.controls-ratebook .library-results { font-family: ui-monospace,monospace; letter-spacing:.035em; }
.controls-field { --tool-paper: #e9efe3; --tool-ink: #274131; --tool-rule: #9cae98; border-block-end: .24rem solid #657f63; }
.controls-field .library-topics { grid-column: 1/-1; grid-row: 1; }
.controls-field .library-query { grid-column: 1/3; }
.controls-program { --tool-paper: #f4e7b6; --tool-rule: #a28b4a; grid-template-columns: minmax(0,1.45fr) minmax(9rem,.75fr) auto; }
.controls-program .library-topics { grid-column: 1/-1; grid-row: 1; }
.controls-program button { border-radius: 2rem; }
.controls-dispatch { --tool-paper: #202e37; --tool-input: #2f404a; --tool-ink: #f5f7ef; --tool-rule: #a0986f; --tool-focus: #eeda89; }
.controls-dispatch .library-topics { grid-column: 1/-1; }
.controls-dispatch .library-query { grid-column: 1/3; }
.controls-dispatch button { font-family: ui-monospace,monospace; }
.controls-market { --tool-paper: #f1e2d7; --tool-rule: #a88181; border-radius: .8rem .8rem 0 0; }
.controls-market .library-query { grid-column: 1/-1; }
.controls-market .library-select:nth-of-type(2) { grid-column: 2/4; }
.controls-measures { --tool-paper: #e3eef7; --tool-rule: #82a0b2; border-block-start: .3rem solid #45647f; }
.controls-measures .library-query { grid-column: 1/-1; }
.controls-measures .library-select:nth-of-type(2) { grid-column: 2/4; }
.controls-ledger { --tool-paper: #dcecf0; --tool-rule: #799ca8; border: 0; border-block: 1px dashed #335d6c; }
.controls-ledger label, .controls-ledger .library-results { font-family: ui-monospace,monospace; }
.controls-almanac { --tool-paper: #eee2bc; --tool-rule: #a4885f; border-block: 4px double #b08a67; }
.controls-almanac .library-topics { grid-column: 1/-1; }
.controls-almanac .library-query { grid-column: 1/3; }
.controls-workbook { --tool-paper: #eee3ee; --tool-rule: #ac91ad; border-radius: .65rem; }
.controls-workbook .library-query { grid-column: 1/3; }
.controls-workbook .library-topics { grid-column: 1/-1; }
.controls-observatory { --tool-paper: #252035; --tool-input: #191528; --tool-ink: #f4ecfc; --tool-rule: #9b88b7; --tool-focus: #e8d3f0; }
.controls-observatory .library-topics { grid-column: 1/-1; grid-row: 1; font-family: ui-monospace,monospace; }
.controls-observatory .library-query { grid-column: 1/3; }
.controls-reference { --tool-paper: #f1e6cf; --tool-rule: #a17e72; border-inline-start: .3rem solid #8a586c; }
.controls-reference .library-select { font-family: Georgia,serif; }

.evidence-run { margin-block: 1rem 2.8rem; }
.evidence-heading {
  display: flex; align-items: start; justify-content: space-between; flex-wrap: wrap;
  gap: .5rem 1.5rem; padding-block: .85rem .7rem; border-block-start: 2px solid var(--rule);
}
.evidence-heading h2, .evidence-item :is(h3,p) { margin: 0; }
.evidence-heading span { font-weight: 700; font-size: .88rem; }
.evidence-items { display: grid; gap: .6rem; }
.evidence-item {
  display: grid;
  gap: .5rem 1rem;
  min-inline-size: 0;
  border-block-start: 1px solid var(--rule);
  padding: .7rem 0;
}
.evidence-item > *, .exhibit-market-wrap > * { min-inline-size: 0; }
.evidence-item h3 { font-size: clamp(1rem, 1.8vw, 1.24rem); line-height: 1.3; }
.evidence-item p { overflow-wrap: anywhere; }
.exhibit-measure, .exhibit-period, .exhibit-question { font-size: .88rem; line-height: 1.42; }
.exhibit-measure { font-weight: 650; }
.exhibit-thumbnail { display: block; min-inline-size: 0; }
.exhibit-thumbnail img { display: block; inline-size: 100%; block-size: auto; }
.exhibit-actions { display: flex; flex-wrap: wrap; gap: .35rem .88rem; margin-block: .45rem .2rem; font-size: .88rem; }

.item-briefing { grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr); background: var(--panel); padding: .8rem; }
.item-briefing:has(.exhibit-event:only-child) { grid-template-columns: minmax(0,1fr); }
.run-atlas .evidence-items { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem 1.35rem; }
.item-atlas { background: var(--panel); padding: .75rem; }
.item-atlas .exhibit-place { border-inline-start: .17rem solid var(--accent); padding-inline-start: .55rem; }
.item-newsroom { grid-template-columns: minmax(0,1.4fr) minmax(0,.65fr); border-block-start: 1px solid var(--rule); }
.item-newsroom > div:last-child { border-inline-start: 1px solid var(--rule); padding-inline-start: 1rem; }
.item-newsroom h3 { font-family: Georgia,serif; }
.item-docket { grid-template-columns: 2.65rem minmax(0,1fr); position: relative; }
.item-docket .exhibit-number { font: 700 1.06rem ui-monospace,monospace; color: var(--accent); padding-top:.2rem; }
.item-docket > div { border-inline-start: 1px solid var(--rule); padding-inline-start: .65rem; }
.item-ratebook { grid-template-columns: minmax(0,1.1fr) minmax(0,.85fr); border-block-start: 2px dotted var(--rule); }
.item-ratebook .exhibit-thumbnail { max-inline-size: 46rem; grid-column: 1/-1; }
.item-ratebook .exhibit-measure { font-family: ui-monospace,monospace; }
.item-field { grid-template-columns: minmax(0,.75fr) minmax(0,1fr); align-items: start; }
.item-field > .exhibit-period { grid-column: 1/-1; }
.item-field:not(:has(.exhibit-thumbnail)) { grid-template-columns: minmax(0,1fr); }
.item-field .exhibit-thumbnail { border-inline-start: .24rem solid var(--accent); padding-inline-start: .55rem; }
.run-program .evidence-heading { background: var(--panel); padding-inline: .75rem; }
.run-program .evidence-items { grid-template-columns: repeat(2,minmax(0,1fr)); }
.item-program { border: 1px solid var(--rule); padding: .8rem; }
.item-dispatch { border-block-start: 1px dashed var(--rule); grid-template-columns: minmax(0,1fr) minmax(0,.72fr); }
.item-dispatch .exhibit-stop { border-inline-start: .22rem solid var(--accent); padding-inline-start: .75rem; }
.item-dispatch:not(:has(.exhibit-thumbnail)) { grid-template-columns: minmax(0,1fr); }
.item-market { border-block-start: 3px double var(--rule); }
.exhibit-market-wrap { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: .75rem 1rem; }
.item-measures { grid-template-columns: minmax(0,1fr) minmax(0,.7fr); background: var(--panel); padding-inline: .85rem; }
.item-measures .exhibit-thumbnail { grid-column: 1/-1; max-inline-size: 45rem; }
.item-measures .exhibit-question { font-weight: 600; }
.item-ledger { grid-template-columns: minmax(0,1.25fr) minmax(8ch,.6fr) minmax(0,.9fr); }
.item-ledger .exhibit-amount { font: .87rem/1.4 ui-monospace,monospace; }
.item-almanac { grid-template-columns: minmax(0,.65fr) minmax(0,1.35fr); }
.item-almanac h3 { font-family: Georgia,serif; }
.item-almanac .exhibit-growing-period { border-inline-end: 2px solid var(--rule); padding-inline-end: .6rem; }
.item-workbook { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); border-block-start: 2px solid var(--rule); }
.item-workbook .exhibit-work-area { background: var(--panel); padding: .65rem; }
.run-observatory .evidence-items { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.item-observatory { border: 1px solid var(--rule); padding: .75rem; }
.item-observatory header, .item-observatory .exhibit-plate { border-block-end: 1px solid var(--rule); padding-block-end: .45rem; }
.item-reference { grid-template-columns: minmax(0,1fr) minmax(0,.8fr); }
.item-reference .exhibit-record-basis { border-inline-start: .22rem solid var(--accent); padding-inline-start: .7rem; }

.chart-reader { margin-block: .6rem .4rem; padding: .46rem .6rem; border: 1px solid var(--rule); max-inline-size: 100%; }
.chart-reader summary { font-weight: 720; cursor: pointer; min-block-size: 2rem; line-height: 1.35; padding-block: .3rem; }
.chart-reader-tools { display: flex; flex-wrap: wrap; gap: .45rem; align-items: end; }
.chart-reader-tools label { display: flex; flex-direction: column; gap: .25rem; flex: 1 1 14rem; min-inline-size: 0; font-weight: 660; }
.chart-reader button:disabled { cursor: default; opacity: .52; }
.chart-reader-scroll { overflow: auto; max-inline-size: 100%; max-block-size: 27rem; }
.chart-reader-scroll table { border-collapse: collapse; inline-size: max-content; min-inline-size: 100%; }
.chart-reader-scroll :is(th, td) {
  text-align: start; font-variant-numeric: tabular-nums; padding: .48rem .65rem;
  border-block-end: 1px solid var(--rule); max-inline-size: 20rem; overflow-wrap: anywhere;
}
.chart-reader-scroll thead { background: var(--panel); }
.chart-reader :is(p,[role="status"]) { margin: .45rem 0; font-size: .88rem; }
.chart-reader-briefing { border-inline-start: .25rem solid var(--accent); }
.chart-reader-atlas { background: color-mix(in srgb, var(--panel), transparent 28%); }
.chart-reader-register { border-inline: 0; border-block-style: dashed; }
.chart-reader-record { border-block-start: .15rem solid var(--accent); }
.chart-reader-notebook { border-radius: .3rem; border-block-end: 3px double var(--rule); }

@media (max-width: 850px) {
  .library-controls { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .library-controls .library-query,
  .controls-docket .library-topics,
  .controls-market .library-select:nth-of-type(2),
  .controls-measures .library-select:nth-of-type(2) { grid-column: 1/-1; }
  .library-controls .library-reset { justify-self: start; }
  .controls-briefing .library-topics { grid-row: auto; }
  .item-ledger { grid-template-columns: minmax(0,1.3fr) minmax(0,.7fr); }
  .item-ledger > :last-child { grid-column: 1/-1; }
}
@media (max-width: 560px) {
  .edition-index .library-controls { padding: .65rem; margin-block-end: 1.4rem; }
  .controls-briefing .library-topics > div,
  .controls-dispatch .library-topics > div,
  .controls-program .library-topics > div {
    flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: inline proximity; padding-block-end: .25rem;
  }
  .controls-briefing .library-topics button, .controls-dispatch .library-topics button, .controls-program .library-topics button {
    flex: 0 0 auto; scroll-snap-align: start;
  }
  .controls-observatory .library-topics > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .controls-market { border-radius: .65rem .65rem 0 0; }
  .item-field, .item-newsroom, .item-briefing, .item-ratebook, .item-dispatch,
  .item-measures, .item-workbook, .item-reference, .exhibit-market-wrap,
  .run-atlas .evidence-items, .run-program .evidence-items { grid-template-columns: minmax(0,1fr); }
  .item-newsroom > div:last-child { border-inline-start: 0; padding-inline-start: 0; }
  .item-almanac { grid-template-columns: minmax(0,.65fr) minmax(0,1fr); }
  .item-observatory { padding: .45rem; }
  .item-observatory h3 { font-size: .96rem; }
  .item-observatory .chart-reader { padding-inline: .35rem; }
  .chart-reader-tools { gap: .45rem .4rem; }
  .chart-reader-scroll { max-block-size: 19rem; }
}
