.demography-intro{margin:20px 0}.demography-intro .lead{max-width:65ch}.demography-controls{flex-wrap:wrap;gap:16px;margin:16px 0;display:flex}.demography-controls label{gap:6px;font-weight:650;display:grid}.demography-controls select{max-width:100%;min-height:44px}.demography-search{flex-wrap:wrap;gap:8px;max-width:720px;display:flex}.demography-search label{width:100%;font-weight:650}.demography-search input{flex:1;min-width:0;min-height:44px}.demography-results{max-width:720px;max-height:280px;padding:0;list-style:none;overflow:auto}.demography-results button{text-align:left;border:1px solid var(--line);background:var(--paper,#fffaf1);width:100%;min-height:44px;font:inherit;color:var(--ink);border-radius:8px;margin-bottom:4px;padding:10px;display:block}.demography-layout{grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr);align-items:start;gap:20px;display:grid}.demography-map{border:1px solid var(--line);background:#fffaf1;border-radius:14px;height:650px;max-height:80vh}.demography-map svg{max-width:none}.demography-fallback{object-fit:contain;width:100%;max-height:650px}.demography-fallback[hidden],.demography-map[hidden],.demography-search[hidden]{display:none}.demography-panel{border:1px solid var(--line);background:#f4f0e6;border-radius:14px;min-width:0;padding:18px}.demography-panel h2{margin-top:0}.demography-panel table{font-size:.85rem}.demography-panel td,.demography-panel th{padding:8px}.demography-legend{flex-wrap:wrap;gap:8px 15px;padding:0;font-size:.8rem;list-style:none;display:flex}.demography-legend li{align-items:center;gap:5px;display:flex}.demography-legend i{border:1px solid #777;width:20px;height:14px;display:inline-block}.demography-legend p{width:100%}.demography-sources{border-left:3px solid #7fb0aa;margin:20px 0;padding-left:14px;font-size:.82rem;line-height:1.65}.demography-table th,.demography-table td{padding:9px}.demography-profile-grid{grid-template-columns:1fr 1fr;gap:25px;display:grid}.demography-big{margin:10px 0;font-size:2.6rem;font-weight:750}.demography-place{font-weight:650}.demography-age-row{margin:20px 0}.demography-age-row>span{font-weight:700}.demography-age-row strong{font-size:.85rem}.demography-age-bar{border-radius:4px;height:26px;margin:7px 0;display:flex;overflow:hidden}.demography-age-bar i{min-width:0;display:block}.age-rest{background:#dcd8cf}.age-older{background:#7fb0aa}.age-oldest{background:#0b4a47}.demography-age-legend{flex-wrap:wrap;gap:8px 12px;font-size:.8rem;display:flex}.demography-age-legend span{align-items:center;gap:4px;display:flex}.demography-age-legend i{width:15px;height:12px;display:inline-block}.demography-members{max-height:220px;overflow:auto}.atlas-teasers{grid-template-columns:1fr 1fr;gap:20px;display:grid}.atlas-teaser{border:1px solid var(--line);border-radius:12px;grid-template-columns:100px 1fr;align-items:center;gap:15px;padding:16px;display:grid}.atlas-teaser img{object-fit:contain;width:100px;height:125px}.atlas-teaser h3{margin:0}.demography-panel .trend-chart{margin:8px 0}.demography-map a{min-width:44px}.demography-status{min-height:1.5em;font-size:.85rem}@media (width<=760px){.demography-layout,.demography-profile-grid{grid-template-columns:1fr}.demography-panel{grid-row:1}.demography-panel[data-selected=false]{display:none}.demography-map{height:480px;max-height:62vh}.demography-controls{grid-template-columns:1fr;display:grid}.demography-controls select{width:100%}.atlas-teasers{grid-template-columns:1fr}.demography-big{font-size:2.1rem}}.demography-map.leaflet-container{background:#f3f1e9}.demography-search input,.demography-controls select{font:inherit;border:1px solid var(--line-strong);background:var(--paper);color:var(--ink);border-radius:8px;padding:10px}
