.payroll-workspace{min-width:0}.payroll-workspace>.panel-heading{flex-wrap:wrap;gap:18px;margin:25px 0}.payroll-actions{display:flex;gap:10px;flex-wrap:wrap}.payroll-controls{display:flex;align-items:flex-end;gap:20px;flex-wrap:wrap;margin-bottom:20px}.payroll-controls .field{max-width:120px}.payroll-tax-switch{display:flex;gap:8px;align-items:center;font-size:13px;min-height:44px;color:var(--muted)}.payroll-months{display:flex;gap:5px;overflow-x:auto;padding-bottom:12px;margin-bottom:20px}.payroll-months button{border:1px solid var(--line);background:white;border-radius:6px;min-width:62px;min-height:44px;font-size:13px}.payroll-months button.selected{background:var(--forest);color:white;border-color:var(--forest)}.payroll-months button:hover{border-color:var(--forest)}.payroll-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--line);border-radius:10px;background:#fff;margin-bottom:22px;overflow:hidden}.payroll-metrics>div{padding:18px 22px;border-right:1px solid var(--line)}.payroll-metrics>div:last-child{border:0}.payroll-metrics small{display:block;color:var(--muted);font-size:12px;margin-bottom:7px}.payroll-metrics strong{font-size:23px;font-weight:550;font-variant-numeric:tabular-nums}.payroll-sheet-scroll{overflow:auto;border:1px solid var(--line);border-radius:9px;background:white;max-height:65vh}.payroll-sheet{border-collapse:separate;border-spacing:0;width:max-content;min-width:100%;font-size:12px}.payroll-sheet th,.payroll-sheet td{padding:14px 13px;border-bottom:1px solid #e2e8de;border-right:1px solid #edf0e9;min-width:130px;max-width:250px;text-align:right;vertical-align:middle;font-variant-numeric:tabular-nums}.payroll-sheet thead th{position:sticky;top:0;background:var(--forest);color:white;text-align:center;z-index:2;font-size:12px;min-width:130px;max-width:155px;font-weight:550}.payroll-sheet .payroll-sticky{position:sticky;left:0;z-index:1;text-align:left;min-width:230px;background:#fff;border-right:1px solid #cad7c5}.payroll-sheet thead .payroll-sticky{z-index:3;background:var(--forest)}.payroll-sheet small{display:block;font-size:11px;color:var(--muted);font-weight:400;margin-top:5px;line-height:1.4}.payroll-sheet thead small{color:#d8e6d2}.payroll-sheet tbody tr:hover th,.payroll-sheet tbody tr:hover td{background:#f8faf5}.payroll-sheet td:first-child,.payroll-sheet th:first-child:not(.payroll-sticky){min-width:46px}.payroll-sheet .payroll-input-cell{background:#fff9e9}.payroll-sheet .payroll-calculated{background:#f3f7ef}.payroll-sheet .payroll-debt{color:#875e22;font-weight:600;background:#faf3e7}.payroll-sheet tfoot td,.payroll-sheet tfoot th{font-weight:600;background:#eaf0e4}.payroll-sheet .payroll-blank{height:170px;text-align:left;color:var(--muted);padding:25px 30px;max-width:none;white-space:normal}.payroll-row-actions{display:flex;gap:6px;min-height:90px}.payroll-note{font-size:12px;line-height:1.7;color:var(--muted);max-width:1000px;margin-top:18px}.payroll-rules{margin-top:18px;max-width:1000px;color:var(--muted);font-size:12px;line-height:1.7}.payroll-rules summary{cursor:pointer;color:var(--forest);font-size:13px}.payroll-rules p{margin-top:12px}.payroll-tax-form{border:1px solid var(--line);padding:16px;border-radius:7px}.payroll-tax-form summary{cursor:pointer;font-size:13px;font-weight:550}.payroll-tax-form>.helper{margin:12px 0 18px}.payroll-cash-link{border-top:1px solid var(--line);padding-top:18px}.payroll-cash-link .helper{margin-top:8px}
@media(max-width:760px){.payroll-metrics{grid-template-columns:1fr}.payroll-metrics>div{padding:14px 18px;border-right:0;border-bottom:1px solid var(--line)}.payroll-metrics strong{font-size:21px}.payroll-actions{width:100%}.payroll-actions .button{flex:1}.payroll-sheet .payroll-sticky{min-width:175px;max-width:175px}.payroll-sheet th,.payroll-sheet td{padding:12px}.payroll-controls{gap:12px}.payroll-controls .segmented button{min-height:44px}.payroll-sheet-scroll{max-height:70vh}.payroll-blank{font-size:12px}.payroll-workspace .panel-heading h2{font-size:19px}}
.money-tabs{position:relative;flex-wrap:nowrap;overflow-x:auto}.money-tabs button{flex-shrink:0}.payroll-months{position:relative}
