
*{box-sizing:border-box}body{margin:0;background:#eef2ed;color:#24332b;font-family:Arial,sans-serif}header.app{background:#233e2e;color:white;padding:22px 30px;display:flex;justify-content:space-between;align-items:center;gap:20px}h1{font-size:24px;margin:0 0 6px}p{margin:0}.workspace{display:grid;grid-template-columns:390px minmax(0,1fr);gap:24px;padding:24px;max-width:1600px;margin:auto}.editor{background:white;border-radius:14px;padding:24px;align-self:start}.editor h2{font-size:18px;margin:26px 0 14px}.editor h2:first-child{margin-top:0}.fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.wide{grid-column:1/-1}label{display:block;font-size:12px;font-weight:bold;margin-bottom:6px}input,textarea,select{display:block;width:100%;padding:9px;border:1px solid #c6d1c8;border-radius:6px;background:white;font:14px Arial}textarea{min-height:66px;resize:vertical}button{padding:10px 16px;border-radius:7px;border:1px solid #abbcac;cursor:pointer;background:white;color:#233e2e;font-weight:bold}.primary{background:#52763a;color:white;border-color:#52763a}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.hint{font-size:12px;color:#66756b;line-height:1.5;margin-top:12px}.preview{overflow:auto;padding:0 8px 20px}.paper{background:white;color:#111;width:816px;min-height:1056px;padding:48px 36px;margin:auto;box-shadow:0 5px 28px #233e2e18;font-size:13px;line-height:1.45}.company{text-align:right;white-space:pre-line}.logo{width:140px;height:49px;object-fit:contain;margin-bottom:8px}.check{margin-top:38px}.check-top{display:flex;justify-content:space-between;align-items:center}.paper{position:relative;isolation:isolate}.paper>*{position:relative;z-index:1}.paper::before{content:"NON-NEGOTIABLE";position:absolute;top:30%;left:4%;width:92%;text-align:center;transform:rotate(-25deg);font:bold 53px Georgia,serif;color:rgba(60,70,60,.11);z-index:0;pointer-events:none;letter-spacing:3px}.watermark{display:none}.live-values{background:#eef4ea;border-radius:8px;padding:12px;margin:16px 0;font-size:14px;line-height:1.8}.history-panel{border-top:1px solid #ddd;margin-top:24px;padding-top:16px}.history-panel input{margin:10px 0}.readonly{background:#edf1ed;color:#53664f}.payee{display:grid;grid-template-columns:90px 1fr 220px;gap:12px;align-items:center;margin:28px 0 22px}.caps{font-size:11px;letter-spacing:2px}.net{font-size:19px;font-weight:bold;text-align:right}.words{text-align:right;text-transform:uppercase;font-size:12px;letter-spacing:1px;margin:15px 0 22px;overflow-wrap:anywhere}.employee-address{margin-left:102px;white-space:pre-line}.ssn{margin:16px 0 64px 102px}.meta{display:grid;grid-template-columns:1fr 1fr 1fr;border-top:1px solid #111;padding:12px 0;gap:10px}.tables{display:grid;grid-template-columns:1fr 1fr;border:1px solid #111;min-height:285px}.tables section+section{border-left:1px solid #111}.tables h3{font-size:14px;letter-spacing:2px;padding:7px 10px;border-bottom:1px solid #111;margin:0}table{width:100%;border-collapse:collapse;font-size:11px;table-layout:fixed}th,td{padding:7px 6px;text-align:right;overflow-wrap:anywhere}th:first-child,td:first-child{text-align:left;width:28%}thead{border-bottom:1px solid #111}tfoot{border-top:1px solid #999;font-weight:bold}.summary{display:flex;justify-content:space-between;border-bottom:2px solid #111;padding:16px 10px;font-weight:bold}.notes{margin-top:24px;white-space:pre-line;font-size:11px;color:#555;overflow-wrap:anywhere}.topnote{margin:0 auto 12px;max-width:816px;font-size:12px;color:#66756b}@media(max-width:1100px){.workspace{grid-template-columns:1fr}.editor{max-width:816px;width:100%;margin:auto}}@media(max-width:600px){.workspace{padding:12px}header.app{padding:18px;display:block}header button{margin-top:14px}.editor{padding:18px}}@page{size:letter;margin:0}@media print{body{background:white}.app,.editor,.topnote{display:none!important}.workspace{display:block;padding:0;margin:0;max-width:none}.preview{overflow:visible;padding:0}.paper{width:100%;min-height:0;height:auto;margin:0;padding:0.5in 0.375in;box-shadow:none;print-color-adjust:exact;-webkit-print-color-adjust:exact}.tables,.meta,.summary{break-inside:avoid}.notes{break-inside:avoid}}
[hidden]{display:none!important}.employee-tools{border-bottom:1px solid #ddd;padding-bottom:18px;margin-bottom:20px}dialog{border:0;border-radius:12px;padding:26px;max-width:520px;width:95%}dialog::backdrop{background:#172c2680}@media print{#loginPanel,dialog,#logout{display:none!important}}/* Keep monetary values intact and give earnings totals adequate width. */
.tables td:not(:first-child){white-space:nowrap;overflow-wrap:normal;font-variant-numeric:tabular-nums}
.tables th,.tables td{padding-left:4px;padding-right:4px}
.tables section:first-child th:first-child{width:21%}
.tables section:first-child th:nth-child(2){width:11%}
.tables section:first-child th:nth-child(3){width:18%}
.tables section:first-child th:nth-child(4),.tables section:first-child th:nth-child(5){width:25%}
