/* Nearest-schools badges and the Addresswell academic score (Oct 5 brief pass), plus the public
   /academic-score methodology page. Loaded late on public pages.
   Selectors use .aw-schools:is(.aw-schools,#aw-ratings-scope): the never-matching id lifts them to id-level
   specificity, so the older listing-reference.css panel overrides (class-only, some !important) cannot restyle
   the rows — without tying these rules to the property page's wrapper, which may move. Colors use the --ws-*
   tokens, so dark mode follows. Trust pass: readable sizes (school names 18px/700, values and body 16px, stage,
   labels and sources 14–15px, line-height 1.4–1.55), the panel has no box of its own (listing-schools-docs.css
   clears the page layout's card), and details open inline on the same surface. */
html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope){container:aw-schools/inline-size}
html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-title{font-size:22px!important;line-height:1.25!important}
html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-intro{margin:4px 0 4px!important;font-size:15px!important;line-height:1.5!important}
html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-empty{font-size:16px!important;line-height:1.55!important}
html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-row{--sch-tone:#1f8a4f;padding:16px 0!important}
html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-row.is-middle{--sch-tone:#c96a04}
html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-row.is-high{--sch-tone:#d23c2a}
html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-row.is-college{--sch-tone:#6447d0}
html[data-aw-theme=dark] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-row{--sch-tone:#2f9e62}
html[data-aw-theme=dark] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-row.is-middle{--sch-tone:#d57a12}
html[data-aw-theme=dark] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-row.is-high{--sch-tone:#dc5140}
html[data-aw-theme=dark] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-row.is-college{--sch-tone:#7d64e0}
html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-row-main{display:grid!important;grid-template-columns:48px minmax(0,1fr) auto;align-items:start;column-gap:14px}
/* The circle, in the stage tone that matches the map marker (marker-art.ts SCHOOL_TONES). Scored: a crisp ring
   around n/10 (our score only). No score: a soft tinted disc with the stage glyph — an icon state, never a number. */
html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-mark{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;margin:2px 0 0;border-radius:50%;background:var(--sch-tone);color:#fff;flex:none;transition:box-shadow .16s ease}
html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-mark .aw-ref-icon{width:24px;height:24px;stroke-width:1.9}
html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-mark.is-unscored{background:color-mix(in srgb,var(--sch-tone) 13%,var(--ws-surface,#fff));color:var(--sch-tone);box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--sch-tone) 34%,transparent)}
html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-mark.is-rated{background:var(--ws-surface,#fff);border:3px solid var(--sch-tone);color:var(--ws-ink,#151b26)}
html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-mark-text{white-space:nowrap;line-height:1;font-variant-numeric:tabular-nums}
html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-mark-value{font-size:19px;font-weight:700;letter-spacing:-.02em}
html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-mark-scale{margin-left:1px;font-size:11px;font-weight:600;color:var(--ws-muted,#636c7a)}
html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-row.is-selected .aw-schools-mark{box-shadow:0 0 0 3px var(--ws-surface,#fff),0 0 0 5px var(--ws-blue,#0b5cf2)}
html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-row-text{display:flex;flex-direction:column;gap:2px;min-width:0}
html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-stage{display:block;margin:0!important;color:var(--ws-muted,#636c7a)!important;font-size:14px!important;font-weight:500!important;line-height:1.45!important;letter-spacing:.005em!important;text-transform:none!important}
html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-name{font-size:18px!important;font-weight:700!important;line-height:1.4!important;color:var(--ws-ink,#151b26);overflow-wrap:anywhere}
html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-row.is-selected .aw-schools-name{color:var(--ws-link,#1458e0)}
html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-meta{margin-top:0;font-size:16px!important;line-height:1.5!important;color:var(--ws-text,#3d4553)}
/* One quiet line naming the score (or why there is none); the number itself lives only in the circle. */
html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-score-line{margin-top:1px;font-size:15px;line-height:1.5;color:var(--ws-muted,#636c7a)}
html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-score-line.is-none{color:var(--ws-muted,#636c7a)}
html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-band{margin-top:2px;font-size:15px;line-height:1.5;color:var(--ws-text,#3d4553)}
html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-band strong{font-weight:700;color:var(--ws-ink,#151b26)}
/* Community reviews (only with an approved provider) are their own line, separate from any score. */
html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-community{display:block;width:fit-content;max-width:100%;margin-top:3px;font-size:15px;font-weight:600;line-height:1.45;color:var(--ws-link,#1458e0)!important;text-decoration:none;border-radius:3px}
html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-community:hover{text-decoration:underline;text-underline-offset:3px}
html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-star{margin-right:3px;color:#b26f00}
html[data-aw-theme=dark] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-star{color:#f2bf4a}
/* Details: a chevron button (the word stays in the accessible name; it shows when the column has room). */
html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-details{position:relative;align-self:start;min-width:40px;min-height:40px;margin-top:6px;padding:0!important}
html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-details .aw-ref-icon{width:16px;height:16px}
html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-details-label{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@container aw-schools (min-width:520px){
 html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-details{padding:6px 12px!important}
 html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-details-label{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}
}
/* Inline details on the row's own surface, aligned with the school's text column when there is room. */
html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-detail{margin:14px 0 0;padding:0;border:0;background:transparent}
html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-facts{gap:10px}
html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-facts>div{grid-template-columns:minmax(0,1fr);gap:0}
html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-facts dt{font-size:14.5px;font-weight:600;line-height:1.45;color:var(--ws-muted,#636c7a)}
html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-facts dd{font-size:16px;line-height:1.55;color:var(--ws-text,#3d4553)!important}
html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-fact-source dd{font-size:14.5px;line-height:1.5;color:var(--ws-muted,#636c7a)!important}
html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-nowrap{white-space:nowrap}
/* Label beside value once the column allows; wide columns (schools under the map) also align details with the name. */
@container aw-schools (min-width:330px){html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-facts>div{grid-template-columns:100px minmax(0,1fr);column-gap:14px}}
@container aw-schools (min-width:480px){
 html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-detail{padding-left:62px}
 html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-facts>div{grid-template-columns:132px minmax(0,1fr);column-gap:20px}
}
/* Footer: what the academic score is (with "How this is calculated"), then the NCES source and eligibility note. */
html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-foot{margin:6px 0 0;padding-top:16px;border-top:1px solid var(--ws-line,#e2e6eb)}
html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) :is(.aw-schools-academic,.aw-schools-ratings){display:flex;align-items:flex-start;gap:8px;margin:0!important;font-size:15px!important;line-height:1.55!important;color:var(--ws-text,#3d4553)!important}
html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-academic strong{font-weight:700;color:var(--ws-ink,#151b26)}
html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-ratings{margin-top:8px!important}
html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-ratings-icon{flex:none;margin-top:4px;color:var(--ws-muted,#636c7a)}
html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) :is(.aw-schools-academic,.aw-schools-ratings) a{color:var(--ws-link,#1458e0)!important;font-weight:600;text-decoration:underline;text-underline-offset:2px;white-space:nowrap}
html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-foot .aw-schools-note{margin:10px 0 0!important;padding:0!important;border:0!important;font-size:14px!important;line-height:1.5!important;color:var(--ws-muted,#636c7a)!important}
html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) :is(button,a):focus-visible{outline:3px solid var(--ws-blue,#0b5cf2)!important;outline-offset:2px!important}
@media (max-width:767px),(pointer:coarse){html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-details{min-width:44px;min-height:44px;margin-top:4px}}
@media (prefers-reduced-motion:reduce){html[data-aw-theme] body .aw-schools:is(.aw-schools,#aw-ratings-scope) .aw-schools-mark{transition:none}}

/* /academic-score — the public methodology page. A calm document column on the public reference tokens. */
html[data-aw-theme] body.pm-public main .aw-score-page{--sc-ink:var(--ref-ink,#141a24);--sc-text:var(--ref-text,#3f4754);--sc-muted:var(--ref-muted,#596b80);--sc-line:var(--ref-line,#e3e7ec);--sc-soft:var(--ref-soft,#f5f7fa);--sc-surface:var(--ref-surface,#fff);--sc-blue:var(--ref-blue,#0b5cf2);--sc-link:var(--ref-link,#1a5fd6);
 --sc-gut:clamp(16px,4vw,24px);box-sizing:border-box;width:100%;max-width:calc(880px + 2 * var(--sc-gut));margin:0 auto;padding:clamp(28px,5vw,64px) var(--sc-gut) clamp(48px,7vw,96px);color:var(--sc-text);font-size:16.5px;line-height:1.6}
html[data-aw-theme] body.pm-public main .aw-score-page :is(h1,h2,h3){color:var(--sc-ink);font-family:inherit;letter-spacing:-.015em}
html[data-aw-theme] body.pm-public main .aw-score-page h1{margin:6px 0 14px!important;font-size:clamp(30px,4.2vw,46px)!important;font-weight:700!important;line-height:1.1!important;letter-spacing:-.025em}
html[data-aw-theme] body.pm-public main .aw-score-page h2{margin:0 0 14px!important;font-size:clamp(21px,2.2vw,26px)!important;font-weight:700!important;line-height:1.25!important}
html[data-aw-theme] body.pm-public main .aw-score-page h3{margin:0 0 6px!important;font-size:17px!important;font-weight:700!important;line-height:1.3!important}
html[data-aw-theme] body.pm-public main .aw-score-page p{margin:0 0 12px}
html[data-aw-theme] body.pm-public main .aw-score-page a{color:var(--sc-link);text-decoration:underline;text-underline-offset:3px}
html[data-aw-theme] body.pm-public main .aw-score-page a:focus-visible{outline:3px solid var(--sc-blue);outline-offset:2px;border-radius:2px}
html[data-aw-theme] body.pm-public main .aw-score-page .aw-score-lede{max-width:720px;font-size:clamp(17px,1.6vw,19.5px);line-height:1.55;color:var(--sc-ink)}
html[data-aw-theme] body.pm-public main .aw-score-page .aw-score-chips{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 0;padding:0;list-style:none}
html[data-aw-theme] body.pm-public main .aw-score-page .aw-score-chips li{display:inline-flex;align-items:center;min-height:30px;padding:4px 12px;border:1px solid var(--sc-line);border-radius:999px;background:var(--sc-surface);color:var(--sc-ink);font-size:13.5px;font-weight:600;line-height:1.2}
html[data-aw-theme] body.pm-public main .aw-score-page .aw-score-callout{margin:22px 0 0;padding:14px 16px;border-left:3px solid var(--sc-blue);border-radius:0 6px 6px 0;background:var(--sc-soft);font-size:15px;line-height:1.55}
html[data-aw-theme] body.pm-public main .aw-score-page .aw-score-callout strong{color:var(--sc-ink)}
html[data-aw-theme] body.pm-public main .aw-score-page .aw-score-section{margin-top:clamp(36px,5vw,56px);padding-top:clamp(28px,4vw,40px);border-top:1px solid var(--sc-line)}
html[data-aw-theme] body.pm-public main .aw-score-page .aw-score-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0 0 16px}
html[data-aw-theme] body.pm-public main .aw-score-page .aw-score-cards article{padding:18px 18px 8px;border:1px solid var(--sc-line);border-radius:8px;background:var(--sc-surface)}
html[data-aw-theme] body.pm-public main .aw-score-page .aw-score-steps{margin:0;padding:0;list-style:none;counter-reset:sc}
html[data-aw-theme] body.pm-public main .aw-score-page .aw-score-steps>li{position:relative;margin:0;padding:0 0 22px 46px;counter-increment:sc}
html[data-aw-theme] body.pm-public main .aw-score-page .aw-score-steps>li::before{content:counter(sc);position:absolute;left:0;top:-1px;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--sc-ink);color:var(--sc-surface);font-size:14px;font-weight:700}
html[data-aw-theme] body.pm-public main .aw-score-page .aw-score-steps>li:not(:last-child)::after{content:'';position:absolute;left:14.5px;top:34px;bottom:6px;width:1px;background:var(--sc-line)}
html[data-aw-theme] body.pm-public main .aw-score-page .aw-score-table{width:100%;margin:4px 0 14px;border-collapse:collapse;font-size:15px;font-variant-numeric:tabular-nums}
html[data-aw-theme] body.pm-public main .aw-score-page .aw-score-table :is(th,td){padding:9px 12px;border-bottom:1px solid var(--sc-line);text-align:left;vertical-align:top}
/* theme.css styles every th as a tiny uppercase label; these tables read as plain text. */
html[data-aw-theme] body.pm-public main .aw-score-page .aw-score-table th{text-transform:none;letter-spacing:0;background:transparent!important}
html[data-aw-theme] body.pm-public main .aw-score-page .aw-score-table thead th{font-size:13px!important;font-weight:700;color:var(--sc-muted)!important;background:var(--sc-soft)!important}
html[data-aw-theme] body.pm-public main .aw-score-page .aw-score-table tbody th{font-size:15px!important;font-weight:600;color:var(--sc-ink)!important}
html[data-aw-theme] body.pm-public main .aw-score-page .aw-score-bandgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(148px,1fr));gap:8px;margin:6px 0 4px;padding:0;list-style:none}
html[data-aw-theme] body.pm-public main .aw-score-page .aw-score-bandgrid li{display:flex;align-items:center;gap:10px;margin:0;padding:8px 10px;border:1px solid var(--sc-line);border-radius:8px;background:var(--sc-surface)}
html[data-aw-theme] body.pm-public main .aw-score-page .aw-score-band-score{display:grid;place-items:center;flex:none;width:32px;height:32px;border:2px solid var(--sc-blue);border-radius:50%;color:var(--sc-ink);font-size:14px;font-weight:700;font-variant-numeric:tabular-nums}
html[data-aw-theme] body.pm-public main .aw-score-page .aw-score-band-range{font-size:13.5px;color:var(--sc-text);font-variant-numeric:tabular-nums;white-space:nowrap}
html[data-aw-theme] body.pm-public main .aw-score-page .aw-score-spread td{display:flex;align-items:center;gap:10px}
html[data-aw-theme] body.pm-public main .aw-score-page .aw-score-spread tbody th{width:64px}
html[data-aw-theme] body.pm-public main .aw-score-page .aw-score-bar{display:block;flex:0 0 auto;width:calc(var(--w) * .7);max-width:70%;min-width:2px;height:10px;border-radius:2px;background:var(--sc-blue);opacity:.85}
html[data-aw-theme] body.pm-public main .aw-score-page .aw-score-sources ul{margin:0 0 12px;padding-left:20px}
html[data-aw-theme] body.pm-public main .aw-score-page .aw-score-sources li{margin:0 0 6px}
html[data-aw-theme] body.pm-public main .aw-score-page .aw-score-fine{font-size:14px;color:var(--sc-muted)}
html[data-aw-theme] body.pm-public main .aw-score-page .aw-score-sr{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}
@media (max-width:640px){
 html[data-aw-theme] body.pm-public main .aw-score-page{font-size:16px}
 html[data-aw-theme] body.pm-public main .aw-score-page .aw-score-cards{grid-template-columns:minmax(0,1fr)}
 html[data-aw-theme] body.pm-public main .aw-score-page .aw-score-steps>li{padding-left:42px}
 html[data-aw-theme] body.pm-public main .aw-score-page .aw-score-table :is(th,td){padding:8px}
}
