/*
 * Directorio de expositores 2027 — estilo "pastel consumer" (tasteskill, seed 882983833).
 * Sidebar blanco con su cabecera (marca, título y pabellón) y el plano a toda altura a la derecha,
 * separados por un filete de 1px. Tintes pálidos con la tinta oscura de su mismo tono en chips y en la
 * ficha de ubicación; nada gris de fondo. En teléfono el plano ocupa la pantalla y el panel es una hoja
 * inferior con tres posiciones. Todo va bajo .dv con clases dv-* para no chocar con Bootstrap ni main.css.
 *
 * Retícula de escritorio: 492px de sidebar (44vw en pantallas angostas) + 1fr de plano. Dentro del sidebar un solo margen de 20px:
 * cabecera, controles, filas y ficha empiezan en la misma línea (20px; las filas 8px de margen + 12px
 * de relleno = 20px).
 */
html:has(body.dv-page), body.dv-page { overflow: hidden; }
body.dv-page { height: 100dvh; }

.dv {
	--surface: #ffffff; --raised: #f2f7fd; --border: #e6e6e6; --rule: #f1f2f4; --control: #d6d9dd;
	--text: #1b1d1f; --muted: #5c6064;
	--accent: #1C4D9A; --accent-soft: #e3ecfa; --accent-ink: #13397a;
	--radius-card: 20px; --radius-control: 10px;
	--font: "Manrope", "Segoe UI", system-ui, sans-serif;
	--ease-out: cubic-bezier(.32,.72,0,1);
	/* plano (sin cambios) */
	--blue: #1C4D9A; --blue-fill: rgba(28,77,154,.13); --magenta: #E41168; --sheet: #ffffff; --edge: #dfe4ee;
	/* tintes de actividad (tinte pálido + tinta oscura): chips de la lista y fondo de los stands en el plano */
	--t0: #dcf1ff; --t0-ink: #0a3a80; --t1: #fde4ee; --t1-ink: #8c1043; --t2: #d7f2ee; --t2-ink: #0b5a51;
	--t3: #fdefd3; --t3-ink: #6e3f00; --t4: #dcf5e3; --t4-ink: #1d5b33;

	height: calc(100dvh - var(--dv-top, 0px));
	display: grid;
	grid-template-columns: min(492px, 44vw) minmax(0,1fr);
	grid-template-rows: auto minmax(0,1fr);
	background: var(--surface);
	color: var(--text);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.5;
	-webkit-tap-highlight-color: transparent;
	border-top: 1px solid var(--border);
}
.dv [hidden] { display: none !important; }
.dv h1, .dv h2 { margin: 0; color: inherit; line-height: 1.2; font-size: inherit; font-family: var(--font); }
.dv ul { margin: 0; padding: 0; list-style: none; }
.dv p, .dv dl, .dv dd { margin: 0; }
.dv button, .dv input, .dv select { font: inherit; color: inherit; }
.dv button { cursor: pointer; border-radius: 0; }
.dv a { color: var(--accent-ink); }
.dv :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* cabecera del sidebar: el producto y su alcance (el pabellón) */
.dv-top { grid-column: 1; grid-row: 1; display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 12px 12px; padding: 20px 20px 16px; border-right: 1px solid var(--border); min-width: 0; }
.dv-mark { flex: none; width: 40px; height: 40px; object-fit: contain; }
.dv-title { min-width: 0; display: flex; flex-direction: column; }
.dv-title h1 { font-weight: 600; font-size: 20px; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dv-title > span { font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dv-tools { grid-column: 1 / -1; display: flex; gap: 8px; min-width: 0; }
.dv-pav { flex: 1; position: relative; min-width: 0; }
.dv-pav select { appearance: none; -webkit-appearance: none; width: 100%; height: 44px; background: var(--surface); border: 1px solid var(--control); border-radius: var(--radius-control); padding: 0 38px 0 14px; font-weight: 600; font-size: 15px; text-overflow: ellipsis; }
.dv-pav::after { content: ""; position: absolute; right: 16px; top: 17px; width: 7px; height: 7px; border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted); transform: rotate(45deg); pointer-events: none; }

/* panel */
.dv-panel { grid-column: 1; grid-row: 2; min-height: 0; display: flex; flex-direction: column; position: relative; background: var(--surface); border-right: 1px solid var(--border); }
.dv-handle { display: none; }
.dv-views { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.dv-view { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--surface); }
.dv-vhead { padding: 0 20px 4px; display: grid; gap: 12px; }
.dv-scroll { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 4px 8px calc(20px + var(--sheet-offset, 0px)); }

/* alcance: este pabellón / todos (el acento en un solo control) */
.dv-scope { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 3px; border: 1px solid var(--control); border-radius: 12px; }
.dv-scope button { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; padding: 0 8px; border: 0; border-radius: 9px !important; background: none; font-size: 14px; font-weight: 500; color: var(--muted); white-space: nowrap; transition: background .15s, color .15s; }
.dv-scope button b { font-weight: 600; font-variant-numeric: tabular-nums; }
.dv-scope button[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }

.dv-search { position: relative; }
.dv-search input { width: 100%; box-sizing: border-box; height: 44px; border-radius: var(--radius-control); border: 1px solid var(--control); background: var(--surface); padding: 0 14px 0 40px; font-size: 16px; }
.dv-search input::placeholder { color: #6b6f74; }
.dv-search svg { position: absolute; left: 14px; top: 14px; width: 16px; height: 16px; stroke: var(--muted); fill: none; stroke-width: 2; }

.dv-filters { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dv-sel { position: relative; min-width: 0; }
.dv-sel select { appearance: none; -webkit-appearance: none; width: 100%; height: 40px; border-radius: var(--radius-control); border: 1px solid var(--control); background: var(--surface); padding: 0 30px 0 12px; font-size: 14px; text-overflow: ellipsis; }
.dv-sel::after { content: ""; position: absolute; right: 13px; top: 15px; width: 6px; height: 6px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); pointer-events: none; }

/* tipo de participante: pestañas subrayadas con su conteo */
.dv-tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--border); margin-top: 4px; }
.dv-tab { display: inline-flex; align-items: baseline; gap: 6px; padding: 8px 0 10px; margin-bottom: -1px; border: 0; border-bottom: 2px solid transparent; background: none; font-size: 15px; font-weight: 500; color: var(--muted); white-space: nowrap; transition: color .15s, border-color .15s; }
.dv-tab b { font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.dv-tab:hover { color: var(--text); }
.dv-tab[aria-pressed="true"] { color: var(--text); font-weight: 600; border-bottom-color: var(--text); }
.dv-tab[aria-pressed="true"] b { font-weight: 600; }

.dv-sum { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 14px; color: var(--muted); padding: 2px 0 0; }
.dv .dv-link { background: none; border: 0; padding: 0; color: var(--accent-ink); font-weight: 600; font-size: 14px; }

/* filas: logo, nombre con su actividad, stand a la derecha */
.dv-rows { display: grid; gap: 2px; }
.dv-rows > li { min-width: 0; }
.dv-row { width: 100%; display: flex; align-items: center; gap: 14px; padding: 12px; min-height: 72px; border: 0; background: none; border-radius: 14px !important; text-align: left; transition: background .12s, transform .12s var(--ease-out); }
.dv-row:hover, .dv-row.is-hl { background: var(--raised); }
.dv-row:active { transform: scale(.985); }
.dv-who { flex: 1; min-width: 0; }
.dv-who b { display: block; font-size: 16px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.dv-who small { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; color: var(--muted); font-size: 14px; line-height: 1.35; margin-top: 4px; }
.dv-who small > span:not(.dv-chip):not(.dv-co) { flex: none; }
.dv-who small .dv-chip { flex: 0 1 auto; min-width: 0; max-width: 100%; }
.dv-who small:has(.dv-chip) { flex-wrap: nowrap; }
.dv-who small:has(.dv-co) { flex-wrap: wrap; }
.dv-std { flex: none; display: flex; flex-direction: column; align-items: flex-end; font-variant-numeric: tabular-nums; font-weight: 600; font-size: 16px; color: var(--text); white-space: nowrap; text-align: right; line-height: 1.3; }
.dv-std small { font-size: 13px; font-weight: 500; color: var(--muted); }
.dv-std.is-off { font-size: 15px; font-weight: 500; color: var(--muted); }
.dv-co { color: #8c1043; font-weight: 600; }
.dv-who .dv-co { display: block; flex-basis: 100%; }

/* actividad: tinte pálido con la tinta oscura de su mismo tono */
.dv-chip { display: inline-block; flex: none; height: 24px; line-height: 24px; padding: 0 9px; border-radius: 7px; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: var(--t0); color: var(--t0-ink); }
.dv-chip[data-tint="1"] { background: var(--t1); color: var(--t1-ink); }
.dv-chip[data-tint="2"] { background: var(--t2); color: var(--t2-ink); }
.dv-chip[data-tint="3"] { background: var(--t3); color: var(--t3-ink); }
.dv-chip[data-tint="4"] { background: var(--t4); color: var(--t4-ink); }

.dv-lg { flex: none; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; font-size: 15px; letter-spacing: -.01em;
	background: hsl(var(--h) 62% 95%); color: hsl(var(--h) 52% 28%); overflow: hidden; }
.dv-lg[style*="#fff"] { border: 1px solid var(--border); }
.dv-lg img { width: 90%; height: 90%; object-fit: contain; }
.dv-lg--xl { width: 120px; height: 120px; border-radius: 20px; font-size: 34px; }
.dv-note { font-size: 13px; color: var(--muted); padding: 16px 12px 4px; }
.dv-empty { padding: 28px 12px; text-align: center; color: var(--muted); }
.dv-empty b { display: block; color: var(--text); margin-bottom: 4px; }
.dv .dv-group { font-size: 14px; font-weight: 600; color: var(--muted); margin: 20px 12px 6px; }

/* vistas de stand y de expositor */
.dv-back { justify-self: start; display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 4px 8px 4px 0; color: var(--accent-ink); font-weight: 600; font-size: 15px; border-radius: 8px !important; }
.dv-back svg { width: 9px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2.2; }
.dv-exphead { display: flex; gap: 20px; align-items: center; padding: 8px 12px 0; }
.dv .dv-exphead h2 { font-weight: 600; font-size: 22px; line-height: 1.2; letter-spacing: -.01em; text-wrap: balance; overflow-wrap: anywhere; }
.dv-exphead p { margin-top: 4px; font-size: 14px; color: var(--muted); }

/* ubicación: la respuesta de la ficha, en el tinte de la marca */
.dv-loc { margin: 20px 12px 0; background: var(--accent-soft); color: var(--accent-ink); border-radius: var(--radius-card); padding: 20px; display: grid; gap: 12px; }
.dv-loc + .dv-loc { margin-top: 8px; }
.dv-scroll > .dv-loc:first-child { margin-top: 8px; }
.dv-l1 { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.dv-bignum { font-weight: 600; font-size: 32px; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.dv-l1 small { font-size: 14px; font-weight: 500; }
.dv-l1 small b { display: block; font-size: 15px; font-weight: 600; }
.dv-way { display: flex; flex-wrap: wrap; gap: 6px; }
.dv-way span { background: var(--surface); color: var(--accent-ink); border-radius: 8px; padding: 4px 10px; font-size: 14px; font-weight: 500; }
.dv-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; border-radius: var(--radius-control) !important; border: 0; background: var(--surface); color: var(--accent-ink); font-weight: 600; font-size: 15px; padding: 0 16px; transition: transform .12s var(--ease-out), background .15s; }
.dv-btn:hover { background: #f7faff; }
.dv-btn:active { transform: scale(.97); }

.dv .dv-facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 20px 12px 0; font-size: 15px; }
.dv-facts dt { color: var(--muted); font-weight: 400; }
.dv-facts dd { font-weight: 500; }
.dv .dv-desc { margin: 16px 12px 0; font-size: 16px; line-height: 1.6; white-space: pre-line; }
.dv-desc.is-clamp { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
.dv .dv-vermas { display: inline-block; margin: 6px 12px 0; padding: 4px 0; font-size: 15px; }
.dv-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 12px 0; }
.dv .dv-ico { --c: var(--text); display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 42px; height: 42px; border-radius: var(--radius-control); background: var(--surface); border: 1px solid var(--control); color: var(--c); text-decoration: none; transition: border-color .15s, transform .12s var(--ease-out); }
.dv-ico svg { width: 19px; height: 19px; fill: currentColor; flex: none; }
.dv-ico:hover { border-color: var(--c); }
.dv-ico:active { transform: scale(.95); }
.dv .dv-ico--web { --c: var(--accent-ink); width: auto; padding: 0 14px 0 12px; font-size: 14px; font-weight: 600; }
.dv-ico[data-red="instagram"] { --c: #d62976; }
.dv-ico[data-red="facebook"] { --c: #1877f2; }
.dv-ico[data-red="whatsapp"] { --c: #1a8f47; }
.dv-ico[data-red="tiktok"], .dv-ico[data-red="x"] { --c: #000000; }
.dv-ico[data-red="otra"] { --c: var(--muted); }

/* plano: a toda altura junto al sidebar */
.dv-mapwrap { grid-column: 2; grid-row: 1 / -1; background: var(--sheet); overflow: hidden; position: relative; min-width: 0; }
.dv-map { position: absolute; inset: 0; touch-action: none; user-select: none; -webkit-user-select: none; }
.dv-map svg { display: block; width: 100%; height: 100%; cursor: grab; }
.dv-map svg.is-drag { cursor: grabbing; }
.dv-st { fill: transparent; pointer-events: none; }
.dv-st.is-has { fill: var(--blue-fill); stroke: var(--blue); stroke-width: 1.5; pointer-events: all; cursor: pointer; transition: fill .15s, opacity .2s; }
.dv-st.is-has.is-press { fill: var(--blue); fill-opacity: .35; }
.dv-st.is-dim { opacity: .18; }
.dv-lgg { pointer-events: none; transition: opacity .2s; }
.dv-lgg.is-dim { opacity: .2; }
.dv-cover { fill: var(--sheet); stroke: var(--blue); stroke-width: 1.5; }
/* el fondo va debajo del logo: lo tiñe el color de la actividad del expositor principal sin taparlo */
.dv-cover[data-tint="0"] { fill: var(--t0); }
.dv-cover[data-tint="1"] { fill: var(--t1); }
.dv-cover[data-tint="2"] { fill: var(--t2); }
.dv-cover[data-tint="3"] { fill: var(--t3); }
.dv-cover[data-tint="4"] { fill: var(--t4); }
.dv-snum { font-family: var(--font); font-weight: 700; fill: var(--muted); font-variant-numeric: tabular-nums; }
.dv-tilebg { fill: #ffffff; }
.dv-tiletx { font-family: var(--font); font-weight: 700; text-anchor: middle; dominant-baseline: central; }
.dv-more { fill: #f6f8fc; stroke: var(--edge); }
.dv-moretx { font-family: var(--font); font-weight: 700; fill: var(--muted); text-anchor: middle; dominant-baseline: central; }
/* lugares de interés (auditorio ANATO Capacita…): área punteada en el azul de la marca y su nombre en una etiqueta */
.dv-poi { fill: var(--blue); fill-opacity: .07; stroke: var(--blue); stroke-width: 2; stroke-dasharray: 8 5; cursor: pointer; transition: fill-opacity .15s; }
.dv-poi:hover, .dv-poi.is-press { fill-opacity: .16; }
.dv-poipill { fill: var(--blue); cursor: pointer; }
.dv-poitx { font-family: var(--font); font-weight: 700; fill: #ffffff; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.dv-ring { fill: none; pointer-events: none; stroke-width: 3.5; opacity: 0; transition: opacity .15s; }
.dv-ring.is-sel { stroke: var(--magenta); }
.dv-ring.is-hov { stroke: var(--blue); stroke-width: 2.5; }
.dv-ring.is-on { opacity: 1; }

.dv-ctl { position: absolute; right: 16px; bottom: 16px; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.dv-ctl button { width: 44px; height: 44px; border: 0; background: none; display: grid; place-items: center; transition: background .1s; }
.dv-ctl button + button { border-top: 1px solid var(--rule); }
.dv-ctl button:hover { background: var(--raised); }
.dv-ctl svg { width: 16px; height: 16px; stroke: var(--text); fill: none; stroke-width: 2; stroke-linecap: round; }
.dv-legend { position: absolute; left: 16px; bottom: 16px; max-width: calc(100% - 92px); display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 8px 12px; font-size: 13px; color: var(--muted); }
.dv-legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-right: 6px; vertical-align: -2px; background: var(--sheet); box-shadow: inset 0 0 0 1px var(--blue); }
.dv-legend i[data-tint="0"] { background: var(--t0); }
.dv-legend i[data-tint="1"] { background: var(--t1); }
.dv-legend i[data-tint="2"] { background: var(--t2); }
.dv-legend i[data-tint="3"] { background: var(--t3); }
.dv-legend i[data-tint="4"] { background: var(--t4); }
.dv-legend i.is-sel { background: var(--magenta); box-shadow: none; }
.dv-pending { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--muted); }
.dv-pending b { display: block; color: var(--text); font-size: 18px; font-weight: 600; margin-bottom: 4px; }

/* Contenido para buscadores y sin JS; la app lo reemplaza al cargar. */
.dv-seo { padding: 8px 20px; }
.dv-seo h2 { font-size: 22px; font-weight: 600; margin-bottom: 8px; }

.dv-corto { display: none; }

/* selector de vista: mismo control que el alcance (.dv-scope) */
.dv-vista { flex: none; display: flex; }
.dv-vista button { min-height: 36px; padding: 0 12px; }
.dv-vista svg { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dv .dv-solo-lista { display: none; }

/* listado: sin plano; los expositores en tarjetas a todo el ancho (contenido centrado) */
.dv[data-vista="lista"] { grid-template-columns: minmax(0,1fr); }
.dv[data-vista="lista"] .dv-mapwrap { display: none; }
.dv[data-vista="lista"] .dv-panel { border-right: 0; }
.dv[data-vista="lista"] .dv-solo-lista { display: inline-flex; }
.dv[data-vista="lista"] .dv-rows { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 12px; margin: 8px 12px 0; }
.dv[data-vista="lista"] .dv-row { height: 100%; border: 1px solid var(--border); padding: 16px; gap: 16px; }
.dv[data-vista="lista"] .dv-row:hover, .dv[data-vista="lista"] .dv-row.is-hl { border-color: var(--control); }
.dv[data-vista="lista"] .dv-who small { flex-wrap: wrap; }
.dv[data-vista="lista"] .dv-row .dv-lg {width: 64px; height: 64px; border-radius: 14px; font-size: 18px; }
.dv[data-vista="lista"] .dv-empty { grid-column: 1 / -1; }

@media (min-width: 900px) {
	.dv[data-vista="lista"] .dv-top,
	.dv[data-vista="lista"] .dv-view { --dv-max: 1200px; --dv-pad: max(20px, calc((100% - var(--dv-max)) / 2)); }
	.dv[data-vista="lista"] .dv-view:not([data-kind="list"]) { --dv-max: 760px; }
	.dv[data-vista="lista"] .dv-top { grid-template-columns: auto minmax(0,1fr) auto; padding: 16px var(--dv-pad); border-right: 0; border-bottom: 1px solid var(--border); }
	.dv[data-vista="lista"] .dv-tools { grid-column: auto; width: 460px; }
	.dv[data-vista="lista"] .dv-vhead { padding: 20px var(--dv-pad) 4px; }
	.dv[data-vista="lista"] .dv-scroll { padding: 4px calc(var(--dv-pad) - 12px) 32px; }
	.dv[data-vista="lista"] .dv-view[data-kind="list"] .dv-vhead { grid-template-columns: minmax(0,320px) minmax(0,1fr) minmax(0,400px); align-items: center; }
	.dv[data-vista="lista"] .dv-tabs, .dv[data-vista="lista"] .dv-sum { grid-column: 1 / -1; }
}
@media (min-width: 900px) and (max-width: 1099px) {
	.dv[data-vista="lista"] .dv-view[data-kind="list"] .dv-vhead { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
	.dv[data-vista="lista"] .dv-search { grid-column: 1 / -1; order: -1; }
}

/* teléfono y tablet: barra con el producto y el pabellón, el plano llena la pantalla y el panel es una
   hoja inferior (por debajo de 900px el sidebar dejaría el plano en menos de la mitad del ancho) */
@media (max-width: 899px) {
	.dv-largo { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.dv-corto { display: inline; }
	.dv { grid-template-columns: minmax(0,1fr); grid-template-rows: 56px minmax(0,1fr); }
	.dv-top { grid-template-columns: auto minmax(0,1fr) auto; padding: 0 max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px)); border-right: 0; border-bottom: 1px solid var(--border); gap: 10px; }
	.dv-mark { width: 32px; height: 32px; }
	.dv-title h1 { font-size: 17px; }
	.dv-title > span { display: none; }
	.dv-tools { grid-column: auto; gap: 6px; }
	.dv-pav select { height: 38px; font-size: 14px; max-width: 40vw; }
	.dv-pav::after { top: 15px; }
	.dv-mapwrap { grid-column: 1; grid-row: 2; }
	.dv-legend { display: none; }
	.dv-ctl { top: 12px; bottom: auto; right: max(12px, env(safe-area-inset-right, 0px)); }
	.dv-panel { position: fixed; left: 0; right: 0; top: calc(var(--dv-top, 0px) + 64px); bottom: 0; z-index: 5; border-right: 0;
		/* la hoja flota sobre el plano: es el único elemento con sombra */
		border-radius: var(--radius-card) var(--radius-card) 0 0; box-shadow: 0 -1px 0 var(--border), 0 -12px 32px rgba(20,26,46,.14); will-change: transform; } /* taste-skill-ignore */
	.dv-view { border-radius: var(--radius-card) var(--radius-card) 0 0; }
	.dv-handle { display: block; height: 22px; flex: none; touch-action: none; cursor: grab; }
	.dv-handle::before { content: ""; display: block; width: 40px; height: 5px; border-radius: 3px; background: var(--control); margin: 8px auto 0; }
	.dv-vhead { touch-action: pan-x; padding: 0 16px 4px; }
	.dv-tabs { overflow-x: auto; scrollbar-width: none; }
	.dv-scroll { padding: 4px 4px calc(20px + var(--sheet-offset, 0px)); }
	.dv-lg--xl { width: 96px; height: 96px; border-radius: 18px; font-size: 28px; }

	/* el selector queda en un botón de ícono: muestra solo la vista a la que se cambia */
	.dv-vista { padding: 0; border: 0; }
	.dv-vista button[aria-pressed="true"] { display: none; }
	.dv-vista button { width: 38px; min-height: 38px; padding: 0; border: 1px solid var(--control); border-radius: var(--radius-control) !important; background: var(--surface); color: var(--text); }
	.dv-vista span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.dv-vista svg { width: 18px; height: 18px; }

	/* listado: el panel deja de ser hoja y ocupa la pantalla bajo la barra */
	.dv[data-vista="lista"] .dv-panel { position: relative; top: auto; z-index: auto; border-radius: 0; box-shadow: none; transform: none !important; will-change: auto; }
	.dv[data-vista="lista"] .dv-view { border-radius: 0; }
	.dv[data-vista="lista"] .dv-handle { display: none; }
	.dv[data-vista="lista"] .dv-vhead { padding-top: 12px; touch-action: auto; }
}
/* ---------- Cómo llegar ---------- */
.dv .dv-btn--ruta, .dv .dv-btn--pri { gap: 8px; background: var(--blue); color: #ffffff; min-height: 44px; }
.dv .dv-btn--ruta:hover, .dv .dv-btn--pri:hover { background: var(--accent-ink); }
.dv .dv-btn--ok { background: #14804a; color: #ffffff; min-height: 44px; }
.dv .dv-btn--ok:hover { background: #0f6a3c; }
.dv .dv-btn:disabled { opacity: .45; pointer-events: none; }
.dv-btn--ruta svg, .dv-ruta-ico svg { width: 16px; height: 16px; fill: currentColor; }
.dv-ruta .dv-btn { min-height: 44px; }
.dv-ruta-in { padding: 8px 12px 0; display: grid; gap: 16px; }
.dv-ruta-head { display: flex; gap: 14px; align-items: center; }
.dv-ruta-ico { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--blue); display: grid; place-items: center; }
.dv .dv-ruta-head h2 { font-size: 20px; font-weight: 600; line-height: 1.2; }
.dv-ruta-head p { margin-top: 2px; font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.dv-ruta-toca { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; color: var(--accent-ink); }
.dv-ruta-toca::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px var(--blue-fill); }
.dv-ruta-form label { display: block; margin-bottom: 6px; font-size: 13px; color: var(--muted); }
.dv-ruta-form div { display: flex; gap: 8px; }
.dv .dv-ruta-form input { flex: 1; min-width: 0; min-height: 44px; padding: 0 12px; border: 1px solid var(--control); border-radius: var(--radius-control); font: inherit; font-size: 16px; color: var(--text); background: var(--surface); }
.dv-ruta-form .dv-btn, .dv-ruta-nav .dv-btn:not(.dv-btn--pri):not(.dv-btn--ok) { border: 1px solid var(--control); }
.dv-ruta-err { padding: 10px 12px; border-radius: var(--radius-control); background: #fde4ee; color: #8c1043; font-size: 14px; line-height: 1.4; }
.dv-ruta-desde { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 16px; border-radius: 14px; background: var(--accent-soft); }
.dv-ruta-desde small { display: block; font-size: 12px; color: var(--muted); }
.dv-ruta-desde b { color: var(--accent-ink); }
.dv-ruta-sum { font-size: 18px; font-weight: 700; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.dv-ruta-lista { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.dv-ruta-lista li, .dv-ruta-step { display: flex; gap: 12px; align-items: flex-start; }
.dv-ruta-lista p { font-size: 15px; line-height: 1.45; padding-top: 5px; }
.dv-ruta-step p { font-size: 16px; line-height: 1.45; padding-top: 8px; }
.dv-ruta-gico { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); color: var(--blue); display: grid; place-items: center; }
.dv-ruta-step .dv-ruta-gico { width: 40px; height: 40px; }
.dv-ruta-gico svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dv-ruta-step.is-fin .dv-ruta-gico { background: #dcf5e3; color: #14804a; }
.dv-ruta-step.is-fin p { color: #0f5c35; }
.dv-ruta-nav { display: flex; gap: 8px; }
.dv-ruta-nav .dv-btn { flex: 1; }
.dv-ruta-vh { grid-template-columns: auto 1fr; align-items: center; }
.dv-ruta-num { justify-self: end; font-size: 14px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
/* en el plano: la ruta en azul, el tramo actual en magenta; los stands se atenúan para leerla */
.dv-ruta-all { fill: none; stroke: var(--blue); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.dv-ruta-cur { fill: none; stroke: var(--magenta); stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; }
.dv-ruta-halo { fill: var(--blue); fill-opacity: .18; }
.dv-ruta-dot { fill: var(--blue); stroke: #ffffff; stroke-width: 3; }
.dv-map svg.is-ruta .dv-lgg, .dv-map svg.is-ruta .dv-st.is-has { opacity: .32; }
.dv-map svg.is-elegir { cursor: crosshair; }
.dv-ruta-aviso { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 10px 16px; border-radius: 999px; background: var(--blue); color: #ffffff; font-size: 14px; font-weight: 600; pointer-events: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 899px) {
	.dv-ruta-aviso { top: 12px; left: 12px; transform: none; max-width: calc(100% - 76px); }
}
@media (prefers-reduced-motion: reduce) { .dv * { transition-duration: 0s !important; animation-duration: 0s !important; } }
