/* Payslip, Letterhead and Statement of account pages (rendered A4, same base as .inv-page) */
.biz-page{display:flex;flex-direction:column}
.biz-layout .cv-form{max-height:none}
.bz-head{display:flex;justify-content:space-between;gap:24px;padding-bottom:18px;border-bottom:3px solid var(--ia)}
.bz-from{font-size:12px;line-height:1.5}
.bz-from b{font-size:15px}
.bz-from .inv-logo{display:block;margin-bottom:10px}
.bz-title{text-align:right}
.bz-title h1{margin:0 0 8px;color:var(--ia);font-size:28px;letter-spacing:.06em}
.bz-title table{margin-left:auto;font-size:12px;border-collapse:collapse}
.bz-title td{padding:2px 0 2px 14px}
.bz-title td:first-child{color:#777}
.bz-box{display:flex;flex-wrap:wrap;gap:12px 32px;margin:20px 0;padding:14px 16px;background:#f7f7fa;border-radius:6px;font-size:12px}
.bz-box span{display:block;color:#777;font-size:10.5px;text-transform:uppercase;letter-spacing:.05em;margin-bottom:2px}
.bz-box b{font-size:14px}
.bz-emp > div:first-child{flex:1 1 100%}
.bz-cols{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.bz-tbl{width:100%;border-collapse:collapse;font-size:12px}
.bz-tbl th{text-align:left;background:var(--ia);color:#fff;padding:8px 10px;font-size:11px;text-transform:uppercase;letter-spacing:.04em}
.bz-tbl td{padding:8px 10px;border-bottom:1px solid #eee}
.bz-tbl .r{text-align:right}
.bz-tbl tfoot td{font-weight:700;border-top:2px solid #ddd;border-bottom:none}
.bz-net{display:flex;justify-content:space-between;align-items:center;margin:20px 0 0;padding:16px 20px;background:var(--ia);color:#fff;border-radius:6px}
.bz-net span{font-size:14px;font-weight:600}
.bz-net b{font-size:24px}
.bz-small{font-size:11.5px}
.bz-due{margin-left:auto;text-align:right}
.bz-due b{font-size:20px;color:var(--ia)}
.bz-stmt{margin-top:6px}
.bz-stmt td:first-child{white-space:nowrap}
.bz-open td{color:#777;font-style:italic}
.bz-age{margin-top:22px}
.bz-age th{background:#f1f1f5;color:#333;text-align:center}
.bz-age td{text-align:center;font-weight:600}

/* Letterhead styles */
.bz-letter{padding:0!important;font-size:13px;line-height:1.6}
.lh-head{display:flex;align-items:center;gap:18px;padding:36px 52px 22px}
.lh-head div{display:flex;flex-direction:column;font-size:11.5px;color:#555}
.lh-head b{font-size:18px;color:#161616}
.lh-head .inv-logo{max-height:70px}
.lh-band .lh-head{background:var(--ia);color:#fff}
.lh-band .lh-head div,.lh-band .lh-head b{color:#fff}
.lh-band .lh-head .inv-logo{background:#fff;border-radius:8px;padding:6px}
.lh-side{border-left:14px solid var(--ia)}
.lh-classic .lh-head{flex-direction:column;text-align:center;border-bottom:2px solid var(--ia);margin:0 52px;padding:36px 0 18px}
.lh-classic .lh-head div{align-items:center}
.lh-body{flex:1;padding:28px 52px}
.lh-date{margin:0 0 18px;color:#555}
.lh-to{margin:0 0 18px}
.lh-subject{font-weight:700;margin:0 0 14px;text-decoration:underline;text-decoration-color:var(--ia)}
.lh-text p{margin:0 0 12px}
.lh-sign{margin:22px 0 0}
.lh-sigimg{display:block;max-height:60px;max-width:200px;margin:8px 0}
.lh-gap{height:48px}
.lh-foot{margin:0 52px;padding:14px 0 30px;border-top:1px solid #ddd;font-size:10.5px;color:#777;text-align:center}
.lh-band .lh-foot{border-top:4px solid var(--ia)}

/* Payslip form rows */
.bz-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,110px) 32px;gap:6px;margin-bottom:6px;align-items:center}
.bz-row .cv-del{position:static;width:32px;height:32px}
.bz-row input{min-width:0}
.bz-row input{padding:9px 10px;border:1px solid var(--border);border-radius:8px;font:inherit}
.lh-styles{margin-bottom:8px}
#biz-view .cv-head .note{margin:4px 0 0;max-width:640px}
