:root{font-family:system-ui,-apple-system,Segoe UI,Arial,sans-serif;color:#172b4d;background:#f2f5fa}*{box-sizing:border-box}body{margin:0}header{background:#192f56;color:white;padding:22px 0}h1{margin:0;font-size:23px}header small{color:#c9d7ec}.wrap{max-width:1280px;margin:auto;padding:0 18px}nav{display:flex;gap:9px;margin:24px 0;flex-wrap:wrap}button{border:0;border-radius:8px;background:#2858ae;color:white;padding:10px 15px;font-weight:650;cursor:pointer}button.secondary,nav button{background:#e1e9f5;color:#18345d}nav button.active{background:#2858ae;color:white}button:disabled{opacity:.5;cursor:wait}.panel{background:white;padding:24px;border:1px solid #e2e8f1;border-radius:14px;box-shadow:0 3px 18px #142d5210}.heading{display:flex;align-items:end;justify-content:space-between;gap:20px;flex-wrap:wrap}h2{margin:0 0 5px;font-size:22px}p{color:#64748b;margin:4px 0 18px}label{font-weight:650;font-size:13px;display:flex;flex-direction:column;gap:6px}input{border:1px solid #cbd5e1;border-radius:8px;padding:10px;font:inherit;min-width:0}input[type=number]{width:120px}.stats{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.stat{background:#edf3fc;border-radius:10px;padding:15px 20px;min-width:155px;flex:1}.stat strong{font-size:23px;display:block}.stat span{color:#5b6f90;font-size:13px}.tablewrap{overflow:auto}table{border-collapse:collapse;width:100%;min-width:800px}th{text-align:left;background:#f2f6fb;font-size:13px;white-space:nowrap}td,th{padding:12px;border-bottom:1px solid #e8edf4}td{font-size:14px}td input{width:140px}td input[type=date]{width:155px}.muted{color:#64748b}.positive{color:#13825c;font-weight:650}.due{color:#b45a0b;font-weight:650}.formgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:15px;margin:20px 0 30px}.formgrid button{align-self:end}.formgrid input{width:100%}#message:not(:empty){background:#eaf4ff;padding:10px 14px;border-radius:8px;margin:12px 0}footer{font-size:12px;color:#64748b;margin:24px 0}@media(max-width:650px){.panel{padding:14px}.stat{min-width:125px}.heading{align-items:start}}

.paycheck{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;cursor:pointer}.paycheck input{width:19px;height:19px;accent-color:#17805b}#paymentRows td{vertical-align:middle}
