/* Vista «Hoy». Todo con prefijo hoy- y con las variables de style.css (el modo oscuro sale solo). */
.hoy-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Barra de controles: Día/Semana, ◀ fecha ▶ Hoy, propietario */
.hoy-barra { display: flex; flex-wrap: wrap; align-items: end; gap: 10px 14px; margin: 12px 0 4px; padding: 10px 12px; border: 1px solid var(--linea); border-radius: 10px; background: var(--panel); }
.hoy-modo { display: inline-flex; border: 1px solid var(--linea); border-radius: 8px; overflow: hidden; }
.hoy-modo button { border: 0; border-radius: 0; min-width: 76px; }
.hoy-modo button + button { border-left: 1px solid var(--linea); }
.hoy-modo button[aria-pressed="true"] { background: var(--acento); color: var(--acento-t); font-weight: 600; }
.hoy-nav { display: inline-flex; align-items: center; gap: 6px; flex-wrap: nowrap; }
.hoy-nav > button { min-width: 42px; padding: 8px 10px; }
.hoy-fecha { display: block; }
.hoy-fecha input { min-width: 0; width: 150px; }
.hoy-prop { min-width: 170px; }
.hoy-titulo { margin: 14px 0 0; font-size: 1.2rem; scroll-margin-top: 90px; }
.hoy-titulo:focus { outline: none; }
.hoy-titulo:focus-visible { outline: 2px solid var(--acento); outline-offset: 2px; }
.hoy-filtros { margin-top: 2px; }

/* Gráfico */
.hoy-grafico-tarjeta { margin-top: 14px; }
.hoy-g-ayuda { margin: 0 0 4px; }
.hoy-grafico { height: 280px; }

/* Tabla de facturación por propietario: cabecera de dos filas (no fija, la tabla se ve entera) */
.tabla-wrap.hoy-fact { max-height: none; position: relative; }
.hoy-fact thead th { position: static; }
.hoy-fact thead th:first-child { position: sticky; left: 0; vertical-align: bottom; }
.hoy-fact th.hoy-grupo { text-align: center; color: var(--texto); border-bottom: 1px solid var(--linea); }
.hoy-fact .hoy-sep { border-left: 2px solid var(--linea); }
.hoy-fact td.izq { white-space: normal; min-width: 120px; }

.hoy-movs h2 { margin-top: 1.4rem; }
/* Entradas y salidas llevan ahora nombre del huésped y tarifa: cada tabla a todo el ancho, una debajo de la otra */
.hoy-movs.rejilla { grid-template-columns: 1fr; }

@media (max-width: 520px) {
  .hoy-barra { padding: 8px; gap: 8px; }
  .hoy-nav { width: 100%; }
  .hoy-fecha { flex: 1 1 auto; }
  .hoy-fecha input { width: 100%; }
  .hoy-modo { width: 100%; }
  .hoy-modo button { flex: 1 1 50%; }
  .hoy-prop { width: 100%; min-width: 0; }
  .hoy-titulo { font-size: 1.05rem; }
  .hoy-grafico { height: 240px; }
}

/* «¿Para qué mes son las reservas creadas?»: título y selector de lo que cuenta cada barra en la misma línea */
.hoy-mes-cab { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
.hoy-mes-cab h3 { margin: 0; }
.hoy-mes-cab .hoy-modo button { min-width: 0; padding: 6px 12px; min-height: 34px; font-size: .82rem; }
