/* School SSR. Scoped AmenityViewV2 styling; no React bundle dependency. */
.school-page{--amenity-blue:#2563eb;--amenity-blue-1:#3554d1;--amenity-blue-2:#e5f0fd;--amenity-muted:#667085;--amenity-amber:#b45309;--amenity-rose:#be123c;margin-top:25px;border:1px solid #e5e9f0;border-radius:14px;overflow:hidden;background:#fff;color:#111827}
.school-header{padding:30px 28px 24px;background:#fff;border-bottom:1px solid #e9edf3}.amenity-title-wrap{display:flex;align-items:center;gap:18px}.amenity-title-icon{display:grid;place-items:center;flex:0 0 68px;width:68px;height:68px;background:#f0f4ff;border:1px solid #e1e7f5;border-radius:15px}.amenity-title-icon img{width:48px;height:48px;object-fit:contain}.school-page .amenity-title{font-size:34px;line-height:1.15;letter-spacing:-.035em;font-weight:750;margin:8px 0}.amenity-badge-row{display:flex;flex-wrap:wrap;gap:5px}.amenity-school-pill{display:inline-flex;align-items:center;border:1px solid rgba(15,23,42,.08);border-radius:999px;padding:2px 8px;font-size:10px;font-weight:750;line-height:18px;text-transform:uppercase;background:#eef2f7;color:#344054}.amenity-school-pill--top{background:#fff7ed;color:#b45309}.amenity-school-pill--hot{background:#fff1f2;color:#be123c}.amenity-school-pill--overapplied{background:#ecfdf3;color:#047857}
.school-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0;background:#fff;border-bottom:1px solid #e9edf3}.school-facts>div{padding:16px 24px;border-bottom:1px solid #f0f2f6}.school-facts dt{font-size:10px;color:#667085;font-weight:650;margin-bottom:4px}.school-facts dd{font-size:13px;color:#101828;font-weight:700;margin:0}.school-page .amenity-content{padding:24px 20px 20px;min-width:0}.school-section-heading{margin-bottom:12px}.school-section-heading h2{font-size:21px;line-height:1.3;letter-spacing:-.025em}
.school-page .amenity-multi-entry{display:flex;justify-content:center;margin:16px 0 0}.school-page .amenity-multi-button{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:8px 14px;border:1px solid var(--amenity-blue-1);border-radius:7px;background:var(--amenity-blue-1);color:#fff;font-size:11px;font-weight:800;line-height:1.25;text-align:center;transition:background-color .16s,border-color .16s,color .16s,transform .16s}.school-page .amenity-multi-button:hover{border-color:var(--amenity-blue-2);background:var(--amenity-blue-2);color:var(--amenity-blue-1);transform:translateY(-1px)}
.school-page .amenity-controls{display:grid;grid-template-columns:minmax(0,1fr) 168px;gap:10px;margin-bottom:12px;align-items:stretch}.school-page .amenity-prop-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:4px;min-width:0;border-radius:8px;background:rgba(15,23,42,.06)}.school-page .amenity-prop-tab{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:38px;height:100%;padding:0 8px;border:1px solid transparent;border-radius:6px;color:#475467;font-size:12px;font-weight:800;line-height:1;white-space:nowrap;transition:background .16s,color .16s,border-color .16s,box-shadow .16s}.school-page .amenity-prop-tab.is-active{background:#fff;color:#101828;border-color:rgba(15,23,42,.08);box-shadow:0 8px 18px rgba(15,23,42,.08)}.school-page .amenity-prop-tab:not(.is-active):hover{color:var(--amenity-blue);background:rgba(255,255,255,.54)}.school-page .amenity-distance-control{display:flex;flex-direction:column;justify-content:center;gap:7px;min-width:0;border:1px solid rgba(15,23,42,.09);border-radius:8px;background:rgba(255,255,255,.9);padding:8px 10px}.school-page .amenity-distance-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.school-page .amenity-distance-label{color:#667085;font-size:10px;font-weight:800;letter-spacing:.06em;line-height:1;text-transform:uppercase}.school-page .amenity-distance-value{font-size:12px;font-weight:800;line-height:1;color:#101828}.school-distance-slider{display:block;position:relative;height:5px;background:#3554d1;border-radius:8px;margin:4px 6px 3px 0}.school-distance-slider>span{position:absolute;right:-5px;top:50%;width:15px;height:15px;transform:translateY(-50%);border-radius:50%;background:#3554d1;box-shadow:0 0 0 2px #fff}.amenity-distance-control:hover{border-color:#3554d1}
.school-property-panel[hidden]{display:none}.school-table-frame{position:relative;--school-row-height:64px;--school-head-height:44px}.school-page .amenity-table-shell{overflow-x:auto;border:1px solid rgba(148,163,184,.24);border-radius:8px;background:#fff;box-shadow:0 12px 28px rgba(15,23,42,.06);scrollbar-width:thin;scrollbar-color:rgba(15,23,42,.22) transparent}.school-page .amenity-property-table{width:max-content;min-width:100%;margin:0;border:0;border-collapse:separate;border-spacing:0;table-layout:auto}.school-page .amenity-property-table thead th{height:var(--school-head-height);padding:9px 12px;border-bottom:1px solid rgba(148,163,184,.18);background:#f8fafc;color:#334155;font-size:10px;font-weight:800;line-height:1.2;letter-spacing:.06em;text-align:left;text-transform:uppercase;white-space:nowrap}.amenity-property-table th>a{display:inline-flex;align-items:center;gap:5px}.amenity-property-table th>a:hover{color:#1d4ed8}.amenity-sort-indicator{font-size:10px;opacity:.5}.school-page .amenity-property-table tbody tr{height:var(--school-row-height)}.school-page .amenity-property-table td{padding:8px 12px;border:0;background:#fff;color:#475569;font-size:12px;font-weight:800;line-height:1.35;vertical-align:middle;white-space:nowrap}.school-page .amenity-property-table tr+tr td{border-top:.5px solid rgba(226,232,240,.5)}.school-page .school-visible-row:hover td{background:#f8fbff}.school-page .amenity-property-table__property{min-width:235px;max-width:280px;width:250px}.amenity-property-name-button{display:block;max-width:250px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#101828;font-size:12px;font-weight:800;line-height:1.25}.amenity-property-name-button:hover{color:#2563eb}.amenity-property-subtitle{color:#667085;font-size:11px;font-weight:400;line-height:1.35;margin-top:4px;max-width:250px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.amenity-property-table__distance,.amenity-property-table__score{min-width:96px}.amenity-property-table__past-year-psf{min-width:112px}.amenity-property-table__past-year-txn{min-width:152px}.amenity-property-table__completion,.amenity-property-table__top,.amenity-property-table__total-units{min-width:104px}.amenity-property-table__past-year-median-psf{min-width:132px}.amenity-property-table__type{min-width:100px}.amenity-property-table__view-action{min-width:72px}.amenity-table-view-button{display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(15,23,42,.1);border-radius:6px;height:30px;min-width:54px;padding:0 9px;color:#344054;background:#fff;font-size:10px;font-weight:750}.amenity-table-view-button:hover{color:#3554d1;border-color:#3554d1}.school-locked-row{pointer-events:none}.school-blurred-cell{filter:blur(7px);user-select:none}.school-empty-row td{color:#7f8999!important;font-size:11px!important;font-weight:400!important}.school-table-unlock{position:absolute;left:0;right:0;top:calc(var(--school-head-height) + 3 * var(--school-row-height) + 1px);height:calc(var(--school-locked-rows) * var(--school-row-height));display:grid;place-items:center;pointer-events:none;border-radius:0 0 8px 8px}.school-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.group-card h2{font-size:14px;line-height:1.4;font-weight:650}.school-page a:focus-visible{outline:3px solid #9aafff;outline-offset:3px}
@media(max-width:768px){.school-header{padding:24px 16px 20px}.amenity-title-wrap{gap:12px}.amenity-title-icon{flex-basis:48px;width:48px;height:48px;border-radius:11px}.amenity-title-icon img{width:34px;height:34px}.school-page .amenity-title{font-size:26px}.amenity-school-pill{font-size:8px;padding:0 5px;line-height:17px}.school-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.school-facts>div{padding:12px 15px}.school-facts dt{font-size:9px}.school-facts dd{font-size:11px}.school-page .amenity-content{padding:20px 12px 16px}.school-section-heading h2{font-size:18px}.school-page .amenity-controls{grid-template-columns:minmax(0,1fr) minmax(104px,124px);gap:8px}.school-page .amenity-prop-tab{min-height:42px;gap:5px;padding:0 4px;font-size:11px}.school-page .amenity-prop-tab svg{display:none}.school-page .amenity-multi-button{width:100%;font-size:10px}.school-page .amenity-property-table th,.school-page .amenity-property-table td{padding-left:10px;padding-right:10px}.school-page .amenity-property-table__property{min-width:165px;max-width:190px;width:190px}.amenity-property-name-button,.amenity-property-subtitle{max-width:170px}.school-page{border-radius:10px;margin-top:20px}}
@media(prefers-reduced-motion:reduce){.school-page *{transition:none!important}.school-page a:hover{transform:none}}
.school-location-map{display:block;position:relative;width:100%;height:380px;margin-top:16px;overflow:hidden;border:1px solid #e5e9f0;border-radius:10px;background:#eef2f6;cursor:pointer}.school-location-map-canvas{position:absolute;inset:0;pointer-events:none}.school-location-map-canvas .maplibregl-canvas{position:absolute;left:0;top:0}.school-location-map-canvas .maplibregl-canvas-container{width:100%;height:100%}.school-location-map-marker{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:46px;height:46px;border:2px solid #3554d1;border-radius:12px;background:#fff;box-shadow:0 3px 12px #15244d33;pointer-events:none}.school-location-map-marker img{width:30px;height:30px;object-fit:contain}.school-location-map-label{position:absolute;left:50%;bottom:10px;z-index:2;transform:translateX(-50%);display:inline-flex;align-items:center;min-height:30px;padding:5px 11px;border:1px solid rgba(255,255,255,.7);border-radius:999px;background:rgba(255,255,255,.94);box-shadow:0 3px 12px rgba(15,23,42,.18);color:#3554d1;font-size:12px;font-weight:600;line-height:1;white-space:nowrap;pointer-events:none}.school-location-map::after{content:'';position:absolute;inset:0;z-index:2;background:#000;opacity:0;transition:opacity .15s;pointer-events:none}.school-location-map:hover::after{opacity:.08}@media(max-width:768px){.school-location-map{height:300px;margin-top:16px}}
.school-map-note{margin:7px 0 0;color:#667085;font-size:10px;line-height:1.5;text-align:left}
.school-view-all{height:34px;min-width:96px;padding:0 14px;font-size:12px;pointer-events:auto}
.school-directory-card .property-media img{position:static;width:36px;height:36px;object-fit:contain}.school-directory-card .amenity-badge-row{margin-top:7px}.school-directory-card .amenity-school-pill{font-size:9px;padding:1px 6px;line-height:17px}.school-directory a:focus-visible{outline:3px solid #9aafff;outline-offset:3px}
.school-directory .browse-nav a[aria-current="page"]{background:#e5f0fd;border-color:#b6c9ed;color:#2545a5;font-weight:650}
.school-radius-label{position:absolute;transform:translate(-50%,-50%);padding:2px 7px;border:1px solid currentColor;border-radius:999px;background:rgba(255,255,255,.96);color:#2563eb;font-size:11px;font-weight:750;line-height:1.5;white-space:nowrap;pointer-events:none}.school-radius-label[data-band="2"]{color:#a855f7}
.school-composer-section{margin:0 0 24px}.school-composer{display:block;position:relative;color:#1d2633;cursor:pointer}.school-composer h2{margin:0 0 14px;font-size:21px;line-height:1.25;letter-spacing:-.03em}.school-composer-box{display:block;width:100%;padding:7px 9px 8px;border:1px solid #e5e9ef;border-radius:22px;background:#f5f6f8;transition:border-color .16s,box-shadow .16s}.school-composer:hover .school-composer-box,.school-composer:focus-visible .school-composer-box{border-color:#8ea9c4;box-shadow:0 0 0 3px #174a7e12}.school-composer-prompt{display:block;min-height:48px;padding:12px 7px;color:#64748b;font-size:16px;line-height:24px;white-space:normal;overflow-wrap:anywhere}.school-composer-measure{position:absolute;left:0;top:0;visibility:hidden;pointer-events:none;min-height:0;height:auto}.school-composer-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:4px 1px 0 3px}.school-composer-mode{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 20px 0 14px;border:1px solid #b6c9dc;border-radius:999px;background:#e8f0f8;color:#174a7e;font-size:12.5px;font-weight:550;line-height:1}.school-composer-mode svg{width:18px;height:18px;fill:currentColor}.school-composer-send{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:10px;border-radius:50%;background:#174a7e;color:#fff}.school-composer-send svg{width:100%;height:100%;fill:currentColor}@media(max-width:768px){.school-composer-section{margin-bottom:20px}.school-composer h2{font-size:18px}.school-composer-box{border-radius:20px}}
.school-top-section{padding-bottom:28px}.school-top-strip{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(230px,1fr);gap:12px;overflow-x:auto;padding:3px 3px 9px;margin:-3px;scroll-snap-type:x proximity;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#bac4d5 transparent}.school-top-card{display:flex;align-items:center;gap:12px;min-width:0;min-height:82px;padding:14px;border:1px solid #e3e7eb;border-radius:10px;background:#fff;scroll-snap-align:start;transition:border-color .15s,background .15s}.school-top-card:hover{border-color:#adc0ef;background:#f8fbff}.school-top-icon{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:8px;background:#f4f6f9}.school-top-icon img{display:block;width:32px;height:32px;object-fit:contain}.school-top-card h3{margin:0;font-size:13px;font-weight:650;line-height:1.4;letter-spacing:-.01em;overflow-wrap:anywhere}.school-top-more{justify-content:center;gap:10px;background:#f3f6ff;border-color:#dce3fa;color:#3554d1;font-size:13px;font-weight:650}.school-top-strip:focus-visible{outline:3px solid #9aafff;outline-offset:3px}@media(max-width:600px){.school-top-section{padding-bottom:23px}.school-top-strip{gap:9px;grid-auto-columns:230px}.school-top-card h3{font-size:12px}}
