/* Reuniones (Fase 5): calendario de mes y de semana, formulario y detalle. Paleta paisaje de Kaulo. */
.rh-cal { background: var(--xx-surface); border: 1px solid var(--xx-line); border-radius: var(--xx-r-lg); padding: 14px; }
.rh-cal--form { max-width: 760px; margin: 0 auto; }
.rh-cal__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.rh-cal__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.rh-cal__title { min-width: 150px; text-align: center; }
.rh-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--xx-line); border-left: 1px solid var(--xx-line); }
.rh-cal__dow { padding: 6px; font-size: .75rem; font-weight: 700; color: var(--xx-neutral-fg); text-align: center;
    border-right: 1px solid var(--xx-line); border-bottom: 1px solid var(--xx-line); background: var(--xx-canvas); }
.rh-cal__day { min-height: 96px; padding: 4px; border-right: 1px solid var(--xx-line); border-bottom: 1px solid var(--xx-line); min-width: 0; }
.rh-cal__grid--week .rh-cal__day { min-height: 220px; }
.rh-cal__day--out { background: var(--xx-canvas); color: var(--xx-neutral-fg); }
.rh-cal__day--today { box-shadow: inset 0 0 0 2px var(--rh-sunglow); }
.rh-cal__day-head { display: flex; justify-content: space-between; align-items: center; }
.rh-cal__num { font-size: .8rem; font-weight: 700; }
.rh-cal__add { width: 22px; height: 22px; line-height: 20px; text-align: center; border-radius: 11px; text-decoration: none; color: var(--rh-mountains);
    border: 1px solid transparent; font-weight: 700; }
.rh-cal__add:hover, .rh-cal__add:focus-visible { border-color: var(--rh-mountains); background: #e6efe9; outline: none; }
.rh-cal__item { display: block; margin-top: 3px; padding: 2px 5px; border-radius: 6px; font-size: .75rem; line-height: 1.3; color: var(--xx-ink);
    background: #eef3ef; border-left: 3px solid var(--rh-mountains); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rh-cal__item--mine { background: #fbf6e6; border-left-color: var(--rh-sunglow); }
.rh-cal__item--off { text-decoration: line-through; opacity: .6; }
.rh-cal__item time { font-weight: 700; }
.rh-cal__when { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rh-cal__people { max-height: 260px; overflow: auto; }
.rh-cal__notes { white-space: pre-wrap; overflow-wrap: anywhere; }
.rh-cal__guests { padding-left: 0; list-style: none; }
.rh-cal__guests li { padding: 4px 0; border-bottom: 1px solid var(--xx-line); }
/* En el celular el mes no cabe: se ve como lista de los días que tienen algo (y hoy). */
@media (max-width: 640px) {
    .rh-cal__grid { display: block; border: 0; }
    .rh-cal__dow { display: none; }
    .rh-cal__day { min-height: 0; border: 0; border-bottom: 1px solid var(--xx-line); padding: 8px 2px; }
    .rh-cal__grid--week .rh-cal__day { min-height: 0; }
    .rh-cal__day--empty:not(.rh-cal__day--today) { display: none; }
    .rh-cal__grid--week .rh-cal__day--empty { display: block; }
    .rh-cal__when { grid-template-columns: 1fr; }
}
