:root {
  color-scheme: light;
  --ink: #101f34;
  --muted: #526277;
  --subtle: #647589;
  --paper: #f2f5f9;
  --hair: #dce4ed;
  --brand: #14605a;
  --brand-bright: #58ecc6;
  --map-water: #172538;
  --white: #fff;
  --radius: 16px;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-weight: 440;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: var(--brand); text-underline-offset: .18em; }
button, select, input { font: inherit; color: inherit; }
button, select { cursor: pointer; }
button:disabled { opacity: .43; cursor: default; }
button, a, select, input, summary, canvas, [tabindex="0"] { outline-offset: 4px; }
:focus-visible { outline: 2px solid #117267; }
[hidden] { display: none !important; }
.visually-hidden, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip:focus { position: fixed; z-index: 10; inset: .5rem auto auto .5rem; background: white; padding: .5rem; }
.masthead {
  background: #101c2f; color: white; border-bottom: 1px solid #253751;
}
.masthead-inner {
  max-width: 1540px; margin: 0 auto; display: flex; align-items: center;
  padding: 0 38px; gap: clamp(16px, 3vw, 42px); min-height: 58px;
}
.brand { display: flex; align-items: center; gap: 10px; white-space: nowrap; letter-spacing: -.025em; font-size: 18px; color: #f4f7fd; text-decoration: none; }
.brand strong { font-weight: 760; }
.brand-mark { display: grid; grid-template-columns: repeat(3, 4px); gap: 2px; align-items: end; transform: skewY(-9deg); height: 23px; }
.brand-mark i { width: 4px; background: #60e9cc; border-radius: 1px; height: 14px; }
.brand-mark i:nth-child(2) { height: 20px; background: #a9f2e4; }
.brand-mark i:nth-child(3) { height: 17px; }
.masthead nav { display: flex; gap: 18px; align-items: stretch; align-self: stretch; min-width: 0; overflow-x: auto; scrollbar-width: thin; }
.masthead nav a, .nav-source { color: #c5d1e0; text-decoration: none; font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; }
.masthead nav a { white-space: nowrap; }
.masthead nav a:hover, .nav-source:hover { color: white; text-decoration: underline; }
.nav-source { margin-left: auto; white-space: nowrap; }
main { max-width: 1540px; margin: 0 auto; padding: 24px 38px 44px; }
.intro { display: flex; align-items: end; justify-content: space-between; gap: 16px; padding-bottom: 17px; }
h1,h2,h3,h4,p { margin: 0; }
h1 { font-size: clamp(37px, 4vw, 58px); font-weight: 730; letter-spacing: -.068em; line-height: 1.05; margin: 0 0 9px; }
h2 { font-size: 27px; font-weight: 720; line-height: 1.17; letter-spacing: -.032em; }
h3 { font-size: 19px; line-height: 1.25; letter-spacing: -.025em; font-weight: 710; }
h4 { font-size: 16px; }
.intro p, .section-heading p, .panel-top p { color: var(--muted); }
.intro > div { max-width: 760px; }
.data-date { flex-shrink: 0; font-size: 14px; color: var(--muted); padding-bottom: 3px; }
.map-frame, .panel { background: white; border: 1px solid var(--hair); border-radius: var(--radius); }
.map-frame { box-shadow: 0 6px 24px #15274009; overflow: clip; }
.map-head, .map-tools { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 17px; }
.map-head h2 { font-size: 24px; }
.map-head p { font-size: 14px; color: var(--muted); margin-top: 3px; }
.map-tools { border-top: 1px solid var(--hair); padding-block: 9px 11px; align-items: end; justify-content: start; gap: 10px 21px; }
.road-scenario { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 11px; padding: 7px 17px; background: #f6fafb; border-top: 1px solid var(--hair); }
.road-scenario label { font-size: 14px; font-weight: 630; }
.road-scenario select { min-height: 35px; padding-block: 4px; font-size: 14px; }
.road-scenario span { font-size: 13px; color: var(--muted); }
#map-network-field { display: inline-flex; align-items: center; gap: 6px; }
.map-load-note { padding: 7px 17px; background: #eff5f7; color: var(--muted); font-size: 14px; }
.segments { display: inline-flex; padding: 3px; margin: 0; border: 1px solid #dce5ee; border-radius: 11px; background: #f3f6fa; min-inline-size: 0; gap: 2px; }
.segments button { border: 0; border-radius: 8px; background: transparent; color: #43566d; font-size: 14px; min-height: 37px; padding: 6px 12px; white-space: nowrap; }
.segments button:hover { background: #e9edf4; }
.segments button[aria-pressed="true"] { background: #21344d; color: #fff; font-weight: 650; }
.map-select { display: flex; align-items: end; flex-wrap: wrap; gap: 8px 15px; }
.map-field { min-width: 0; }
.map-field select { width: 100%; }
.map-select label, .map-select select { font-size: 14px; }
select, input[type="search"] { border: 1px solid #d7e1e8; border-radius: 8px; background: #fff; min-height: 41px; padding: 7px 10px; }
.toggle-anchor { display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; color: #384d61; min-height: 40px; cursor: pointer; }
.toggle-anchor input { accent-color: #14605a; width: 16px; height: 16px; margin: 0; flex-shrink: 0; }
.map-console { display: grid; grid-template-columns: minmax(0, 1fr) minmax(275px, 315px); }
.map-surface { position: relative; height: clamp(450px, calc(100svh - 455px), 590px); min-width: 0; background: var(--map-water); overflow: hidden; color: #e1ebf6; }
#map-canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: none; }
#map-canvas.dragging { cursor: grabbing; }
#map-canvas.link { cursor: pointer; }
#map-canvas:focus-visible { outline-offset: -3px; outline-color: #6be8c9; }
.map-zoom { position: absolute; top: 15px; right: 15px; display: grid; gap: 4px; }
.map-zoom button { color: #eaf4ff; width: 41px; height: 41px; padding: 0; border-radius: 9px; background: #101d2eea; border: 1px solid #59718b; font-size: 23px; line-height: 1; }
.map-zoom button:hover { background: #294259; }
.compass { position: absolute; top: 17px; left: 19px; display: grid; justify-items: center; gap: 3px; font-size: 13px; font-weight: 670; color: #c6d8e9; pointer-events: none; }
.compass span { display: block; width: 10px; height: 15px; background: #c6d8e9; clip-path: polygon(50% 0, 100% 100%, 50% 69%, 0 100%); }
.map-key { position: absolute; left: 13px; bottom: 30px; max-width: calc(100% - 90px); border: 1px solid #4d637a; padding: 7px 10px; border-radius: 9px; background: #122033ee; font-size: 13px; line-height: 1.4; pointer-events: none; }
.key-row, .key-scale { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 12px; }
.key-row + .key-scale { margin-top: 6px; border-top: 1px solid #485b72; padding-top: 6px; }
.key-row span, .key-scale span { display: inline-flex; align-items: center; gap: 5px; }
.dot { display: inline-block; width: 9px; height: 9px; flex-shrink: 0; border-radius: 50%; vertical-align: baseline; }
.dot.dt { background: var(--brand-bright); box-shadow: inset 0 0 0 1px #063f36; }
.dot.approx { background: none; border: 1.5px solid #e4edf8; }
.dot.wm { background: #aabeef; border-radius: 1px; }
.dot.proposal { background: #e5c0f5; border-radius: 2px; }
.key-scale i { width: 12px; height: 10px; border-radius: 2px; box-shadow: inset 0 0 0 1px #ffffff28; }
.map-credit { position: absolute; bottom: 6px; right: 13px; font-size: 11px; color: #a7bace; pointer-events: none; }
.scale { position: absolute; right: 13px; bottom: 32px; font-size: 11px; text-align: right; color: #e3edfb; display: grid; justify-items: end; pointer-events: none; }
.scale i { display: block; height: 5px; border: solid #c9d8e7; border-width: 0 1px 1px; }
.inspector { min-width: 0; padding: 18px 16px; }
.inspector-head { display: flex; gap: 5px; align-items: start; justify-content: space-between; margin-bottom: 11px; }
.inspector-head p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.inspector h3 { overflow-wrap: anywhere; }
.inspector .quiet-link { display: inline-block; margin-block: 9px 1px; }
.inspector-p { color: var(--muted); font-size: 14px; margin-top: 10px; }
.inspector .close { color: var(--muted); box-shadow: inset 0 0 0 1px var(--hair); font-size: 20px; width: 33px; min-height: 33px; border-radius: 8px; background: white; border: 0; flex-shrink: 0; }
.summary-country { padding: 10px 0; border-top: 1px solid var(--hair); }
.inspector .country-summary { margin-top: 12px; }
.summary-country h4 { margin-bottom: 6px; }
.inspector dl, .summary-country dl { margin: 0; }
.data-line { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 2px 0; font-size: 14px; }
.data-line dt { color: var(--muted); }
.data-line dd { font-weight: 670; text-align: right; margin: 0; }
.mini-line { margin-top: 10px; height: 5px; border-radius: 8px; background: #e4efee; overflow: hidden; }
.mini-line i { display: block; height: 100%; border-radius: inherit; background: #238a77; }
.note { font-size: 14px; color: var(--muted); line-height: 1.45; }
.note-panel { color: #3f5870; background: #f0f5fa; border-radius: 9px; padding: 10px; margin-top: 10px; font-size: 14px; }
.store-detail > .store-access { padding-top: 10px; margin-top: 10px; border-top: 1px solid var(--hair); }
.store-links { display: flex; flex-wrap: wrap; gap: 3px 10px; }
.choose-store { display: block; width: 100%; text-align: left; border: 0; border-top: 1px solid var(--hair); padding: 8px 0; background: transparent; color: var(--brand); min-height: 45px; font-size: 14px; }
.choose-store:hover { text-decoration: underline; }
.section { margin-top: 38px; scroll-margin-top: 14px; }
#mapa { scroll-margin-top: 14px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.section-heading p, .panel-top p { margin-top: 5px; }
.section-heading p { max-width: 78ch; }
.section-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
.section-heading + .section-links { margin: -2px 0 12px; }
.quiet-link, .text-button { color: var(--brand); font-size: 14px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.quiet-link:hover, .text-button:hover { text-decoration: underline; }
.text-button { background: transparent; padding: 6px 8px; border: 1px solid transparent; border-radius: 7px; min-height: 39px; }
.text-button:hover:not(:disabled) { border-color: #cfe1df; }
.panorama-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(430px, 100%), 1fr)); gap: 14px; }
.panorama-card { padding: 18px 20px 14px; box-shadow: 0 4px 19px #21304a08; }
.panorama-card h3 { border-bottom: 1px solid var(--hair); padding-bottom: 11px; }
.panorama-indicators { margin-block: 11px 4px; }
.panorama-indicators div { min-width: 0; }
.panorama-indicators strong { display: block; font-size: clamp(26px, 3vw, 40px); line-height: 1.12; letter-spacing: -.055em; }
.panorama-indicators strong small { font-size: .48em; color: var(--muted); letter-spacing: -.025em; }
.panorama-indicators p { font-size: 15px; color: #384e63; margin-top: 5px; }
.panorama-indicators p.secondary { font-size: 14px; color: var(--muted); margin-top: 6px; }
.panorama-indicators .mini-line { margin-top: 8px; }
.panorama-indicators .proximity { background: #e6e9f3; }
.panorama-indicators .proximity i { background: #657ca6; }
.panorama-foot { display: flex; flex-wrap: wrap; gap: 5px 17px; margin-top: 10px; }
.panorama-foot a { white-space: normal; }
.overview-card h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.overview-card h3 span { color: var(--muted); font-size: .875rem; font-weight: 600; letter-spacing: 0; }
.overview-access { display: flex; align-items: center; gap: 14px; margin-top: 15px; }
.overview-access > strong { color: var(--brand); font-size: clamp(26px, 4vw, 40px); font-weight: 730; line-height: 1; letter-spacing: -.055em; white-space: nowrap; }
.overview-access p { line-height: 1.35; color: var(--ink); font-size: .9375rem; }
.overview-access small { display: block; color: var(--muted); margin-top: 3px; font-size: .8125rem; }
.overview-card dl { margin: 14px 0 7px; padding-top: 9px; border-top: 1px solid var(--hair); }
.overview-card dd { white-space: nowrap; }
.feature-disclosure { margin-top: 14px; }
.feature-disclosure > .section { margin-top: 15px; }
.coverage-detail, #anchors { margin-top: 12px; }
.profile-map-actions { display: flex; flex-wrap: wrap; gap: 5px; }
.influence-alternatives { padding: 14px 17px; border-bottom: 1px solid var(--hair); }
.influence-alternatives p { margin-top: 5px; }
.spacing-comparison { padding: 16px 17px; scroll-margin-top: 14px; }
.spacing-comparison .table-link { white-space: normal; }
.spacing-comparison .table-scroll { margin-block: 11px; }
.spacing-comparison table { min-width: 620px; }
.spacing-comparison td { vertical-align: top; white-space: normal; }
#spacing-content > p { margin-block: 8px; color: var(--muted); }
.spacing-distance-bars { display: grid; gap: 8px; margin-block: 9px; }
.spacing-distance-row { display: grid; grid-template-columns: minmax(135px, .6fr) minmax(35px, 1fr) minmax(115px, .5fr); gap: 8px 13px; align-items: center; }
.spacing-distance-row > strong { text-align: right; font-variant-numeric: tabular-nums; }
.spacing-distance-row small { color: var(--muted); font-weight: 450; }
.spacing-distance-row > div { height: 9px; background: #e3edee; overflow: hidden; border-radius: 5px; }
.spacing-distance-row i { display: block; height: 100%; background: #3b8d81; }
.municipal-filter { flex-wrap: wrap; }
.expansion-panel { --expansion-purple: #673e78; box-shadow: 0 9px 30px #2635560a; overflow: clip; }
.expansion-objective { margin: 14px 20px 10px; }
.expansion-objective button { min-height: 40px; }
.expansion-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 12px 26px; padding: 16px 20px; background: #f5f4f9; }
.expansion-filters { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.expansion-toolbar > p { max-width: 45ch; color: #4d5066; font-size: 14px; }
.expansion-list-heading { border-top: 1px solid var(--hair); padding: 15px 20px 13px; }
.expansion-list-heading > p { color: var(--muted); margin-top: 5px; max-width: 85ch; }
.expansion-list-heading > a { display: inline-block; margin-top: 8px; white-space: normal; }
.expansion-item { border-top: 1px solid var(--hair); padding: 16px 20px 12px; }
.expansion-row { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(235px, .66fr); align-items: start; gap: 12px 17px; }
.expansion-rank { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #f0e8f4; color: var(--expansion-purple); font-weight: 730; font-variant-numeric: tabular-nums; }
.expansion-place h4 { font-size: 22px; }
.expansion-reference { color: var(--muted); font-size: 15px; margin-top: 4px; }
.expansion-reading { margin-top: 6px; }
.expansion-map { padding-inline: 0; }
.expansion-map:hover:not(:disabled) { border-color: transparent; }
.expansion-impact { color: var(--muted); font-size: 14px; }
.expansion-number { display: block; color: var(--expansion-purple); font-size: clamp(25px, 3vw, 36px); line-height: 1.08; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.expansion-detail { margin-left: 53px; margin-top: 3px; }
.expansion-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 22px; padding: 14px 0 4px; }
.expansion-detail p, .expansion-method p { color: var(--muted); margin-block: 6px 9px; }
.expansion-detail a { white-space: normal; }
.expansion-method { border-top: 1px solid var(--hair); background: #f8fafc; padding: 14px 20px; }
.expansion-method > div { margin-top: 10px; max-width: 90ch; }
.expansion-downloads { border-top: 1px solid var(--hair); margin: 0; padding: 11px 20px; }
.analysis-grid, .notes-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.analysis-grid .panel { padding: 16px 17px; min-width: 0; }
.analysis-grid p { margin-top: 6px; }
.analysis-grid .note { margin-top: 11px; }
.analysis-grid .table-scroll { margin-block: 10px 3px; }
.analysis-grid .table-scroll th:first-child, .analysis-grid .table-scroll td:first-child { padding-left: 0; }
.analysis-grid .table-scroll th:last-child, .analysis-grid .table-scroll td:last-child { padding-right: 1px; }
.analysis-grid .table-scroll table { min-width: 490px; }
.analysis-grid .country-name { background: #f1f5f9; color: #435871; font-weight: 670; }
.territory-panel, .coverage-notes { margin-top: 14px; }
.road-panel, .store-audit { margin-top: 14px; }
.road-caption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 5px 16px; padding: 10px 17px 13px; }
.directory-filter.network-controls { justify-content: start; flex-wrap: wrap; }
.network-controls .search { flex: 1 1 150px; }
.network-controls .field { max-width: 100%; grid-template-columns: minmax(0, 1fr); }
.network-controls select { width: 100%; min-width: 0; }
.network-table th:first-child { min-width: 180px; }
.network-table tr > * { border-top: 1px solid var(--hair); vertical-align: middle; }
.network-table th { white-space: normal; }
.network-table .num > strong { font-size: 1.0625rem; }
.network-table .network-closure, #network-loss-head { background: #f3f7fb; border-inline-start: 1px solid var(--hair); }
.network-closure { color: var(--muted); white-space: normal; }
.network-closure span { display: block; }
.network-closure span + span { margin-top: 2px; }
.network-closure strong { color: var(--ink); white-space: nowrap; }
.network-position { display: block; color: var(--brand); font-size: 13px; font-weight: 620; margin-bottom: 2px; }
.network-table .gap-compact { display: none; }
#segundas-opciones .network-summary { padding-inline: 0; }
.network-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px;
  padding: 12px 17px 15px; border-top: 1px solid var(--hair); }
.network-country { min-width: 0; }
.network-country dl { margin: 9px 0 0; }
.network-country dd small { color: var(--muted); font-size: 13px; font-weight: 450; }
.network-stack { display: flex; background: #dee6ef; height: 10px; overflow: hidden; border-radius: 9px; margin-top: 10px; }
.network-swatch { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 4px; }
.network-stack .many, .network-swatch.many { background: #398d7d; }
.network-stack .one, .network-swatch.one { background: #cd9460; }
.network-stack .outside, .network-swatch.outside { background: #98aac3; }
.network-stack .unknown, .network-swatch.unknown { background: #d8dce6; }
.network-panel .emphasis { color: #873f32; font-weight: 700; }
.directory-filter.influence-controls { justify-content: start; flex-wrap: wrap; }
.influence-controls .field:first-child { min-width: 180px; flex: 1 1 280px; }
.influence-controls select, #map-influence-store { width: 100%; max-width: 100%; }
#map-influence-field { display: grid; grid-template-columns: auto minmax(110px, 235px); align-items: center; gap: 7px; }
.influence-overview { display: grid; grid-template-columns: minmax(240px, .9fr) 1.1fr; border-block: 1px solid var(--hair); }
.influence-overview article { min-width: 0; padding: 16px 17px; }
.influence-overview article + article { border-left: 1px solid var(--hair); }
.influence-overview dl { margin: 7px 0 0; }
.influence-trend { margin: 10px 0 8px; display: grid; gap: 7px; }
.influence-trend div { display: grid; grid-template-columns: 112px 1fr minmax(63px, auto); align-items: center; gap: 9px; font-size: 13px; }
.influence-trend i { background: #e2e9ec; height: 7px; border-radius: 7px; overflow: hidden; }
.influence-trend i span { display: block; height: 100%; border-radius: inherit; background: #368b7f; }
.influence-trend .projection i span { background: #5d7fa3; }
.influence-trend strong { text-align: right; font-variant-numeric: tabular-nums; }
.influence-economy-head, #influence-economy > *:not(.table-scroll), .influence-places { margin-inline: 17px; }
.influence-economy-head { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 8px 15px; margin-top: 16px; }
.influence-economy-summary { margin-block: 9px 0; }
.influence-places h3 { margin-top: 16px; }
.influence-economy .note, .influence-places .note { margin-block: 5px 10px; }
.influence-economy .table-scroll { margin-block: 11px; }
.influence-places, .influence-downloads { border-top: 1px solid var(--hair); }
.influence-places { padding-top: 1px; }
.influence-downloads { justify-content: start; gap: 7px 18px; }
.economy-card + .economy-card { margin-top: 9px; }
.finance-panel { margin-top: 9px; }
.finance-panel h4 { margin-top: 11px; }
.short-detail summary { color: var(--brand); font-size: 14px; font-weight: 640; cursor: pointer; }
.diagnostic-grid { grid-template-columns: minmax(0, 1fr); }
.diagnostic-card { min-width: 0; padding: 16px 17px; }
.diagnostic-card p, .diagnostic-priorities { margin: 6px 0 9px; color: var(--muted); font-size: 14px; }
.diagnostic-card .table-scroll { margin-block: 8px; }
.diagnostic-priorities { padding-left: 21px; }
.diagnostic-priorities li { margin-block: 6px; }
.atlas-guide { margin-bottom: 14px; }
.guide-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin: 12px 0; }
.guide-items > div { min-width: 0; border-top: 1px solid var(--hair); padding-top: 9px; }
.guide-items dt { color: var(--ink); font-size: 15px; font-weight: 650; }
.guide-items dd { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.panel-explain { padding: 10px 17px 14px; border-top: 1px solid var(--hair); }
.review-content { display: grid; gap: 13px; }
.review-block { min-width: 0; padding: 17px; scroll-margin-top: 14px; }
.review-block h3 { line-height: 1.25; }
.review-block p { margin: 9px 0; max-width: 105ch; color: var(--muted); font-size: 15px; line-height: 1.55; }
.review-block .review-references { font-size: 14px; margin-top: 12px; margin-bottom: 0; }
.review-block .quiet-link, .review-timeline .quiet-link { white-space: normal; }
.review-table { margin: 12px 0; border: 1px solid var(--hair); border-radius: 8px; }
.review-table th, .review-table td { white-space: normal; }
.review-table td { vertical-align: top; }
.review-table table { min-width: 625px; }
.review-timeline table { min-width: 835px; }
.inline-method { margin-top: 11px; }
.review-detail { margin-top: 13px; }
.review-detail .diagnostic-card { border-top: 1px solid var(--hair); padding-inline: 0; }
.result-notice { background: #fcf2e8; color: #683e2b; border-left: 3px solid #bf815d; padding: 9px 11px; border-radius: 6px; font-size: 14px; }
.economy-card .historic { margin-top: 9px; border-top: 1px solid var(--hair); }
.spending-context { margin-top: 14px; border-top: 1px solid var(--hair); padding-top: 13px; }
.economy-card .spending-context .table-scroll table { min-width: 310px; max-width: 600px; }
.store-audit h4 { margin-top: 14px; }
.panel-top, .directory-filter { padding: 15px 17px; display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.field { display: grid; gap: 4px; min-width: 0; color: var(--muted); font-weight: 580; font-size: 14px; }
.field input, .field select { color: var(--ink); font-weight: 440; }
.field.search { flex: 1 1 auto; }
.field.search input { width: 100%; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.4; }
thead { background: #f3f6fa; color: #3f536c; }
tbody td, tbody th { border-bottom: 1px solid #edf1f5; }
th, td { padding: 9px 11px; text-align: left; white-space: nowrap; }
th { font-weight: 650; }
th:first-child, td:first-child { padding-left: 17px; }
th:last-child, td:last-child { padding-right: 17px; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
tbody tr:hover { background: #f8fafd; }
tbody th:not(.country-name) { font-weight: 550; }
.table-link { background: none; color: #165f56; border: 0; padding: 4px 0; text-align: left; font-size: 14px; font-weight: 650; }
.table-link:hover { text-decoration: underline; }
.table-sub { display: block; font-size: 13px; color: var(--muted); }
.table-foot { display: flex; justify-content: space-between; align-items: center; gap: 9px; padding: 9px 17px; font-size: 13px; color: var(--muted); }
.page-buttons { display: flex; gap: 3px; }
.notes-grid { margin-top: 14px; }
.disclosure { padding: 0 16px 12px; min-width: 0; align-self: start; }
.disclosure summary { color: var(--ink); font-weight: 670; padding: 13px 0 2px; cursor: pointer; }
.disclosure summary span { font-size: 13px; font-weight: 500; color: var(--muted); margin-left: 5px; }
.disclosure p, .disclosure ul { font-size: 14px; color: var(--muted); margin: 7px 0; }
.disclosure ul { padding-left: 22px; }
.disclosure li { margin: 4px 0; }
.disclosure .quiet-link { white-space: normal; }
.disclosure .table-scroll { margin-top: 10px; }
.disclosure .table-scroll table { min-width: 550px; }
.cover-chart { margin-top: 10px; }
.cover-chart + .cover-chart { margin-top: 12px; border-top: 1px solid var(--hair); padding-top: 12px; }
.cover-chart h4 { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 10px; }
.cover-chart h4 small { color: var(--muted); font-size: 13px; font-weight: 500; }
.bar-row { display: grid; grid-template-columns: 68px 1fr 58px; column-gap: 8px; align-items: center; padding: 4px 0; font-size: 13px; }
.bar-row strong { text-align: right; font-variant-numeric: tabular-nums; }
.bar-row i { height: 6px; background: #e4edee; border-radius: 10px; overflow: hidden; }
.bar-row i span { display: block; height: 100%; border-radius: inherit; background: #2a887d; }
.cover-chart .travel-detail { color: var(--muted); font-size: 13px; margin-top: 6px; }
.page-footer { max-width: 1540px; margin: 0 auto; display: flex; padding: 15px 38px 24px; gap: 13px; justify-content: space-between; border-top: 1px solid var(--hair); color: var(--muted); font-size: 14px; }
.loading { padding: 20px; border: 1px solid var(--hair); border-radius: 12px; background: white; margin-top: 6px; }
@media (max-width: 1100px) {
  main { padding-inline: 24px; }
  .masthead-inner, .page-footer { padding-inline: 24px; }
  .map-console { grid-template-columns: minmax(0, 1fr) 266px; }
  .analysis-grid { gap: 11px; }
}
@media (max-width: 830px) {
  .masthead nav { gap: 12px; min-width: 0; overflow-x: auto; scrollbar-width: thin; }
  .masthead nav a { white-space: nowrap; }
  .map-console { grid-template-columns: minmax(0, 1fr); }
  .map-surface { height: clamp(390px, 65vw, 540px); }
  .country-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
  .summary-country { min-width: 0; }
  .analysis-grid { grid-template-columns: 1fr; }
  .map-tools { align-items: end; flex-wrap: wrap; }
  .map-select { justify-content: start; }
}
@media (max-width: 555px) {
  .masthead-inner { padding: 9px 13px 0; flex-wrap: wrap; gap: 0; }
  .masthead nav { width: 100%; gap: 12px; justify-content: space-between; }
  .masthead nav a { font-size: 13px; white-space: nowrap; }
  .brand { font-size: 16px; gap: 6px; }
  .nav-source { display: none; }
  main { padding: 21px 12px 28px; }
  .intro { display: grid; gap: 8px; padding-bottom: 15px; }
  .intro p { font-size: 16px; }
  .intro .data-date { font-size: 13px; }
  .map-head, .map-tools { padding-inline: 10px; }
  .map-head { align-items: start; flex-direction: column; gap: 8px; }
  .map-head h2 { font-size: 21px; }
  .map-head p { font-size: 13px; }
  .segments button { min-height: 41px; padding-inline: 10px; font-size: 13px; }
  .map-tools { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .map-select { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 0 8px; }
  .road-scenario { padding-inline: 10px; }
  .road-scenario span { flex-basis: 100%; }
  .map-surface { height: 397px; }
  .map-key { max-width: calc(100% - 24px); bottom: 48px; left: 8px; font-size: 12px; }
  .key-row, .key-scale { gap: 5px 8px; }
  .map-zoom { right: 8px; top: 9px; }
  .map-zoom button { width: 40px; height: 42px; }
  .map-credit { right: 8px; }
  .scale { bottom: 22px; right: 9px; }
  .inspector { padding-inline: 12px; }
  .country-summary { column-gap: 8px; }
  .data-line { gap: 4px; font-size: 13px; }
  .section { margin-top: 29px; }
  .section-heading { align-items: start; flex-wrap: wrap; gap: 7px; }
  h2 { font-size: 24px; }
  .section-heading p { font-size: 14px; }
  .panorama-card { padding: 13px; }
  .panorama-indicators p { font-size: 14px; }
  .overview-access { gap: 10px; }
  .spacing-comparison { padding: 13px 12px; }
  #separacion .section-heading, #expansion .section-heading, #aporte-red .section-heading { flex-wrap: wrap; }
  .spacing-distance-row { grid-template-columns: minmax(0, 1fr) minmax(108px, auto); gap: 3px 9px; }
  .spacing-distance-row > div { grid-column: 1 / -1; grid-row: 2; }
  .expansion-toolbar { align-items: start; flex-direction: column; }
  .expansion-filters { width: 100%; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .expansion-filters select { width: 100%; font-size: 14px; }
  .expansion-toolbar, .expansion-list-heading, .expansion-item, .expansion-method, .expansion-downloads { padding-inline: 12px; }
  .expansion-row { grid-template-columns: auto minmax(0, 1fr); gap: 8px 10px; }
  .expansion-place h4 { font-size: 20px; }
  .expansion-impact { grid-column: 2; }
  .expansion-detail { margin-left: 0; margin-top: 11px; }
  .expansion-detail-grid { grid-template-columns: 1fr; gap: 9px; }
  .notes-grid { grid-template-columns: 1fr; gap: 9px; }
  .panel-top, .directory-filter, .table-foot { padding-inline: 10px; }
  .road-caption { padding-inline: 10px; }
  .network-summary { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .guide-items { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .review-heading { flex-wrap: wrap; }
  .review-block { padding: 13px; }
  .review-block p { font-size: 14px; }
  .panel-explain { padding-inline: 12px; }
  .network-controls .search { flex-basis: 100%; }
  .network-table table { width: 100%; min-width: 0; }
  .network-table .network-extra { display: none; }
  .network-table th:first-child { min-width: 0; max-width: 160px; }
  .network-table th, .network-table td { padding-inline: 8px; overflow-wrap: anywhere; white-space: normal; }
  .network-table td.num { white-space: nowrap; }
  .network-closure { font-size: .8125rem; }
  .network-table .gap-compact { display: block; }
  .network-position { font-size: 12px; }
  .expansion-objective { margin-inline: 12px; max-width: calc(100% - 24px); }
  .expansion-objective button { white-space: normal; line-height: 1.2; }
  .influence-heading { flex-wrap: wrap; }
  .influence-controls .field:first-child { flex-basis: 100%; }
  .influence-overview { grid-template-columns: minmax(0, 1fr); }
  .influence-overview article + article { border-left: 0; border-top: 1px solid var(--hair); }
  .influence-panel tr > :first-child { white-space: normal; min-width: 135px; }
  .panel-top { align-items: start; flex-direction: column; }
  .directory-filter { gap: 8px; }
  .municipal-filter { flex-wrap: wrap; }
  .municipal-filter .search { flex-basis: 100%; }
  .field.search input { font-size: 16px; }
  .page-footer { padding-inline: 12px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (max-width: 410px) {
  .masthead nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 8px; }
  .masthead nav a { min-height: 38px; }
}
