:root {
  color-scheme: light;
  --cream: #fffcf5;
  --paper: #fffefa;
  --navy: #1d2744;
  --navy-deep: #19223b;
  --gold: #c89c55;
  --bronze: #84602f;
  --muted: #596271;
  --line: #ddd9cd;
  --soft: #f4f0e6;
  --gutter: clamp(1.25rem, 4.3vw, 4.75rem);
  --display: "Playfair Display", Georgia, serif;
  --body: "Golos Text", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--cream); color: var(--navy); font: 1rem/1.5 var(--body); }
button, input, select { font: inherit; color: inherit; }
button, select { cursor: pointer; }
button { background: none; border: 0; }
a { color: inherit; text-underline-offset: .2em; }
button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
[hidden] { display: none !important; }
.access-gate { min-height: 100vh; min-height: 100dvh; display: grid; align-content: center; padding: 2rem var(--gutter); }
.access-gate > div { width: min(100%, 36rem); margin-inline: auto; }
.gate-brand { margin: 0 0 1rem; color: var(--bronze); font-weight: 500; }
.access-gate h1 { margin: 0; font: 500 clamp(2.1rem, 6vw, 3.4rem)/1.15 var(--display); }
#access-message { margin: .8rem 0 1.25rem; color: var(--muted); }
.gate-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.gate-actions button { padding: .6rem 1rem; border-radius: .35rem; background: var(--navy); color: var(--cream); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon, .save-button svg, .detail-save svg, .filter-chip svg, .location svg { width: 1.2rem; height: 1.2rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; z-index: 9; left: var(--gutter); top: -8rem; padding: .75rem 1rem; background: var(--cream); color: var(--navy); }
.skip-link:focus { top: .5rem; }
.frame { width: 100%; max-width: 104rem; padding-inline: var(--gutter); margin-inline: auto; }

.account-layout { display: grid; grid-template-columns: clamp(15.25rem, 17vw, 17rem) minmax(0, 1fr); min-height: 100vh; }
.workspace { min-width: 0; container: workspace / inline-size; display: flex; flex-direction: column; }
.workspace main { flex: 1; }
#sidebar-host { background: var(--soft); border-inline-end: 1px solid var(--line); }
.sidebar-panel { position: sticky; top: 0; display: flex; flex-direction: column; height: 100vh; height: 100dvh; overflow-y: auto; padding: 0 .8rem; }
.sidebar-head { display: flex; align-items: center; justify-content: space-between; min-height: 6.3rem; margin-inline: .58rem; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; flex: none; align-items: center; gap: .78rem; text-decoration: none; }
.brand-name { font: 500 2.8rem/.92 var(--display); letter-spacing: -.075em; padding-bottom: .16em; }
.brand-descriptor { padding: .16rem 0 .14rem .76rem; border-inline-start: 1px solid var(--gold); font: 500 .62rem/1.35 var(--body); text-transform: uppercase; letter-spacing: .115em; }
.account-nav { display: flex; flex-direction: column; gap: .3rem; padding-block: 1.85rem; }
.account-label { margin: 0 .68rem .62rem; color: #716047; font: 500 .73rem/1.4 var(--body); letter-spacing: .12em; text-transform: uppercase; }
.nav-item { display: flex; align-items: center; gap: .55rem; width: 100%; min-height: 2.85rem; padding: .65rem .68rem; border-radius: .35rem; text-align: start; font-size: .875rem; line-height: 1.35; }
.nav-item:hover { background: #eae5d9; }
#account-link { text-decoration: none; margin-top: .6rem; }
#account-link span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-item[aria-pressed="true"] { background: var(--navy); color: var(--cream); }
.nav-item .icon { width: 1.1rem; height: 1.1rem; }
.nav-item[aria-pressed="true"] .icon { color: #ebcd9c; }
.nav-count { display: inline-grid; place-items: center; min-width: 1.38rem; height: 1.38rem; margin-inline-start: auto; padding-inline: .32rem; border-radius: 2rem; background: #e6e0d2; font-size: .75rem; font-variant-numeric: tabular-nums; }
.nav-item[aria-pressed="true"] .nav-count { color: var(--cream); background: #3a435b; }
.sidebar-footer { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin: auto .58rem 0; padding: 1rem 0 max(1rem, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.language-label { display: flex; align-items: center; gap: .5rem; color: var(--muted); font-size: .85rem; }
.language-label .icon { width: 1.05rem; height: 1.05rem; }
.language { display: inline-flex; padding: .12rem; border: 1px solid #d8d2c4; border-radius: .4rem; }
.language button { min-width: 2.2rem; min-height: 1.87rem; border-radius: .25rem; color: var(--muted); font-size: .77rem; }
.language button:hover { color: var(--navy); }
.language button[aria-pressed="true"] { background: var(--paper); box-shadow: 0 1px 3px #19223b25; color: var(--navy); font-weight: 600; }
.mobile-bar, #menu-close { display: none; }
.menu-button { display: inline-flex; align-items: center; justify-content: center; gap: .48rem; min-width: 2.75rem; min-height: 2.75rem; border: 1px solid var(--line); border-radius: .35rem; font-size: .86rem; }
.menu-button:hover { background: #eae5d9; }
#menu-open { padding-inline: .78rem; }
#sidebar-drawer { position: fixed; inset: 0 auto 0 0; width: min(19rem, calc(100% - 3rem)); height: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; border-radius: 0; background: var(--soft); }
#sidebar-drawer::backdrop { background: #121a30a6; }
body:has(#sidebar-drawer[open]) { overflow: hidden; }
@media (max-width: 56rem) {
  html { scroll-padding-top: 4.25rem; }
  .account-layout { display: block; }
  #sidebar-host { display: none; }
  .workspace { min-height: 100dvh; }
  .mobile-bar { position: sticky; z-index: 2; top: 0; display: flex; align-items: center; justify-content: space-between; padding: .6rem clamp(1rem,3vw,2rem); border-bottom: 1px solid var(--line); background: var(--cream); }
  .mobile-bar .brand-name { font-size: 2.35rem; }
  .mobile-bar .brand-descriptor { font-size: .56rem; }
  #menu-close { display: inline-flex; }
  #sidebar-drawer .sidebar-panel { position: static; height: 100%; }
  #sidebar-drawer .sidebar-head { min-height: 5.4rem; gap: .5rem; }
  #sidebar-drawer .language button { min-height: 2.5rem; min-width: 2.5rem; }
}

.hero { overflow: hidden; background: var(--navy-deep); color: var(--cream); }
.hero-inner { position: relative; isolation: isolate; display: flex; min-height: clamp(12rem, 17cqw, 14.5rem); align-items: center; }
.hero-copy { width: 62%; padding-block: 1.65rem 1.85rem; }
.eyebrow { display: flex; align-items: center; gap: .7rem; margin: 0 0 .85rem; font-size: .75rem; line-height: 1.5; letter-spacing: .15em; text-transform: uppercase; color: #e8cca0; }
.gold-rule { width: 1.85rem; height: 1px; background: var(--gold); }
.hero h1 { margin: 0; font: 400 clamp(2.65rem,4.38cqw,4.55rem)/1.12 var(--display); letter-spacing: -.047em; }
.hero h1 em { font-weight: 400; color: #f6e9d4; }
.hero-summary { max-width: 35rem; margin: .94rem 0 0; color: #dedfe2; font-size: clamp(.9rem, 1.12cqw, 1.08rem); line-height: 1.55; }
.hero-photo { position: absolute; z-index: -1; overflow: hidden; inset: 0 0 0 auto; width: 40.5%; background: #424546; }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #19223b42, #19223b0a 65%); border-inline-start: 1px solid #c89c5580; }

.directory { padding-block: clamp(1.6rem,2.55vw,2.7rem) 3.1rem; min-height: 44vh; }
.search-toolbar { display: flex; align-items: center; gap: .7rem; }
.search-box { display: flex; align-items: center; gap: .72rem; width: clamp(16rem,40vw,34rem); min-width: 0; background: var(--paper); border: 1px solid #c6c4ba; border-radius: .32rem; padding-inline: .98rem; color: var(--muted); }
.search-box .icon { width: 1.18rem; height: 1.18rem; }
.search-box input { width: 100%; min-width: 0; height: 2.85rem; padding: 0; border: 0; outline: none; background: transparent; color: var(--navy); font-size: .96rem; }
.search-box:focus-within { border-color: var(--bronze); box-shadow: 0 0 0 1px var(--bronze); }
.search-box input::placeholder { opacity: 1; color: #70757e; }
.filter-button { display: inline-flex; justify-content: center; align-items: center; gap: .47rem; min-height: 2.98rem; padding: .58rem 1.05rem; border-radius: .32rem; border: 1px solid var(--navy); background: var(--navy); color: var(--cream); font-size: .9rem; }
.filter-button:hover, .filter-button[aria-expanded="true"] { background: #35415c; border-color: #35415c; }
.filter-button .icon { width: 1.05rem; height: 1.05rem; }
select { appearance: none; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231d2744' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6.5 9 5.5 5.5L17.5 9'/%3E%3C/svg%3E") no-repeat right .65rem center; border: 1px solid #c6c4ba; border-radius: .32rem; padding: .6rem 2.05rem .6rem .7rem; }
.sort-control { margin-inline-start: auto; display: flex; align-items: center; gap: .65rem; color: var(--muted); font-size: .85rem; }
.sort-control select { height: 2.98rem; color: var(--navy); max-width: 21rem; font-size: .9rem; }
.filters { margin-top: .85rem; padding: 1.2rem 1.4rem 1.4rem; border: 1px solid var(--line); border-radius: .35rem; background: #f6f3eb; }
.filter-head { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; margin-bottom: .8rem; }
.filter-head h2 { margin: 0; font: 500 1.45rem/1.2 var(--display); }
.text-button { padding: .28rem .05rem; color: var(--bronze); font-size: .86rem; text-decoration: underline; text-underline-offset: .2em; }
.filter-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,12.75rem),1fr)); gap: .9rem 1.05rem; }
.filter-grid label { display: grid; align-content: end; gap: .37rem; min-width: 0; font-size: .83rem; color: var(--muted); }
.filter-grid select, .filter-grid input { width: 100%; height: 2.6rem; min-width: 0; font-size: .93rem; color: var(--navy); }
.filter-grid input { border: 1px solid #c6c4ba; border-radius: .32rem; padding: .5rem .7rem; background: var(--paper); }
.filter-grid select:disabled, .filter-grid input:disabled { opacity: .6; cursor: default; }
.results-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: .65rem 1rem; margin: 1.7rem 0 .84rem; }
#result-count { margin: 0; font: 500 clamp(1.22rem,1.72vw,1.68rem)/1.35 var(--display); letter-spacing: -.027em; }
#active-filters { display: flex; flex-wrap: wrap; gap: .35rem .5rem; }
#active-filters:empty { display: none; }
.filter-chip { display: inline-flex; align-items: center; gap: .25rem; padding: .3rem .58rem; border: 1px solid var(--line); border-radius: 3rem; color: var(--muted); background: var(--paper); font-size: .8rem; }
.filter-chip:hover { border-color: var(--bronze); color: var(--navy); }
.filter-chip svg { width: .9rem; height: .9rem; }

.table-wrap { min-width: 0; }
#results-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-variant-numeric: tabular-nums; }
.col-rank { width: 7.5%; }
.col-name { width: 30.5%; }
.col-sat { width: 9.5%; }
.col-act { width: 6%; }
.col-admit { width: 8.5%; }
.col-enroll { width: 10%; }
.col-early { width: 9%; }
.col-tuition { width: 14%; }
.col-save { width: 5%; }
#results-table th { padding: .74rem .65rem .78rem; background: #f1ede2; border-top: 1px solid #bba579; border-bottom: 1px solid #d7d0bf; text-align: left; color: #505867; font-size: .78rem; font-weight: 500; line-height: 1.34; overflow-wrap: break-word; }
#results-table th small { display: block; color: var(--muted); font-weight: 400; font-size: .7rem; line-height: 1.5; }
.rank-sort { margin: 0; padding: .2rem 0; font: inherit; text-align: left; text-underline-offset: .25em; }
.rank-sort:hover, th[aria-sort] .rank-sort { text-decoration: underline; color: var(--navy); }
th[aria-sort] .rank-sort { text-decoration-color: var(--bronze); text-decoration-thickness: 2px; }
#results-table td { vertical-align: middle; padding: .96rem .65rem; border-bottom: 1px solid var(--line); font-size: .94rem; line-height: 1.4; }
#results-table tbody tr:hover { background: #f8f5ec; }
#results-table th:first-child, #results-table td:first-child { padding-inline-start: .9rem; }
#results-table .rank-cell { color: var(--bronze); font: 500 1.35rem/1.12 var(--display); letter-spacing: -.02em; }
#results-table .rank-range { font-size: 1rem; }
#results-table :is(.sat-cell, .act-cell) { white-space: nowrap; }
.identity { display: flex; min-width: 0; align-items: center; gap: .73rem; }
.school-logo { display: grid; place-items: center; flex: 0 0 2.85rem; width: 2.85rem; height: 2.85rem; object-fit: contain; }
span.school-logo { color: var(--bronze); background: #efe9dc; border: 1px solid #ded4c1; border-radius: .24rem; font: 500 1rem/1 var(--display); letter-spacing: -.02em; }
.school-copy { min-width: 0; }
.school-name { display: inline; padding: 0; border: 0; font: 500 clamp(1.03rem,1.28vw,1.35rem)/1.22 var(--display); letter-spacing: -.022em; color: var(--navy); text-align: left; text-decoration: none; overflow-wrap: anywhere; }
.school-name:hover { text-decoration: underline; text-decoration-color: #b19464; text-underline-offset: .14em; }
.location, .metric-meta { margin: .28rem 0 0; color: var(--muted); font: 400 .77rem/1.45 var(--body); }
.location { display: block; }
.location svg { width: .83rem; height: .83rem; vertical-align: -.11em; }
.metric-meta { display: block; }
.early-cell { color: #424c62; }
#results-table .save-cell { text-align: right; padding-right: .7rem; }
.save-button, .icon-button { display: inline-grid; place-items: center; min-width: 2.4rem; min-height: 2.4rem; padding: .35rem; border: 1px solid transparent; border-radius: 50%; color: #737783; }
.save-button:hover, .icon-button:hover { border-color: #dbd2c0; background: #f1ebde; color: var(--navy); }
.save-button[aria-pressed="true"] { color: var(--bronze); background: #f3ebdc; }
.save-button[aria-pressed="true"] svg { fill: #be945b; stroke: #876438; }
.save-button svg { width: 1.32rem; height: 1.32rem; }
.empty { padding: clamp(2rem,6vw,5rem) 1.5rem; border-block: 1px solid var(--line); background: #f8f5ed; text-align: center; }
.empty h2, .empty h3 { margin: 0 0 .4rem; font: 500 1.6rem/1.35 var(--display); }
.empty p { margin: .5rem 0 1rem; color: var(--muted); }
.empty button, .detail-link { display: inline-flex; align-items: center; min-height: 2.5rem; padding: .5rem 1rem; border-radius: 3rem; border: 1px solid var(--navy); color: var(--navy); font-size: .88rem; text-decoration: none; }
.empty button:hover, .detail-link:hover { background: var(--navy); color: var(--cream); }
.list-progress { display: grid; justify-items: center; gap: .6rem; margin-top: 1.85rem; color: var(--muted); font-size: .9rem; }
.list-progress, .site-footer { overflow-anchor: none; }
#load-more { min-height: 2.7rem; padding: .5rem 1.2rem; border: 1px solid var(--line); border-radius: .3rem; color: var(--navy); }
#load-more:hover { border-color: var(--bronze); }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; padding-block: 1.45rem; color: var(--muted); font-size: .8rem; }
.footer-inner p { margin: 0; }
.footer-brand { font: 500 1.55rem/1.3 var(--display); letter-spacing: -.055em; text-decoration: none; color: var(--navy); }
.footer-brand span { padding-inline-start: .2rem; font: 400 .77rem/1.3 var(--body); letter-spacing: 0; }

dialog { position: fixed; inset: 0; width: min(35rem,calc(100% - 2rem)); max-height: 86vh; max-height: 86dvh; margin: auto; padding: clamp(1.5rem,3vw,2.5rem); color: var(--navy); background: var(--cream); border: 1px solid #c8bdab; border-top: 3px solid var(--gold); border-radius: .4rem; overflow-y: auto; box-shadow: 0 1.5rem 5rem #19223b30; }
dialog::backdrop { background: #1017278f; }
#detail-close { position: absolute; top: .7rem; right: .7rem; z-index: 1; background: var(--cream); border-color: var(--line); }
.detail-title { margin: .35rem 1.7rem 1rem 0; font: 500 clamp(1.8rem,4vw,2.4rem)/1.15 var(--display); letter-spacing: -.035em; }
.detail-kicker { margin: 0 1.75rem .45rem 0; font-size: .78rem; color: var(--bronze); letter-spacing: .05em; }
.detail-facts { display: grid; grid-template-columns: minmax(0,1fr) auto; margin: 1.3rem 0; }
.detail-facts > div { display: grid; grid-template-columns: subgrid; grid-column: 1 / -1; }
.detail-facts dt, .detail-facts dd { margin: 0; border-bottom: 1px solid var(--line); padding: .57rem 0; font-size: .89rem; }
.detail-facts dt { color: var(--muted); padding-right: .8rem; }
.detail-facts dd { text-align: right; font-variant-numeric: tabular-nums; }
.detail-section { margin-block: 1.4rem 0; }
.detail-section h3 { margin: 0 0 .45rem; font-size: 1rem; font-weight: 550; }
.detail-section p { margin: 0 0 .7rem; font-size: .92rem; }
.detail-location, .detail-alias { margin: 0 0 .45rem; color: var(--muted); }
#detail-body > .school-logo { width: 3.4rem; height: 3.4rem; margin-bottom: .85rem; }
.detail-actions { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; margin: 1.35rem 0; }
.detail-save { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.5rem; padding: .5rem 1rem; border: 1px solid var(--navy); border-radius: 3rem; color: var(--cream); background: var(--navy); font-size: .88rem; }
.detail-save[aria-pressed="true"] svg { fill: currentColor; }
.detail-section details { padding-block: .3rem; }
.detail-section summary { cursor: pointer; font-size: .92rem; color: var(--bronze); }
.detail-section ul { padding-inline-start: 1.25rem; }
.detail-section li + li { margin-top: .32rem; }
.detail-section .detail-link { display: inline; border: 0; border-radius: 0; padding: 0; color: var(--bronze); background: none; text-decoration: underline; }
.detail-section .detail-link:hover { color: var(--navy); }
.detail-sources { padding-top: .9rem; border-top: 1px solid var(--line); color: var(--muted); }
.detail-sources h3 { font-size: .89rem; }
.detail-sources .detail-credit { margin: .55rem 0 0; font-size: .78rem; }

@container workspace (max-width: 68rem) {
  .frame { --gutter: clamp(1.25rem, 3cqw, 2.5rem); }
  .col-name { width: 29%; }
  .col-sat { width: 10.5%; }
  .col-act { width: 6.5%; }
  .sort-control { gap: .4rem; }
  #results-table th, #results-table td { padding-inline: .45rem; }
  .school-logo { width: 2.45rem; height: 2.45rem; flex-basis: 2.45rem; }
  .identity { gap: .5rem; }
}

@container workspace (max-width: 58rem) {
  .hero-inner { min-height: 11.5rem; }
  .hero-copy { width: 67%; }
  .hero-photo { width: 34%; }
  .hero h1 { font-size: clamp(2.3rem,4.8cqw,3.2rem); }
  .hero-summary { max-width: 26rem; }
  .sort-control > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  #results-table, #results, #results tr, #results td { display: block; }
  #results-table { border-top: 1px solid #bba579; padding-top: .9rem; }
  #results-table colgroup { display: none; }
  #results-table thead { display: none; }
  #results { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; }
  #results tr { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); align-content: start; align-items: start; column-gap: .4rem; row-gap: .7rem; padding: .98rem; border: 1px solid var(--line); border-radius: .32rem; background: var(--paper); }
  #results-table .rank-cell { grid-row: 2; grid-column: 1 / -1; display: flex; align-items: baseline; gap: .4rem; flex-wrap: wrap; font-size: 1.15rem; }
  #results-table .rank-cell::before { content: attr(data-label); color: var(--muted); font: .8rem/1.4 var(--body); letter-spacing: normal; }
  #results-table .name-cell { grid-column: 1 / 6; grid-row: 1; align-self: center; }
  #results-table .save-cell { grid-column: 6; grid-row: 1; align-self: center; justify-self: end; }
  #results-table td, #results-table td:first-child, #results-table .save-cell { padding: 0; border: 0; }
  #results-table td[data-label]:not(.name-cell):not(.rank-cell):not(.save-cell) { grid-column: span 2; min-width: 0; border-top: 1px solid var(--line); padding-top: .5rem; font-size: .92rem; }
  #results-table td[data-label]:not(.name-cell):not(.rank-cell):not(.save-cell)::before { content: attr(data-label); display: block; margin-bottom: .18rem; color: var(--muted); font: 400 .73rem/1.3 var(--body); }
  .school-name { font-size: 1.1rem; }
  .school-logo { width: 2.4rem; height: 2.4rem; flex-basis: 2.4rem; }
  .location { margin-top: .18rem; font-size: .74rem; }
}

@container workspace (max-width: 44rem) {
  .hero-inner { min-height: 11rem; }
  .hero-copy { width: 77%; padding-block: 1.5rem; }
  .hero-photo { width: 36%; }
  .hero-photo::after { border: 0; background: linear-gradient(90deg,var(--navy-deep),#19223b1a); }
  .hero-summary { max-width: 26rem; padding-right: .5rem; margin-top: .75rem; font-size: .9rem; }
  .eyebrow { margin-bottom: .6rem; font-size: .66rem; }
  .search-toolbar { display: grid; grid-template-columns: auto minmax(0,1fr); gap: .55rem; align-items: stretch; }
  .search-box { width: 100%; grid-column: 1 / -1; }
  .filter-button, .sort-control select { min-height: 2.7rem; height: auto; }
  .sort-control { justify-self: stretch; min-width: 0; margin-inline-start: 0; }
  .sort-control select { width: 100%; min-width: 0; max-width: 100%; }
  .directory { padding-block: 1.26rem 2rem; }
  .results-heading { margin-top: 1.25rem; }
  #results { grid-template-columns: minmax(0,1fr); }
  #results tr { grid-template-columns: 1.75rem repeat(4,minmax(0,1fr)) 2.25rem; }
  #results-table td[data-label]:not(.name-cell):not(.rank-cell):not(.save-cell) { grid-column: auto; }
  #results-table .sat-cell, #results-table .enroll-cell { grid-column: 1 / 3 !important; }
  #results-table .act-cell, #results-table .early-cell { grid-column: 3 / 5 !important; }
  #results-table .admit-cell, #results-table .tuition-cell { grid-column: 5 / 7 !important; }
  .footer-inner { flex-wrap: wrap; gap: .5rem; }
}

@container workspace (max-width: 32rem) {
  .search-toolbar { grid-template-columns: minmax(0,1fr) auto; }
  .search-box { grid-column: 1; }
  .sort-control { grid-column: 1 / -1; }
  .frame { --gutter: 1rem; }
  .hero-inner { min-height: 12rem; }
  .hero-copy { width: 79%; }
  .hero-photo { width: 39%; }
  .hero-photo img { object-position: 66% center; }
  .hero h1 { max-width: 23rem; font-size: clamp(2.15rem,8.7cqw,2.65rem); }
  .hero-summary { max-width: 22rem; }
  .filters { padding: .9rem; }
  .filter-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem; }
  .filter-grid label { font-size: .76rem; }
  .search-box input, .filter-grid input, .filter-grid select, .sort-control select { font-size: 1rem; }
  .save-button { min-width: 2.55rem; min-height: 2.6rem; }
}

@container workspace (max-width: 23rem) {
  .filter-grid { grid-template-columns: minmax(0,1fr); }
  #results tr { padding: .75rem; }
}
@media (prefers-reduced-motion: no-preference) {
  button, a { transition: background-color .15s, border-color .15s, color .15s; }
}
