.sidebar{background:linear-gradient(180deg,var(--sidebar-bg-top),var(--sidebar-bg-bottom));display:flex;flex-direction:column;padding:1.55rem .75rem 1rem;position:fixed;top:0;left:0;bottom:0;width:var(--sidebar-width);z-index:40;overflow-y:auto;border-right:1px solid #e8edf8;box-shadow:4px 0 18px #2b498c09;transition:transform .25s ease}.sidebar-brand{display:flex;flex-direction:column;align-items:flex-start;gap:.85rem;padding:0 .75rem 1.55rem;margin-bottom:.55rem;position:relative}.sidebar-close,.mobile-topbar,.sidebar-backdrop{display:none}@media (max-width: 880px){.mobile-topbar{display:flex;align-items:center;gap:.85rem;position:fixed;top:0;left:0;right:0;height:56px;padding:0 1rem;background:var(--color-surface);border-bottom:1px solid var(--border-hairline);z-index:30}.mobile-topbar-toggle{width:36px;height:36px;padding:0;border-radius:var(--radius-sm);background:none;color:var(--text-primary);box-shadow:none;display:flex;align-items:center;justify-content:center;flex-shrink:0}button.mobile-topbar-toggle:hover{background:var(--color-surface-sunken);box-shadow:none;transform:none}.mobile-topbar-toggle svg{width:22px;height:22px}.mobile-topbar-logo{height:28px;width:auto}.sidebar-backdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#0b123073;z-index:35}.sidebar{transform:translate(-100%);box-shadow:8px 0 30px #0b123040}.sidebar.open{transform:translate(0)}.sidebar-close{display:flex;align-items:center;justify-content:center;position:absolute;top:0;right:.75rem;width:32px;height:32px;padding:0;border-radius:50%;background:#ffffff14;color:var(--sidebar-text-bright);box-shadow:none}button.sidebar-close:hover{background:#ffffff29;box-shadow:none;transform:none}.sidebar-close svg{width:16px;height:16px}}.sidebar-logo-card{background:var(--color-surface);padding:0;width:100%}.sidebar-logo{width:100%;max-width:205px;height:auto;display:block}.sidebar-brand-caption{font-size:.76rem;font-weight:600;color:var(--sidebar-text);text-transform:uppercase;letter-spacing:.08em;padding-left:0}.sidebar-nav{display:flex;flex-direction:column;gap:.5rem;flex:1}.sidebar-link{position:relative;display:flex;align-items:center;gap:.95rem;padding:1rem 1.15rem;border-radius:14px;color:var(--sidebar-text);text-decoration:none;font-size:.97rem;font-weight:600;transition:background .15s ease,color .15s ease}.sidebar-link:hover{background:#f2f6ff;color:var(--sidebar-text-bright)}.sidebar-link.active{background:var(--sidebar-active-bg);color:var(--sidebar-text-bright);box-shadow:none}.sidebar-link svg{width:23px;height:23px;flex-shrink:0}.sidebar-help-card{background:linear-gradient(150deg,#2a5be0,#5a3fd6);border-radius:16px;padding:1.25rem 1.1rem;margin:1rem .15rem 1.25rem;color:#fff}.sidebar-help-icon{width:30px;height:30px;border-radius:9px;background:transparent;display:flex;align-items:center;justify-content:center;margin-bottom:.45rem}.sidebar-help-icon svg{width:29px;height:29px}.sidebar-help-card h3{font-size:1rem;margin-bottom:.2rem}.sidebar-help-card p{font-size:.83rem;color:#ffffffbf;line-height:1.4;margin-bottom:.85rem}.sidebar-help-btn{width:100%;display:flex;align-items:center;justify-content:center;gap:.4rem;background:#ffffff26;color:#fff;font-size:.82rem;padding:.5rem .75rem;box-shadow:none}button.sidebar-help-btn:hover{background:#ffffff40;box-shadow:none;transform:none}.sidebar-help-btn svg{width:14px;height:14px}.sidebar-footer{border-top:1px solid var(--sidebar-hairline);padding-top:.75rem;margin-top:.5rem}.sidebar-footer button.sidebar-link{width:100%;border:none;background:none;cursor:pointer}.sidebar-footer button.sidebar-link:hover{background:#fff1ef;color:var(--danger)}.login-page{display:flex;align-items:center;justify-content:center;min-height:100vh;padding:1.5rem;background:var(--color-bg)}.login-form{background:var(--color-surface);padding:2.25rem;border-radius:var(--radius-md);width:320px;max-width:100%;display:flex;flex-direction:column;gap:1.1rem;box-shadow:var(--shadow-raised);border:1px solid var(--border-hairline)}@media (max-width: 400px){.login-form{padding:1.5rem}}.login-form h1{margin-bottom:.25rem}.login-form input{padding:.6rem .7rem}.sparkline{display:block}.row-menu{position:relative;display:inline-block}.row-menu-trigger{width:28px;height:28px;padding:0;border-radius:var(--radius-sm);background:none;color:var(--text-secondary);box-shadow:none;display:inline-flex;align-items:center;justify-content:center}.row-menu button.row-menu-trigger:hover{background:var(--color-surface-sunken);color:var(--text-primary);box-shadow:none;transform:none}.row-menu-trigger svg{width:16px;height:16px}.row-menu-panel{position:absolute;right:0;top:calc(100% + 4px);background:var(--color-surface);border:1px solid var(--border-hairline);border-radius:var(--radius-sm);box-shadow:var(--shadow-raised);min-width:190px;z-index:30;padding:.3rem;display:flex;flex-direction:column}.row-menu-item{background:none;color:var(--text-primary);box-shadow:none;font-weight:500;font-size:.83rem;text-align:left;padding:.5rem .6rem;border-radius:var(--radius-sm)}.row-menu-panel button.row-menu-item:hover{background:var(--accent-wash);color:var(--accent-hover);box-shadow:none;transform:none}.dashboard-page .page-header{margin-bottom:1.8rem}.dashboard-page h1{font-size:2.55rem;line-height:1}.kpi-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:1.4rem;margin-bottom:1.45rem}.dashboard-page .stat-tile{position:relative;height:182px;display:flex;flex-direction:column;overflow:hidden;border-radius:19px;box-shadow:0 12px 28px #2b498c13}.dashboard-page .stat-tile:before{content:"";position:absolute;width:150px;height:150px;border-radius:50%;right:-72px;top:-78px;background:radial-gradient(circle,rgba(26,91,242,.08),transparent 68%);pointer-events:none}.dashboard-page .stat-tile:nth-child(2):before{background:radial-gradient(circle,rgba(113,69,235,.09),transparent 68%)}.dashboard-page .stat-tile:nth-child(3):before{background:radial-gradient(circle,rgba(244,104,32,.1),transparent 68%)}.dashboard-page .stat-tile:nth-child(4):before{background:radial-gradient(circle,rgba(0,145,70,.1),transparent 68%)}.dashboard-page .stat-tile:hover{transform:translateY(-5px);box-shadow:0 18px 35px #2b498c24}.dashboard-page .stat-tile-icon{position:relative;z-index:1;margin-bottom:.7rem}.dashboard-page .stat-tile-label{font-weight:650}.dashboard-page .stat-tile-value{font-size:2.05rem}.dashboard-page .stat-tile-bottom{margin-top:auto}.dashboard-page .sparkline{opacity:.9}.dashboard-greeting{font-size:1rem;font-weight:600;color:var(--accent);margin-bottom:.3rem}.dashboard-page .card{border-radius:20px;border-color:#e4e9f7;box-shadow:0 14px 32px #2b498c13}.dashboard-page .card-header-row{margin-bottom:1.3rem}.dashboard-page .card-header-row h2{font-size:1.3rem}.dashboard-header-actions{display:flex;align-items:center;gap:1.35rem;flex-shrink:0}.period-pill svg:last-child{width:13px;height:13px;color:var(--text-muted)}.dashboard-icon-btn{position:relative;width:42px;height:42px;border-radius:50%;background:transparent;border:none;color:var(--text-secondary);display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;box-shadow:none;flex-shrink:0}.dashboard-icon-btn svg{width:23px;height:23px}button.dashboard-icon-btn:hover{background:var(--accent-wash);color:var(--accent-hover);box-shadow:none;transform:none}.dashboard-header-badge{position:absolute;top:-2px;right:-2px;min-width:18px;height:18px;padding:0 4px;border-radius:var(--radius-pill);background:var(--danger);color:#fff;font-size:.68rem;font-weight:700;display:flex;align-items:center;justify-content:center;border:2px solid var(--color-surface)}.dashboard-avatar{width:54px;height:54px;border-radius:50%;background:linear-gradient(135deg,var(--accent),#5a3fd6);color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.05rem;font-weight:700;flex-shrink:0}.card-header-row{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:.9rem}.card-header-row h2{margin-bottom:0}.range-select{display:flex;align-items:center;gap:.4rem;padding:.85rem 1.05rem;border-radius:11px;border:1px solid var(--border-hairline);background:var(--color-surface);color:var(--text-secondary);flex-shrink:0}.dashboard-page .range-select{box-shadow:0 4px 12px #2b498c0d}.range-select svg{width:15px;height:15px}.range-select select{border:none;padding:0;font-size:.9rem;font-weight:500;color:var(--text-primary);background:none}.range-select select:focus{outline:none;box-shadow:none}.trend-summary-bar{display:flex;gap:0;margin-top:1.25rem;padding:1.25rem 1.7rem;background:linear-gradient(110deg,#f4f7ff,#f8f9ff);border-radius:14px;justify-content:space-between}.dashboard-page .trend-summary-bar{border:1px solid #edf0f8}.trend-summary-item{display:flex;align-items:center;gap:.85rem;flex:1}.trend-summary-item+.trend-summary-item{border-left:1px solid #d7dff0;padding-left:2.2rem}.trend-summary-icon{width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,var(--accent),color-mix(in srgb,var(--accent) 70%,white));color:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0;box-shadow:0 4px 10px color-mix(in srgb,var(--accent) 35%,transparent)}.trend-summary-icon svg{width:17px;height:17px}.total-deductions-card{display:flex;align-items:center;gap:.85rem;margin-top:1.25rem;padding:1.35rem 1.45rem;background:linear-gradient(110deg,#f3f6ff,#f8f9ff);border-radius:14px}.dashboard-page .total-deductions-card{border:1px solid #edf0f8}.dashboard-footer{text-align:center;font-size:.78rem;color:var(--text-muted);margin-top:.2rem;padding-top:0;border-top:0}.dashboard-grid{display:grid;grid-template-columns:1.65fr 1fr;gap:1.4rem;align-items:start}@media (max-width: 900px){.dashboard-grid{grid-template-columns:1fr}.trend-summary-bar{border-radius:var(--radius-md)}.trend-summary-item+.trend-summary-item{padding-left:1rem}}@media (max-width: 700px){.dashboard-page h1{font-size:1.7rem}.dashboard-page .page-header{align-items:flex-start}.dashboard-header-actions{gap:.6rem}.period-pill span{display:none}.trend-summary-bar{flex-direction:column;align-items:flex-start;gap:1rem}.trend-summary-item+.trend-summary-item{border-left:none;padding-left:0}}.chart-tooltip{position:absolute;background:var(--color-surface);color:var(--text-primary);padding:.6rem .85rem;border-radius:var(--radius-md);box-shadow:var(--shadow-raised);border:1px solid var(--border-hairline);font-size:.78rem;pointer-events:none;white-space:nowrap;transform:translate(-50%,-120%);z-index:10}.chart-tooltip .tooltip-label{color:var(--text-muted);font-size:.7rem;font-weight:500;margin-bottom:.15rem}.chart-tooltip .tooltip-value{font-size:1.05rem;font-weight:700}.deduction-list{display:flex;flex-direction:column;gap:1.65rem}.deduction-row-header{display:flex;justify-content:space-between;font-size:.91rem;margin-bottom:.65rem}.deduction-label{color:var(--text-primary);font-weight:600}.deduction-value{display:flex;align-items:baseline;gap:.4rem}.deduction-value-amount{font-weight:600;font-variant-numeric:tabular-nums}.deduction-value-pct{color:var(--accent);font-size:.82rem;font-weight:600}.deduction-track{background:var(--color-surface-sunken);border-radius:999px;height:12px;overflow:hidden}.deduction-fill{height:100%;border-radius:999px;transition:width .45s cubic-bezier(.2,.8,.2,1);position:relative;overflow:hidden}.deduction-row:hover .deduction-fill{filter:saturate(1.18)}.deduction-fill:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,#fff6,#fff0 70%)}.avatar{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;font-size:.7rem;font-weight:700;flex-shrink:0}.avatar.tint-blue{background:var(--accent-wash);color:var(--accent-hover)}.avatar.tint-orange{background:#fdeee5;color:var(--series-2)}.avatar.tint-aqua{background:#e2f6ef;color:var(--series-3)}.avatar.tint-yellow{background:#fdf1d9;color:#a3760a}.avatar.tint-magenta{background:#fbe9f0;color:#c15c85}.avatar.tint-green{background:var(--success-wash);color:var(--success)}.name-cell{display:flex;align-items:center;gap:.6rem}.employees-page .page-header{margin:0 0 1.1rem}.employees-page h1{font-size:1.25rem;letter-spacing:-.025em}.employees-subtitle{color:var(--text-muted);font-size:.68rem;margin-top:.25rem}.employees-page .page-header>button{background:linear-gradient(110deg,#0758f5,#7544ed);border-radius:5px;padding:.65rem 1rem;font-size:.72rem;box-shadow:0 5px 13px #214cdc38}.employees-page .kpi-row{grid-template-columns:repeat(5,minmax(0,1fr));gap:0;background:#fff;border:1px solid #edf0f8;box-shadow:var(--shadow-card);border-radius:10px;padding:.55rem;margin-bottom:.9rem}.employees-page .stat-tile{min-width:0;display:flex;align-items:center;gap:.75rem;padding:.75rem .8rem;border:0;border-radius:8px;box-shadow:none}.employees-page .stat-tile+.stat-tile{border-left:1px solid #edf0f8}.employees-page .stat-tile:hover{box-shadow:none;transform:none}.employees-page .stat-tile-icon{width:34px;height:34px;margin:0;border-radius:9px;flex-shrink:0}.employees-page .stat-tile-icon svg{width:16px;height:16px}.employees-page .stat-tile-label{font-size:.56rem;margin:0 0 .26rem;color:#647294;white-space:nowrap}.employees-page .stat-tile-value{font-size:.95rem;color:#10234d;white-space:nowrap}.employee-table-card{background:var(--color-surface);border:1px solid #edf0f8;box-shadow:var(--shadow-card);border-radius:10px;overflow:hidden}.employees-page .table-scroll{max-height:none;border:0;border-radius:0;box-shadow:none}.employee-table{min-width:1060px;border:0;font-size:.61rem;box-shadow:none}.employee-table th,.employee-table td{padding:.68rem .55rem;border-color:#edf0f7;white-space:nowrap}.employee-table th{background:#f5f8ff;color:#687797;font-size:.53rem;text-transform:uppercase;letter-spacing:0}.employee-table td{color:#10234d;font-weight:500}.employee-table tbody tr:hover{background:#fbfcff}.employee-table .name-cell{gap:.45rem;font-weight:600}.employee-table .avatar{width:22px;height:22px;font-size:.56rem}.employee-table .badge{justify-content:center;min-width:22px;padding:.18rem .3rem;border-radius:4px;font-size:.53rem;font-weight:600}.employee-table .badge-success{background:#e8f8ec;color:#168641}.employee-table .badge-neutral{background:#fff0f1;color:#ee3f4e}.employee-table .row-actions{gap:.35rem}.employee-action{width:22px;height:22px;padding:0;border:0;border-radius:4px;display:inline-grid;place-items:center;box-shadow:none}.employee-action svg{width:12px;height:12px}.employee-action.edit{background:#eaf2ff;color:#0b62ed}.employee-action.delete{background:#fff0ef;color:#ff5c45}.employee-action:hover:not(:disabled){box-shadow:none;transform:none}.employee-action.edit:hover:not(:disabled){background:#dceaff}.employee-action.delete:hover:not(:disabled){background:#ffe3df}.pagination-bar{padding:.68rem .75rem;margin:0;border-top:1px solid #edf0f7}.pagination-bar .hint{font-size:.59rem}.pagination-controls{gap:.45rem}.pagination-arrow,.pagination-page{width:24px;height:24px;padding:0;display:inline-grid;place-items:center;border:1px solid #e3e9f6;border-radius:5px;background:#fff;color:#55678d;box-shadow:none;font-size:.73rem;font-weight:600}.pagination-page.active{border-color:#1761ee;color:#1761ee;box-shadow:inset 0 0 0 1px #1761ee}.pagination-arrow:disabled{opacity:.45}@media (max-width: 1100px){.employees-page .kpi-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:.35rem}.employees-page .stat-tile+.stat-tile{border-left:0}}@media (max-width: 650px){.employees-page .kpi-row{grid-template-columns:repeat(2,minmax(0,1fr))}.employees-page .stat-tile-value{font-size:.83rem}}.settings-layout{display:grid;grid-template-columns:2fr 1fr;gap:1.5rem;align-items:start}@media (max-width: 900px){.settings-layout{grid-template-columns:1fr}}.settings-section-heading{display:flex;align-items:flex-start;gap:.85rem;margin-bottom:.9rem}.settings-section-heading .stat-tile-icon{margin-bottom:0}.settings-divider{border:none;border-top:1px solid var(--border-hairline);margin:1.5rem 0}.settings-updated-chip{display:flex;flex-direction:column;align-items:flex-end;background:var(--color-surface);border:1px solid var(--border-hairline);border-radius:var(--radius-md);box-shadow:var(--shadow-card);padding:.6rem 1rem}.settings-info-card{margin:0;position:sticky;top:1.5rem}.payroll-page .page-header{margin:0 0 1.35rem;padding:.15rem 0}.payroll-page h1{font-size:1.45rem;letter-spacing:-.025em}.payroll-subtitle{color:var(--text-muted);font-size:.78rem;margin-top:.25rem}.payroll-page .period-picker{gap:.7rem}.payroll-select{display:flex;align-items:center;gap:.5rem;min-width:132px;padding:0 .8rem;height:44px;border:1px solid #dce6fa;border-radius:10px;background:#fff;color:#195ce7;box-shadow:0 5px 14px #305cbb12}.payroll-select svg{width:15px;height:15px;flex-shrink:0}.payroll-select select{width:100%;border:0;padding:0;font-size:.78rem;font-weight:650;color:#20345e}.payroll-select select:focus{box-shadow:none}.export-button{display:inline-flex;align-items:center;gap:.45rem;height:44px;padding:0 1rem;border-radius:10px;background:linear-gradient(115deg,#0758f5,#315cf0 52%,#7644ed);font-size:.76rem;box-shadow:0 9px 20px #3250da40}.export-button svg{width:15px;height:15px}.export-menu-panel{min-width:170px}.payroll-table-card{background:#fff;border:1px solid #edf0f8;border-radius:18px;box-shadow:0 12px 30px #2b498c17;overflow:hidden;flex:1 1 auto;min-height:0;display:flex;flex-direction:column}.payroll-page .table-scroll{flex:1 1 auto;min-height:0;max-height:none;border:0;border-radius:0;box-shadow:none;scrollbar-color:#9aa9c5 #f3f6fc;scrollbar-width:thin}.payroll-page .table-scroll::-webkit-scrollbar{height:9px;width:9px}.payroll-page .table-scroll::-webkit-scrollbar-track{background:#f3f6fc}.payroll-page .table-scroll::-webkit-scrollbar-thumb{background:#9aa9c5;border:2px solid #f3f6fc;border-radius:99px}.payroll-table{min-width:1420px;border:0;box-shadow:none;font-size:.82rem}.payroll-table th,.payroll-table td{padding:.82rem .8rem;border-color:#e9edf7;white-space:nowrap}.payroll-table th{background:#fbfcff;color:#526283;font-size:.69rem;line-height:1.25}.payroll-table td{color:#26375c}.payroll-table tbody tr{transition:background .15s ease,box-shadow .15s ease}.payroll-table tbody tr:hover{background:#f7f9ff;box-shadow:inset 3px 0 #3b68ef}.payroll-table tfoot td{background:linear-gradient(90deg,#f5f8ff,#fbfcff);color:#12326d;font-size:.68rem;font-weight:750;border-top:1px solid #dce5f7}.payroll-table tfoot td:nth-child(11),.payroll-table tfoot td:nth-child(17){color:#008a3c}.payroll-table .name-cell{gap:0;line-height:1.4;white-space:normal;min-width:112px}.payroll-table .name-cell strong{display:block;font-size:.82rem;color:#102857}.employee-active{display:block;color:#0ca847;font-size:.66rem;margin-top:.22rem}.earned-wages{color:#00933e!important;font-weight:700}.payroll-table input{width:3.45rem;padding:.42rem .38rem;border-radius:7px;border:1px solid transparent;text-align:center;font-size:.78rem}.payroll-table input:not(.attendance-full):not(.attendance-partial){width:4.5rem;background:#f7f9fe;border-color:#edf1f9;color:#26375c}.payroll-table input:focus{border-color:#2f63ec;background:#fff;box-shadow:0 0 0 3px #2f63ec21}.payroll-table input.attendance-full{background:#e9f9ef;border-color:#d9f3e3;color:#07913f;font-weight:700}.payroll-table input.attendance-partial{background:#fff4e9;border-color:#ffe8d1;color:#f38117;font-weight:700}.payroll-table .row-menu-trigger{width:20px;height:20px;color:#17284e}.payroll-table .row-menu-trigger:hover{background:#eaf0ff;color:#1859e8}.payroll-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1.1rem;margin-top:0;padding:1rem 0 .2rem;flex:0 0 auto}.payroll-footer .form-actions{gap:.7rem}.save-payroll,.finalize-payroll{display:inline-flex;align-items:center;gap:.6rem;min-height:46px;padding:.6rem 1.05rem;font-size:.74rem;border-radius:10px}.save-payroll{background:linear-gradient(115deg,#0758f5,#7045eb);box-shadow:0 9px 20px #214cdc38}.finalize-payroll{background:#fff;color:#19315d;border:1px solid #e0e6f2;box-shadow:0 5px 14px #305cbb14}.save-payroll svg,.finalize-payroll svg{width:17px;height:17px}.payroll-footer .btn-link{font-size:.67rem;color:#385de7}.mini-stats{display:flex;align-items:stretch;gap:0;background:#fff;border:1px solid #edf0f8;border-radius:12px;box-shadow:0 8px 20px #2b498c14;padding:.68rem .8rem}.payroll-stat-icon{display:grid;place-items:center;width:30px;margin-right:.35rem;color:#2a61eb;background:#edf3ff;border-radius:6px}.payroll-stat-icon svg{width:16px;height:16px}.mini-stats .mini-stat{min-width:103px;padding:.12rem .75rem;border-left:1px solid #e5eaf5;text-align:left;transition:background .15s ease}.mini-stats .mini-stat-label{font-size:.6rem;color:#697797;text-transform:none;letter-spacing:0}.mini-stats .mini-stat-value{font-size:.86rem;color:#142a58}.mini-stats .mini-stat:nth-of-type(3) .mini-stat-value{color:#00933e}.mini-stats .mini-stat:nth-of-type(4) .mini-stat-value{color:#095ce9}.mini-stats .mini-stat:hover{background:#f5f8ff}.mini-stats .mini-stat:nth-of-type(5) .mini-stat-value{color:#8b2ce5}.mini-stats .net-pay-stat{background:#eef9f2;border-radius:7px}.mini-stats .net-pay-stat .mini-stat-value{color:#008a3c}@media (max-width: 850px){.payroll-page .page-header{align-items:flex-start}.payroll-page .period-picker{flex-wrap:wrap}.mini-stats{overflow-x:auto;max-width:100%}.payroll-page{min-height:auto}.payroll-table-card{max-height:65vh}}.payroll-page{min-height:calc(100vh - 3.2rem);display:flex;flex-direction:column}.history-page{max-width:1240px}.history-page .page-header{margin-bottom:1.55rem}.history-eyebrow{color:var(--accent);font-size:.72rem;font-weight:750;letter-spacing:.08em;text-transform:uppercase;margin-bottom:.35rem}.history-page h1{font-size:2.15rem}.history-subtitle{color:var(--text-muted);font-size:.9rem;margin-top:.45rem}.history-summary-card{display:flex;align-items:center;gap:0;background:linear-gradient(105deg,#fff,#fbfcff);border:1px solid #e5eaf7;border-radius:20px;box-shadow:0 14px 32px #2b498c14;padding:1.45rem 1.7rem;margin-bottom:1.45rem}.history-summary-icon{width:54px;height:54px;border-radius:17px;background:linear-gradient(135deg,#e3edff,#f1edff);color:#1459e8;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-right:1.6rem}.history-summary-icon svg{width:26px;height:26px}.history-summary-item{min-width:160px;padding:.15rem 1.7rem;border-left:1px solid #e5eaf5}.history-summary-item:last-child{flex:1}.history-summary-item .mini-stat-label{font-size:.72rem;letter-spacing:.04em}.history-summary-item .stat-tile-value{margin-top:.35rem;font-size:1.75rem}.history-table-card{background:#fff;border:1px solid #e5eaf7;border-radius:18px;box-shadow:0 12px 28px #2b498c12;overflow:hidden}.history-table-heading{display:flex;align-items:center;justify-content:space-between;padding:1.25rem 1.5rem}.history-table-heading h2{margin:0;font-size:1.05rem}.history-table-heading p{margin-top:.3rem;color:var(--text-muted);font-size:.78rem}.history-table-count{padding:.37rem .68rem;border-radius:99px;background:#eef3ff;color:#2459cc;font-size:.73rem;font-weight:700}.history-page .table-scroll{max-height:none;border:0;border-radius:0;box-shadow:none}.history-table{border:0;border-radius:0;box-shadow:none;font-size:.86rem}.history-table th,.history-table td{padding:1rem 1.5rem;border-color:#e8edf7}.history-table th{position:static;background:#f7f9ff;color:#68779b;font-size:.67rem;letter-spacing:.05em}.history-table th:last-child{width:220px;text-align:right}.history-table td:last-child{width:220px}.history-table td{color:#142855;font-weight:550}.history-table tbody tr{transition:background .16s ease}.history-table tbody tr:hover{background:#f8faff}.history-netpay{color:#008b3c!important;font-size:.92rem;font-weight:750!important}.history-table .badge{padding:.32rem .68rem;background:#edf2ff;color:#1d4cae}.history-table .badge-success{background:#e9f9ef;color:#00883c}.history-table .row-actions{justify-content:flex-end;align-items:center;min-width:220px}.history-open{display:inline-flex;align-items:center;gap:.35rem;padding:.48rem .75rem;border-radius:8px;color:#0b55e5;background:#edf3ff;box-shadow:none;font-size:.76rem}.history-open svg{width:14px;height:14px;transition:transform .15s ease}.history-open:hover:not(:disabled){color:#fff;background:#1559e7;transform:none;box-shadow:0 6px 13px #1559e738}.history-open:hover svg{transform:translate(2px)}.history-table .btn-pill-danger{padding:.48rem .75rem;border-radius:8px;font-size:.76rem}@media (max-width: 760px){.history-page h1{font-size:1.75rem}.history-summary-card{align-items:flex-start;flex-wrap:wrap;gap:1rem}.history-summary-item{min-width:125px;padding:.35rem .8rem}.history-summary-icon{margin-right:.3rem}}*{box-sizing:border-box}:root{--color-bg: #f7f9ff;--color-surface: #ffffff;--color-surface-sunken: #f5f7fd;--text-primary: #071743;--text-secondary: #23325e;--text-muted: #7381aa;--border-hairline: #e6eaf5;--gridline: #dfe5f4;--baseline: #b9c5df;--accent: #0d4eea;--accent-hover: #073dc5;--accent-wash: #eaf1ff;--success: #008a36;--success-wash: #e6f4e6;--danger: #e63c22;--danger-wash: #fbeaea;--warning: #b9790a;--warning-wash: #fdf3e0;--series-1: #0d4eea;--series-2: #ff8a00;--series-3: #00a887;--series-4: #e65a00;--series-5: #e87ba4;--series-6: #008300;--radius-sm: 8px;--radius-md: 16px;--radius-lg: 18px;--radius-pill: 999px;--shadow-card: 0 8px 24px rgba(43, 73, 140, .07);--shadow-raised: 0 12px 30px rgba(43, 73, 140, .14);--sidebar-width: 256px;--sidebar-bg-top: #ffffff;--sidebar-bg-bottom: #fbfcff;--sidebar-text: #0b1a4c;--sidebar-text-bright: #0d4eea;--sidebar-hairline: #e6eaf5;--sidebar-active-bg: linear-gradient(110deg, #e9f1ff, #f1f5ff)}html,body{height:100%}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;background:var(--color-bg);color:var(--text-primary);-webkit-font-smoothing:antialiased}h1,h2,h3{margin:0;font-weight:700;letter-spacing:-.01em}h1{font-size:2.2rem}h2{font-size:1.25rem;margin-bottom:.75rem}p{margin:0}.app-shell{min-height:100vh}.main-column{display:flex;flex-direction:column;min-width:0;margin-left:var(--sidebar-width)}.page{padding:2rem 2.5rem 1.2rem;max-width:1344px;width:100%;margin:0 auto}@media (max-width: 880px){.main-column{margin-left:0;padding-top:56px}.page{padding:1.25rem 1rem 1.5rem}}@media (max-width: 480px){.page{padding:1rem .75rem 1.25rem}h1{font-size:1.3rem}}.table-scroll{overflow:auto;max-height:68vh;border:1px solid var(--border-hairline);border-radius:var(--radius-md);box-shadow:var(--shadow-card)}.table-scroll .data-table{border:none;border-radius:0;box-shadow:none}.page-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.5rem;gap:1rem;flex-wrap:wrap}.period-picker{display:flex;gap:.5rem;align-items:center}.card{background:var(--color-surface);border:1px solid var(--border-hairline);border-radius:var(--radius-md);box-shadow:var(--shadow-card);padding:1.5rem;margin-bottom:1.5rem}.card h2{margin-bottom:.35rem}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.1rem;margin-top:.75rem}.form-grid label,.login-form label{display:flex;flex-direction:column;gap:.35rem;font-size:.82rem;font-weight:500;color:var(--text-secondary)}.checkbox-label{flex-direction:row!important;align-items:center;gap:.55rem!important;font-size:.88rem!important}input,select{padding:.5rem .65rem;border:1px solid var(--border-hairline);border-radius:var(--radius-sm);font-size:.9rem;font-family:inherit;background:var(--color-surface);color:var(--text-primary);transition:border-color .12s ease,box-shadow .12s ease}input:disabled{background:var(--color-surface-sunken);color:var(--text-muted)}input:focus,select:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-wash)}input[type=checkbox]{width:16px;height:16px;accent-color:var(--accent)}button{padding:.55rem 1.1rem;border:1px solid transparent;border-radius:var(--radius-sm);background:var(--accent);color:#fff;cursor:pointer;font-size:.87rem;font-weight:600;font-family:inherit;box-shadow:0 1px 2px #0b0b0b14;transition:background .12s ease,box-shadow .15s ease,transform .08s ease}button:hover:not(:disabled){background:var(--accent-hover);box-shadow:0 4px 12px #2a78d647;transform:translateY(-1px)}button:active:not(:disabled){transform:translateY(0);box-shadow:0 1px 2px #0b0b0b14}button:disabled{opacity:.5;cursor:not-allowed}.btn-secondary{background:var(--color-surface);color:var(--text-primary);border-color:var(--border-hairline);box-shadow:none}.btn-secondary:hover:not(:disabled){background:var(--color-surface-sunken);box-shadow:0 2px 8px #0b0b0b14}.btn-link{background:none;border:none;color:var(--accent);padding:0;font-weight:500;text-decoration:none}.btn-link:hover:not(:disabled){background:none;color:var(--accent-hover);text-decoration:underline;box-shadow:none;transform:none}.btn-link.danger{color:var(--danger)}.btn-pill{padding:.4rem .9rem;border-radius:var(--radius-pill);font-size:.8rem}.btn-pill-danger{background:var(--danger-wash);color:var(--danger)}.btn-pill-danger:hover:not(:disabled){background:var(--danger);color:#fff}.form-actions{display:flex;gap:.75rem;margin-top:1.25rem;align-items:center}.data-table{width:100%;border-collapse:collapse;background:var(--color-surface);font-size:.85rem;border:1px solid var(--border-hairline);border-radius:var(--radius-md);overflow:hidden}.data-table th,.data-table td{padding:.65rem .85rem;text-align:left;border-bottom:1px solid var(--gridline)}.data-table th{background:var(--color-surface-sunken);color:var(--text-secondary);font-weight:600;font-size:.78rem;text-transform:uppercase;letter-spacing:.02em;position:sticky;top:0;z-index:1}.data-table tbody tr{transition:background .1s ease}.data-table tbody tr:hover{background:var(--color-surface-sunken)}.data-table tbody tr:last-child td{border-bottom:none}.data-table td{font-variant-numeric:tabular-nums}.data-table tfoot td{font-weight:700;background:var(--color-surface-sunken);border-top:2px solid var(--border-hairline);border-bottom:none;position:sticky;bottom:0}.row-actions{display:flex;gap:.75rem}.badge{display:inline-flex;align-items:center;gap:.3rem;padding:.2rem .6rem;border-radius:var(--radius-pill);font-size:.75rem;font-weight:600}.badge-success{background:var(--success-wash);color:var(--success)}.badge-neutral{background:var(--color-surface-sunken);color:var(--text-secondary)}.badge-dot{width:6px;height:6px;border-radius:50%;background:currentColor}.stat-tile{background:var(--color-surface);border:1px solid var(--border-hairline);border-radius:var(--radius-md);box-shadow:var(--shadow-card);padding:1.5rem 1.55rem 1.25rem;transition:box-shadow .15s ease,transform .15s ease}.stat-tile:hover{box-shadow:var(--shadow-raised);transform:translateY(-2px)}.stat-tile-icon{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin-bottom:.8rem}.stat-tile-icon svg{width:19px;height:19px}.stat-tile-icon.tint-blue{background:#e5efff;color:var(--accent)}.stat-tile-icon.tint-purple{background:#f0e9ff;color:#5428c6}.stat-tile-icon.tint-orange{background:#fff0e8;color:#f0501b}.stat-tile-icon.tint-green{background:#e5f8ed;color:#008a4a}.stat-tile-label{font-size:.91rem;color:var(--text-secondary);font-weight:500;margin-bottom:.4rem}.stat-tile-value{font-size:1.92rem;font-weight:700;letter-spacing:-.02em;font-variant-numeric:proportional-nums}.stat-tile-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:.6rem;min-height:28px}.stat-tile-delta{display:flex;align-items:center;gap:.25rem;font-size:.76rem;font-weight:600}.stat-tile-delta svg{width:13px;height:13px}.stat-tile-delta.is-good{color:var(--success)}.stat-tile-delta.is-bad{color:var(--danger)}.mini-stat{text-align:right}.mini-stat-label{font-size:.77rem;color:var(--text-muted);font-weight:500;text-transform:uppercase;letter-spacing:.03em;margin-bottom:.2rem}.mini-stat-value{font-size:1rem;font-weight:700}.error-text{color:var(--danger);font-size:.88rem}.success-text{color:var(--success);font-size:.88rem}.hint{color:var(--text-muted);font-size:.83rem;margin-bottom:.75rem}
