/* İstanbul ground map: additions to the shared neighbourhood map styles in loss-map.css. */
/* The loss map names its inventory year on short phones; this page has no such note. */
body.place-open .metric-bar .scenario::after{content:none}
/* A high value is not a warning here: the figure keeps the text colour instead of the loss map's rust. */
#place-figure{color:#20343a}
/* On phones the measure name stays above the figure; the model is named in the note under it. */
@media(max-width:760px){#place-panel .result-scenario{display:none}#place-measure{display:block;margin:0 0 2px!important;font-size:12px;font-weight:600;color:#566763}}
@media(max-width:760px) and (max-height:650px){#place-panel:not(.details-open) #place-measure{display:none}}
/* Value strip of the place panel: the map's five colour steps along the Vs30 axis, with the neighbourhood's range and median on it. */
.vs-strip{position:relative;height:12px;margin:36px 0 6px}
.vs-strip-track{position:absolute;inset:0;border-radius:3px;outline:1px solid #20343a2e;outline-offset:-1px}
.vs-strip-band{position:absolute;top:-4px;bottom:-4px;min-width:6px;box-sizing:border-box;border:2px solid #203f42;border-radius:5px}
.vs-strip-dot{position:absolute;top:50%;width:10px;height:10px;margin:-5px 0 0 -5px;border-radius:50%;background:#203f42;box-shadow:0 0 0 2px #fff}
.vs-strip-city{position:absolute;bottom:100%;transform:translateX(-50%);padding-bottom:10px;font-size:12px;line-height:1.2;color:#4d6061;white-space:nowrap;font-variant-numeric:tabular-nums}
.vs-strip-city::after{content:'';position:absolute;left:50%;bottom:1px;width:1px;height:7px;background:#4d6061}
.vs-strip-ends{display:flex;justify-content:space-between;margin:0 0 4px!important;font-size:12px;color:#4d6061}
/* District table under the map. Colour classes reuse the map scale: k0 is the softest step. */
.map-about h2:not(:first-child){margin-top:44px}
.k0{--k:var(--c4)}.k1{--k:var(--c3)}.k2{--k:var(--c2)}.k3{--k:var(--c1)}.k4{--k:var(--c0)}
/* Side room keeps the focus ring of a district link inside the scroll box. */
.district-scroll{overflow-x:auto;margin:0 -8px 12px;padding:0 8px}
.district-table{width:100%;border-collapse:collapse;font-size:15px;line-height:1.35;font-variant-numeric:tabular-nums}
.district-table th,.district-table td{padding:8px 14px 8px 0;border-bottom:1px solid #d7e2e0;text-align:left;vertical-align:middle}
.district-table thead th{font-size:13px;font-weight:650;color:#3f5560;vertical-align:bottom}
.district-table thead small{font-size:inherit;font-weight:400;white-space:nowrap}
.district-table th:nth-child(2),.district-table td:nth-child(2){text-align:right}
.district-table td:nth-child(3){white-space:nowrap}
.district-table tbody th{font-weight:500}
.district-open{display:inline-flex;align-items:center;min-height:30px;padding:0;border:0;border-radius:2px;background:none;font:inherit;font-weight:500;color:#176b70;text-align:left;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.district-open:hover{color:#104d51}.district-open:focus-visible{outline:3px solid #176b70;outline-offset:4px}
.district-table th:last-child,.district-table td:last-child{width:34%;padding-right:0}
.mix{display:flex;height:12px;border-radius:3px;overflow:hidden;outline:1px solid #20343a2e;outline-offset:-1px}
.mix i{background:var(--k)}.mix i+i{box-shadow:-1px 0 0 #f6f8f7}
.mix-key{list-style:none;display:flex;flex-wrap:wrap;gap:4px 16px;margin:0 0 16px;padding:0;font-size:13px;color:#3f5560;font-variant-numeric:tabular-nums}
.mix-key li{display:inline-flex;align-items:center;gap:6px}
.mix-key li::before{content:'';width:12px;height:12px;border-radius:2px;background:var(--k);outline:1px solid #20343a2e;outline-offset:-1px}
@media(max-width:560px){.district-table{font-size:14px}.district-table th,.district-table td{padding-right:9px}.district-table thead th{font-size:12px}.district-table th:last-child,.district-table td:last-child{width:26%}}
/* The narrowest phones keep the district, its middle value and the distribution; the range gives way. */
@media(max-width:350px){.district-table th:nth-child(3),.district-table td:nth-child(3){display:none}.district-table th:last-child,.district-table td:last-child{width:38%}}
