/* Office facts use the same boxed grid; missing values stay neutral. */
body[data-area-member-review] .office-map-facts{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;min-height:144px;flex-shrink:0}
body[data-area-member-review] .office-map-facts>[hidden]{display:none!important}
body[data-area-member-review] .office-map-facts>[data-office-fact]{min-width:0;padding:10px 12px!important;box-sizing:border-box}
body[data-area-member-review] .office-map-facts:not(:has(>[data-office-fact=last]))>[data-office-fact=party]{grid-column:1/-1}
body[data-area-member-review] .office-map-facts dt{font:850 10px/1.2 system-ui}
body[data-area-member-review] .office-map-facts dd{margin:5px 0 0;font:800 12px/1.3 system-ui}
body[data-area-member-review] .office-map-election-link{display:flex;align-items:center;gap:6px;margin-top:7px;color:#16766f;font:750 10px/1.3 system-ui;text-decoration:none}
body[data-area-member-review] .office-map-election-link .ptp-inline-page-mark{--ptp-inline-page-mark-color:currentColor;font-size:6px;line-height:1;width:12px;height:14px}
body[data-area-member-review] .office-map-election-link[aria-disabled=true]{color:#768589;cursor:default}
body[data-area-member-review] .office-map-election-link:not([aria-disabled=true]):hover{text-decoration:underline}
body[data-area-member-review] .office-map-election-link:focus-visible{outline:3px solid #c69c43;outline-offset:3px}
body[data-area-council-review] #offices .ward-map-window{height:680px!important}
body[data-area-council-review] #offices .ward-preview-card{height:680px!important;max-height:680px;grid-template-rows:72px 120px minmax(0,1fr)144px 72px!important}
body[data-area-council-review] #offices .ward-preview-facts.office-map-facts{height:144px!important;min-height:144px;grid-template-rows:repeat(2,minmax(0,1fr))!important}
body[data-area-city-appointment-review] .school-map-layout{height:740px}
body[data-area-city-appointment-review] .school-selection{height:740px!important}
@media(max-width:850px){body[data-area-city-appointment-review] .school-map-layout{height:auto}body[data-area-city-appointment-review] .education-map-column,body[data-area-city-appointment-review] .school-selection{height:740px!important}}
