:root {
  --ink: #1d2b36;
  --ground: #f3f8fa;
  --card: #ffffff;
  --teal: #0e6e6a;
  --teal-dark: #0a4f4c;
  --teal-soft: #e4f2f1;
  --sun: #ffcb47;
  --sun-soft: #fff1c7;
  --muted: #4a5a66;
  --border: #d7e3e8;
  --divider: #e3ecf0;
  --field: #c9d7dd;
  --good: #166534;
  --good-bg: #dcfce7;
  --bad: #991b1b;
  --bad-bg: #fee2e2;
  --shadow: 0 1px 2px rgba(29, 43, 54, 0.04), 0 8px 24px rgba(29, 43, 54, 0.07);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 12px; color: var(--ink); }
h1 { font-size: clamp(32px, 6vw, 56px); font-weight: 900; }
h2 { font-size: clamp(22px, 3.2vw, 28px); font-weight: 900; margin-top: 8px; }
h3 { font-size: 19px; font-weight: 800; }
p { margin: 0 0 16px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }
.block { padding-top: 36px; padding-bottom: 48px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--sun); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 800; }
.small { font-size: 15px; color: var(--muted); }
.lede { font-size: 19px; color: var(--muted); max-width: 46em; }
.eyebrow { display: inline-block; background: var(--sun-soft); color: var(--ink); font-weight: 800; font-size: 15px; padding: 5px 14px; border-radius: 999px; margin-bottom: 16px; }

.bar { background: var(--card); color: var(--ink); border-bottom: 1px solid var(--border); }
.bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; min-height: 84px; padding-top: 16px; padding-bottom: 16px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 900; font-size: 21px; letter-spacing: -0.01em; text-decoration: none; }
.logo:hover { color: var(--ink); }
.logo-dot { width: 26px; height: 26px; border-radius: 50%; background: var(--sun); box-shadow: inset 0 0 0 3px var(--ink); flex: none; }
.logo .tld { color: var(--teal); }
.bar ul { list-style: none; display: flex; gap: 2px 4px; margin: 0; padding: 0; flex-wrap: wrap; }
.bar nav a { color: var(--ink); font-weight: 700; text-decoration: none; padding: 10px 14px; display: inline-block; border-radius: 999px; }
.bar nav a:hover { background: var(--teal-soft); color: var(--teal-dark); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 24px; font: inherit; font-weight: 800; color: #fff;
  background: var(--teal); border: 2px solid var(--teal); border-radius: 999px;
  cursor: pointer; text-decoration: none; white-space: nowrap; transition: background 0.15s, border-color 0.15s;
}
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.btn-plain { background: var(--card); color: var(--ink); border-color: var(--field); }
.btn-plain:hover { background: var(--teal-soft); border-color: var(--teal); color: var(--ink); }
.btn-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-dark:hover { background: #0f1820; border-color: #0f1820; }
.btn-sun, .btn-ghost { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.btn-sun:hover, .btn-ghost:hover { background: #f5bb22; border-color: #f5bb22; color: var(--ink); }
.btn-ghost::before { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.band .btn { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.band .btn:hover { background: #f5bb22; border-color: #f5bb22; }
.link-light { color: var(--teal); font-weight: 800; }
.band .link-light { color: #fff; }
.band .link-light:hover { color: #fff; }

.hero { background: var(--ground); padding: 56px 0 40px; }
.hero h1 { max-width: 14em; }
.hero-actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin-top: 24px; }

.search { margin: 20px 0 20px; max-width: 720px; }
.label { display: block; font-weight: 700; margin-bottom: 6px; }
.search-row { display: flex; gap: 10px; }
.search input, .filters select, .field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 10px 16px; font: inherit; color: var(--ink);
  background: var(--card); border: 2px solid var(--field); border-radius: 14px;
}
.search input:focus, .filters select:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); }
.search input { border-radius: 999px; padding: 10px 22px; }
.search-big input { min-height: 60px; font-size: 19px; }
.search-big .btn { min-height: 60px; font-size: 18px; padding: 10px 30px; }
::placeholder { color: #5f6f7a; opacity: 1; }

.filters { display: flex; flex-wrap: wrap; align-items: end; gap: 12px 20px; margin: 0 0 20px; padding: 16px 18px; border: 1px solid var(--border); border-radius: 18px; background: var(--card); }
.filters .label { margin: 0; }
.filters select { min-height: 44px; margin-top: 6px; width: auto; }
.check { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; min-height: 44px; }
.check input { width: 22px; height: 22px; accent-color: var(--teal); }
.count { font-weight: 800; }

.county-grid { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 12px; }
.county-grid a { display: flex; flex-direction: column; padding: 14px 18px; background: var(--card); border: 1px solid var(--border); border-radius: 16px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 18px; height: 100%; transition: border-color 0.15s, background 0.15s; }
.county-grid a:hover { border-color: var(--teal); background: var(--teal-soft); color: var(--ink); }
.county-grid small { font-weight: 600; font-size: 15px; color: var(--muted); }

.band { margin: 16px 0 0; padding: 0 0 8px; }
.band > .wrap { background: var(--teal); color: #fff; border-radius: 28px; padding: 36px 40px; }
.band h2 { color: #fff; }
.band .eyebrow { background: transparent; color: #fff; padding: 0; text-transform: uppercase; letter-spacing: 0.06em; font-size: 14px; margin-bottom: 8px; }
.band-inner { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; align-items: center; }
.band-cta { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.band .small { color: #fff; }

.schools { list-style: none; margin: 0 0 24px; padding: 0; background: var(--card); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; }
.school { border-top: 1px solid var(--divider); }
.school:first-child { border-top: 0; }
.school a { display: grid; gap: 2px; padding: 16px 20px; text-decoration: none; color: var(--ink); }
.school a:hover { background: var(--teal-soft); color: var(--ink); }
.school a:hover .school-name { text-decoration: underline; }
.school-name { font-weight: 800; font-size: 18px; }
.school-place { color: var(--muted); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.chip { font-size: 14px; font-weight: 700; padding: 3px 11px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-dark); }

.pager { display: flex; gap: 16px; align-items: center; justify-content: center; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; padding: 0; margin: 0 0 16px; font-size: 15px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--muted); }
.crumbs [aria-current] { color: var(--muted); }

.stats { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0 0 8px; }
.stats li { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 8px 16px; }
.stats strong { font-size: 22px; font-weight: 900; margin-right: 4px; }
.area-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 24px; }
.area-list a { display: inline-block; padding: 8px 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--card); color: var(--ink); font-weight: 700; text-decoration: none; }
.area-list a:hover { border-color: var(--teal); background: var(--teal-soft); }
.area-list small { color: var(--muted); font-weight: 600; margin-left: 4px; }

.school-hero { background: var(--card); padding: 28px 0 32px; border-bottom: 1px solid var(--border); }
.hero-place { font-size: 19px; margin-bottom: 8px; }
.school-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow); padding: 22px 24px; margin-bottom: 24px; }
.card-yellow { background: var(--sun-soft); border-color: #f3dc94; box-shadow: none; }
.facts { margin: 0; display: grid; }
.facts > div { display: grid; grid-template-columns: 11em 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--divider); }
.facts > div:first-child { border-top: 0; }
.facts dt { font-weight: 800; }
.facts dd { margin: 0; }
address { font-style: normal; margin-bottom: 12px; }
.plain-list { list-style: none; padding: 0; margin: 0 0 12px; }
.plain-list li { padding: 4px 0; overflow-wrap: anywhere; }

.table-scroll { overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.compare th, .compare td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--divider); vertical-align: top; }
.compare thead th { border-bottom: 2px solid var(--border); font-size: 13px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.compare tbody th > span { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
.compare tr.is-current { background: var(--sun-soft); }

.feature-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.feature-grid .card { margin: 0; }
.steps { padding-left: 22px; }
.steps li { margin-bottom: 10px; }

.form .field { display: block; margin-bottom: 18px; }
.form .field span { display: block; font-weight: 700; margin-bottom: 6px; }
.form .field small { display: block; color: var(--muted); margin-top: 6px; font-size: 15px; }
.form textarea { min-height: 100px; }
.hp { position: absolute; left: -9999px; }
.alert { border: 1px solid currentColor; border-radius: 14px; padding: 12px 16px; margin-bottom: 20px; font-weight: 700; }
.alert p:last-child { margin: 0; }
.alert-good { color: var(--good); background: var(--good-bg); }
.alert-bad { color: var(--bad); background: var(--bad-bg); }

.prose h2 { margin-top: 32px; font-size: 23px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }

.foot { background: var(--ink); color: #e3ecf0; padding: 40px 0 28px; margin-top: 40px; }
.foot .logo, .foot .logo:hover { color: #fff; }
.foot .logo .tld { color: var(--sun); }
.foot .logo-dot { box-shadow: none; }
.foot-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.foot a { color: #fff; }
.foot a:hover { color: var(--sun); }
.foot :focus-visible { outline-color: var(--sun); }
.foot ul { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 28px; }
.foot li { padding: 4px 0; break-inside: avoid; }
.foot-small { font-size: 14px; color: #b9c7cf; margin-top: 20px; }
.foot-small a { color: #e3ecf0; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { padding: 32px 0 28px; }
  .search-row { flex-direction: column; }
  .search-row .btn { width: 100%; }
  .band-inner, .school-grid, .foot-inner { grid-template-columns: 1fr; }
  .band > .wrap { border-radius: 0; padding: 32px 16px; }
  .facts > div { grid-template-columns: 1fr; gap: 2px; }
  .card { padding: 18px; }
  .county-grid { grid-template-columns: repeat(2, 1fr); }
  .bar-inner { min-height: 0; padding-top: 18px; padding-bottom: 6px; }
  .bar nav { width: 100%; padding-bottom: 6px; overflow-x: auto; }
  .bar ul { flex-wrap: nowrap; }
  .bar nav a { white-space: nowrap; padding: 8px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .county-grid a { transition: none; }
}
.school-grid > div, .card { min-width: 0; }
.ads { border: 1px solid var(--border); border-radius: 18px; background: var(--card); padding: 16px 18px; margin: 0 0 24px; }
.ads-empty { border-style: dashed; border-color: var(--field); background: transparent; padding: 10px 16px; }
.ads-empty p { margin: 0; }
.ads-h { font-size: 18px; margin: 0 0 10px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ads-h span { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.ads ul { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.ads li a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1px solid var(--divider); border-radius: 12px; text-decoration: none; color: var(--ink); height: 100%; }
.ads li a:hover { border-color: var(--teal); background: var(--teal-soft); }
.ads li span { color: var(--muted); font-size: 14px; }
.ads li small { font-size: 14px; }
.sponsor { background: var(--sun-soft); border-bottom: 1px solid #f3dc94; }
.sponsor-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding-top: 10px; padding-bottom: 10px; font-size: 15px; }
.sponsor-tag { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; background: var(--card); border-radius: 999px; padding: 2px 10px; }
.sponsor-inner a { text-decoration: none; color: var(--ink); }
.sponsor-inner a:hover strong { text-decoration: underline; }
.sponsor-own { margin-left: auto; font-size: 13px; color: var(--muted) !important; text-decoration: underline !important; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.price-grid .card { margin: 0; }
.price { font-size: 36px; font-weight: 900; letter-spacing: -0.02em; }
.price small { font-size: 16px; font-weight: 600; color: var(--muted); }
.ad-preview { margin-top: 8px; }
@media (max-width: 760px) { .price-grid { grid-template-columns: 1fr; } .sponsor-own { margin-left: 0; } }
.guide-grid { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.guide-card { display: flex; flex-direction: column; gap: 8px; height: 100%; margin: 0; text-decoration: none; color: var(--ink); transition: border-color 0.15s; }
.guide-card:hover { border-color: var(--teal); color: var(--ink); }
.guide-card strong { font-size: 19px; line-height: 1.25; }
.guide-card span { color: var(--muted); font-size: 15px; }
.guide-card:hover strong { text-decoration: underline; }
.guide h2 { margin-top: 32px; }
.guide ol, .guide ul { padding-left: 22px; }
.callout { background: var(--sun-soft); border-radius: 16px; padding: 14px 18px; margin-top: 28px; font-weight: 700; }
.sources { font-size: 15px; }
.guide-links { margin: 12px 0 0; }
.aka { font-weight: 700; font-size: 14px; color: var(--muted); margin-left: 4px; }
.near-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 16px 0 4px; }
.hero-near { margin-top: 4px; }
.qa { margin: 0; }
.qa > div { padding: 12px 0; border-top: 1px solid var(--divider); }
.qa > div:first-child { border-top: 0; padding-top: 0; }
.qa dt { font-weight: 800; margin-bottom: 2px; }
.qa dd { margin: 0; color: var(--ink); }
.home-tools { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; align-items: start; padding-bottom: 0; }
.home-tools .card { margin: 0; }
.link-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.link-grid a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid var(--divider); border-radius: 14px; text-decoration: none; color: var(--ink); height: 100%; }
.link-grid a:hover { border-color: var(--teal); background: var(--teal-soft); }
.link-grid strong { line-height: 1.3; }
.link-grid span { color: var(--muted); font-size: 15px; }
.break-list { list-style: none; padding: 0; margin: 0 0 12px; }
.break-list li { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; padding: 10px 0; border-top: 1px solid var(--divider); }
.break-list li:first-child { border-top: 0; padding-top: 0; }
.break-list strong { grid-column: 1; }
.break-list span:last-child { grid-column: 1; color: var(--muted); font-size: 15px; }
.break-when { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 13px; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: var(--sun-soft); color: var(--ink); white-space: nowrap; }
.next-break { display: flex; gap: 16px; align-items: center; background: var(--card); border: 2px solid var(--sun); border-radius: 20px; padding: 16px 20px; margin: 0 0 24px; }
.next-break p { margin: 0; }
.next-break .break-when { font-size: 15px; padding: 6px 14px; background: var(--sun); }
.cal-links { display: flex; flex-wrap: wrap; gap: 10px; }
.term-table tr.is-past { color: var(--muted); }
.term-table tr.is-optional th { font-weight: 600; font-style: italic; }
.term-table tbody th > span { font-weight: 400; font-size: 14px; }
.starter-row { display: flex; gap: 16px; flex-wrap: wrap; }
.starter-row .field { flex: 1 1 160px; }
.start-options { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.start-options .card { margin: 0; }
.start-options h3 { margin: 4px 0 8px; font-size: 24px; }
.start-options .eyebrow { margin: 0; }
.rank { padding-left: 24px; margin: 0; }
.rank li { padding: 4px 0; }
.rank .small { display: block; color: var(--muted); }
.school-grid.even { grid-template-columns: 1fr 1fr; }
.related { margin: -8px 0 24px; }
.fix summary { cursor: pointer; font-weight: 800; }
.fix[open] summary { margin-bottom: 16px; }
@media (max-width: 760px) {
  .home-tools, .school-grid.even { grid-template-columns: 1fr; }
  .next-break { flex-direction: column; align-items: flex-start; gap: 8px; }
}
.template { background: var(--card); border: 1px dashed var(--field); border-radius: 16px; padding: 16px 20px; font-size: 16px; }
.template p { margin: 0 0 12px; }
.stats + .card, .stats + section { margin-top: 16px; }
.compare.term-table { min-width: 0; }
.next-break .break-when { align-self: center; }
@media (max-width: 760px) {
  .next-break .break-when { align-self: flex-start; }
  .term-table th, .term-table td { padding: 8px 4px; }
  .term-table td:last-child, .term-table thead th:last-child { display: none; }
}
.compare-cols thead th { text-transform: none; letter-spacing: 0; font-size: 17px; color: var(--ink); vertical-align: bottom; }
.compare-cols thead th > span { display: block; font-weight: 400; margin-top: 4px; }
.compare-cols tbody th { width: 11em; }
.compare-add { margin-top: 24px; }
.add-list li { padding: 6px 0; }
.compare-cta { margin: 16px 0 0; }
.compare.compare-cols { min-width: 0; table-layout: fixed; }
@media (max-width: 760px) {
  .compare-cols { font-size: 14px; }
  .compare-cols thead th { font-size: 15px; }
  .compare-cols tbody th { width: 6.2em; }
  .compare-cols th, .compare-cols td { padding: 8px 4px; overflow-wrap: break-word; hyphens: auto; }
}
.embed-code { width: 100%; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; padding: 10px; border: 2px solid var(--field); border-radius: 12px; background: var(--ground); color: var(--ink); resize: vertical; }
.foot li a { display: inline-block; padding: 8px 0; min-height: 44px; }
.foot li { padding: 0; }
.print-only { display: none; }
@media print {
  .print-only { display: block; }
  .bar, .foot, .sponsor, .crumbs, .skip, .no-print, .next-break, .card-yellow, .school-grid > div:last-child, .card:has(.qa) { display: none !important; }
  body { background: #fff; font-size: 13px; }
  .school-grid { display: block; }
  .card { box-shadow: none; border: 0; padding: 0; }
  .term-table tr.is-past { color: inherit; }
  .term-table td:last-child, .term-table thead th:last-child { display: table-cell !important; }
  h1 { font-size: 26px; }
  .block { padding: 0; }
}
.area-list.jump { margin: 0 0 16px; }
.area-list.jump a { background: var(--sun-soft); border-color: #f3dc94; }
.btn-small { padding: 8px 16px; font-size: 15px; min-height: 44px; }
.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0 0; }
.share-row .small { color: var(--muted); }

body { min-height: 100vh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }
body > .foot { flex-shrink: 0; }
@media (max-width: 760px) {
  .bar nav { -webkit-mask-image: linear-gradient(to right, #000 85%, transparent); mask-image: linear-gradient(to right, #000 85%, transparent); }
  .bar nav ul { padding-right: 32px; }
}
.more-towns summary { cursor: pointer; font-weight: 700; color: var(--teal); margin: -12px 0 16px; }
.status-card { border-radius: 20px; padding: 20px 24px; margin: 0 0 16px; border: 2px solid; }
.status-card p { margin: 0 0 6px; }
.status-card .eyebrow { background: transparent; padding: 0; text-transform: uppercase; letter-spacing: 0.06em; font-size: 13px; }
.status-head { font-size: 28px; font-weight: 900; line-height: 1.2; }
.status-small .status-head { font-size: 20px; }
.open-yes { background: var(--good-bg); border-color: #86d3a1; }
.open-no { background: var(--sun-soft); border-color: var(--sun); }
.open-maybe { background: var(--card); border-color: var(--field); }
.planner-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.pd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 20px; margin: 16px 0; }
.pd-month { border-collapse: collapse; width: 100%; font-size: 13px; text-align: center; background: var(--card); border-radius: 12px; }
.pd-name { font-weight: 800; margin: 0 0 4px; font-size: 15px; }
.pd-wrap { break-inside: avoid; page-break-inside: avoid; }
.pd-month th { font-size: 11px; color: var(--muted); font-weight: 700; padding: 2px 0; }
.pd-month td { padding: 3px 0; border-radius: 6px; }
.pd-we { color: var(--muted); }
.pd-break { background: var(--teal); color: #fff; }
.pd-bank { background: #f5bb22; color: var(--ink); }
.pd-maybe { background: repeating-linear-gradient(135deg, var(--teal-soft), var(--teal-soft) 3px, #fff 3px, #fff 6px); }
.pd-summer { background: var(--teal-soft); }
.pd-today { outline: 2px solid var(--ink); }
.pd-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: 14px; }
.pd-key { display: inline-block; width: 16px; height: 16px; border-radius: 4px; vertical-align: middle; border: 1px solid var(--border); }
@media (max-width: 900px) { .pd-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pd-grid { grid-template-columns: 1fr; } }
@media print {
  .planner-page .pd-grid { display: block; columns: 3; column-gap: 14px; margin: 6px 0; }
  .planner-page .pd-wrap { margin-bottom: 8px; }
  .planner-page h1 { font-size: 22px; margin: 0; }
  .planner-page .pd-month { font-size: 10px; }
  .planner-page .pd-name { font-size: 12px; margin: 0 0 2px; }
  .planner-page .pd-month td { padding: 1px 0; }
  .pd-break, .pd-bank, .pd-maybe, .pd-summer { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

@media print {
  body { display: block; min-height: 0; }
  .pd-month { break-inside: avoid; page-break-inside: avoid; }
  .planner-page .block { padding: 0; }
  .planner-page .pd-legend { font-size: 11px; margin: 4px 0; }
  .planner-page .small { font-size: 9px; margin: 4px 0 0; }
}
.pr-layout { display: grid; grid-template-columns: 340px 1fr; gap: 24px; align-items: start; }
.pr-preview { background: #d7e3e8; border-radius: 20px; padding: 20px; overflow: hidden; }
.pr-sheet { background: #fff; aspect-ratio: 210 / 297; width: 100%; max-width: 560px; margin: 0 auto; position: relative; padding: 8% 8% 6%; box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; container-type: inline-size; color: var(--ink); }
.pr-sheet [data-bind]:empty { display: inline-block; min-width: 50%; border-bottom: 2px dotted var(--field); min-height: 1em; }
.pr-sign { text-align: center; border: 10px solid var(--teal); }
.pr-decor { position: absolute; width: 38%; top: -10%; right: -10%; }
.pr-kicker { font-weight: 800; font-size: 5.5cqi; margin: 6% 0 0; color: var(--teal-dark); text-transform: uppercase; letter-spacing: 0.04em; position: relative; }
.pr-big { font-weight: 900; font-size: 11cqi; line-height: 1.05; margin: 2% 0 4%; position: relative; }
.pr-name { font-weight: 900; font-size: 9cqi; line-height: 1.1; margin: 0 0 6%; color: var(--teal); min-height: 1.1em; }
.pr-facts { margin: 0 auto; display: grid; gap: 4cqi; font-size: 4.2cqi; width: 90%; text-align: left; }
.pr-facts div { border-top: 2px solid var(--divider); padding-top: 2cqi; }
.pr-facts dt { font-weight: 700; color: var(--muted); font-size: 3.4cqi; }
.pr-facts dd { margin: 0; font-weight: 800; font-size: 5cqi; }
.pr-foot { margin-top: auto; font-weight: 700; font-size: 4cqi; }
.pr-credit { font-size: 2.6cqi; color: var(--muted); margin: 2% 0 0; text-align: center; }
.pr-cert { border: 3cqi double var(--teal); padding: 6%; text-align: center; }
.pr-cert-inner { border: 1px solid var(--sun); height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 6%; background: var(--sun-soft); }
.pr-star { width: 30%; }
.pr-for { font-size: 5cqi; font-weight: 700; margin: 0 0 8%; max-width: 90%; }
.pr-sign-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4cqi; width: 100%; font-size: 3.6cqi; margin-top: auto; }
.pr-sign-row div { display: flex; flex-direction: column; }
.pr-line { border-bottom: 2px solid var(--ink); min-height: 1.4em; font-weight: 700; }
.pr-sign-row small { color: var(--muted); margin-top: 1cqi; }
.pr-log-head { display: flex; justify-content: space-between; align-items: baseline; gap: 4cqi; }
.pr-log .pr-kicker { margin: 0; font-size: 6cqi; }
.pr-log-who { font-weight: 800; font-size: 3.6cqi; margin: 0; }
.pr-log-who span { color: var(--muted); margin-left: 2cqi; }
.pr-log-who span [data-bind]:empty, .pr-log-who > [data-bind]:empty { min-width: 6em; }
.pr-table { width: 100%; border-collapse: collapse; margin-top: 4cqi; font-size: 3cqi; flex: 1; }
.pr-table th { background: var(--teal); color: #fff; text-align: left; padding: 1.5cqi; }
.pr-table td { border: 1px solid var(--border); height: 5.2cqi; }
.pr-table th:nth-child(2) { width: 45%; }
@media (max-width: 900px) { .pr-layout { grid-template-columns: 1fr; } }
@media print {
  .printable-page .bar, .printable-page .foot, .printable-page .skip, .printable-page .no-print { display: none !important; }
  .printable-page .wrap, .printable-page .block { padding: 0; margin: 0; max-width: none; }
  .printable-page .pr-layout { display: block; }
  .printable-page .pr-preview { background: none; padding: 0; border-radius: 0; }
  .printable-page .pr-sheet { max-width: none; width: 100%; height: 265mm; aspect-ratio: auto; box-shadow: none; margin: 0; }
  .printable-page main { flex: none; }
  body.printable-page { display: block; min-height: 0; }
  .printable-page .pr-sheet [data-bind]:empty { border-bottom-color: #999; }
  .pr-sheet, .pr-sheet * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.pr-foot [data-bind]:empty { display: none; }
.pr-sign .pr-facts { gap: 6cqi; margin-top: 2cqi; }
.pr-sign .pr-facts dt { font-size: 3.8cqi; }
.pr-sign .pr-facts dd { font-size: 6.2cqi; min-height: 1.3em; }
.pr-sign .pr-facts dd [data-bind]:empty { min-width: 80%; }
.pr-sign .pr-name { font-size: 10cqi; }
.pr-log .pr-kicker { white-space: nowrap; }
@media print { .pd-today { outline: none; } }
@media (max-width: 760px) { .compare tbody th { min-width: 9.5em; } }

[hidden] { display: none !important; }
