:root{font-family:Microsoft YaHei UI,Microsoft YaHei,PingFang SC,Noto Sans SC,system-ui,sans-serif;color:#13213a;background:#fff;font-synthesis:none;--blue: #1769e8;--blue-strong: #0f5dd7;--blue-soft: #edf5ff;--green: #18883a;--green-soft: #edf9f0;--amber: #e58b00;--amber-soft: #fff8e8;--red: #d92d20;--red-soft: #fff1f0;--ink: #13213a;--muted: #667085;--border: #d8dee8;--border-strong: #c3ccd9;--chrome: #f7f9fc;--row: #fbfcfe;--radius: 8px}*{box-sizing:border-box}html,body,#root{min-width:320px;min-height:100%;margin:0}body{min-height:100vh;background:#fff}button,input,select{font:inherit}button{color:inherit}.app-shell{min-height:100vh;display:flex;flex-direction:column}.topbar{height:64px;display:flex;align-items:stretch;border-bottom:1px solid var(--border);padding:0 26px;gap:24px;background:#fff;flex:0 0 auto}.brand{border:0;background:transparent;color:var(--ink);padding:0;font-size:22px;line-height:64px;font-weight:750;letter-spacing:.02em;cursor:pointer}.primary-nav{display:flex;align-items:stretch;gap:8px}.nav-link{position:relative;min-width:108px;border:0;background:transparent;font-size:16px;font-weight:560;cursor:pointer}.nav-link:after{content:"";position:absolute;left:16px;right:16px;bottom:0;height:3px;background:transparent}.nav-link:hover,.nav-link.active{color:var(--blue)}.nav-link.active:after{background:var(--blue)}.topbar-spacer{flex:1}.project-switch,.role-menu,.project-label{border:0;background:transparent;display:flex;align-items:center;gap:8px;color:#344054;cursor:pointer;font-size:14px}.project-switch{max-width:210px}.project-label{max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:default}.project-switch span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-switch:hover,.role-menu:hover{color:var(--blue)}.avatar-dot{width:9px;height:9px;border-radius:50%;background:var(--blue)}.button{min-height:40px;border-radius:7px;border:1px solid var(--border-strong);background:#fff;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 15px;font-size:14px;font-weight:600;cursor:pointer;transition:border-color .16s ease,background .16s ease,color .16s ease,transform .16s ease}.button:hover:not(:disabled){border-color:#8ea0b9;background:#f9fbfe}.button:active:not(:disabled){transform:translateY(1px)}.button:focus-visible,.icon-button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid rgba(23,105,232,.18);outline-offset:1px}.button:disabled{opacity:.48;cursor:not-allowed}.button.compact{min-height:38px;padding:0 13px}.button.primary{color:#fff;background:var(--blue);border-color:var(--blue)}.button.primary:hover:not(:disabled){color:#fff;background:var(--blue-strong);border-color:var(--blue-strong)}.button.confirm{color:#fff;background:var(--green);border-color:var(--green)}.button.confirm:hover:not(:disabled){color:#fff;background:#137732;border-color:#137732}.button.outline{color:var(--blue);border-color:var(--blue)}.button.outline:hover:not(:disabled){background:var(--blue-soft)}.daily-page{min-height:calc(100vh - 64px);display:flex;flex-direction:column}.date-toolbar{min-height:66px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:9px 24px;border-bottom:1px solid var(--border)}.date-nav{display:flex;align-items:center;gap:12px}.current-date{display:flex;align-items:center;gap:10px;min-width:250px;justify-content:center}.current-date strong{font-size:19px;font-weight:690}.current-date input{width:132px;height:34px;border:1px solid var(--border);border-radius:7px;padding:0 7px;color:var(--ink);background:#fff;font:inherit}.save-state{display:flex;align-items:center;gap:8px;color:#475467;font-size:14px}.save-state span{width:8px;height:8px;border-radius:50%;background:#1ba445}.save-state.dirty span{background:var(--amber);animation:pulse 1s ease-in-out infinite}@keyframes pulse{50%{opacity:.45}}.inline-alert{margin:12px 28px 0;min-height:42px;border:1px solid;border-radius:6px;display:flex;align-items:center;gap:10px;padding:8px 13px;font-size:14px}.inline-alert.warning{color:#7a4c00;background:var(--amber-soft);border-color:#efb544}.inline-alert.success{color:#12612b;background:#effaf2;border-color:#9ed4ad}.inline-alert.danger{color:#9f1b12;background:#fff1ef;border-color:#e77d72}.daily-import-alert{align-items:flex-start}.daily-import-alert>div{display:flex;flex-direction:column;gap:4px}.daily-import-alert span,.daily-import-alert small{line-height:1.45}.daily-import-alert small{color:#80622d}.daily-steps{min-height:46px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:7px 28px;color:#475467;background:#fbfcfe;border-bottom:1px solid #edf0f5;font-size:13px}.daily-steps span{display:flex;align-items:center;gap:8px}.daily-steps b{width:24px;height:24px;display:grid;place-items:center;border-radius:50%;color:#fff;background:var(--blue);font-size:12px}.department-tabs{height:50px;display:flex;align-items:end;gap:16px;padding:0 24px;border-bottom:1px solid var(--border)}.department-tabs button,.report-tabs button,.employee-tabs button,.photo-tabs button{position:relative;border:0;background:transparent;cursor:pointer;padding:15px 12px 13px;font-weight:560;color:#475467}.department-tabs button:after,.report-tabs button:after,.employee-tabs button:after,.photo-tabs button:after{content:"";position:absolute;height:2px;left:8px;right:8px;bottom:0;background:transparent}.department-tabs button.active,.report-tabs button.active,.employee-tabs button.active,.photo-tabs button.active{color:var(--blue)}.department-tabs button.active:after,.report-tabs button.active:after,.employee-tabs button.active:after,.photo-tabs button.active:after{background:var(--blue)}.department-tabs-spacer{flex:1}.department-quick-status{align-self:center;color:#667085;font-size:12px}.department-tabs .daily-help-button{align-self:center;display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;color:var(--blue);padding:8px 5px;font-size:12px;cursor:pointer}.department-tabs .daily-help-button:after{display:none}.daily-workspace{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,3fr) minmax(280px,1fr)}.daily-workspace.focus-mode{grid-template-columns:minmax(0,1fr)}.daily-workspace.focus-mode .photo-panel{display:none}.grid-panel{min-width:0;min-height:0;display:flex;flex-direction:column;border-right:1px solid var(--border)}.grid-actions{min-height:58px;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 16px}.action-group{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.action-group.right{justify-content:flex-end}.grid-helper-row{min-height:46px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 16px;background:#fbfcff;border-top:1px solid #edf0f5}.transfer-picker{display:flex;align-items:center;gap:8px;color:#475467;font-size:13px}.transfer-picker select{height:34px;min-width:210px;border:1px solid var(--border-strong);border-radius:6px;background:#fff;padding:0 28px 0 9px;color:var(--ink)}.employee-search-control{width:min(310px,40vw);min-width:220px;height:34px;display:flex;align-items:center;gap:7px;border:1px solid var(--border-strong);border-radius:6px;background:#fff;padding:0 9px;color:#667085}.employee-search-control:focus-within{border-color:var(--blue);box-shadow:0 0 0 2px #dbeafe}.employee-search-control input{width:100%;min-width:0;height:30px;border:0;outline:0;color:var(--ink);background:transparent;font:inherit}.employee-search-control:has(input:disabled){opacity:.6;background:#f2f4f7}.grid-view-actions{display:flex;align-items:center;gap:8px}.grid-view-actions .button{flex-shrink:0;white-space:nowrap}.punch-status-button{color:#245da8;border-color:#b9d2f4;background:#f3f8ff}.punch-status-button b{display:inline-flex;border-radius:999px;color:#fff;background:#175cd3;padding:2px 7px;font-size:10px}.punch-status-button.warning{color:#8a4b00;border-color:#efc16d;background:#fff8e8}.punch-status-button.warning b{background:#c97800}.punch-overview{margin:0;padding:10px 20px;border-top:1px solid #edf0f5;border-bottom:1px solid #edf0f5;background:#fbfcff;color:#667085}.punch-overview.has-data{background:#f3f8ff;border-color:#d7e6fb}.punch-overview-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px}.punch-overview-heading strong{color:#1d2939;font-size:13px}.punch-overview-empty{display:block;margin-top:6px;color:#7b8798}.punch-candidate-list{display:flex;gap:8px;margin-top:9px;padding-bottom:2px;overflow-x:auto}.punch-candidate{min-width:240px;display:grid;grid-template-columns:minmax(75px,1fr) auto;gap:4px 10px;align-items:center;border:1px solid #b9d2f4;border-radius:7px;background:#fff;padding:7px 9px;color:var(--ink);text-align:left}.punch-candidate:hover{border-color:var(--blue);background:#f7fbff}.punch-candidate span{min-width:0}.punch-candidate strong,.punch-candidate small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.punch-candidate small{color:#98a2b3;font-size:10px}.punch-candidate b{font-size:11px;color:#245da8;white-space:nowrap}.punch-candidate-actions{grid-column:1 / -1;display:flex;gap:6px}.punch-candidate-actions button{border:0;border-radius:5px;background:#eaf3ff;color:var(--blue);padding:4px 7px;font-size:10px;cursor:pointer}.punch-candidate-actions button:last-child{background:#fff7e8;color:#8a5c00}.punch-candidate-actions button:disabled{cursor:not-allowed;opacity:.55}.punch-unassigned-warning{margin-top:8px;border:1px solid #f2cf87;border-radius:7px;background:#fff9eb;padding:7px 9px;color:#8a5c00;font-size:11px;line-height:1.45}.punch-unresolved-warning{margin-top:8px;border:1px solid #f2a7a0;border-radius:7px;background:#fff4f2;padding:7px 9px;color:#b42318;font-size:11px;line-height:1.45}.helper-note{color:#7b8798;font-size:12px}.grid-summary{min-height:38px;display:flex;align-items:center;gap:20px;padding:0 16px;border-top:1px solid #edf0f5;border-bottom:1px solid var(--border);font-size:13px}.grid-summary strong{font-size:16px}.needs-review{color:var(--amber);font-weight:650}.all-clear{color:var(--green);font-weight:650}.locked{margin-left:auto;display:flex;align-items:center;gap:6px;color:#475467}.attendance-grid-wrap{min-width:0;flex:1;overflow:auto}.attendance-grid,.report-table,.employee-table{border-collapse:separate;border-spacing:0;width:100%;font-size:13.5px}.attendance-grid{min-width:1260px}.attendance-grid th,.attendance-grid td{border-right:1px solid var(--border);border-bottom:1px solid var(--border);height:56px;padding:0;background:#fff}.attendance-grid th{position:sticky;top:0;z-index:4;height:50px;background:var(--chrome);color:#27364f;font-weight:650;text-align:center;white-space:nowrap}.attendance-grid th:first-child,.attendance-grid td:first-child{border-left:1px solid var(--border)}.attendance-grid tbody tr:nth-child(2n) td{background:#fcfdff}.attendance-grid tbody tr.selected td{background:#eef5ff}.attendance-grid tbody tr.selected td:first-child{box-shadow:inset 3px 0 var(--blue)}.row-number{width:42px;min-width:42px;text-align:center;color:#667085}.employee-cell{width:122px;min-width:122px;padding:7px 12px!important}.employee-cell strong{display:block;font-weight:650}.employee-cell span{display:block;color:#98a2b3;font-size:11px;margin-top:3px}.employee-cell .raw-punch-line{margin-top:7px;color:#245da8;font-weight:650;line-height:1.4}.attendance-grid th:nth-child(3),.attendance-grid td:nth-child(3){width:92px;min-width:92px;text-align:center}.attendance-grid th:nth-child(4),.attendance-grid td:nth-child(4),.attendance-grid th:nth-child(5),.attendance-grid td:nth-child(5),.attendance-grid th:nth-child(6),.attendance-grid td:nth-child(6),.attendance-grid th:nth-child(7),.attendance-grid td:nth-child(7){width:142px;min-width:142px}.attendance-grid th:nth-child(8),.attendance-grid td:nth-child(8){width:90px;min-width:90px}.attendance-grid th:nth-child(9),.attendance-grid td:nth-child(9){width:140px;min-width:140px}.attendance-grid th:nth-child(10),.attendance-grid td:nth-child(10){width:174px;min-width:174px}.attendance-grid th:nth-child(11),.attendance-grid td:nth-child(11){min-width:160px}.grid-input{width:100%;height:100%;min-width:0;border:0;background:transparent;padding:0 10px;color:var(--ink);text-align:center;border-radius:0}.grid-input::placeholder{color:#c0c7d2}.grid-input:focus{position:relative;z-index:2;outline:2px solid var(--blue);outline-offset:-2px;background:#fff}.grid-input.suggested{color:var(--blue);background:#edf5ff}.grid-input.warning{color:#a15c00;background:var(--amber-soft)}.grid-input.late{color:var(--red);background:var(--red-soft)}select.grid-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding-right:20px}.hours-cell{text-align:center;font-weight:650}.exception-cell{position:relative;color:var(--red)}.exception-cell select{height:31px;text-align:center}.exception-cell span{display:block;font-size:11px;text-align:center;margin-top:-4px;padding-bottom:4px}.overtime-cell{display:grid;grid-template-columns:70px 1fr;height:33px;border-bottom:1px solid #edf0f5}.overtime-cell .grid-input{font-size:12px;padding:0 5px}.overtime-cell .grid-input+.grid-input{border-left:1px solid #edf0f5}.no-break-toggle{display:flex;align-items:center;justify-content:center;gap:5px;height:22px;color:var(--muted);font-size:10.5px;white-space:nowrap}.no-break-toggle input{width:13px;height:13px;margin:0}.empty-table{color:#98a2b3;text-align:center;padding:34px!important}.new-employee-grid-row td{background:#f6f9fd;border-bottom:2px solid #b9d2f4}.new-employee-grid-row input,.new-employee-grid-row select{width:100%;min-height:34px;border:1px solid #b8c5d6;border-radius:5px;background:#fff;padding:6px 8px;color:var(--ink);font:inherit}.new-employee-grid-row input:focus,.new-employee-grid-row select:focus{outline:2px solid #b9d7ff;border-color:var(--blue)}.new-employee-identity,.new-row-shift{display:flex;flex-direction:column;gap:7px}.new-row-label{display:block;color:#245da8;font-size:11px;font-weight:700}.new-row-result{color:#667085;text-align:center;font-size:11px;line-height:1.5;padding-top:25px!important}.create-row-button{width:100%;justify-content:center;margin-top:28px}.grid-footer{min-height:50px;border-top:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 20px;color:#667085;font-size:12.5px}.grid-footer>span,.grid-footer>div{display:flex;align-items:center;gap:16px}.text-button{border:0;background:transparent;color:var(--blue);padding:4px;cursor:pointer;font-weight:600}.text-button:hover{text-decoration:underline}.simplified-grid-wrap{min-height:520px;flex:1 1 auto}.attendance-grid.simplified-grid{min-width:1040px}.simplified-grid th:nth-child(2),.simplified-grid td:nth-child(2){width:124px;min-width:124px}.simplified-grid th:nth-child(3),.simplified-grid td:nth-child(3){width:106px;min-width:106px}.simplified-grid th:nth-child(4),.simplified-grid td:nth-child(4),.simplified-grid th:nth-child(5),.simplified-grid td:nth-child(5){width:255px;min-width:255px}.simplified-grid th:nth-child(6),.simplified-grid td:nth-child(6){width:100px;min-width:100px}.simplified-grid th:nth-child(7),.simplified-grid td:nth-child(7){width:150px;min-width:150px}.simplified-grid td{height:128px;vertical-align:top}.simplified-grid .employee-cell{padding-top:13px!important}.employee-cell em{display:inline-flex;margin-top:7px;padding:2px 6px;border-radius:10px;color:#245da8;background:#eaf3ff;font-size:10px;font-style:normal}.employee-cell .punch-draft-badge{max-width:100%;display:flex;flex-wrap:wrap;gap:5px;color:#175cd3;background:#dbeafe;font-weight:700}.punch-draft-badge button{border:0;border-radius:999px;color:#fff;background:#175cd3;padding:2px 6px;font:inherit;cursor:pointer}.employee-cell .punch-draft-badge span{display:inline;margin:0;color:#8a5c00;font-size:9px;font-weight:700}.employee-cell .punch-off-stale-badge{max-width:100%;display:flex;flex-wrap:wrap;gap:5px;color:#b42318;background:#fee4e2;font-weight:700}.punch-off-stale-badge button{border:0;border-radius:999px;color:#fff;background:#b42318;padding:2px 6px;font:inherit;cursor:pointer}.employee-row-actions{display:flex;flex-direction:column;align-items:flex-start;gap:4px;margin-top:8px}.remove-row-button{width:100%;min-height:24px;display:inline-flex;align-items:center;gap:4px;border:0;color:#667085;background:transparent;padding:2px 0;font-size:10.5px;cursor:pointer}.remove-row-button:hover:not(:disabled){color:#b42318}.remove-row-button:disabled{cursor:default;opacity:.5}.move-row-button{width:100%;min-height:24px;display:inline-flex;align-items:center;gap:4px;border:0;color:#175cd3;background:transparent;padding:2px 0;font-size:10.5px;cursor:pointer}.move-row-button:hover:not(:disabled){text-decoration:underline}.move-row-button:disabled{cursor:default;opacity:.5}.employee-cell .draft-transfer-hint{margin-top:7px;color:#8a5c00;font-size:9px;line-height:1.35}.position-input{height:100%;min-height:127px}.shift-editor{min-height:127px;display:grid;grid-template-rows:31px 31px 31px 1fr;padding:7px;gap:4px}.shift-editor.has-meal-choice{min-height:158px;grid-template-rows:31px 31px 31px 27px 1fr}.shift-editor .grid-input{height:31px;border:1px solid #dfe4ec;border-radius:5px;background:#fff;padding:0 7px;text-align:left;font-size:12px}.shift-editor select.grid-input{color:#344054;font-weight:650;background:#f8fafc}.shift-editor.shift-年假 select,.shift-editor.shift-公假 select{color:#a52a65;background:#fff0f6;border-color:#f0bfd4}.shift-editor.shift-休息 select,.shift-editor.shift-缺勤 select,.shift-editor.shift-请假 select{color:#715600;background:#fff8dd;border-color:#ead99a}.shift-type-result{grid-row:span 2;display:flex;align-items:center;justify-content:center;border:1px dashed #d7dce5;border-radius:5px;color:#667085;background:#fbfcfe;font-size:12px;text-align:center;padding:6px}.leave-reason-block{grid-row:span 2;display:flex;flex-direction:column;justify-content:center;gap:5px;border:1px solid #ead99a;border-radius:5px;background:#fffdf4;padding:5px 7px;color:#715600;font-size:10.5px}.leave-reason-block input{width:100%;height:31px;border:1px solid #d8bd63;border-radius:5px;background:#fff;padding:0 7px;color:var(--ink);font-size:12px}.leave-reason-block input:invalid{border-color:#d92d20;box-shadow:0 0 0 1px #d92d20 inset}.shift-result-line{display:flex;flex-wrap:wrap;align-content:center;gap:3px 9px;color:#667085;font-size:10.5px;line-height:1.25}.shift-result-line span:first-child{color:#344054;font-weight:700}.meal-choice{min-width:0;display:flex;align-items:center;gap:5px;color:#667085;font-size:9.5px}.meal-choice>span{flex:0 0 auto;font-weight:650}.meal-choice>div{flex:0 0 auto;display:inline-grid;grid-template-columns:1fr 1fr;gap:2px;padding:2px;border-radius:999px;background:#e9edf3;box-shadow:inset 0 0 0 1px #1018280a}.meal-choice button{min-width:38px;height:21px;border:0;border-radius:999px;color:#667085;background:transparent;padding:0 7px;font:inherit;font-weight:650;cursor:pointer}.meal-choice button.active{color:#101828;background:#fff;box-shadow:0 1px 3px #1018282e}.meal-choice button:disabled{cursor:default;opacity:.72}.meal-choice em{min-width:0;overflow:hidden;color:#245da8;font-size:9px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.pay-result-cell{padding:13px 8px!important;text-align:center}.pay-result-cell strong{display:block;color:var(--blue);font-size:18px}.pay-result-cell span,.pay-result-cell em{display:block;margin-top:5px;color:#667085;font-size:11px;font-style:normal}.pay-result-cell em{color:#8a5b00}.status-ok-cell,.simplified-grid .exception-cell{padding:12px 8px!important;text-align:center}.status-ok-cell>span,.simplified-grid .exception-cell>span{display:block;min-height:42px;color:#475467;font-size:11px;line-height:1.45}.simplified-grid .exception-cell>span{color:var(--red)}.row-detail-button{border:0;background:transparent;color:var(--blue);display:inline-flex;align-items:center;gap:4px;padding:5px;cursor:pointer;font-size:11px}.row-detail-button:hover{text-decoration:underline}.row-detail-panel{border-top:1px solid var(--border);background:#f8fbff;padding:14px 18px 16px}.row-detail-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:12px}.row-detail-heading>div:first-child{display:grid;grid-template-columns:auto auto;align-items:center;gap:4px 8px}.row-detail-heading>div:first-child span{grid-column:2;color:#667085;font-size:11px}.pay-formula{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:5px 9px;color:#475467;font-size:12px}.pay-formula strong{color:var(--blue)}.pay-formula em{padding:3px 7px;border-radius:4px;color:#344054;background:#eaf1fb;font-style:normal}.shift-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.shift-detail-card{border:1px solid #d9e1ed;border-radius:7px;background:#fff;padding:11px}.shift-detail-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}.shift-detail-title span{color:#667085;font-size:12px}.detail-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.detail-field-grid label,.detail-note{display:flex;flex-direction:column;gap:4px;color:#475467;font-size:11px}.detail-field-grid input,.detail-field-grid select,.detail-note input{width:100%;height:32px;border:1px solid var(--border-strong);border-radius:5px;background:#fff;padding:0 8px;color:var(--ink)}.detail-field-grid .detail-check{grid-column:1 / -1;flex-direction:row;align-items:center;min-height:30px}.detail-check input{width:15px;height:15px}.detail-field-grid .detail-wide{grid-column:1 / -1}.detail-note{margin-top:8px}.drawer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:89;border:0;background:#0f172a47;cursor:default}.attendance-detail-drawer,.punch-review-drawer,.daily-help-drawer{position:fixed;top:64px;right:0;bottom:0;z-index:90;display:grid;grid-template-rows:auto minmax(0,1fr) auto;border-left:1px solid var(--border);background:#fff;box-shadow:-16px 0 40px #10182833}.attendance-detail-drawer{width:min(620px,100vw)}.punch-review-drawer{width:min(520px,100vw)}.daily-help-drawer{width:min(460px,100vw)}.attendance-drawer-heading{min-height:86px;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 22px 16px;border-bottom:1px solid var(--border)}.attendance-drawer-heading>div{min-width:0;display:flex;flex-direction:column;gap:5px}.attendance-drawer-heading strong{color:var(--ink);font-size:20px}.attendance-drawer-heading small{color:#667085;font-size:11px;line-height:1.45}.drawer-kicker{display:inline-flex;align-items:center;gap:6px;color:var(--blue);font-size:11px;font-weight:700}.drawer-close-button{width:36px;height:36px;flex:0 0 auto;display:grid;place-items:center;border:0;border-radius:6px;background:transparent;cursor:pointer}.drawer-close-button:hover{background:#f2f4f7}.attendance-drawer-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:18px 22px 26px}.attendance-detail-drawer .shift-detail-grid{grid-template-columns:1fr}.drawer-pay-formula{justify-content:flex-start;margin-bottom:14px;padding:12px;border-radius:7px;background:#f3f8ff}.attendance-drawer-actions{display:flex;justify-content:flex-end;gap:9px;padding:13px 22px;border-top:1px solid var(--border);background:#fff;box-shadow:0 -8px 20px #1018280d}.button.danger-outline{color:#b42318;border-color:#efaaa4;background:#fff}.button.danger-outline:hover:not(:disabled){color:#912018;border-color:#d92d20;background:#fff4f2}.drawer-alert{margin-bottom:10px;border:1px solid;border-radius:7px;padding:9px 11px;font-size:12px;line-height:1.5}.drawer-alert.warning{color:#8a5c00;border-color:#f2cf87;background:#fff9eb}.drawer-alert.danger{color:#b42318;border-color:#f2a7a0;background:#fff4f2}.punch-record-list{display:flex;flex-direction:column;gap:9px}.punch-record-card{display:grid;grid-template-columns:minmax(120px,1fr) auto;gap:6px 12px;align-items:center;border:1px solid #dce3ed;border-radius:8px;padding:11px 12px;background:#fff}.punch-record-card.pending{border-color:#efc16d;background:#fffdf7}.punch-record-card.resolved{border-color:#abdfc3}.punch-record-card>div{min-width:0}.punch-record-card strong,.punch-record-card small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.punch-record-card small{margin-top:3px;color:#7b8798;font-size:10px}.punch-record-card b{color:#245da8;font-size:11px;white-space:nowrap}.punch-record-card button,.punch-record-state{grid-column:1 / -1;justify-self:start;border:0;border-radius:5px;background:#edf5ff;color:var(--blue);padding:5px 8px;font-size:11px;font-weight:650;cursor:pointer}.punch-record-card button:disabled{opacity:.5;cursor:not-allowed}.punch-record-state{color:#667085;background:#f2f4f7}.punch-record-actions{grid-column:1 / -1;display:flex;flex-wrap:wrap;gap:6px}.punch-record-card .punch-record-actions button{grid-column:auto;justify-self:auto}.punch-segment-actions{width:100%;display:grid;grid-template-columns:42px minmax(0,1fr) minmax(0,1fr);align-items:center;gap:6px}.punch-segment-label{color:#344054;font-size:11px;font-weight:750}.punch-record-card .punch-segment-actions button{width:100%;justify-content:center}.punch-record-card .punch-record-actions button.placed{color:#067647;background:#ecfdf3}.punch-record-card .punch-record-actions button.pending-placement{color:#8a5c00;background:#fff4d6}.punch-placement-summary{grid-column:1 / -1;display:flex;flex-wrap:wrap;gap:5px}.punch-placement-summary span{border-radius:999px;padding:3px 7px;font-size:10px;font-weight:650}.punch-placement-summary .placed{color:#067647;background:#ecfdf3}.punch-placement-summary .pending{color:#8a5c00;background:#fff4d6}.punch-placement-summary .danger{color:#b42318;background:#fff0ee}.punch-profile-warning{grid-column:1 / -1;color:#b42318;font-size:10px;line-height:1.45}.punch-record-hint{grid-column:1 / -1;color:#b54708;font-size:10px;line-height:1.45}.drawer-empty{padding:30px 12px;color:#7b8798;text-align:center}.help-sections{display:flex;flex-direction:column;gap:12px}.help-sections section{display:grid;grid-template-columns:30px minmax(0,1fr);gap:11px;padding:13px;border:1px solid #dce3ed;border-radius:8px}.help-sections section>b{width:26px;height:26px;display:grid;place-items:center;border-radius:50%;color:#fff;background:var(--blue);font-size:12px}.help-sections section>svg{margin:4px;color:var(--blue)}.help-sections strong{font-size:13px}.help-sections p{margin:5px 0 0;color:#667085;font-size:12px;line-height:1.65}.photo-panel{min-width:0;display:flex;flex-direction:column;padding:18px 22px 16px;background:#fff}.photo-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.photo-panel h2{font-size:18px;margin:5px 0 4px}.photo-panel-heading p{margin:0;color:#667085;font-size:12px}.photo-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}.photo-retention-note{margin:12px 0 0;padding:9px 11px;border:1px solid #c8dcf5;border-radius:8px;color:#315d91;background:#f3f8ff;font-size:12px;line-height:1.55}.photo-tabs{height:55px;display:flex;align-items:end;gap:4px;border-bottom:1px solid var(--border);margin-top:8px;overflow-x:auto}.photo-tabs button{white-space:nowrap}.photo-stage{border:0;background:#f1f3f6;padding:14px;margin-top:14px;flex:1;min-height:360px;overflow:hidden;overscroll-behavior:contain;display:flex;align-items:center;justify-content:center;cursor:default;touch-action:none;-webkit-user-select:none;user-select:none}.photo-stage.has-photo{cursor:grab}.photo-stage.has-photo.dragging{cursor:grabbing}.photo-stage img{max-width:100%;max-height:100%;object-fit:contain;transform-origin:center;transition:transform .12s ease;box-shadow:0 8px 20px #10182829;pointer-events:none;will-change:transform}.photo-stage.dragging img{transition:none}.photo-empty{color:#778397;display:flex;flex-direction:column;align-items:center;gap:8px}.photo-empty strong{color:#475467}.photo-empty span{font-size:12px}.photo-toolbar{min-height:54px;display:flex;align-items:center;gap:8px;padding-top:10px;color:#475467;font-size:13px}.photo-toolbar button{min-width:34px;height:34px;border:1px solid var(--border-strong);border-radius:6px;background:#fff;display:inline-flex;align-items:center;justify-content:center;gap:6px;cursor:pointer}.photo-toolbar button.fit{min-width:112px;margin-left:8px}.photo-toolbar button:disabled{opacity:.4}.photo-help{margin-left:auto;display:flex;align-items:center;gap:6px}.period-page,.employees-page{padding:22px 28px 36px}.period-heading{min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:18px}.period-title-row{display:flex;align-items:center;gap:16px}.period-title-row h1{font-size:24px;margin:0;font-weight:720}.icon-button{width:42px;height:42px;border:1px solid var(--border-strong);border-radius:7px;background:#fff;display:grid;place-items:center;cursor:pointer}.period-progress{color:var(--green);font-weight:700;margin-left:30px}.period-export-actions{display:flex;gap:10px}.period-quick-flow{min-height:48px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:7px 14px;margin:2px 0 12px;color:#475467;background:#f8fbff;border:1px solid #dce8fb;border-radius:var(--radius);font-size:13px}.period-quick-flow span{display:flex;align-items:center;gap:8px}.period-quick-flow b{width:24px;height:24px;display:grid;place-items:center;border-radius:50%;color:#fff;background:var(--blue);font-size:12px}.summary-band{min-height:86px;border:1px solid var(--border);border-radius:var(--radius);display:grid;grid-template-columns:repeat(4,1fr);margin:8px 0 14px}.summary-band>div{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;position:relative}.summary-band>div+div:before{content:"";position:absolute;left:0;height:48px;width:1px;background:var(--border)}.summary-band span{color:#475467;font-size:13px}.summary-band strong{font-size:19px}.period-page .inline-alert{margin:0 0 10px}.report-tabs{height:56px;display:flex;align-items:end;gap:12px;border-bottom:1px solid var(--border)}.report-table-wrap{overflow:auto;border:1px solid var(--border);border-top:0}.report-table{min-width:960px}.report-table th,.report-table td{height:46px;padding:7px 10px;border-right:1px solid var(--border);border-bottom:1px solid var(--border);text-align:center;background:#fff;white-space:nowrap}.report-table th{position:sticky;top:0;z-index:3;background:var(--chrome);font-weight:650}.report-table th small{display:block;margin-top:3px;color:#667085;font-weight:500}.report-table .sticky-col{position:sticky;z-index:4;background:#fff}.report-table th.sticky-col{z-index:6;background:var(--chrome)}.report-table .first{left:0;min-width:108px}.report-table .second{left:108px;min-width:70px;box-shadow:2px 0 #e8ecf2}.report-table tbody tr:nth-child(2n) td{background:#fcfdff}.report-table tbody tr:nth-child(2n) .sticky-col{background:#fcfdff}.report-table td.cell-warning{background:var(--amber-soft)!important;color:#875000}.wide-text{min-width:150px;text-align:left!important}.issues-section{margin-top:18px}.issues-section h2{font-size:17px;margin:0 0 9px}.issue-list{border:1px solid var(--border);border-radius:7px;overflow:hidden}.issue-row{min-height:50px;display:grid;grid-template-columns:120px 130px 1fr 80px 72px;gap:14px;align-items:center;padding:0 14px;border-bottom:1px solid var(--border);font-size:13px}.issue-row:last-child{border-bottom:0}.issue-row p{margin:0;color:#475467}.issue-row button{border:0;color:var(--blue);background:transparent;cursor:pointer;font-weight:600}.issues-clear{padding:18px;color:var(--green)}.employees-page{display:flex;gap:0;padding:0;min-height:calc(100vh - 64px)}.employees-main{flex:1;min-width:0;padding:28px 32px 24px}.employees-main h1{margin:0 0 22px;font-size:28px}.employee-actions{display:flex;gap:10px;margin-bottom:16px}.employee-import-help{max-width:760px;margin:-7px 0 16px;color:#667085;font-size:12px;line-height:1.55}.upload-dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:120;display:grid;place-items:center;padding:24px;background:#0f172a80;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.upload-dialog{width:min(620px,100%);max-height:calc(100vh - 48px);overflow:auto;border:1px solid #d7e0ec;border-radius:18px;background:#fff;box-shadow:0 28px 80px #0f172a3d}.upload-dialog>header{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;gap:20px;align-items:flex-start;padding:22px 24px 15px;border-bottom:1px solid #e8edf4;background:#fffffff7}.upload-dialog>header span{display:flex;align-items:center;gap:7px;color:#0b63ce;font-size:12px;font-weight:750}.upload-dialog>header h2{margin:5px 0 0;color:#10213b;font-size:23px}.upload-dialog>header button{display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:50%;color:#475467;background:#f3f6fa;cursor:pointer}.upload-dialog>header button:disabled{opacity:.45;cursor:default}.upload-dialog-help{margin:17px 24px 12px;color:#59677c;font-size:13px;line-height:1.65}.upload-policy-notice{margin:0 24px 12px;padding:10px 12px;border:1px solid #c8dcf5;border-radius:10px;color:#315d91;background:#f3f8ff;font-size:12px;line-height:1.55}.upload-drop-zone{position:relative;display:flex;min-height:182px;margin:0 24px;border:1.5px dashed #9fb8d8;border-radius:15px;align-items:center;justify-content:center;flex-direction:column;gap:6px;color:#1559a4;background:#f5f9ff;cursor:pointer;transition:border-color .16s ease,background .16s ease,transform .16s ease}.upload-drop-zone:hover,.upload-drop-zone.dragging{border-color:#1473e6;background:#eaf4ff;transform:translateY(-1px)}.upload-drop-zone.disabled{opacity:.65;cursor:wait;transform:none}.upload-drop-zone strong{margin-top:2px;color:#183153;font-size:16px}.upload-drop-zone span{color:#4d6f99;font-size:13px}.upload-drop-zone small{margin-top:6px;padding:0 20px;color:#76869d;text-align:center;line-height:1.45}.upload-drop-zone input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.upload-file-list{margin:14px 24px 0;border:1px solid #e0e7f0;border-radius:12px;overflow:hidden}.upload-file-list>div{display:flex;justify-content:space-between;padding:10px 13px;color:#4b5d74;background:#f8fafc;font-size:12px}.upload-file-list ul{max-height:174px;margin:0;padding:0;overflow:auto;list-style:none}.upload-file-list li{display:grid;grid-template-columns:minmax(0,1fr) auto 28px;gap:10px;align-items:center;padding:9px 10px 9px 13px;border-top:1px solid #edf1f6;color:#23344f;font-size:13px}.upload-file-list li span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.upload-file-list li small{color:#8290a3}.upload-file-list li button{display:grid;width:26px;height:26px;padding:0;border:0;border-radius:50%;place-items:center;color:#667085;background:transparent;cursor:pointer}.upload-file-list li button:hover{color:#b42318;background:#fff1f0}.upload-inline-error{margin:13px 24px 0;padding:10px 12px;border:1px solid #f1a7a0;border-radius:10px;color:#a61b13;background:#fff3f2;font-size:13px;line-height:1.5}.upload-rejected-files{max-height:132px;margin:8px 0 0;padding:7px 0 0;overflow:auto;border-top:1px solid #f1c5c1;list-style:none}.upload-rejected-files li{display:flex;justify-content:space-between;gap:12px;padding:3px 0}.upload-rejected-files li span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.upload-rejected-files li small{flex:0 0 auto;color:#b5473e}.upload-progress{margin:14px 24px 0;color:#315d91;font-size:13px}.upload-progress-bar{height:5px;margin-bottom:8px;overflow:hidden;border-radius:999px;background:#dce9f8}.upload-progress-bar span{display:block;width:42%;height:100%;border-radius:inherit;background:#1473e6;animation:upload-progress-slide 1.1s ease-in-out infinite}@keyframes upload-progress-slide{0%{transform:translate(-110%)}to{transform:translate(340%)}}.upload-dialog>footer{position:sticky;bottom:0;display:flex;justify-content:flex-end;gap:9px;margin-top:18px;padding:15px 24px 20px;border-top:1px solid #e8edf4;background:#fffffff7}.export-confirm-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:320;display:grid;place-items:center;padding:24px;background:#0f172a8f;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.export-confirm-dialog{width:min(540px,100%);max-height:calc(100vh - 48px);overflow:auto;border:1px solid #f0c88a;border-radius:18px;background:#fff;box-shadow:0 28px 80px #0f172a47}.export-confirm-dialog>header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:22px 24px 16px;border-bottom:1px solid #f4e4ca;background:#fffaf0}.export-confirm-dialog>header span{display:flex;align-items:center;gap:7px;color:#a15c00;font-size:12px;font-weight:750}.export-confirm-dialog>header h2{margin:5px 0 0;color:#4f2d00;font-size:23px}.export-confirm-dialog>header button{display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:50%;color:#725b3b;background:#f7ecd9;cursor:pointer}.export-confirm-dialog>header button:disabled{opacity:.45;cursor:default}.export-confirm-body{padding:20px 24px 4px;color:#344054;line-height:1.65}.export-confirm-body>p{margin:0 0 12px}.export-confirm-count{display:flex;align-items:baseline;gap:10px;margin:0 0 14px;padding:14px 16px;border-radius:12px;color:#7a3e00;background:#fff4e3}.export-confirm-count strong{font-size:32px;line-height:1}.export-confirm-count span{font-weight:700}.export-confirm-warning{padding:12px 14px;border:1px solid #ebc384;border-radius:10px;color:#6d4308;background:#fffaf1;font-size:13px}.export-confirm-body .export-confirm-once{margin-top:13px;color:#667085;font-size:12px}.export-confirm-dialog>footer{position:sticky;bottom:0;display:flex;justify-content:flex-end;gap:9px;margin-top:16px;padding:15px 24px 20px;border-top:1px solid #f1e4cf;background:#fffffff7}@media(max-width:680px){.upload-dialog-backdrop{padding:0;align-items:end}.upload-dialog{width:100%;max-height:92vh;border-radius:20px 20px 0 0}.upload-dialog>header,.upload-dialog>footer{padding-left:18px;padding-right:18px}.upload-dialog-help,.upload-policy-notice,.upload-drop-zone,.upload-file-list,.upload-inline-error,.upload-progress{margin-left:18px;margin-right:18px}.export-confirm-backdrop{padding:0;align-items:end}.export-confirm-dialog{width:100%;max-height:92vh;border-radius:20px 20px 0 0}.export-confirm-dialog>header,.export-confirm-dialog>footer{padding-left:18px;padding-right:18px}.export-confirm-body{padding-left:18px;padding-right:18px}.export-confirm-dialog>footer .button{flex:1}}.search-box{width:320px;height:42px;border:1px solid var(--border-strong);border-radius:7px;display:flex;align-items:center;gap:9px;padding:0 12px;color:#667085}.search-box input{border:0;outline:0;width:100%}.employee-tabs{height:58px;display:flex;align-items:end;gap:14px;border-bottom:1px solid var(--border);margin-top:8px}.employee-tabs+.employee-tabs{height:48px;margin-top:0;background:#fbfcfe}.employee-tabs>span{align-self:center;min-width:66px;color:#667085;font-size:12px;font-weight:650}.employee-tabs button:disabled{opacity:.48;cursor:not-allowed}.import-result{min-height:48px;display:flex;align-items:center;gap:9px;padding:0 13px;border:1px solid var(--border);margin:14px 0 12px;border-radius:7px;font-size:13px}.import-result svg,.import-result span{color:var(--green)}.import-result em{color:var(--amber);font-style:normal}.employee-table-wrap{border:1px solid var(--border);overflow:auto}.employee-table{min-width:1040px}.employee-table th,.employee-table td{height:48px;border-bottom:1px solid var(--border);padding:8px 12px;text-align:left}.employee-table th{background:var(--chrome);font-size:13px;font-weight:650;color:#344054}.employee-table tbody tr:hover td,.employee-table tr.selected td{background:#eef5ff}.employee-table .meal-choice{min-width:102px}.status-text{font-size:12px;font-weight:650}.status-text.active{color:var(--green)}.status-text.archived{color:#667085}.status-text.needs_review{color:var(--amber)}.table-count{margin-top:14px;color:#667085;font-size:13px}.employee-drawer{position:fixed;top:64px;right:0;bottom:0;z-index:80;width:min(560px,100vw);border-left:1px solid var(--border);display:grid;grid-template-rows:auto minmax(0,1fr) auto;background:#fff;box-shadow:-12px 0 30px #10182829}.employee-drawer-backdrop{z-index:79}.drawer-heading{display:flex;align-items:center;justify-content:space-between;padding:20px 22px 17px;border-bottom:1px solid var(--border)}.drawer-heading h2{margin:0;font-size:20px}.drawer-heading button{border:0;background:transparent;cursor:pointer}.drawer-heading button:disabled{opacity:.45;cursor:not-allowed}.employee-drawer-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:20px 22px 24px;display:flex;flex-direction:column;gap:17px}.employee-drawer label{display:flex;flex-direction:column;gap:7px;color:#344054;font-size:13px;font-weight:600}.employee-drawer label small{color:#7b8798;font-size:11px;font-weight:400;line-height:1.45}.employee-drawer input,.employee-drawer select{height:43px;border:1px solid var(--border-strong);border-radius:6px;padding:0 11px;color:var(--ink);background:#fff}.employee-drawer input:disabled{background:var(--chrome);color:#667085}.drawer-actions{display:flex;gap:10px;justify-content:flex-end;padding:14px 22px;border-top:1px solid var(--border);background:#fff;box-shadow:0 -8px 20px #1018280d}.alias-conflict{display:flex;flex-direction:column;gap:8px;padding:13px;border:1px solid #efb544;border-radius:7px;color:#6d4400;background:var(--amber-soft)}.alias-conflict strong{font-size:13px}.alias-conflict p{margin:0;font-size:12.5px;line-height:1.5}.alias-conflict small{color:#80622d;line-height:1.5}.button.alias-transfer{align-self:flex-start;color:#fff;border-color:#b96c00;background:#c97800}.button.alias-transfer:hover:not(:disabled){color:#fff;border-color:#a86000;background:#ad6800}.toast{position:fixed;right:22px;bottom:22px;z-index:120;min-width:310px;max-width:520px;min-height:48px;display:flex;align-items:center;gap:10px;color:#12612b;background:#effaf2;border:1px solid #9ed4ad;border-radius:8px;padding:10px 12px;box-shadow:0 12px 32px #10182826;font-size:13px}.toast.error{color:#8e2119;background:#fff2f0;border-color:#f0aaa4}.toast span{flex:1}.toast button{border:0;background:transparent;color:currentColor;cursor:pointer}.service-update-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:#f5f8fc}.service-update-card{width:min(560px,100%);border:1px solid #c9d9ed;border-radius:14px;background:#fff;padding:34px;box-shadow:0 18px 50px #1018281a}.service-update-card h1{margin:12px 0 10px;font-size:27px}.service-update-card p{color:#475467;line-height:1.7}.service-update-badge{display:inline-flex;padding:5px 9px;border-radius:999px;color:#1658a5;background:#eaf3ff;font-size:12px;font-weight:700}.service-update-progress{display:flex;align-items:center;gap:9px;margin:18px 0 22px;color:#667085;font-size:13px}.service-update-progress .spinner{width:18px;height:18px}.page-loading{min-height:calc(100vh - 64px);display:flex;align-items:center;justify-content:center;gap:12px;color:#667085}.spinner{width:24px;height:24px;border:3px solid #dce8fb;border-top-color:var(--blue);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1180px){.topbar{padding:0 16px;gap:10px}.project-switch,.project-label{display:none}.daily-workspace{grid-template-columns:minmax(0,2.4fr) minmax(280px,.8fr)}.grid-actions,.grid-helper-row{flex-wrap:wrap}.photo-panel-heading{flex-direction:column}.photo-toolbar{flex-wrap:wrap}.photo-help{width:100%;margin-left:0}.photo-actions{justify-content:flex-start}.period-heading{align-items:flex-start}.period-title-row{flex-wrap:wrap}.period-export-actions{flex-wrap:wrap;justify-content:flex-end}}@media(max-width:900px){.topbar{height:auto;min-height:58px;flex-wrap:wrap;padding:0 14px}.brand{line-height:58px;font-size:19px}.primary-nav{order:3;width:100%;height:46px}.nav-link{min-width:0;flex:1;font-size:14px}.role-menu{margin-left:auto}.date-toolbar{align-items:flex-start;padding:12px 14px}.date-nav{flex-wrap:wrap}.current-date{order:-1;width:100%;justify-content:flex-start;min-width:0}.save-state{display:none}.department-tabs{padding:0 14px}.daily-workspace{display:flex;flex-direction:column}.grid-panel{border-right:0}.photo-panel{min-height:460px;height:70vh;border-top:1px solid var(--border)}.daily-workspace.focus-mode .photo-panel{display:none}.simplified-grid-wrap{min-height:60vh}.period-page{padding:14px}.period-heading{flex-direction:column}.period-title-row h1{font-size:18px}.period-progress{margin-left:0}.summary-band{grid-template-columns:1fr 1fr}.period-quick-flow{grid-template-columns:1fr}.summary-band>div{min-height:70px}.summary-band>div:nth-child(3):before{display:none}.issue-row{grid-template-columns:90px 100px 1fr 54px}.issue-row button{grid-column:4}.employees-main{padding:20px 14px}.employee-drawer,.attendance-detail-drawer,.punch-review-drawer,.daily-help-drawer{top:0;right:0;bottom:0;left:0;width:auto;max-width:none}.grid-helper-row{align-items:flex-start;flex-direction:column}.grid-view-actions{width:100%;flex-wrap:wrap}.department-quick-status{display:none}.punch-overview-heading{align-items:flex-start;flex-direction:column}.shift-detail-grid{grid-template-columns:1fr}.row-detail-heading{flex-direction:column}.pay-formula{justify-content:flex-start}}@media(max-width:620px){.role-menu{font-size:0;gap:4px}.role-menu svg{display:none}.current-date strong{display:none}.grid-actions{align-items:flex-start;flex-direction:column}.action-group.right{width:100%;justify-content:flex-start}.transfer-picker{width:100%;flex-wrap:wrap}.transfer-picker select{min-width:0;flex:1}.employee-search-control{width:auto;min-width:min(230px,100%);flex:1}.helper-note{display:none}.grid-view-actions .button{flex:1}.department-tabs{padding:0 12px}.department-tabs .daily-help-button{font-size:0}.attendance-drawer-actions{flex-wrap:wrap}.attendance-drawer-actions .button{flex:1;min-width:145px}.punch-record-card{grid-template-columns:1fr}.punch-record-card b{white-space:normal}.grid-summary{flex-wrap:wrap;padding:7px 14px}.grid-footer{align-items:flex-start;flex-direction:column;padding:10px 14px}.photo-panel{padding:16px 14px}.period-title-row{gap:8px}.period-title-row h1{order:-1;width:100%}.period-export-actions{width:100%}.period-export-actions .button{flex:1;min-width:150px}.summary-band strong{font-size:17px}.report-tabs{overflow-x:auto}.report-tabs button{white-space:nowrap}.issues-section{display:none}}@media print{.topbar,.period-export-actions,.inline-alert,.issues-section{display:none!important}.period-page{padding:0}.report-table-wrap{overflow:visible;border:0}.report-table{font-size:9px;min-width:0}}.auth-loading-page,.login-page{min-height:100vh;display:grid;place-items:center;padding:28px;background:linear-gradient(145deg,#edf5ff,#f8fbff 48%,#fff)}.auth-loading-card,.login-card{width:min(430px,100%);border:1px solid #d5e1f0;border-radius:18px;background:#fffffffa;box-shadow:0 24px 70px #12345b21;padding:36px}.auth-loading-card{text-align:center;color:#475467}.auth-loading-card h1{margin:0 0 10px;color:var(--ink);font-size:23px}.auth-loading-card p{margin:0 0 22px;line-height:1.65}.login-card{display:flex;flex-direction:column;gap:18px}.login-mark{width:52px;height:52px;display:grid;place-items:center;border-radius:15px;background:var(--blue);color:#fff;font-size:24px;font-weight:800}.login-card h1{margin:2px 0 -12px;font-size:27px}.login-card>p{margin:0;color:var(--muted)}.login-card label,.account-field{display:flex;flex-direction:column;gap:7px}.login-card label span,.account-field>span{color:#344054;font-size:14px;font-weight:650}.login-card input,.account-field input,.account-field select{width:100%;height:46px;border:1px solid var(--border-strong);border-radius:9px;background:#fff;padding:0 13px;color:var(--ink)}.login-card input:focus,.account-field input:focus,.account-field select:focus{border-color:var(--blue);outline:3px solid rgba(23,105,232,.13)}.login-submit{min-height:48px;font-size:16px}.login-card small{color:#7b8798;line-height:1.5;text-align:center}.login-error,.accounts-error{border:1px solid #f4aaa3;border-radius:9px;background:var(--red-soft);color:#a8261c;padding:11px 13px;line-height:1.45}.role-menu{cursor:default}.role-menu:hover{color:#344054}.role-menu-text{display:flex;flex-direction:column;min-width:0;line-height:1.2}.role-menu-text strong{max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.role-menu-text small{color:#7b8798;font-size:11px}.logout-button{border:0;background:transparent;display:inline-flex;align-items:center;gap:6px;padding:0 4px;color:#5e6b7e;cursor:pointer;font-size:13px}.logout-button:hover{color:var(--red)}.accounts-page{min-height:calc(100vh - 64px);background:#f7f9fc;padding:30px clamp(18px,4vw,60px)}.accounts-heading{display:flex;justify-content:space-between;gap:24px;align-items:center;max-width:1120px;margin:0 auto 22px}.accounts-heading h1{margin:0 0 6px;font-size:25px}.accounts-heading p{margin:0;color:var(--muted)}.accounts-error{max-width:1120px;margin:0 auto 16px}.accounts-list,.accounts-empty{max-width:1120px;margin:0 auto}.accounts-empty{padding:60px 20px;color:var(--muted);text-align:center}.accounts-list{display:flex;flex-direction:column;gap:11px}.account-card{min-height:92px;display:flex;align-items:center;gap:15px;border:1px solid var(--border);border-radius:12px;background:#fff;padding:16px 18px}.account-avatar{width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center;border-radius:13px;background:var(--blue-soft);color:var(--blue-strong);font-weight:800}.account-main{min-width:0;display:flex;flex:1;flex-direction:column;gap:4px}.account-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.account-main>span{color:#536176;font-size:13px}.account-main small{color:#8a94a3;font-size:11px}.account-badge{border-radius:999px;padding:3px 8px;font-size:11px;font-weight:650}.account-badge.owner{background:#eaf3ff;color:#1459b8}.account-badge.disabled{background:#f1f3f6;color:#687386}.account-actions{display:flex;gap:8px;flex-wrap:wrap}.button.danger{color:var(--red);border-color:#efb6b1}.button.danger:hover:not(:disabled){background:var(--red-soft);border-color:#e78f87}.account-dialog-backdrop{position:fixed;z-index:300;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:18px;background:#0a16296b}.account-dialog{width:min(500px,100%);max-height:calc(100vh - 36px);overflow:auto;border-radius:15px;background:#fff;box-shadow:0 28px 80px #08172d47;padding:22px}.account-dialog-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.account-dialog-head h2{margin:0;font-size:21px}.account-dialog-head button{width:36px;height:36px;border:0;border-radius:8px;background:transparent;cursor:pointer;font-size:25px;color:#5d6a7c}.account-dialog-head button:hover{background:#f2f5f8}.account-dialog form{display:flex;flex-direction:column;gap:15px}.account-dialog-username{border-radius:8px;background:#f3f6fa;color:#566378;padding:10px 12px;font-size:13px}.account-protection{margin:0;color:#667085;font-size:12px;line-height:1.55}.account-dialog-actions{position:sticky;bottom:-22px;display:flex;justify-content:flex-end;gap:9px;border-top:1px solid #edf0f4;background:#fff;margin:4px -22px -22px;padding:15px 22px 20px}@media(max-width:900px){.logout-button{margin-left:auto}.accounts-page{padding:20px 14px}.account-card{align-items:flex-start;flex-wrap:wrap}.account-actions{width:100%;padding-left:59px}}@media(max-width:620px){.auth-loading-page,.login-page{padding:14px}.auth-loading-card,.login-card{padding:25px 20px}.role-menu-text{display:none}.logout-button{font-size:0}.accounts-heading{align-items:flex-start;flex-direction:column}.account-actions{padding-left:0}.account-actions .button{flex:1}}
