/* Cartas de Suelos · Consulta (prototipo 0.1): estilos. Parten de los de SISINTA Consulta 3.0 para que las dos consultas se vean iguales. Identidad visual según el Manual de marca INTA v5 y su Anexo I de piezas gráficas (paleta y tipografía Roboto).
   Incluye Leaflet 1.9.4 (BSD-2) al final. */
@font-face{font-family:'Roboto';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/roboto-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'Roboto';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/roboto-latin-500-normal.woff2) format('woff2')}
@font-face{font-family:'Roboto';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/roboto-latin-700-normal.woff2) format('woff2')}
@font-face{font-family:'Roboto Condensed';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/roboto-condensed-latin-700-normal.woff2) format('woff2')}
@font-face{font-family:'Roboto Mono';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/roboto-mono-latin-400-normal.woff2) format('woff2')}
*,*::before,*::after{box-sizing:border-box}body{margin:0}img{max-width:100%}[hidden]{display:none!important}

:root {
  /* Paleta INTA (Anexo I de piezas gráficas): principal azul #008CC8; acompañantes celeste #50B4E6, celeste claro #96DCFA
     y grises #414141, #969696, #C8C8C8; secundario para destacar: #D2502D. Para texto chico sobre azul se usan tonos
     más oscuros del mismo azul (#006F9F, #005F8B), porque el blanco sobre #008CC8 no alcanza el contraste de WCAG AA. */
  --inta-azul: #008cc8; --inta-azul-txt: #006f9f; --inta-azul-osc: #005f8b; --inta-celeste: #50b4e6; --inta-celeste-cl: #96dcfa;
  --inta-gris-osc: #414141; --inta-gris: #969696; --inta-gris-cl: #c8c8c8; --inta-destacado: #d2502d;
  --bg: #f3f5f8; --panel: #ffffff; --sunk: #e9eef5; --fg: #1d2430; --muted: #535d6b; --line: #d2d9e3;
  --band: var(--inta-azul); --band-fg: #ffffff; --band-sub: #ffffff; --nav-bg: #eef2f5; --nav-fg: var(--inta-azul-osc); --nav-hover: #e1eef6;
  --accent: var(--inta-azul-txt); --accent-fg: #ffffff; --link: var(--inta-azul-txt); --focus: var(--inta-azul); --th: #e1eff7; --sel: var(--inta-destacado);
  --o-mol: #7d5230; --o-alf: #b9533a; --o-ent: #c99a2e; --o-ver: #4a77a2; --o-ari: #e07c36; --o-inc: #5f9450;
  --o-ult: #a43c62; --o-otros: #7a5fa8; --o-ant: #8a8b82; --o-sin: #b8bcb4;
  --prov-line: #8d99a8; --prov-sel: var(--inta-azul); --soil: #6b4423; --err: #b3261e;
  --f-body: "Roboto", "Segoe UI", system-ui, sans-serif; --f-cond: "Roboto Condensed", "Roboto", sans-serif;
  --f-mono: "Roboto Mono", ui-monospace, Menlo, monospace;
  --r: 4px;
}
/* Solo en pantalla: al imprimir siempre se usan los colores claros */
@media screen and (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #121820; --panel: #1a222d; --sunk: #222d3a; --fg: #e5ebf2; --muted: #9eabbb; --line: #304050;
  --band: #005f8b; --band-fg: #f3f8fb; --band-sub: #e6f2f9; --nav-bg: #161e28; --nav-fg: #96dcfa; --nav-hover: #1f3442;
  --accent: #96dcfa; --accent-fg: #0f1722; --link: #96dcfa; --focus: #50b4e6; --th: #1f3442; --sel: #f08060;
  --o-mol: #b58457; --o-alf: #e07a5f; --o-ent: #e2b84f; --o-ver: #7aa6d1; --o-ari: #f29a58; --o-inc: #8cc27a;
  --o-ult: #d46a91; --o-otros: #a78bd6; --o-ant: #a4a59b; --o-sin: #5e645f;
  --prov-line: #55677a; --prov-sel: #96dcfa; --soil: #d39a62; --err: #ff8a80; color-scheme: dark; } }

body { background: var(--bg); color: var(--fg); font-family: var(--f-body); font-size: 14px; line-height: 1.45; }
a { color: var(--link); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: absolute; left: 8px; top: -60px; z-index: 2000; background: var(--panel); color: var(--link); padding: 8px 12px; border-radius: var(--r); font-weight: 700; }
.saltar:focus { top: 8px; }

/* Encabezado institucional: logo INTA calado sobre el azul principal, barra celeste inferior (como las piezas del Anexo I) */
.banner { background: var(--band); color: var(--band-fg); border-bottom: 6px solid var(--inta-celeste); }
.banner-in { padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px)); padding-block: 12px; display: flex; align-items: center; gap: 12px 26px; flex-wrap: wrap; }
.logo-inta { display: block; flex: none; line-height: 0; }
.logo-inta img { width: 190px; height: auto; }
.producto { display: flex; flex-direction: column; min-width: 0; border-left: 1px solid rgba(255,255,255,.45); padding-left: 22px; }
.prod-nombre { margin: 0; font-family: var(--f-cond); font-weight: 700; font-size: clamp(24px, 3vw, 32px); letter-spacing: .03em; line-height: 1.05; }
.prod-sub { font-size: 18.7px; font-weight: 700; color: var(--band-sub); line-height: 1.25; }
@media (max-width: 640px) {
  .logo-inta img { width: 150px; }
  .prod-sub { font-size: 18.7px; }
  .producto { border-left: none; padding-left: 0; flex-basis: 100%; }
  }

/* Estructura: menú lateral en gris claro (en celular pasa arriba); el contenido se centra en su columna */
.shell { display: grid; grid-template-columns: 210px minmax(0, 1fr); min-height: calc(100vh - 160px); }
.nav { background: var(--nav-bg); border-right: 1px solid var(--line); padding-block: 18px; padding-left: max(0px, env(safe-area-inset-left, 0px)); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.nav li.sep { height: 18px; }
.nav a { display: block; color: var(--nav-fg); text-decoration: none; font-weight: 700; font-size: 16px; padding: 10px 20px; border-left: 5px solid transparent; }
.nav a:hover { background: var(--nav-hover); }
.nav a[aria-current=page] { background: var(--panel); border-left-color: var(--inta-azul); }
.main { min-width: 0; width: 100%; max-width: calc(1240px + 48px); margin-inline: auto; padding-inline: 24px max(24px, env(safe-area-inset-right, 0px)); padding-block: 20px 80px; }
@media (max-width: 760px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .nav { border-right: none; border-bottom: 1px solid var(--line); padding: 0 max(8px, env(safe-area-inset-right, 0px)) 0 max(8px, env(safe-area-inset-left, 0px)); overflow-x: auto; }
  .nav ul { flex-direction: row; }
  .nav li.sep { width: 8px; height: auto; }
  .nav a { border-left: none; border-bottom: 4px solid transparent; padding: 10px 12px 8px; font-size: 14.5px; white-space: nowrap; }
  .nav a[aria-current=page] { border-bottom-color: var(--inta-azul); }
  .main { padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px)); }
}
.view { display: flex; flex-direction: column; gap: 14px; max-width: 1240px; }
.view h2 { font-size: 24px; font-weight: 700; margin: 0; color: var(--accent); letter-spacing: -.005em; text-wrap: balance; }
.view h2:focus { outline: none; }
.lead { margin: 0; max-width: 70ch; }
.hint { font-size: 12.5px; color: var(--muted); margin: 0; }
.mono { font-family: var(--f-mono); font-size: 12.5px; }
.pad { padding: 0 10px; }
.lista { margin: 4px 0 0; padding-left: 18px; }

/* Pie institucional */
.pie { background: var(--panel); color: var(--muted); border-top: 6px solid var(--inta-celeste); }
.pie-in { max-width: 1240px; margin-inline: auto; padding: 18px max(16px, env(safe-area-inset-left, 0px)); display: flex; gap: 18px; align-items: center; flex-wrap: wrap; font-size: 12.5px; }
.pie-in img { width: 150px; height: auto; }
.pie-in p { margin: 0; }

/* Inicio */
.home { display: grid; grid-template-columns: minmax(260px, 370px) minmax(0, 1fr); gap: 22px; align-items: start; }
@media (max-width: 1000px) { .home { grid-template-columns: minmax(0, 1fr); } }
.home-text { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.searchrow { display: flex; flex-direction: column; gap: 6px; }
.searchrow label { font-size: 12px; font-weight: 700; }
.searchrow .inline { display: flex; gap: 8px; }
input[type=search], input:not([type]), select { font: inherit; font-size: 14px; padding: 6px 8px; border: 1px solid #8f9aa8; border-radius: var(--r); background: var(--panel); color: var(--fg); min-width: 0; }
input[aria-invalid=true] { border-color: var(--err); box-shadow: 0 0 0 1px var(--err); }
.searchrow input { flex: 1; }
.combo { position: relative; }
.sug { position: absolute; left: 0; top: calc(100% + 3px); z-index: 1200; list-style: none; margin: 0; padding: 4px 0; min-width: min(380px, 100%); width: 100%; max-width: 480px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 8px 22px rgba(0,0,0,.16); }
.toolbar .combo .sug { width: 380px; }
.sug li { padding: 6px 10px; cursor: pointer; display: flex; flex-direction: column; }
.sug li.on, .sug li:hover { background: var(--sunk); }
.sug .sg-t { font-weight: 500; }
.sug .sg-s { font-size: 12px; color: var(--muted); }
.btn { font: inherit; font-size: 13px; font-weight: 500; border-radius: var(--r); border: 1px solid #8f9aa8; background: var(--panel); color: var(--fg); padding: 6px 12px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.btn:hover { border-color: var(--accent); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }
.btn:disabled { opacity: .5; cursor: default; }
details.adv { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
details.adv > summary { cursor: pointer; padding: 9px 12px; font-weight: 700; font-size: 13px; color: var(--link); list-style: none; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
details.adv > summary::-webkit-details-marker { display: none; }
details.adv > summary .act { color: var(--muted); font-weight: 400; }
.filters { padding: 4px 12px 12px; display: flex; flex-direction: column; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.field label, .lbl, fieldset legend { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
fieldset { border: 1px solid var(--line); border-radius: var(--r); margin: 0; padding: 6px 10px 10px; display: flex; flex-direction: column; gap: 7px; min-width: 0; }
fieldset legend { padding: 0 4px; }
.rg { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.rangos .rg .lbl { flex: 1 1 130px; text-transform: none; letter-spacing: 0; font-size: 12.5px; color: var(--fg); font-weight: 500; }
.rangos input { width: 64px; }
.cerca input { flex: 1 1 110px; width: 110px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checks { display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.checks label { display: flex; gap: 8px; align-items: center; cursor: pointer; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; }
.chip { font: inherit; font-size: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); border-radius: 999px; padding: 3px 9px 3px 7px; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-variant-numeric: tabular-nums; }
.chip i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.chip[aria-pressed=false] { opacity: .5; }
.chip[aria-pressed=false] i { background: transparent !important; box-shadow: inset 0 0 0 1.5px var(--muted); }
.chip .n { color: var(--muted); }
.linkbtn { font: inherit; font-size: 12.5px; color: var(--link); background: none; border: none; padding: 2px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; align-self: flex-start; }
.linkbtn:disabled { color: var(--muted); text-decoration: none; cursor: default; }
.resultado { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--r); padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.res-cab { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.res-tipo { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 700; }
.res-tit { font-size: 18px; font-weight: 700; color: var(--accent); }
.res-sub { margin: 0; font-size: 13px; }
.res-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.res-acc { display: flex; flex-wrap: wrap; gap: 6px; }
.res-nota { margin: 0; font-size: 12px; color: var(--muted); }
.res-x { border: 0; background: none; color: var(--muted); font-size: 16px; cursor: pointer; padding: 2px 6px; border-radius: var(--r); }
.res-x:hover { background: var(--sunk); color: var(--fg); }
.legend { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 5px; }
.legend i { width: 8px; height: 8px; border-radius: 50%; }

/* Ayuda por dato */
.ayuda { position: relative; font: inherit; font-size: 10.5px; font-weight: 700; line-height: 1; width: 17px; height: 17px; border-radius: 50%; border: 1px solid var(--accent); background: var(--panel); color: var(--accent); cursor: help; padding: 0; margin-left: 5px; vertical-align: 1px; flex: none; text-transform: none; letter-spacing: 0; display: inline-flex; align-items: center; justify-content: center; }
.ayuda::after { content: ''; position: absolute; inset: -5px; }
.ayuda[aria-expanded=true] { background: var(--accent); color: var(--accent-fg); }
.tip { position: absolute; z-index: 1500; background: var(--fg); color: var(--bg); border-radius: var(--r); padding: 8px 11px; font-size: 12.5px; line-height: 1.4; box-shadow: 0 6px 18px rgba(0,0,0,.2); }

/* Mapa */
.mapbox { position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.map { position: relative; height: clamp(460px, 76vh, 820px); }
@media (max-width: 1000px) { .map { height: 64vh; min-height: 380px; } }
#lmap { position: absolute; inset: 0; background: var(--panel); font: inherit; }
.leaflet-container { font-family: inherit; }
.leaflet-tooltip { font-size: 12px; padding: 6px 9px; max-width: 260px; white-space: normal; }
.leaflet-tooltip .k { color: #555f6b; }
.leaflet-tooltip .tt-t { font-weight: 700; }
.leaflet-control-layers-base label, .leaflet-control-layers-overlays label { font-size: 12.5px; }
.leaflet-bar a[aria-pressed=true] { background: var(--inta-azul-txt); color: #fff; }
.leaflet-container.modo-area, .leaflet-container.modo-punto { cursor: crosshair; }
.leaflet-container.modo-area .leaflet-interactive, .leaflet-container.modo-punto .leaflet-interactive { cursor: crosshair; }
.leaflet-marker-icon.clu { display: flex; }
.clu { border-radius: 50%; box-shadow: 0 1px 5px rgba(0,0,0,.4); cursor: pointer; }
.clu-in { width: 100%; height: 100%; border-radius: 50%; border: 2px solid #fff; display: flex; align-items: center; justify-content: center; }
.clu-in span { background: #fff; color: #1d2430; border-radius: 50%; width: 62%; height: 62%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 11px; font-variant-numeric: tabular-nums; line-height: 1; text-align: center; }
.clu.con-sel { box-shadow: 0 0 0 3px var(--sel), 0 1px 5px rgba(0,0,0,.35); }
.clu:hover { box-shadow: 0 0 0 3px var(--inta-azul), 0 1px 5px rgba(0,0,0,.4); }
.map-off { position: absolute; left: 50%; transform: translateX(-50%); bottom: 72px; z-index: 500; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 5px 10px; font-size: 12px; color: var(--muted); }
.map-note { position: absolute; z-index: 500; left: 50%; transform: translateX(-50%); bottom: 26px; background: rgba(255,255,255,.92); color: #333; border-radius: var(--r); padding: 3px 9px; font-size: 11.5px; max-width: calc(100% - 140px); text-align: center; pointer-events: none; }
.map-count { position: absolute; z-index: 500; right: 62px; top: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 4px 9px; font-size: 12px; font-variant-numeric: tabular-nums; }
.loading { position: absolute; inset: 0; z-index: 900; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; background: var(--panel); padding: 20px; }
.carga { display: flex; flex-direction: column; gap: 8px; width: min(340px, 100%); color: var(--fg); }
.carga progress { width: 100%; height: 10px; accent-color: var(--inta-azul); }
.picker { max-width: 420px; display: flex; flex-direction: column; gap: 10px; color: var(--fg); text-align: left; }
.err { color: var(--err) !important; }

/* Listados */
.toolbar { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; }
.toolbar .l { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; min-width: 0; }
.toolbar .count { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 13px; }
.pager { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; font-size: 13px; }
.pager button { font: inherit; font-size: 13px; border: 1px solid transparent; background: none; color: var(--link); padding: 4px 8px; min-height: 28px; min-width: 28px; border-radius: var(--r); cursor: pointer; font-variant-numeric: tabular-nums; }
.pager button[aria-current=page] { border-color: var(--line); background: var(--panel); color: var(--fg); font-weight: 700; }
.pager button:disabled { color: var(--muted); cursor: default; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
table.t { border-collapse: collapse; width: 100%; font-size: 13px; font-variant-numeric: tabular-nums; }
table.t th, table.t td { padding: 6px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.t thead th { font-size: 12px; font-weight: 700; color: var(--fg); background: var(--th); white-space: nowrap; }
table.t tbody tr:last-child td, table.t tbody tr:last-child th { border-bottom: none; }
table.t td.n, table.t th.n { text-align: right; white-space: nowrap; }
table.t tbody th { font-weight: 500; white-space: nowrap; }
table.t .cb { width: 34px; text-align: center; padding-inline: 6px; }
table.t .cb input { width: 20px; height: 20px; margin: 0; accent-color: var(--inta-azul); cursor: pointer; }
table.t tr.go { cursor: pointer; }
table.t tr.go:hover td, table.t tr.go:hover th { background: var(--sunk); }
table.t tr.go:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
table.t .lk { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
table.t .sw { display: inline-block; width: 11px; height: 11px; border-radius: 2px; vertical-align: -1px; margin-right: 6px; border: 1px solid var(--line); }
table.t .dot, .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
table.cmp tr.dif td { background: color-mix(in srgb, var(--inta-celeste) 9%, transparent); }
table.cmp thead th { white-space: normal; min-width: 160px; }
table.compacta { font-size: 12px; } table.compacta th, table.compacta td { padding: 4px 6px; }
.empty { padding: 18px 12px; color: var(--muted); font-size: 13px; }

/* Barra de selección */
.selbar { position: fixed; z-index: 1100; left: 50%; transform: translateX(-50%); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--inta-celeste); border-radius: var(--r); padding: 8px 14px; box-shadow: 0 8px 26px rgba(0,0,0,.2); font-size: 13px; max-width: calc(100% - 32px); }
.selbar > span { font-weight: 700; font-variant-numeric: tabular-nums; }
.selbar .linkbtn { font-size: 13px; padding: 5px 0; }
/* Con la barra de selección visible se reserva lugar abajo para que no tape contenido */
body.con-seleccion { padding-bottom: 76px; }
@media (max-width: 640px) {
  .selbar { left: 8px; right: 8px; transform: none; max-width: none; gap: 4px 12px; padding: 6px 10px; font-size: 12.5px; }
  .selbar > span { flex-basis: 100%; }
  body.con-seleccion { padding-bottom: 104px; }
}

/* Ficha */
.actions { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; font-size: 13px; }
.actions .linkbtn { font-size: 13px; padding: 5px 0; }
.actions .sepbar { color: var(--muted); }
.f-eyebrow { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.f-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12px; border-radius: 999px; padding: 2px 9px; border: 1px solid var(--line); background: var(--panel); display: inline-flex; gap: 6px; align-items: center; }
.tag i { width: 8px; height: 8px; border-radius: 50%; }
.tag.modal { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.f-body { display: flex; flex-direction: column; gap: 18px; max-width: 1000px; }
#c-body { max-width: 1240px; }
.sec { display: flex; flex-direction: column; gap: 10px; }
.sec h3 { font-size: 13px; font-weight: 700; margin: 0; padding: 6px 10px; background: var(--th); border-left: 4px solid var(--inta-azul); border-radius: 0 var(--r) var(--r) 0; }
.grupo { font-size: 18px; font-weight: 500; line-height: 1.25; margin: 0; padding: 0 10px; }
.profile-wrap { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; overflow-x: auto; }
.profile-wrap svg { display: block; font-family: var(--f-body); font-variant-numeric: tabular-nums; }
.dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 10px 18px; margin: 0; padding: 0 10px; }
.dl div { min-width: 0; }
.dl dt { font-size: 11.5px; color: var(--muted); display: flex; align-items: center; }
.dl dd { margin: 1px 0 0; overflow-wrap: anywhere; }
.obs { white-space: pre-line; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 12px; margin: 0; font-size: 13px; overflow-wrap: anywhere; }
.cmp-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.cmp-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 10px; }
.cmp-col h4 { margin: 0; font-size: 14px; color: var(--accent); }
.about { font-size: 13.5px; max-width: 75ch; display: flex; flex-direction: column; gap: 10px; }
.about p { margin: 0; }
.about h3 { margin: 8px 0 0; font-size: 15px; color: var(--accent); }
.toast { position: fixed; left: 50%; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--fg); color: var(--bg); padding: 8px 14px; border-radius: var(--r); font-size: 13px; z-index: 1300; max-width: calc(100% - 32px); }
.toast:not(.on) { opacity: 0; pointer-events: none; }
.lblrow { display: inline-flex; align-items: center; gap: 2px; }
.lblrow label { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* Solo para imprimir: planilla tipo formulario de descripción de perfiles */
.solo-imprimir { display: none; }
.planilla h3 { font-size: 11pt; margin: 0 0 4px; }
.pl-g { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #555; border-left: 1px solid #555; }
.pl-c { border-right: 1px solid #555; border-bottom: 1px solid #555; padding: 2px 5px 3px; min-height: 30px; display: flex; flex-direction: column; break-inside: avoid; }
.pl-c.w2 { grid-column: span 2; } .pl-c.w4 { grid-column: span 4; }
.pl-l { font-size: 7pt; text-transform: uppercase; letter-spacing: .04em; color: #444; }
.pl-v { font-size: 9pt; overflow-wrap: anywhere; }
.pl-nota { font-size: 8pt; color: #444; margin: 3px 0 0; }
.pr-head { align-items: center; gap: 14px; border-bottom: 2px solid #008cc8; padding-bottom: 6px; margin-bottom: 8px; }
.pr-head img { width: 150px; height: auto; }
.pr-head div { display: flex; flex-direction: column; font-size: 9pt; }
.pr-head b { font-size: 12pt; color: #008cc8; }

@media print {
  @page { size: A4; margin: 12mm 11mm; }
  :root { --bg: #fff; --panel: #fff; --fg: #000; --muted: #444; --line: #888; --th: #e8ecf2; --sunk: #fff; color-scheme: light; }
  body { font-size: 9.5pt; background: #fff; }
  .banner, .nav, .pie, .selbar, details.adv, .actions, .toast, .tip, .saltar, .ayuda, #v-mapa, #v-unidades, #v-series, #v-fotocartas, #v-acerca, .aviso-proto, .visor-foto { display: none !important; }
  .shell { display: block; min-height: 0; } .main { padding: 0; }
  .solo-imprimir { display: block; } .pr-head.solo-imprimir { display: flex; }
  #v-ficha .sec.sitio, .f-eyebrow { display: none !important; }
  .view h2 { font-size: 15pt; color: #000; }
  .f-tags .tag { border-color: #888; }
  .tbl-wrap { overflow: visible; border: none; }
  table.t { font-size: 8pt; } table.t th, table.t td { padding: 2px 4px; border: 1px solid #999; }
  table.t thead th { white-space: normal; }
  .sec { break-inside: avoid-page; } .sec h3 { background: #e8ecf2; border-left-color: #008cc8; }
  .profile-wrap { border: 1px solid #999; max-width: 175mm; }
  .cmp-grid { gap: 8px; } .cmp-grid.cols-2 { grid-template-columns: 1fr 1fr; } .cmp-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
  .cmp-col { break-inside: avoid; min-width: 0; } .cmp-col .linkbtn { display: none !important; }
  .cmp-col .profile-wrap svg { max-height: 9cm; width: 100%; height: auto; }
  .sec h3 { break-after: avoid; }
  table.compacta { font-size: 7.5pt; } table.cmp { font-size: 7.5pt; }
  /* Con 3 perfiles, las tablas de horizontes entran en su columna: letra más chica, sin márgenes y con corte de línea */
  .cmp-grid.cols-3 table.compacta { font-size: 6.2pt; width: 100%; }
  .cmp-grid.cols-3 table.compacta th, .cmp-grid.cols-3 table.compacta td { padding: 1px 2px; white-space: normal; }
  .tbl-wrap { overflow: visible !important; }
  table.t .sw, .dot, .tag i { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  a[href]::after { content: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }


/* ===== Propio de Cartas de Suelos ===== */
.aviso-proto { margin: 0; padding: 6px max(16px, env(safe-area-inset-left, 0px)); background: var(--panel); color: var(--fg); border-bottom: 3px solid #ffbe2d; font-size: 13px; } /* #FFBE2D: paleta secundaria del Anexo I */
.check-linea { display: flex; gap: 8px; align-items: center; font-size: 13px; cursor: pointer; }
.check-linea input { width: 18px; height: 18px; margin: 0; accent-color: var(--inta-azul); }
.leyenda-uc { flex-direction: column; flex-wrap: nowrap; gap: 3px; }
.leyenda-uc span { gap: 8px; color: var(--fg); }
.leyenda-uc i { width: 16px; height: 12px; border-radius: 2px; border: 1px solid rgba(0,0,0,.25); flex: none; }
.leyenda-uc .k { color: var(--muted); }
.sw-uc { display: inline-block; width: 12px; height: 12px; border-radius: 2px; border: 1px solid rgba(0,0,0,.25); vertical-align: -1px; margin-right: 6px; }
.comp { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.comp li { display: flex; gap: 8px; align-items: baseline; }
.comp .pc { font-variant-numeric: tabular-nums; font-weight: 700; min-width: 3.2em; text-align: right; }
.comp .fase { color: var(--muted); font-size: 12.5px; }
.barra-comp { display: flex; height: 10px; border-radius: 2px; overflow: hidden; border: 1px solid var(--line); }
.barra-comp span { display: block; height: 100%; }
.texto-largo { margin: 0; padding: 0 10px; max-width: 75ch; }
table.t td.hz { font-weight: 700; white-space: nowrap; }
.tbl-wrap.analiticos table.t th[scope=row] { position: sticky; left: 0; background: var(--panel); white-space: normal; min-width: 150px; }
.fotos { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.fotos a { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--fg); background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 10px; }
.fotos a:hover { border-color: var(--accent); }
.fotos img { width: 100%; height: auto; aspect-ratio: 236 / 207; object-fit: cover; background: var(--sunk); }
.fotos b { color: var(--accent); }
.fotos-hoja { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.fotos-hoja h3 { margin: 0 0 4px; font-size: 1rem; }
.fotos-mini { list-style: none; margin: 10px 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fotos-mini a { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--fg); background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 6px; font-size: .85rem; }
.fotos-mini a:hover, .fotos-mini a:focus-visible { border-color: var(--accent); }
.fotos-mini img { width: 100%; height: auto; aspect-ratio: 236 / 207; object-fit: cover; background: var(--sunk); }
.fotos-mini b { color: var(--accent); font-weight: 600; }
.visor-foto { position: relative; height: clamp(420px, 72vh, 860px); border: 1px solid var(--line); border-radius: var(--r); background: #2b2b2b; overflow: hidden; }
.visor-foto > div { position: absolute; inset: 0; background: #2b2b2b; }
.foto-print { display: none; }
.rotulo-foto { width: auto !important; height: auto !important; }
.rotulo-foto span { display: block; transform: translate(-50%, -50%); white-space: nowrap; background: rgba(255,255,255,.92); color: #1d2430; border: 1px solid #333; border-radius: 3px; padding: 2px 6px; font-size: 12px; font-weight: 700; }
.marca-sel { color: var(--sel); font-weight: 700; }
.map-carga { position: absolute; z-index: 600; left: 50%; top: 12px; transform: translateX(-50%); background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 5px 12px; font-size: 13px; }
.hoja-rect-sel { stroke-width: 3; }
.campo-corto { max-width: 420px; }
.notas-analiticos { margin: 0; }
td .sub { display: block; color: var(--muted); font-size: 12px; }
@media print {
  .visor-foto { display: none !important; }
  .foto-print { display: block; max-width: 100%; }
}

/* ===== Leaflet 1.9.4 (BSD-2-Clause) ===== */
/* required styles */

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
	position: absolute;
	left: 0;
	top: 0;
	}
.leaflet-container {
	overflow: hidden;
	}
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
	-webkit-user-select: none;
	   -moz-user-select: none;
	        user-select: none;
	  -webkit-user-drag: none;
	}
/* Prevents IE11 from highlighting tiles in blue */
.leaflet-tile::selection {
	background: transparent;
}
/* Safari renders non-retina tile on retina better with this, but Chrome is worse */
.leaflet-safari .leaflet-tile {
	image-rendering: -webkit-optimize-contrast;
	}
/* hack that prevents hw layers "stretching" when loading new tiles */
.leaflet-safari .leaflet-tile-container {
	width: 1600px;
	height: 1600px;
	-webkit-transform-origin: 0 0;
	}
.leaflet-marker-icon,
.leaflet-marker-shadow {
	display: block;
	}
/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
.leaflet-container .leaflet-overlay-pane svg {
	max-width: none !important;
	max-height: none !important;
	}
.leaflet-container .leaflet-marker-pane img,
.leaflet-container .leaflet-shadow-pane img,
.leaflet-container .leaflet-tile-pane img,
.leaflet-container img.leaflet-image-layer,
.leaflet-container .leaflet-tile {
	max-width: none !important;
	max-height: none !important;
	width: auto;
	padding: 0;
	}

.leaflet-container img.leaflet-tile {
	/* See: https://bugs.chromium.org/p/chromium/issues/detail?id=600120 */
	mix-blend-mode: plus-lighter;
}

.leaflet-container.leaflet-touch-zoom {
	-ms-touch-action: pan-x pan-y;
	touch-action: pan-x pan-y;
	}
.leaflet-container.leaflet-touch-drag {
	-ms-touch-action: pinch-zoom;
	/* Fallback for FF which doesn't support pinch-zoom */
	touch-action: none;
	touch-action: pinch-zoom;
}
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
	-ms-touch-action: none;
	touch-action: none;
}
.leaflet-container {
	-webkit-tap-highlight-color: transparent;
}
.leaflet-container a {
	-webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
}
.leaflet-tile {
	filter: inherit;
	visibility: hidden;
	}
.leaflet-tile-loaded {
	visibility: inherit;
	}
.leaflet-zoom-box {
	width: 0;
	height: 0;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	z-index: 800;
	}
/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
.leaflet-overlay-pane svg {
	-moz-user-select: none;
	}

.leaflet-pane         { z-index: 400; }

.leaflet-tile-pane    { z-index: 200; }
.leaflet-overlay-pane { z-index: 400; }
.leaflet-shadow-pane  { z-index: 500; }
.leaflet-marker-pane  { z-index: 600; }
.leaflet-tooltip-pane   { z-index: 650; }
.leaflet-popup-pane   { z-index: 700; }

.leaflet-map-pane canvas { z-index: 100; }
.leaflet-map-pane svg    { z-index: 200; }

.leaflet-vml-shape {
	width: 1px;
	height: 1px;
	}
.lvml {
	behavior: url(#default#VML);
	display: inline-block;
	position: absolute;
	}


/* control positioning */

.leaflet-control {
	position: relative;
	z-index: 800;
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}
.leaflet-top,
.leaflet-bottom {
	position: absolute;
	z-index: 1000;
	pointer-events: none;
	}
.leaflet-top {
	top: 0;
	}
.leaflet-right {
	right: 0;
	}
.leaflet-bottom {
	bottom: 0;
	}
.leaflet-left {
	left: 0;
	}
.leaflet-control {
	float: left;
	clear: both;
	}
.leaflet-right .leaflet-control {
	float: right;
	}
.leaflet-top .leaflet-control {
	margin-top: 10px;
	}
.leaflet-bottom .leaflet-control {
	margin-bottom: 10px;
	}
.leaflet-left .leaflet-control {
	margin-left: 10px;
	}
.leaflet-right .leaflet-control {
	margin-right: 10px;
	}


/* zoom and fade animations */

.leaflet-fade-anim .leaflet-popup {
	opacity: 0;
	-webkit-transition: opacity 0.2s linear;
	   -moz-transition: opacity 0.2s linear;
	        transition: opacity 0.2s linear;
	}
.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
	opacity: 1;
	}
.leaflet-zoom-animated {
	-webkit-transform-origin: 0 0;
	    -ms-transform-origin: 0 0;
	        transform-origin: 0 0;
	}
svg.leaflet-zoom-animated {
	will-change: transform;
}

.leaflet-zoom-anim .leaflet-zoom-animated {
	-webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
	   -moz-transition:    -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
	        transition:         transform 0.25s cubic-bezier(0,0,0.25,1);
	}
.leaflet-zoom-anim .leaflet-tile,
.leaflet-pan-anim .leaflet-tile {
	-webkit-transition: none;
	   -moz-transition: none;
	        transition: none;
	}

.leaflet-zoom-anim .leaflet-zoom-hide {
	visibility: hidden;
	}


/* cursors */

.leaflet-interactive {
	cursor: pointer;
	}
.leaflet-grab {
	cursor: -webkit-grab;
	cursor:    -moz-grab;
	cursor:         grab;
	}
.leaflet-crosshair,
.leaflet-crosshair .leaflet-interactive {
	cursor: crosshair;
	}
.leaflet-popup-pane,
.leaflet-control {
	cursor: auto;
	}
.leaflet-dragging .leaflet-grab,
.leaflet-dragging .leaflet-grab .leaflet-interactive,
.leaflet-dragging .leaflet-marker-draggable {
	cursor: move;
	cursor: -webkit-grabbing;
	cursor:    -moz-grabbing;
	cursor:         grabbing;
	}

/* marker & overlays interactivity */
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-image-layer,
.leaflet-pane > svg path,
.leaflet-tile-container {
	pointer-events: none;
	}

.leaflet-marker-icon.leaflet-interactive,
.leaflet-image-layer.leaflet-interactive,
.leaflet-pane > svg path.leaflet-interactive,
svg.leaflet-image-layer.leaflet-interactive path {
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}

/* visual tweaks */

.leaflet-container {
	background: #ddd;
	outline-offset: 1px;
	}
.leaflet-container a {
	color: #0078A8;
	}
.leaflet-zoom-box {
	border: 2px dotted #38f;
	background: rgba(255,255,255,0.5);
	}


/* general typography */
.leaflet-container {
	font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1.5;
	}


/* general toolbar styles */

.leaflet-bar {
	box-shadow: 0 1px 5px rgba(0,0,0,0.65);
	border-radius: 4px;
	}
.leaflet-bar a {
	background-color: #fff;
	border-bottom: 1px solid #ccc;
	width: 26px;
	height: 26px;
	line-height: 26px;
	display: block;
	text-align: center;
	text-decoration: none;
	color: black;
	}
.leaflet-bar a,
.leaflet-control-layers-toggle {
	background-position: 50% 50%;
	background-repeat: no-repeat;
	display: block;
	}
.leaflet-bar a:hover,
.leaflet-bar a:focus {
	background-color: #f4f4f4;
	}
.leaflet-bar a:first-child {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	}
.leaflet-bar a:last-child {
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-bottom: none;
	}
.leaflet-bar a.leaflet-disabled {
	cursor: default;
	background-color: #f4f4f4;
	color: #bbb;
	}

.leaflet-touch .leaflet-bar a {
	width: 30px;
	height: 30px;
	line-height: 30px;
	}
.leaflet-touch .leaflet-bar a:first-child {
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
	}
.leaflet-touch .leaflet-bar a:last-child {
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
	}

/* zoom control */

.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
	font: bold 18px 'Lucida Console', Monaco, monospace;
	text-indent: 1px;
	}

.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out  {
	font-size: 22px;
	}


/* layers control */

.leaflet-control-layers {
	box-shadow: 0 1px 5px rgba(0,0,0,0.4);
	background: #fff;
	border-radius: 5px;
	}
.leaflet-control-layers-toggle {
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);
	width: 36px;
	height: 36px;
	}
.leaflet-retina .leaflet-control-layers-toggle {
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);
	background-size: 26px 26px;
	}
.leaflet-touch .leaflet-control-layers-toggle {
	width: 44px;
	height: 44px;
	}
.leaflet-control-layers .leaflet-control-layers-list,
.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
	display: none;
	}
.leaflet-control-layers-expanded .leaflet-control-layers-list {
	display: block;
	position: relative;
	}
.leaflet-control-layers-expanded {
	padding: 6px 10px 6px 6px;
	color: #333;
	background: #fff;
	}
.leaflet-control-layers-scrollbar {
	overflow-y: scroll;
	overflow-x: hidden;
	padding-right: 5px;
	}
.leaflet-control-layers-selector {
	margin-top: 2px;
	position: relative;
	top: 1px;
	}
.leaflet-control-layers label {
	display: block;
	font-size: 13px;
	font-size: 1.08333em;
	}
.leaflet-control-layers-separator {
	height: 0;
	border-top: 1px solid #ddd;
	margin: 5px -10px 5px -6px;
	}

/* Default icon URLs */
.leaflet-default-icon-path { /* used only in path-guessing heuristic, see L.Icon.Default */
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=);
	}


/* attribution and scale controls */

.leaflet-container .leaflet-control-attribution {
	background: #fff;
	background: rgba(255, 255, 255, 0.8);
	margin: 0;
	}
.leaflet-control-attribution,
.leaflet-control-scale-line {
	padding: 0 5px;
	color: #333;
	line-height: 1.4;
	}
.leaflet-control-attribution a {
	text-decoration: none;
	}
.leaflet-control-attribution a:hover,
.leaflet-control-attribution a:focus {
	text-decoration: underline;
	}
.leaflet-attribution-flag {
	display: inline !important;
	vertical-align: baseline !important;
	width: 1em;
	height: 0.6669em;
	}
.leaflet-left .leaflet-control-scale {
	margin-left: 5px;
	}
.leaflet-bottom .leaflet-control-scale {
	margin-bottom: 5px;
	}
.leaflet-control-scale-line {
	border: 2px solid #777;
	border-top: none;
	line-height: 1.1;
	padding: 2px 5px 1px;
	white-space: nowrap;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	background: rgba(255, 255, 255, 0.8);
	text-shadow: 1px 1px #fff;
	}
.leaflet-control-scale-line:not(:first-child) {
	border-top: 2px solid #777;
	border-bottom: none;
	margin-top: -2px;
	}
.leaflet-control-scale-line:not(:first-child):not(:last-child) {
	border-bottom: 2px solid #777;
	}

.leaflet-touch .leaflet-control-attribution,
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	box-shadow: none;
	}
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	border: 2px solid rgba(0,0,0,0.2);
	background-clip: padding-box;
	}


/* popup */

.leaflet-popup {
	position: absolute;
	text-align: center;
	margin-bottom: 20px;
	}
.leaflet-popup-content-wrapper {
	padding: 1px;
	text-align: left;
	border-radius: 12px;
	}
.leaflet-popup-content {
	margin: 13px 24px 13px 20px;
	line-height: 1.3;
	font-size: 13px;
	font-size: 1.08333em;
	min-height: 1px;
	}
.leaflet-popup-content p {
	margin: 17px 0;
	margin: 1.3em 0;
	}
.leaflet-popup-tip-container {
	width: 40px;
	height: 20px;
	position: absolute;
	left: 50%;
	margin-top: -1px;
	margin-left: -20px;
	overflow: hidden;
	pointer-events: none;
	}
.leaflet-popup-tip {
	width: 17px;
	height: 17px;
	padding: 1px;

	margin: -10px auto 0;
	pointer-events: auto;

	-webkit-transform: rotate(45deg);
	   -moz-transform: rotate(45deg);
	    -ms-transform: rotate(45deg);
	        transform: rotate(45deg);
	}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
	background: white;
	color: #333;
	box-shadow: 0 3px 14px rgba(0,0,0,0.4);
	}
.leaflet-container a.leaflet-popup-close-button {
	position: absolute;
	top: 0;
	right: 0;
	border: none;
	text-align: center;
	width: 24px;
	height: 24px;
	font: 16px/24px Tahoma, Verdana, sans-serif;
	color: #757575;
	text-decoration: none;
	background: transparent;
	}
.leaflet-container a.leaflet-popup-close-button:hover,
.leaflet-container a.leaflet-popup-close-button:focus {
	color: #585858;
	}
.leaflet-popup-scrolled {
	overflow: auto;
	}

.leaflet-oldie .leaflet-popup-content-wrapper {
	-ms-zoom: 1;
	}
.leaflet-oldie .leaflet-popup-tip {
	width: 24px;
	margin: 0 auto;

	-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
	filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
	}

.leaflet-oldie .leaflet-control-zoom,
.leaflet-oldie .leaflet-control-layers,
.leaflet-oldie .leaflet-popup-content-wrapper,
.leaflet-oldie .leaflet-popup-tip {
	border: 1px solid #999;
	}


/* div icon */

.leaflet-div-icon {
	background: #fff;
	border: 1px solid #666;
	}


/* Tooltip */
/* Base styles for the element that has a tooltip */
.leaflet-tooltip {
	position: absolute;
	padding: 6px;
	background-color: #fff;
	border: 1px solid #fff;
	border-radius: 3px;
	color: #222;
	white-space: nowrap;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
	box-shadow: 0 1px 3px rgba(0,0,0,0.4);
	}
.leaflet-tooltip.leaflet-interactive {
	cursor: pointer;
	pointer-events: auto;
	}
.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	position: absolute;
	pointer-events: none;
	border: 6px solid transparent;
	background: transparent;
	content: "";
	}

/* Directions */

.leaflet-tooltip-bottom {
	margin-top: 6px;
}
.leaflet-tooltip-top {
	margin-top: -6px;
}
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-top:before {
	left: 50%;
	margin-left: -6px;
	}
.leaflet-tooltip-top:before {
	bottom: 0;
	margin-bottom: -12px;
	border-top-color: #fff;
	}
.leaflet-tooltip-bottom:before {
	top: 0;
	margin-top: -12px;
	margin-left: -6px;
	border-bottom-color: #fff;
	}
.leaflet-tooltip-left {
	margin-left: -6px;
}
.leaflet-tooltip-right {
	margin-left: 6px;
}
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	top: 50%;
	margin-top: -6px;
	}
.leaflet-tooltip-left:before {
	right: 0;
	margin-right: -12px;
	border-left-color: #fff;
	}
.leaflet-tooltip-right:before {
	left: 0;
	margin-left: -12px;
	border-right-color: #fff;
	}

/* Printing */

@media print {
	/* Prevent printers from removing background-images of controls. */
	.leaflet-control {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
		}
	}
.texto { white-space: pre-line; max-width: 75ch; }

/* Datos que no se pudieron cargar (por ejemplo, página abierta como archivo local): solo el aviso, arriba de todo */
.aviso-total { position: fixed; inset: 0; z-index: 3000; background: var(--bg); display: flex; align-items: flex-start; justify-content: center; padding: 64px 16px; overflow: auto; }
.aviso-total > div { max-width: 560px; background: var(--panel); border: 1px solid var(--line); border-top: 4px solid var(--band); border-radius: var(--r); padding: 24px; }
.aviso-total h1 { font-size: 1.3rem; margin: 0 0 10px; color: var(--fg); }
.aviso-total p { margin: 0 0 8px; }
.btn.quitar { border-color: transparent; background: none; color: var(--link); padding-left: 6px; padding-right: 6px; }
.btn.quitar:hover { border-color: var(--line); background: var(--sunk); }
