.birth-map-view{flex:1;min-height:0;overflow:auto;padding:24px;background:#faf8f3;color:#504b41}
.birth-map-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px}.birth-map-heading h2{font:400 27px Georgia,serif;margin:7px 0}.birth-map-heading p{font-size:12px;color:#7f786b}.birth-map-local{font-size:10px;color:#737f69;background:#eff2e8;padding:7px 10px;border:1px solid #dbe1d0;border-radius:20px}
.birth-map-filters{display:flex;align-items:end;flex-wrap:wrap;gap:10px;padding:14px;background:#fffdf9;border:1px solid #e1d9cc;border-radius:10px}.birth-map-filters label{display:flex;flex-direction:column;gap:5px;font-size:10px;color:#736956}.birth-map-filters input,.birth-map-filters select{min-width:0;height:33px;padding:6px 9px;border:1px solid #d9cebc;border-radius:5px;background:white;color:#504b41;font:12px 'Segoe UI',sans-serif}.birth-map-filters input[type=search]{width:180px}.birth-map-filters select{max-width:220px}.birth-map-filters fieldset{display:flex;gap:5px;align-items:end;border:0;margin:0;padding:0}.birth-map-filters fieldset>span{padding-bottom:8px}.birth-map-filters .birth-year-label{font-size:9px;gap:2px}.birth-map-filters input[type=number]{width:76px}.birth-map-filters .birth-map-undated{flex-direction:row;align-items:center;min-height:33px;max-width:142px;line-height:1.2}.birth-map-filters input[type=checkbox]{height:15px;width:15px;accent-color:#9b673d}.birth-map-filters button{height:33px;font-size:10px}
.birth-map-summary{font-size:11px;color:#7e7260;margin:14px 0;line-height:1.6}.birth-map-error{font-size:12px;color:#a63726;margin-top:10px}
.birth-map-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:14px;min-height:360px;height:max(560px,70dvh)}.birth-map-canvas{position:relative;min-width:0;min-height:400px;overflow:hidden;background:#dfe9e8;border:1px solid #d1d9cd;border-radius:12px;touch-action:none;cursor:grab}.birth-map-canvas:active{cursor:grabbing}.birth-map-geography{width:100%;height:100%;display:block}.birth-map-land path{fill:#f4f1e5;stroke:#b7beb0;stroke-width:1;vector-effect:non-scaling-stroke;fill-rule:evenodd}.birth-map-land .country-DEU{fill:#e9e7d6}.birth-map-land .country-POL{fill:#edf0dd}.birth-map-land .country-CZE{fill:#f0e8d8}.birth-map-country-labels{fill:#838c7a;font-family:'Segoe UI',sans-serif;letter-spacing:.5px;text-anchor:middle;pointer-events:none}.birth-map-markers{position:absolute;inset:0;pointer-events:none}.birth-map-marker{position:absolute;transform:translate(-50%,-50%);border:2px solid #fffcf5;border-radius:50%;background:var(--birth-map-place-colour);color:white;box-shadow:0 2px 8px #4a3d4138;width:35px;height:35px;pointer-events:auto;z-index:1;padding:0;font-size:12px}.birth-map-marker:hover,.birth-map-marker:focus-visible{background:#80532f;z-index:4}.birth-map-marker.is-cluster{background:var(--birth-map-cluster-colour);width:41px;height:41px;border-width:3px}.birth-map-marker.is-active{outline:3px solid #e7b066;outline-offset:2px;z-index:3}.birth-map-marker>span{position:absolute;left:50%;top:calc(100% + 3px);transform:translateX(-50%);background:#fffdf4e8;box-shadow:0 1px 3px #0001;padding:3px 6px;border-radius:3px;white-space:nowrap;color:#635742;font-size:10px;pointer-events:none}.birth-map-controls{position:absolute;right:14px;top:14px;display:flex;flex-direction:column;gap:3px;padding:4px;background:#fffdf7;border:1px solid #cec5b7;border-radius:8px;box-shadow:0 2px 10px #0001}.birth-map-controls button{width:33px;height:33px;border-radius:4px;font-size:21px;color:#665d4f}.birth-map-help,.birth-map-scale{position:absolute;bottom:8px;background:#fffdf2e8;border-radius:4px;font-size:9px;padding:5px 7px;pointer-events:none;color:#7a705e}.birth-map-help{left:8px}.birth-map-scale{right:8px}
.birth-map-places{overflow:auto;border:1px solid #e1d9cc;border-radius:10px;background:#fffdf9;padding:17px;scrollbar-width:thin}.birth-map-places h3{font:400 20px Georgia,serif;margin-bottom:10px}.birth-map-places>h3{font:600 12px 'Segoe UI',sans-serif;margin-top:21px}.birth-map-place-count{color:#9a8d79;font-weight:400}.birth-map-intro p,.birth-map-details p{font-size:11px;line-height:1.7;color:#8c806b}.birth-map-details h3{margin:6px 0 9px}.birth-map-details.has-selection{padding-bottom:17px;border-bottom:1px solid #e6ddcf}.birth-map-details section+section{margin-top:20px}.birth-map-details .birth-map-precision{font-size:10px;color:#9a8a70;margin:8px 0}.birth-map-details .birth-map-detail-count{font-weight:600;color:#6d5d47;margin:12px 0 8px}.birth-map-place-list,.birth-map-unresolved-list{display:flex;flex-direction:column;gap:3px}.birth-map-place-list>button,.birth-map-unresolved-list>button{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px;border-radius:5px;text-align:left;font-size:11px;border:1px solid #eee7db;background:#fff}.birth-map-place-list small,.birth-map-unresolved-list small{display:block;font-size:9px;color:#9b8c76;margin-top:3px}.birth-map-place-list b,.birth-map-unresolved-list b{font-size:11px;font-weight:500;background:#f2ebdf;border-radius:10px;padding:3px 7px}.birth-map-unresolved{margin:18px 0 10px;font-size:11px}.birth-map-unresolved summary{cursor:pointer;padding:8px 0;color:#936c46}.birth-map-unresolved-list{margin-top:8px}.birth-map-missing{width:100%;padding:10px;font-size:11px;text-align:left;border:1px dashed #d5cbb9;border-radius:5px;color:#8b795c}.birth-map-person-list{display:flex;flex-direction:column;gap:6px;max-height:340px;overflow:auto;scrollbar-width:thin}.birth-map-person{display:flex;align-items:center;border-radius:6px;background:#f6f0e6}.birth-map-person.is-selected{box-shadow:inset 0 0 0 2px #bc8b52}.birth-map-person>button:first-child{display:flex;flex:1;min-width:0;align-items:center;gap:8px;padding:8px 6px;text-align:left}.birth-map-person>button:last-child{width:30px;flex:none;color:#a57646;font-size:19px;padding:5px 0}.birth-map-person .avatar{width:30px;height:30px}.birth-map-person strong{font-size:11px;line-height:1.5;display:block;overflow-wrap:anywhere}.birth-map-person small{display:block;font-size:9px;line-height:1.6;color:#94826b}.birth-map-place-source{display:inline-block;margin-top:12px;font-size:9px;text-decoration:underline;color:#8a7b63}.birth-map-attribution{font-size:9px;line-height:1.8;color:#9b8e7b;margin-top:12px}.birth-map-attribution a{text-decoration:underline}.birth-map-empty{font-size:11px;color:#96856e;padding:12px 0}.birth-map-load-error{padding:30px}.birth-map-load-error p{margin:15px 0}.profile-map-button{margin-top:7px;padding:5px 7px;background:#f6edde;border:1px solid #dbc6aa;border-radius:5px;font-size:10px;color:#97673d}
@media(max-width:1200px){.birth-map-view{padding:18px}.birth-map-layout{grid-template-columns:minmax(0,1fr) 250px}.birth-map-heading{align-items:start}.birth-map-local{display:none}.birth-map-filters{gap:8px}.birth-map-help{max-width:180px}.birth-map-scale{max-width:120px}}
@media(max-width:1000px){.birth-map-layout{height:auto;grid-template-columns:1fr}.birth-map-canvas{height:max(480px,70dvh);min-height:360px}.birth-map-places{max-height:500px}.birth-map-place-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.birth-map-details.has-selection{margin-bottom:12px}.birth-map-person-list{max-height:280px}}
@media(max-width:700px){.birth-map-view{padding:12px}.birth-map-heading h2{font-size:23px}.birth-map-heading p{line-height:1.6}.birth-map-filters{padding:10px}.birth-map-filters input[type=search]{width:155px}.birth-map-filters select{max-width:170px}.birth-map-canvas{height:max(420px,70dvh)}.birth-map-help{max-width:150px;font-size:8px}.birth-map-scale{font-size:8px}.birth-map-place-list{grid-template-columns:1fr}.birth-map-summary{font-size:10px}.birth-map-marker>span{font-size:9px}}
/* Mehr geografische Orientierung, mit auf die Zoomstufe abgestimmten Beschriftungen. */
.birth-map-layer-bar{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin:0 0 12px;font-size:10px;color:#706b5c}.birth-map-layer-bar strong{font-weight:600}.birth-map-layer-bar label{display:flex;gap:5px;align-items:center;cursor:pointer}.birth-map-layer-bar input{accent-color:#8c7350}.birth-map-layer-bar>span{display:flex;align-items:center;gap:5px;margin-left:auto}.birth-map-layer-bar i{display:inline-block;width:10px;height:10px;border-radius:50%;background:#b47445;border:1px solid #fff;box-shadow:0 0 0 1px #b47445}.birth-map-layer-bar button{padding:6px 8px;font-size:10px}
.birth-map-land path{fill:#f5f3e9;stroke:#a1aca1;stroke-width:1.2}.birth-map-land .country-DEU{fill:#f1f1e6}.birth-map-land .country-POL{fill:#f0f2e5}.birth-map-land .country-CZE{fill:#f3eee2}.birth-map-geography .birth-map-urban path{fill:#d7d4c7;fill-opacity:.58;stroke:none}.birth-map-geography .birth-map-regions path{fill:none;stroke:#b5b1a0;stroke-width:.7;stroke-dasharray:4 3;vector-effect:non-scaling-stroke}.birth-map-geography .birth-map-roads path{fill:none;stroke:#dbb578;stroke-width:.65;stroke-opacity:.55;vector-effect:non-scaling-stroke}.birth-map-geography .birth-map-roads path.is-major{stroke:#c69b5e;stroke-width:1;stroke-opacity:.75}.birth-map-geography .birth-map-lakes path{fill:#b4d7df;stroke:#91bdc8;stroke-width:.5;vector-effect:non-scaling-stroke}.birth-map-geography .birth-map-rivers path{fill:none;stroke:#8bbccf;stroke-width:1.3;vector-effect:non-scaling-stroke}.birth-map-country-labels{display:none}.birth-map-canvas.is-local .birth-map-roads path{stroke-width:1.4;stroke-opacity:.8}.birth-map-canvas.is-local .birth-map-roads path.is-major{stroke-width:2}.birth-map-canvas:not(.is-regional) .birth-map-roads path:not(.is-major){display:none}.birth-map-canvas.is-local .birth-map-rivers path{stroke-width:2}
.birth-map-canvas.hide-water .birth-map-water,.birth-map-canvas.hide-roads .birth-map-roads,.birth-map-canvas.hide-regions .birth-map-regions{display:none}.birth-map-context{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:hidden}.birth-map-context text{font:11px 'Segoe UI',Arial,sans-serif;fill:#646356;stroke:#faf8ef;stroke-width:3px;stroke-linejoin:round;paint-order:stroke fill}.birth-map-context circle{fill:#83887c;stroke:#fffef7;stroke-width:1px}.birth-map-context .context-capital text{font-weight:700;fill:#575b50}.birth-map-context .context-capital circle{fill:#626e5e}.birth-map-context .context-country text{font-size:12px;fill:#7d8a74;letter-spacing:1px}.birth-map-context .context-region text{font-size:10px;fill:#9b8a78;letter-spacing:.5px}.birth-map-context .context-river text{font-size:10px;font-style:italic;fill:#528aa3;stroke:#eef5f0}.birth-map-context .context-road text{font-size:9px;fill:#aa8651;stroke-width:4px}.birth-map-context .context-birth text{font-weight:600;font-size:10px;fill:#845934;stroke-width:4px}
.birth-map-research-note{font-size:10px;line-height:1.7;border-top:1px solid #e0d6c6;margin-top:12px;padding-top:9px}.birth-map-research-note summary{cursor:pointer;color:#8c663e;font-weight:600}.birth-map-research-note h4{font-size:11px;margin:12px 0 5px}.birth-map-research-sources{padding-left:16px;margin:9px 0 12px;line-height:1.7;font-size:10px;color:#877052}.birth-map-research-sources a{text-decoration:underline;text-underline-offset:2px}.birth-map-research-dialog{width:min(790px,92vw);max-height:88dvh;padding:0;border:1px solid #c8baa0;border-radius:13px;overflow:auto;color:#534e42}.birth-map-research-dialog::backdrop{background:#28231c99;backdrop-filter:blur(3px)}.birth-map-research-dialog h3{font:400 23px Georgia,serif;margin:6px 0 10px}.birth-map-research-dialog p{font-size:12px;line-height:1.8;margin:8px 0}.birth-map-research-dialog .liquid-body{display:grid;gap:14px}.birth-map-research-dialog .liquid-card{padding:19px}.birth-map-research-dialog .liquid-footer{position:sticky;bottom:0}.birth-map-research-dialog .eyebrow{font-size:10px;line-height:1.6;display:block}
@media(max-width:1000px){.birth-map-layout{height:auto}.birth-map-layer-bar>span{margin-left:0}.birth-map-layer-bar{gap:8px 12px}}
@media(max-width:700px){.birth-map-layer-bar{font-size:9px}.birth-map-layer-bar>strong{width:100%}.birth-map-layer-bar>span{margin-left:0}.birth-map-layer-bar button{font-size:9px}.birth-map-context text{font-size:10px}.birth-map-research-dialog{width:95vw}}
.birth-map-research-status{border-left:3px solid #c59d68;padding:4px 8px;margin:7px 0;background:#f8f1e5}.birth-map-research-status p{font-size:10px;line-height:1.7;color:#927244}
/* Staatsnamen bleiben in jeder Zoomstufe unabhängig von den Detail-Ebenen sichtbar. */
.birth-map-sovereign-labels{position:absolute;inset:0;width:100%;height:100%;overflow:hidden;pointer-events:none}.birth-map-sovereign-labels text{font-family:'Segoe UI',Arial,sans-serif;font-weight:750;fill:#4e634c;stroke:#fffcf2;stroke-width:6px;paint-order:stroke fill;stroke-linejoin:round;text-anchor:middle;dominant-baseline:middle;letter-spacing:1.2px}.birth-map-sovereign-labels line{stroke:#78866c;stroke-width:1;stroke-dasharray:3 4;opacity:.65}.birth-map-context .context-region text{font-size:16px;font-weight:600;fill:#82715e;stroke-width:4px}
.birth-map-research-entry{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 20px;padding:13px 16px;margin-bottom:16px;border:1px solid #d9c49f;border-left:4px solid #ad7c43;border-radius:9px;background:#f7efe1}.birth-map-research-entry strong{font-size:13px;color:#79572f}.birth-map-research-entry p{font-size:11px;color:#8c795d;line-height:1.6;margin-top:4px}.birth-map-research-entry button{font-size:12px;font-weight:650;padding:10px 14px;background:#9c713e;border-color:#9c713e;color:#fffaf0}.birth-map-research-entry button:hover{background:#815a30;color:white}
@media(max-width:1000px){.birth-map-layout{height:auto}}
@media(max-width:700px){.birth-map-research-entry{padding:11px 12px;gap:9px}.birth-map-research-entry button{width:100%;text-align:center}.birth-map-context .context-region text{font-size:16px}.birth-map-sovereign-labels text{letter-spacing:.6px}}

.birth-map-research-entry{margin:16px 0 0}
@media(max-width:1000px){.birth-map-layout{height:auto}}
.birth-map-sovereign-labels{z-index:2}.birth-map-markers{z-index:3}.birth-map-controls{z-index:4}.birth-map-sovereign-labels line{stroke:#586e4e;stroke-width:1.5;opacity:.9}

.birth-map-canvas {
  --birth-map-place-colour:#b47445;
  --birth-map-cluster-colour:#657c72;
}
.birth-map-legend {
  position:absolute;
  top:14px;
  left:14px;
  z-index:4;
  max-width:calc(100% - 72px);
  padding:7px 10px;
  border:1px solid #cec5b7;
  border-radius:6px;
  background:#fffdf7;
  color:#554e40;
  font-size:11px;
  line-height:1.5;
  pointer-events:none;
}
.birth-map-legend p {margin:0}
.birth-map-legend p:last-child {margin-top:3px}
.birth-map-legend-dot {
  display:inline-block;
  width:10px;
  height:10px;
  margin-right:5px;
  border-radius:50%;
  background:var(--birth-map-place-colour);
}
.birth-map-legend-dot.is-cluster {background:var(--birth-map-cluster-colour)}

.birth-map-map-tools {
  flex:1 1 100%;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 16px;
}
.birth-map-year-control {
  flex:0 1 410px;
  min-width:0;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:2px 12px;
  padding:10px 13px 8px;
  border:1px solid #e9dfcc;
  border-radius:8px;
  background:linear-gradient(115deg,#faf4e8,#fffdf8);
}
.show-historical-borders .birth-map-year-control {flex:1 1 390px;max-width:620px}
.birth-map-year-control label {font-size:12px;font-weight:650;color:#61503b}
.birth-map-year-control .birth-map-border-toggle {
  position:relative;
  display:flex;
  flex-direction:row;
  align-items:center;
  gap:7px;
  width:fit-content;
  margin:3px 0;
  cursor:pointer;
}
.birth-map-border-toggle input {
  position:absolute;
  opacity:0;
  width:1px;
  height:1px;
}
.birth-map-border-track {
  position:relative;
  width:30px;
  height:16px;
  flex:none;
  border-radius:10px;
  background:#c1b5a6;
}
.birth-map-border-track::before {
  content:"";
  position:absolute;
  inset:3px auto 3px 3px;
  width:10px;
  border-radius:50%;
  background:#fffdf8;
}
.birth-map-border-toggle input:checked + .birth-map-border-track {background:#657c72}
.birth-map-border-toggle input:checked + .birth-map-border-track::before {left:17px}
.birth-map-border-toggle input:focus-visible + .birth-map-border-track {outline:2px solid #88603a;outline-offset:2px}
.birth-map-border-off,.birth-map-border-on {font-size:10px;color:#867767}
.birth-map-border-toggle:not(:has(input:checked)) .birth-map-border-off,
.birth-map-border-toggle input:checked ~ .birth-map-border-on {color:#54412b;font-weight:750}
.birth-map-year-control .birth-map-summary {grid-column:2 / -1;margin:0;line-height:1.3}
.birth-map-year-value {
  grid-column:3;
  grid-row:2;
  min-width:calc(4ch + 18px);
  text-align:right;
  padding:3px 9px;
  border-radius:12px;
  background:#eee1ca;
  color:#74502f;
  font-size:11px;
  font-weight:650;
  font-variant-numeric:tabular-nums;
}
.birth-map-year-value:empty {visibility:hidden}
.birth-map-year-track {
  grid-column:1 / 3;
  grid-row:2;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:5px;
}
.birth-map-year-track button {
  width:28px;
  height:28px;
  padding:0;
  border:1px solid #d8c5a9;
  border-radius:5px;
  background:#fffaf1;
  color:#74502f;
  font-size:16px;
  line-height:1;
}
.birth-map-year-track button:hover:not(:disabled) {background:#f0e2cc}
.birth-map-year-track button:disabled {opacity:.45;cursor:default}
.birth-map-year-control input[type=range] {
  --birth-map-year-progress:100%;
  appearance:none;
  min-width:0;
  width:100%;
  height:28px;
  margin:0;
  padding:0;
  border:0;
  background:linear-gradient(to right,#aa7546 var(--birth-map-year-progress),#e5dac8 var(--birth-map-year-progress))
    center / calc(100% - 18px) 6px no-repeat;
  cursor:pointer;
}
.birth-map-map-tools .birth-map-layer-bar {flex:1 1 465px;margin:0;gap:5px 10px}
.show-historical-borders .birth-map-map-tools .birth-map-layer-bar {flex:0 1 auto}
.birth-map-date-filters {display:flex;align-items:end;flex-wrap:wrap;gap:8px 12px}
.birth-map-undated input {flex:none;margin:0}
.birth-map-layer-bar :is(.birth-map-current-layers,.birth-map-historical-layers) {
  display:flex;
  flex-wrap:wrap;
  gap:4px 10px;
}
.birth-map-filters .birth-map-layer-bar label {
  flex-direction:row;
  align-items:center;
  gap:4px;
  white-space:nowrap;
}
.birth-map-filters .birth-map-layer-bar input {width:13px;height:13px;margin:0}
.birth-map-layer-options {min-width:0}
.birth-map-layer-options .birth-map-historical-layers,
.show-historical-borders .birth-map-layer-options .birth-map-current-layers {display:none}
.show-historical-borders .birth-map-layer-options .birth-map-historical-layers {display:flex}
.birth-map-year-track :is(button,input[type=range]):focus-visible {outline:2px solid #88603a;outline-offset:2px}
.birth-map-year-control input[type=range]:disabled {
  cursor:default;
  background:linear-gradient(#e9e5dd,#e9e5dd) center / calc(100% - 18px) 2px no-repeat;
}
.birth-map-year-control input::-webkit-slider-runnable-track {height:6px;background:transparent}
.birth-map-year-control input::-moz-range-track {height:6px;background:transparent}
.birth-map-year-control input::-webkit-slider-thumb {
  appearance:none;
  width:18px;
  height:18px;
  margin-top:-6px;
  border:3px solid #fff8e9;
  border-radius:50%;
  background:#9c6238;
  box-shadow:0 0 0 1px #a57548,0 2px 5px #5d3d343f;
}
.birth-map-year-control input::-moz-range-thumb {
  box-sizing:border-box;
  width:18px;
  height:18px;
  border:3px solid #fff8e9;
  border-radius:50%;
  background:#9c6238;
  box-shadow:0 0 0 1px #a57548,0 2px 5px #5d3d343f;
}
.birth-map-year-control input:disabled::-webkit-slider-thumb {opacity:0}
.birth-map-year-control input:disabled::-moz-range-thumb {opacity:0}

.birth-map-history-overlay {
  position:absolute;
  z-index:4;
  top:14px;
  right:14px;
  display:grid;
  justify-items:end;
  gap:12px;
  max-width:calc(100% - 28px);
  pointer-events:none;
}
.birth-map-calendar {
  position:relative;
  width:clamp(125px,14vw,184px);
  margin-right:50px;
  text-align:center;
}
.birth-map-calendar[hidden] {display:none}
.birth-map-calendar-binding {
  position:relative;
  z-index:1;
  height:26px;
  border-radius:7px 7px 0 0;
  background:linear-gradient(#9c6445,#79492f);
  box-shadow:0 3px 7px #50342038;
  color:#fff7e9;
  font-size:10px;
  font-weight:650;
  letter-spacing:1px;
  line-height:26px;
  text-transform:uppercase;
}
.birth-map-calendar-binding::before,.birth-map-calendar-binding::after {
  content:"";
  position:absolute;
  top:-4px;
  width:5px;
  height:11px;
  border-radius:4px;
  background:#e1c49c;
  box-shadow:0 1px 2px #513722bf;
}
.birth-map-calendar-binding::before {left:14px}
.birth-map-calendar-binding::after {right:14px}
.birth-map-calendar-sheet {
  min-height:1.42em;
  border:1px solid #d8c3a6;
  border-top-style:dashed;
  border-radius:0 0 5px 5px;
  background:linear-gradient(#fffefa,#f5ebd8);
  box-shadow:0 3px 0 -1px #d9c9b2,0 6px 12px #46342530;
  color:#694229;
  font:700 clamp(36px,4.6vw,62px)/1.4 var(--map-history-font,Georgia,serif);
  font-style:var(--map-history-style,normal);
  font-variant-numeric:lining-nums tabular-nums;
}
.birth-map-calendar-sheet:empty {visibility:hidden}
.birth-map-calendar-sheet.is-torn {
  position:absolute;
  inset:26px 0 0;
  clip-path:polygon(0 3%,8% 0,16% 3%,24% 0,32% 3%,40% 0,48% 3%,56% 0,64% 3%,72% 0,80% 3%,88% 0,96% 3%,100% 0,100% 100%,0 100%);
  transform-origin:75% 0;
  animation:birth-map-tear-year .36s ease-out both;
}
@keyframes birth-map-tear-year {
  0% {opacity:.96;transform:translate(0,1px) rotate(0)}
  28% {opacity:.76;transform:translate(-9px,17px) rotate(-8deg)}
  100% {opacity:0;transform:translate(-50px,65px) rotate(-28deg) scale(.68)}
}
@media(max-width:700px) {
  .birth-map-history-overlay {top:130px}
  .birth-map-calendar {width:125px;margin-right:0}
}
@media(prefers-reduced-motion:reduce) {
  .birth-map-calendar-sheet.is-torn {animation-duration:1ms}
}

.birth-map-borders,.birth-map-historical-land,.birth-map-history-key,.birth-map-border-source,.birth-map-border-status {display:none}
.show-historical-borders :is(.birth-map-research-entry,
  .birth-map-attribution,.birth-map-sovereign-labels),
.show-historical-borders .birth-map-geography > :not(.birth-map-borders,.birth-map-historical-land,.birth-map-administration,.birth-map-berlin) {display:none}
.birth-map-canvas {background:#bcd8e5}
.show-historical-borders .birth-map-canvas {
  --map-history-modern:100%;
  background:color-mix(in srgb,#a6aca2,#bcd8e5 var(--map-history-modern));
}
.show-historical-borders .birth-map-canvas::after {
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:url("archive-grain.svg");
  opacity:var(--map-history-wear,0);
  mix-blend-mode:multiply;
  pointer-events:none;
}
.birth-map-historical-land path {
  fill:color-mix(in srgb,#ead7ac,#f4f2e4 var(--map-history-modern));
  fill-rule:evenodd;
}
.show-historical-borders :is(.birth-map-borders,.birth-map-historical-land,.birth-map-history-key) {display:block}
.birth-map-history-key .birth-map-legend-dot {background:#8051ab}
.birth-map-borders path {
  fill:none;
  stroke:color-mix(in srgb,#744a30,#485e63 var(--map-history-modern));
  stroke-width:1.25;
  stroke-linecap:round;
  stroke-linejoin:round;
  vector-effect:non-scaling-stroke;
}
.show-historical-borders :is(.birth-map-border-source,.birth-map-border-status:not(:empty)) {
  display:block;
  margin-top:8px;
  color:#6e6354;
  font-size:11px;
  line-height:1.5;
}
.birth-map-border-source a {text-decoration:underline}
.birth-map-admin-source {margin-top:8px;color:#6e6354;font-size:11px;line-height:1.5}
.birth-map-admin-source a {text-decoration:underline}
.birth-map-administration path {fill:none;vector-effect:non-scaling-stroke}
.birth-map-state-boundaries path {stroke:#726e60;stroke-width:1;stroke-dasharray:5 3}
.birth-map-district-boundaries path {stroke:#a19887;stroke-width:.65;stroke-dasharray:2 2}
.birth-map-berlin path {vector-effect:non-scaling-stroke;stroke-linejoin:round}
.birth-map-berlin [class^="berlin-sector-"] {
  fill:var(--berlin-sector-color);
  fill-opacity:.21;
  fill-rule:evenodd;
  stroke:#5d5750;
  stroke-width:.85;
}
.berlin-sector-fr {--berlin-sector-color:#3e7ca8}
.berlin-sector-gb {--berlin-sector-color:#8970ae}
.berlin-sector-us {--berlin-sector-color:#3e896c}
.berlin-sector-su {--berlin-sector-color:#b96841}
.birth-map-berlin :is(.berlin-wall,.berlin-water-border) {
  fill:none;
  stroke:#9c2c27;
  stroke-width:2.5;
  stroke-linecap:round;
  filter:drop-shadow(0 0 1px #fffaf0);
}
.birth-map-berlin .berlin-water-border {stroke-width:1.5;stroke-dasharray:2 3}
.birth-map-berlin-wall-key span {
  display:inline-block;width:12px;margin-right:5px;border-top:2px solid #9c2c27;vertical-align:middle;
}
.birth-map-berlin-source {margin-top:8px;color:#6e6354;font-size:11px;line-height:1.5}
.birth-map-berlin-source a {text-decoration:underline}
.birth-map-context .berlin-sector-leader {stroke:#57534c;stroke-width:1}
.birth-map-context .context-berlin-sector {
  fill:#41372e;
  font-weight:750;
  stroke:#fffaf0;
  stroke-width:4px;
  text-anchor:middle;
  dominant-baseline:middle;
}
.birth-map-context .context-historical-country {
  fill:#365847;
  font-size:14px;
  font-weight:750;
  stroke:#fff9e9;
  stroke-width:4px;
}
[data-history-type="antique"] {
  --map-history-font:"Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --map-history-style:italic;
  --map-history-tracking:.45px;
}
[data-history-type="classic"] {
  --map-history-font:Georgia, "Times New Roman", serif;
  --map-history-style:normal;
  --map-history-tracking:.25px;
}
[data-history-type="print"] {
  --map-history-font:Cambria, Georgia, serif;
  --map-history-style:normal;
  --map-history-tracking:.15px;
}
[data-history-type="midcentury"] {
  --map-history-font:Arial, Helvetica, sans-serif;
  --map-history-style:normal;
  --map-history-tracking:.1px;
}
[data-history-type="modern"] {
  --map-history-font:"Segoe UI", Arial, sans-serif;
  --map-history-style:normal;
  --map-history-tracking:normal;
}
.birth-map-context :is(.context-historical-country,.context-historical-capital,.context-historical-city,.context-berlin-sector,.context-admin-state,.context-admin-district),
.birth-map-border-event strong {
  font-family:var(--map-history-font,"Segoe UI",serif);
  font-style:var(--map-history-style,normal);
  letter-spacing:var(--map-history-tracking,normal);
}
.show-historical-borders .birth-map-canvas[data-history-type="antique"] .context-historical-country,
.show-historical-borders .birth-map-canvas[data-history-type="classic"] .context-historical-country {fill:#694229}
.birth-map-context .context-historical-capital {fill:#50366d;font-weight:700}
.birth-map-context .context-historical-city {fill:#4f453a;font-weight:700}
.birth-map-context .birth-map-historical-city {fill:#5b5146}
.birth-map-context .context-admin-state:is(text),.birth-map-context .context-admin-state text {
  fill:#4d614e;font-size:13px;font-weight:750;stroke-width:4px;
}
.birth-map-context .context-admin-district:is(text),.birth-map-context .context-admin-district text {
  fill:#635445;font-size:11px;font-weight:650;
}
.birth-map-context circle.birth-map-capital-growth {
  fill:#8051ab;
  fill-opacity:.72;
  stroke:#fff9ef;
  stroke-width:1.5px;
  pointer-events:visiblePainted;
}
.birth-map-border-event {
  width:min(234px,48vw);
  max-width:100%;
  padding:9px 11px;
  border:1px solid #cdb997;
  border-radius:6px;
  background:#fffaf0;
  box-shadow:0 4px 14px #46342524;
  color:#534337;
  font-size:11px;
  line-height:1.45;
}
.birth-map-border-event[hidden] {display:none}
.birth-map-border-event small {display:block;color:#795a3c;font-size:10px}
.birth-map-border-event strong {display:block;margin:2px 0 4px;font-size:12px}
.birth-map-border-event a {display:inline-block;margin-top:4px;text-decoration:underline;pointer-events:auto}
