.staff-schedule-card,.staff-schedule-dialog,.staff-schedule-cell{--ss-accent:var(--span,#42a4ff);--ss-text:var(--text-default,#c6e3ee);--ss-muted:#8aa9bd;color:var(--ss-text);font-family:inherit;text-align:left}
.staff-schedule-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}
.staff-schedule-eyebrow{display:block;font-size:10px;font-weight:700;letter-spacing:1.5px;color:var(--ss-muted);margin-bottom:7px}
.staff-schedule-heading h3{font-size:16px;font-weight:700;margin:0;line-height:1.4}
.staff-schedule-zone{padding:5px 7px;border:1px solid #42617a;border-radius:6px;color:var(--ss-muted);font-size:10px;letter-spacing:.5px}
.staff-schedule-content{display:grid;gap:10px;min-width:0}
.staff-schedule-occupation{display:flex;flex-direction:column;gap:4px;font-size:13px;font-weight:600;line-height:1.5}
.staff-schedule-occupation>span{font-size:11px;font-weight:400;color:var(--ss-muted)}
.staff-schedule-summary{color:var(--ss-accent);font-size:12px;font-weight:600;line-height:1.5}
.staff-schedule-slots{display:grid;gap:7px;padding-left:10px;border-left:2px solid var(--ss-accent)}
.staff-schedule-slots>div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:3px 10px;font-size:12px;line-height:1.6}
.staff-schedule-slots span{color:var(--ss-muted)}
.staff-schedule-slots b{font-weight:500;font-variant-numeric:tabular-nums;white-space:nowrap}
.staff-schedule-note{margin:0!important;color:var(--ss-text);font-size:12px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;font-weight:400}
.staff-schedule-updated{color:var(--ss-muted);font-size:10px}
.staff-schedule-empty{margin:0;color:#8aa9bd;font-size:12px;line-height:1.6}
.staff-schedule-card .staff-schedule-edit{width:100%;min-height:38px;margin-top:16px;background:rgba(66,164,255,.10);border:1px solid rgba(66,164,255,.25);border-radius:9px;color:var(--ss-accent);font-size:12px;font-weight:600;cursor:pointer;padding:9px}
@media (hover: hover) and (pointer: fine){
.staff-schedule-card .staff-schedule-edit:hover{background:rgba(66,164,255,.2)}}
.staff-schedule-card .staff-schedule-inactive-action{width:100%;min-height:38px;margin-top:8px;padding:9px;border:1px solid rgba(234,184,104,.3);border-radius:9px;background:rgba(234,184,104,.07);color:#eab868;font-size:12px;font-weight:600;cursor:pointer;white-space:normal}
.staff-schedule-card .staff-schedule-inactive-action.is-active{color:#97d9b4;border-color:rgba(151,217,180,.3);background:rgba(151,217,180,.08)}
.staff-schedule-card .staff-schedule-inactive-action:disabled{opacity:.6;cursor:wait}
.staff-schedule-card .staff-schedule-inactive-action:focus-visible{outline:2px solid #64baff;outline-offset:3px}
.staff-schedule-card #staffScheduleActionFeedback:empty{display:none}
.staff-schedule-column{min-width:182px;width:182px}
.staff-schedule-column>span{display:block;color:#8aa9bd;font-size:10px;font-weight:400;margin-top:4px}
.staff-schedule-cell{min-width:182px;width:182px;white-space:normal!important;padding-top:8px!important;padding-bottom:8px!important}
.staff-schedule-cell .staff-schedule-compact{display:grid;grid-template-columns:minmax(0,1fr);justify-content:stretch;align-items:stretch;gap:7px;box-sizing:border-box;width:166px;height:auto;min-height:0;padding:9px 10px;margin:0;border:1px solid transparent;border-radius:10px;background:rgba(66,164,255,.045);color:var(--ss-text);font-family:inherit;text-align:left;cursor:pointer;line-height:1.25}
@media (prefers-reduced-motion: no-preference){
.staff-schedule-cell .staff-schedule-compact{transition:background .15s, border-color .15s}}
@media (hover: hover) and (pointer: fine){
.staff-schedule-cell .staff-schedule-compact:hover{border-color:rgba(66,164,255,.35);background:rgba(66,164,255,.11)}}
.staff-schedule-compact:focus-visible{outline:2px solid #64baff;outline-offset:2px}
.staff-schedule-compact-top{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
.staff-schedule-compact-status{font-size:11px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.staff-schedule-compact-arrow{font-size:14px;color:var(--ss-accent);font-weight:400}
.staff-schedule-miniweek{display:grid;grid-template-columns:repeat(7,1fr);gap:3px}
.staff-schedule-miniweek>span{display:flex;align-items:center;justify-content:center;min-width:0;height:20px;border-radius:4px;background:#172b3c;color:#6f8799;font-size:9px;font-weight:500}
.staff-schedule-miniweek>span.is-available{background:rgba(66,164,255,.2);color:#9ad1ff;box-shadow:inset 0 -2px 0 #42a4ff}
.staff-schedule-compact-summary{font-size:10px;font-weight:400;color:#8aa9bd}
.staff-schedule-absence{display:flex;flex-direction:column;gap:5px;padding:12px 14px;border:1px solid rgba(241,189,98,.25);border-radius:9px;background:rgba(241,189,98,.07);color:#eac58a;line-height:1.5;font-size:12px}
.staff-schedule-absence.is-active{border-color:rgba(244,131,139,.3);background:rgba(244,131,139,.08);color:#ffb6bc}
.staff-schedule-absence>strong{font-size:12px;font-weight:600}
.staff-schedule-absence-reason{font-size:12px;color:#bdd1df;white-space:pre-wrap;overflow-wrap:anywhere}
.staff-schedule-absence.is-compact{padding:6px 7px;gap:3px;font-size:9px;white-space:normal}
.staff-schedule-absence.is-compact>strong{font-size:10px}
.staff-schedule-absence.is-compact .staff-schedule-absence-reason{font-size:10px;line-height:1.4}
.staff-schedule-absence-editor{padding:14px;background:#1b3041;border:1px solid #385066;border-radius:11px}
.staff-schedule-absence-toggle{display:flex;align-items:center;justify-content:flex-start;gap:9px;font-size:12px;color:#d4e5ee;cursor:pointer;margin:0;text-align:left}
.staff-schedule-absence-toggle input[type=checkbox]{position:static!important;appearance:auto!important;opacity:1!important;width:16px;height:16px;min-width:16px;margin:0;accent-color:#42a4ff}
.staff-schedule-dialog .staff-schedule-absence-toggle input[type=checkbox]::after{display:none;content:none}
#staffScheduleAbsenceFields{display:flex;flex-direction:column;gap:14px;margin-top:15px}
.staff-schedule-dialog .staff-schedule-absence-editor input[type=date],.staff-schedule-dialog .staff-schedule-absence-editor input[type=text]{display:block;box-sizing:border-box;width:100%;min-width:0;height:42px;background:#0d1e2d;color:#cee7f5;border:1px solid #355169;border-radius:9px;padding:9px;font:inherit;font-size:12px}
.staff-schedule-tags{display:flex;align-items:center;flex-wrap:wrap;gap:4px}
.staff-schedule-tag{display:inline-flex;align-items:center;padding:4px 7px;border-radius:5px;font-size:10px;font-weight:500;line-height:1.25;white-space:nowrap;background:#263c51;color:#a9c5d8}
.staff-schedule-tag--morning{background:rgba(255,196,95,.12);color:#ffd38e}
.staff-schedule-tag--day{background:rgba(102,207,170,.12);color:#8edebd}
.staff-schedule-tag--evening{background:rgba(255,165,119,.12);color:#ffc29e}
.staff-schedule-tag--night{background:rgba(174,150,247,.13);color:#cabaff}
.staff-schedule-tag--days{background:rgba(66,164,255,.09);color:#93b9d5}
.staff-schedule-compact .staff-schedule-tag{padding:3px 5px;font-size:9px}
.staff-schedule-unset{font-size:11px;color:#71889b}
dialog.staff-schedule-dialog.staff-schedule-detail-dialog{width:min(510px,calc(100vw - 24px));height:min(710px,calc(100vh - 32px));height:min(710px,calc(100dvh - 32px))}
.staff-schedule-detail-dialog .staff-schedule-dialog-head h2{font-size:21px;overflow-wrap:anywhere}
.staff-schedule-detail-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.staff-schedule-detail-stats>div{display:flex;flex-direction:column;gap:7px;min-width:0;padding:13px 14px;border-radius:11px;background:#1b3449}
.staff-schedule-detail-stats span{font-size:10px;color:#8aa9bd}
.staff-schedule-detail-stats strong{font-size:13px;font-weight:600;line-height:1.5;color:#c6e3ee}
.staff-schedule-detail-stats small{font-size:10px;color:#8aa9bd}
.staff-schedule-detail-week{display:grid;gap:0}
.staff-schedule-detail-day{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #233d51;line-height:1.5;color:#738b9e;font-size:12px}
.staff-schedule-detail-day:last-child{border-bottom:0}
.staff-schedule-detail-day b{font-weight:400;font-variant-numeric:tabular-nums;text-align:right}
.staff-schedule-detail-day.is-available{color:#c6e3ee}
.staff-schedule-detail-day.is-available b{color:#8acaff;font-weight:600}
.staff-schedule-detail-note{padding:12px 14px;border-left:2px solid #42a4ff;background:#162e41;border-radius:0 9px 9px 0}
.staff-schedule-detail-note h3{margin:0 0 7px;font-size:10px;font-weight:500;color:#8aa9bd}
.staff-schedule-detail-note p{margin:0;font-size:12px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}
.staff-schedule-profile-link{font-size:12px;color:#80c2ff;margin-right:auto;align-self:center}
.staff-schedule-table-hint{font-size:12px;line-height:1.6;color:#8aa9bd;margin:0 0 18px;padding:10px 13px;border-left:2px solid #42a4ff;background:rgba(66,164,255,.05)}
/* Override the site's generic dialog top:-70%, min-width and drop animation. */
dialog.staff-schedule-dialog{box-sizing:border-box;position:fixed;inset:0;transform:none;animation:none;opacity:1;min-width:0;width:min(620px,calc(100vw - 24px));max-width:none;height:min(840px,calc(100vh - 32px));height:min(840px,calc(100dvh - 32px));max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);padding:0;margin:auto;border:1px solid #35536b;border-radius:20px;background:#132637;color:#c6e3ee;box-shadow:0 24px 100px #0008;overflow:hidden;color-scheme:dark;-webkit-user-select:text;user-select:text}
.staff-schedule-dialog::backdrop{background:rgba(2,11,20,.8);backdrop-filter:blur(5px)}
.staff-schedule-dialog *{box-sizing:border-box}
.staff-schedule-form{display:flex;flex-direction:column;gap:0;padding:0;margin:0;height:100%;min-height:0;text-align:left}
.staff-schedule-dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex:0 0 auto;padding:24px 24px 18px;border-bottom:1px solid #2b4358}
.staff-schedule-dialog-body{display:flex;flex-direction:column;gap:18px;flex:1 1 auto;min-height:0;padding:20px 24px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.staff-schedule-dialog-head h2{font:700 23px/1.25 var(--font-family-1,inherit);margin:0;color:#d4ebf7}
.staff-schedule-dialog button.staff-schedule-close{width:32px;height:32px;min-height:32px;flex-shrink:0;background:#223b50;border:0;border-radius:9px;color:#a9c4d6;font-size:24px;padding:0;cursor:pointer}
.staff-schedule-intro{color:#8aa9bd;font-size:13px;line-height:1.65;margin:0}
.staff-schedule-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.staff-schedule-fields label,.staff-schedule-field{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:8px;font-size:12px;font-weight:500;color:#bdd7e7;text-align:left}
.staff-schedule-dialog select,.staff-schedule-dialog textarea,.staff-schedule-dialog input[type=time]{display:block;width:100%;height:42px;background:#0d1e2d;color:#cee7f5;border:1px solid #355169;border-radius:9px;padding:10px 12px;font:inherit;font-size:13px;box-shadow:none}
.staff-schedule-dialog textarea{height:auto;min-height:85px;resize:vertical;line-height:1.6}
.staff-schedule-dialog :is(input,select,textarea,button):focus-visible,.staff-schedule-edit:focus-visible{outline:2px solid #64baff;outline-offset:3px}
.staff-schedule-week-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;font-size:13px}
.staff-schedule-dialog button.staff-schedule-copy{padding:6px 9px;background:#223b50;color:#80c2ff;border:0;border-radius:7px;font-size:11px;cursor:pointer;min-height:30px}
.staff-schedule-days{display:grid;gap:6px}
.staff-schedule-day{display:grid;grid-template-columns:62px minmax(0,1fr) 12px minmax(0,1fr) 52px;gap:8px;align-items:center;padding:7px 10px;border-radius:10px;background:#0e1f2e;border:1px solid transparent}
.staff-schedule-day.is-active{background:#193248;border-color:#2e526e}
.staff-schedule-day-check{display:flex;align-items:center;gap:8px;font-size:13px;color:#8aa9bd;cursor:pointer;margin:0}
.staff-schedule-day.is-active .staff-schedule-day-check{color:#d4ebf7}
.staff-schedule-day-check input[type=checkbox]{position:static!important;opacity:1!important;appearance:auto!important;width:16px;height:16px;min-width:16px;margin:0;accent-color:#42a4ff;cursor:pointer}
.staff-schedule-dialog .staff-schedule-day-check input[type=checkbox]::after{content:none;display:none}
.staff-schedule-dialog .staff-schedule-day input[type=time]{height:34px;padding:5px 6px;font-size:13px;font-variant-numeric:tabular-nums;min-width:0}
.staff-schedule-day input:disabled{opacity:.3}
.staff-schedule-dash{color:#8aa9bd}
.staff-schedule-next{font-size:10px;color:#80c2ff;white-space:nowrap}
.staff-schedule-footnote{color:#8aa9bd;font-size:11px;line-height:1.6;margin:8px 0 0}
.staff-schedule-field+.staff-schedule-footnote{margin-top:-12px}
.staff-schedule-feedback{color:#ffbd83;font-size:13px;line-height:1.5}
.staff-schedule-feedback:empty{display:none}
.staff-schedule-actions{display:flex;justify-content:flex-end;gap:10px;flex:0 0 auto;padding:16px 24px;border-top:1px solid #2b4358;background:#132637}
.staff-schedule-dialog .staff-schedule-actions button{min-height:42px;padding:11px 18px;border:0;border-radius:10px;font-size:13px;font-weight:600;cursor:pointer}
.staff-schedule-dialog .staff-schedule-cancel{background:#223b50;color:#b5cede}
.staff-schedule-dialog .staff-schedule-save{background:#42a4ff;color:#071b2c}
.staff-schedule-dialog button:disabled{opacity:.55;cursor:wait}
.staff-schedule-dialog [hidden]{display:none!important}
@media(max-width:520px){.staff-schedule-dialog-head{padding:18px 15px 14px}.staff-schedule-dialog-body{padding:16px 12px 16px 15px;gap:16px}.staff-schedule-dialog-head h2{font-size:21px}.staff-schedule-fields{grid-template-columns:1fr}.staff-schedule-day{grid-template-columns:51px minmax(0,1fr) 8px minmax(0,1fr);gap:6px;padding:7px}.staff-schedule-next:not(:empty){grid-column:4;font-size:10px;text-align:right}.staff-schedule-next:empty{display:none}.staff-schedule-actions button{flex:1}.staff-schedule-actions{gap:7px;padding:14px 15px}.staff-schedule-day-check{gap:5px}}
