/* ═══════════════════════════════════════════════════════════════════════
   estilo-49.css · EL CALENDARIO DE RECEPCION NUEVO (app-133, encargo 1177)
   v9.104.0. Diseño aprobado por Eduardo (lienzo «Calendario de recepción»).
   Vale en recepcion (body.ohm-opera) y en Reservas del operador
   (body.ohc-on) con el mismo selector: no hace falta la copia de app-117.
   El prefijo :root le gana a las capas anteriores sin !important.
   Todo color sale de las variables --oh133-*, salvo los de canal, que son
   iguales de dia y de noche. El modo noche solo existe en recepcion: el
   marco del operador es claro siempre.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Las variables ─────────────────────────────────────────────────────── */
:root body:is(.ohm-opera,.ohc-on){
  --oh133-celda:#F1EEE7; --oh133-fs:#E8E5DF;
  --oh133-una:#F3E7DA; --oh133-una-t:#9A6B2E;
  --oh133-cero:#F6E1DF; --oh133-cero-t:#C0392B;
  --oh133-borde:#D9D3C6; --oh133-linea:#ECE7DC;
  --oh133-txt:var(--o-texto,#1E2A2F); --oh133-txt2:var(--o-texto2,#4F5C60);
  --oh133-acento:var(--o-acento-t,#0F6E78);
  --oh133-seg:#E9E4D8; --oh133-seg-on:#FFFFFF; --oh133-ctl:#FFFFFF;
  --oh133-promo:#6A2A6B;
}
:root.oh-noche body.ohm-opera{
  --oh133-celda:#1F2A2F; --oh133-fs:#192327;
  --oh133-una:#3A2F22; --oh133-una-t:#E7C48D;
  --oh133-cero:#3B2224; --oh133-cero-t:#F08A80;
  --oh133-borde:#2E3A40; --oh133-linea:#2E3A40;
  --oh133-txt:#E6ECEE; --oh133-txt2:#B5C2C7; --oh133-acento:#5CC6CF;
  --oh133-seg:#1F2A2F; --oh133-seg-on:#2E3A40; --oh133-ctl:#192327;
}
@media (prefers-color-scheme:dark){
  :root:not(.oh-dia) body.ohm-opera{
    --oh133-celda:#1F2A2F; --oh133-fs:#192327;
    --oh133-una:#3A2F22; --oh133-una-t:#E7C48D;
    --oh133-cero:#3B2224; --oh133-cero-t:#F08A80;
    --oh133-borde:#2E3A40; --oh133-linea:#2E3A40;
    --oh133-txt:#E6ECEE; --oh133-txt2:#B5C2C7; --oh133-acento:#5CC6CF;
    --oh133-seg:#1F2A2F; --oh133-seg-on:#2E3A40; --oh133-ctl:#192327;
  }
}

/* ── 2 · Los botones del encabezado, en pildora ─────────────────────────── */
:root body:is(.ohm-opera,.ohc-on) .ohcab:has(+ .oh133-bar){margin-bottom:0}
:root body:is(.ohm-opera,.ohc-on) .ohcab:has(+ .oh133-bar) .ohcab-ac{gap:10px}
:root body:is(.ohm-opera,.ohc-on) .ohcab:has(+ .oh133-bar) .ohcab-ac .ohb{
  border-radius:999px;min-height:44px;padding:0 20px;font-size:14px;font-weight:600}

/* ── 1 · La barra de navegacion ─────────────────────────────────────────── */
:root body:is(.ohm-opera,.ohc-on) .ohkbar2.oh133-bar{
  display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:18px 0 0;padding:0;
  border:0;background:none;box-shadow:none}
.oh133-vista{display:inline-flex;padding:4px;background:var(--oh133-seg);border-radius:12px}
.oh133-vista button{min-height:38px;padding:0 16px;border:0;border-radius:9px;background:transparent;
  font:inherit;font-size:14px;font-weight:600;color:var(--oh133-txt2);cursor:pointer}
.oh133-vista button.on{background:var(--oh133-seg-on);color:var(--oh133-txt);box-shadow:0 1px 3px rgba(0,0,0,.12)}
.oh133-nav{display:inline-flex;align-items:center;border:1px solid var(--oh133-borde);border-radius:12px;
  background:var(--oh133-ctl);overflow:hidden}
.oh133-nav>button{width:44px;height:44px;display:flex;align-items:center;justify-content:center;border:0;
  background:transparent;font-size:20px;line-height:1;color:var(--oh133-txt);cursor:pointer}
.oh133-nav>button:first-child{border-right:1px solid var(--oh133-linea)}
.oh133-nav>button:last-child{border-left:1px solid var(--oh133-linea)}
.oh133-dia{position:relative;height:44px;padding:0 16px;display:flex;align-items:center;gap:10px;
  font-size:15px;font-weight:600;color:var(--oh133-txt);cursor:pointer;white-space:nowrap}
.oh133-dia input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;
  border:0;padding:0;margin:0;min-height:0}
.oh133-dia input::-webkit-calendar-picker-indicator{position:absolute;inset:0;width:100%;height:100%;cursor:pointer}
.oh133-dia:focus-within{box-shadow:inset 0 0 0 2px var(--oh133-acento)}
.oh133-hoy{height:46px;padding:0 18px;border:1px solid var(--oh133-borde);border-radius:12px;
  background:var(--oh133-ctl);font:inherit;font-size:14px;font-weight:600;color:var(--oh133-acento);cursor:pointer}
.oh133-act{margin-left:6px;min-width:0}
.oh133-act .oh857{margin:0;font-size:12.5px;color:var(--oh133-txt2)}
.oh133-act .oh857 .oh857-rt{display:none}

/* ── 5 · La leyenda: una linea, 12.5 px seminegrita, sin «Sin cupo» ─────── */
:root body:is(.ohm-opera,.ohc-on) .ohq64lg{display:flex;flex-wrap:nowrap;align-items:center;gap:8px 20px;
  margin:16px 0 0;padding:0 0 2px;overflow-x:auto;scrollbar-width:none;font-size:12.5px;font-weight:600}
:root body:is(.ohm-opera,.ohc-on) .ohq64lg::-webkit-scrollbar{display:none}
:root body:is(.ohm-opera,.ohc-on) .ohq64lg .ohq64lg-i,
:root body:is(.ohm-opera,.ohc-on) .ohq64lg .ohq64lg-v{flex:0 0 auto;display:inline-flex;align-items:center;gap:7px;
  font-size:12.5px;font-weight:600;white-space:nowrap;color:var(--oh133-txt);padding:6px 0;min-height:32px}
:root body:is(.ohm-opera,.ohc-on) .ohq64lg [data-ohkfil="cero"]{display:none}
:root body:is(.ohm-opera,.ohc-on) .ohq64lg i{width:16px;height:10px;border-radius:3px;box-shadow:none;background-image:none}
:root body:is(.ohm-opera,.ohc-on) .ohq64lg .pr107-lg i{width:10px;height:10px;border-radius:50%;margin:0;background:var(--oh133-promo)}

/* ── 4 · Los colores de canal: los mismos de dia y de noche ─────────────── */
:root body:is(.ohm-opera,.ohc-on) .ohq64lg i.ohq64-booking,
:root body:is(.ohm-opera,.ohc-on) .ohkg .ohkbar.ohq64-booking{background:#2F5BB7;color:#fff}
:root body:is(.ohm-opera,.ohc-on) .ohq64lg i.ohq64-expedia,
:root body:is(.ohm-opera,.ohc-on) .ohkg .ohkbar.ohq64-expedia{background:#E8B44A;color:#1E2A2F}
:root body:is(.ohm-opera,.ohc-on) .ohq64lg i.ohq64-airbnb,
:root body:is(.ohm-opera,.ohc-on) .ohkg .ohkbar.ohq64-airbnb{background:#C9454E;color:#fff}
:root body:is(.ohm-opera,.ohc-on) .ohq64lg i.ohq64-central,
:root body:is(.ohm-opera,.ohc-on) .ohkg .ohkbar.ohq64-central{background:#7A4FC7;color:#fff}
:root body:is(.ohm-opera,.ohc-on) .ohq64lg i.ohq64-directo,
:root body:is(.ohm-opera,.ohc-on) .ohq64lg i.ohq64-google,
:root body:is(.ohm-opera,.ohc-on) .ohkg .ohkbar.ohq64-directo,
:root body:is(.ohm-opera,.ohc-on) .ohkg .ohkbar.ohq64-google{background:#8BC34A;color:#1E2A2F}
:root body:is(.ohm-opera,.ohc-on) .ohq64lg i.ohq64-recepcion,
:root body:is(.ohm-opera,.ohc-on) .ohkg .ohkbar.ohq64-recepcion{background:#12A5A0;color:#fff}
:root body:is(.ohm-opera,.ohc-on) .ohq64lg i:is(.ohq64-agencia,.ohq64-despegar,.ohq64-pricetravel,.ohq64-agoda,.ohq64-trip_com,.ohq64-hotelbeds),
:root body:is(.ohm-opera,.ohc-on) .ohkg .ohkbar:is(.ohq64-agencia,.ohq64-despegar,.ohq64-pricetravel,.ohq64-agoda,.ohq64-trip_com,.ohq64-hotelbeds){background:#8A5A2E;color:#fff}
:root body:is(.ohm-opera,.ohc-on) .ohq64lg i.ohq64-bloqueo,
:root body:is(.ohm-opera,.ohc-on) .ohkg .ohkbar.blo{background:#B9BEC1;background-image:none;color:#1E2A2F}

/* ── 5 · Sin marco alrededor de la seccion ─────────────────────────────── */
:root body:is(.ohm-opera,.ohc-on) .ohksc{border:0;background:none;border-radius:0;box-shadow:none;
  padding:0 0 64px;margin-top:12px}

/* ── 3 · La rejilla: celdas de radio 6 y 2 px de separacion ────────────── */
:root body:is(.ohm-opera,.ohc-on) .ohkg{gap:2px;grid-template-columns:120px repeat(var(--ohk-n),minmax(0,1fr))}
:root body:is(.ohm-opera,.ohc-on) .ohkg .ohkgt{font-size:12.5px;font-weight:600;color:var(--oh133-txt2);padding:8px 12px 4px}
/* renglon de habitacion: 40 px */
:root body:is(.ohm-opera,.ohc-on) .ohkg .ohkcel{height:40px;min-height:40px;border-radius:6px;
  background:var(--oh133-celda);border:0;box-shadow:none}
:root body:is(.ohm-opera,.ohc-on) .ohkg .ohkcel.fs{background:var(--oh133-fs)}
:root body:is(.ohm-opera,.ohc-on) .ohkg .ohkcel{display:flex;align-items:center;justify-content:center;padding:0 2px;overflow:hidden}
:root body:is(.ohm-opera,.ohc-on) .ohkg .ohkcel .ohkpr{position:static;margin:0;line-height:1.2;white-space:nowrap;flex:0 0 auto}
:root body:is(.ohm-opera,.ohc-on) .ohkg .ohkl{min-height:40px;border-radius:6px;background:var(--oh133-celda);
  color:var(--oh133-txt);box-shadow:none;border:0}
/* «A la venta»: 30 px, ambar con 1 y rojo con 0 */
:root body:is(.ohm-opera,.ohc-on) .ohkg .ohkl.lv{height:30px;min-height:30px;font-size:13px}
:root body:is(.ohm-opera,.ohc-on) .ohkg .ohkl.lv b{font-size:13px;font-weight:600}
:root body:is(.ohm-opera,.ohc-on) .ohkg .ohkc{height:30px;min-height:30px;border-radius:6px;font-size:13px;font-weight:600;
  background:var(--oh133-celda);color:var(--oh133-txt);box-shadow:none;border:0}
:root body:is(.ohm-opera,.ohc-on) .ohkg .ohkc.una{background:var(--oh133-una);color:var(--oh133-una-t);font-weight:700}
:root body:is(.ohm-opera,.ohc-on) .ohkg .ohkc.cero{background:var(--oh133-cero);color:var(--oh133-cero-t);font-weight:700}

/* ── 3 · Las tarjetas de reserva: una linea, sin sombra ─────────────────── */
:root body:is(.ohm-opera,.ohc-on) .ohkg .ohkbar{height:auto;min-height:0;margin-top:5px;margin-bottom:5px;
  padding:0 10px;border-radius:6px;box-shadow:none;border:0;
  display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:8px;
  white-space:nowrap;overflow:hidden;font-size:12.5px;line-height:1.2;text-align:left}
:root body:is(.ohm-opera,.ohc-on) .ohkg .ohkbar .n{font-size:12.5px;font-weight:600;flex:0 0 auto;
  overflow:hidden;text-overflow:clip;max-width:100%;line-height:1.2}
:root body:is(.ohm-opera,.ohc-on) .ohkg .ohkbar .s{font-size:12.5px;font-weight:400;opacity:.85;flex:0 1 auto;
  overflow:hidden;text-overflow:clip;line-height:1.2;margin:0}
:root body:is(.ohm-opera,.ohc-on) .ohkg .ohkbar.oh133-corta .s{display:none}
/* Las agarraderas para estirar una reserva de recepcion no se dibujan: siguen
   ahi (cursor de estirar) y solo se insinuan al pasar el puntero. */
:root body:is(.ohm-opera,.ohc-on) .ohkg .ohkbar .ohke{background:transparent;box-shadow:none;border:0}
:root body:is(.ohm-opera,.ohc-on) .ohkg .ohkbar .ohke::before,
:root body:is(.ohm-opera,.ohc-on) .ohkg .ohkbar .ohke::after{display:none}
:root body:is(.ohm-opera,.ohc-on) .ohkg .ohkbar:hover .ohke{background:rgba(255,255,255,.22)}
/* Debajo de la barra no hay casilla: la barra ocupa su lugar en la rejilla. El
   renglon de 40 px y la media casilla del dia de llegada (app-92) se dibujan con
   la sombra de la propia barra, en el color de la casilla y sin la sombra suave
   ni la linea de «hoy» de antes. :not(#oh133) le gana a la copia de app-117. */
:root body:is(.ohm-opera,.ohc-on) .ohkg .ohkbar:not(#oh133){--oh133-bajo:var(--oh133-celda);
  box-shadow:0 0 0 5px var(--oh133-bajo)}
:root body:is(.ohm-opera,.ohc-on) .ohkg .ohkbar.oh92-fs:not(#oh133){--oh133-bajo:var(--oh133-fs)}
:root body:is(.ohm-opera,.ohc-on) .ohkg .ohkbar.oh91-ini:not(#oh133){
  box-shadow:calc(5px - var(--oh92-m,0px)) 0 0 5px var(--oh133-bajo),0 0 0 5px var(--oh133-bajo)}

/* ── 6 · La promocion: la marca antes del precio ───────────────────────── */
:root body:is(.ohm-opera,.ohc-on) .ohkg .ohkcel.pr107-noche{display:flex;align-items:center;justify-content:center;gap:4px}
:root body:is(.ohm-opera,.ohc-on) .ohkg .pr107-cal{position:static;order:-1;flex:0 0 auto;font-family:inherit;
  font-size:9.5px;font-weight:700;line-height:1.3;padding:1px 4px;border-radius:5px;background:var(--oh133-promo);color:#fff}
:root body:is(.ohm-opera,.ohc-on) .ohkg .ohkcel .ohkpr s{display:none}
:root body:is(.ohm-opera,.ohc-on) .ohkg .ohkcel.pr107-noche.oh133-apila{flex-direction:column;gap:2px}
:root body:is(.ohm-opera,.ohc-on) .ohkg .ohkcel.pr107-noche.oh133-apila .ohkpr{font-size:11px}
:root body:is(.ohm-opera,.ohc-on) .ohkg .ohkcel .ohkpr{color:var(--oh133-txt2)}

/* ── 4 semanas: columnas angostas ──────────────────────────────────────── */
:root body:is(.ohm-opera,.ohc-on) .ohkg.oh133-4 .ohkcel .ohkpr{font-size:10.5px;letter-spacing:-.02em}
:root body:is(.ohm-opera,.ohc-on) .ohkg.oh133-4 .ohkcel.pr107-noche .ohkpr{display:none}
:root body:is(.ohm-opera,.ohc-on) .ohkg.oh133-4 .ohkd{font-size:11px}
:root body:is(.ohm-opera,.ohc-on) .ohkg.oh133-4 .ohkd b{font-size:14px}
/* en 4 semanas la bandeja «Por asignar» va abajo: al lado le quita a los 28 dias el ancho que necesitan */
:root body:is(.ohm-opera,.ohc-on) .ohkwrap.conban:has(.ohkg.oh133-4){grid-template-columns:minmax(0,1fr)}

/* ── 9 · Celular y tableta angosta: se desliza de lado ─────────────────── */
:root body:is(.ohm-opera,.ohc-on) .ohksc.oh133-desliza{overflow-x:auto;overscroll-behavior-x:contain;
  -webkit-overflow-scrolling:touch}
:root body:is(.ohm-opera,.ohc-on) .ohksc.oh133-desliza .ohkg{
  grid-template-columns:var(--oh133-lab,120px) repeat(var(--ohk-n),var(--oh133-dw,46px));width:max-content}
:root body:is(.ohm-opera,.ohc-on) .ohksc.oh133-desliza .ohkg :is(.ohkl,.ohkesq){position:sticky;left:0;z-index:5}
:root body:is(.ohm-opera,.ohc-on) .ohksc.oh133-desliza .ohkg .ohkesq{z-index:7;background:var(--o-fondo)}
:root body:is(.ohm-opera,.ohc-on) .ohksc.oh133-desliza .ohkg .ohkl{box-shadow:2px 0 0 var(--o-fondo)}
:root body:is(.ohm-opera,.ohc-on) .ohksc.oh133-desliza .ohkg .ohkgt{position:sticky;left:0;justify-self:start}
@media (max-width:699px){
  :root body:is(.ohm-opera,.ohc-on) .ohkg{grid-template-columns:64px repeat(var(--ohk-n),minmax(0,1fr))}
  :root body:is(.ohm-opera,.ohc-on) .ohksc.oh133-desliza .ohkg{--oh133-lab:64px}
  :root body:is(.ohm-opera,.ohc-on) .ohkg .ohkl.lv b{font-size:11px;white-space:nowrap;line-height:1.1}
  :root body:is(.ohm-opera,.ohc-on) .ohcab:has(+ .oh133-bar) .ohcab-ac .ohb{padding:0 16px}
  .oh133-act{margin-left:0;flex-basis:100%}
  .oh133-dia{padding:0 12px;font-size:14px}
}
