#mvu-root{position:fixed;inset:0;z-index:50;background:var(--mvu-bg,#f5f7f8);color:inherit;overflow:auto}#mvu-root .mvu-header{position:sticky;top:0;z-index:5;height:auto;min-height:68px;padding:16px 24px;background:var(--mvu-panel,#fff)}.mvu-header small{display:block;color:var(--muted);margin-top:4px}.mvu-main{padding:24px;max-width:2200px;margin:auto}.mvu-tabs,.mvu-tools{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-bottom:20px}.mvu-tabs [aria-pressed=true]{background:var(--green);color:#fff}.mvu-tools label{font-size:13px}.mvu-tools .field{margin-top:6px}.mvu-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}.mvu-stats>div{padding:16px;background:var(--mvu-panel,#fff);border:1px solid var(--line);border-radius:8px}.mvu-stats small{display:block;color:var(--muted)}.mvu-stats strong{font-size:26px}.mvu-scroll{overflow:auto;border:1px solid var(--line);border-radius:8px;max-height:65vh;background:var(--mvu-panel,#fff)}#mvu-root table{border-collapse:separate;border-spacing:0;width:100%;font-size:12px}#mvu-root th{position:sticky;top:0;z-index:2;white-space:nowrap;padding:12px 8px;background:var(--mvu-panel,#edf3f0)}#mvu-root td{padding:5px;border-bottom:1px solid var(--line);border-right:1px solid var(--line);min-width:55px}#mvu-root td small{display:block}#mvu-root td:nth-child(2){min-width:220px}.mvu-row-actions{display:flex;gap:4px;margin-top:8px}.mvu-row-actions button{padding:4px 7px;font-size:11px}.mvu-note{min-width:150px;max-width:220px;white-space:pre-wrap}.mvu-cell{position:relative;width:100%;min-width:44px;height:42px;padding:5px;font-size:14px;font-weight:700}.mvu-cell:disabled{opacity:1;cursor:default}.mvu-cell sup{position:absolute;right:3px;top:2px;font-size:8px}.mvu-cell.status-open{background:#ffe49b;color:#554016}.mvu-cell.status-completed{background:#b6e4bd;color:#174a25}.mvu-cell.status-mvu_failed{background:#ffd0c2;color:#762b13}.mvu-cell.status-client_failed{background:#ebd1f6;color:#5a246e}.mvu-cell.status-phantom{background:#dce0e6;color:#424a57}.mvu-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.mvu-hours{display:flex;flex-wrap:wrap;gap:16px;padding:15px 0}.mvu-summary{margin-top:24px}.mvu-dialog label{display:block;margin-bottom:12px}.mvu-loading{padding:32px}[data-theme=dark]{--mvu-bg:#121b21;--mvu-panel:#1c2931}[data-theme=pink]{--mvu-bg:#cca3ab;--mvu-panel:#e3ddda}@media(max-width:700px){.mvu-main{padding:12px}.mvu-stats{grid-template-columns:1fr 1fr}#mvu-root .mvu-header{padding:12px}#mvu-root table{display:table}#mvu-root tr{display:table-row}#mvu-root td,#mvu-root th{display:table-cell}.mvu-fields{grid-template-columns:1fr}}

#mvu-root table{table-layout:auto;min-width:1100px;width:max-content}#mvu-root .mvu-table{min-width:1900px}#mvu-root th,#mvu-root td{width:auto!important;max-width:none}#mvu-root .mvu-table th:nth-child(1),#mvu-root .mvu-table td:nth-child(1){min-width:130px}#mvu-root .mvu-table th:nth-child(2),#mvu-root .mvu-table td:nth-child(2){min-width:220px}#mvu-root .mvu-table th:nth-child(4),#mvu-root .mvu-table th:nth-child(5),#mvu-root .mvu-table td:nth-child(4),#mvu-root .mvu-table td:nth-child(5){min-width:100px}#mvu-root .mvu-table th:nth-child(5),#mvu-root .mvu-table td:nth-child(5){min-width:140px}#mvu-root td{white-space:normal}#mvu-root .mvu-cell{width:46px;min-width:46px}#mvu-root .mvu-summary td{text-align:center;min-width:65px}

#mvu-root .mvu-header h1{font-size:30px;margin:0;line-height:1.2}.mvu-days{display:flex;gap:8px;overflow-x:auto;margin:0 0 20px;padding-bottom:4px}.mvu-days button{flex:1;min-width:90px;white-space:nowrap}.mvu-days button small{display:block;margin-top:5px}.mvu-days [aria-pressed=true]{background:var(--green);color:#fff}.mvu-row-actions{flex-wrap:wrap}.mvu-row-actions button:disabled{opacity:.4}.mvu-days [data-shift]{flex:0;min-width:36px}

html.mvu-open,html.mvu-open body{overflow:hidden!important}
#mvu-root .mvu-tabs button[aria-pressed="true"]{background:#167869!important;color:#fff!important;border-color:#167869!important;box-shadow:0 0 0 2px #85c8ba;font-weight:700}
#mvu-root .mvu-days button[aria-pressed="true"]{background:#167869!important;color:#fff!important;border-color:#167869!important}
#mvu-root .mvu-summary th,#mvu-root .mvu-summary td{box-sizing:border-box;border-right:1px solid var(--line);border-bottom:1px solid var(--line);text-align:center;padding:12px 8px}
#mvu-root .mvu-summary th:first-child{text-align:left;min-width:180px}
#mvu-root .mvu-table thead th:nth-child(n+6){text-align:center}
#mvu-root .mvu-table th:nth-child(5),#mvu-root .mvu-table td:nth-child(5){border-right:1px solid var(--line)}
#mvu-root .mvu-days button{flex:0 0 auto;min-width:100px}

#mvu-root .mvu-note-input{width:180px!important;height:64px;min-height:64px;max-height:64px;resize:none;overflow:auto;display:block;margin:0;box-sizing:border-box;color:inherit;background:var(--mvu-panel,#fff);border:1px solid var(--line)}
#mvu-root .mvu-category{width:100px!important;min-width:100px;color:inherit;background:var(--mvu-panel,#fff);border:1px solid var(--line)}
#mvu-root .mvu-summary{margin:0 0 24px}#mvu-root .mvu-summary h2{margin-top:0}
#mvu-root .mvu-table td:nth-child(5){width:196px!important;min-width:196px;max-width:196px}
#mvu-root .mvu-note small{max-width:180px;white-space:normal;overflow-wrap:anywhere}

#mvu-root .mvu-cell.status-open{background:#ffe49b;color:#554016}

#mvu-root .mvu-cell.status-completed{background:#b6e4bd;color:#174a25}
#mvu-root .mvu-cell.status-mvu_failed{background:#ffd0c2;color:#762b13}
#mvu-root .mvu-cell.status-client_failed{background:#ebd1f6;color:#5a246e}
#mvu-root .mvu-cell.status-phantom{background:#dce0e6;color:#424a57}

#mvu-root .mvu-summary .mvu-scroll{width:max-content;max-width:100%;}

#mvu-root .mvu-overview-block{margin-bottom:28px}
#mvu-root .mvu-overview-slots{font-weight:700}
#mvu-root .mvu-overview-total .mvu-scroll{border:2px solid var(--green)}
#mvu-root .mvu-overview-total h2{font-size:23px}

[data-theme=pink] #mvu-root .mvu-tabs button[aria-pressed="true"],[data-theme=pink] #mvu-root .mvu-days button[aria-pressed="true"]{background:#B0767B!important;color:#201418!important;border-color:#79424c!important;box-shadow:0 0 0 2px #E1C1C2}
[data-theme=pink] #mvu-root .mvu-cell.status-completed{background:#CCA3AB;color:#38282d}
[data-theme=pink] #mvu-root .mvu-overview-total .mvu-scroll{border-color:#B0767B}

#mvu-root .mvu-follow-row>td{box-shadow:inset 0 2px var(--green),inset 0 -2px var(--green)}
#mvu-root [data-leader]{min-width:160px;max-width:220px}
#mvu-root [data-mvu-row][hidden]{display:none!important}
.mvu-search{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0}.mvu-search .field{width:min(380px,100%)}.mvu-search [role=status]{font-size:13px;color:var(--muted)}
.mvu-import-alerts{position:fixed;inset:auto 16px 16px auto;margin:0;padding:0;border:0;background:transparent;color:inherit;width:min(410px,calc(100vw - 32px));max-height:80vh;overflow:auto;z-index:10000;display:flex;flex-direction:column;gap:10px}
.mvu-import-alerts[hidden]{display:none}.mvu-import-alerts::backdrop{background:transparent;pointer-events:none}
.mvu-import-alert{position:relative;padding:16px 46px 16px 16px;border:1px solid #bd7141;border-left:5px solid #bd7141;border-radius:10px;background:#fff4e5;color:#45270e;box-shadow:0 5px 20px #0003}
.mvu-import-alert strong{display:block}.mvu-import-alert p{font-size:14px;margin:8px 0}.mvu-import-alert small{font-size:12px;line-height:1.5;display:block}.mvu-import-alert button{position:absolute;right:8px;top:8px;padding:4px 9px;background:transparent;color:inherit;border-color:currentColor}
[data-theme=dark] .mvu-import-alert{background:#33291f;color:#ffe5bf;border-color:#e5ab68}
[data-theme=pink] .mvu-import-alert{background:#e1c1c2;color:#502434;border-color:#8c4e60}
#mvu-root .mvu-comment-corner{position:absolute;right:1px;top:1px;width:11px;height:11px;background:#8b2454;clip-path:polygon(0 0,100% 0,100% 100%);pointer-events:none}
[data-theme=dark] #mvu-root .mvu-comment-corner{background:#991b59}
[data-theme=pink] #mvu-root .mvu-comment-corner{background:#70233f}
.mvu-dialog [data-comment-add]{margin:0 0 12px}
.mvu-dialog #mvu-cell-comment[hidden]{display:none}
/* Compact desktop layout: all hours and totals fit a 1280px viewport at 100%. */
@media(min-width:1100px){
 #mvu-root .mvu-main{padding:12px;max-width:none}
 #mvu-root .mvu-header{min-height:48px;padding:8px 12px}#mvu-root .mvu-header h1{font-size:23px}
 #mvu-root button{font-size:12px;padding:6px 9px}
 #mvu-root .mvu-tabs,#mvu-root .mvu-tools{gap:7px;margin-bottom:10px}
 #mvu-root .mvu-summary{margin-bottom:12px}#mvu-root .mvu-summary h2{font-size:17px;margin-bottom:6px}
 #mvu-root .mvu-summary th,#mvu-root .mvu-summary td{padding:5px 6px;height:28px;min-width:42px;font-size:11px}
 #mvu-root .mvu-summary th:first-child{min-width:150px}
 #mvu-root .mvu-summary table{min-width:900px}
 #mvu-root .mvu-days{margin-bottom:10px}#mvu-root .mvu-days button{min-width:80px;padding:5px 8px}
 #mvu-root .mvu-stats{gap:8px;margin-bottom:10px}#mvu-root .mvu-stats>div{padding:8px 12px}#mvu-root .mvu-stats strong{font-size:20px}#mvu-root .mvu-stats small{font-size:11px}
 #mvu-root .mvu-search{margin:10px 0;gap:8px;font-size:12px}#mvu-root .mvu-search input{padding:6px 9px;font-size:13px}
 #mvu-root .mvu-table{table-layout:fixed;min-width:1232px;width:1232px;font-size:11px}
 #mvu-root .mvu-table th,#mvu-root .mvu-table td{min-width:0!important;max-width:none!important;padding:4px 3px;text-align:center;vertical-align:middle;white-space:normal;overflow-wrap:normal}
 #mvu-root .mvu-table th:nth-child(1),#mvu-root .mvu-table td:nth-child(1){width:100px!important}
 #mvu-root .mvu-table th:nth-child(2),#mvu-root .mvu-table td:nth-child(2){width:130px!important}
 #mvu-root .mvu-table th:nth-child(3),#mvu-root .mvu-table td:nth-child(3){width:66px!important}
 #mvu-root .mvu-table th:nth-child(4),#mvu-root .mvu-table td:nth-child(4){width:68px!important}
 #mvu-root .mvu-table th:nth-child(5),#mvu-root .mvu-table td:nth-child(5){width:88px!important}
 #mvu-root .mvu-table [data-leader],#mvu-root .mvu-table .mvu-category{width:100%!important;min-width:0;max-width:100%;font-size:11px;padding:4px 1px}
 #mvu-root .mvu-table .mvu-note-input{width:100%!important;height:48px;min-height:48px;max-height:48px;font-size:11px;padding:4px}
 #mvu-root .mvu-table .mvu-cell{width:100%;min-width:0;height:30px;padding:2px;font-size:12px}
 #mvu-root .mvu-row-actions{gap:3px;margin-top:4px}#mvu-root .mvu-row-actions button{font-size:10px;padding:3px 4px}
 #mvu-root .mvu-scroll{max-height:70vh}
}
[data-theme=pink] #mvu-root .mvu-follow-row>td{box-shadow:inset 0 2px #B0767B,inset 0 -2px #B0767B}

/* Keep schedule columns narrow instead of stretching them across wide monitors. */
#mvu-root .mvu-table th,#mvu-root .mvu-table td{text-align:center;vertical-align:middle}
#mvu-root .mvu-table th{white-space:nowrap;overflow-wrap:normal}
#mvu-root .mvu-table select,#mvu-root .mvu-note-input{text-align:center}
#mvu-root .mvu-row-actions{justify-content:center}
#mvu-root .mvu-table .mvu-cell{display:flex;align-items:center;justify-content:center;margin:auto}
#mvu-root .mvu-scroll:has(>.mvu-table){width:max-content;max-width:100%}
@media(min-width:1100px){
 #mvu-root .mvu-table th:nth-child(n+6):nth-child(-n+18),#mvu-root .mvu-table td:nth-child(n+6):nth-child(-n+18){width:32px!important}
 #mvu-root .mvu-table th:nth-child(19),#mvu-root .mvu-table td:nth-child(19){width:54px!important}
 #mvu-root .mvu-table th:nth-child(20),#mvu-root .mvu-table td:nth-child(20){width:43px!important}
 #mvu-root .mvu-table th:nth-child(21),#mvu-root .mvu-table td:nth-child(21){width:76px!important}
 #mvu-root .mvu-table th:nth-child(22),#mvu-root .mvu-table td:nth-child(22){width:36px!important}
 #mvu-root .mvu-table th:nth-child(23),#mvu-root .mvu-table td:nth-child(23){width:50px!important}
 #mvu-root .mvu-table th:nth-child(24),#mvu-root .mvu-table td:nth-child(24){width:104px!important}
}

#mvu-root .mvu-table th{padding-left:1px;padding-right:1px}

/* Fill available space; give employee actions enough room on a single line. */
#mvu-root .mvu-scroll:has(>.mvu-table){width:100%}
#mvu-root .mvu-row-actions{flex-wrap:nowrap;white-space:nowrap}
@media(min-width:1100px){
 #mvu-root .mvu-table{width:100%;min-width:1282px}
 #mvu-root .mvu-table th:nth-child(2),#mvu-root .mvu-table td:nth-child(2){width:180px!important}
 #mvu-root .mvu-row-actions{gap:2px}
 #mvu-root .mvu-row-actions button{padding:3px;font-size:10px;flex-shrink:0}
}
