/* Canonical prototype owns composition/tokens. Only product integration and missing-data states below. */
.skip-link:not(:focus){clip-path:inset(50%);width:1px;height:1px;overflow:hidden;padding:0;white-space:nowrap}
.activity-note{font-size:11px;line-height:1.65;color:var(--muted);margin-top:12px}.search-actions{display:flex;flex-wrap:wrap;gap:6px}.search-actions:empty{display:none}
#other-activity input{width:100%;min-height:46px;border:1px solid #b7c9c6;border-radius:10px;padding:10px;font:inherit;font-size:13px}#activity-error:not(:empty){font-size:12px;line-height:1.6;margin-top:10px;color:#943a3a}.coordinate-input{display:flex;gap:6px}.coordinate-input input{min-width:0}.coordinate-input .secondary{flex:none;align-self:flex-start;min-height:44px}.back-link{border:0;background:transparent;color:var(--ink);cursor:pointer;font:inherit;font-size:12px;font-weight:700;text-align:left;padding:0}.map-legend small{font-size:11px}.map-workspace>#location-tools,.map-workspace>#extra-selection{padding:16px;border-top:1px solid var(--line)}.area-panel .case-details{margin-bottom:12px}
#results-status{font-size:12px;color:var(--muted);line-height:1.6;margin:12px 0}#results-status:empty{display:none}.confirmed-location{overflow-wrap:anywhere}.confirmed-location strong{flex-shrink:0}.raw-evidence dl{display:grid;grid-template-columns:160px 1fr;gap:8px;font-size:12px;line-height:1.6;margin:16px 0}.raw-evidence dd{margin:0;overflow-wrap:anywhere}.raw-evidence a{overflow-wrap:anywhere}.source-cards .source-card{min-width:0}.source-cards .source-card p{overflow-wrap:anywhere}.reference-kind{display:block;font-size:11px;font-weight:400;color:var(--muted);margin-top:5px}
@media(max-width:760px){.confirmed-location strong{flex-shrink:1}.raw-evidence dl{grid-template-columns:1fr}.raw-evidence dd{margin-bottom:6px}#other-activity input,.coordinates input{font-size:16px}.map-workspace>#location-tools label{font-size:12px}.map-workspace>#location-tools .search-status{font-size:11px}.map-workspace>#location-tools form{margin:0}}
/* Candidate/unconfirmed variant: canonical preview.css owns result cards and responsive order. */
#results-status.status-complete{position:absolute;width:1px;height:1px;padding:0;margin:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.area-panel .case-details>summary{display:list-item;list-style:disclosure-closed inside;padding:0;min-height:22px;font-size:11px}.area-panel .case-details[open]>summary{list-style:disclosure-open inside}

/* Printing exposes evidence and excludes interactive map/input chrome. */
@media print{#location-step,.site-header,.skip-link,#results-status,.pilot-action-bar,footer{display:none!important}main{max-width:none;margin:0;padding:0}#results-step:not([hidden]){display:block!important}#results-content>.main-finding{break-inside:avoid}.verification-card{break-inside:avoid}.verification-section{break-inside:auto!important}.next-steps-panel{break-inside:avoid}#sources{display:block!important}#sources .raw-evidence-content{overflow:visible}.verification-status,.verification-status span{print-color-adjust:exact;-webkit-print-color-adjust:exact}}
.geographic-example-buttons{display:grid;gap:8px;margin:12px 0}.geographic-example-buttons button{justify-content:flex-start;text-align:left;width:100%;white-space:normal}

/* Same staged consultation state as the original Abre Aquí / CompraSeguro journey. */
#results-step[aria-busy="true"] #results-status{position:absolute;width:1px;height:1px;padding:0;margin:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.v2-loading{max-width:640px;margin:32px auto 64px;padding:0 12px;text-align:center}
.v2-loading>.eyebrow{margin-bottom:14px;font-size:12px;letter-spacing:.1em;color:var(--teal)}
.v2-loading-card{display:flex;align-items:center;gap:20px;padding:27px 32px;border:1px solid var(--line);background:#fff;border-radius:16px;box-shadow:0 10px 28px #10323a0b;text-align:left}
.v2-loading-icon{display:grid;place-items:center;flex:0 0 60px;width:60px;height:60px;border-radius:16px;background:#e7f4ed;color:var(--teal);font-size:30px;line-height:1}
.v2-loading-card h2{font-size:22px;line-height:1.25;letter-spacing:-.025em}
.v2-loading-card p{margin-top:8px;color:var(--muted);font-size:14px;line-height:1.6}
.v2-loading-steps{list-style:none;margin:24px auto 0;padding:0;max-width:470px;text-align:left;display:grid;gap:12px;color:var(--muted);font-size:14px}
.v2-loading-steps li{display:flex;align-items:center;gap:12px;line-height:1.5}
.v2-loading-steps li span{display:inline-grid;place-items:center;width:24px;height:24px;flex:0 0 24px;border-radius:50%;background:#edf3f0;font-weight:800}
.v2-loading-done{color:var(--teal)}.v2-loading-steps .v2-loading-done span{background:#e0f2e6}
.v2-loading-current{color:var(--ink);font-weight:750}
.v2-loading-steps .v2-loading-current span{background:#e7f4ed;color:var(--teal)}
.v2-loading-pulse{animation:v2-loading-pulse 1.2s ease-in-out infinite}
.v2-loading-track{max-width:470px;height:6px;margin:22px auto 0;border-radius:99px;overflow:hidden;background:#e3ece8}
.v2-loading-track span{display:block;width:35%;height:100%;background:var(--teal);border-radius:inherit;animation:v2-loading-sweep 1.8s ease-in-out infinite}
.v2-loading-note{margin-top:16px;font-size:12px;color:var(--muted);line-height:1.6}
@keyframes v2-loading-pulse{0%,100%{opacity:.45}50%{opacity:1}}
@keyframes v2-loading-sweep{0%{transform:translateX(-105%)}100%{transform:translateX(390%)}}
@media(max-width:760px){.v2-loading{margin:24px auto 48px;padding:0}.v2-loading-card{padding:20px;gap:14px}.v2-loading-icon{width:45px;height:45px;flex-basis:45px;font-size:24px}.v2-loading-card h2{font-size:18px}.v2-loading-card p{font-size:12px}.v2-loading-steps{font-size:12px;padding:0 10px}}
@media(prefers-reduced-motion:reduce){.v2-loading-pulse,.v2-loading-track span{animation:none}.v2-loading-track span{width:50%}}

/* Restore the original desktop map legend as a floating disclosure instead of a full-width row. */
@media(min-width:761px){
  .map-legend{flex-wrap:nowrap}
  .map-legend>span{min-width:0}
  .map-legend details{flex:0 0 auto}
  .map-legend details[open]{flex:0 0 auto}
  .map-legend details[open]>div{
    position:absolute;top:auto;bottom:calc(100% + 8px);right:12px;inset-inline-start:auto;
    width:380px;max-width:calc(100% - 24px);margin:0;
    border:1px solid var(--line);border-radius:12px;background:#fff;
    box-shadow:0 8px 25px #10323a22;z-index:600;padding:18px
  }
}

/* Compact map key and real cartographic pilot: keep map controls readable on mobile. */
.map-toolbar-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.map-toolbar-actions .secondary{min-height:36px;padding:8px 12px;white-space:nowrap}
#toggle-zoning[aria-pressed="true"]{background:#e4f3ec;border-color:#087a70;color:#07695f}
.map-legend{min-height:48px;gap:14px}
.map-legend>.map-legend-items{display:flex;align-items:center;gap:7px;min-width:0;flex-wrap:wrap;line-height:1.45}
.legend-pin{width:11px;height:11px;border:3px solid #12343c;border-radius:50%;box-shadow:0 0 0 2px #b9ef47;flex:none}
.legend-reference{border:1px solid #087a70;color:#087a70;border-radius:7px;font-weight:800;font-size:10px;padding:2px 5px;white-space:nowrap}
.legend-separator{color:#8da4a1;padding:0 3px}
.legend-explanation h3{font-size:14px;margin:0 0 10px}
.legend-explanation p{font-size:12px;line-height:1.6;margin:8px 0}
.legend-explanation small{display:block;margin-top:12px;color:var(--muted)}
#map-status:empty{display:none}
.zoning-pilot-info{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;padding:12px 18px;border-top:1px solid var(--line);background:#eff9f5;font-size:11px;line-height:1.55;color:#185b56}
.zoning-pilot-info[hidden]{display:none}
.zoning-pilot-info strong{font-size:12px}
.zoning-pilot-info a{margin-left:auto;color:#076b62;font-weight:700}
.zoning-pilot-info[data-error="true"]{background:#fff3e8;color:#76551e}
.zoning-pilot-info .zoning-badge{font-weight:800}
#coordinates #use-map-link{display:inline-flex;margin:12px 0 22px}
#coordinates #location-message:empty{display:none}
#coordinates label[for="lat"]{display:block;clear:both;margin-top:9px;margin-bottom:8px}
#coordinates label[for="lon"]{display:block;margin-top:12px;margin-bottom:8px}
@media(max-width:760px){
  .map-toolbar{align-items:flex-start;flex-wrap:wrap}
  .map-toolbar-actions{gap:7px}
  .map-toolbar-actions .secondary{font-size:11px;min-height:34px;padding:7px 9px}
  .map-legend>.map-legend-items{font-size:11px}
  .map-legend details{margin-left:auto}
  .zoning-pilot-info a{margin-left:0}
}

/* The map zoom is functional metadata, not part of the user-facing zoning glossary. */
.map-legend #map-zoom{display:none}


/* The lime Antes arrow is our action accent. Choosing a zoning-map point is
   provisional; legal compatibility is still checked on the next screen. */
.zoning-popup .zoning-choice{
  display:flex;width:100%;min-height:48px;margin-top:14px;padding:12px 16px;
  justify-content:center;gap:10px;
  background:var(--lime);border:1px solid #9dcc36;border-radius:10px;
  color:#10323a;font-size:13px;font-weight:800;line-height:1.35;
  box-shadow:0 2px 0 #819e33;
}
.zoning-popup .zoning-choice:hover{background:#d1fb70;border-color:#8fb62d}
.zoning-popup .zoning-choice:active{transform:translateY(1px);box-shadow:none}
.zoning-popup .zoning-choice:focus-visible{outline:3px solid #10323a;outline-offset:3px}

/* Independent, source-labelled OSM competitor overlay. Never a permission signal. */
#toggle-competition[hidden]{display:none!important}
#toggle-competition{
  background:var(--lime,#bcf24b);border-color:#8dbd30;color:var(--ink,#11313b);
  font-weight:800;box-shadow:0 2px 0 #719b26;
}
#toggle-competition:hover{background:#d0fb6f;border-color:#719b26}
#toggle-competition[aria-pressed="true"]{background:var(--teal,#086b62);border-color:#07534b;color:#fff;box-shadow:0 2px 0 #05413a}
#toggle-competition[aria-pressed="true"]:hover{background:#07574f}
.map-competition-marker{
  display:grid;place-items:center;width:30px;height:30px;
  background:#fff;border:2px solid #207e96;border-radius:50%;
  box-shadow:0 2px 8px #10323a4d;color:#14576c;
  font-size:13px;font-weight:800;line-height:1;
}
.map-competition-marker span{display:block}
.competition-popup strong{font-size:14px;color:#10323a}
.competition-popup p{font-size:12px;line-height:1.5;margin:10px 0}
.competition-popup a{font-size:12px;font-weight:700;color:#075d72}
.competition-pilot-info{
  display:flex;align-items:flex-start;flex-wrap:wrap;gap:5px 14px;
  padding:12px 18px;border-top:1px solid var(--line);
  background:#edf6fb;color:#174f62;font-size:11px;line-height:1.55;
}
.competition-pilot-info[hidden]{display:none}
.competition-pilot-info strong{font-size:12px}
.competition-pilot-info #competition-pilot-state{font-weight:700}
.competition-pilot-info a{margin-left:auto;color:#14576c;font-weight:700}
@media(max-width:760px){.competition-pilot-info a{margin-left:0}}


/* Clusters reduce overlapping OSM symbols without implying complete coverage. */
.map-competition-cluster{
  box-sizing:border-box;display:grid;place-items:center;width:42px;height:42px;
  background:#dff3f7;border:3px solid #207e96;border-radius:50%;
  box-shadow:0 3px 9px #10323a55;color:#103c4d;font-size:14px;
  font-weight:850;line-height:1;cursor:zoom-in;
}
.map-competition-cluster span{display:block}
.competition-cluster-popup strong{font-size:14px}
.competition-cluster-popup p{font-size:12px;line-height:1.45;margin:8px 0}
.competition-cluster-popup ul{max-height:150px;overflow-y:auto;padding-left:18px;margin:8px 0}
.competition-cluster-popup li{font-size:12px;line-height:1.5;padding:2px 0}
.competition-cluster-popup a{color:#075d72;font-weight:700}
.zoning-popup{font-size:13px;line-height:1.45}
.zoning-popup p{margin:8px 0}
.zoning-popup .zoning-popup-source{font-size:12px;color:#087a70;font-weight:700}
.map-data-details{border-top:1px solid var(--line);padding:0 18px;background:#fbfdfc}
.map-data-details>summary{display:list-item;list-style:revert;cursor:pointer;font-size:11px;font-weight:700;color:#50706f;padding:12px 0}
.map-data-details>summary:hover{color:#087a70}
.map-data-details-body{padding-bottom:12px}
.map-data-details-body .zoning-pilot-info,
.map-data-details-body .competition-pilot-info{padding:10px 12px;border:1px solid var(--line);border-radius:9px;margin:8px 0}
@media(max-width:760px){.map-data-details{padding:0 16px}}


/* All Antes sections now use the same four-column global footer. */
footer.app-legal-footer.footer-v3{
  display:block;width:100%;max-width:none;margin:44px 0 0;padding:0;border-top:0;
  background:#10323a;color:#d8e8e7;
}
footer.app-legal-footer.footer-v3 .footer-v3-inner{max-width:1240px}
footer.app-legal-footer.footer-v3 nav.footer-v3-links{
  position:static;display:flex;flex-direction:column;align-items:flex-start;
  padding:0;background:none;border:0;box-shadow:none;gap:11px;
}
/* A global "nav a:hover" rule belongs to the top menu, not footer links.
   Reset every footer anchor (including legal pages without .footer-v3-link). */
footer.app-legal-footer.footer-v3 nav.footer-v3-links a{
  display:inline;color:#d8e8e7;background:transparent;border:0;border-radius:0;
  min-height:0;min-width:0;padding:0;text-decoration:none;line-height:1.5;
}
footer.app-legal-footer.footer-v3 nav.footer-v3-links a:hover{
  color:#fff;background:transparent;text-decoration:underline;text-underline-offset:3px;
}
footer.app-legal-footer.footer-v3 nav.footer-v3-links a:focus-visible{
  color:#fff;background:transparent;outline:2px solid #b8ef47;outline-offset:4px;
}

@media(max-width:760px){
  footer.app-legal-footer.footer-v3{margin-top:28px}
  footer.app-legal-footer.footer-v3 nav.footer-v3-links{display:flex;padding:0}
}


/* Resultados: activity-specific OSM competition analysis, separate from legal checks. */
.competition-results{
  margin:18px 0 22px;padding:26px 28px;border:1px solid #d9e6e5;
  border-radius:17px;background:#fff;color:#10323a;
}
.competition-results .section-heading{margin:0 0 18px}
.competition-results .section-heading h2{margin:4px 0 8px}
.competition-results__intro{margin:0;font-size:14px;line-height:1.6;color:#4e6a72}
.competition-results__message{
  margin:0;padding:20px;background:#f4f8f8;border:1px solid #dce8e6;
  border-radius:12px;color:#43636b;line-height:1.55;
}
.competition-results__metrics{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:20px;
}
.competition-results__metric{
  display:flex;flex-direction:column;gap:5px;padding:18px 20px;border-radius:12px;
  background:#edf6fa;border:1px solid #d5e8ec;
}
.competition-results__metric strong{font-size:30px;line-height:1.1;color:#134c5e}
.competition-results__metric span{font-size:12px;font-weight:650;color:#3b6471;line-height:1.45}
.competition-results__lower h3{margin:0 0 10px;font-size:16px}
.competition-results__list{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  list-style:none;padding:0;margin:0;gap:9px;
}
.competition-results__item{
  display:flex;flex-direction:column;gap:5px;min-width:0;
  padding:12px 14px;border:1px solid #dae5e4;border-radius:10px;
}
.competition-results__item a{
  font-weight:750;font-size:13px;line-height:1.4;color:#086f67;
  overflow-wrap:anywhere;text-decoration:none;
}
.competition-results__item a:hover{text-decoration:underline}
.competition-results__item span{font-size:12px;color:#506d73}
.competition-results__note{
  margin:18px 0 8px;font-size:12px;line-height:1.65;color:#587179;
}
.competition-results__note a{font-weight:750;color:#086f67;text-underline-offset:2px}
@media(max-width:760px){
  .competition-results{padding:19px 16px;margin:14px 0 20px}
  .competition-results__metrics{gap:8px}
  .competition-results__metric{padding:15px 12px}
  .competition-results__metric strong{font-size:25px}
  .competition-results__list{grid-template-columns:1fr}
}

/* Methodology is now grouped with Fuentes y evidencias. Keep the
   market sample attribution readable without a redundant callout. */

/* Explicit storage destination and privacy disclosure for Abre Aquí V2. */
.v2-save-dialog{position:relative;border:1px solid #cee0dc;border-radius:18px;box-shadow:0 22px 90px #0a293744;background:#fff;color:#10323a;width:min(92vw,510px);max-height:calc(100dvh - 35px);padding:26px;overflow:auto}
.v2-save-dialog::backdrop{background:#0e303caa}
/* Base stylesheet styles every form as a full-size card; the dialog close form must not inherit it. */
.v2-save-dialog>form[method="dialog"]{position:absolute;top:12px;right:14px;display:block;width:auto;height:auto;min-height:0;margin:0;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}

.v2-save-dialog h2{font-size:23px;line-height:1.25;margin:0 0 12px;padding-right:30px}
.v2-save-dialog p{color:#46636b;line-height:1.6;font-size:14px;margin:10px 0}
.v2-save-dialog .v2-save-privacy{border:1px solid #d8e7e2;border-radius:10px;background:#f2faf6;padding:14px}
.v2-save-dialog .v2-save-actions{display:flex;flex-direction:column;gap:9px;margin:20px 0 0}
.v2-save-dialog .v2-save-actions button{width:100%;min-height:46px}
.v2-save-dialog .v2-save-close{float:none;background:transparent;border:0;color:#47646b;cursor:pointer;font-size:26px;line-height:1}
.v2-save-dialog #v2-save-feedback{font-weight:650;color:#8e412e}
@media(max-width:760px){.v2-save-dialog{padding:20px}}

/* V2 Resultados: concise section tabs and an always-available action sidebar. */
.v2-results-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(275px,310px);gap:18px;align-items:start}
.v2-results-main,.v2-results-sidebar{min-width:0}
.v2-results-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;padding:5px;background:#edf4f1;border:1px solid #dce7e4;border-radius:14px;margin-bottom:18px}
.v2-results-tab{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:62px;border:1px solid transparent;border-radius:10px;background:transparent;color:#49666b;font-size:11px;font-weight:750;padding:8px 4px;white-space:normal;text-align:center;line-height:1.3}
.v2-results-tab:hover{background:#fff;color:#0b6c61}
.v2-results-tab[aria-selected="true"]{background:#fff;border-color:#c9dfd7;color:#086b62;box-shadow:0 2px 8px #10323a0b}
.v2-tab-icon{display:inline-grid;place-items:center}
.v2-tab-icon svg{height:19px;width:19px}
.v2-results-panel{min-width:0;margin-bottom:18px}
.v2-results-panel:focus{outline-offset:4px}
.v2-results-panel>.main-finding{border:1px solid #dce7e4;border-radius:16px;background:#fff}
.v2-results-panel .verification-section{padding:22px;background:#fff;border:1px solid var(--line);border-radius:16px;min-width:0}
.v2-results-panel .verification-intro{max-width:230px}
.v2-results-panel .competition-results{margin:0}
.v2-demography-empty{display:flex;flex-direction:column;align-items:flex-start;gap:12px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:26px}
.v2-demography-icon{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#e8f4ef;color:#086b62}
.v2-demography-icon svg{width:24px;height:24px}
.v2-demography-empty h2{font-size:20px;line-height:1.3}
.v2-demography-empty p{font-size:13px;line-height:1.7;color:var(--muted)}
.v2-results-sidebar{position:sticky;top:min(18px, calc(100dvh - 550px));max-height:none;overflow:visible}
.v2-results-sidebar .next-steps-panel{padding:18px;background:#eaf6f0;border:1px solid #d4e8df;border-radius:16px}
.v2-results-sidebar .next-steps-panel .section-heading h2{font-size:19px}
.v2-results-sidebar .pilot-action-bar{margin:15px 0 0;padding:14px 0 0;border-top:1px solid #cce5dc;border-bottom:0}
.v2-results-sidebar .action-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.v2-results-sidebar .action-buttons button{width:100%;min-height:39px;padding:9px 6px;white-space:normal;text-align:center;font-size:11px}
.v2-results-sidebar .action-buttons .primary{grid-column:1/-1;min-height:44px;background:var(--lime);color:#10323a;border-color:#a8db35}
.v2-results-sidebar .action-buttons .primary:hover{background:#aee438;filter:none}
.v2-results-sidebar .action-buttons .tertiary{grid-column:1/-1;min-height:30px;border:0;background:transparent;color:#0b6960;text-decoration:underline;text-underline-offset:2px}
.v2-results-sidebar .save-scope,.v2-results-sidebar #action-status:not(:empty){text-align:left}
.v2-results-sidebar .save-scope{font-size:10px;line-height:1.4;margin-top:8px}
.v2-results-sidebar .next-steps-panel .steps{gap:10px;margin:13px 0 0}
.v2-results-sidebar .steps li{gap:8px}
.v2-results-sidebar .steps .step-number{width:24px;height:24px;flex-basis:24px;font-size:11px}
.v2-results-sidebar .steps strong{font-size:12px;line-height:1.3}
.v2-results-sidebar .steps p{font-size:11px;line-height:1.4;margin-top:2px}
.v2-results-sidebar .next-disclaimer{font-size:10px;line-height:1.4;margin-top:11px}
.v2-results-tab:focus-visible,.v2-overview-card:focus-visible{outline:3px solid #0b7063;outline-offset:2px}
.v2-tabs-hint{display:none}
.v2-results-overview{margin-top:16px;border:1px solid #dce7e4;border-radius:16px;background:#fff;padding:20px}
.v2-results-overview h3{font-size:17px;line-height:1.3;margin:0 0 13px;color:#10323a}
.v2-overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.v2-overview-card{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:14px;text-align:left;border:1px solid #dce7e4;border-radius:11px;background:#f7faf9;min-width:0;cursor:pointer}
.v2-overview-card:hover{border-color:#98cabd;background:#edf7f1}
.v2-overview-card strong{font-size:13px;line-height:1.35;color:#10323a}
.v2-overview-status{font-size:11px;line-height:1.4;color:#557177}
.v2-results-main #sources{margin-top:16px}
.v2-mobile-save-dock{display:none}

@media(max-width:950px){
  .v2-results-grid{grid-template-columns:minmax(0,1fr);gap:16px}
  .v2-results-sidebar{position:static;max-height:none;overflow:visible}
  .v2-results-sidebar .next-steps-panel{padding:20px}
}
@media(max-width:760px){
  .v2-results-tabs{display:flex;overflow-x:auto;scrollbar-width:thin;scroll-snap-type:x proximity;padding:5px;margin-bottom:5px}
  .v2-results-tab{flex:0 0 87px;min-height:60px;scroll-snap-align:start}
  .v2-tabs-hint{display:block;color:#476d70;text-align:right;font-size:11px;font-weight:700;line-height:1.5;margin:0 3px 12px}
  .v2-results-overview{padding:16px;margin-top:12px}
  .v2-overview-card{padding:11px 10px}
  .v2-overview-card strong{font-size:12px}
  .v2-overview-status{font-size:10px}
  .v2-results-panel .verification-section{padding:16px}
  .v2-results-panel>.main-finding{padding:21px}
  .v2-demography-empty{padding:20px}
  .v2-results-sidebar .pilot-action-bar{margin-bottom:16px}
  .v2-mobile-save-dock{display:block;position:sticky;bottom:0;z-index:500;margin:0 -16px;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:#f8fbf9f2;border-top:1px solid #d7e5df;box-shadow:0 -6px 16px #10323a12;backdrop-filter:blur(9px)}
  .v2-mobile-save-dock button{width:100%;min-height:46px;background:var(--lime);border-color:#a8db35;color:#10323a;font-weight:850}
  .v2-mobile-save-dock button:hover{background:#aee438}
  .v2-mobile-save-dock[hidden]{display:none!important}
}
@media print{
  .v2-results-tabs,.v2-mobile-save-dock{display:none!important}
  .v2-results-grid{display:block!important}
  .v2-results-sidebar{position:static;max-height:none;overflow:visible}
  .v2-results-panel[hidden]{display:block!important}
  .v2-demography-empty{display:none!important}
  .v2-results-sidebar .pilot-action-bar{display:none!important}
}


/* Demografía V1: official historical context and explicitly unavailable walking counts. */
.v2-demography-fact{display:flex;flex-direction:column;gap:4px;padding:16px 18px;border:1px solid #cfe8df;background:#eff9f4;border-radius:12px}
.v2-demography-fact strong{font-size:28px;line-height:1.1;color:#076c61}
.v2-demography-fact span{font-size:12px;color:#3a6063;line-height:1.5}
.v2-demography-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%}
.v2-demography-pending{display:flex;flex-direction:column;gap:7px;background:#f5f8f7;border:1px solid #dce9e5;border-radius:11px;padding:14px;min-width:0}
.v2-demography-pending strong{font-size:13px}
.v2-demography-pending span{font-size:12px;color:#5a7277;line-height:1.45}
.v2-demography-empty p.v2-demography-warning{border-left:3px solid #7ca99d;padding:8px 12px;margin:0;background:#f6faf8}
.v2-demography-links{display:flex;flex-wrap:wrap;gap:10px}
.v2-demography-links a{font-size:12px;font-weight:750;color:#086b62;text-decoration:underline;text-underline-offset:3px}
@media(max-width:560px){.v2-demography-metrics{grid-template-columns:1fr}.v2-demography-empty{padding:20px}}

/* Abre Aquí location flow: consistent step headings and readable mobile controls. */
#location-step .flow-step-title{
  display:block;font-size:16px!important;font-weight:800!important;
  line-height:1.4!important;letter-spacing:-.01em!important;color:var(--ink)!important;
  margin:0 0 10px;
}
#location-step .map-toolbar .flow-step-title{margin:0}
#location-step #selection .flow-step-title{margin:0 0 6px}
@media(max-width:760px){
  #location-step .flow-step-title{font-size:17px!important;line-height:1.4!important}
  .explore-lead{font-size:16px;line-height:1.6}
  .search-panel label:not(.flow-step-title),.map-workspace>#location-tools label{font-size:16px}
  .search-panel .field-help,.search-panel .search-status,.search-panel .activity-note{font-size:14px;line-height:1.55}
  .search-control input,.search-control .primary,.search-panel select,.map-workspace>#location-tools input{font-size:16px;min-height:48px}
  .search-panel .secondary,.map-toolbar-actions .secondary,.map-actions button{font-size:15px;min-height:44px}
  .map-toolbar span,.selection p:not(.flow-step-title),#map-status{font-size:14px;line-height:1.55}
  .selection h2{font-size:20px}
  .selection .primary{font-size:15px;min-height:50px}
  .map-legend,.map-legend summary{font-size:14px;line-height:1.5}
  .coordinates summary{font-size:15px;min-height:44px}
}

/* Abre Aquí: document-only normative references; not a compatibility determination. */
.v2-normative-reference{margin-top:20px;padding:20px;border:1px solid #d8e4e2;border-radius:16px;background:#f8fbfa;color:#163c3c}
.v2-normative-reference .eyebrow{margin:0 0 6px;font-size:11px;font-weight:800;letter-spacing:.07em;color:#426962}
.v2-normative-reference h3{margin:0 0 10px;font-size:18px;line-height:1.35}
.v2-normative-reference p{margin:0 0 10px;line-height:1.55}
.v2-normative-reference .v2-normative-context{font-size:13px;color:#486461}
.v2-normative-list{margin:12px 0;padding-left:20px}
.v2-normative-item{margin:0 0 12px}
.v2-normative-item a{color:#066c62;text-decoration:underline;text-underline-offset:3px;font-weight:700}
.v2-normative-item p{margin:4px 0 0;color:#536b69;font-size:13px}
.v2-normative-reference .v2-normative-warning{margin:14px 0 0;border-left:3px solid #8ba9a3;padding:10px 12px;background:#eef5f3;font-size:13px}
@media(max-width:560px){.v2-normative-reference{padding:16px;border-radius:12px}}


/* Pilot: pre-lease municipal enquiry. Official links only; no automatic submission. */
.v2-prelease-check{margin-top:18px;padding:20px;border:1px solid #d7e4e2;border-radius:16px;background:#fff;color:#153d3b}
.v2-prelease-check h3{font-size:19px;line-height:1.3;margin:0 0 10px}
.v2-prelease-check>p{line-height:1.55;margin:0 0 12px}
.v2-prelease-check .eyebrow{font-size:11px;font-weight:800;letter-spacing:.06em;color:#52746e}
.v2-prelease-status{font-weight:800;font-size:13px;padding:10px 12px;background:#f1f6f4;border-left:3px solid #6a9288}
.v2-prelease-requirement{font-size:14px}
.v2-prelease-context{font-size:13px;color:#425f59}
.v2-prelease-links a{color:#086b62;font-size:14px;font-weight:750;text-decoration:underline;text-underline-offset:3px}
.v2-prelease-actions{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}
.v2-prelease-actions button{min-height:42px}
.v2-prelease-actions button:disabled{opacity:.48;cursor:not-allowed}
.v2-prelease-followup{margin-top:14px;border-top:1px solid #e0ebe7;padding-top:14px}
.v2-prelease-followup summary{cursor:pointer;font-weight:750;line-height:1.5}
.v2-prelease-followup>p{font-size:13px;line-height:1.55}
.v2-prelease-followup form{display:grid;gap:12px;margin-top:12px}
.v2-prelease-followup label{display:grid;gap:5px;font-weight:650;font-size:13px}
.v2-prelease-followup input,.v2-prelease-followup select{width:100%;max-width:100%;padding:10px;min-height:42px;border:1px solid #b9ceca;border-radius:8px;background:white;font:inherit}
.v2-prelease-followup button{justify-self:start}
.v2-prelease-feedback{color:#476a62;font-size:13px;line-height:1.5}
.v2-prelease-disclaimer{padding-top:12px;border-top:1px solid #e0ebe7;font-size:12px;color:#60736d}
@media(max-width:560px){.v2-prelease-check{padding:16px;border-radius:12px}.v2-prelease-actions{display:grid;grid-template-columns:1fr}.v2-prelease-actions button{width:100%}}


/* Step 2: decision-oriented municipal consultation and follow-up. */
.v2-prelease-check{background:linear-gradient(150deg,#f8fff0 0%,#fff 42%,#f4f8ff 100%);border:1px solid #cce1d2;box-shadow:0 12px 30px rgba(5,54,48,.06);padding:26px}
.v2-prelease-hero{display:flex;flex-direction:row-reverse;gap:15px;align-items:center;margin-bottom:20px}
.v2-prelease-hero-copy{flex:1;min-width:0}
.v2-prelease-hero h3{font-size:clamp(23px,2.5vw,31px);font-weight:850;letter-spacing:-.025em;line-height:1.16;max-width:22ch;margin:6px 0 10px}
.v2-prelease-hero-copy>p:last-child{font-size:15px;line-height:1.55}
.v2-prelease-doodle{flex:0 0 138px;background:radial-gradient(circle at center,#e3f6c6,transparent 75%);height:116px;display:grid;place-items:center}
.v2-prelease-status{border-radius:10px;border-left:4px solid #218b75;background:#ebf7f2;font-size:13px;letter-spacing:.01em}
.v2-prelease-actions{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:10px}
.v2-prelease-actions button{font-size:13px;font-weight:800;min-height:52px;white-space:normal}
.v2-prelease-actions .primary{background:#056f5a;color:#fff;border-radius:10px;border:1px solid #056f5a}
.v2-prelease-actions .primary:hover{background:#045645}
.v2-prelease-followup{background:#fff;border:1px solid #d6e6de;border-radius:14px;padding:0;overflow:hidden;margin-top:22px}
.v2-prelease-followup summary{padding:18px 44px 18px 18px;background:#e7f5eb;position:relative;font-size:16px;font-weight:850;list-style:none}
.v2-prelease-followup summary::-webkit-details-marker{display:none}
.v2-prelease-followup summary:after{content:'+';position:absolute;right:17px;font-weight:900;font-size:23px;top:12px;color:#006b59}
.v2-prelease-followup[open] summary:after{content:'−'}
.v2-prelease-followup>p{padding:0 18px;margin:14px 0 0}
.v2-prelease-followup form{margin:14px 18px 18px}
.v2-prelease-followup form button.primary{background:#056f5a;color:#fff;border-radius:10px;min-height:44px}
@media(max-width:680px){.v2-prelease-check{padding:18px}.v2-prelease-hero{align-items:flex-start}.v2-prelease-doodle{flex-basis:78px;height:78px}.v2-prelease-doodle svg{width:86px;height:75px}.v2-prelease-actions{grid-template-columns:1fr}.v2-prelease-hero h3{font-size:23px}}


/* Desktop illustration must not inherit generic inline SVG sizing. */
.v2-prelease-hero .v2-prelease-doodle{flex:0 0 138px;min-width:138px;width:138px;height:116px}
.v2-prelease-hero .v2-prelease-doodle svg{display:block;flex:none;width:128px!important;height:108px!important;max-width:none!important;max-height:none!important;opacity:1!important}
@media(max-width:680px){.v2-prelease-hero .v2-prelease-doodle{flex-basis:90px;min-width:90px;width:90px;height:90px}.v2-prelease-hero .v2-prelease-doodle svg{width:90px!important;height:84px!important}}

.v2-prelease-record-summary{overflow-wrap:anywhere}
@media print{.v2-prelease-check .v2-prelease-actions,.v2-prelease-check .v2-prelease-followup form,.v2-prelease-check .v2-prelease-feedback{display:none!important}.v2-prelease-check{box-shadow:none;background:#fff}.v2-prelease-record-summary{break-inside:avoid}}

/* Inset rings stay visible inside the clipped disclosure. */
#v2-prelease-check .v2-prelease-followup > summary:focus-visible,
#v2-prelease-check .v2-normative-reference > summary:focus-visible{outline:3px solid #086b62;outline-offset:-4px}

/* A single municipal action guide lives in Resumen. Zonificación points to it. */
#v2-panel-resumen :is(#v2-prelease-check,#v2-prelease-conflict){scroll-margin-block-start:96px}
#v2-panel-zonificacion .v2-prelease-jump{margin-top:16px;min-height:44px;color:#086b62;white-space:normal}
#v2-prelease-check .v2-normative-reference>summary{position:relative;padding-right:28px;cursor:pointer;list-style:none}
#v2-prelease-check .v2-normative-reference>summary::-webkit-details-marker{display:none}
#v2-prelease-check .v2-normative-reference>summary::after{content:'+';position:absolute;right:8px;color:#086b62;font-size:22px;line-height:1}
#v2-prelease-check .v2-normative-reference[open]>summary::after{content:'−'}
@media print{.v2-prelease-jump,#v2-prelease-draft,#v2-prelease-draft-label{display:none!important}}

/* Print fragmentation: keep the short five-source reference disclosure intact.
   The card itself may span pages; never clip a source at the page boundary. */
@media print{
 #v2-prelease-check{overflow:visible!important;break-inside:auto;page-break-inside:auto}
 #v2-prelease-check .v2-normative-reference{
  display:block!important;overflow:visible!important;
  break-inside:avoid;page-break-inside:avoid;
  box-decoration-break:clone;-webkit-box-decoration-break:clone
 }
 #v2-prelease-check .v2-normative-reference>summary{
  display:block;min-height:0;line-height:1.5;
  break-after:avoid;page-break-after:avoid
 }
 #v2-prelease-check .v2-normative-reference>summary::after{content:none}
 #v2-prelease-check .v2-normative-item{
  break-inside:avoid;page-break-inside:avoid;
  orphans:2;widows:2
 }
 #v2-prelease-check .v2-normative-item>a{line-height:1.5}
 #v2-prelease-check .v2-prelease-followup{overflow:visible!important}
}
