/* Monthly absence calendar: shared employee colors come from style.css. */
.calendar-months.single{grid-template-columns:minmax(0,1fr)}
.calendar-days{gap:5px;align-items:stretch}
.absence-day{aspect-ratio:auto;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:4px;min-height:90px;padding:5px;border:1px solid var(--border);background:var(--bg)}
.absence-day time{font-size:12px;font-weight:700;align-self:flex-start;padding:2px}
.absence-marker{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:100%;min-width:0;min-height:44px;padding:5px 2px;border:1px solid var(--person-color);border-left-width:3px;border-radius:5px;background:color-mix(in srgb,var(--person-color) 30%,var(--paper));color:var(--ink);cursor:pointer}
.absence-marker strong{font-size:13px;line-height:1.15}
.absence-marker small{font-size:10px;line-height:1.2}
.absence-marker:hover{background:color-mix(in srgb,var(--person-color) 45%,var(--paper))}
.absence-marker:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
@media(max-width:560px){.calendar-month{padding:6px}.calendar-days{gap:2px}.absence-day{padding:2px;min-height:74px;gap:3px}.absence-marker{padding:4px 0;border-left-width:2px}.absence-marker strong{font-size:11px}.absence-marker small{font-size:8px}}

#weekly-schedule{scroll-margin-top:8rem}.week-bottom-nav{margin-top:1rem;padding-top:1rem;border-top:1px solid var(--border)}.week-bottom-nav p{text-align:center}.week-bottom-nav>div{display:flex;gap:.75rem;flex-wrap:wrap}.week-bottom-nav button{flex:1;min-width:145px;font-size:1rem;padding:.8rem}

/* Compact week: moderately scaled by duration, capped at 104 CSS pixels. */
#weekly-schedule .shift-week{grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;align-items:start}
#weekly-schedule .shift-day{padding:8px;min-width:0}
#weekly-schedule .shift-day h3{font-size:13px;line-height:1.4;margin:0 0 6px;white-space:nowrap}
#weekly-schedule .shift-day h3 time{font-weight:500;color:var(--muted)}
#weekly-schedule .shift-slot{padding:6px;margin:6px 0}
#weekly-schedule .shift-slot-heading{display:flex;align-items:center;justify-content:space-between;gap:2px;min-width:0}
#weekly-schedule .shift-slot-heading strong{font-size:12px;overflow-wrap:anywhere;min-width:0}
#weekly-schedule .shift-add{flex:0 0 44px;min-width:44px;width:44px;height:44px;padding:0;border:0;background:transparent;color:var(--orange-dark);font-size:23px;border-radius:8px}
#weekly-schedule .shift-people{gap:5px;margin-top:4px}
#weekly-schedule .week-shift{width:100%;height:auto;min-height:var(--week-height,50px);margin:0;padding:8px;display:flex;flex-direction:column;gap:3px;align-items:flex-start;text-align:left;line-height:1.25}
#weekly-schedule .week-shift>span{font-size:13px;flex:none;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#weekly-schedule .week-shift>small{font-size:11px;flex:none;white-space:nowrap;grid-column:auto}
#weekly-schedule .shift-open{font-size:12px;padding:6px 0}
.week-shift-actions .action-menu{display:block;width:100%}
.week-shift-actions .action-menu>summary{display:none}
.week-shift-actions .action-menu .menu-options{position:static;display:flex;flex-direction:column;width:100%;min-width:0;max-width:none;box-shadow:none;margin-top:12px}
@media(max-width:1100px) and (orientation:portrait){
 #weekly-schedule .shift-week{grid-template-columns:minmax(0,1fr);gap:10px}
 #weekly-schedule .shift-day{padding:10px}
 #weekly-schedule .shift-slot{margin:4px 0;padding:4px 6px}
 #weekly-schedule .shift-slot-heading{min-height:24px}
 #weekly-schedule .shift-slot-heading:has(.shift-add){min-height:44px}
 #weekly-schedule .week-shift{flex-direction:row;align-items:center;justify-content:space-between;gap:8px;min-height:var(--week-height,50px)}
 #weekly-schedule .week-shift>span{font-size:14px;flex:1;min-width:0}
 #weekly-schedule .week-shift>small{font-size:13px}
}
@media(max-width:1100px) and (orientation:landscape){
 #weekly-schedule{padding:8px}
 #weekly-schedule .shift-week{grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
 #weekly-schedule .shift-day{padding:3px;border-radius:8px}
 #weekly-schedule .shift-day h3{font-size:11px;white-space:normal}
 #weekly-schedule .shift-day h3 time{display:block}
 #weekly-schedule .shift-slot{padding:3px;margin:4px 0;border-radius:6px}
 #weekly-schedule .shift-slot-heading{flex-wrap:wrap}
 #weekly-schedule .shift-slot-heading strong{font-size:11px;flex:1}
 #weekly-schedule .shift-add{margin-left:auto}
 #weekly-schedule .week-shift{padding:7px 3px;border-left-width:3px;min-height:var(--week-height,50px)}
 #weekly-schedule .week-shift>span{font-size:12px}
 #weekly-schedule .week-shift>small{font-size:10px;white-space:normal;overflow-wrap:anywhere}
 #weekly-schedule .shift-open{font-size:11px}
}
.release-info-points{padding-left:22px;line-height:1.55;font-size:14px}.release-info-points li{margin:12px 0}#release-info-dialog .filters{margin-top:20px;margin-bottom:0}#release-info-dialog button{min-height:44px}
