/* Alojamiento de quien pernocta (partials/_hotel_campos.html + static/js/dsg-hotel.js): noches, habitación, hotel preferente y observaciones.
   Tonos apagados y sobrios: azul pizarra para lo elegido y ocre (aviso) cuando hay más de una noche, que las demás corren a cargo del cliente. */
.hotel-bloque { --h-sel: #8FA9CC; --h-sel-bg: rgba(143, 169, 204, .14); --h-aviso: #C9AB6B; --h-aviso-bg: rgba(201, 171, 107, .15);
                margin: .25rem 0 1.1rem; padding: .9rem 1rem 1rem; border: 1px solid var(--dsg-border); border-left: 3px solid var(--h-sel); border-radius: 10px; background: var(--dsg-surface2); }
.hotel-bloque[hidden], .hotel-bloque [hidden] { display: none !important; }
.hotel-cab { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .6rem; }
.hotel-cab strong { color: var(--dsg-text); font-size: .95rem; }
.hotel-icono { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; background: var(--h-sel-bg); color: var(--h-sel); font-size: 1.05rem; }
.hotel-ayuda { margin: .1rem 0 0; font-size: .8rem; line-height: 1.4; color: var(--dsg-muted); }
.hotel-personas { margin: .35rem 0 0; font-size: .8rem; font-weight: 600; color: var(--h-sel); }
.hotel-grupo { border: 0; margin: .8rem 0 0; padding: 0; min-width: 0; }
.hotel-grupo legend, .hotel-leyenda { float: none; width: auto; margin: 0 0 .35rem; padding: 0; font-size: .82rem; font-weight: 600; color: var(--dsg-text); }
.hotel-opciones { display: flex; flex-wrap: wrap; gap: .5rem; }
.hotel-opcion { position: relative; margin: 0; cursor: pointer; flex: 1 1 10.5rem; }
.hotel-opcion input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.hotel-opcion span { display: flex; align-items: center; gap: .5rem; min-height: 44px; padding: .5rem .8rem; border: 1px solid var(--dsg-border); border-radius: 8px; background: var(--dsg-surface); color: var(--dsg-text); font-size: .85rem; transition: border-color .15s, background .15s, color .15s; }
.hotel-opcion span i { color: var(--dsg-muted); font-size: 1rem; transition: color .15s; }
.hotel-opcion:hover span { border-color: color-mix(in srgb, var(--h-sel) 60%, transparent); }
.hotel-opcion input:checked + span { border-color: var(--h-sel); background: var(--h-sel-bg); font-weight: 600; }
.hotel-opcion input:checked + span i { color: var(--h-sel); }
.hotel-opcion input:focus-visible + span { outline: 2px solid var(--dsg-orange); outline-offset: 2px; }
/* Noches: cuatro casillas compactas; si hay más de una elegida pasan al color de aviso (solo se cubre una) */
.hotel-noches .hotel-opcion { flex: 1 1 7.5rem; }
.hotel-noche em { font-style: normal; display: flex; flex-direction: column; line-height: 1.15; }
.hotel-noche small { font-size: .68rem; font-weight: 400; color: var(--dsg-muted); }
.hotel-bloque.varias-noches .hotel-noche input:checked + span { border-color: var(--h-aviso); background: var(--h-aviso-bg); }
.hotel-bloque.varias-noches .hotel-noche input:checked + span i { color: var(--h-aviso); }
.hotel-bloque.varias-noches .hotel-noche:hover span { border-color: color-mix(in srgb, var(--h-aviso) 60%, transparent); }
.hotel-hoteles .hotel-opcion { flex: 1 1 13rem; }
.hotel-nota { display: block; margin-top: .35rem; font-size: .76rem; line-height: 1.4; color: var(--dsg-muted); }
.hotel-nota i { color: var(--h-sel); margin-right: .2rem; }
.hotel-preferente { padding: .45rem .65rem; border-radius: 6px; background: var(--h-sel-bg); color: var(--dsg-text); }
.hotel-aviso-noches, .hotel-aviso { margin-top: .6rem; padding: .55rem .8rem; border-radius: 8px; font-size: .82rem; line-height: 1.4; color: var(--h-aviso); background: var(--h-aviso-bg); border: 1px solid color-mix(in srgb, var(--h-aviso) 45%, transparent); }
.hotel-aviso-noches::before, .hotel-aviso::before { content: "\F33A"; font-family: "bootstrap-icons"; margin-right: .45rem; }
/* edad del acompañante (solo menores): campo corto junto al nombre */
.acomp-edad input { text-align: center; }

/* Más personas durmiendo que plazas en la habitación más grande: la habitación se tratará con gerencia (dsg-hotel.js abre el aviso y desactiva la elección) */
.hotel-grupo-habitacion.aplazada .hotel-opcion { opacity: .45; cursor: not-allowed; }
.hotel-grupo-habitacion.aplazada .hotel-opcion input { cursor: not-allowed; }
.hotel-gerencia-nota { padding: .5rem .75rem; border-radius: 8px; line-height: 1.4; color: var(--h-aviso); background: var(--h-aviso-bg); border: 1px solid color-mix(in srgb, var(--h-aviso) 35%, transparent); }
dialog.hotel-gerencia { width: min(460px, calc(100vw - 2rem)); padding: 1.3rem 1.45rem 1.15rem; border: 1px solid var(--dsg-border); border-top: 3px solid var(--h-aviso); border-radius: 12px;
                        background: var(--dsg-surface); color: var(--dsg-text); box-shadow: 0 18px 50px rgba(0, 0, 0, .45); }
dialog.hotel-gerencia::backdrop { background: rgba(15, 23, 42, .6); }
dialog.hotel-gerencia h5 { display: flex; align-items: center; gap: .55rem; margin: 0 0 .75rem; font-size: 1.02rem; font-weight: 600; color: var(--dsg-text); }
dialog.hotel-gerencia h5 i { color: var(--h-aviso); font-size: 1.1rem; }
dialog.hotel-gerencia p { margin: 0 0 .65rem; font-size: .88rem; line-height: 1.5; color: var(--dsg-muted); }
dialog.hotel-gerencia p strong { color: var(--dsg-text); }
.hotel-gerencia-ok { display: block; margin: .9rem 0 0 auto; padding: .5rem 1.3rem; border: 0; border-radius: 8px; background: var(--dsg-orange, #E8780A); color: #111827; font-weight: 600; font-size: .88rem; cursor: pointer; }
.hotel-gerencia-ok:hover { filter: brightness(1.08); }
.hotel-gerencia-ok:focus-visible { outline: 2px solid var(--dsg-orange, #E8780A); outline-offset: 2px; }

/* ── Chat de hotel entre la administración y el comercial, y edición libre de la reserva (11/11/2026) ───────────────────────────────────────────────── */
.hotel-chat-sub { display: block; color: var(--dsg-muted); font-size: .8rem; }
.hotel-chat-estado { margin-left: auto; margin-right: .75rem; font-size: .72rem; font-weight: 600; padding: .15rem .6rem; border-radius: 999px;
  background: rgba(94, 138, 98, .18); color: #7FB38A; border: 1px solid rgba(94, 138, 98, .45); white-space: nowrap; }
.hotel-chat-cuerpo { display: flex; flex-direction: column; gap: .75rem; padding: 1rem 1.25rem; }
.hotel-chat-reserva { background: var(--dsg-surface2); border: 1px solid var(--dsg-border); border-radius: 10px; padding: .6rem .85rem; font-size: .82rem; }
.hotel-chat-reserva-cab { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.hotel-chat-sello { font-size: .68rem; font-weight: 600; padding: .05rem .5rem; border-radius: 4px; background: rgba(142, 154, 175, .18); color: #8E9AAF; }
.hotel-chat-habs { margin: .35rem 0 0; padding-left: 1.1rem; color: var(--dsg-muted); }
.hotel-chat-reserva-pie { margin-top: .3rem; color: var(--dsg-muted); font-size: .76rem; }
.hotel-chat-vacio-reserva { color: var(--dsg-muted); }
.hotel-chat-lista { display: flex; flex-direction: column; gap: .5rem; max-height: 42vh; min-height: 90px; overflow-y: auto; padding-right: .25rem; }
.hotel-chat-msg { align-self: flex-start; max-width: 85%; padding: .45rem .7rem; border-radius: 12px; background: var(--dsg-surface2); border: 1px solid var(--dsg-border);
  font-size: .86rem; overflow-wrap: anywhere; white-space: pre-wrap; }
.hotel-chat-msg.propio { align-self: flex-end; background: rgba(232, 120, 10, .12); border-color: rgba(232, 120, 10, .35); }
.hotel-chat-msg.sistema { align-self: center; max-width: 95%; background: transparent; border-style: dashed; color: var(--dsg-muted); font-size: .78rem; text-align: center; }
.hotel-chat-meta { display: block; font-size: .68rem; color: var(--dsg-muted); margin-bottom: .1rem; }
.hotel-chat-vacio { color: var(--dsg-muted); font-size: .82rem; text-align: center; padding: 1rem 0; margin: 0; }
.hotel-chat-error { color: #E26D5C; font-size: .8rem; margin: 0; }
.hotel-chat-pie { display: block; padding: .75rem 1.25rem 1rem; }
.hotel-chat-form textarea { width: 100%; resize: none; background: var(--dsg-surface2); color: var(--dsg-text); border: 1px solid var(--dsg-border); border-radius: 8px; padding: .5rem .7rem; font-size: .88rem; }
.hotel-chat-form textarea:disabled { opacity: .55; }
.hotel-chat-acciones { display: flex; align-items: center; gap: .5rem; margin-top: .5rem; flex-wrap: wrap; }
.hotel-chat-contador { margin-right: auto; font-size: .74rem; color: var(--dsg-muted); }
.hotel-chat-contador.limite { color: #E26D5C; }
.hotel-chat-nota { margin: .5rem 0 0; font-size: .78rem; color: var(--dsg-muted); }
.hot-chat-btn { position: relative; }
.hot-chat-badge { position: absolute; top: -6px; right: -6px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: #E8780A; color: #111827;
  font-size: .65rem; font-weight: 700; line-height: 17px; text-align: center; }
.hot-chat-badge-inline { display: inline-block; min-width: 17px; padding: 0 5px; margin-left: .25rem; border-radius: 9px; background: #E8780A; color: #111827; font-size: .68rem; font-weight: 700; text-align: center; }
.hot-chat-punto { position: absolute; top: -3px; right: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--dsg-muted); }

/* Editor de habitaciones (edición libre) */
.hotel-libre-aviso { display: flex; gap: .5rem; font-size: .8rem; padding: .55rem .8rem; margin-bottom: .9rem; border-radius: 8px; background: rgba(201, 171, 107, .12);
  border: 1px solid rgba(201, 171, 107, .4); color: var(--dsg-text); }
.hotel-libre-hab { border: 1px solid var(--dsg-border); border-radius: 10px; padding: .7rem .85rem; margin-bottom: .7rem; background: var(--dsg-surface2); }
.hotel-libre-cab { display: flex; align-items: center; gap: .6rem; margin-bottom: .55rem; }
.hotel-libre-error { color: #E26D5C; font-size: .82rem; margin: .5rem 0 0; }
.hot-habs { display: flex; flex-direction: column; gap: .3rem; align-items: flex-start; }
.hot-noches-hab { display: flex; align-items: center; gap: .4rem; margin-bottom: .3rem; }
.hot-noches-hab > small { min-width: 3.4rem; color: var(--dsg-muted); font-size: .7rem; }
@media (max-width: 575.98px) { .hotel-chat-msg { max-width: 94%; } }

/* Ventana del chat de hotel: estilo propio, para que se vea igual en el panel del comercial y en el de administración */
.modal-content.hotel-modal { background: var(--dsg-surface) !important; color: var(--dsg-text); border: 1px solid var(--dsg-border); border-radius: 12px; overflow: hidden; }
.modal-content.hotel-modal .modal-header { background: var(--dsg-surface2); border-bottom: 1px solid var(--dsg-border); padding: 1rem 1.25rem; align-items: flex-start; }
.modal-content.hotel-modal .modal-footer { background: var(--dsg-surface); border-top: 1px solid var(--dsg-border); }
.modal-content.hotel-modal .modal-title { color: var(--dsg-text); font-size: 1rem; font-weight: 600; }
.modal-content.hotel-modal .btn-close { filter: invert(1) grayscale(1); opacity: .7; }
.modal-content.hotel-modal .btn-close:hover { opacity: 1; }
.modal-content.hotel-modal .modal-body { background: var(--dsg-surface); }
.hotel-chat-form textarea:focus { outline: 2px solid var(--dsg-orange); outline-offset: 0; border-color: var(--dsg-orange); }

/* Modales con scroll interno cuyo contenido va dentro de un <form> (edición libre de la reserva): sin esto el formulario rompe el diseño en columna de Bootstrap
   y el cuerpo crece sin límite en vez de desplazarse. */
.modal-dialog-scrollable .modal-content > form { display: flex; flex-direction: column; min-height: 0; max-height: calc(100vh - 2rem); }
.modal-dialog-scrollable .modal-content > form > .modal-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
.modal-dialog-scrollable .modal-content > form > .modal-header,
.modal-dialog-scrollable .modal-content > form > .modal-footer { flex-shrink: 0; }
@media (min-width: 576px) { .modal-dialog-scrollable .modal-content > form { max-height: calc(100vh - 3.5rem); } }

/* Móvil (misma convención que dsg-responsive.css: ajustes por debajo de 576 px). Objetivos táctiles de 44 px, sin desbordes y sin el zoom de iOS al escribir. */
@media (max-width: 575.98px) {
  .hot-noches-hab { flex-wrap: wrap; row-gap: .25rem; }
  .hot-noches-hab .hot-noches { flex-wrap: wrap; justify-content: flex-end; }
  .hot-habs { align-items: flex-end; }
  td[data-acciones] > div { flex-wrap: wrap; row-gap: .5rem; }
  .hot-chat-badge { top: -4px; right: -4px; }
  /* chat */
  .hotel-chat-cuerpo { padding: .85rem 1rem; }
  .hotel-chat-lista { max-height: 38vh; }
  .hotel-chat-pie { padding: .65rem 1rem .85rem; }
  .hotel-chat-form textarea { font-size: 1rem; }
  .hotel-chat-acciones .btn { min-height: 44px; }
  .hotel-chat-acciones { justify-content: flex-end; }
  .hotel-chat-contador { flex: 1 0 100%; }
  .modal-content.hotel-modal .btn-close { padding: .85rem; }
  /* edición libre: una columna de noches, selector y botones cómodos con el dedo */
  .hotel-libre-aviso { font-size: .78rem; }
  .hotel-libre-hab { padding: .6rem .65rem; }
  .hotel-libre-cab select { max-width: none; min-height: 44px; font-size: 1rem; }
  .hotel-libre-icono { width: 44px; height: 44px; flex: 0 0 44px; }
  .hotel-libre-noches { grid-template-columns: 1fr; }
  .hotel-libre-op { min-height: 44px; font-size: .82rem; }
  .hotel-libre-atajo { min-height: 36px; }
  #hotelLibreHotel { min-height: 44px; font-size: 1rem; }
  #modalHotelLibre .modal-body, #modalHotelHistorial .modal-body { padding: 1rem !important; }
  #hotelLibreAnadir { width: 100%; min-height: 44px; }
  /* avisos de validación legibles y botones de los modales con altura táctil */
  .dsg-fv-msg { font-size: .82rem; }
  .modal-content .modal-footer .btn { min-height: 44px; }
}

/* Editor de habitaciones (edición libre): una fila por noche con su fecha y un selector de tres opciones. DSG se pinta de naranja y el cliente de azul;
   sin borde naranja al hacer clic (solo un contorno neutro al navegar con teclado). */
.hotel-libre-cab { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-bottom: .6rem; }
.hotel-libre-cab select { flex: 1 1 180px; max-width: 260px; }
.hotel-libre-icono { width: 36px; height: 36px; flex: 0 0 36px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--dsg-border);
  background: transparent; color: var(--dsg-muted); border-radius: 8px; cursor: pointer; padding: 0; }
.hotel-libre-icono:hover { color: var(--dsg-text); border-color: var(--dsg-muted); }
.hotel-libre-quitar { color: #E26D5C; margin-left: auto; }
.hotel-libre-quitar:hover { color: #E26D5C; border-color: #E26D5C; }
.hotel-libre-icono:focus { outline: none; }
.hotel-libre-icono:focus-visible { box-shadow: 0 0 0 2px var(--dsg-text); }
.hotel-libre-atajos { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; margin-bottom: .65rem; }
.hotel-libre-atajo { font-size: .72rem; padding: .2rem .65rem; border: 1px solid var(--dsg-border); border-radius: 999px; background: transparent; color: var(--dsg-muted); cursor: pointer; }
.hotel-libre-atajo:hover { color: var(--dsg-text); border-color: var(--dsg-muted); }
.hotel-libre-atajo:focus { outline: none; }
.hotel-libre-atajo:focus-visible { box-shadow: 0 0 0 2px var(--dsg-text); }
.hotel-libre-resumen { margin-left: auto; font-size: .76rem; color: var(--dsg-muted); }
.hotel-libre-hab.sin-noches .hotel-libre-resumen { color: #C9AB6B; }
.hotel-libre-noches { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: .5rem; }
.hotel-libre-noche { display: flex; align-items: center; gap: .7rem; padding: .45rem .55rem; border: 1px solid var(--dsg-border); border-radius: 10px; background: var(--dsg-surface); transition: border-color .12s; }
.hotel-libre-noche[data-estado="dsg"] { border-color: color-mix(in srgb, var(--dsg-orange) 60%, transparent); }
.hotel-libre-noche[data-estado="cliente"] { border-color: color-mix(in srgb, #8FA9CC 60%, transparent); }
.hotel-libre-fecha { flex: 0 0 56px; text-align: center; border-radius: 8px; padding: .25rem 0; background: var(--dsg-surface2); color: var(--dsg-text); line-height: 1.1; transition: background .12s, color .12s; }
.hotel-libre-fecha b { display: block; font-size: 1.2rem; }
.hotel-libre-fecha small { display: block; font-size: .62rem; color: var(--dsg-muted); text-transform: capitalize; }
.hotel-libre-noche[data-estado="dsg"] .hotel-libre-fecha { background: var(--dsg-orange); color: #111827; }
.hotel-libre-noche[data-estado="dsg"] .hotel-libre-fecha small { color: rgba(255, 255, 255, .85); }
.hotel-libre-noche[data-estado="cliente"] .hotel-libre-fecha { background: #8FA9CC; color: #0f172a; }
.hotel-libre-noche[data-estado="cliente"] .hotel-libre-fecha small { color: rgba(15, 23, 42, .75); }
.hotel-libre-seg { flex: 1; display: flex; border: 1px solid var(--dsg-border); border-radius: 9px; overflow: hidden; }
.hotel-libre-op { position: relative; flex: 1; margin: 0; padding: .4rem .2rem; min-height: 38px; display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: .78rem; cursor: pointer; user-select: none; color: var(--dsg-muted); border-left: 1px solid var(--dsg-border); transition: background .12s, color .12s; }
.hotel-libre-op:first-child { border-left: 0; }
.hotel-libre-op input { position: absolute; opacity: 0; pointer-events: none; }
.hotel-libre-op:hover { background: var(--dsg-surface2); color: var(--dsg-text); }
.hotel-libre-op:has(input:focus-visible) { box-shadow: inset 0 0 0 2px var(--dsg-text); }
.hotel-libre-op.marcada.no { background: var(--dsg-surface2); color: var(--dsg-text); }
.hotel-libre-op.marcada.dsg { background: var(--dsg-orange); color: #111827; font-weight: 600; }
.hotel-libre-op.marcada.cliente { background: #8FA9CC; color: #0f172a; font-weight: 600; }

/* Historial de la reserva: línea de tiempo con el antes y el después de cada cambio */
.hist-leyenda { display: flex; flex-wrap: wrap; gap: .45rem 1rem; font-size: .76rem; color: var(--dsg-muted); margin-bottom: 1.1rem; }
.hist-leyenda span { display: inline-flex; align-items: center; gap: .35rem; }
.hist-leyenda i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.hist-leyenda .d i { background: var(--dsg-orange); }
.hist-leyenda .c i { background: #8FA9CC; }
.hist-leyenda .n i { border: 1px dashed var(--dsg-muted); }
.hist-leyenda .nu i { background: #5E8A62; }
.hist-leyenda .qu i { background: #E26D5C; }
.hist-linea { position: relative; padding-left: 2.3rem; }
.hist-linea::before { content: ""; position: absolute; left: .85rem; top: .5rem; bottom: .5rem; width: 2px; background: var(--dsg-border); }
.hist-item { position: relative; margin-bottom: 1rem; }
.hist-punto { position: absolute; left: -2.3rem; top: .6rem; width: 1.75rem; height: 1.75rem; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--dsg-surface); border: 2px solid var(--dsg-border); color: var(--dsg-muted); font-size: .8rem; }
.hist-edicion .hist-punto { border-color: var(--dsg-orange); color: var(--dsg-orange); }
.hist-primera .hist-punto { border-color: #8FA9CC; color: #8FA9CC; }
.hist-quitada .hist-punto { border-color: #E26D5C; color: #E26D5C; }
.hist-tarjeta { background: var(--dsg-surface2); border: 1px solid var(--dsg-border); border-radius: 12px; padding: .85rem 1rem; }
.hist-cab { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; margin-bottom: .6rem; }
.hist-avatar { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 50%; background: var(--dsg-orange); color: #111827; font-weight: 700; font-size: .8rem; display: flex; align-items: center; justify-content: center; }
.hist-quien strong { display: block; font-size: .92rem; line-height: 1.2; }
.hist-quien small { color: var(--dsg-muted); font-size: .74rem; }
.hist-sello { margin-left: auto; font-size: .68rem; font-weight: 600; padding: .12rem .6rem; border-radius: 999px; border: 1px solid var(--dsg-border); color: var(--dsg-muted); white-space: nowrap; }
.hist-sello.primera { color: #8FA9CC; border-color: rgba(143, 169, 204, .55); }
.hist-sello.quitada { color: #E26D5C; border-color: rgba(226, 109, 92, .55); }
.hist-etiquetas { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .75rem; }
.hist-etq { font-size: .72rem; padding: .14rem .6rem; border-radius: 6px; background: color-mix(in srgb, var(--dsg-orange) 14%, transparent); color: var(--dsg-text); }
.hist-comparar { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: .7rem; align-items: start; }
.hist-flecha { align-self: center; color: var(--dsg-muted); font-size: 1.2rem; }
.hist-col h6 { font-size: .66rem; letter-spacing: .09em; text-transform: uppercase; color: var(--dsg-muted); margin: 0 0 .45rem; }
.hist-hab { background: var(--dsg-surface); border: 1px solid var(--dsg-border); border-radius: 9px; padding: .5rem .6rem; margin-bottom: .45rem; }
.hist-hab.nueva { border-color: rgba(94, 138, 98, .7); box-shadow: inset 3px 0 0 #5E8A62; }
.hist-hab.quitada { border-color: rgba(226, 109, 92, .55); box-shadow: inset 3px 0 0 #E26D5C; }
.hist-sin { color: var(--dsg-muted); font-size: .8rem; font-style: italic; }
.hist-hab-cab { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; font-size: .8rem; font-weight: 600; margin-bottom: .4rem; flex-wrap: wrap; }
.hist-hab-cab small { color: var(--dsg-muted); font-weight: 400; font-size: .7rem; }
.hist-noches { display: flex; gap: .3rem; }
.hist-noche { flex: 1; text-align: center; border-radius: 7px; padding: .22rem 0; font-size: .82rem; font-weight: 700; border: 1px dashed var(--dsg-border); color: var(--dsg-muted); opacity: .75; line-height: 1.1; }
.hist-noche small { display: block; font-size: .58rem; font-weight: 400; text-transform: capitalize; }
.hist-noche.dsg { background: var(--dsg-orange); color: #111827; border: 1px solid var(--dsg-orange); opacity: 1; }
.hist-noche.cliente { background: #8FA9CC; color: #0f172a; border: 1px solid #8FA9CC; opacity: 1; }
.hist-pie { font-size: .74rem; color: var(--dsg-muted); margin-top: .35rem; }
.hist-vacio { text-align: center; color: var(--dsg-muted); padding: 2rem 1rem; }
.hist-vacio i { font-size: 2.2rem; display: block; margin-bottom: .5rem; opacity: .6; }
@media (max-width: 767.98px) {
  .hist-comparar { grid-template-columns: minmax(0, 1fr); }
  .hist-flecha { justify-self: center; transform: rotate(90deg); }
  .hist-linea { padding-left: 1.9rem; }
  .hist-linea::before { left: .6rem; }
  .hist-punto { left: -1.9rem; width: 1.5rem; height: 1.5rem; font-size: .7rem; }
  .hist-sello { margin-left: 0; }
}
