/* «Día típico por periodo y tipo de día» (dia_tipico.js): Hoja 3 del Sistema FV y paso 4 de Paquetes FV. */
.dt-caja, .fv-h3, .paq-dt {
  --dt-texto: var(--texto, #1b2a36); --dt-suave: var(--suave, var(--tenue, #5e6d78)); --dt-borde: var(--borde, #dfe5ea);
  --dt-panel: var(--panel, #fff); --dt-auto: #7fd3df; --dt-sol: #F5A623; --dt-base: #2f8f6b; --dt-intermedia: #d8a330;
  --dt-punta: #c94a3c; --dt-semipunta: #e2783a; --dt-energia: #5b7c99; --dt-guia: rgba(23, 179, 200, .12);
}
.dt-caja { display: grid; gap: 10px; min-width: 0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) :is(.dt-caja, .fv-h3, .paq-dt) { --dt-auto: #5cc4d3; --dt-base: #3fae86; --dt-guia: rgba(92, 196, 211, .16); } }
:root[data-theme="dark"] :is(.dt-caja, .fv-h3, .paq-dt) { --dt-auto: #5cc4d3; --dt-base: #3fae86; --dt-guia: rgba(92, 196, 211, .16); }
.dt-cab { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.dt-tit { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; color: var(--dt-texto); }
.dt-ic { width: 20px; height: 20px; fill: none; stroke: var(--dt-sol); stroke-width: 1.8; stroke-linecap: round; }
.dt-seg { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--dt-borde); border-radius: 12px; background: var(--panel-2, transparent); }
.dt-seg button { min-height: 40px; padding: 0 12px; border: 0; border-radius: 9px; background: transparent; color: var(--dt-suave); font: inherit; font-size: 13px; font-weight: 650; cursor: pointer; }
.dt-seg button[aria-pressed="true"] { background: var(--dt-panel); color: var(--dt-texto); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.dt-seg button:disabled { opacity: .4; cursor: not-allowed; }
.dt-nota { margin: 0; font-size: 12.5px; color: var(--dt-suave); }
.dt-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; scroll-behavior: smooth; }
.dt-chips button { flex: 0 0 auto; position: relative; min-height: 40px; padding: 0 14px; border: 1px solid var(--dt-borde); border-radius: 999px; background: var(--dt-panel); color: var(--dt-texto); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.dt-chips button[aria-pressed="true"] { background: var(--marino, #0E2236); border-color: var(--marino, #0E2236); color: #fff; }
.dt-solb { display: inline-block; width: 7px; height: 7px; margin-left: 6px; border-radius: 50%; background: var(--dt-sol); vertical-align: middle; }
.dt-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dt-ley { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--dt-suave); }
.dt-ley span { display: inline-flex; align-items: center; gap: 6px; }
.dt-ley i { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }
.dt-ley i.dt-imp { background: linear-gradient(90deg, var(--dt-base) 0 33%, var(--dt-intermedia) 33% 66%, var(--dt-punta) 66%); }
.dt-ley i.dt-lin { height: 3px; border-radius: 2px; background: var(--dt-sol); }
.dt-graf { position: relative; min-width: 0; border-radius: 10px; outline: none; }
.dt-graf:focus-visible { box-shadow: 0 0 0 2px var(--acento, #17B3C8); }
.dt-lienzo { min-height: 260px; }
.dt-vacio { margin: 0; padding: 40px 12px; text-align: center; color: var(--dt-suave); font-size: 13px; }
.dt-guia { position: absolute; background: var(--dt-guia); pointer-events: none; border-radius: 3px; }
.dt-tip { position: absolute; z-index: 3; min-width: 190px; padding: 9px 11px; border-radius: 10px; background: var(--dt-panel); color: var(--dt-texto); border: 1px solid var(--dt-borde); box-shadow: 0 8px 24px rgba(0, 0, 0, .14); font-size: 12.5px; pointer-events: none; }
.dt-tip b { display: block; margin-bottom: 4px; }
.dt-fila { display: flex; justify-content: space-between; gap: 14px; }
.dt-fila span { display: inline-flex; align-items: center; gap: 6px; color: var(--dt-suave); }
.dt-fila i { width: 9px; height: 9px; border-radius: 2px; display: inline-block; }
.dt-fila b { display: inline; margin: 0; font-variant-numeric: tabular-nums; }
.dt-pie { margin: 0; font-size: 12.5px; color: var(--dt-suave); }
@media (prefers-reduced-motion: reduce) { .dt-chips { scroll-behavior: auto; } }
