.location-hero .frame.location-content {width:calc(100% - 2 * clamp(12px,1.6vw,28px));margin-inline:auto}
@media(min-width:1001px){
 .location-hero .location-identity {width:clamp(470px,37.13vw,504px);min-width:0;padding:clamp(25px,2.1vw,35px)}
 .location-hero .location-identity h1 {font-size:clamp(42px,4vw,61px);line-height:1.03}
 .location-hero .location-photo {flex:0 0 min(34vw,535px);border-radius:18px}
 .location-hero .location-photo img {height:clamp(236px,20.5vw,335px)}
}
@media(min-width:761px) and (max-width:1000px){
 .location-hero .school-location .location-identity{min-width:0;width:43%;padding:17px}
 .location-hero .location-photo{flex-basis:34%}.location-hero .location-photo img{height:205px}
}
@media(max-width:760px){
 .location-hero .location-content .location-identity{min-width:0}
 .location-hero .location-photo img{height:clamp(135px,29vw,215px)}
}
@media(max-width:560px){
 .location-hero .location-content.school-location .location-photo{display:block;max-width:none}
 .location-hero .location-content.school-location .location-photo img{width:100%;height:clamp(170px,46vw,245px)}
 .location-hero .location-photo figcaption{padding:7px 10px}
}
.location-identity .message-help{color:#e5f2ea;font-size:.79rem;line-height:1.4;margin:.48rem 0 0}
.profilebody #overview .metrics{grid-template-columns:repeat(auto-fit,minmax(min(9.1rem,100%),1fr))}
.profilebody #overview .metrics:has(>.metric:nth-child(4):last-child){grid-template-columns:repeat(4,minmax(0,1fr))}
.profilebody #academics .metrics{grid-template-columns:repeat(auto-fit,minmax(min(11rem,100%),1fr))}
.profilebody #teaching .metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
.profilebody #opportunities .metrics,.profilebody #finances .metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
.profilebody #students>.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
.profilebody .prep-metrics .metric dd{font-size:clamp(1.2rem,2.25vw,1.85rem)}
.prep-metrics .metric small,.academic-metrics .metric small{display:block;font-size:.85rem;line-height:1.5;margin-top:.45rem}
.profilebody .rank-figure{padding:clamp(1rem,2.2vw,1.6rem);border:1px solid #d4c6de;background:#f7f3f9;border-radius:12px;margin:.75rem 0}
.rank-figure .rank-basis{margin:0;font-size:.95rem;color:#513a61;font-weight:650}
.rank-numbers{display:flex;gap:.55rem;align-items:baseline;flex-wrap:wrap;margin:.32rem 0 1rem}
.rank-numbers strong{font-family:var(--serif);font-weight:400;font-size:clamp(2.7rem,5vw,4.5rem);line-height:1.1;color:#492d59}
.rank-numbers>span{font-size:clamp(1.15rem,2vw,1.65rem);color:#493e4f}
.rank-numbers>b{margin-left:auto;border-radius:1em;background:#5c3b6a;color:#fff;padding:.32rem .72rem;font-size:.95rem}
.rank-ruler{height:13px;position:relative;border-radius:8px;background:linear-gradient(to right,#e2d9e8,#ad90bb,#603d70);margin:0 8px}
.rank-ruler i{position:absolute;top:50%;width:18px;height:18px;border:3px solid white;outline:2px solid #41274c;background:#4d305b;border-radius:50%;transform:translate(-50%,-50%)}
.rank-ends{display:flex;justify-content:space-between;margin:.4rem 0;font-size:.83rem;font-weight:650}
.profilebody .rank-figure>p:last-child{font-size:1.02rem;line-height:1.55;margin:.65rem 0 0}
.student-mix{padding:1rem;border:1px solid #d0ded5;border-radius:10px;margin-top:.85rem}
.student-mix h3{font-family:var(--serif);margin:0;font-size:1.4rem}.student-mix>p{font-size:.87rem;margin:.35rem 0}
.mix-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem 1.3rem;margin:.9rem 0}
.mix-label{display:flex;justify-content:space-between;gap:.5rem;align-items:baseline;font-size:.84rem}
.mix-grid meter{width:100%;height:.55rem;display:block;appearance:none;border:none;background:#e3eee8;border-radius:6px;margin:.3rem 0}
.mix-grid meter::-webkit-meter-bar{height:.55rem;border:0;background:#e3eee8;border-radius:6px}
.mix-grid meter::-webkit-meter-optimum-value{background:#3a7863;border-radius:6px}.mix-grid meter::-moz-meter-bar{background:#3a7863;border-radius:6px}
.mix-grid small{font-size:.72rem;color:#486052}
@media(max-width:760px){
 .profilebody #overview .metrics:has(>.metric:nth-child(4):last-child),.profilebody #teaching .metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
 .profilebody #academics .metrics{grid-template-columns:repeat(auto-fit,minmax(min(10rem,100%),1fr))}
 .profilebody #finances .metric dd{font-size:clamp(1.08rem,4.5vw,1.67rem);overflow-wrap:anywhere}.mix-grid{gap:.65rem}
}
@media(max-width:420px){
 .profilebody #teaching .metric,.profilebody #opportunities .metric,.profilebody #finances .metric,.profilebody #overview .metric{padding:.65rem}
 .profilebody #academics .metrics,.mix-grid{grid-template-columns:minmax(0,1fr)}
}
@media print {.rank-ruler,.mix-grid meter,.fr-property-image,.location-identity{-webkit-print-color-adjust:exact;print-color-adjust:exact}.fr-property,.rank-figure,.metric{break-inside:avoid}}
#nearby-homes .fr-property-image{isolation:isolate}.fr-property-image .estate-preview,.fr-property-image .estate-primary{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
#nearby-homes .estate-preview{z-index:-1}.estate-primary[hidden]{display:none!important}
#nearby-homes [aria-busy=true]{opacity:.72}
.estate-no-source{padding:.85rem 1rem;border-radius:8px;background:#edf4ef}
#nearby-homes .fr-photo-credit{color:#4b5e51}
