@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/Newsreader-italic-400-800.woff2) format('woff2');
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/Newsreader-normal-400-800.woff2) format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/SourceSans3-italic-400-700.woff2) format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/SourceSans3-normal-400-700.woff2) format('woff2');
}

/* transformingeducation.org — "field guide" editorial system. Paper, ink, marigold, moss. */
:root {
  --paper: #f6efe2;
  --paper-2: #efe5d2;
  --paper-3: #e6d9c0;
  --ink: #1d2b34;
  --ink-2: #33444f;
  --muted: #5f6e78;
  --rule: #d6c9ae;
  --gold: #e3a92a;
  --gold-deep: #b9801a;
  --moss: #2f6f5e;
  --moss-deep: #1f4f43;
  --moss-soft: #dcebe4;
  --white: #fffdf8;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --radius: 14px;
  --shadow: 0 1px 0 rgba(29,43,52,.06), 0 12px 32px -18px rgba(29,43,52,.35);
  --line: repeating-linear-gradient(to bottom, transparent 0 31px, rgba(29,43,52,.07) 31px 32px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.08rem/1.6 var(--sans); font-feature-settings: "kern" 1; }
img, svg { max-width: 100%; vertical-align: middle; }
a { color: var(--moss-deep); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--gold-deep); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -.012em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 2.4vw + 1.4rem, 3.6rem); font-weight: 700; font-variation-settings: "opsz" 72; }
h2 { font-size: clamp(1.55rem, 1.1vw + 1.1rem, 2.15rem); margin-top: 1.4em; }
h3 { font-size: 1.28rem; margin-top: 1.2em; }
p { margin: 0 0 1.05em; }
.wrap { width: min(var(--wrap), calc(100% - 2rem)); margin: 0 auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: .5rem .8rem; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }
.eyebrow { display: inline-block; font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--moss); margin-bottom: .8rem; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.pill { display: inline-block; font: 700 .64rem/1 var(--sans); letter-spacing: .08em; background: var(--gold); color: var(--ink); padding: .28rem .45rem; border-radius: 4px; margin-left: .4rem; vertical-align: middle; }

/* ---- disclosure + header ---- */
.disclose-bar { background: var(--ink); color: #cfd8dd; font-size: .82rem; padding: .45rem 0; }
.disclose-bar a { color: var(--gold); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246,239,226,.9); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--rule); }
.hdr { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: .7rem 0; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.brand-text { font-family: var(--serif); font-weight: 700; font-size: 1.05rem; line-height: 1; letter-spacing: -.01em; }
.nav { display: flex; gap: .2rem; }
.nav a { padding: .55rem .85rem; border-radius: 8px; text-decoration: none; font-weight: 600; color: var(--ink-2); }
.nav a:hover, .nav a[aria-current] { background: var(--paper-2); color: var(--ink); }
.menu-btn { display: none; border: 1px solid var(--rule); background: var(--white); border-radius: 8px; padding: .45rem .8rem; font: 600 .95rem var(--sans); }
@media (max-width: 760px) {
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--rule); padding: .5rem 1rem 1rem; flex-direction: column; }
  .nav.open { display: flex; }
}

/* ---- hero ---- */
.hero { position: relative; padding: 3.2rem 0 2.6rem; background: var(--paper-2); background-image: var(--line); border-bottom: 1px solid var(--rule); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--gold); }
.hero-home { padding: 4rem 0 3.4rem; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero-copy h1 em { font-style: italic; color: var(--moss-deep); }
.standfirst { font-size: 1.22rem; line-height: 1.5; color: var(--ink-2); max-width: 62ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.4rem 0 .4rem; }
.hero-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 1.4rem; padding: 0; margin: 1.6rem 0 0; color: var(--muted); font-size: .95rem; }
.hero-stats b { display: block; font-family: var(--serif); font-size: 1.7rem; color: var(--ink); line-height: 1; }
.hero-art { position: relative; min-height: 360px; }
.note { position: absolute; width: 62%; background: var(--white); border: 1px solid var(--rule); border-radius: 10px; padding: 1.3rem 1.1rem 1rem; box-shadow: var(--shadow); background-image: var(--line); background-position: 0 14px; animation: float-in .9s cubic-bezier(.2,.7,.2,1) both; }
.note b { display: block; font-family: var(--serif); font-size: 1.25rem; line-height: 1.15; margin: .5rem 0 .3rem; }
.note small { color: var(--muted); font-size: .88rem; line-height: 1.35; display: block; }
.note-tab { position: absolute; top: -12px; left: 16px; background: var(--gold); color: var(--ink); font: 700 .68rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: .35rem .6rem; border-radius: 4px 4px 0 0; }
.note-a { left: 0; top: 0; transform: rotate(-3deg); animation-delay: .1s; }
.note-b { right: 0; top: 34%; transform: rotate(2deg); animation-delay: .3s; }
.note-c { left: 12%; bottom: 0; transform: rotate(-1deg); animation-delay: .5s; width: 58%; }
.note-c .note-tab { background: var(--moss); color: #fff; }
@keyframes float-in { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: reduce) { .note { animation: none; } }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { display: none; } }

.hero-page .standfirst { margin-top: .2rem; }
.meta-row { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; color: var(--muted); font-size: .9rem; margin-top: .9rem; }
.meta-row span::before { content: "•"; margin-right: .6rem; color: var(--gold-deep); }
.meta-row span:first-child::before { content: none; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem .5rem; padding: 0; margin: 0 0 1.2rem; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--rule); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--moss-deep); text-decoration: underline; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .78rem 1.25rem; border-radius: 10px; font: 600 1rem var(--sans); text-decoration: none; border: 1px solid transparent; transition: transform .15s, box-shadow .15s, background .15s; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 6px 18px -10px var(--gold-deep); }
.btn-gold:hover { background: #f0b73a; color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: .45rem .75rem; font-size: .88rem; border-radius: 8px; background: var(--moss); color: #fff; }
.btn-sm:hover { background: var(--moss-deep); color: #fff; }
.band-ink .btn-ghost { color: #fff; border-color: rgba(255,255,255,.6); }

/* ---- page grid + prose ---- */
.page-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 3rem; padding: 2.6rem 0 1rem; align-items: start; }
.page-grid-solo { grid-template-columns: minmax(0, 1fr); max-width: 780px; }
.side { position: sticky; top: 84px; display: grid; gap: 1.2rem; }
.toc h2, .side-box h2 { font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 .7rem; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--rule); }
.toc li a { display: block; padding: .32rem 0 .32rem .85rem; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-2); text-decoration: none; font-size: .93rem; line-height: 1.35; }
.toc li a:hover { color: var(--moss-deep); border-left-color: var(--gold); }
.side-box { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1rem 1rem .6rem; }
@media (max-width: 900px) { .page-grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; } .side { position: static; } .toc { display: none; } }
.prose { max-width: 74ch; font-size: 1.1rem; }
.prose > h2 { padding-top: .4rem; border-top: 1px solid var(--rule); margin-top: 2.2rem; }
.prose > h2:first-of-type { border-top: 0; margin-top: .6rem; }
.prose h2::before { content: ""; display: block; width: 36px; height: 4px; background: var(--gold); margin: 1.2rem 0 .7rem; border-radius: 2px; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin: .35rem 0; }
.prose li::marker { color: var(--gold-deep); font-weight: 700; }
.prose strong { color: var(--ink); }
.byline { color: var(--muted); font-size: .92rem; border-bottom: 1px dashed var(--rule); padding-bottom: .9rem; margin-bottom: 1.4rem; }
blockquote { margin: 1.4rem 0; padding: 1rem 1.2rem; background: var(--white); border-left: 4px solid var(--gold); border-radius: 0 10px 10px 0; color: var(--ink-2); }
blockquote p:last-child { margin-bottom: 0; }
.callout { border-left-color: var(--moss); background: var(--moss-soft); }
.callout-research { border-left-color: var(--ink); background: var(--paper-2); }
.callout-warning, .callout-note { border-left-color: var(--gold-deep); background: #fbf1d9; }
.callout-label { color: var(--moss-deep); letter-spacing: .02em; }
.callout-research .callout-label, .callout-warning .callout-label, .callout-note .callout-label { color: var(--ink); }
.tablewrap { overflow-x: auto; margin: 1.4rem 0; border: 1px solid var(--rule); border-radius: 10px; background: var(--white); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: .65rem .8rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { background: var(--paper-2); font: 600 .78rem/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
tr:last-child td { border-bottom: 0; }
code { font-family: ui-monospace, Menlo, monospace; font-size: .92em; background: var(--paper-2); padding: .1em .35em; border-radius: 4px; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 2rem 0; }

/* ---- ctas ---- */
.cta { margin: 2.2rem 0; padding: 1.5rem 1.5rem 1.3rem; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow); position: relative; background-image: var(--line); background-position: 0 10px; }
.cta::before { content: ""; position: absolute; left: -1px; top: 18px; bottom: 18px; width: 5px; background: var(--gold); border-radius: 0 3px 3px 0; }
.cta-degree::before { background: var(--moss); }
.cta-head h3 { margin: .2rem 0 .4rem; font-size: 1.45rem; }
.cta-head p { color: var(--ink-2); margin-bottom: .9rem; }
.cta-compact { padding: 1rem 1.3rem; background-image: none; }
.cta-compact p { margin: 0; }
.dl-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.dl-list a { display: flex; align-items: center; gap: .8rem; padding: .75rem .9rem; background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.dl-list a:hover { border-color: var(--gold); transform: translateX(2px); }
.dl-list a svg { color: var(--moss); flex: 0 0 auto; }
.dl-list b { display: block; font-size: .98rem; line-height: 1.25; }
.dl-list small { display: block; color: var(--muted); font-size: .84rem; }
.dl-side a { padding: .55rem .7rem; font-size: .92rem; }
.programs th:last-child, .programs td:last-child { white-space: nowrap; }
.programs td b { font-size: 1rem; }

/* ---- faq, sources, related ---- */
.faq details { border-bottom: 1px solid var(--rule); padding: .4rem 0; }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; padding: .6rem 1.8rem .6rem 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .2rem; top: .45rem; font-size: 1.4rem; color: var(--gold-deep); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 0 .9rem; color: var(--ink-2); }
.sources ol { padding-left: 1.2rem; font-size: .92rem; color: var(--ink-2); }
.sources li { margin: .3rem 0; }
.related { padding: 1rem 0 3rem; }

/* ---- cards ---- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.1rem; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .cards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards-3 { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; gap: .4rem; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.25rem 1.25rem 1.1rem; text-decoration: none; color: var(--ink); position: relative; overflow: hidden; transition: transform .18s, box-shadow .18s, border-color .18s; }
.card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--paper-3); }
.card:hover::after { transform: scaleX(1); }
.card-eyebrow { font: 600 .72rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--moss); }
.card h3 { margin: .2rem 0 .1rem; font-size: 1.22rem; line-height: 1.2; }
.card p { color: var(--ink-2); font-size: .97rem; margin: 0 0 .4rem; }
.card-more { margin-top: auto; display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; color: var(--moss-deep); font-size: .93rem; }
.cards-compact .card { padding: .9rem 1rem; }
.cards-compact .card h3 { font-size: 1.05rem; }
.cards-compact .card-more { display: none; }

/* ---- bands (home) ---- */
.band { padding: 3rem 0 2.6rem; }
.band-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.band-head h2 { margin: 0; }
.band-head .eyebrow { display: block; margin-bottom: .4rem; }
.band-head > div, .band-head > span { flex: 1 1 auto; }
.more { white-space: nowrap; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.band-ink { background: var(--ink); color: #e8eef1; background-image: radial-gradient(ellipse at 20% 0%, rgba(227,169,42,.18), transparent 55%), radial-gradient(ellipse at 100% 100%, rgba(95,180,156,.22), transparent 50%); }
.band-ink h2, .band-ink .card h3 { color: #fff; }
.band-ink .eyebrow { color: var(--gold); }
.band-ink .more { color: var(--gold); }
.band-ink .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #e8eef1; }
.band-ink .card p { color: #c9d4da; }
.band-ink .card-eyebrow { color: #8fd1bd; }
.band-ink .card-more { color: var(--gold); }
.strip { background: var(--paper-2); border-block: 1px solid var(--rule); padding: 1.1rem 0; }
.strip .wrap { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.strip .eyebrow { margin: 0 .6rem 0 0; }
.dl-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .75rem; background: var(--white); border: 1px solid var(--rule); border-radius: 999px; text-decoration: none; color: var(--ink); font-size: .9rem; font-weight: 600; }
.dl-chip:hover { border-color: var(--gold); color: var(--ink); }
.dl-chip svg { color: var(--moss); }
.heritage-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2.5rem; align-items: start; padding: 1.5rem 0 .5rem; border-top: 1px solid var(--rule); }
@media (max-width: 800px) { .heritage-grid { grid-template-columns: 1fr; } }
.hub { padding: 2rem 0 3rem; }
.hub-group h2 { margin: 2rem 0 1rem; }

/* ---- contact form ---- */
.contact-form { display: grid; gap: 1rem; margin: 1.5rem 0; padding: 1.5rem; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea { font: inherit; padding: .7rem .8rem; border: 1px solid var(--rule); border-radius: 8px; background: var(--paper); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold-deep); }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 0; min-height: 1.4em; color: var(--moss-deep); font-weight: 600; }

/* ---- footer ---- */
.site-footer { margin-top: 3rem; background: var(--paper-2); border-top: 1px solid var(--rule); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding: 2.6rem 0 1.6rem; }
.foot h4 { font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: .3rem 0 .9rem; }
.foot a:not(.brand) { display: block; color: var(--ink-2); text-decoration: none; padding: .25rem 0; font-size: .95rem; }
.foot a:not(.brand):hover { color: var(--moss-deep); text-decoration: underline; }
.foot-brand p { color: var(--muted); font-size: .95rem; margin-top: 1rem; max-width: 36ch; }
.legal { border-top: 1px solid var(--rule); padding: 1.2rem 0 2rem; color: var(--muted); font-size: .85rem; }
@media (max-width: 800px) { .foot { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot { grid-template-columns: 1fr; } }
::selection { background: var(--gold); color: var(--ink); }

/* ---- programs table: stacked cards on narrow screens so the CTA button is always visible ---- */
@media (max-width: 900px) {
  .programs { border: 0; background: transparent; overflow: visible; }
  .programs table, .programs tbody, .programs tr, .programs td { display: block; width: 100%; }
  .programs thead { display: none; }
  .programs tr { background: var(--white); border: 1px solid var(--rule); border-radius: 10px; padding: .85rem 1rem .9rem; margin-bottom: .7rem; }
  .programs td { border: 0; padding: .18rem 0; font-size: .95rem; }
  .programs td:nth-child(2)::before { content: "Format: "; font-weight: 600; color: var(--muted); }
  .programs td:nth-child(3)::before { content: "Accreditation: "; font-weight: 600; color: var(--muted); }
  .programs td:nth-child(4)::before { content: "Notes: "; font-weight: 600; color: var(--muted); }
  .programs td:last-child { white-space: normal; padding-top: .6rem; }
  .programs td:first-child b { font-size: 1.05rem; }
}
.prose, .faq-a, .sources { overflow-wrap: break-word; }
.prose a, .sources a { overflow-wrap: anywhere; }
.hero h1 { overflow-wrap: break-word; hyphens: manual; }

/* ---- state teacher-certification finder ---- */
.nodata { color: var(--muted); font-style: italic; }
.src { font-size: .85rem; white-space: nowrap; }
.lede { color: var(--ink-2); font-style: italic; }
.route-name { margin-bottom: .3rem; }
.steps li { margin: .45rem 0; }
.facts { margin: 1.2rem 0 1.6rem; padding: 1.2rem 1.3rem .9rem; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow); border-top: 5px solid var(--moss); }
.prose .facts-h { margin: 0 0 .8rem; font-size: 1.25rem; padding: 0; border: 0; }
.prose .facts-h::before { content: none; }
.facts dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .2rem 1.4rem; margin: 0; }
.facts dl > div { padding: .5rem 0; border-bottom: 1px dashed var(--rule); min-width: 0; }
.facts dt { font: 600 .72rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; }
.facts dd { margin: 0; font-size: .98rem; line-height: 1.4; overflow-wrap: anywhere; }
.facts-foot { margin: .7rem 0 0; font-size: .85rem; color: var(--muted); }
@media (max-width: 640px) { .facts dl { grid-template-columns: minmax(0, 1fr); } }
.route-chooser { margin: 1.2rem 0 .4rem; padding: 1rem 1.1rem; background: var(--paper-2); border-radius: var(--radius); border: 1px solid var(--rule); }
.route-chooser p { margin: 0 0 .6rem; }
.route-chooser div { display: flex; flex-wrap: wrap; gap: .5rem; }
.route-chooser a { display: inline-flex; align-items: center; gap: .35rem; padding: .5rem .8rem; background: var(--white); border: 1px solid var(--rule); border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .93rem; }
.route-chooser a:hover { border-color: var(--gold); }
.prose h2[id] { scroll-margin-top: 90px; }
.prose h3[id], .facts { scroll-margin-top: 90px; }
.cta-alt::before { background: var(--gold); }
.cta-alt .hero-actions { margin: .2rem 0 0; }
ul.cols { columns: 2 260px; column-gap: 2rem; }
ul.cols li { break-inside: avoid; }
.state-links { padding: 1.5rem 0 .5rem; border-top: 1px solid var(--rule); margin-top: 1rem; }
.state-links ul { list-style: none; padding: 0; margin: 0 0 1rem; columns: 4 150px; column-gap: 1.2rem; }
.state-links li { padding: .18rem 0; break-inside: avoid; }
.state-links a { color: var(--ink-2); text-decoration: none; font-size: .95rem; }
.state-links a:hover { color: var(--moss-deep); text-decoration: underline; }
.state-picker { display: grid; gap: 1rem; margin: 1.2rem 0 1.6rem; padding: 1.3rem 1.3rem 1rem; background: var(--white); border: 1px solid var(--rule); border-top: 5px solid var(--gold); border-radius: var(--radius); box-shadow: var(--shadow); }
.state-picker fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.state-picker legend { font-weight: 600; font-size: .95rem; margin-bottom: .45rem; padding: 0; }
.state-picker .btn { justify-self: start; }
.sp-msg { margin: 0; min-height: 1.2em; color: var(--gold-deep); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-block; padding: .5rem .85rem; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); font-size: .93rem; font-weight: 600; }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.state-table td:last-child { white-space: nowrap; }
.state-table td:last-child a { display: inline-flex; align-items: center; gap: .3rem; font-weight: 600; }
/* stacked tables on phones: every cell shows its column label */
@media (max-width: 700px) {
  .stack { border: 0; background: transparent; overflow: visible; }
  .stack table, .stack tbody, .stack tr, .stack td { display: block; width: 100%; }
  .stack thead { display: none; }
  .stack tr { background: var(--white); border: 1px solid var(--rule); border-radius: 10px; padding: .7rem .9rem .75rem; margin-bottom: .6rem; }
  .stack td { border: 0; padding: .16rem 0; font-size: .95rem; }
  .stack td[data-label]:not(:first-child)::before { content: attr(data-label) ": "; font-weight: 600; color: var(--muted); }
  .state-table td:last-child { white-space: normal; }
}
