/* Shift Desk dashboard theme: existing controls and permissions remain authoritative. */
:root{color:#213b60;background:#f4f8fd;font-family:Arial,Helvetica,sans-serif}
#workspace{--nav-width:205px;min-height:100vh;background:linear-gradient(135deg,#f7faff,#eef5fc)}
#workspace header{height:74px;padding:12px 26px 12px calc(var(--nav-width) + 26px);border-color:#e1eaf5;position:relative;background:white}
#workspace header .brand{position:fixed;left:0;top:0;width:var(--nav-width);height:86px;padding:20px 18px;background:#102d50;color:white;z-index:21;font-size:22px;gap:8px}
#workspace .brand em{color:#35b8f3;font-weight:700}#workspace .logo{background:#1476e8;border-radius:9px;padding:7px 11px}
#workspace .viewer{margin-left:auto}
#workspace main{max-width:1700px;margin-left:var(--nav-width);margin-right:auto;padding:18px 24px}
#workspace .tabs{position:fixed;left:0;top:86px;bottom:0;width:var(--nav-width);display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:6px;padding:14px 12px 85px;overflow-y:auto;background:linear-gradient(180deg,#102d50,#0b2341);border:0;z-index:20}
#workspace .tabs:after{content:'TSCP SHIFT DESK\A Smart shifts. Better operations.';white-space:pre-line;line-height:1.8;color:#a4c2e3;font-size:10px;margin-top:auto;padding:24px 8px 0}
#workspace .tabs .tab{display:flex;align-items:center;text-align:left;white-space:normal;color:#d7e5f6;border:0;border-radius:7px;padding:13px 11px;background:transparent;font-size:12px;min-height:42px;flex-shrink:0}
#workspace .tabs .tab:before{content:'◇';font-size:18px;margin-right:11px;color:#97bce8}
#workspace .tabs .tab.active{background:linear-gradient(100deg,#1566c4,#147ced);color:#fff;box-shadow:0 4px 14px #00132944}
#workspace .tabs .tab.active:before{color:white}
#workspace .tabs .tab:hover{background:#23486f;color:white}
#workspace .tabs .tab[data-tab="access"]{position:static;margin-left:0;box-shadow:none}
#workspace .heading{margin:18px 0 12px}#workspace h1{font-size:25px;letter-spacing:-.6px;color:#163b66}#workspace h2,#workspace h3{color:#183b65}
#workspace .eyebrow{color:#357ac7}#workspace .testbar{background:#edf5ff;border-color:#dfebfa;color:#5b789a}
#workspace #adminActions{border-color:#e1eaf5;box-shadow:0 3px 12px #1e477706;border-radius:10px}
#workspace .primary{background:#1675e7;border-color:#1675e7;box-shadow:0 3px 7px #1474dd18}#workspace .primary:hover{background:#095dc3}
#workspace .secondary{color:#36577e;border-color:#d7e4f3;border-radius:7px}#workspace .edit,#workspace .textlink{color:#1767bc}
#workspace .stats{gap:12px;border:0;background:none;overflow:visible;margin:14px 0 20px}
#workspace .stat{background:white;border:1px solid #e0eaf6;border-radius:10px;padding:13px 18px;box-shadow:0 4px 16px #163b6505;border-top:3px solid #2382ed}
#workspace .stat:nth-child(2){border-top-color:#45ba86}#workspace .stat:nth-child(3){border-top-color:#aa87e9}
#workspace .stat strong{color:#163b66;font-size:25px}#workspace .stat label{color:#6a83a2;font-size:10px}
#workspace .panel{border-color:#dfe9f5;border-radius:10px;box-shadow:0 3px 14px #163b6504}
#workspace th,#content .panel.scroll thead th{background:#f0f5fc;color:#59779b;box-shadow:0 1px 0 #e0e9f5;text-transform:none;letter-spacing:0}
#workspace td{border-color:#e9eff7}#workspace tbody tr:hover td{background-color:#f8fbff}
#workspace .shift{background:#e8f4ff;border-left-color:#3d9aee;border-radius:6px;padding:9px;color:#164f86}
#workspace .shift small{color:#577d9f}#workspace .regular-preview{background:#eef4fa;border-left-color:#b0c5db}
#workspace .off-day{background:#fff6e5!important}#workspace .tag.off{background:#eaf0f7}
#workspace .weektable td{padding:8px;min-width:125px}#workspace .weektable .shift{min-width:125px}
#workspace .attendance{background:#edf5ff;border-color:#d4e4fa}#workspace input,#workspace select{border-color:#d4e1f0;border-radius:7px;color:#284b73}
#workspace footer{color:#7991ad;border-color:#dfe8f4}#workspace .week-scroll-top{background:#f4f8fd}
@media(min-width:1600px){#workspace{--nav-width:220px}#workspace main{padding:22px 32px}}
@media(max-width:900px){#workspace{--nav-width:170px}#workspace main{padding:14px}#workspace .tabs{padding-left:8px;padding-right:8px}#workspace header{padding-right:14px}#workspace .tabs .tab{padding:11px 8px;font-size:11px}#workspace header .brand{font-size:19px;padding-left:12px}}
@media(max-width:650px){#workspace header{height:auto;padding:12px;gap:12px}#workspace header .brand{position:static;width:auto;height:auto;background:none;color:#173b63;padding:0}#workspace main{margin:0;padding:12px}#workspace .tabs{position:static;width:auto;flex-direction:row;overflow-x:auto;flex-wrap:nowrap;padding:8px;background:#102d50;border-radius:9px;gap:5px}#workspace .tabs .tab{flex:0 0 auto;min-height:40px;font-size:11px;padding:9px}#workspace .tabs .tab:before,#workspace .tabs:after{display:none}#workspace .viewer{margin-left:0;width:auto}#workspace .stats{gap:7px}#workspace .stat{padding:10px 8px}#workspace h1{font-size:22px}}
/* Seven visible roster dates with earlier dates retained to the left. */
#workspace main{max-width:1340px}
#workspace .weektable .shift{min-width:0;padding:6px;font-size:11px;margin:2px 0}
#workspace .weektable td{padding:6px;font-size:11px;overflow-wrap:anywhere}
#workspace .weektable small{font-size:10px;line-height:1.4}
#workspace .weektable .week-edit{font-size:11px;margin-top:4px}
#workspace .weektable th{padding:9px 6px;font-size:11px}

tr.assignment-conflict>td{background:#fff3cd!important;border-top:1px solid #edbd54;border-bottom:1px solid #edbd54}tr.assignment-conflict>td:first-child{border-left:4px solid #dc9200}.assignment-conflict-label{display:block;color:#824600!important;font-weight:700;margin-top:5px;white-space:normal}
