.month-scroll{overflow-x:auto;max-width:100%}.month-board{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;min-width:660px}.month-weekday{font-size:.8rem;color:var(--muted);padding:12px}.month-day{background:var(--surface,#fff);border:1px solid var(--border);border-radius:10px;min-height:150px;padding:8px;min-width:0}.month-day.other-month{opacity:.48}.month-day.is-today{border-color:var(--brand);box-shadow:inset 0 0 0 1px var(--brand)}.month-date{display:flex;justify-content:space-between;align-items:center;width:100%;font-weight:700;margin-bottom:8px}.month-date span{font-size:.7rem;color:var(--muted)}.month-event{display:block;width:100%;text-align:left;line-height:1.45;font-size:.75rem;color:var(--ink);background:var(--brand-bg);border:0;border-left:3px solid var(--brand);border-radius:5px;padding:6px;margin:6px 0;overflow-wrap:anywhere}.month-event small{display:block;color:var(--muted)}.shift-month-wrap{max-width:100%;isolation:isolate}.shift-month-table{min-width:2200px}.shift-month-table th:first-child{position:sticky;left:0;background:var(--surface,#fff);z-index:1;min-width:180px;max-width:220px;white-space:normal}.shift-month-table th,.shift-month-table td{text-align:center;padding:10px 5px;min-width:60px}.shift-month-table th small,.shift-month-table td small{display:block;font-size:.65rem;color:var(--muted)}.shift-month-table td.shift-working{background:color-mix(in srgb,var(--brand-bg),transparent 30%)}.shift-month-table td.shift-override{box-shadow:inset 0 -3px var(--brand)}.shift-month-table td.shift-off{color:var(--muted)}.shift-month-table .textbtn{line-height:1.5;font-size:.75rem}.shift-month-table th:first-child small{margin-top:8px}.month-scroll+.status-note{margin-top:12px}
@media(max-width:580px){.month-day{min-height:120px}.month-board{gap:4px;min-width:840px}.shift-month-table th:first-child{min-width:130px}.shift-month-table{min-width:2070px}}

button.day.shift-day-button{border:0;color:var(--ink);cursor:pointer;font-family:inherit}
button.day.shift-day-button:is(:hover,:focus-visible),
.shift-month-table td:has(.shift-day-button:is(:hover,:focus-visible)){background:color-mix(in srgb,var(--brand) 20%,var(--surface))}
.shift-month-table td:has(.shift-day-button){position:relative}
.shift-month-table .shift-day-button{cursor:pointer;text-align:center}
.shift-month-table .shift-day-button::after{content:"";position:absolute;inset:0}
.shift-day-button:focus-visible{outline:2px solid var(--brand);outline-offset:-2px}
.shift-month-table .shift-day-button:focus-visible{outline:none}
.shift-month-table td:has(.shift-day-button:focus-visible){outline:2px solid var(--brand);outline-offset:-2px}

.shift-month-table.shift-date-range{min-width:max(100%,calc(180px + var(--shift-columns) * 65px))}
