/* Final UAT: shared controls and the explicitly approved component refinements. */
.warehouse-choice-control{display:flex;align-items:center;gap:4px;flex-wrap:wrap;min-width:0}.warehouse-choice-control>[hidden]{display:none!important}.warehouse-choice-control>button{height:34px;min-height:34px;font-size:13px;font-weight:400;padding:6px 12px;border:1px solid #ddd;background:#fff;color:#555;border-radius:5px}.warehouse-choice-control>button.selected{background:#e8e8e8;border-color:#aaa;color:#333}.warehouse-choice-control>button[data-value=highest]{color:#a34848}.warehouse-choice-control>button[data-value=highest].selected{background:#f4e9e9;border-color:#c99c9c}
body .final-project-toolbar{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;gap:10px;align-items:center;margin-bottom:14px}body .final-project-toolbar>#project-search{flex:0 1 260px!important;width:260px;max-width:100%;height:34px;margin:0}body .final-project-toolbar .hidden{display:none!important}.project-state-switch{display:flex;flex-wrap:wrap;gap:4px}.project-state-switch button{white-space:nowrap}.project-state-switch button.active{background:#42464b;color:#fff;border-color:#42464b}.project-archive-query{color:#777}.final-project-list{table-layout:fixed;width:100%}body .view[data-panel=projects] .project-table.final-project-list th:nth-child(1){width:38%!important}body .view[data-panel=projects] .project-table.final-project-list th:nth-child(2){width:16%!important}body .view[data-panel=projects] .project-table.final-project-list th:nth-child(3){width:26%!important}body .view[data-panel=projects] .project-table.final-project-list th:nth-child(4){width:132px!important}body .final-project-list td{padding:9px 12px!important;height:auto!important;vertical-align:middle!important}body .final-project-list .final-project-actions{display:inline-flex!important;flex-flow:row nowrap!important;gap:6px;align-items:center;white-space:nowrap}body .final-project-list .final-project-actions button{margin:0!important;display:inline-flex!important;align-items:center;justify-content:center;height:34px;min-height:34px;padding:6px 12px;flex:0 0 auto}.project-more-trigger{width:34px!important;min-width:34px!important;padding:0!important;font-size:20px!important}.project-archived-mark{display:inline-block;margin-left:8px;color:#777;font-size:12px;font-weight:400}.project-action-menu{position:fixed;inset:auto;margin:0;min-width:140px;padding:5px;border:1px solid #ddd;border-radius:6px;background:#fff;box-shadow:0 4px 14px #0001}.project-action-menu button{display:block;width:100%;border:0;background:#fff;text-align:left;padding:8px 12px;margin:0}.danger-action{color:#a13c3c!important}.primary-button.danger-action{background:#a34747!important;border-color:#a34747!important;color:#fff!important}
.employee-person{display:flex;flex-direction:row;align-items:center;gap:10px;padding:9px 10px;min-height:58px}.employee-person-copy{display:flex;flex-direction:column;gap:3px;min-width:0}.employee-person.selected{background:#eee;color:#333}.employee-person.selected small{color:#777}.employee-avatar{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;min-width:32px;border-radius:50%;font-size:14px;font-weight:500;flex-shrink:0}.employee-avatar.large{width:40px;height:40px;min-width:40px;font-size:17px}.employee-work>.employee-section-head>div:not(.button-row){flex:1;min-width:0}.employee-work>.employee-section-head .button-row{margin-left:auto}.employee-plate{display:flex;align-items:center;gap:9px;min-width:0}.employee-plate-icon{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;min-width:28px;border-radius:6px;background:#f0f0ef;color:#777}.employee-plate-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5}.employee-vehicle-dialog .warehouse-choice-control{margin-top:5px}.employee-vehicle-dialog .employee-vehicle-dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.employee-vehicle-dialog .employee-vehicle-dates[hidden],.employee-vehicle-dialog label[hidden]{display:none!important}.employee-vehicle-dialog .employee-vehicle-fields>label{margin:0}.employee-fleet-table .employee-project-link{background:#f3f3f3;color:#666}
body .todo-dialog{box-sizing:border-box;width:min(560px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0!important;margin:auto;overflow:hidden;border-radius:8px}body .todo-dialog>.confirm-dialog-head{display:flex;align-items:center;justify-content:space-between;flex-shrink:0;padding:12px 16px;margin:0;background:#fff;border-bottom:1px solid #eee}body .todo-dialog .confirm-dialog-head h2{font-size:15px;margin:0}body .todo-compact-form{box-sizing:border-box;display:flex;flex-direction:column;gap:12px;max-height:calc(100dvh - 90px);overflow:auto;padding:16px;margin:0;min-height:0}body .todo-compact-form>label,.todo-assignment>label{display:flex;flex-direction:column;gap:5px;margin:0;font-size:13px;font-weight:400}body .todo-compact-form :is(input:not([type=checkbox]),select,textarea){box-sizing:border-box;min-width:0;width:100%;font-size:13px;font-weight:400;padding:6px 10px;border:1px solid #ddd;border-radius:5px}body .todo-compact-form :is(input:not([type=checkbox]),select){height:34px;min-height:34px}body .todo-compact-form select[hidden]{display:none!important}body .todo-compact-form label[hidden]{display:none!important}.todo-assignment{display:grid;gap:6px}.todo-field-label{font-size:13px}.todo-compact-form .todo-date-range{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}.todo-compact-form .todo-date-trigger{height:34px;min-height:34px;width:100%;font-size:13px}.todo-more-settings{padding:0;border:0;border-top:1px solid #eee;margin:0}.todo-more-settings>summary{font-size:13px;color:#666;padding:10px 0;cursor:pointer}.todo-more-settings>label{display:flex;flex-direction:column;gap:5px;margin:8px 0;font-size:13px}.todo-compact-form>.confirm-actions{position:sticky;bottom:-16px;flex-shrink:0;display:flex;justify-content:flex-end;align-items:center;gap:8px;padding:12px 0 16px;margin:0;background:#fff;border-top:1px solid #eee;z-index:3}.todo-dialog .todo-date-popup{z-index:20}.todo-dialog .todo-detail,.todo-dialog .todo-history{padding:16px;max-height:calc(100dvh - 110px);overflow:auto}
body .material-list-confirm-action{display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap;background:#e4e6e7!important;color:#40464b!important;border-color:#c4c8cb!important;font-weight:500!important}body .material-list-confirm-action svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6}body .material-list-confirm-action.material-list-confirmed{background:#e7efe8!important;color:#507059!important;border-color:#bdcdbf!important;opacity:1}body .u38-head h3,.mobile-section-head h3{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:0}body .u38-head h3 .material-list-state,.mobile-section-head h3 .material-list-state{font-size:12px;font-weight:400;color:#888}.material-list-state.confirmed{color:#5d7a62!important}.u38-title-extra{align-self:center;white-space:nowrap}.material-list-pending{font-size:12px;color:#777;padding:7px 12px;margin:0;line-height:1.5}.u313-container-dialog .confirm-actions{border-top:0!important}.u35-category-dialog{width:min(590px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0;overflow:auto;border-radius:8px}.u35-category-dialog .confirm-dialog-head{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-bottom:1px solid #eee}.u35-category-dialog h2{font-size:15px;margin:0}.u35-category-body{padding:12px 16px}.u35-category-edit,.u35-category-row{display:flex;align-items:center;gap:8px;min-height:48px;padding:7px 0;border-bottom:1px solid #eee;min-width:0}.u35-category-row>div:first-child{flex:1;min-width:0}.u35-category-row strong{display:block;font-size:14px;font-weight:500}.u35-category-row small{display:block;font-size:12px}.u35-category-actions{display:flex;gap:4px}.u35-category-row input,.u35-category-edit input{flex:1;min-width:0;width:auto}.u35-icon-action{width:34px;min-width:34px;height:34px;padding:7px;border:0;background:none;color:#777}.u35-icon-action svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5}.u35-icon-action:disabled{opacity:.35}.u35-category-delete{width:100%;font-size:13px}.u35-category-delete select{width:100%;margin-bottom:8px}.u35-category-delete button{margin-right:6px}.u35-category-dialog>.form-message{padding:0 16px}
body .u3-location-page details.warehouse-location-history{border:0;border-top:1px solid #e6e6e6;border-radius:0;background:#fff}body .u3-location-page details.warehouse-location-history>summary{height:40px;min-height:40px;padding:7px 0;background:#fff;font-size:13px;font-weight:400}body .warehouse-location-history>summary>svg:first-child{transform:none;width:15px;height:15px}body .warehouse-location-history>summary>svg:nth-child(2){margin-left:auto;order:3}body .warehouse-location-history[open]>summary>svg:nth-child(2){transform:rotate(90deg)}body .warehouse-location-history-body>.u3-filters{display:grid;grid-template-columns:minmax(130px,160px) minmax(130px,160px) 130px 125px minmax(160px,1fr) 64px;gap:8px;align-items:center;margin-bottom:12px}body .warehouse-location-history-body>.u3-filters>*{min-width:0;box-sizing:border-box;width:100%;margin:0;height:var(--warehouse-control-height,34px);font-size:13px}body .warehouse-location-history-body .warehouse-date-control{height:var(--warehouse-control-height,34px)}body .warehouse-location-history-body>.u3-table{width:100%;table-layout:fixed;min-width:700px}body .warehouse-location-history-body>.u3-table th,body .warehouse-location-history-body>.u3-table td{vertical-align:top;text-align:left;padding:10px 9px;overflow-wrap:anywhere}body .warehouse-location-history-body>.u3-table :is(th,td):nth-child(1){width:145px}body .warehouse-location-history-body>.u3-table :is(th,td):nth-child(3){width:85px}body .warehouse-location-history-body>.u3-table :is(th,td):nth-child(4){width:90px}body .warehouse-location-history-body>.u3-table :is(th,td):nth-child(5){width:150px}body .warehouse-location-history-body>.u3-table :is(th,td):nth-child(6){width:90px}
@media(max-width:1100px){body .warehouse-location-history-body>.u3-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){body .final-project-toolbar>#project-search{flex:1 1 100%!important;width:100%}body .final-project-list .final-project-actions{justify-content:flex-end}.project-state-switch{width:100%}.project-state-switch button{flex:1 1 auto;padding-inline:8px}.todo-compact-form :is(input:not([type=checkbox]),select,textarea),.employee-vehicle-fields :is(input:not([type=hidden]),select){font-size:16px!important}.todo-compact-form .warehouse-choice-control button{flex:1}.u35-category-row{flex-wrap:wrap}body .warehouse-location-history-body>.u3-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.mobile-section-head{align-items:flex-start}.mobile-section-head>small{font-size:12px;white-space:nowrap;line-height:20px}.mobile-section-head h3{font-size:14px;min-width:0}.mobile-section-head h3 .material-list-state{max-width:140px;font-size:12px;text-align:left}}
@media(pointer:coarse){.warehouse-choice-control>button,.project-state-switch>button,.project-action-menu button,.todo-compact-form :is(input:not([type=checkbox]),select,.todo-date-trigger),.u35-icon-action{min-height:44px}.u35-icon-action{width:44px;min-width:44px}.todo-compact-form{--warehouse-control-height:44px}.todo-compact-form .todo-date-trigger{height:44px}.warehouse-location-history-body{--warehouse-control-height:44px}}

.employee-workspace .button-row>button[hidden]{display:none!important}

.employee-plate strong{min-width:0;overflow-wrap:anywhere}

@media(pointer:coarse){body .final-project-list .final-project-actions button{height:44px!important;min-height:44px!important}.project-more-trigger{width:44px!important;min-width:44px!important}}
