:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#f4f6f8;color:#1a2533;line-height:1.5;font-weight:400}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#f4f6f8}button,input,select,textarea{font:inherit}a{color:inherit;text-decoration:none}.loading-screen{min-height:100vh;display:grid;place-items:center;color:#526071}.auth-shell{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(#ffffffe0,#ffffffe0),url(https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=80);background-size:cover;background-position:center}.auth-panel{width:min(100%,460px);background:#fff;border:1px solid #dce3ea;border-radius:8px;padding:28px;box-shadow:0 24px 70px #2535482e}.brand-mark{display:flex;align-items:center;gap:12px;color:#17324d;margin-bottom:22px}.brand-mark strong{display:block;font-size:1.35rem}.brand-mark span{color:#617184;font-size:.9rem}.brand-logo{width:92px;height:70px;object-fit:contain;flex:0 0 auto}.brand-mark.compact{align-items:center;flex-direction:column;gap:0;margin-bottom:18px}.brand-mark.compact strong{display:block;max-width:150px;font-size:.58rem;line-height:1.18;text-align:center;white-space:normal}.brand-mark.compact div{margin:-24px 0 0}.sidebar .brand-mark{color:#7a8f86}.sidebar .brand-logo{width:128px;height:90px}.sidebar .brand-mark span{color:#617184}.segmented{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;background:#eef2f5;border-radius:8px;margin-bottom:20px}.segmented button{border:0;border-radius:6px;padding:10px 12px;color:#526071;background:transparent;cursor:pointer}.segmented button.active{background:#fff;color:#17324d;box-shadow:0 1px 4px #14202d1f}.form-grid{display:grid;gap:14px}.field{display:grid;gap:6px;color:#334155;font-size:.9rem;font-weight:600}.field input,.field select,.field textarea{width:100%;min-height:42px;border:1px solid #cbd5df;border-radius:6px;padding:9px 11px;background:#fff;color:#182230}.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid #8bb8e8;border-color:#2f7ecb}.field textarea{min-height:112px;line-height:1.45;resize:vertical}.checkbox-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.checkbox-option{min-height:38px;display:flex;align-items:center;gap:8px;border:1px solid #d5dee7;border-radius:6px;padding:8px 10px;color:#334155;font-weight:600;background:#fff}.checkbox-option input{width:16px;min-height:16px;margin:0}.full-span{grid-column:1 / -1}.form-note{margin:0;color:#68788a;font-size:.86rem;font-weight:600}.holiday-date-type-row{display:grid;grid-template-columns:minmax(150px,.55fr) minmax(180px,1fr);gap:14px}.payroll-event-main-row{display:grid;grid-template-columns:minmax(190px,.75fr) minmax(260px,1.25fr);gap:14px}.payroll-event-payroll-row{display:grid;grid-template-columns:minmax(130px,.55fr) minmax(220px,1fr) minmax(160px,.65fr);gap:14px}.schedule-main-row{display:grid;grid-template-columns:minmax(260px,1.5fr) minmax(180px,.8fr);gap:14px}.schedule-time-row{display:grid;grid-template-columns:minmax(120px,.75fr) minmax(120px,.75fr) minmax(145px,.8fr) minmax(110px,.55fr);gap:10px;align-items:end}.schedule-time-row .checkbox-option{min-height:42px;gap:6px;padding:8px;white-space:nowrap}.schedule-break-list{display:grid;gap:10px}.schedule-day-list{display:grid;gap:6px}.schedule-day-header,.schedule-day-row{display:grid;grid-template-columns:74px minmax(100px,1fr) minmax(100px,1fr) minmax(100px,1fr);gap:8px;align-items:center}.schedule-day-header{padding:0 8px;color:#526071;font-size:.78rem;font-weight:800;text-transform:uppercase}.schedule-day-row{padding:6px 8px;border:1px solid #d5dee7;border-radius:6px;background:#f8fafc}.day-toggle{min-height:30px;display:flex;align-items:center;gap:7px;color:#334155;font-weight:800}.day-toggle input{width:16px;min-height:16px;margin:0;accent-color:#1f6fb2}.schedule-day-field{display:grid;gap:4px}.schedule-day-field span{display:none;color:#526071;font-size:.74rem;font-weight:800;text-transform:uppercase}.schedule-day-field input{width:100%;min-height:32px;border:1px solid #cbd5df;border-radius:6px;padding:5px 8px;background:#fff;color:#182230}.schedule-day-field input:disabled{background:#edf2f7;color:#7b8794}.schedule-break-row{display:grid;grid-template-columns:minmax(150px,1fr) minmax(135px,.9fr) minmax(105px,.7fr) minmax(105px,.7fr);gap:10px;padding:12px;border:1px solid #d5dee7;border-radius:6px;background:#f8fafc}.scale-form-row{display:grid;grid-template-columns:minmax(220px,1.4fr) minmax(180px,1fr);gap:14px}.scale-cycle-row{display:grid;grid-template-columns:minmax(180px,1fr);gap:14px}.scale-cycle-hours-row{display:grid;grid-template-columns:minmax(150px,.8fr) minmax(150px,.8fr) minmax(150px,.8fr);gap:14px}.scale-cycle-days-row{display:grid;grid-template-columns:minmax(130px,.75fr) minmax(130px,.75fr) minmax(130px,.75fr) minmax(180px,1fr);gap:12px}.scale-shift-strategy-row{display:grid;grid-template-columns:minmax(220px,1fr) minmax(220px,1fr);gap:14px}.scale-rest-days{display:grid;grid-template-columns:repeat(7,minmax(42px,1fr));gap:6px}.scale-rest-days .checkbox-option{min-height:34px;justify-content:center;gap:5px;padding:6px;font-size:.82rem}.scale-rest-days .checkbox-option input{width:14px;min-height:14px}.employee-identity-row,.employee-role-row,.employee-dates-row,.employee-schedule-row{display:grid;grid-template-columns:minmax(220px,1.4fr) minmax(180px,1fr);gap:14px}.employee-status-list,.employee-assignment-list{display:grid;gap:8px}.employee-assignment-card{display:grid;gap:10px;padding:8px;border:1px solid #d5dee7;border-radius:6px;background:#f8fafc}.employee-assignment-schedule-row,.employee-assignment-date-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}.employee-assignment-reason-row{display:grid;grid-template-columns:minmax(0,1fr) 30px;gap:14px;align-items:end}.employee-status-row{display:grid;grid-template-columns:minmax(112px,.8fr) minmax(132px,.82fr) minmax(132px,.82fr) minmax(190px,1.1fr) 30px;column-gap:22px;row-gap:8px;align-items:end;padding:8px;border:1px solid #d5dee7;border-radius:6px;background:#f8fafc}.employee-status-row .button{min-height:36px;padding:7px 10px;font-size:.8rem}.employee-status-remove-button{width:30px;min-width:30px;height:30px;min-height:30px;justify-content:center;padding:0;border:1px solid #a8221a;border-radius:6px;background:#bf1f18;color:#fff;align-self:end;margin-bottom:5px;cursor:pointer}.employee-status-remove-button:hover:not(:disabled){background:#9f1b16;border-color:#861712}.policy-form{grid-template-columns:1fr;gap:10px}.policy-section{display:grid;gap:10px;padding:10px;border:1px solid #d5dee7;border-radius:6px;background:#f8fafc}.policy-section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #e4eaf0;padding-bottom:8px}.policy-section-title h3{margin:0;color:#17324d;font-size:.94rem}.policy-section-title span{color:#68788a;font-size:.78rem;font-weight:700}.policy-section-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.policy-form .field{gap:4px;font-size:.8rem}.policy-form .field input,.policy-form .field select,.policy-form .field textarea{min-height:36px;padding:7px 9px;font-size:.84rem}.policy-form .field textarea{min-height:76px}.policy-form .checkbox-option{min-height:36px;padding:7px 9px;font-size:.82rem}.policy-default-toggle{display:inline-flex;align-items:center;justify-content:center;min-width:32px;min-height:32px}.policy-default-toggle input{width:18px;min-height:18px;margin:0;accent-color:#0f766e;cursor:pointer}.policy-default-toggle input:disabled{cursor:wait}.policy-rule-list{display:grid;gap:8px}.policy-rule-row{display:grid;grid-template-columns:minmax(115px,1fr) minmax(86px,.7fr) minmax(86px,.7fr) minmax(84px,.65fr) minmax(112px,.85fr) minmax(150px,1.1fr) auto;gap:8px;align-items:end;padding:9px;border:1px solid #d5dee7;border-radius:6px;background:#f8fafc}.policy-rule-row .button{min-height:36px;padding:7px 10px;font-size:.82rem}.policy-form .modal-actions{margin-top:0}.break-options{grid-column:1 / 4;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.break-row-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#526071;font-weight:800}.break-row-actions .button{min-height:36px;padding:7px 10px}.empty-hint{margin:0;color:#617184;font-weight:600}.disabled-option{background:#f8fafc;color:#617184}.button{min-height:42px;border:0;border-radius:6px;padding:10px 14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:700;cursor:pointer}.button-primary{background:#1f6fb2;color:#fff}.button-primary:disabled{background:#9ab8d2;cursor:not-allowed}.button-secondary{background:#eef2f5;color:#17324d}.button-logout{background:#1f6fb2;color:#fff}.button-logout:hover{background:#195f99}.button-edit{background:#0f766e;color:#fff}.button-danger{background:#b42318;color:#fff}.error-text,.success-text{margin:0 0 14px;padding:10px 12px;border-radius:6px;font-size:.92rem}.error-text{background:#f8dcdc;border:1px solid #f87171;color:#7f1d1d}.alert-message{position:fixed;top:16px;left:50%;z-index:60;width:min(1120px,calc(100vw - 32px));max-height:calc(100vh - 32px);overflow:auto;transform:translate(-50%);display:flex;justify-content:space-between;gap:14px;align-items:flex-start;box-shadow:0 18px 48px #591f182e}.alert-content{min-width:0;display:grid;gap:3px}.alert-content span{white-space:pre-wrap;overflow-wrap:anywhere}.alert-content small{color:#991b1b;font-weight:700}.alert-actions{display:flex;gap:8px;flex-shrink:0}.alert-action-button{min-height:32px;border:1px solid #fca5a5;border-radius:6px;padding:6px 9px;display:inline-flex;align-items:center;gap:6px;background:#fff;color:#7f1d1d;font-weight:800;cursor:pointer}.alert-action-button:hover{background:#fff1f1}.success-text{background:#389058;border:1px solid #11632f;color:#fff}.toast-message{position:fixed;top:18px;left:50%;z-index:65;width:min(520px,calc(100vw - 32px));margin:0;transform:translate(-50%);display:flex;align-items:center;justify-content:space-between;gap:12px;box-shadow:0 18px 44px #11632f38}.toast-message span{min-width:0;overflow-wrap:anywhere}.toast-close-button{min-height:30px;border:1px solid rgba(255,255,255,.55);border-radius:6px;padding:5px 8px;display:inline-flex;align-items:center;gap:5px;background:#ffffff24;color:#fff;font-weight:800;cursor:pointer;flex-shrink:0}.toast-close-button:hover{background:#ffffff3d}.inline-feedback{margin:4px 0 0}.app-shell{min-height:100vh;display:grid;grid-template-columns:190px minmax(0,1fr);gap:18px;padding:14px;background:#eef2f6}.sidebar{position:sticky;top:14px;height:calc(100vh - 28px);padding:10px;width:190px;max-width:190px;background:#dff3e8;border:1px solid #9fd0b3;border-radius:8px;box-shadow:0 14px 34px #13554324;display:flex;flex-direction:column;overflow:hidden}.sidebar nav{display:grid;gap:1px;margin-bottom:auto}.company-switcher{display:grid;gap:6px;margin:0 0 18px;color:#334155;font-size:.82rem;font-weight:800}.company-switcher select{width:100%;min-height:34px;border:1px solid #cbd5df;border-radius:6px;padding:6px 8px;background:#fff;color:#182230;font-size:.88rem;font-weight:600}.topbar-company-switcher{width:auto;margin:0;display:flex;align-items:center;gap:10px;white-space:nowrap}.topbar-company-switcher select{width:260px}.sidebar nav button{min-height:26px;padding:4px 7px;border-radius:6px;border:0;background:transparent;color:#334b66;cursor:pointer;text-align:left;font-size:.8rem;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar nav button:hover{background:#ffffffb8;color:#0f766e;box-shadow:0 1px #0f766e1f}.sidebar nav button.active{background:transparent;color:#0f766e;box-shadow:none}.sidebar .button-logout{width:100%;margin-top:6px;min-height:30px;padding:6px 10px;font-size:.82rem}.workspace{min-width:0;padding:0 6px 28px 0;display:grid;gap:22px;align-content:start;align-items:start;background:transparent;border:0;border-radius:0}.topbar{display:flex;justify-content:space-between;gap:16px;align-items:center}.topbar-title-row{min-width:0;display:flex;align-items:center;gap:14px;flex-wrap:wrap}.topbar h1{margin:0;font-size:1.7rem;color:#172336}.topbar p{margin:0;color:#526071}.topbar p strong{display:block;color:#526071;font-weight:500}.topbar p small{display:block;color:#7b8794;font-size:.76rem}.topbar-user{display:flex;align-items:center;justify-content:flex-end;gap:10px;white-space:nowrap}.eyebrow{display:inline-flex;align-items:center;text-transform:uppercase;letter-spacing:0;color:#68788a;font-size:.78rem;font-weight:800;margin:0}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.stat-card,.panel{background:#fff;border:1px solid #dce3ea;border-radius:8px}.stat-card{padding:18px}.stat-card span{color:#617184;font-size:.9rem}.stat-card strong{display:block;font-size:1.8rem;color:#17324d;margin-top:4px}.content-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}.time-grid,.imports-grid{align-items:start}.panel{padding:18px;min-width:0}.panel-title{display:flex;align-items:center;gap:8px;color:#17324d;margin-bottom:16px}.panel-title-spread{justify-content:space-between;gap:14px}.panel-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.panel-actions .field{margin:0;display:inline-flex;align-items:center;gap:8px}.panel-actions .field span{white-space:nowrap;font-size:.95rem}.panel-actions .field select{min-width:100px;max-width:160px;width:auto;padding:8px 10px}.title-with-icon{display:flex;align-items:center;gap:8px}.panel-title h2{margin:0;font-size:1.08rem}.summary-box{margin-top:18px;padding-top:16px;border-top:1px solid #e4eaf0;display:grid;gap:12px}dl{display:grid;grid-template-columns:140px 1fr;gap:8px 12px;margin:0;color:#263648}dt{color:#68788a;font-weight:700}dd{margin:0;overflow-wrap:anywhere}.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}.import-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}.time-review-grid{grid-template-columns:1fr}.time-review-form{grid-template-columns:repeat(4,minmax(0,1fr));align-items:end}.time-review-all{min-height:42px}.employee-check-list{display:grid;grid-column:1 / -1;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;padding:10px;border:1px solid #d7e1eb;border-radius:6px;background:#f8fafc}.review-summary-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:8px;margin-bottom:14px}.review-summary-grid .stat-card{padding:12px}.review-summary-grid .stat-card span{font-size:.78rem;line-height:1.2}.review-summary-grid .stat-card strong{font-size:1.25rem;line-height:1.15}.time-review-table-wrap{max-height:min(70vh,720px);max-width:100%;overflow-y:auto;overflow-x:hidden}.time-review-table{table-layout:fixed;width:100%;min-width:0;font-size:.64rem}.time-review-table th,.time-review-table td{padding:5px 3px}.time-review-table th{font-size:.61rem}.time-review-table.has-employee-column th:nth-child(1),.time-review-table.has-employee-column td:nth-child(1){width:92px;max-width:92px;overflow:hidden;text-overflow:ellipsis}.time-review-table.single-employee-review th:nth-child(1),.time-review-table.single-employee-review td:nth-child(1),.time-review-table.has-employee-column th:nth-child(2),.time-review-table.has-employee-column td:nth-child(2){width:56px}.time-review-table.single-employee-review th:nth-child(2),.time-review-table.single-employee-review td:nth-child(2),.time-review-table.has-employee-column th:nth-child(3),.time-review-table.has-employee-column td:nth-child(3){width:54px}.time-review-table.single-employee-review th:nth-child(3),.time-review-table.single-employee-review td:nth-child(3),.time-review-table.single-employee-review th:nth-child(4),.time-review-table.single-employee-review td:nth-child(4),.time-review-table.single-employee-review th:nth-child(5),.time-review-table.single-employee-review td:nth-child(5),.time-review-table.has-employee-column th:nth-child(4),.time-review-table.has-employee-column td:nth-child(4),.time-review-table.has-employee-column th:nth-child(5),.time-review-table.has-employee-column td:nth-child(5),.time-review-table.has-employee-column th:nth-child(6),.time-review-table.has-employee-column td:nth-child(6){width:50px}.time-review-table.single-employee-review th:nth-child(6),.time-review-table.single-employee-review td:nth-child(6),.time-review-table.single-employee-review th:nth-child(7),.time-review-table.single-employee-review td:nth-child(7),.time-review-table.single-employee-review th:nth-child(8),.time-review-table.single-employee-review td:nth-child(8),.time-review-table.single-employee-review th:nth-child(9),.time-review-table.single-employee-review td:nth-child(9),.time-review-table.has-employee-column th:nth-child(7),.time-review-table.has-employee-column td:nth-child(7),.time-review-table.has-employee-column th:nth-child(8),.time-review-table.has-employee-column td:nth-child(8),.time-review-table.has-employee-column th:nth-child(9),.time-review-table.has-employee-column td:nth-child(9),.time-review-table.has-employee-column th:nth-child(10),.time-review-table.has-employee-column td:nth-child(10){width:58px;white-space:normal}.time-review-table.single-employee-review th:nth-child(10),.time-review-table.single-employee-review td:nth-child(10),.time-review-table.has-employee-column th:nth-child(11),.time-review-table.has-employee-column td:nth-child(11){width:60px;white-space:normal}.time-review-table th:nth-last-child(3),.time-review-table td:nth-last-child(3){width:58px;white-space:normal}.time-review-table th:nth-last-child(2),.time-review-table td:nth-last-child(2){width:52px;white-space:normal}.time-review-table th:last-child,.time-review-table td:last-child{width:58px}.extras-lines,.occurrence-cell-lines{display:grid;gap:2px;font-size:.6rem;line-height:1.1;white-space:normal}.pending-cell{display:grid;gap:3px}.adjusted-badge{width:fit-content;padding:0;border:0;border-radius:0;background:transparent;color:#0f3f73;font-size:.6rem;font-weight:800;line-height:1;white-space:nowrap}.day-type-cell{font-weight:400}.day-type-row-sunday>td{color:#8a4b00;background-color:#fff3d6!important}.day-type-row-holiday>td{color:#a32016;background-color:#ffe4e0!important}.day-type-row-rest_day>td{color:#0f766e;background-color:#dcf7ef!important}.time-review-table tbody>tr.absence-row>td{color:#8a4b00;background-color:#fff3d6!important}.import-preview-table code{display:block;max-width:420px;white-space:normal;overflow-wrap:anywhere;color:#263648;font-size:.78rem}.import-layout-panel{display:grid;align-content:start;gap:12px}.import-content-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start}.import-inline-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,.55fr);gap:12px}.import-content-actions{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding-top:29px}.import-content-actions button{min-height:42px;white-space:nowrap}.import-example-title{margin:0;color:#17324d;font-size:.95rem;font-weight:800}.import-example{margin:0;padding:12px;max-height:280px;overflow:auto;border:1px solid #d7e1eb;border-radius:6px;background:#f7fafc;color:#263648;font-size:.82rem;white-space:pre}.helper-text,.empty-state{margin:0 0 14px;color:#617184;font-size:.9rem;font-weight:600}.processing-progress{grid-column:1 / -1;display:grid;gap:8px;padding:12px;border:1px solid #bdd7c8;border-radius:6px;background:#f0f8f3;color:#17324d}.processing-progress-header{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:.9rem;font-weight:800}.processing-progress-header span{min-width:0;overflow-wrap:anywhere}.processing-progress-bar{height:8px;overflow:hidden;border-radius:999px;background:#d8e8df}.processing-progress-bar span{display:block;height:100%;border-radius:inherit;background:#2f855a;transition:width .16s ease}.processing-progress small{color:#475c6f;font-weight:700}table{width:100%;border-collapse:collapse;font-size:.9rem}th,td{padding:11px 10px;border-bottom:1px solid #e4eaf0;text-align:left;white-space:nowrap}th{color:#17324d;font-size:.78rem;text-transform:uppercase;letter-spacing:0;background:#e7edf4;border-bottom:2px solid #bfd0df;font-weight:800}.zebra-table{border:1px solid #d7e1eb}.zebra-table thead th{position:relative}.zebra-table thead th:first-child{border-top-left-radius:6px}.zebra-table thead th:last-child{border-top-right-radius:6px}.zebra-table tbody>tr:nth-child(odd)>td{background-color:#f1f5f9!important}.zebra-table tbody>tr:nth-child(2n)>td{background-color:#d8eaff!important}.zebra-table tbody>tr:hover>td{background-color:#b9dbff!important}.zebra-table tbody>tr:hover>td:first-child{box-shadow:inset 4px 0 #1f6fb2}.zebra-table tbody>tr>td{transition:background-color .15s ease}.time-review-table thead th{position:sticky;top:0;z-index:5;box-shadow:0 2px #bfd0df}.time-review-table .table-actions{gap:2px;flex-wrap:nowrap}.time-review-table .table-actions .button{min-height:20px;padding:2px 3px;font-size:.54rem;line-height:1}.time-review-table .review-action-button{display:inline-grid;place-items:center;min-width:22px;min-height:22px;height:22px;border-radius:5px;padding:2px;font-size:.54rem;line-height:1}.time-review-table .button-edit.review-action-button{border:1px solid #36a88f;background:#d9f4ee;color:#0b5f50}.time-review-table .review-adjust-button{border:1px solid #6aa6e8;background:#cfe4ff;color:#0f3f73}.time-review-table .review-adjust-button:disabled{border-color:#6aa6e8;background:#cfe4ff;color:#0f3f73;opacity:1}.time-review-table tbody>tr.day-type-row-sunday:hover>td{background-color:#ffe7ac!important}.time-review-table tbody>tr.day-type-row-holiday:hover>td{background-color:#ffd0ca!important}.time-review-table tbody>tr.day-type-row-rest_day:hover>td{background-color:#c4f0e3!important}.time-review-table tbody>tr.absence-row:hover>td{background-color:#ffe7ac!important}.table-actions{display:flex;gap:8px;align-items:center}.table-actions .button{width:34px;min-width:34px;min-height:34px;height:34px;padding:7px;gap:0;font-size:0;line-height:1}.table-actions .button svg{flex-shrink:0}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:grid;place-items:center;padding:22px;background:#1723367a}.modal-card{width:min(100%,680px);max-height:min(90vh,820px);overflow:auto;background:#fff;border:1px solid #dce3ea;border-radius:8px;box-shadow:0 24px 70px #14202d3d}.employee-modal-card{width:min(100%,760px)}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px;border-bottom:1px solid #e4eaf0}.modal-header h2{margin:0;color:#17324d;font-size:1.12rem}.modal-close{width:34px;min-height:34px;border:0;border-radius:6px;background:#eef2f5;color:#17324d;cursor:pointer;font-size:1.3rem;line-height:1}.modal-body{padding:18px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.confirm-text{margin:0;color:#263648}.occurrence-context{display:flex;flex-wrap:wrap;gap:8px 14px;margin-bottom:14px;color:#17324d;font-weight:800}.occurrence-help{margin-bottom:14px;padding:10px 12px;border:1px solid #d7e1eb;border-radius:6px;background:#f8fafc}.occurrence-form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.occurrence-form-grid .field:has(textarea){grid-column:1 / -1}.adjustment-entry-list{display:grid;gap:8px;margin-top:14px;padding:10px 12px;border:1px solid #d7e1eb;border-radius:6px;background:#f8fafc;color:#263648}.adjustment-entry-list strong{color:#17324d}.adjustment-entry-list ul{display:grid;gap:4px;margin:0;padding-left:18px}.adjusted-entry-item{color:#0f3f73;font-weight:800}.imported-punch-item{color:#17324d;font-weight:700}@media(max-width:980px){.app-shell{grid-template-columns:1fr;gap:14px;padding:14px}.sidebar{position:static;height:auto;overflow:visible;width:100%;max-width:100%}.sidebar nav{grid-template-columns:repeat(4,minmax(0,1fr));overflow:visible}.stat-grid,.content-grid{grid-template-columns:1fr 1fr}.time-review-grid,.time-review-form{grid-template-columns:1fr}.review-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:680px){button,input,select,textarea{font-size:16px}.app-shell{padding:10px;gap:10px}.workspace,.sidebar{padding:14px}.workspace{gap:14px;padding-right:0}.brand-mark.compact{justify-content:flex-start;align-items:center;margin-bottom:8px}.sidebar .brand-logo{width:112px;height:78px}.brand-mark.compact strong{max-width:150px;font-size:.62rem}.sidebar nav{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.sidebar nav button{min-height:34px;padding:6px 4px;border:1px solid #b8ddc7;background:#ffffff6b;text-align:center;font-size:.74rem}.sidebar nav button:hover,.sidebar nav button.active{background:#fff;color:#0f766e;box-shadow:inset 0 -3px #0f766e}.sidebar .button-logout{margin-top:10px}.topbar{display:grid;gap:12px}.topbar-user{justify-content:flex-start;flex-wrap:wrap}.topbar-title-row,.topbar-company-switcher{align-items:stretch;flex-direction:column;gap:8px}.topbar h1{font-size:1.35rem}.topbar-company-switcher select{width:100%}.stat-grid,.content-grid,.import-content-row,.import-inline-fields{grid-template-columns:1fr}.import-content-actions,.import-content-actions button{width:100%}.alert-message,.modal-actions{align-items:stretch;flex-direction:column}.toast-message{top:50%;left:50%;z-index:90;width:calc(100vw - 28px);transform:translate(-50%,-50%);align-items:stretch;flex-direction:column}.panel{padding:14px}.panel-title{align-items:flex-start;margin-bottom:12px}.panel-title h2{font-size:1rem}.panel-title-spread{align-items:center;flex-direction:row;flex-wrap:wrap}.panel-title-spread .button{width:auto;min-height:36px;align-self:flex-start;padding:8px 14px}.stat-card{padding:14px}.stat-card strong{font-size:1.55rem}.review-summary-grid{grid-template-columns:1fr}.table-wrap{overflow:visible}table,thead,tbody,tr,th,td{display:block}thead{display:none}table{border-collapse:separate;border-spacing:0;font-size:.9rem}tbody{display:grid;gap:10px}tr{border:1px solid #d7e1eb;border-radius:8px;overflow:hidden;background:#fff}td{min-height:42px;padding:9px 10px;display:grid;grid-template-columns:minmax(96px,.42fr) minmax(0,1fr);gap:10px;align-items:center;white-space:normal;overflow-wrap:anywhere}td:before{content:attr(data-label);color:#68788a;font-size:.74rem;font-weight:800;text-transform:uppercase}td.empty-table-cell{display:block;text-align:center;color:#617184;font-weight:700}td.empty-table-cell:before{content:none}td[data-label=Ações]{display:block;padding:10px;background:#f7fafc}td[data-label=Ações]:before{content:none}.zebra-table{border:0}.zebra-table tbody>tr:nth-child(odd)>td,.zebra-table tbody>tr:nth-child(2n)>td,.zebra-table tbody>tr:hover>td{background-color:#fff!important}.zebra-table tbody>tr:hover>td:first-child{box-shadow:none}td[data-label=Ações] .table-actions{display:flex;justify-content:flex-end;gap:8px}.table-actions .button{width:36px;min-width:36px;height:36px;min-height:36px}.modal-backdrop{place-items:end stretch;padding:10px}.modal-card{width:100%;max-height:calc(100dvh - 20px);border-radius:10px 10px 8px 8px}.modal-header,.modal-body{padding:14px}.modal-actions .button{width:100%}.employee-modal-card .modal-actions{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:10px}.employee-modal-card .modal-actions .button{width:100%;min-width:0;padding-inline:10px}.field input,.field select,.field textarea{min-height:46px}.field textarea{min-height:132px}.checkbox-grid,.schedule-day-header,.schedule-day-row,.schedule-break-row,.schedule-main-row,.schedule-time-row,.scale-cycle-row,.scale-cycle-hours-row,.scale-cycle-days-row,.scale-form-row,.scale-shift-strategy-row,.employee-identity-row,.employee-role-row,.employee-dates-row,.employee-schedule-row,.employee-status-row,.policy-section-grid,.policy-section-title,.policy-rule-row,.break-options{grid-template-columns:1fr}.policy-section-title{align-items:flex-start}.employee-status-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 30px;column-gap:12px;align-items:end}.employee-status-row>.field{min-width:0}.employee-status-row>.field:nth-child(1){grid-column:1 / -1}.employee-status-row>.field:nth-child(2){grid-column:1}.employee-status-row>.field:nth-child(3){grid-column:2 / -1}.employee-status-row>.field:nth-child(4){grid-column:1 / 3}.employee-status-remove-button{grid-column:3;margin-bottom:8px}.employee-assignment-schedule-row{grid-template-columns:1fr}.employee-assignment-date-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.employee-assignment-reason-row{grid-template-columns:minmax(0,1fr) 30px}.employee-assignment-reason-row .employee-status-remove-button{margin-bottom:8px}.schedule-day-header{display:none}.schedule-day-field span{display:block}.break-options{grid-column:auto}.break-row-actions{align-items:stretch;flex-direction:column}.break-row-actions .button{width:100%}.time-entry-panel{border-color:#9fd0b3;box-shadow:0 12px 28px #1355431a}.time-entry-panel .button-primary{width:100%;min-height:50px;font-size:1rem}.time-entry-panel .summary-box .button-secondary{width:100%}dl{grid-template-columns:1fr;gap:4px}dt{margin-top:6px;font-size:.78rem;text-transform:uppercase}dd{padding-bottom:6px;border-bottom:1px solid #e4eaf0}}@media(max-width:380px){td[data-label=Ações] .table-actions{justify-content:flex-start}}
