/* Public ABA jobs board and centers directory (pages rendered by functions/). Uses global.css tokens. */
.bd { padding-bottom: 96px; }
.bd a { text-decoration: none; }
.bd-crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 14px; color: var(--muted); padding-top: 22px; }
.bd-crumbs a { color: var(--muted); }
.bd-crumbs a:hover { color: var(--ink); }
.bd-crumbs span[aria-hidden] { opacity: .5; }

/* hero with search */
.bd-hero { padding: 26px 0 22px; display: grid; gap: 14px; }
.bd-hero h1 { font-size: clamp(34px, 5.2vw, 60px); font-weight: 800; letter-spacing: -0.035em; }
.bd-hero .lede { color: var(--muted); font-size: clamp(17px, 1.8vw, 20px); max-width: 44em; }
.bd-stats { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--muted); }
.bd-stats b { color: var(--ink); font-family: var(--mono); font-weight: 600; }
.bd-search { display: grid; grid-template-columns: 1.6fr 1fr 1fr auto; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 8px; box-shadow: 0 24px 60px -40px rgb(15 30 28 / .5); margin-top: 6px; }
.bd-search input, .bd-search select { width: 100%; min-width: 0; font: 500 16px/1.2 var(--body); color: var(--ink); background: var(--bg); border: 1px solid transparent; border-radius: 12px; padding: 13px 14px; appearance: none; -webkit-appearance: none; }
.bd-search select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
.bd-search input:focus, .bd-search select:focus { outline: none; border-color: var(--accent); background: var(--surface); }
.bd-search .btn { padding: 13px 22px; border-radius: 12px; box-shadow: none; }
@media (max-width: 760px) { .bd-search { grid-template-columns: 1fr 1fr; } .bd-search input { grid-column: 1 / -1; } .bd-search .btn { grid-column: 1 / -1; } }

/* chips */
.bd-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 600; font-size: 14px; white-space: nowrap; transition: border-color .15s ease, background .15s ease; }
.chip:hover { border-color: var(--accent); }
.chip .n { font-family: var(--mono); font-size: 12px; color: var(--muted); font-weight: 600; }
.chip[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip[aria-current="true"] .n { color: color-mix(in srgb, var(--bg) 70%, transparent); }

/* layout */
.bd-cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; margin-top: 22px; }
.bd-side { display: grid; gap: 16px; position: sticky; top: 84px; }
@media (max-width: 980px) { .bd-cols { grid-template-columns: minmax(0, 1fr); } .bd-side { position: static; } }
.bd-count { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 4px 0 12px; }
.bd-count h2 { font: 700 18px/1.3 var(--body); letter-spacing: 0; }
.bd-list { display: grid; gap: 10px; }
.bd-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 700px) { .bd-grid2 { grid-template-columns: minmax(0, 1fr); } }

/* logo plate */
.plate { flex: none; display: grid; place-items: center; background: #fff; border-radius: 14px; border: 1px solid var(--line); overflow: hidden; }
.plate img { width: 100%; height: 100%; object-fit: contain; padding: 14%; }
.plate .ini { font: 800 18px/1 var(--display); letter-spacing: -0.02em; }

/* job card */
.job { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.job:hover { border-color: var(--accent); transform: translateY(-1px); box-shadow: 0 18px 40px -30px rgb(15 30 28 / .45); }
.job h3 { font: 700 17px/1.3 var(--body); letter-spacing: 0; }
.job .co { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; margin-top: 3px; }
.job .meta { color: var(--muted); font-size: 14px; margin-top: 2px; }
.job .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; align-items: center; }
.job .when { color: var(--muted); font-size: 13px; white-space: nowrap; }
.job.featured { border-color: color-mix(in srgb, var(--violet) 45%, var(--line)); background: linear-gradient(180deg, color-mix(in srgb, var(--violet-soft) 55%, var(--surface)), var(--surface) 60%); }
.bd .tag { display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 999px; font: 700 12.5px/1.3 var(--body); letter-spacing: 0; text-transform: none; background: var(--sunk); color: var(--muted); }
.bd .tag.new { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
.bd .tag.pay { background: var(--accent-soft); color: var(--accent); }
.bd .tag.role { background: var(--violet-soft); color: var(--violet); }
.bd .tag.feat { background: var(--violet); color: #fff; }
.vmark { flex: none; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--ok); }
.vmark svg { width: 10px; height: 10px; }

/* center card */
.cc { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; color: var(--ink); position: relative; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.cc:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 22px 44px -32px rgb(15 30 28 / .5); }
.cc .banner { height: 78px; display: block; }
.cc .plate { position: absolute; top: 48px; left: 16px; width: 56px; height: 56px; border: 3px solid #fff; box-shadow: 0 8px 22px -10px rgb(0 0 0 / .35); }
.cc .body { padding: 36px 16px 16px; display: grid; gap: 4px; }
.cc h3 { font: 700 17px/1.3 var(--body); letter-spacing: 0; display: flex; gap: 6px; align-items: center; }
.cc .meta { color: var(--muted); font-size: 14px; }
.cc .desc { font-size: 14.5px; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cc .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }

/* side cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: grid; gap: 10px; }
.card h2, .card h3 { font: 700 18px/1.3 var(--body); letter-spacing: 0; }
.card p { color: var(--muted); font-size: 15px; }
.card.cta { background: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%), var(--surface); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.card.cta h2 { font: 800 22px/1.15 var(--display); letter-spacing: -0.02em; }
.card .btn { width: 100%; }
.ticks { list-style: none; padding: 0; margin: 2px 0; display: grid; gap: 7px; font-size: 15px; }
.ticks li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.ticks li::before { content: ''; width: 16px; height: 16px; margin-top: 3px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%230E7C66' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat; }

/* states grid */
.states { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.state { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); font-weight: 600; }
.state:hover { border-color: var(--accent); }
.state .n { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.state.dim { opacity: .55; }
.bd-section { padding: 0; margin-top: 44px; display: grid; gap: 14px; }
.bd-section > h2 { font-size: clamp(24px, 3vw, 32px); }

/* pager and gate */
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 22px; }
.pager a, .pager span { min-width: 42px; text-align: center; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; font-size: 14px; color: var(--ink); }
.pager [aria-current="page"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.gate { margin-top: 18px; text-align: center; padding: 28px 22px; border-radius: var(--r); border: 1px dashed color-mix(in srgb, var(--accent) 45%, var(--line)); background: color-mix(in srgb, var(--accent-soft) 45%, var(--surface)); display: grid; gap: 10px; justify-items: center; }
.gate h3 { font: 800 22px/1.2 var(--display); }
.gate p { color: var(--muted); max-width: 36em; }
.empty { padding: 40px 20px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); display: grid; gap: 8px; justify-items: center; }
.empty h3 { font: 700 20px/1.3 var(--body); }
.empty p { color: var(--muted); }

/* job and center page hero */
.ph { padding: 0; margin-top: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.ph .banner { display: block; height: clamp(110px, 16vw, 190px); }
.ph .in { padding: 0 clamp(18px, 3vw, 32px) clamp(20px, 3vw, 30px); display: grid; gap: 10px; }
.ph .plate { width: clamp(72px, 9vw, 96px); height: clamp(72px, 9vw, 96px); margin-top: calc(clamp(72px, 9vw, 96px) / -2); border: 4px solid #fff; border-radius: 20px; box-shadow: 0 14px 32px -16px rgb(0 0 0 / .4); }
.ph h1 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 800; letter-spacing: -0.03em; }
.ph .co { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; color: var(--ink); }
.ph .co:hover { text-decoration: underline; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 15px; }
.facts span { display: inline-flex; align-items: center; gap: 6px; }
.facts svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.fresh { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.fresh::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 18%, transparent); }
.posting { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 3vw, 32px); }
.posting h2 { font: 800 24px/1.2 var(--display); margin-bottom: 14px; }
.posting h3 { font: 700 18px/1.35 var(--body); letter-spacing: 0; margin: 22px 0 8px; }
.posting p { margin: 0 0 12px; }
.posting ul { margin: 0 0 12px; padding-left: 22px; display: grid; gap: 6px; }
.hours { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours td { padding: 8px 0; border-top: 1px solid var(--line); }
.hours td:last-child { text-align: right; }
.hours tr.today td { font-weight: 700; }
.locked { display: grid; gap: 8px; }
.locked .row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--bg); color: var(--muted); font-size: 15px; }
.locked .row .bar { flex: 1; height: 10px; border-radius: 6px; background: linear-gradient(90deg, var(--line), var(--sunk)); }
.claim { display: grid; gap: 10px; }
.claim input, .claim textarea { width: 100%; font: 500 15px/1.4 var(--body); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; }
.claim textarea { min-height: 84px; resize: vertical; }
.claim label { font-size: 13px; font-weight: 600; color: var(--muted); display: grid; gap: 4px; }
.claim .hp { position: absolute; left: -9999px; }
.note-ok { padding: 14px; border-radius: 12px; background: color-mix(in srgb, var(--ok) 14%, var(--surface)); color: var(--ink); }
.small { font-size: 13.5px; color: var(--muted); }

/* school programs */
.progs { display: grid; gap: 12px; }
.prog { border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; display: grid; gap: 10px; background: var(--bg); }
.prog h3 { margin: 0; font: 700 18px/1.3 var(--body); }
.prog .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.prog dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px 18px; }
.prog dt { font-size: 12.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.prog dd { margin: 2px 0 0; font-size: 15px; }
.prog .btn { justify-self: start; }
.mini { display: grid; gap: 8px; }
.mini a { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: 14.5px; }
.mini a:hover span { text-decoration: underline; }
.mini .plate { border-radius: 10px; }
.bd .tag.rate { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.rate-big { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.rate-big b { font: 800 clamp(44px, 6vw, 64px)/1 var(--display); color: var(--ok); letter-spacing: -0.03em; }
.rate-big span { color: var(--muted); max-width: 30em; }
.rates { margin-top: 16px; }
.rates th { text-align: left; font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 6px 0; }
.rates th:not(:first-child), .rates td:not(:first-child) { text-align: right; white-space: nowrap; padding-left: 12px; }
.checks { list-style: none; padding: 0 !important; display: grid; gap: 8px; }
.checks li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; }
.checks li::before { content: '✓'; font-weight: 800; color: var(--ok); }
.checks li.no::before { content: '–'; color: var(--muted); }
.card.contact p { color: var(--ink); overflow-wrap: anywhere; }
.card.contact a:not(.btn) { color: var(--accent); }
.bd-cols > div { min-width: 0; }
.bd-cols > div[style*="grid"] { grid-template-columns: minmax(0, 1fr); }
.rates { table-layout: fixed; }
.rates th:first-child, .rates td:first-child { width: 58%; overflow-wrap: anywhere; }
.table-scroll { max-width: 100%; overflow-x: auto; }
.posting { min-width: 0; }

/* ---- schools: pass-rate ring, cost, sorts, stat tiles ---- */
.ring .tr { fill: none; stroke: color-mix(in srgb, var(--ink) 10%, transparent); }
.ring .ar { fill: none; stroke-linecap: round; transition: stroke-dashoffset .8s ease; }
.ring.hi .ar { stroke: var(--ok); } .ring.mid .ar { stroke: #D98E04; } .ring.lo .ar { stroke: var(--muted); }
.ring text { font: 800 15px/1 var(--display); fill: var(--ink); letter-spacing: -0.02em; }
.sc { position: relative; }
.sc-rate { position: absolute; top: 12px; right: 12px; display: flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; background: var(--surface); box-shadow: 0 14px 30px -16px rgb(0 0 0 / .55); }
.sc-rate .ring text { font-size: 14px; }
.sc-rate > span { display: grid; font-size: 11.5px; color: var(--muted); line-height: 1.25; }
.sc-rate b { color: var(--ink); font-size: 13px; }
.sc-cost { font-size: 14px; color: var(--muted); }
.sc-cost b { color: var(--ink); font-family: var(--mono); font-weight: 600; }
.sc-cost span { font-size: 12.5px; }
.sorts .chip.rate:not([aria-current]) { border-color: color-mix(in srgb, var(--ok) 45%, var(--line)); color: var(--ok); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.stats.n3 { grid-template-columns: 1.4fr 1fr 1fr; } .stats.n2 { grid-template-columns: 1.4fr 1fr; } .stats.n1 { grid-template-columns: minmax(0, 520px); }
.st { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px; display: grid; gap: 4px; align-content: center; min-width: 0; }
.st b { font: 800 clamp(26px, 3vw, 34px)/1.05 var(--display); letter-spacing: -0.02em; }
.st-k { font: 600 11.5px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.st-s { font-size: 13.5px; color: var(--muted); overflow-wrap: anywhere; }
.st-rate { grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--ok) 16%, transparent), transparent 60%), var(--surface); border-color: color-mix(in srgb, var(--ok) 35%, var(--line)); }
.st-rate > div { display: grid; gap: 3px; }
.st-rate b { color: var(--ok); font-size: clamp(32px, 4vw, 44px); }
.st-rate .ring text { font-size: 18px; }
.st-cost b { font-family: var(--mono); font-weight: 600; }
@media (max-width: 900px) { .stats, .stats.n3, .stats.n2 { grid-template-columns: 1fr 1fr; } .st-rate { grid-column: 1 / -1; } }
@media (max-width: 480px) { .stats, .stats.n3, .stats.n2 { grid-template-columns: 1fr; } }
.prog-h { display: flex; align-items: center; gap: 12px; }
.prog-ic { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--violet-soft); color: var(--violet); font: 800 16px/1 var(--display); }
.prog { background: var(--surface) !important; transition: border-color .15s ease, box-shadow .15s ease; }
.prog:hover { border-color: var(--accent); box-shadow: 0 18px 40px -30px rgb(15 30 28 / .5); }
.prog dl > div { background: var(--bg); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.prog dd { overflow-wrap: anywhere; font-weight: 600; }
.rate-rows { list-style: none; padding: 0 !important; margin: 16px 0 0; display: grid; gap: 0 !important; }
.rate-rows li { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.rr-p { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.rr-p small, .rr-n small { color: var(--muted); font-size: 12.5px; }
.rr-n { display: grid; justify-items: end; text-align: right; flex: none; }
.rr-n b { font: 800 22px/1.1 var(--display); color: var(--ok); }
.sc-rank { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: var(--bg); font: 800 14px/1.2 var(--display); }
@media (max-width: 480px) { .stats, .stats.n3, .stats.n2 { grid-template-columns: 1fr 1fr; } .st { padding: 14px; } .st b { font-size: 24px; } }

/* ---- compare toggles and tray ---- */
.scw { position: relative; }
.scw .cc { height: 100%; }
.cmp-btn { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 700 13px/1 var(--body); cursor: pointer; transition: background .15s ease, border-color .15s ease, transform .15s ease; }
.cmp-btn svg, .cmp-big svg { width: 15px; height: 15px; }
.cmp-btn:hover { border-color: var(--accent); transform: translateY(-1px); }
.cmp-btn.on, .cmp-big.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.scw .cc .body { padding-bottom: 54px; }
.cmp-big { cursor: pointer; font: inherit; font-weight: 700; }
.cmp-tray { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 50; width: min(640px, calc(100vw - 24px)); animation: gs-in .2s ease-out; }
.ct-in { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 16px; border-radius: 999px; background: var(--ink); color: var(--bg); box-shadow: 0 24px 60px -20px rgb(0 0 0 / .6); }
.ct-slots { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; overflow: hidden; font-weight: 700; font-size: 14px; }
.ct-s { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 42%; }
.ct-empty { opacity: .6; font-weight: 600; }
.ct-vs { font: 800 12px/1 var(--mono); opacity: .55; }
.ct-in .btn { flex: none; }
.ct-in .btn.dis { opacity: .45; pointer-events: none; }
.ct-x { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 0; background: color-mix(in srgb, var(--bg) 15%, transparent); color: var(--bg); font-size: 20px; cursor: pointer; }

/* ---- the comparison ---- */
.cmp h1 { font-size: clamp(28px, 4.4vw, 50px); }
.cmp h1 .vs { font: 800 .55em/1 var(--mono); color: var(--muted); vertical-align: middle; padding: 0 .25em; }
.cs { position: relative; height: clamp(380px, 44vw, 440px); margin-top: 16px; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); user-select: none; touch-action: pan-y; box-shadow: 0 34px 80px -50px rgb(15 30 28 / .6); }
.cs-side { position: absolute; inset: 0; background: var(--surface); transition: clip-path .08s linear; }
.cs.dragging .cs-side { transition: none; }
.cs-a { clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.cs-b { clip-path: inset(0 0 0 var(--x)); }
.cs-banner { display: block; width: 100%; height: 42%; }
.cs-b .cs-banner { transform: scaleX(-1); }
.cs-in { position: absolute; top: calc(42% - 34px); width: 44%; display: grid; gap: 8px; justify-items: start; transition: transform .25s ease; }
.cs-a .cs-in { left: clamp(14px, 3vw, 32px); }
.cs-b .cs-in { right: clamp(14px, 3vw, 32px); justify-items: end; text-align: right; }
.cs.lean-a .cs-a .cs-in, .cs.lean-b .cs-b .cs-in { transform: scale(1.04); }
.cs-in .plate { width: 64px; height: 64px; border: 3px solid #fff; border-radius: 18px; box-shadow: 0 10px 26px -12px rgb(0 0 0 / .45); }
.cs-in h2 { font: 800 clamp(16px, 2.2vw, 24px)/1.15 var(--display); letter-spacing: -0.02em; display: flex; gap: 6px; align-items: center; }
.cs-in h2 a { color: var(--ink); }
.cs-where { color: var(--muted); font-size: 14px; }
.cs-big { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.cs-b .cs-big { justify-content: flex-end; }
.cs-rate { display: flex; align-items: center; gap: 10px; }
.cs-rate span { display: grid; font-weight: 700; font-size: 13px; line-height: 1.25; }
.cs-rate small { color: var(--muted); font-weight: 600; }
.cs-rate.none span { color: var(--muted); font-weight: 600; }
.cs-cost { display: grid; }
.cs-cost b { font: 600 clamp(18px, 2.4vw, 26px)/1.1 var(--mono); }
.cs-cost span { font-size: 12.5px; color: var(--muted); }
.cs-handle { position: absolute; top: 0; bottom: 0; left: var(--x); width: 0; z-index: 3; cursor: ew-resize; outline: none; }
.cs-handle::before { content: ''; position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; background: var(--ink); opacity: .85; }
.cs-knob { position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgb(0 0 0 / .55); transition: transform .15s ease; }
.cs-knob svg { width: 24px; height: 24px; }
.cs-handle:hover .cs-knob, .cs.dragging .cs-knob, .cs-handle:focus-visible .cs-knob { transform: translate(-50%, -50%) scale(1.12); }
.cs-hint { position: absolute; bottom: 14px; left: 0; transform: translateX(-50%); white-space: nowrap; padding: 5px 10px; border-radius: 999px; background: var(--ink); color: var(--bg); font: 700 12px/1 var(--body); opacity: .9; }
.cs.dragging .cs-hint { opacity: 0; }
@media (max-width: 640px) { .cs { height: 470px; } .cs-in { width: 46%; top: calc(42% - 28px); } .cs-in .plate { width: 52px; height: 52px; } .cs-rate .ring { width: 56px; height: 56px; } .cs-rate span { font-size: 12px; } .cs .btn-sm { padding: 8px 10px; font-size: 13px; } }
.cv { margin-top: 22px; padding: clamp(18px, 3vw, 28px); border-radius: 22px; background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 60%), var(--surface); border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line)); }
.cv h2 { font: 800 22px/1.2 var(--display); margin-bottom: 10px; }
.cv-list { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 16px; }
.crs { margin-top: 18px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.cr { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 14px; padding: 14px clamp(14px, 2.4vw, 24px); border-top: 1px solid var(--line); align-items: center; }
.cr:first-child { border-top: 0; }
.cr-h { background: var(--bg); font-size: 14px; }
.cr-l b { display: block; font-size: 15px; }
.cr-l small { color: var(--muted); font-size: 12.5px; }
.cr-v { display: grid; gap: 6px; min-width: 0; }
.cr-t { display: flex; align-items: center; gap: 6px; font-weight: 600; overflow-wrap: anywhere; }
.cr-t i { color: var(--muted); font-style: normal; font-weight: 500; }
.cr-v.win .cr-t { color: var(--ok); font-weight: 800; }
.cr-w { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 12px; }
.cr-bar { display: block; height: 8px; border-radius: 99px; background: var(--sunk); overflow: hidden; }
.cr-bar.none { display: none; }
.cr-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--muted); transition: width .9s cubic-bezier(.2, .8, .2, 1); }
.crs.in .cr-bar span { width: var(--w); }
.cr-a .cr-bar span { background: var(--k-schools); } .cr-b .cr-bar span { background: var(--k-centers); }
.cr-v.win .cr-bar span { background: var(--ok); }
@media (max-width: 640px) { .cr { grid-template-columns: 1fr 1fr; } .cr-l { grid-column: 1 / -1; } .cr-h .cr-l { display: none; } }
.cr-apply .btn { justify-self: start; }
@media (max-width: 640px) { .cs-in .btn, .cs-cost span { display: none; } .cs-in { gap: 6px; } .cs-in h2 { font-size: 15px; } .cs-where { font-size: 12.5px; } .cs { height: 400px; } }

/* school card: info as tiles */
.sc .meta { display: flex; align-items: center; gap: 6px; }
.sc .meta svg { width: 14px; height: 14px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; }
.sc-stats { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 6px; margin-top: 8px; }
.ss { display: grid; gap: 1px; padding: 9px 10px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); min-width: 0; }
.ss-k { font: 600 10px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ss b { font: 800 17px/1.15 var(--display); letter-spacing: -0.01em; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ss small { font-size: 11.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ss-cost { background: color-mix(in srgb, var(--k-schools) 8%, var(--bg)); border-color: color-mix(in srgb, var(--k-schools) 25%, var(--line)); }
.ss-cost b { font-family: var(--mono); font-weight: 600; font-size: 16px; }
.ss-rate.hi { background: color-mix(in srgb, var(--ok) 10%, var(--bg)); border-color: color-mix(in srgb, var(--ok) 35%, var(--line)); } .ss-rate.hi b { color: var(--ok); }
.ss-rate.mid b { color: #B87503; } .ss-rate.mid { border-color: color-mix(in srgb, #D98E04 35%, var(--line)); }
.sc .desc { margin-top: 8px; }


/* compare v2: roomier faces, hint on top, boxes, head to head */
.cs { height: clamp(430px, 40vw, 460px); }
.cs-banner { height: 30%; }
.cs-in { top: calc(30% - 36px); width: calc(50% - 46px); gap: 10px; }
.cs-in .plate { width: 72px; height: 72px; }
.cs-box { display: grid; gap: 4px; justify-items: inherit; width: 100%; padding: 10px 12px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.cs-b .cs-box { justify-items: end; text-align: right; }
.cs-rbox.hi { background: color-mix(in srgb, var(--ok) 10%, var(--bg)); border-color: color-mix(in srgb, var(--ok) 35%, var(--line)); }
.cs-tbox { background: color-mix(in srgb, var(--k-schools) 7%, var(--bg)); }
.cs-k { font: 600 10.5px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cs-box b { font: 800 clamp(16px, 2vw, 20px)/1.15 var(--display); }
.cs-box b.cs-money { font: 600 clamp(18px, 2.2vw, 24px)/1.1 var(--mono); }
.cs-box small { font-size: 12px; color: var(--muted); }
.cs-none { font-size: 13.5px; color: var(--muted); }
.cs-b .cs-rate { flex-direction: row-reverse; }
.cs-hint { top: 14px; bottom: auto; }
.cs-where { margin-top: -6px; }
@media (max-width: 640px) {
  .cs { height: 470px; }
  .cs-in { width: calc(50% - 30px); top: calc(30% - 28px); gap: 8px; }
  .cs-in .plate { width: 54px; height: 54px; }
  .cs-in h2 { font-size: 15px; }
  .cs-rate .ring { width: 48px; height: 48px; }
  .cs-rate span { font-size: 11.5px; }
  .cs-box { padding: 8px 9px; }
  .cs-cost span, .cs-in .btn { display: none; }
}
.sb { margin-top: 20px; display: grid; gap: 10px; }
.sb-g { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: stretch; }
.sb-vs { align-self: center; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--bg); font: 800 14px/1 var(--display); }
.sb-c { display: grid; gap: 8px; align-content: start; padding: 16px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.sb-c.ahead { border: 2px solid var(--ok); background: color-mix(in srgb, var(--ok) 8%, var(--surface)); }
.sb-h { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14.5px; min-width: 0; }
.sb-h span { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sb-n { color: var(--muted); font-weight: 600; }
.sb-n b { font: 800 34px/1 var(--display); color: var(--ink); margin-right: 4px; }
.sb-c.ahead .sb-n b { color: var(--ok); }
.sb-c ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 14px; }
.sb-c li { display: flex; gap: 8px; align-items: center; }
.sb-c li::before { content: '✓'; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 800; }
@media (max-width: 520px) { .sb-g { grid-template-columns: 1fr 1fr; } .sb-vs { display: none; } }
@media (min-width: 641px) { .cs { height: 540px; } .cs-in { max-width: 400px; } .cs-banner { height: 26%; } .cs-in { top: calc(26% - 36px); } }
.cs-knob { top: 14%; }
.cs-hint { top: auto; bottom: 14px; }

/* ---- sign-up moments (gate.js) ---- */
.gated-on { position: relative; max-height: 260px; overflow: hidden; filter: blur(6px); pointer-events: none; user-select: none; -webkit-mask-image: linear-gradient(#000 40%, transparent); mask-image: linear-gradient(#000 40%, transparent); }
.gated-on.gated-quiet { max-height: 90px; }
.gate-wall { position: relative; z-index: 2; margin-bottom: -120px; padding: 0 0 10px; }
.gw-in { position: relative; display: grid; gap: 10px; justify-items: center; text-align: center; padding: 26px 22px; border-radius: 22px; background: radial-gradient(120% 140% at 50% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%), var(--surface); border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line)); box-shadow: 0 30px 70px -36px rgb(15 30 28 / .55); }
.gw-k { font: 600 11px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.gw-in h3 { font: 800 clamp(20px, 2.6vw, 26px)/1.15 var(--display); letter-spacing: -0.02em; }
.gw-in p { color: var(--muted); max-width: 34em; }
.gw-in-link { font-size: 14px; color: var(--muted); }
.meter-note { margin-top: 14px; padding: 10px 14px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 10%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line)); font-size: 14px; }
.meter-note a { color: var(--accent); font-weight: 700; }
.apply-gate { position: fixed; inset: 0; z-index: 80; background: rgb(8 20 18 / .45); display: grid; place-items: center; padding: 16px; animation: gs-in .15s ease-out; }
.ag-card { position: relative; width: min(460px, 100%); display: grid; gap: 12px; padding: 26px 24px 20px; border-radius: 24px; background: var(--surface); box-shadow: 0 40px 90px -30px rgb(0 0 0 / .6); }
.ag-card h3 { font: 800 22px/1.2 var(--display); letter-spacing: -0.02em; padding-right: 24px; }
.ag-card .btn { width: 100%; }
.ag-go { text-align: center; font-weight: 700; font-size: 15px; color: var(--ink); padding: 8px; }
.ag-x { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--sunk); color: var(--ink); font-size: 20px; cursor: pointer; }
.prompt-bar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 45; width: min(620px, calc(100vw - 24px)); display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 18px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 600; font-size: 14.5px; box-shadow: 0 24px 60px -20px rgb(0 0 0 / .6); animation: gs-in .25s ease-out; }
.prompt-bar span { flex: 1; min-width: 0; }
.prompt-bar .btn { flex: none; }
.prompt-bar button { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 0; background: color-mix(in srgb, var(--bg) 15%, transparent); color: var(--bg); font-size: 18px; cursor: pointer; }
.cmp-tray:not([hidden]) ~ .prompt-bar { bottom: 84px; }

/* center page: the two ways in, with website and contacts below */
.ph .in > * { min-width: 0; }
.ctr-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 6px; }
.ctr-ctas .btn { min-height: 48px; padding-inline: 22px; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; }
.ctr-ctas .ctr-jobs svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; }
.ctr-claim { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.ctr-claim .small { color: var(--muted); }
.ctr-more { gap: 8px; opacity: .92; }
.ctr-more .btn { font-weight: 600; }
@media (max-width: 640px) {
  .ctr-ctas { flex-direction: column; align-items: stretch; }
  .ctr-ctas .btn, .ctr-claim .btn { width: 100%; }
  .ctr-claim { flex-direction: column; align-items: stretch; text-align: center; }
  .ctr-ctas, .ctr-more { min-width: 0; width: 100%; }
  .ctr-ctas .btn, .ctr-more .btn { white-space: normal; text-align: center; }
  .ctr-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
  .ctr-more .btn { width: 100%; min-width: 0; padding-inline: 12px; }
}
.ctr-claim .ctr-claim-btn { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.ctr-claim .ctr-claim-btn:hover { background: var(--accent-soft, var(--sunk)); }
