@font-face {
  font-family: "DM Sans Local";
  src: url("vendor/dm-sans.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f2f3ef;
  --paper-bright: #fbfcf9;
  --ink: #252b2d;
  --ink-soft: #424b4d;
  --muted: #616b6d;
  --line: #cbd1cc;
  --line-dark: #aab4af;
  --blue: #4167b0;
  --blue-deep: #4167b0;
  --blue-pale: #e9edeb;
  --warm: #a55746;
  --secondary: #a55746;
  --warm-pale: rgba(165, 87, 70, .1);
  --coast: #aab4af;
  --road: #c1c9c1;
  --water: #e9edeb;
  --header-height: 68px;
  --font-sans: "DM Sans Local", "DM Sans", sans-serif;
  --focus: #a55746;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button, input, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, dialog:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
a { color: inherit; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  height: var(--header-height);
  padding: 0 calc(clamp(22px, 3.2vw, 52px) + 86px) 0 clamp(22px, 3.2vw, 52px);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.brand { display: inline-flex; align-items: center; width: max-content; gap: 11px; text-decoration: none; }
.brand-mark { display: inline-flex; align-items: flex-end; gap: 2px; width: 16px; height: 16px; padding: 2px 1px; border-left: 1px solid var(--blue); border-bottom: 1px solid var(--blue); transform: skew(-18deg); }
.brand-mark i { display: block; width: 3px; background: var(--blue); }
.brand-mark i:nth-child(1) { height: 5px; }
.brand-mark i:nth-child(2) { height: 9px; }
.brand-mark i:nth-child(3) { height: 12px; }
.brand-name { font-size: 12px; font-weight: 750; letter-spacing: .15em; }
.header-context { justify-self: center; color: var(--muted); font-size: 11px; font-weight: 550; letter-spacing: .06em; text-transform: uppercase; }
.header-context span { padding: 0 8px; color: var(--warm); }
.method-trigger { justify-self: end; padding: 8px 0 8px 8px; border: 0; background: transparent; font-size: 12px; font-weight: 620; letter-spacing: .01em; cursor: pointer; }
.method-trigger span { padding-left: 5px; color: var(--warm); }
.method-trigger:hover, .text-button:hover, .reset-link:hover { color: var(--warm); }

.atlas-layout { display: grid; grid-template-columns: minmax(400px, 38%) minmax(0, 62%); align-items: start; }
.content-rail { min-width: 0; grid-column: 1; display: flex; flex-direction: column; }
.hero, .section-block, .site-footer { padding-right: clamp(25px, 4.7vw, 70px); padding-left: clamp(26px, 4.7vw, 70px); }

.hero {
  position: relative;
  display: flex;
  min-height: calc(100svh - var(--header-height));
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-top: 52px;
  padding-bottom: 82px;
}

.eyebrow, .section-kicker, .dialog-kicker, .map-region, .map-scale-label, .footer-divider {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--ink-soft); }
.eyebrow-rule { display: inline-block; width: 23px; height: 1px; margin-right: 2px; background: var(--warm); }
.eyebrow span:not(.eyebrow-rule) { color: var(--warm); }
.hero h1 {
  margin: 32px 0 20px;
  max-width: 8.5ch;
  color: var(--ink);
  font-size: clamp(50px, 4.9vw, 68px);
  font-weight: 590;
  letter-spacing: -.066em;
  line-height: .99;
}
.hero-deck { max-width: 30ch; margin: 0; color: var(--ink-soft); font-size: clamp(15px, 1.25vw, 17px); line-height: 1.58; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 21px; margin-top: 30px; }
.button { display: inline-flex; min-height: 45px; align-items: center; justify-content: center; gap: 10px; border-radius: 0; text-decoration: none; cursor: pointer; transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease; }
.button-primary { padding: 0 17px; border: 1px solid var(--blue); background: var(--blue); color: #fff; font-size: 12px; font-weight: 650; letter-spacing: .01em; }
.button-primary:hover:not(:disabled) { border-color: var(--blue-deep); background: var(--blue-deep); }
.button-primary:disabled { opacity: .62; cursor: progress; }
.button-link { min-height: auto; padding: 10px 0; border: 0; color: var(--ink); font-size: 12px; font-weight: 650; }
.button-link span { color: var(--warm); font-size: 16px; transition: transform 160ms ease; }
.button-link:hover span { transform: translateY(3px); }
.button:disabled { opacity: .55; cursor: default; }
.hero-footnote { display: flex; align-items: center; gap: 8px; margin-top: 35px; color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .075em; text-transform: uppercase; }
.hero-footnote b { padding: 0 4px; color: var(--warm); font-weight: 500; }
.tiny-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.featured-file { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 13px; margin-top: 24px; padding: 14px 0 1px; border: 0; border-top: 1px solid var(--line-dark); background: transparent; text-align: left; cursor: pointer; }
.featured-copy { display: grid; gap: 4px; }
.featured-place { color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .13em; }
.featured-place i { padding: 0 4px; color: var(--warm); font-style: normal; font-weight: 500; }
.featured-title { color: var(--ink); font-size: 13px; font-weight: 620; letter-spacing: -.02em; }
.featured-open { flex: 0 0 auto; color: var(--blue-deep); font-size: 10px; font-weight: 650; transition: color 160ms ease; }
.featured-open i { padding-left: 3px; color: var(--warm); font-size: 13px; font-style: normal; }
.featured-file:hover .featured-open { color: var(--warm); }
.featured-file:hover .featured-title { color: var(--blue-deep); }
.scroll-cue { position: absolute; right: clamp(25px, 4.7vw, 70px); bottom: 24px; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 8px; font-weight: 650; letter-spacing: .13em; }
.scroll-cue span:first-child { color: var(--warm); }
.scroll-line { width: 31px; height: 1px; background: var(--line-dark); }

.map-rail {
  position: sticky;
  top: var(--header-height);
  grid-column: 2;
  grid-row: 1;
  height: calc(100svh - var(--header-height));
  min-height: 590px;
  overflow: hidden;
  border-left: 1px solid var(--line);
  background: var(--water);
  isolation: isolate;
}
.map-canvas { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; background: var(--water); }
.map-header { position: absolute; z-index: 2; top: 0; right: 0; left: 0; display: flex; height: 58px; align-items: center; justify-content: space-between; padding: 0 clamp(18px, 2.2vw, 34px); border-bottom: 1px solid rgba(170, 180, 175, .62); background: rgba(242, 243, 239, .92); pointer-events: none; }
.map-region { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 9px; letter-spacing: .13em; }
.map-region i { width: 6px; height: 6px; border: 1px solid var(--warm); border-radius: 50%; }
.map-region b { color: var(--warm); font-weight: 500; }
.map-scale-label { color: var(--muted); font-size: 8px; letter-spacing: .14em; }
.map-note { position: absolute; z-index: 3; bottom: 32px; left: 27px; display: flex; align-items: center; gap: 9px; padding: 9px 12px 9px 10px; border: 1px solid rgba(97, 107, 109, .4); background: rgba(251, 252, 249, .97); color: var(--ink-soft); font-size: 12px; line-height: 1.35; pointer-events: none; }
.map-note b { color: var(--ink); font-weight: 700; }
.map-note-symbol { color: var(--blue); font-size: 17px; line-height: 1; }
.map-note-separator { padding: 0 4px; color: var(--warm); }
.scene-map-note { position: absolute; z-index: 5; top: 70px; left: 23px; display: grid; max-width: min(320px, calc(100% - 125px)); gap: 3px; padding: 8px 10px; border-left: 2px solid var(--blue); background: rgba(251, 252, 249, .97); color: var(--ink-soft); font-size: 10px; line-height: 1.4; }
.scene-map-note[hidden] { display: none; }
.scene-map-note-kicker { color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .13em; }
.scene-map-note a { width: max-content; max-width: 100%; color: var(--blue); font-size: 9px; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.scene-map-scope-details { margin-top: 2px; color: var(--muted); font-size: 9px; line-height: 1.45; }
.scene-map-scope-details summary { width: max-content; cursor: pointer; }
.scene-map-scope-details span { display: block; max-height: 9rem; margin-top: 4px; overflow: auto; color: var(--ink-soft); }
.point-preview { position: absolute; z-index: 8; bottom: 82px; left: 23px; display: grid; width: min(360px, calc(100% - 46px)); max-height: calc(100% - 155px); gap: 9px; overflow: auto; padding: 14px 16px 15px; border: 1px solid rgba(97, 107, 109, .46); border-top: 2px solid var(--blue); background: rgba(251, 252, 249, .98); color: var(--ink); box-shadow: 0 8px 24px rgba(32, 44, 43, .12); pointer-events: auto; }
.point-preview-topline { display: flex; min-height: 42px; align-items: center; gap: 9px; }
.point-preview-kicker { flex: 0 0 auto; color: var(--muted); font-size: 9px; font-weight: 750; letter-spacing: .12em; }
.point-preview-status { min-width: 0; margin-left: auto; color: var(--ink-soft); font-size: 10px; line-height: 1.3; text-align: right; }
.point-preview-status[data-status="conflict"], .point-preview-status[data-status="missing"] { color: var(--warm); }
.point-preview-close { flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; color: var(--ink-soft); font-size: 24px; line-height: 1; cursor: pointer; }
.point-preview-title { margin: 0; color: var(--ink); font-size: 19px; font-weight: 620; letter-spacing: -.035em; line-height: 1.2; overflow-wrap: anywhere; }
.point-preview-summary { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.point-preview-open { display: inline-flex; min-height: 44px; align-items: center; justify-content: space-between; gap: 12px; margin-top: 2px; padding: 7px 0; border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--blue); font-size: 12px; font-weight: 700; text-align: left; cursor: pointer; }
.point-preview-open span { color: var(--warm); font-size: 16px; }
.point-preview-open:hover { color: var(--warm); }
.map-loading { position: absolute; z-index: 4; top: 50%; left: 50%; display: flex; align-items: center; gap: 9px; padding: 10px 12px; border: 1px solid rgba(97, 107, 109, .28); background: rgba(251, 252, 249, .96); color: var(--ink-soft); font-size: 11px; transform: translate(-50%, -50%); transition: opacity 260ms ease; pointer-events: none; }
.map-loading.is-gone { opacity: 0; }
.loading-mark { width: 10px; height: 10px; border: 1px solid var(--blue); border-top-color: transparent; border-radius: 50%; animation: spin 900ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.map-error { position: absolute; z-index: 5; top: 72px; right: 18px; left: 18px; padding: 12px 14px; border-left: 2px solid var(--warm); background: var(--paper-bright); color: var(--ink-soft); font-size: 12px; }
.maplibregl-ctrl-bottom-right { bottom: 30px !important; right: 23px !important; }
.maplibregl-ctrl-attrib { background: rgba(251, 252, 249, .92) !important; color: var(--muted) !important; font-family: var(--font-sans) !important; font-size: 9px !important; }
.maplibregl-ctrl-attrib a { color: var(--blue) !important; }
.maplibregl-ctrl-group { border: 1px solid rgba(170, 180, 175, .55) !important; border-radius: 0 !important; box-shadow: none !important; background: rgba(251, 252, 249, .94) !important; }
.maplibregl-ctrl-group button { width: 30px !important; height: 30px !important; }
.maplibregl-ctrl-bottom-left { display: none; }
.maplibregl-ctrl-top-right { top: 70px !important; right: 22px !important; }
.maplibregl-ctrl-logo { display: none !important; }

.section-block { padding-top: 76px; padding-bottom: 76px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-height) + 14px); }
.section-kicker { display: flex; align-items: center; gap: 11px; margin-bottom: 28px; color: var(--muted); font-size: 9px; letter-spacing: .15em; }
.section-kicker > span:first-child { color: var(--warm); }
.section-kicker-line { width: 24px; height: 1px; background: var(--line-dark); }
.section-block h2 { margin: 0 0 17px; font-size: clamp(35px, 3vw, 43px); font-weight: 590; letter-spacing: -.065em; line-height: 1.04; }
.section-intro { max-width: 40ch; margin: 0 0 27px; color: var(--ink-soft); font-size: 14px; line-height: 1.65; }
.explorer { padding-top: 70px; padding-bottom: 51px; }
.explorer h2 { margin-bottom: 17px; }
.search-form { position: relative; display: flex; height: 46px; align-items: center; gap: 11px; margin-top: 30px; border-bottom: 1px solid var(--line-dark); }
.search-icon { position: relative; width: 13px; height: 13px; border: 1.4px solid var(--blue); border-radius: 50%; }
.search-icon::after { position: absolute; right: -5px; bottom: -3px; width: 6px; height: 1px; background: var(--blue); content: ""; transform: rotate(48deg); transform-origin: left; }
.search-form input { flex: 1; width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; }
.search-form input::placeholder { color: var(--muted); }
.search-form input:focus-visible { outline: 0; }
.search-form:focus-within { border-color: var(--warm); }
.search-form kbd { min-width: 19px; border: 1px solid var(--line); color: var(--muted); font-family: var(--font-sans); font-size: 10px; line-height: 18px; text-align: center; }
.filters { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 17px; }
.filter-field { display: flex; min-width: 0; flex-direction: column; gap: 5px; color: var(--muted); font-size: 9px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.filter-field select { width: 100%; min-height: 37px; padding: 0 26px 0 9px; border: 1px solid var(--line); border-radius: 0; appearance: none; background: var(--paper-bright) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='6' viewBox='0 0 8 6'%3E%3Cpath d='m1 1 3 3 3-3' fill='none' stroke='%23315d75' stroke-width='1.2'/%3E%3C/svg%3E") right 10px center / 8px 6px no-repeat; color: var(--ink); font-size: 11px; font-weight: 500; letter-spacing: 0; text-transform: none; cursor: pointer; }
.record-list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 30px; padding-bottom: 11px; border-bottom: 1px solid var(--line-dark); }
.record-count { margin: 0; color: var(--ink-soft); font-size: 10px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.reset-link { padding: 4px 0; border: 0; background: none; color: var(--muted); font-size: 10px; cursor: pointer; }
.record-list { min-height: 115px; }
.record-item { display: grid; width: 100%; grid-template-columns: 27px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 12px 0 12px 1px; border: 0; border-bottom: 1px solid rgba(216, 215, 208, .85); background: transparent; color: var(--ink); text-align: left; cursor: pointer; transition: padding 160ms ease, background-color 160ms ease; }
.record-item:hover { padding-right: 6px; padding-left: 7px; background: rgba(255,255,255,.38); }
.record-item.is-selected { padding-right: 8px; padding-left: 8px; background: var(--warm-pale); }
.record-index { align-self: start; padding-top: 2px; color: var(--muted); font-size: 9px; font-variant-numeric: tabular-nums; }
.record-main { min-width: 0; }
.record-name { display: block; overflow: hidden; font-size: 12px; font-weight: 680; letter-spacing: -.015em; line-height: 1.35; text-overflow: ellipsis; }
.record-meta { display: block; overflow: hidden; margin-top: 4px; color: var(--muted); font-size: 9px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.record-status { display: flex; align-items: center; gap: 6px; align-self: center; color: var(--muted); font-size: 8px; font-weight: 600; line-height: 1.2; text-align: right; }
.record-status i { width: 6px; height: 6px; flex: 0 0 auto; border: 1px solid var(--blue); border-radius: 50%; }
.record-status[data-status="conflict"] i { border-color: var(--warm); background: var(--warm); }
.record-status[data-status="missing"] i { border-color: var(--muted); background: transparent; }
.list-state { padding: 22px 0; color: var(--muted); font-size: 12px; }
.list-endnote { margin: 18px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }

.dossier { min-height: 280px; background: rgba(251, 252, 249, .72); }
.dossier .section-kicker { margin-bottom: 24px; }
.dossier-content h2 { font-size: 33px; }
.dossier-content .section-intro { margin-bottom: 22px; font-size: 13px; }
.dossier-hint { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; }
.dossier-hint span { color: var(--warm); }
.dossier-topline { display: flex; min-height: 28px; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 11px; color: var(--muted); font-size: 9px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.dossier-source-row { min-width: 0; overflow-wrap: anywhere; }
.dossier-back { display: none; min-height: 44px; align-items: center; gap: 5px; padding: 5px 0 5px 8px; border: 0; background: transparent; color: var(--blue-deep); font-size: 10px; font-weight: 650; letter-spacing: 0; text-transform: none; cursor: pointer; }
.dossier-back:hover { color: var(--warm); }
.dossier-status { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); }
.dossier-status[data-status="conflict"] { color: var(--warm); }
.dossier-status[data-status="missing"] { color: var(--muted); }
.dossier-status::before { width: 6px; height: 6px; border: 1px solid currentColor; border-radius: 50%; content: ""; }
.dossier-title { margin: 0 0 11px; scroll-margin-top: calc(var(--header-height) + 16px); font-size: clamp(28px, 2.6vw, 36px); font-weight: 600; letter-spacing: -.06em; line-height: 1.05; overflow-wrap: anywhere; }
.dossier-summary { margin: 0 0 10px; }
.dossier-summary-sentence { max-width: 66ch; margin: 0 0 7px; color: var(--ink-soft); font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.dossier-summary-sentence:last-child { margin-bottom: 0; }
.torun-dossier-note { margin: 18px 0 22px; padding: 13px 0 14px; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line); }
.torun-dossier-kicker { color: var(--muted); font-size: 8px; font-weight: 720; letter-spacing: .13em; }
.torun-dossier-note p { max-width: 48ch; margin: 7px 0 4px; color: var(--ink-soft); font-size: 12px; line-height: 1.55; }
.torun-dossier-source { color: var(--blue); font-size: 10px; font-weight: 620; text-underline-offset: 3px; }
.dossier-actions { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 0 0 14px; }
.dossier-action { display: inline-flex; min-height: 44px; align-items: center; padding: 7px 0; border: 0; border-bottom: 1px solid var(--line-dark); background: transparent; color: var(--blue); font-size: 12px; font-weight: 680; cursor: pointer; text-decoration: none; }
.dossier-action:hover { color: var(--warm); border-color: var(--warm); }
.dossier-action:disabled, .dossier-action.is-disabled { color: var(--muted); border-color: var(--line); cursor: not-allowed; }
.dossier-action-primary { color: var(--warm); }
.dossier-note { margin: 0 0 20px; padding-left: 11px; border-left: 1px solid var(--warm); color: var(--secondary); font-size: 11px; line-height: 1.55; }
.dossier-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 15px; margin: 14px 0; border-top: 1px solid var(--line); }
.dossier-fact { min-width: 0; padding: 11px 0 10px; border-bottom: 1px solid var(--line); }
.dossier-fact dt { margin-bottom: 3px; color: var(--muted); font-size: 9px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; overflow-wrap: anywhere; }
.dossier-fact dd { margin: 0; overflow-wrap: anywhere; color: var(--ink); font-size: 12px; line-height: 1.45; white-space: pre-wrap; }
.dossier-disclosure { margin: 0; border-top: 1px solid var(--line); }
.dossier-disclosure > summary { display: flex; min-height: 46px; align-items: center; gap: 10px; padding: 8px 3px 8px 0; color: var(--ink-soft); font-size: 12px; font-weight: 650; line-height: 1.35; overflow-wrap: anywhere; cursor: pointer; }
.dossier-disclosure > summary:hover { color: var(--warm); }
.dossier-disclosure-content { padding: 0 0 16px; }
.dossier-disclosure-heading { margin: 16px 0 7px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.dossier-detail-copy, .dossier-method-copy { margin: 8px 0; color: var(--ink-soft); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.dossier-method-copy { padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); }
.dossier-facts-model, .dossier-location-facts { grid-template-columns: 1fr; margin: 8px 0; }
.dossier-facts-model .dossier-fact, .dossier-location-facts .dossier-fact { padding: 8px 0; }
.dossier-source-group + .dossier-source-group { margin-top: 13px; }
.dossier-source-item { min-width: 0; border-top: 1px solid var(--line); }
.dossier-source-item .source-link { border-top: 0; }
.dossier-source-label { display: flex; min-height: 44px; align-items: center; padding: 8px 0; color: var(--ink-soft); font-size: 12px; overflow-wrap: anywhere; }
.dossier-source-note { display: block; padding: 0 0 10px 17px; color: var(--muted); font-size: 11px; line-height: 1.45; overflow-wrap: anywhere; }
.dossier-evidence-fields { grid-template-columns: 1fr; margin: 5px 0 0; }
.dossier-evidence-fields .dossier-fact { padding: 8px 0; }
.dossier-review-list { display: grid; gap: 8px; margin: 8px 0 12px; padding: 0 0 0 18px; color: var(--ink-soft); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.documentary-figure { display: grid; grid-template-columns: minmax(115px, .82fr) minmax(0, 1.18fr); gap: 14px; align-items: center; margin: 12px 0; padding: 13px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.documentary-image-link { display: block; align-self: stretch; overflow: hidden; background: var(--water); }
.documentary-image-link img { display: block; width: 100%; height: auto; }
.documentary-caption { display: grid; align-content: center; justify-items: start; gap: 8px; min-width: 0; margin: 0; }
.documentary-kicker { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.documentary-title { color: var(--ink); font-size: 12px; font-weight: 650; line-height: 1.35; }
.documentary-credit { color: var(--muted); font-size: 11px; line-height: 1.45; overflow-wrap: anywhere; }
.documentary-credit a { color: var(--blue-deep); text-decoration-color: rgba(65,103,176,.35); text-underline-offset: 2px; }
.documentary-credit a:hover, .documentary-full:hover { color: var(--warm); }
.documentary-caveat { color: var(--secondary); font-size: 11px; line-height: 1.45; }
.documentary-full { display: inline-flex; min-height: 44px; align-items: center; color: var(--blue-deep); font-size: 11px; font-weight: 650; text-decoration-color: rgba(65,103,176,.35); text-underline-offset: 2px; }
.source-link { display: flex; min-height: 44px; align-items: center; gap: 9px; padding: 8px 0; border-top: 1px solid var(--line); color: var(--blue-deep); font-size: 12px; line-height: 1.4; text-decoration-color: rgba(65,103,176,.32); text-underline-offset: 3px; overflow-wrap: anywhere; }
.source-link::before { flex: 0 0 auto; color: var(--warm); content: "↗"; }
.source-link:hover { color: var(--warm); }
.raw-heading { margin: 14px 0 5px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.raw-numeric-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; border-top: 1px solid var(--line); }
.raw-numeric-facts .dossier-fact { padding: 9px 0; }
.raw-numeric-facts .dossier-fact dd { font-variant-numeric: tabular-nums; }
.raw-assumption { margin: 4px 0 12px; padding-left: 9px; border-left: 1px solid var(--line-dark); color: var(--muted); font-size: 11px; line-height: 1.5; }
.raw-fields { display: grid; grid-template-columns: 1fr; gap: 0; margin: 5px 0 15px; }
.raw-field { display: grid; grid-template-columns: minmax(90px, 31%) minmax(0, 1fr); gap: 9px; padding: 8px 0; border-top: 1px solid var(--line); }
.raw-field dt { color: var(--muted); font-size: 11px; line-height: 1.45; overflow-wrap: anywhere; }
.raw-field dd { margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; white-space: pre-wrap; }

.method-section { padding-top: 72px; padding-bottom: 67px; }
.method-section h2 { margin-bottom: 19px; }
.method-lines { margin-top: 30px; border-top: 1px solid var(--line-dark); }
.method-line { display: grid; grid-template-columns: 27px 1fr; gap: 10px; padding: 14px 0 13px; border-bottom: 1px solid var(--line); }
.method-number { padding-top: 2px; color: var(--warm); font-size: 9px; font-weight: 650; }
.method-line p { margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.5; }
.method-line b { color: var(--ink); font-size: 11px; font-weight: 650; }
.text-button { display: inline-flex; align-items: center; gap: 7px; margin-top: 24px; padding: 0; border: 0; background: none; color: var(--blue-deep); font-size: 11px; font-weight: 650; cursor: pointer; }
.text-button span { color: var(--warm); }
.site-footer { display: flex; align-items: center; justify-content: space-between; min-height: 74px; border-top: 1px solid var(--line); color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .12em; }
.site-footer a { color: var(--muted); font-size: 10px; font-weight: 500; letter-spacing: 0; text-decoration: none; }
.site-footer a:hover { color: var(--warm); }
.site-footer { flex-wrap: wrap; gap: 6px 20px; }
.footer-divider { padding: 0 4px; color: var(--warm); font-size: 8px; }



.method-dialog { width: min(660px, calc(100% - 36px)); max-width: none; max-height: min(88svh, 900px); padding: 0; border: 1px solid var(--line-dark); background: var(--paper); color: var(--ink); box-shadow: 0 24px 90px rgba(28, 38, 37, .25); }
.method-dialog::backdrop { background: rgba(25, 36, 36, .52); backdrop-filter: blur(2px); }
.dialog-topline { position: sticky; z-index: 1; top: 0; display: flex; align-items: center; justify-content: space-between; height: 51px; padding: 0 24px; border-bottom: 1px solid var(--line); background: var(--paper); color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.dialog-topline b { padding: 0 4px; color: var(--warm); font-weight: 500; }
.dialog-topline button { width: 26px; height: 26px; border: 1px solid var(--line); border-radius: 50%; background: none; color: var(--ink-soft); font-size: 18px; line-height: 1; cursor: pointer; }
.dialog-body { max-width: 600px; margin: 0 auto; padding: 30px clamp(23px, 5vw, 54px) 37px; }
.dialog-kicker { margin: 0 0 16px; color: var(--warm); font-size: 9px; }
.dialog-body h2 { margin: 0 0 19px; font-size: clamp(34px, 7vw, 47px); font-weight: 600; letter-spacing: -.065em; line-height: 1.02; }
.dialog-body > p:not(.dialog-kicker) { margin: 0 0 20px; color: var(--ink-soft); font-size: 13px; line-height: 1.65; }
.dialog-rule { height: 1px; margin: 25px 0; background: var(--line-dark); }
.dialog-body h3 { margin: 21px 0 6px; font-size: 14px; font-weight: 670; letter-spacing: -.015em; }
.dialog-body h3 + p { margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.6; }
.dialog-citation { margin-top: 27px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; line-height: 1.6; }
.dialog-footer { display: flex; align-items: center; justify-content: space-between; padding: 13px 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .14em; }
.dialog-footer button { padding: 7px 0 7px 12px; border: 0; background: none; color: var(--blue-deep); font-size: 11px; font-weight: 650; letter-spacing: 0; cursor: pointer; }
.dialog-footer button span { padding-left: 5px; color: var(--warm); }

@media (min-width: 1500px) {
  .hero h1 { font-size: 72px; }
}

@media (max-width: 1050px) and (min-width: 781px) {
  .atlas-layout { grid-template-columns: minmax(365px, 42%) minmax(0, 58%); }
  .hero, .section-block, .site-footer { padding-right: 31px; padding-left: 31px; }
  .hero h1 { font-size: clamp(46px, 5vw, 57px); }
  .map-header { padding: 0 18px; }
  .map-scale-label { display: none; }
}

@media (max-width: 780px) {
  :root { --header-height: 57px; }
  html { scroll-padding-top: calc(var(--header-height) + 12px); }
  .site-header { position: sticky; top: 0; grid-template-columns: 1fr 1fr; padding: 0 80px 0 17px; }
  .brand { gap: 8px; }
  .brand-name { font-size: 10px; }
  .header-context { display: none; }
  .method-trigger { font-size: 10px; }
  .atlas-layout { display: flex; flex-direction: column; }
  .content-rail { display: contents; }
  .hero, .section-block, .site-footer { width: 100%; padding-right: 23px; padding-left: 23px; }
  .hero { order: 1; min-height: 520px; min-height: min(70svh, 610px); justify-content: center; padding-top: 47px; padding-bottom: 78px; }
  .hero h1 { margin: 25px 0 17px; font-size: clamp(48px, 12vw, 68px); }
  .hero-deck { max-width: 30ch; font-size: 14px; }
  .hero-actions { gap: 17px; margin-top: 23px; }
  .hero-footnote { margin-top: 26px; font-size: 8px; }
  .featured-file { margin-top: 18px; padding-top: 11px; }
  .featured-title { font-size: 12px; }
  .scroll-cue { right: 23px; bottom: 19px; }
  .map-rail { position: sticky; z-index: 5; order: 2; top: var(--header-height); width: 100%; height: 36svh; min-height: 240px; max-height: 320px; border-top: 1px solid var(--line); border-left: 0; }
  .map-header { height: 46px; padding: 0 15px; }
  .map-region { font-size: 8px; }
  .map-scale-label { font-size: 7px; }
  .map-note { bottom: 17px; left: 13px; max-width: calc(100% - 110px); padding: 7px 9px 7px 8px; font-size: 12px; }
  .scene-map-note { top: 54px; left: 10px; max-width: min(265px, calc(100% - 105px)); padding: 6px 8px; font-size: 9px; }
  .scene-map-note-kicker { font-size: 7px; }
  .scene-map-note a { font-size: 9px; }
  .point-preview { top: 52px; right: 72px; bottom: 53px; left: 10px; width: auto; max-height: none; gap: 6px; padding: 8px 10px 9px; }
  .point-preview-topline { min-height: 44px; gap: 6px; }
  .point-preview-kicker { font-size: 8px; letter-spacing: .09em; }
  .point-preview-status { font-size: 9px; }
  .point-preview-close { flex-basis: 44px; width: 44px; height: 44px; }
  .point-preview-title { font-size: 16px; }
  .point-preview-summary { font-size: 12px; line-height: 1.4; }
  .point-preview-open { min-height: 44px; font-size: 11px; }
  .maplibregl-ctrl-bottom-right { bottom: 15px !important; right: 9px !important; }
  .maplibregl-ctrl-attrib { max-width: 132px; font-size: 9px !important; }
  .maplibregl-ctrl-top-right { top: 54px !important; right: 9px !important; }
  .maplibregl-ctrl-group button { width: 44px !important; height: 44px !important; }
  .section-block { order: 3; padding-top: 56px; padding-bottom: 53px; }
  .section-block h2 { font-size: 38px; }
  .explorer { scroll-margin-top: calc(var(--header-height) + max(240px, min(36svh, 320px)) + 14px); padding-top: 14px; padding-bottom: 35px; }
  .explorer > .section-kicker, .explorer > h2, .explorer > .section-intro { display: none; }
  .explorer .search-form { margin-top: 0; }
  .filters { gap: 9px; }
  .filter-field select { min-height: 35px; padding-left: 7px; font-size: 10px; }
  .record-item { gap: 6px; padding-top: 11px; padding-bottom: 11px; }
  .record-name { font-size: 11px; }
  .record-status { max-width: 84px; font-size: 7px; }
  .record-status i { width: 5px; height: 5px; }
  .dossier { order: 4; }
  .dossier-content h2 { font-size: 31px; }
  .torun-dossier-note { margin: 13px 0 17px; padding: 10px 0 11px; }
  .torun-dossier-note p { font-size: 11px; }
  .dossier-facts { gap: 0 10px; }
  .dossier-fact dd { font-size: 10px; }
  .dossier-back { display: inline-flex; }
  body.has-selected-dossier { overflow: hidden; }
  body.has-selected-dossier .dossier {
    position: fixed;
    z-index: 12;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 55svh;
    min-height: 0;
    max-height: 55svh;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 13px 22px calc(18px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line-dark);
    background: var(--paper-bright);
    box-shadow: 0 -8px 28px rgba(27, 40, 39, .12);
    scroll-margin-top: 0;
  }
  body.has-selected-dossier .dossier .section-kicker { display: none; }
  body.has-selected-dossier .dossier-topline { margin-bottom: 10px; font-size: 8px; }
  body.has-selected-dossier .documentary-figure { grid-template-columns: minmax(100px, .8fr) minmax(0, 1.2fr); gap: 11px; }
  .method-section { order: 5; }
  .site-footer { order: 6; min-height: 67px; }
}

@media (max-width: 390px) {
  .hero { min-height: 510px; }
  .hero h1 { font-size: 47px; }
  .button-primary { padding: 0 12px; }
  .hero-actions { gap: 12px; }
  .map-scale-label { display: none; }
  .filters { grid-template-columns: 1fr 1fr; }
  .filter-field select { font-size: 9px; }
  .record-status { max-width: 76px; }
  .dossier-fact { grid-column: span 2; }
  .raw-field { grid-template-columns: 95px minmax(0,1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .loading-mark { animation: none; border-top-color: var(--blue); }
}

/* Dönüşüm durumu (veri temizliği katmanı) */
.dossier-transformation { margin: 4px 0 12px; }
.dossier-transformation-facts { grid-template-columns: 1fr; margin: 8px 0; }
.dossier-transformation-note { margin: 6px 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.dossier-related { display: inline-block; margin-top: 6px; padding: 0; border: 0; background: none; color: var(--blue); font: inherit; font-size: 12px; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }

/* Giriş: toplam alan özeti */
.loss-summary { width: 100%; max-width: 460px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line-dark); }
.loss-lead { margin: 0 0 14px; color: var(--ink); font-size: clamp(17px, 1.5vw, 20px); font-weight: 560; letter-spacing: -.02em; line-height: 1.3; }
.loss-lead b { color: var(--warm); font-weight: 700; }
.loss-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 18px; }
.loss-stat { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.loss-stat dd { order: 1; margin: 0; color: var(--ink); font-size: clamp(18px, 1.7vw, 23px); font-weight: 650; letter-spacing: -.04em; line-height: 1.05; font-variant-numeric: tabular-nums; white-space: nowrap; }
.loss-stat dt { order: 2; color: var(--muted); font-size: 10px; line-height: 1.35; }
.loss-bar-title { margin: 0 0 6px; color: var(--ink-soft); font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.loss-bar { display: flex; height: 12px; gap: 2px; }
.loss-bar-segment { flex-basis: 0; min-width: 4px; background: var(--muted); }
.loss-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 7px 0 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: 11px; }
.loss-legend li { display: flex; align-items: center; gap: 5px; }
.loss-legend i { width: 8px; height: 8px; background: var(--muted); }
[data-became="housing"].loss-bar-segment, [data-became="housing"] i { background: var(--warm); }
[data-became="mixed"].loss-bar-segment, [data-became="mixed"] i { background: var(--ink); }
[data-became="retail"].loss-bar-segment, [data-became="retail"] i { background: var(--blue); }
[data-became="office"].loss-bar-segment, [data-became="office"] i { background: #8a9396; }
[data-became="culture"].loss-bar-segment, [data-became="culture"] i { background: #c2a272; }
.loss-note { margin: 12px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
@media (max-width: 520px) {
  .loss-stats { grid-template-columns: 1fr; gap: 9px; }
  .loss-stat { flex-direction: row; align-items: baseline; gap: 10px; }
  .loss-stat dd { min-width: 8.5ch; }
  .loss-note, .loss-stat dt { font-size: 11px; }
}

/* Harita: 3B bina anahtarı */
.map-3d-toggle { position: absolute; z-index: 3; top: 72px; left: 27px; min-height: 36px; padding: 0 13px; border: 1px solid var(--ink); background: rgba(251, 252, 249, .97); color: var(--ink); font: inherit; font-size: 12px; font-weight: 650; cursor: pointer; }
.map-3d-toggle[aria-pressed="true"] { background: var(--ink); color: var(--paper-bright); }
.map-3d-toggle:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
@media (max-width: 760px) { .map-3d-toggle { top: 56px; left: 13px; min-height: 44px; } }


/* F: ana sayfa akışı */
.hero-actions .button-link { max-width: 100%; white-space: normal; text-align: left; }
.record-item { color: inherit; text-decoration: none; }
.record-item:hover .record-name { color: var(--blue); }
.record-item:hover .record-arrow { transform: translateX(3px); color: var(--blue); }
.record-arrow { align-self: center; color: var(--muted); font-size: 16px; transition: transform 160ms ease, color 160ms ease; }
.record-meta { color: var(--muted); }
.more-filters { margin: -6px 0 16px; }
.more-filters > summary { display: inline-flex; min-height: 36px; align-items: center; color: var(--muted); font-size: 12px; cursor: pointer; }
.more-filters[open] > summary { margin-bottom: 8px; }
.filters--more { margin: 0; }
@media (prefers-reduced-motion: reduce) { .record-arrow { transition: none; } }
