:root{--ink:#1c1c1c;--ink-muted:#6a6a6a;--line:#e4e4e4;--surface:#fff;--surface-alt:#f6f6f4;--accent:#1f5fa8}body,html{background:var(--surface);color:var(--ink);font:14px/1.4 system-ui,sans-serif;height:100%;margin:0;padding:0}.visually-hidden{clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.atlas{display:grid;grid-template:"header header" auto "panel map" minmax(0,1fr) /clamp(400px,36vw,540px) minmax(0,1fr);height:100vh;height:100dvh}.atlas-header{align-items:center;border-bottom:1px solid var(--line);display:flex;flex-wrap:wrap;gap:8px 16px;grid-area:header;padding:8px 16px}.atlas-header h1{font-size:16px;margin:0}.atlas-field{min-width:0}.atlas-field select,.atlas-search{background:var(--surface);border:1px solid #c9c9c9;border-radius:6px;color:var(--ink);font:inherit;max-width:100%;padding:6px 8px}.atlas-segmented{border:1px solid #c9c9c9;border-radius:6px;display:inline-flex;overflow:hidden}.atlas-field[hidden],.atlas-segmented[hidden]{display:none}.atlas-segmented button{background:var(--surface);border:0;border-left:1px solid #c9c9c9;color:var(--ink);cursor:pointer;font:inherit;padding:6px 10px}.atlas-segmented button:first-child{border-left:0}.atlas-segmented button[aria-pressed=true]{background:var(--ink);color:#fff}.atlas-segmented button:disabled{color:#a9a9a9;cursor:not-allowed}.atlas-map{display:flex;flex-direction:column;grid-area:map;min-height:0}.atlas-maptools{align-items:center;border-bottom:1px solid var(--line);display:flex;flex-wrap:wrap;gap:8px;padding:8px 12px}.atlas-mapwrap{flex:1;min-height:0;position:relative}.atlas-leaflet{inset:0;position:absolute}.atlas.is-loading .atlas-leaflet{opacity:.6}.atlas-maplegend{background:hsla(0,0%,100%,.95);border-radius:6px;bottom:24px;box-shadow:0 1px 5px rgba(0,0,0,.3);font-size:12px;left:10px;max-width:min(260px,calc(100% - 20px));padding:8px 10px;position:absolute;z-index:500}.atlas-legend-inline,.atlas-maplegend ul{list-style:none;margin:4px 0 0;padding:0}.atlas-legend-inline{display:flex;flex-wrap:wrap;font-size:12px;gap:2px 12px;margin-bottom:4px}.swatch{border-radius:2px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15);display:inline-block;height:10px;margin-right:6px;vertical-align:baseline;width:10px}.atlas-panel{border-right:1px solid var(--line);grid-area:panel;min-height:0;overflow-y:auto}.atlas-panel>section{border-bottom:1px solid var(--line);padding:14px 16px}.atlas-panel h2{font-size:15px;margin:0 0 8px}.atlas-panel h2 small{font-weight:400;margin-left:6px}.atlas-note,.atlas-panel h2 small{color:var(--ink-muted);font-size:12px}.atlas-note{margin:6px 0 0}.muted{color:var(--ink-muted)}.atlas-table{border-collapse:collapse;font-size:13px;width:100%}.atlas-table td,.atlas-table th{border-bottom:1px solid var(--line);font-weight:400;padding:5px 6px;text-align:left;vertical-align:top}.atlas-table thead th{color:var(--ink-muted);font-size:12px;white-space:nowrap}.atlas-table .num{font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}.atlas-table tfoot td,.atlas-table tfoot th{border-bottom:0;color:var(--ink-muted)}.atlas-table thead button{background:none;border:0;color:inherit;cursor:pointer;font:inherit;padding:0}.atlas-areas tbody tr.is-locatable,.atlas-totals tbody tr[data-key]{cursor:pointer}.atlas-areas tbody tr.is-locatable:hover,.atlas-totals tbody tr[data-key]:hover{background:var(--surface-alt)}.atlas-totals tr.is-selected th{font-weight:600}.atlas-totals .bar{vertical-align:middle;width:22%}.atlas-totals .bar span{border-radius:0 3px 3px 0;display:block;height:10px;min-width:2px}.atlas-areas .stack{display:flex;gap:1px;height:5px;margin-top:4px}.atlas-areas .stack span{min-width:0}.atlas-search{box-sizing:border-box;margin-bottom:8px;width:100%}.atlas-tablewrap{overflow-x:auto}.atlas-verlauf{position:relative}.atlas-verlauf svg{display:block;max-width:100%}.atlas-verlauf .grid{stroke:var(--line)}.atlas-verlauf .tick,.atlas-verlauf .xlabel{fill:var(--ink-muted);font-size:11px}.atlas-verlauf .xlabel.is-current{fill:var(--ink);font-weight:600}.atlas-verlauf .direct{fill:var(--ink);font-size:11px}.atlas-verlauf .series{fill:none;stroke-linejoin:round;stroke-width:2}.atlas-verlauf .dot{stroke:var(--surface);stroke-width:2}.atlas-verlauf .current,.atlas-verlauf .cursor{stroke:#9a9a9a;stroke-dasharray:3 3}.atlas-verlauf .cursor{stroke:var(--ink);stroke-dasharray:none}.atlas-verlauf .hit{cursor:pointer;fill:transparent}.atlas-tooltip{background:var(--surface);border-radius:6px;box-shadow:0 1px 6px rgba(0,0,0,.3);font-size:12px;padding:6px 8px;pointer-events:none;position:absolute;top:8px;width:180px;z-index:5}.atlas-tooltip table,.wahlatlas-popup table{border-collapse:collapse;margin-top:4px;width:100%}.atlas-tooltip td:last-child,.wahlatlas-popup .num{font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}.wahlatlas-popup .leaflet-popup-content{font:13px/1.4 system-ui,sans-serif;min-width:230px}.wahlatlas-popup td{padding:2px 0 2px 8px}.wahlatlas-popup td:first-child{padding-left:0}.wahlatlas-popup tr.is-selected td{font-weight:600}@media (max-width:860px){.atlas,body,html{height:auto}.atlas{display:block}.atlas-mapwrap{flex:none;height:62vh;height:62dvh}.atlas-panel{border-right:0;overflow:visible}.atlas-header,.atlas-maptools{padding:8px 12px}.atlas-header .atlas-field,.atlas-header .atlas-field select{width:100%}}.atlas-sectionhead{align-items:center;display:flex;flex-wrap:wrap;gap:6px 12px;justify-content:space-between;margin-bottom:8px}.atlas-sectionhead h2{margin:0}.atlas-segmented.is-small button{font-size:12px;padding:3px 8px}.atlas-panel h3{font-size:13px;margin:12px 0 4px}.atlas-panel h3 small{color:var(--ink-muted);font-size:12px;font-weight:400;margin-left:6px}.atlas-crumbs{align-items:center;display:flex;flex-wrap:wrap;gap:2px 6px;min-width:0}.atlas-crumbs button{background:none;border:0;color:var(--accent);cursor:pointer;font:inherit;padding:0;text-decoration:underline}.atlas-crumbs>*+:before{color:var(--ink-muted);content:"›";display:inline-block;margin-right:6px;text-decoration:none}.atlas-regionsearch input{background:var(--surface);border:1px solid #c9c9c9;border-radius:6px;color:var(--ink);font:inherit;max-width:100%;padding:6px 8px;width:13rem}.atlas-electionfield{flex:1 1 16rem}.atlas-electionfield select{width:100%}.atlas-open{background:var(--surface);border:1px solid #c9c9c9;border-radius:6px;color:var(--ink);cursor:pointer;font:inherit;padding:4px 10px}.wahlatlas-popup p{margin:8px 0 0}