#building-age-toggle{font-weight:800}.building-age-legend,.building-age-detail{position:absolute;left:12px;z-index:46;background:#fffffff5;color:#19334f;border:1px solid #d8e2ec;border-radius:13px;box-shadow:0 3px 14px #17273820;font-size:11px;line-height:1.55}.building-age-legend{top:116px;width:258px;max-width:calc(100% - 90px);padding:12px}.age-heading{display:flex;align-items:center;justify-content:space-between;gap:6px}.age-heading b{font-size:13px}.age-heading button,.age-close{border:0;background:#f1f5f9;color:#334b67;border-radius:8px;min-width:30px;min-height:30px;font-size:20px;cursor:pointer}.age-swatches{display:flex;flex-wrap:wrap;gap:5px 9px;margin:9px 0}.age-swatches span{white-space:nowrap;font-size:10px}.age-swatches i{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:4px}.age-counts{display:grid;gap:3px;margin:10px 0}.age-counts strong{font-size:18px;letter-spacing:-.4px}.age-counts small{color:#718296}.age-note{display:block;margin-top:9px;color:#708094;font-size:9px}.age-note a{color:#38688e}.age-list-button,.age-pages button,[data-age-retry]{border:1px solid #d5e2ef;background:#f2f7fc;color:#245c8c;border-radius:8px;padding:7px 10px;font-weight:700;cursor:pointer}.age-summary-hint{margin:8px 0;color:#61738a}.building-age-detail{bottom:34px;max-height:55%;overflow:auto;overscroll-behavior:contain;width:300px;max-width:calc(100% - 90px);padding:18px}.building-age-detail h3{font-size:16px;line-height:1.5;padding-right:25px;margin:4px 0 10px}.age-close{position:absolute;right:10px;top:10px}.age-value{display:block;font-size:23px}.building-age-detail dl{display:grid;grid-template-columns:1fr 1.3fr;gap:7px;margin:14px 0}.building-age-detail dt{color:#708094}.building-age-detail dd{margin:0;text-align:right}.age-building-list button{display:flex;justify-content:space-between;gap:8px;width:100%;border:0;border-bottom:1px solid #e3e9f0;background:transparent;text-align:left;padding:10px 0;color:#294965;cursor:pointer}.age-building-list b{white-space:nowrap}.age-pages{display:flex;justify-content:space-between;align-items:center;margin-top:10px}.age-pages button:disabled{opacity:.4;cursor:default}.building-age-status{position:absolute;left:12px;bottom:26px;z-index:47;padding:8px 12px;border-radius:8px;background:#17344eee;color:white;font-size:11px;pointer-events:none;max-width:calc(100% - 90px)}.building-age-legend[hidden],.building-age-detail[hidden],.building-age-status[hidden]{display:none!important}@media(max-width:899px){.building-age-legend{top:117px;left:10px;width:230px;padding:10px}.building-age-detail{left:10px;padding:15px}.age-counts strong{font-size:16px}}@media(max-height:640px){.building-age-legend{top:106px;padding:8px}.building-age-legend .age-note{display:none}.building-age-detail{max-height:70%}}
#building-age-toggle{white-space:nowrap;padding-inline:4px}
.building-age-legend{top:auto;bottom:34px;width:268px;max-height:58%;overflow:auto;overscroll-behavior:contain}
.building-age-legend[data-collapsed=true]{width:212px;padding:0;overflow:hidden}
.age-expand{display:grid;gap:3px;width:100%;padding:11px 13px;border:0;border-radius:12px;background:transparent;color:inherit;text-align:left;cursor:pointer;font:inherit}
.age-expand:focus-visible,.age-heading button:focus-visible,.age-list-button:focus-visible,.age-close:focus-visible{outline:2px solid #1765e8;outline-offset:2px}
.age-compact-heading{display:flex;align-items:center;justify-content:space-between;font-size:11px;font-weight:700;color:#536b82}
.age-compact-heading>span{font-size:18px;line-height:1}
.age-expand>b{font-size:15px;letter-spacing:-.3px}
.age-expand>small{font-size:10px;color:#536b82}
.age-expand .age-compact-note{font-size:9px;color:#788797}
.age-heading button,.age-close{min-width:32px;min-height:32px}
.age-toggle-help{display:block;margin-top:9px;padding-top:7px;border-top:1px solid #e3eaf1;color:#64778b;font-size:10px}
.age-progress{color:#526b84}.age-progress p{margin:8px 0;color:#61738a}
/* One unobtrusive panel; announcements do not add a second loading toast. */
.building-age-status{width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.building-age-detail,.building-age-detail *,.building-age-legend,.building-age-legend *{touch-action:pan-y!important}
@media(max-width:899px){.building-age-legend{top:auto;width:250px}.building-age-legend[data-collapsed=true]{width:206px;padding:0}}
@media(max-height:640px){.building-age-legend{top:auto;max-height:66%}.building-age-legend .age-note{display:block}.age-expand{padding:8px 11px}}
@media(max-height:740px){.map-layers #building-age-toggle{position:absolute;right:calc(100% + 8px);top:0}}
