#workShifts{--ws-bg:#fff;--ws-soft:#f6f8fc;--ws-line:#dfe6ef;--ws-ink:#1d2b40;--ws-muted:#7a8aa2;--ws-blue:#3678ef;min-width:0;color:var(--ws-ink);padding:4px 0 20px}#workShifts *{box-sizing:border-box}#workShifts [hidden]{display:none!important}#workShifts .ws-sprite{display:none}#workShifts svg{height:18px;width:18px;fill:none;stroke:currentColor;stroke-width:1.7;flex:none;vertical-align:middle}#workShifts h1,#workShifts h2,#workShifts h3,#workShifts p{margin:0;color:inherit}#workShifts button,#workShifts input,#workShifts select{font:inherit;box-shadow:none}#workShifts button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--ws-line);border-radius:9px;background:var(--ws-bg);color:var(--ws-ink);padding:10px 13px;cursor:pointer;min-height:38px;font-size:11px;white-space:normal}#workShifts button:hover{border-color:#96b8fa;color:var(--ws-blue);background:var(--ws-soft)}#workShifts button:disabled{opacity:.45;cursor:default}#workShifts .ws-primary{background:var(--ws-blue);color:#fff;border-color:var(--ws-blue)}#workShifts .ws-primary:hover{background:#2565dd;color:#fff}#workShifts .ws-danger{background:#df5265;color:#fff;border-color:#df5265}#workShifts .ws-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:0 0 24px;padding:0;background:none;border:0;position:static;height:auto;box-shadow:none}#workShifts .ws-heading h1{font-size:28px;letter-spacing:-.7px;margin:6px 0 8px;font-weight:750}#workShifts .ws-heading p{font-size:12px;color:var(--ws-muted);line-height:1.6}#workShifts .ws-eyebrow{font-size:9px;color:var(--ws-muted);letter-spacing:1.4px}#workShifts .ws-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}#workShifts .ws-stats article{background:var(--ws-bg);border:1px solid var(--ws-line);border-radius:15px;padding:21px 18px;display:flex;align-items:center;gap:14px;min-width:0}#workShifts .ws-stat-icon{height:44px;width:44px;border-radius:13px;display:grid;place-items:center;flex:none}#workShifts .ws-stat-icon svg{height:24px;width:24px}#workShifts .blue{background:#eaf2ff;color:#3678ef}#workShifts .amber{background:#fff4df;color:#d79824}#workShifts .purple{background:#f0eaff;color:#8d65dc}#workShifts .green{background:#e5f7ef;color:#26aa81}#workShifts .red{background:#ffedef;color:#dc5868}#workShifts .ws-stats small{font-size:11px;color:var(--ws-muted);display:block}#workShifts .ws-stats strong{font-size:27px;line-height:1.3;display:block;margin:4px 0}#workShifts .ws-stats p{font-size:9px;color:var(--ws-muted);line-height:1.5}#workShifts .ws-panel{background:var(--ws-bg);border:1px solid var(--ws-line);border-radius:16px;overflow:hidden}#workShifts .ws-panel-heading{display:flex;align-items:center;justify-content:space-between;padding:22px 22px 16px;gap:12px}#workShifts .ws-panel-heading h2{font-size:17px;letter-spacing:-.4px}#workShifts .ws-panel-heading h2 span{font-size:10px;background:#edf3ff;color:#4979be;padding:5px 8px;border-radius:6px;margin-left:8px;font-weight:500}#workShifts .ws-panel-heading>small{font-size:10px;color:var(--ws-muted)}#workShifts .ws-tabs{display:flex;gap:10px;padding:0 20px;border-bottom:1px solid var(--ws-line);flex-wrap:wrap}#workShifts .ws-tabs button{border:0;border-radius:0;background:none;padding:13px 8px;border-bottom:3px solid transparent;color:var(--ws-muted);min-height:44px}#workShifts .ws-tabs button.active{color:var(--ws-blue);border-color:var(--ws-blue);font-weight:650}#workShifts .ws-tabs b{font-size:9px;padding:2px 6px;border-radius:5px;background:var(--ws-soft)}#workShifts .ws-filters{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr .8fr;gap:10px;padding:18px 20px 12px}#workShifts label{font-size:10px;color:var(--ws-muted);display:flex;flex-direction:column;gap:7px;min-width:0}#workShifts input:not([type=checkbox]):not([type=radio]),#workShifts select{border:1px solid var(--ws-line);border-radius:9px;background:var(--ws-bg);color:var(--ws-ink);padding:10px 11px;min-height:40px;min-width:0;width:100%;font-size:11px;outline:none}#workShifts input:focus,#workShifts select:focus{border-color:#82aaff;box-shadow:0 0 0 3px #3678ef12}#workShifts .ws-search>div{display:flex;align-items:center;border:1px solid var(--ws-line);border-radius:9px;padding-left:11px;min-width:0}#workShifts .ws-search input{border:0!important;background:transparent!important;padding-left:9px!important}#workShifts .ws-list-tools{display:flex;align-items:center;justify-content:space-between;padding:0 20px 17px;gap:12px;flex-wrap:wrap}#workShifts .ws-list-tools>div{display:flex;gap:7px;flex-wrap:wrap}#workShifts #wsMessage{font-size:10px;color:var(--ws-muted)}#workShifts .ws-table-wrap{max-width:100%;width:100%}#workShifts table{table-layout:fixed;width:100%;min-width:0!important;border-collapse:collapse}#workShifts th{font-size:9px;color:var(--ws-muted);background:var(--ws-soft);text-align:left;letter-spacing:.3px;text-transform:uppercase;padding:13px 12px;border-block:1px solid var(--ws-line)}#workShifts th:first-child{width:24%}#workShifts th:nth-child(2){width:12%}#workShifts th:nth-child(3){width:14%}#workShifts th:nth-child(4){width:11%}#workShifts th:nth-child(5){width:15%}#workShifts th:nth-child(6){width:12%}#workShifts th:last-child{width:12%}#workShifts td{padding:16px 12px;border-bottom:1px solid var(--ws-line);font-size:11px;overflow-wrap:anywhere;white-space:normal!important;vertical-align:middle}#workShifts .ws-person{display:flex;align-items:center;gap:10px;min-width:0}#workShifts .ws-avatar{background:#edf3ff;color:#4e84d7;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-weight:650;font-size:11px;flex:none}#workShifts .ws-person b{font-size:11px;font-weight:650}#workShifts td small{display:block;font-size:9px;color:var(--ws-muted);margin-top:5px;line-height:1.5}#workShifts .ws-tag{display:inline-flex;align-items:center;gap:5px;font-size:9px;font-weight:650;color:#bc8323;background:#fff4dd;border-radius:6px;padding:6px 7px}#workShifts .ws-tag svg{height:13px;width:13px}#workShifts .ws-tag.MALAM{color:#8f66ce;background:#f0eaff}#workShifts .ws-status{font-size:9px;border-radius:6px;padding:5px 7px;display:inline-block;background:#edf3ff;color:#4c7fc6}#workShifts .ws-status.active{background:#e5f7ef;color:#279e7e}#workShifts .ws-status.ended{color:#7c8898;background:var(--ws-soft)}#workShifts .ws-actions{display:flex;gap:5px;flex-wrap:wrap}#workShifts .ws-actions a,#workShifts .ws-actions button{min-height:29px;height:29px;width:29px;padding:6px;border:1px solid var(--ws-line);border-radius:7px;background:var(--ws-bg);color:var(--ws-muted);display:inline-flex;align-items:center;justify-content:center;text-decoration:none}#workShifts .ws-actions svg{width:14px;height:14px}#workShifts .ws-actions .ws-remove{color:#d06c78}#workShifts .ws-pagination{display:flex;justify-content:space-between;align-items:center;padding:17px 20px;gap:10px;flex-wrap:wrap;font-size:10px;color:var(--ws-muted)}#workShifts .ws-pagination>div{display:flex;align-items:center;gap:8px}#workShifts .ws-pagination select{width:115px;min-height:33px;font-size:10px;padding:7px}#workShifts .ws-pagination button{min-height:32px;padding:5px 10px}#workShifts .ws-foot{display:flex;align-items:flex-start;gap:9px;font-size:10px;color:var(--ws-muted);line-height:1.7;margin:15px 2px}#workShifts .ws-empty{padding:40px!important;text-align:center;color:var(--ws-muted)}
#workShifts .ws-dialog{position:fixed;inset:0;margin:auto;padding:0;width:min(820px,calc(100vw - 32px));max-width:820px;min-width:0;height:fit-content;max-height:calc(100dvh - 40px);border:1px solid var(--ws-line);border-radius:20px;background:var(--ws-bg);color:var(--ws-ink);box-shadow:0 30px 100px #07132255;overflow:hidden}#workShifts .ws-dialog::backdrop{background:#0a142b88;backdrop-filter:blur(5px)}#workShifts .ws-dialog form{display:flex;flex-direction:column;max-height:calc(100dvh - 40px);margin:0}#workShifts .ws-dialog-head{display:flex;align-items:center;gap:13px;padding:23px 26px;border-bottom:1px solid var(--ws-line);background:var(--ws-bg);flex:none}#workShifts .ws-dialog-head>div{flex:1;min-width:0}#workShifts .ws-dialog-head h2{font-size:20px;letter-spacing:-.5px}#workShifts .ws-dialog-head p{font-size:10px;color:var(--ws-muted);margin-top:7px;line-height:1.5}#workShifts .ws-dialog-head>button{font-size:22px;width:32px;height:32px;padding:0;min-height:32px}#workShifts .ws-dialog-body{padding:22px 26px;overflow:auto;overscroll-behavior:contain;min-height:0;scrollbar-width:thin;scrollbar-color:#b9c8df transparent}#workShifts .ws-step{display:flex;gap:10px;align-items:center;margin-bottom:15px}#workShifts .ws-step>b{height:25px;width:25px;display:grid;place-items:center;background:#edf3ff;color:#407ed9;border-radius:50%;font-size:11px;flex:none}#workShifts .ws-step h3{font-size:12px}#workShifts .ws-step p{font-size:10px;color:var(--ws-muted);margin-top:4px}#workShifts .ws-step>span{margin-left:auto;font-size:10px;color:var(--ws-blue);background:#edf3ff;padding:5px 8px;border-radius:6px}#workShifts .ws-editor-fields{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:12px;margin-bottom:24px}#workShifts .ws-shift-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:24px}#workShifts .ws-shift-options>label{border:1px solid var(--ws-line);border-radius:12px;padding:15px;display:flex;flex-direction:row;align-items:center;gap:10px;cursor:pointer}#workShifts .ws-shift-options>label:has(:checked){border-color:#77a3fa;background:#3678ef06;box-shadow:0 0 0 2px #3678ef0b}#workShifts .ws-shift-options>label>svg{width:25px;height:25px;color:#d39a31}#workShifts .ws-shift-options>label:nth-child(2)>svg{color:#8e72d6}#workShifts .ws-shift-options b{font-size:9px;color:var(--ws-ink);display:block}#workShifts .ws-shift-options strong{font-size:17px;display:block;color:var(--ws-ink);margin:6px 0}#workShifts .ws-shift-options small{font-size:9px}#workShifts input:is([type=radio],[type=checkbox]){height:15px;width:15px;min-height:0;accent-color:var(--ws-blue);padding:0;flex:none}#workShifts .ws-pick-tools{display:flex;align-items:center;gap:12px;margin-bottom:12px}#workShifts .ws-pick-tools .ws-search{flex:1}#workShifts .ws-check{display:flex;flex-direction:row;align-items:center;gap:7px;font-size:10px}#workShifts .ws-staff{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-height:215px;overflow:auto;scrollbar-width:thin;padding:2px 3px 5px}#workShifts .ws-staff>label{display:flex;flex-direction:row;align-items:center;gap:9px;padding:11px;border:1px solid var(--ws-line);border-radius:9px;cursor:pointer}#workShifts .ws-staff>label:has(:checked){border-color:#8db2f7;background:#3678ef06}#workShifts .ws-staff b{display:block;font-size:10px;color:var(--ws-ink);overflow-wrap:anywhere}#workShifts .ws-staff small{display:block;font-size:9px;margin-top:4px}#workShifts #wsEditorMessage{font-size:10px;color:#c86a43;margin-top:9px;line-height:1.6}#workShifts .ws-warning{display:flex;gap:10px;padding:12px;border:1px solid #e5eaf3;border-radius:9px;background:var(--ws-soft);margin-top:14px;color:var(--ws-muted);font-size:10px;line-height:1.6}#workShifts .ws-dialog-foot{border-top:1px solid var(--ws-line);padding:17px 26px;display:flex;justify-content:space-between;align-items:center;gap:15px;flex:none;background:var(--ws-bg)}#workShifts .ws-dialog-foot>span{font-size:10px;color:var(--ws-muted)}#workShifts .ws-dialog-foot>div{display:flex;gap:8px}#workShifts .ws-delete-dialog{width:min(470px,calc(100vw - 32px))}#workShifts .ws-delete-dialog .ws-dialog-body{font-size:12px;line-height:1.8}
body:is(.dark,[data-ui-mode=dark],[data-admin-theme=dark-mode]) #workShifts{--ws-bg:#17212c;--ws-soft:#1d2a38;--ws-line:#304052;--ws-ink:#e4ecf6;--ws-muted:#9aaac0;--ws-blue:#669cf8}body:is(.dark,[data-ui-mode=dark],[data-admin-theme=dark-mode]) #workShifts .ws-stat-icon{filter:brightness(.85)}
@media(max-width:1100px){#workShifts .ws-stats{gap:10px}#workShifts .ws-stats article{padding:15px 12px;gap:10px}#workShifts .ws-stat-icon{width:34px;height:34px}#workShifts .ws-filters{grid-template-columns:repeat(3,minmax(0,1fr))}#workShifts th,#workShifts td{padding:11px 7px}#workShifts .ws-person{gap:7px}#workShifts .ws-avatar{display:none}}
@media(max-width:750px){#workShifts .ws-stats{grid-template-columns:repeat(2,minmax(0,1fr))}#workShifts .ws-heading{align-items:flex-start}#workShifts .ws-heading h1{font-size:24px}#workShifts .ws-filters{grid-template-columns:repeat(2,minmax(0,1fr))}#workShifts .ws-staff{grid-template-columns:repeat(2,minmax(0,1fr))}#workShifts .ws-shift-options strong{font-size:14px}#workShifts .ws-tabs{gap:3px}#workShifts .ws-tabs button{font-size:10px}}
@media(max-width:520px){#workShifts .ws-heading{flex-wrap:wrap;gap:12px}#workShifts .ws-panel-heading{padding:16px}#workShifts .ws-panel-heading>small{display:none}#workShifts .ws-filters{padding:15px}#workShifts table,#workShifts tbody,#workShifts tr,#workShifts td{display:block;width:100%}#workShifts thead{display:none}#workShifts tr{display:grid;grid-template-columns:1fr 1fr;padding:13px 16px;border-bottom:1px solid var(--ws-line)}#workShifts td{padding:7px 4px;border:0}#workShifts td:first-child,#workShifts td:last-child{grid-column:1/-1}#workShifts td:not(:first-child)::before{content:attr(data-label);display:block;font-size:8px;letter-spacing:.5px;color:var(--ws-muted);margin-bottom:5px}#workShifts .ws-avatar{display:grid}#workShifts .ws-dialog-head,#workShifts .ws-dialog-body,#workShifts .ws-dialog-foot{padding:16px}#workShifts .ws-dialog-head h2{font-size:17px}#workShifts .ws-editor-fields{grid-template-columns:1fr 1fr}#workShifts .ws-editor-fields>label:first-child{grid-column:1/-1}#workShifts .ws-shift-options{grid-template-columns:1fr}#workShifts .ws-staff{grid-template-columns:1fr 1fr}#workShifts .ws-pick-tools,#workShifts .ws-dialog-foot{flex-wrap:wrap}#workShifts .ws-list-tools{padding:0 15px 15px}#workShifts .ws-list-tools button{font-size:10px;padding:7px}#workShifts .ws-tabs{padding:0 10px}#workShifts .ws-stats strong{font-size:23px}}
/* Keep the dedicated page heading and primary actions independent of legacy shell rules. */
body:has(#workShifts) .page>.mc-page-heading{display:none!important}body #workShifts button.ws-primary{background:#3678ef!important;color:#fff!important;border-color:#3678ef!important;box-shadow:0 5px 12px #3678ef18!important}body #workShifts button.ws-primary:hover{background:#2565dd!important}body #workShifts .ws-dialog-head{position:static!important;inset:auto!important;height:auto!important;box-shadow:none!important}body #workShifts .ws-heading{position:static!important;inset:auto!important;background:transparent!important;box-shadow:none!important;height:auto!important}
#workShifts .ws-shift-banner{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:15px}#workShifts .ws-shift-banner article{position:relative;overflow:hidden;display:flex;gap:16px;align-items:center;background:var(--ws-bg);border:1px solid var(--ws-line);border-radius:15px;padding:22px}#workShifts .ws-shift-banner strong{display:block;font-size:24px;margin:7px 0;color:var(--ws-ink)}#workShifts .ws-shift-banner small,#workShifts .ws-shift-banner p{font-size:10px;color:var(--ws-muted)}#workShifts .ws-shift-banner .ws-stat-icon{height:56px;width:56px}#workShifts .ws-shift-banner .ws-watermark{position:absolute;right:24px;width:80px;height:80px;opacity:.1;color:#dca631}#workShifts .ws-shift-banner article:last-child .ws-watermark{color:#8b6cdd}#workShifts .ws-calendar-metrics{display:flex;gap:10px;flex-wrap:wrap;font-size:10px;color:var(--ws-muted);margin:0 2px 18px}#workShifts .ws-calendar-metrics b{color:var(--ws-ink);margin-left:5px}#workShifts .ws-calendar-metrics>span{padding:6px 10px;background:var(--ws-bg);border:1px solid var(--ws-line);border-radius:7px}#workShifts .ws-calendar-scroll{overflow-x:auto!important;max-height:none!important;isolation:isolate}body #workShifts #wsCalendar{display:table!important;table-layout:fixed!important;width:max-content!important;min-width:100%!important;border-collapse:separate;border-spacing:0}body #workShifts #wsCalendar thead{display:table-header-group!important}body #workShifts #wsCalendar tbody{display:table-row-group!important}body #workShifts #wsCalendar tr{display:table-row!important;padding:0}body #workShifts #wsCalendar :is(th,td){display:table-cell!important;min-width:64px;width:64px!important;padding:10px 5px;border-bottom:1px solid var(--ws-line);text-align:center;vertical-align:middle}body #workShifts #wsCalendar :is(th,td):first-child{position:sticky;left:0;width:225px!important;min-width:225px;text-align:left;padding:12px;background:var(--ws-bg)!important;z-index:4;box-shadow:1px 0 0 var(--ws-line)}body #workShifts #wsCalendar th:first-child{z-index:6;background:var(--ws-soft)!important}body #workShifts #wsCalendar th small{font-size:8px;display:block;margin-top:5px;font-weight:400}body #workShifts #wsCalendar th b{font-size:12px}#workShifts #wsCalendar .ws-sunday{color:#e15d72}#workShifts #wsCalendar .ws-today{background:#eaf2ff;color:#397ee9}#workShifts #wsCalendar .ws-avatar{display:grid!important;height:29px;width:29px}#workShifts #wsCalendar .ws-calendar-shift{font-size:9px!important;font-weight:600;min-height:29px;padding:6px 7px!important;border:0;width:58px;gap:3px;background:#fff3d7;color:#b18126}#workShifts #wsCalendar .ws-calendar-shift.MALAM{background:#f0eaff;color:#8963cd}#workShifts #wsCalendar .ws-calendar-shift svg{height:11px;width:11px}#workShifts .ws-calendar-cell{display:flex;align-items:center;gap:3px;position:relative;justify-content:center}#workShifts .ws-calendar-cell .ws-calendar-delete{position:absolute;right:0;top:-9px;height:17px;width:17px;min-height:17px;padding:3px;opacity:0;color:#cf6e7b;background:var(--ws-bg);z-index:2}#workShifts .ws-calendar-cell:hover .ws-calendar-delete,#workShifts .ws-calendar-cell:focus-within .ws-calendar-delete{opacity:1}#workShifts .ws-calendar-delete svg{height:10px;width:10px}#workShifts .ws-calendar-empty{min-height:29px;height:29px;width:55px;padding:3px;border:0;background:var(--ws-soft);color:var(--ws-muted)}#workShifts .ws-presets{display:flex;gap:8px;flex-wrap:wrap;margin:-8px 0 23px}#workShifts .ws-presets button{flex:1;font-size:10px;padding:6px 9px;min-height:30px}body #workShifts #wsCalendar td::before{display:none!important}@media(max-width:600px){#workShifts .ws-shift-banner{gap:9px}#workShifts .ws-shift-banner article{padding:13px;gap:9px}#workShifts .ws-shift-banner strong{font-size:16px}#workShifts .ws-shift-banner .ws-stat-icon{width:33px;height:33px}#workShifts .ws-shift-banner .ws-watermark{display:none}body #workShifts #wsCalendar :is(th,td):first-child{width:155px!important;min-width:155px}#workShifts .ws-calendar-delete{opacity:1!important}}
#workShifts .ws-heading h1{display:flex;align-items:center;gap:12px}#workShifts .ws-heading h1>svg{height:43px;width:43px;padding:9px;border-radius:11px;color:#397ee9;background:#eaf2ff}#workShifts .ws-dialog{width:min(720px,calc(100vw - 32px));max-width:720px}#workShifts .ws-editor-site{margin-bottom:23px}#workShifts .ws-date-fields{grid-template-columns:1fr 1fr;margin-bottom:15px}#workShifts .ws-date-fields>label:first-child{grid-column:auto}#workShifts .ws-staff{grid-template-columns:1fr;max-height:205px}#workShifts .ws-staff>label>span{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:1}#workShifts .ws-staff small{background:#edf3ff;color:#5b84cf;padding:4px 7px;border-radius:5px;margin:0}#workShifts .ws-delete-dialog{max-width:470px}
body #workShifts #wsCalendar :is(th,td):not(:first-child){width:74px!important;min-width:74px!important}#workShifts #wsCalendar .ws-calendar-shift{flex:0 0 60px;width:60px;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important}#workShifts #wsCalendar .ws-calendar-empty{flex:none}body:has(#workShifts) .page>#referenceMenuHeading{display:none!important}

.ws-calendar-shift.OFF_12{background:#e7f5f2;color:#087c66}.ws-calendar-shift.OFF_FULL{background:#e9eef7;color:#586a85}

/* Compact editor for a single calendar cell. */
#workShifts #wsCalendar .ws-calendar-shift.OFF_12,
#workShifts #wsCalendar .ws-calendar-shift.OFF_12:hover{background:#dc2626;color:#fff}
#workShifts #wsCalendar .ws-calendar-shift.OFF_FULL,
#workShifts #wsCalendar .ws-calendar-shift.OFF_FULL:hover{background:#15803d;color:#fff}
#workShifts .ws-single-editor{width:min(560px,calc(100vw - 32px))}
#workShifts .ws-single-editor .ws-step,
#workShifts .ws-single-editor .ws-editor-site,
#workShifts .ws-single-editor .ws-presets,
#workShifts .ws-single-editor .ws-pick-tools,
#workShifts .ws-single-editor .ws-warning,
#workShifts .ws-single-editor .ws-dialog-head p{display:none}
#workShifts .ws-single-editor .ws-shift-options{margin-bottom:12px;gap:10px}
#workShifts .ws-single-editor .ws-shift-options>label{padding:12px}
#workShifts .ws-single-editor .ws-shift-options strong{font-size:14px}
#workShifts .ws-single-editor .ws-shift-options small{display:none}
#workShifts .ws-single-editor .ws-staff{grid-template-columns:1fr;max-height:none;margin-top:16px}
#workShifts .ws-single-editor .ws-staff input{display:none}
#workShifts .ws-single-editor .ws-staff>label{cursor:default;background:var(--ws-soft);border-color:var(--ws-line)}
#workShifts .ws-single-editor .ws-dialog-body>label{margin:14px 0}

/* A single scroll container keeps both calendar axes aligned. */
body #workShifts .ws-calendar-scroll{max-height:65vh!important;overflow:auto!important;scroll-padding-top:48px}
body #workShifts #wsCalendar th{position:sticky;top:0;z-index:5;background:var(--ws-soft)!important}
body #workShifts #wsCalendar th:first-child{top:0;left:0;z-index:7}
body #workShifts #wsCalendar :is(th,td):not(:first-child){width:104px!important;min-width:104px!important}
#workShifts #wsCalendar .ws-calendar-shift{width:90px;flex-basis:90px;padding:7px 8px!important;justify-content:center}
#workShifts #wsCalendar .ws-calendar-shift.CUTI{background:#854d2b;color:white;opacity:1;cursor:default}
#workShifts .ws-loading .ws-staff{opacity:.35;pointer-events:none}
#workShifts .ws-loading #wsEditorMessage:before{content:'';display:inline-block;vertical-align:middle;width:14px;height:14px;border:2px solid var(--ws-line);border-top-color:var(--ws-blue);border-radius:50%;animation:ws-spin .8s linear infinite;margin-right:8px}
#workShifts .ws-progress-dialog{max-width:380px;text-align:center;padding:32px 24px}
#workShifts .ws-progress-dialog h2{font-size:19px;margin-bottom:10px}
#workShifts .ws-progress-dialog p{font-size:12px;color:var(--ws-muted);line-height:1.7}
#workShifts .ws-progress-icon{width:42px;height:42px;border:4px solid var(--ws-line);border-top-color:var(--ws-blue);border-radius:50%;margin:0 auto 20px;animation:ws-spin .8s linear infinite}
#workShifts .ws-share-note{font-size:11px;line-height:1.7;color:var(--ws-muted);margin:16px 0}
#workShifts .ws-share-actions{display:flex;align-items:center;gap:16px;margin:12px 0}
#workShifts .ws-share-actions a{color:var(--ws-blue);font-size:12px}
#workShifts #wsImageError{font-size:12px;margin-top:12px;color:var(--ws-muted)}
@keyframes ws-spin{to{transform:rotate(360deg)}}

/* Shift card artwork stays inside the cards. The calendar keeps its own layout. */
#workShifts .ws-shift-banner article{
 min-height:112px;
 color:#f8f9ff;
 isolation:isolate;
 background:radial-gradient(ellipse at 93% 95%,#65462175,transparent 55%),linear-gradient(115deg,#1d1d1c,#25231e);
 border-color:#383127;
 --ws-art:#ffc968;
}
#workShifts .ws-shift-banner article:last-child{
 background:radial-gradient(ellipse at 93% 95%,#65418c70,transparent 55%),linear-gradient(115deg,#191728,#201b34);
 border-color:#3c3153;
 --ws-art:#d6abff;
}
#workShifts .ws-shift-banner article>div{position:relative;z-index:1}
#workShifts .ws-shift-banner article :is(strong,small,p){color:#f8f9ff}
#workShifts .ws-shift-banner strong{font-size:clamp(19px,2.1vw,29px)}
#workShifts .ws-shift-banner small{font-weight:750;letter-spacing:.04em}
#workShifts .ws-shift-banner .ws-stat-icon{
 color:var(--ws-art);background:color-mix(in srgb,var(--ws-art) 22%,transparent);
 border:1px solid color-mix(in srgb,var(--ws-art) 43%,transparent);
}
#workShifts :is(.ws-hero-lines,.ws-watermark,.ws-metric-lines,.ws-metric-icon){
 position:absolute;pointer-events:none;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;
}
#workShifts .ws-shift-banner .ws-hero-lines{right:0;bottom:0;width:53%;height:100%;color:var(--ws-art);opacity:.57}
#workShifts .ws-shift-banner article .ws-watermark{
 right:5%;bottom:15%;width:clamp(51px,8vw,110px);height:66%;opacity:.9;color:var(--ws-art);stroke-width:2;
 filter:drop-shadow(0 0 8px color-mix(in srgb,var(--ws-art) 55%,transparent));
}
#workShifts .ws-calendar-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:0 0 18px}
#workShifts .ws-metric{
 position:relative;min-width:0;min-height:82px;overflow:hidden;isolation:isolate;
 padding:12px 38px 12px 14px;border:1px solid color-mix(in srgb,var(--ws-tone) 12%,var(--ws-line));
 border-radius:12px;background:linear-gradient(125deg,var(--ws-bg),color-mix(in srgb,var(--ws-tone) 8%,var(--ws-bg)));
 --ws-tone:#3169e9;
}
#workShifts .ws-metric-amber{--ws-tone:#ce830f}
#workShifts .ws-metric-purple{--ws-tone:#8a58dd}
#workShifts .ws-metric-teal{--ws-tone:#008995}
#workShifts .ws-metric-slate{--ws-tone:#586b90}
#workShifts .ws-metric>span{display:block;position:relative;z-index:1;font-size:12px;font-weight:650;line-height:1.35}
#workShifts .ws-metric>b{display:block;position:relative;z-index:1;margin:3px 0 0;font-size:25px;line-height:1.15}
#workShifts .ws-metric-lines{right:0;bottom:0;width:76%;height:100%;color:var(--ws-tone);opacity:.42;transform:scaleX(-1);stroke-width:2}
#workShifts .ws-metric-icon{right:12px;top:50%;width:27px;height:27px;transform:translateY(-50%);color:var(--ws-tone);stroke-width:1.7}
body:is(.dark,[data-ui-mode=dark],[data-admin-theme=dark-mode]) #workShifts .ws-metric-blue{--ws-tone:#80a7ff}
body:is(.dark,[data-ui-mode=dark],[data-admin-theme=dark-mode]) #workShifts .ws-metric-amber{--ws-tone:#ffbf63}
body:is(.dark,[data-ui-mode=dark],[data-admin-theme=dark-mode]) #workShifts .ws-metric-purple{--ws-tone:#c8a4ff}
body:is(.dark,[data-ui-mode=dark],[data-admin-theme=dark-mode]) #workShifts .ws-metric-teal{--ws-tone:#71d9de}
body:is(.dark,[data-ui-mode=dark],[data-admin-theme=dark-mode]) #workShifts .ws-metric-slate{--ws-tone:#9caed2}
@media(max-width:1100px){#workShifts .ws-calendar-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){
 #workShifts .ws-shift-banner{grid-template-columns:minmax(0,1fr)}
 #workShifts .ws-shift-banner article{min-height:90px}
 #workShifts .ws-shift-banner article .ws-watermark{display:block}
 #workShifts .ws-calendar-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 #workShifts .ws-metric{min-height:71px;padding-left:10px}
 #workShifts .ws-metric>b{font-size:21px}
}
