:root{--stwi-yellow:#FBC116;--stwi-yellow-hover:#e5ad0c;--stwi-yellow-soft:#fff6db;--stwi-blue:#25387C;--stwi-blue-hover:#1b2a5e;--stwi-blue-soft:#eef1f8;--stwi-blue-line:#d5dbeb;--white:#ffffff;--page-bg:#f5f7fb;--text:#1c2541;--muted:#5b6785;--danger:#c62828;--danger-hover:#a51f1f;--danger-soft:#fdecec;--success:#2e7d32;--sidebar-width:240px;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:var(--text);background:var(--page-bg)}*{box-sizing:border-box}body{margin:0;background:var(--page-bg)}button,input,select{font:inherit}button{border:1px solid var(--stwi-blue);border-radius:8px;padding:9px 14px;background:var(--stwi-blue);color:var(--white);cursor:pointer;font-weight:600;transition:background .15s,color .15s,border-color .15s}button:hover:not(:disabled){background:var(--stwi-yellow);border-color:var(--stwi-yellow);color:var(--stwi-blue)}button:focus-visible{outline:3px solid var(--stwi-yellow);outline-offset:2px}button:disabled{opacity:.45;cursor:not-allowed}input,select{width:100%;border:1px solid var(--stwi-blue-line);border-radius:8px;padding:8px;background:var(--white);color:var(--text);font-weight:400}input:focus,select:focus{outline:none;border-color:var(--stwi-blue);box-shadow:0 0 0 3px #fbc11659}label{color:var(--stwi-blue);font-weight:600;font-size:14px}.app{display:flex;min-height:100vh}aside{width:var(--sidebar-width);flex:0 0 var(--sidebar-width);background:var(--stwi-blue);color:var(--white);padding:20px 16px;display:flex;flex-direction:column;gap:18px;position:sticky;top:0;height:100vh;overflow-y:auto}.brand{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.brand-logo{background:var(--white);border-radius:10px;padding:8px 10px;display:inline-flex;box-shadow:0 2px 8px #0000002e}.brand-logo img{height:56px;width:auto;display:block}.brand-name{font-size:13px;font-weight:600;letter-spacing:.3px;color:var(--stwi-yellow)}.userbox{background:#ffffff14;border:1px solid rgba(255,255,255,.14);padding:12px;border-radius:10px;display:flex;flex-direction:column;gap:3px}.userbox strong{color:var(--white)}.userbox span{font-size:12px;color:var(--stwi-yellow);font-weight:600;letter-spacing:.3px}nav{display:flex;flex-direction:column;gap:6px}nav a{color:var(--white);text-decoration:none;padding:10px 12px;border-radius:8px;font-weight:500;border-left:3px solid transparent}nav a:hover{background:#ffffff1a;border-left-color:var(--stwi-yellow)}nav a.active{background:var(--stwi-yellow);color:var(--stwi-blue);font-weight:700;border-left-color:var(--stwi-yellow)}.logout{margin-top:auto;background:var(--stwi-yellow);border-color:var(--stwi-yellow);color:var(--stwi-blue)}.logout:hover:not(:disabled){background:var(--white);border-color:var(--white);color:var(--stwi-blue)}main{flex:1;padding:28px;min-width:0}h1,h2,h3,h4{color:var(--stwi-blue)}.page-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:18px}.page-head h1{margin:.35rem 0}.page-head p{margin:.25rem 0;color:var(--muted)}.muted{color:var(--muted)}.panel{background:var(--white);border:1px solid var(--stwi-blue-line);border-radius:14px;padding:18px;box-shadow:0 4px 14px #25387c0f}.panel h3{margin-top:0}.panel-head{display:flex;justify-content:space-between;align-items:center}.split{display:grid;grid-template-columns:360px 1fr;gap:18px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.full-width{grid-column:1/-1}.split>*,.detail-grid>*{min-width:0}.panel{max-width:100%;overflow-x:auto}.filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.filters>*{width:auto;min-width:120px}.filters input{min-width:160px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.metric{background:var(--white);border:1px solid var(--stwi-blue-line);border-top:4px solid var(--stwi-yellow);border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:4px}.metric span{font-size:12px;color:var(--muted);font-weight:600;text-transform:uppercase;letter-spacing:.4px}.metric strong{font-size:22px;color:var(--stwi-blue)}.metric small{color:var(--muted)}.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.card{background:var(--white);border:1px solid var(--stwi-blue-line);border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:6px;color:inherit;text-decoration:none;margin:7px 0;transition:border-color .15s,box-shadow .15s}a.card:hover{border-color:var(--stwi-yellow);box-shadow:0 6px 18px #25387c1f}.card strong{color:var(--stwi-blue)}.card span{color:var(--muted)}.card button{width:max-content}.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.info-grid div{display:flex;flex-direction:column;gap:3px}.info-grid span{font-size:12px;color:var(--muted)}.table-scroll{overflow:auto;width:100%}table{width:100%;border-collapse:collapse;font-size:13px}th,td{border-bottom:1px solid var(--stwi-blue-soft);padding:9px;text-align:left;vertical-align:top}th{background:var(--stwi-blue-soft);color:var(--stwi-blue);font-weight:700;position:sticky;top:0}tbody tr:hover td{background:#fbfcff}td small{color:var(--muted);margin-left:4px}.error{background:var(--stwi-yellow-soft);color:var(--stwi-blue);border:1px solid var(--stwi-yellow);border-left:5px solid var(--stwi-yellow);padding:10px 12px;border-radius:8px;margin-bottom:12px;font-weight:600}.empty{padding:26px;text-align:center;color:var(--muted)}.pagination{display:flex;justify-content:space-between;align-items:center;margin-top:14px;color:var(--muted)}.actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.page-size{width:auto}.login-wrap{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,var(--stwi-blue) 0%,var(--stwi-blue-hover) 100%)}.login-card{width:360px;background:var(--white);padding:28px;border-radius:16px;border-top:6px solid var(--stwi-yellow);display:flex;flex-direction:column;gap:12px;box-shadow:0 18px 40px #00000040}.login-card h1{margin:0;font-size:24px}.login-card p{margin:0;color:var(--muted)}.login-card small{color:var(--muted)}.login-logo{height:64px;width:auto;align-self:flex-start}.login-card button{background:var(--stwi-yellow);border-color:var(--stwi-yellow);color:var(--stwi-blue);margin-top:4px}.login-card button:hover:not(:disabled){background:var(--stwi-blue);border-color:var(--stwi-blue);color:var(--white)}.employee-switcher{display:flex;flex-wrap:wrap;gap:6px}.employee-switcher button{background:var(--white);color:var(--stwi-blue)}.employee-switcher button.active{background:var(--stwi-blue);color:var(--white)}.employee-switcher button:hover:not(:disabled){background:var(--stwi-yellow);border-color:var(--stwi-yellow);color:var(--stwi-blue)}.summary-block{border-top:1px solid var(--stwi-blue-line);padding-top:10px;margin-top:10px}.summary-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}.calculation-card{border:1px solid var(--stwi-blue-line);border-left:4px solid var(--stwi-yellow);border-radius:10px;padding:12px;margin:10px 0}.calculation-card strong{color:var(--stwi-blue)}.calculation-grid{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:6px 14px;margin-top:8px;font-size:13px;color:var(--muted)}.calculation-grid b{color:var(--stwi-blue)}.employee-checkbox-grid{display:flex;flex-wrap:wrap;gap:4px 14px;padding:8px 0 2px}.employee-checkbox-grid label{white-space:nowrap;font-weight:500;color:var(--text)}.employee-checkbox-grid input,.panel-head label input{width:auto;accent-color:var(--stwi-blue)}.payroll-editor{display:grid;grid-template-columns:repeat(5,minmax(140px,1fr));gap:10px;padding:14px;background:var(--stwi-blue-soft);border:1px solid var(--stwi-blue-line);border-radius:10px}.payroll-editor label{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:600}.payroll-editor input{width:100%;box-sizing:border-box}.payroll-editor .wide{grid-column:span 2}.editor-actions{grid-column:1/-1;display:flex;gap:8px;justify-content:flex-end;margin-top:4px}.modal-backdrop{position:fixed;inset:0;background:#141c3c8c;display:grid;place-items:center;padding:16px;z-index:1600;animation:fade .12s ease-out}.modal{width:min(460px,100%);max-height:calc(100vh - 32px);overflow:auto;background:var(--white);border-radius:14px;box-shadow:0 24px 60px #00000059;border-top:6px solid var(--stwi-blue)}.modal-wide{width:min(760px,100%)}.modal-head{display:flex;align-items:center;gap:12px;padding:18px 20px 6px}.modal-head h3{margin:0;font-size:18px;color:var(--stwi-blue)}.modal-icon{flex:0 0 32px;height:32px;border-radius:50%;display:grid;place-items:center;font-weight:800;background:var(--stwi-blue-soft);color:var(--stwi-blue)}.modal-success{border-top-color:var(--stwi-yellow)}.modal-success .modal-icon{background:#e8f5e9;color:var(--success)}.modal-warning{border-top-color:var(--stwi-yellow)}.modal-warning .modal-icon{background:var(--stwi-yellow-soft);color:#9a6b00}.modal-error,.modal-danger{border-top-color:var(--danger)}.modal-error .modal-icon,.modal-danger .modal-icon{background:var(--danger-soft);color:var(--danger)}.modal-danger .modal-head h3{color:var(--danger)}.modal-body{padding:8px 20px 18px;display:flex;flex-direction:column;gap:12px}.modal-message{color:var(--text);line-height:1.5;white-space:pre-line}.modal-field,.modal-field label{display:flex;flex-direction:column;gap:4px}.modal-field fieldset{border:0;padding:0;margin:0}.modal-field legend{color:var(--stwi-blue);font-weight:600;font-size:14px;margin-bottom:6px}.modal .check{flex-direction:row;align-items:flex-start;gap:8px;font-weight:500;color:var(--text)}.modal .check input{width:auto;margin-top:3px;accent-color:var(--stwi-blue)}.radio-row{display:flex;flex-wrap:wrap;gap:8px}.radio-pill{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--stwi-blue-line);border-radius:999px;padding:7px 12px;cursor:pointer;font-weight:500;color:var(--text)}.radio-pill input{width:auto;accent-color:var(--stwi-blue)}.radio-pill.on{border-color:var(--stwi-blue);background:var(--stwi-blue-soft);color:var(--stwi-blue);font-weight:700}.modal-err{background:var(--danger-soft);color:var(--danger);border-radius:8px;padding:8px 10px;font-weight:600;font-size:13px}.modal-foot{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin-top:6px}textarea{width:100%;border:1px solid var(--stwi-blue-line);border-radius:8px;padding:8px;font:inherit;resize:vertical}textarea:focus{outline:none;border-color:var(--stwi-blue);box-shadow:0 0 0 3px #fbc11659}.btn-primary{background:var(--stwi-yellow);border-color:var(--stwi-yellow);color:var(--stwi-blue)}.btn-primary:hover:not(:disabled){background:var(--stwi-blue);border-color:var(--stwi-blue);color:var(--white)}.btn-secondary{background:var(--white);border-color:var(--stwi-blue-line);color:var(--stwi-blue)}.btn-secondary:hover:not(:disabled){background:var(--stwi-blue-soft);border-color:var(--stwi-blue);color:var(--stwi-blue)}.btn-danger{background:var(--danger);border-color:var(--danger);color:var(--white)}.btn-danger:hover:not(:disabled){background:var(--danger-hover);border-color:var(--danger-hover);color:var(--white)}@keyframes fade{0%{opacity:0}to{opacity:1}}.result-table td,.result-table th{padding:6px 8px}.badge{display:inline-block;border-radius:999px;padding:2px 9px;font-size:12px;font-weight:700;background:var(--stwi-blue-soft);color:var(--stwi-blue)}.badge.ok{background:#e8f5e9;color:var(--success)}.badge.warn{background:var(--stwi-yellow-soft);color:#8a5d00}.badge.bad{background:var(--danger-soft);color:var(--danger)}.badge.info{background:var(--stwi-blue-soft);color:var(--stwi-blue)}.badge.muted{background:#eceff5;color:var(--muted)}:root{--zoho-yellow:#ffe89a;--zoho-yellow-line:#f2c94c;--zoho-green:#dff0d2;--zoho-green-line:#8bc34a}.notice{background:var(--stwi-blue-soft);border:1px solid var(--stwi-blue-line);border-left:5px solid var(--stwi-blue);border-radius:8px;padding:10px 12px;margin-bottom:14px;line-height:1.5}.notice.warn{background:var(--stwi-yellow-soft);border-color:var(--stwi-yellow);border-left-color:var(--stwi-yellow)}.notice.bad{background:var(--danger-soft);border-color:#f3b8b8;border-left-color:var(--danger)}.notice ul{margin:6px 0 0;padding-left:18px}.notice a{color:var(--stwi-blue);font-weight:700}.cell-ref{display:inline-block;font-family:ui-monospace,Consolas,monospace;font-weight:700;background:var(--white);border:1px solid #f3b8b8;border-radius:4px;padding:0 5px;margin-right:4px}tr.clickable{cursor:pointer}.nowrap{white-space:nowrap}.form-panel{display:flex;flex-direction:column;gap:14px}.form-section{border:1px solid var(--stwi-blue-line);border-radius:12px;padding:14px 16px;background:var(--white)}.form-section.tone-zoho{border-left:6px solid var(--zoho-yellow-line);background:linear-gradient(90deg,#fffbea 0,#fff 40%)}.form-section.tone-manual{border-left:6px solid var(--zoho-green-line);background:linear-gradient(90deg,#f4fbef 0,#fff 40%)}.form-section-head{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:10px}.form-section-head h4{margin:0;font-size:15px}.form-section-head .muted{font-size:12px}.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 16px}.form-grid>label{display:flex;flex-direction:column;gap:4px}.form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid .wide,.form-field.wide{grid-column:1/-1}.form-field{display:flex;flex-direction:column;gap:4px;min-width:0}.form-label{color:var(--stwi-blue);font-weight:600;font-size:13px}.req{color:var(--danger)}.ro-value{padding:8px 0;border-bottom:1px dashed var(--stwi-blue-line);min-height:36px;word-break:break-word}.form-field.has-error input,.form-field.has-error select,.form-field.has-error textarea{border-color:var(--danger);background:snow}.field-error{color:var(--danger);font-weight:600}.form-field small.muted{font-size:12px}.switch{display:inline-flex;align-items:center;gap:8px;font-weight:600;color:var(--text);padding:6px 0}.switch input{width:auto;accent-color:var(--stwi-blue);transform:scale(1.2)}.form-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-top:4px}.form-actions.sticky{position:sticky;bottom:0;background:var(--white);padding:10px 0 2px;border-top:1px solid var(--stwi-blue-soft)}.tabs{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}.tabs button{background:var(--white);color:var(--stwi-blue);border-color:var(--stwi-blue-line);padding:6px 10px;font-size:13px}.tabs button.on{background:var(--stwi-blue);border-color:var(--stwi-blue);color:var(--white)}.tabs button small{opacity:.75;margin-left:2px}.page-tabs{margin-bottom:14px}.danger-step{border:1px solid var(--stwi-blue-line);border-radius:10px;padding:12px;display:flex;flex-direction:column;gap:8px}.danger-step.done{border-color:#a5d6a7;background:#f4fbf4}.danger-step.locked{opacity:.6}.upload-card{max-width:720px;display:flex;flex-direction:column;gap:14px;align-items:flex-start}.steps{margin:0;padding-left:20px;line-height:1.8}.import-summary{display:flex;flex-direction:column;gap:10px;margin-bottom:14px}.progress{height:8px;border-radius:999px;background:var(--stwi-blue-soft);overflow:hidden}.progress>div{height:100%;background:var(--stwi-yellow);transition:width .3s}.summary-chips{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.summary-chips>span:first-child{margin-right:6px}.import-summary .notice{margin:0}.import-layout{display:grid;grid-template-columns:330px minmax(0,1fr);gap:16px;align-items:start}.import-list{position:sticky;top:12px;max-height:calc(100vh - 110px);display:flex;flex-direction:column;gap:8px;padding:14px;overflow:hidden}.import-list ul{list-style:none;margin:0;padding:0;overflow-y:auto;flex:1;border-top:1px solid var(--stwi-blue-soft)}.import-list li{display:flex;align-items:center;gap:8px;padding:9px 6px;border-bottom:1px solid var(--stwi-blue-soft);cursor:pointer;border-left:3px solid transparent}.import-list li:hover{background:#fbfcff}.import-list li.on{background:var(--stwi-blue-soft);border-left-color:var(--stwi-yellow)}.import-list li input{width:auto;accent-color:var(--stwi-blue)}.import-list .cb-space{width:13px;flex:0 0 13px}.import-list .who{flex:1;min-width:0;display:flex;flex-direction:column}.import-list .who b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--stwi-blue)}.import-list .who small{color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.import-list .state{display:flex;flex-direction:column;align-items:flex-end;gap:2px}.import-list .state small{color:var(--muted);font-size:11px}.import-detail{display:flex;flex-direction:column;gap:12px;min-height:300px}.import-detail>div{display:flex;flex-direction:column;gap:12px}.import-detail h3{margin:0;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.import-bar{position:sticky;bottom:0;margin-top:14px;display:flex;justify-content:flex-end;align-items:center;gap:10px;background:var(--white);border:1px solid var(--stwi-blue-line);border-top:4px solid var(--stwi-yellow);border-radius:12px;padding:10px 14px;box-shadow:0 -6px 18px #25387c14;z-index:5}.import-bar span{margin-right:auto;color:var(--muted);font-weight:600}table.diff td,table.diff th{padding:7px 9px}.labels-table input,.labels-table textarea{min-width:220px}.labels-table code{font-size:11px;color:var(--muted)}.labels-table .badge{margin-left:6px}.loading-bar{position:fixed;top:0;left:0;right:0;height:3px;z-index:2000;pointer-events:none;opacity:0;transition:opacity .2s;background:linear-gradient(90deg,transparent 0,var(--stwi-yellow) 40%,var(--stwi-yellow) 60%,transparent 100%);background-size:40% 100%;background-repeat:no-repeat}.loading-bar.on{opacity:1;animation:loadslide 1.1s linear infinite}@keyframes loadslide{0%{background-position:-40% 0}to{background-position:140% 0}}.spinner{display:inline-block;width:28px;height:28px;border:3px solid var(--stwi-blue-soft);border-top-color:var(--stwi-yellow);border-radius:50%;animation:spin .8s linear infinite;flex:0 0 auto}.spinner.small{width:16px;height:16px;border-width:2px;vertical-align:-3px}@keyframes spin{to{transform:rotate(360deg)}}.busy-backdrop{position:fixed;inset:0;z-index:1500;background:#141c3c59;display:grid;place-items:center;cursor:wait}.busy-card{background:var(--white);border-radius:14px;border-top:5px solid var(--stwi-yellow);padding:18px 24px;display:flex;align-items:center;gap:14px;font-weight:600;color:var(--stwi-blue);box-shadow:0 18px 40px #00000040}.loading-block{display:flex;align-items:center;justify-content:center;gap:8px}.date-input{position:relative;display:flex;align-items:stretch;min-width:150px}.date-input input{padding-right:34px}.date-input .date-btn{position:absolute;right:3px;top:50%;transform:translateY(-50%);padding:4px 6px;background:transparent;border:0;color:var(--stwi-blue);border-radius:6px;line-height:0}.date-input .date-btn:hover:not(:disabled){background:var(--stwi-blue-soft);color:var(--stwi-blue)}.date-input.bad input{border-color:var(--danger);background:snow}.date-hint{position:absolute;top:100%;left:0;color:var(--danger);font-weight:600;font-size:11px;white-space:nowrap;margin-top:2px}.cal{position:absolute;top:calc(100% + 4px);left:0;z-index:1200;width:272px;background:var(--white);border:1px solid var(--stwi-blue-line);border-top:4px solid var(--stwi-yellow);border-radius:10px;box-shadow:0 12px 30px #141c3c33;padding:10px}.cal-head{display:flex;gap:4px;align-items:center;margin-bottom:8px}.cal-head button{flex:0 0 auto;padding:4px 9px;background:var(--white);color:var(--stwi-blue);border-color:var(--stwi-blue-line)}.cal-head select{flex:1 1 auto;width:auto;min-width:72px;padding:4px}.cal-head input{flex:0 0 64px;width:64px;padding:4px;min-width:0}.cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;text-align:center}.cal-dow{font-size:11px;font-weight:700;color:var(--muted);padding:3px 0}.cal-day{padding:6px 0;background:transparent;border:1px solid transparent;color:var(--text);font-weight:500;border-radius:6px}.cal-day:hover:not(:disabled){background:var(--stwi-yellow-soft);border-color:var(--stwi-yellow);color:var(--stwi-blue)}.cal-day.today{border-color:var(--stwi-blue-line);font-weight:700}.cal-day.on{background:var(--stwi-blue);color:var(--white)}.cal-foot{display:flex;justify-content:space-between;margin-top:8px}.cal-foot button{padding:4px 10px;font-size:12px;background:var(--white);color:var(--stwi-blue);border-color:var(--stwi-blue-line)}.filters .date-input{width:auto;min-width:160px}.pw-wrap{position:relative;display:block}.pw-wrap input{padding-right:44px}.pw-eye{position:absolute;right:4px;top:50%;transform:translateY(-50%);padding:5px 8px;background:transparent!important;border:0!important;color:var(--stwi-blue)!important;margin:0!important;line-height:0}.pw-eye:hover{background:var(--stwi-blue-soft)!important}a.metric-link{text-decoration:none;color:inherit;transition:border-color .15s,box-shadow .15s,transform .15s}a.metric-link:hover{border-color:var(--stwi-yellow);box-shadow:0 6px 18px #25387c24;transform:translateY(-1px)}a.metric-link small{color:var(--muted)}a.metric-link:hover small{color:var(--stwi-blue)}.xl-wrap{overflow:auto;max-height:70vh;border:1px solid #c6ccd8;border-radius:6px}table.xl-grid{border-collapse:collapse;font-size:12px;width:100%;table-layout:auto}.xl-grid th,.xl-grid td{border:1px solid #d4d9e3;padding:4px 6px;vertical-align:top;line-height:1.35}.xl-grid thead th{background:#e8ecf5;color:var(--stwi-blue);position:sticky;top:0;z-index:1;white-space:nowrap;border-bottom:2px solid #b9c2d6}.xl-grid .xl-rn{background:#f1f3f8;color:var(--muted);text-align:right;font-weight:600;width:1%;white-space:nowrap}.xl-grid thead .xl-rn{background:#dde3ef}.xl-grid td.num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.xl-grid .xl-status{min-width:150px;max-width:220px}.xl-grid .xl-note{min-width:120px;max-width:200px;overflow:hidden;display:table-cell}.xl-grid .xl-note{white-space:normal;word-break:break-word}.xl-grid tbody tr:hover td{background:#fff9e6}.xl-grid tr.xl-weekend td:not(.xl-rn){background:#e3f1e3}.xl-grid tr.xl-holiday td:not(.xl-rn){background:#d4f5d4}.xl-grid tr.xl-half td:not(.xl-rn){background:#e0f7fa}.xl-grid tr.xl-leave td:not(.xl-rn){background:#fde7e7}.xl-grid tr.xl-review td:not(.xl-rn){background:#fff4d6}.xl-grid td.xl-late{color:#b45309;font-weight:700;white-space:nowrap}.btn-xs{padding:3px 8px!important;font-size:12px!important;border-radius:6px!important}@media(max-width:1200px){.payroll-editor{grid-template-columns:repeat(3,minmax(140px,1fr))}.calculation-grid{grid-template-columns:repeat(2,minmax(160px,1fr))}}@media(max-width:1100px){.import-layout{grid-template-columns:1fr}.import-list{position:static;max-height:360px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:1050px){.split,.detail-grid{grid-template-columns:1fr}.stats-grid{grid-template-columns:repeat(2,1fr)}:root{--sidebar-width:200px}}@media(max-width:800px){.payroll-editor{grid-template-columns:repeat(2,minmax(140px,1fr))}.payroll-editor .wide{grid-column:span 2}.summary-columns{grid-template-columns:1fr}}@media(max-width:720px){.app{flex-direction:column}aside{position:static;width:100%;flex:none;height:auto}main{padding:16px}.stats-grid,.grid{grid-template-columns:1fr}.filters>*{width:100%}.form-grid,.form-grid.two{grid-template-columns:1fr}.page-head{flex-direction:column}.import-bar{position:static;flex-wrap:wrap}.modal-foot{justify-content:stretch}.modal-foot button{flex:1}}.review-banner{font-size:14px}.review-banner strong{display:block;margin-bottom:4px}.review-table td.review-fix{background:var(--stwi-yellow-soft);font-weight:600}.review-table tr.review-info td{color:var(--muted, #667)}.ok-text{color:#1e7b34}.typed-badge{color:#b00020}.rule-edit{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.rule-edit input{width:90px}.rule-edit input[type=month]{width:150px}
