:root{--green:#214e41;--green-light:#e7efe9;--ink:#253c32;--muted:#78847d;--line:#e2e7df;--bg:#f5f6f2;--red:#bd4949;--orange:#af682c;--blue:#497ba2;--radius:13px;font-family:Inter,"Segoe UI",system-ui,sans-serif;color:var(--ink);font-size:14px;background:var(--bg)}*{box-sizing:border-box}body{margin:0}a{color:var(--green);text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}.sidebar{position:fixed;inset:0 auto 0 0;width:224px;background:#fff;border-right:1px solid var(--line);padding:31px 18px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;padding:0 13px}.brand-mark{width:42px;height:42px;background:var(--green);color:#fff;display:flex;align-items:center;justify-content:center;font-size:37px;font-weight:600;border-radius:13px;line-height:1}.brand-mark span{font-size:19px;color:#b8d286;align-self:flex-start;margin-top:5px}.brand strong{font-size:21px;letter-spacing:1.2px}.brand small{display:block;color:var(--muted);margin-top:1px;font-size:12px}.nav-caption{font-size:9px;font-weight:700;letter-spacing:1.25px;color:#919c95;margin:47px 14px 15px}nav{display:flex;flex-direction:column;gap:7px}nav a{padding:12px 14px;display:flex;gap:13px;align-items:center;color:#78817c;border-radius:8px;font-weight:500}nav a:hover{background:#f7f9f5}nav a.active{background:var(--green-light);color:var(--green);font-weight:650}.nav-icon{font-size:21px;width:22px;text-align:center;line-height:1}.sidebar-foot{margin-top:auto;border-top:1px solid var(--line);padding:20px 13px 0;color:#607166;font-size:11px}.sidebar-foot small{display:block;margin:9px 0 0 13px;font-size:10px;color:#8a968e}.status-dot{width:6px;height:6px;display:inline-block;border-radius:50%;background:#759963;margin-right:5px}.topbar{height:70px;border-bottom:1px solid var(--line);background:#fff;padding:0 36px;display:flex;justify-content:space-between;align-items:center;color:#839087;font-size:11px}.divider{padding:0 13px;color:#c6cec7}.top-status{color:#52675a}main{margin-left:224px}.workspace{padding:31px 36px 20px;max-width:1900px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:27px}.eyebrow{letter-spacing:1.6px;font-size:10px;color:#89948d;font-weight:700;margin-bottom:10px}h1{font-size:30px;line-height:1.1;font-weight:640;letter-spacing:-.8px;margin:0 0 11px}h2{font-size:16px;font-weight:620;margin:0}h3{font-size:20px;font-weight:620;margin:0 0 10px}p{margin:0;line-height:1.65;color:#7b887f}.button{border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--ink);padding:10px 15px;font-size:12px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap}.button:hover{filter:brightness(.97)}.button.primary{color:white;background:var(--green);border-color:var(--green)}.button.light{background:#eef1eb}.button.small{font-size:11px;padding:7px 10px}.actions{display:flex;gap:8px;flex-wrap:wrap}.toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;gap:15px}.period-controls{display:flex;align-items:end;gap:9px}.period-controls label{font-size:10px;color:#849188;display:flex;flex-direction:column;gap:5px}.period-controls select{width:151px}.period-controls input{width:88px}.period-controls button{height:37px}select,input,textarea{border:1px solid var(--line);border-radius:6px;padding:9px 11px;background:#fff;color:var(--ink);font-size:12px}textarea{resize:vertical;min-height:60px;width:220px}.muted{font-size:11px;color:var(--muted)}.stats{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:15px;margin-bottom:25px}.stat{background:#fff;border:1px solid var(--line);padding:22px;border-radius:var(--radius);min-height:135px}.stat.featured{background:var(--green);color:#fff;border-color:var(--green)}.stat-label{font-size:11px;color:#809084;margin-bottom:17px;display:flex;justify-content:space-between}.featured .stat-label{color:#cbdbcf}.stat-value{font-size:31px;letter-spacing:-1px;line-height:1.1;font-weight:600;font-variant-numeric:tabular-nums}.stat-note{margin-top:12px;font-size:10px;color:#93a196}.featured .stat-note{color:#bfd0c3}.panel{border:1px solid var(--line);background:white;border-radius:var(--radius);overflow:hidden;margin-bottom:20px}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:22px 24px;border-bottom:1px solid var(--line)}.panel-head p{font-size:11px;margin-top:5px}.panel-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.search{width:230px;padding-left:12px;background:#fafbf8}.table-scroll{overflow-x:auto;max-height:65vh}table{border-collapse:separate;border-spacing:0;width:100%;text-align:left;font-size:11px;white-space:nowrap}th{font-size:9px;letter-spacing:.35px;text-transform:uppercase;color:#839086;background:#f9faf7;padding:13px 16px;border-bottom:1px solid var(--line);font-weight:600;position:sticky;top:0;z-index:2}td{padding:15px 16px;border-bottom:1px solid #eef1ea;vertical-align:middle}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafbf8}.number{text-align:right;font-variant-numeric:tabular-nums}.positive{color:var(--red);font-weight:650}.negative{color:var(--blue)}.employee-name{font-weight:600}.site{font-size:10px;color:#85918a;display:block;margin-top:4px}.badge{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:5px;font-size:9px;line-height:1.2;letter-spacing:.2px;font-weight:600;background:#eef1ec;color:#617169}.badge:before{content:"";width:4px;height:4px;border-radius:50%;background:currentColor}.badge.ok{background:#eaf2e9;color:#518353}.badge.warn{background:#fbf3d9;color:#a08835}.badge.high{background:#fff0df;color:#b27c3f}.badge.critical{background:#faeaea;color:#bf5f5f}.badge.check{background:#eaf2f9;color:#5d83a6}.panel-foot{padding:14px 24px;display:flex;justify-content:space-between;color:#8a948c;font-size:10px;border-top:1px solid var(--line);gap:12px}.legend{display:flex;gap:15px;flex-wrap:wrap}.empty{padding:48px 25px 43px;text-align:center;max-width:560px;margin:auto}.empty-icon{border:1px solid #dbe6da;background:#f1f6ee;width:64px;height:64px;border-radius:19px;display:grid;place-items:center;font-size:29px;color:#6f8d66;margin:0 auto 22px}.empty h3{font-size:18px}.empty p{font-size:12px;max-width:425px;margin:0 auto 20px}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:24px}.step{border:1px solid var(--line);border-radius:9px;padding:18px}.step-num{background:#f0f4ec;border:1px solid #dfe7d7;border-radius:50%;width:23px;height:23px;display:grid;place-items:center;font-size:10px;margin-bottom:12px;color:#719164}.step strong{display:block;font-size:12px;margin-bottom:5px}.step p{font-size:11px}.note{border:1px solid #e2e8dc;background:#eff4e9;border-radius:10px;padding:17px 20px;margin-bottom:20px;color:#73846b;font-size:11px;display:flex;gap:13px;line-height:1.6}.banner{border:1px solid #e8dfc7;background:#faf6e9;border-radius:9px;padding:13px 16px;font-size:12px;color:#927c4d;margin-bottom:20px;line-height:1.5}.banner.error{border-color:#eddada;background:#fbf0f0;color:#ad6363}.loading{padding:60px;display:flex;align-items:center;justify-content:center;gap:12px;color:#7f8a82}.spinner{border:2px solid #dce7dc;border-top-color:var(--green);width:19px;height:19px;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}footer{display:flex;justify-content:space-between;padding-top:15px;color:#a1aba3;font-size:9px}.payroll{table-layout:auto}.payroll th,.payroll td{padding:10px 11px;min-width:55px;text-align:center}.payroll td:first-child,.payroll th:first-child{position:sticky;left:0;background:white;text-align:left;min-width:180px;z-index:1}.payroll th:first-child{z-index:3;background:#f9faf7}.payroll th small{display:block;font-weight:400;font-size:8px;margin-top:4px}.payroll td:last-child{font-weight:700;background:#f4f7f0}.payroll .diagnostic-day{padding:3px;border:0;background:transparent;color:inherit;text-decoration:underline;text-decoration-style:dotted;font:inherit}.payroll .overtime td{color:#bd5d55}.check-cell input{accent-color:var(--green)}.wrap{white-space:normal;min-width:190px;max-width:300px;line-height:1.6}.counter{background:#f0f3ec;padding:4px 7px;border-radius:5px;font-size:10px;color:#819178;margin-left:8px}.hidden-row{display:none}.setup-list{padding:23px;display:grid;gap:13px}.setup-item{border:1px solid var(--line);border-radius:9px;padding:18px;display:flex;gap:13px;align-items:center}.setup-item strong{display:block;font-size:13px}.setup-item p{font-size:11px}.setup-item .button{margin-left:auto}.setup-indicator{border-radius:50%;width:30px;height:30px;flex:none;background:#f0f3eb;display:grid;place-items:center;color:#829477}.run-error{white-space:normal;max-width:360px;color:#b06e6e;font-size:11px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:20px 0}.form-grid label{display:flex;flex-direction:column;gap:7px;font-size:12px}.form-grid label.full{grid-column:1/-1}.form-grid .checkbox{flex-direction:row;align-items:center}.checkbox input{accent-color:var(--green)}.schedule-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:18px 0}.schedule-grid label{display:flex;flex-direction:column;gap:7px;font-size:11px}.schedule-grid input{width:100%}.form-error{color:var(--red);font-size:12px;margin:12px 0}.schedule-history{border-top:1px solid var(--line);margin-top:22px;padding-top:16px}.schedule-history h3{font-size:13px}.schedule-history .button{margin:4px}.modal-top{height:0}.icon-button{position:absolute;top:14px;right:14px;background:none;border:0;font-size:24px;color:#91a18f}dialog{position:fixed;width:min(720px,94vw);border:1px solid var(--line);border-radius:15px;padding:30px;color:var(--ink);max-height:88vh}dialog::backdrop{background:#1b372b55;backdrop-filter:blur(2px)}dialog h2{font-size:22px;margin:0 25px 10px 0}dialog pre{white-space:pre-wrap;font-size:11px;background:#f5f7f1;border-radius:9px;padding:16px;max-height:55vh;overflow:auto}#toast{position:fixed;bottom:25px;left:calc(50% + 110px);transform:translateX(-50%);background:var(--green);color:#fff;padding:14px 22px;border-radius:9px;box-shadow:0 8px 25px #21352b22;max-width:90vw;z-index:10;font-size:12px}#toast.error{background:#a34e4e}[hidden]{display:none!important}.view-filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}.view-filters select{max-width:230px}
@media(min-width:1550px){.stats .stat{padding:26px}.workspace{padding-left:44px;padding-right:44px}.stat-value{font-size:35px}}
@media(max-width:1150px){.sidebar{width:190px;padding:27px 12px}main{margin-left:190px}.workspace{padding:25px 22px}.topbar{padding:0 22px}.stats{grid-template-columns:repeat(2,1fr)}.stat.featured{grid-column:auto}.steps{gap:10px}.brand{padding:0 8px}.brand strong{font-size:19px}.panel-head{padding:18px}.nav-caption{font-size:8px}#toast{left:calc(50% + 95px)}}
@media(max-width:740px){.sidebar{position:static;width:100%;padding:16px;border-right:0;border-bottom:1px solid var(--line)}.brand{padding:0}.brand-mark{height:35px;width:35px;font-size:29px}.brand strong{font-size:18px}.brand small{font-size:10px}.nav-caption,.sidebar-foot{display:none}nav{flex-direction:row;gap:5px;flex-wrap:wrap;overflow:visible;margin-top:15px}nav a{padding:9px 12px;white-space:nowrap;font-size:11px}.nav-icon{display:none}main{margin:0}.topbar{height:42px;padding:0 16px;font-size:9px}.top-status{display:none}.workspace{padding:24px 16px 15px}.page-heading{align-items:flex-start;flex-direction:column;gap:13px;margin-bottom:21px}h1{font-size:28px}.page-heading p{font-size:12px}.actions{width:100%}.actions .button{flex:1}.toolbar{align-items:flex-start;flex-direction:column;margin-bottom:18px}.period-controls{width:100%}.period-controls select{width:140px}.period-controls button{margin-left:auto}.stats{gap:10px;margin-bottom:18px}.stat{padding:16px;min-height:120px}.stat-value{font-size:26px}.stat-label{font-size:10px;margin-bottom:15px}.stat-note{font-size:9px}.panel-head{padding:17px;flex-wrap:wrap;align-items:start}.panel-controls{width:100%;margin-top:7px}.search{width:100%}.steps{grid-template-columns:1fr;margin:17px;gap:9px}.step{padding:13px;display:grid;grid-template-columns:24px 1fr;column-gap:10px}.step-num{grid-row:span 2;margin:0}.step p{grid-column:2}.panel-foot{padding:12px 16px;flex-direction:column}.empty{padding:34px 17px}.note{padding:15px;font-size:10px}.setup-item{flex-wrap:wrap;padding:15px}.setup-item .button{margin-left:43px}.setup-item>div{flex:1}.schedule-grid{grid-template-columns:repeat(2,1fr)}.form-grid{grid-template-columns:1fr}footer{font-size:8px;gap:12px;line-height:1.5}footer span{text-align:right}#toast{left:50%;width:max-content}dialog{padding:24px 18px}}
/* Logo Ecofil: usa il marchio fornito mantenendo il layout responsive. */
.brand{gap:0}
.brand-logo{display:block;width:min(100%,184px);height:auto;max-height:70px;object-fit:contain;object-position:left center}
@media(max-width:1150px){.brand-logo{width:min(100%,166px)}}
@media(max-width:740px){.brand-logo{width:180px;max-height:58px}}
.employee-driver-select{min-width:72px;padding:7px 8px;font-size:11px}
.signed-out>.sidebar,.signed-out>main{display:none}
.login-panel{min-height:100svh;display:grid;place-items:center;padding:24px;background:var(--bg)}
.login-card{width:min(100%,420px);padding:34px;background:white;border:1px solid var(--line);border-radius:18px;box-shadow:0 16px 60px #214e410c}
.login-logo{display:block;width:184px;height:auto;margin-bottom:30px}
.login-card h1{font-size:26px;line-height:1.2;letter-spacing:-.5px}.login-card>p{font-size:13px}
#login-form{display:flex;flex-direction:column;gap:9px;margin-top:24px}#login-form label{font-size:13px;font-weight:600}#login-form input{width:100%;font-size:16px;min-height:44px;margin-bottom:10px}#login-form button{min-height:46px;font-size:14px}.password-field{position:relative}.password-field input{padding-right:52px}.password-field #login-password-toggle{position:absolute;right:4px;top:0;min-width:44px;min-height:44px;margin:0;padding:0;border:0;background:transparent;color:var(--ink);font-size:20px;line-height:1;cursor:pointer}.password-field #login-password-toggle:hover,.password-field #login-password-toggle:focus-visible{color:var(--green);outline:2px solid var(--green);outline-offset:-2px}
.login-card .login-help{font-size:11px;margin-top:22px}.sidebar-foot #logout{display:block;margin-top:10px}
@media(max-width:740px){.login-panel{padding:16px}.login-card{padding:25px}.period-controls{flex-wrap:wrap}.period-controls input{min-height:44px}.period-controls button{height:44px}.period-controls select{min-height:44px}select,input,textarea{font-size:16px}.button{min-height:44px}.sidebar-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0 0;margin-top:12px}.sidebar-foot small{display:none}.sidebar-foot #logout{margin:0}#account-name{overflow-wrap:anywhere}.home-card{min-width:0}}
.nav-group{margin:0;padding:0}.nav-group summary{list-style:none;padding:12px 14px;display:flex;gap:13px;align-items:center;color:#78817c;border-radius:8px;font-weight:500;cursor:pointer}.nav-group summary::-webkit-details-marker{display:none}.nav-group summary:hover,.nav-group summary.active{background:var(--green-light);color:var(--green);font-weight:650}.nav-chevron{margin-left:auto;font-size:16px;transition:transform .15s ease}.nav-group[open] .nav-chevron{transform:rotate(180deg)}.nav-submenu{display:flex;flex-direction:column;gap:2px;margin:3px 0 5px 36px;border-left:1px solid var(--line);padding-left:8px}.nav-submenu a{padding:8px 10px;color:#78817c;border-radius:6px;font-size:11px}.nav-submenu a:hover,.nav-submenu a.active{background:#f0f5ef;color:var(--green);font-weight:650}@media(max-width:740px){.nav-group{position:relative;flex:none}.nav-group summary{padding:9px 12px;font-size:11px}.nav-submenu{position:absolute;top:40px;left:0;min-width:190px;margin:0;padding:6px;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:0 8px 20px #214e4120;z-index:4}}
.home-menu{padding:28px 0 12px}.home-menu-intro{margin-bottom:24px}.home-menu-intro h2{font-size:24px;letter-spacing:-.3px;margin:0 0 7px}.home-menu-intro p{font-size:13px}.home-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.home-card{position:relative;display:flex;flex-direction:column;min-height:170px;padding:23px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);color:var(--ink);transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}.home-card:hover{transform:translateY(-2px);border-color:#c4d5c5;box-shadow:0 8px 22px #214e4112}.home-card-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:var(--green-light);color:var(--green);font-size:22px;margin-bottom:21px}.home-card-title{font-size:17px;font-weight:650;margin-bottom:7px}.home-card-description{max-width:220px;color:var(--muted);font-size:11px;line-height:1.55}.home-card-arrow{position:absolute;right:21px;bottom:19px;color:#719164;font-size:20px}
@media(max-width:900px){.home-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:740px){.home-menu{padding-top:8px}.home-grid{grid-template-columns:1fr;gap:10px}.home-card{min-height:130px;padding:18px}.home-card-icon{margin-bottom:13px}}
.home-card-disabled{cursor:default;background:#fafbf8;color:#7c877f}.home-card-disabled:hover{transform:none;box-shadow:none;border-color:var(--line)}.home-card-disabled .home-card-icon{background:#eef0eb;color:#8d988f}.home-card-status{display:inline-flex;align-self:flex-start;margin-top:13px;padding:4px 8px;border-radius:5px;background:#eef1ec;color:#7b887f;font-size:9px;font-weight:650}
.dashboard-filters{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 14px}.dashboard-filters input,.dashboard-filters select{min-height:38px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:#fff;color:inherit}.dashboard-filters input{min-width:220px}.table-sort{border:0;background:none;color:inherit;font:inherit;font-weight:600;cursor:pointer;padding:0;text-align:inherit}.table-sort:hover{text-decoration:underline}
.dashboard-table td{padding-top:9px;padding-bottom:9px}
.dashboard-table th{white-space:normal;line-height:1.2}.dashboard-table .table-sort{white-space:normal;line-height:1.2}
.mini-stat table{width:100%;font-size:11px;margin-top:2px}.mini-stat td{padding:4px 0;border:0}.mini-stat .mini-total td{padding-top:7px;border-top:1px solid currentColor;font-weight:700}.mini-stat .number{font-weight:650}
.attendance-table th{white-space:normal;line-height:1.15;min-width:78px}.attendance-table .table-sort{white-space:normal;line-height:1.15}.attendance-table td{padding:8px 10px}.attendance-table .diagnostic-day{border:0;background:none;padding:0;color:inherit;font:inherit;text-decoration:underline;text-decoration-style:dotted}.attendance-table td:first-child{font-weight:600}.attendance-table td small{display:block;font-size:9px;color:var(--muted);font-weight:400;margin-top:2px}
.anomaly-table th{white-space:normal;line-height:1.15}.anomaly-table .table-sort{white-space:normal;line-height:1.15}.anomaly-table td{padding:9px 10px}.anomaly-author{min-width:130px;padding:6px 7px}.anomaly-legend{font-size:10px;color:var(--muted);margin:0 0 12px;padding:8px 12px;background:#f0f4ed;border:1px solid var(--line);border-radius:8px}.anomaly-legend strong{color:var(--ink);margin-right:8px}.anomaly-legend b{font-weight:700;color:var(--ink)}
.attendance-selectors{align-items:end}.attendance-selectors label{display:flex;flex-direction:column;gap:5px;font-size:10px;color:var(--muted)}.attendance-selectors select{min-width:220px}
.attendance-nav{display:flex;gap:6px}
.processed-block{margin-bottom:24px}.processed-table{table-layout:auto;min-width:max-content}.processed-table th,.processed-table td{padding:8px 10px;text-align:center;min-width:52px}.processed-table thead th{position:sticky;top:0;z-index:3}.processed-table th:first-child,.processed-table td:first-child{position:sticky;left:0;z-index:2;background:#fff;text-align:left;min-width:170px}.processed-table thead th:first-child{z-index:4;background:#f9faf7}.processed-table th small{display:block;font-weight:400;font-size:8px;margin-top:3px}.processed-table .weekend{background:#f3f5f0}.processed-table .total{background:#e8f0e8;font-weight:700;min-width:80px}.processed-table tbody tr:first-child th{font-weight:650}
.dashboard-daily-table{table-layout:auto;min-width:max-content}.dashboard-daily-table th,.dashboard-daily-table td{padding:8px 9px;text-align:center;min-width:58px}.dashboard-daily-table th:first-child,.dashboard-daily-table td:first-child{text-align:left;position:sticky;left:0;background:#fff;z-index:2;min-width:170px}.dashboard-daily-table th:nth-child(2),.dashboard-daily-table td:nth-child(2){position:sticky;left:170px;background:#fff;z-index:2;min-width:110px}.dashboard-daily-table thead th{position:sticky;top:0;z-index:3}.dashboard-daily-table th small{display:block;font-size:8px;font-weight:400;color:var(--muted);margin-top:2px}.dashboard-daily-table .total{background:#e8f0e8;font-weight:700;min-width:76px}.dashboard-chart{border-top:1px solid var(--line);padding:18px 24px 22px}.chart-toolbar{display:flex;justify-content:flex-end;margin-bottom:8px}.chart-toolbar label{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:11px}.chart-toolbar select{min-width:210px}.chart-nav{display:flex;gap:5px;margin-left:8px}.dashboard-balance-chart{width:100%;height:230px;display:block}.dashboard-balance-chart .chart-day-label{font-size:11px;fill:var(--ink)}.dashboard-balance-chart .chart-axis-label{font-size:9px;fill:var(--muted)}

.driver-picker{position:relative;min-width:230px}.driver-picker summary{cursor:pointer;list-style:none;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:white}.driver-picker summary::-webkit-details-marker{display:none}.driver-picker-menu{position:absolute;top:100%;left:0;width:280px;max-width:80vw;z-index:8;background:white;border:1px solid var(--line);border-radius:8px;padding:8px;box-shadow:0 6px 18px #21352b22}.driver-picker-menu input{width:100%;box-sizing:border-box;margin-bottom:6px}#anomaly-driver-options{max-height:260px;overflow:auto}#anomaly-driver-options button{display:block;width:100%;text-align:left;padding:9px;border:0;background:white;color:var(--ink);cursor:pointer}#anomaly-driver-options button:hover,#anomaly-driver-options button:focus-visible,#anomaly-driver-options button[aria-pressed="true"]{background:var(--green-light)}

.anomaly-table .anomaly-employee{white-space:normal;min-width:110px}.anomaly-employee .employee-name,.anomaly-first-name{display:block;white-space:normal}

.shifts-sheet{display:block;width:100%;height:75vh;min-height:500px;border:0;border-top:1px solid var(--line)}.shifts-help{padding:0 24px 16px;font-size:12px;color:var(--muted)}

.weekly-shifts{width:100%;min-width:1350px;table-layout:fixed;border-collapse:collapse}.weekly-shifts th,.weekly-shifts td{padding:5px;border:1px solid var(--line);white-space:normal;vertical-align:top}.weekly-shifts thead th{text-align:center;background:var(--green-light);padding:8px 3px}.weekly-shifts th:first-child{width:130px}.weekly-shifts th:last-child{width:65px}.weekly-shifts tbody th{position:sticky;left:0;background:white;z-index:1}.weekly-shifts tbody th input{width:100%;min-width:0;box-sizing:border-box;margin:0;padding:5px 2px;border:0;background:transparent;font-size:11px}.weekly-shifts tbody th input[data-field="operator"]{font-weight:bold}.shift-cell{display:block;width:100%;padding:3px;border:0;background:transparent;text-align:left;font:inherit;white-space:normal;color:var(--ink);cursor:pointer}.shift-cell:hover:not(:disabled){background:var(--green-light)}.shift-cell:disabled{opacity:1;cursor:default}.shift-cell span{display:block;overflow-wrap:anywhere}.shift-activity{font-size:11px;line-height:1.35}.shift-hours{font-size:11px;font-weight:700;margin-top:5px}.shift-vehicle{font-size:10px;color:var(--muted);line-height:1.3;margin-top:4px}.shift-total{font-weight:bold;text-align:center}.weekly-shifts tbody tr:nth-child(even){background:#f8faf6}
