.npd{--npd-bg:var(--panel,#fff);--npd-ink:var(--text,#20281d);--npd-line:#dce3d5;--npd-soft:#f3f6ed;color:var(--npd-ink);min-width:0}.npd table{width:100%;min-width:0!important;table-layout:fixed;border-collapse:collapse}.npd th,.npd td{border:1px solid var(--npd-line);padding:10px 7px;text-align:right;vertical-align:top;font-size:14px;font-weight:600;overflow-wrap:anywhere;white-space:normal!important;font-variant-numeric:tabular-nums}.npd th[scope=row]{text-align:left}.npd .npd-rail{width:30px}.npd .npd-label{width:20%}.npd thead th{background:var(--npd-soft);font-size:12px}.npd thead button{width:100%;padding:7px 3px;font-size:12px;min-width:0}.npd small{display:block;font-size:11px;font-weight:400;margin-top:3px}.npd .npd-band th{padding:0}.npd .npd-band button{width:100%;border:0;border-radius:0;background:var(--npd-soft);display:flex;justify-content:space-between;padding:12px}.npd .npd-side{border-left:4px solid #879b50;vertical-align:middle;text-align:center;padding:0;background:var(--npd-soft)}.npd .npd-side span{writing-mode:vertical-rl;transform:rotate(180deg);font-weight:700;letter-spacing:2px}.npd .npd-dds .npd-side{border-left-color:#6c99aa}.npd .npd-sub th{text-align:left;background:var(--npd-soft);font-size:12px}.npd .npd-strong td,.npd .npd-strong th{font-weight:750;background:var(--npd-soft)}.npd .npd-months{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0 10px}.npd [aria-pressed=true]{background:#26331e;color:white}.npd .npd-tools{display:flex;align-items:center;gap:8px;margin-bottom:12px;flex-wrap:wrap;font-size:12px}.npd .npd-tools>span:first-child{margin-right:auto}.npd details{margin-top:10px}.npd summary{cursor:pointer}.npd .fin-week-payment{font-size:12px;min-width:0}.npd .fin-week-payment button{width:100%;white-space:normal;font-size:12px}.npd .npd-note{font-size:12px;color:inherit;opacity:.8}.npd .npd-ledger>div{padding:10px 0;border-bottom:1px solid var(--npd-line)}.npd-dialog{width:min(650px,95vw);max-height:90vh;overflow:auto;border:1px solid #879b50;border-radius:16px;padding:24px}.npd-dialog::backdrop{background:#0008}.npd-dialog form{display:grid;gap:14px}.npd-dialog label{display:grid;gap:5px}.npd-dialog input,.npd-dialog select{width:100%;padding:10px;font:inherit}.npd-dialog input[type=checkbox]{width:auto}.npd-dialog button{padding:10px;font:inherit}body[data-theme=dark] .npd{--npd-bg:#20251f;--npd-ink:#edf1e7;--npd-line:#424b3c;--npd-soft:#2b3325}body[data-theme=dark] .npd-dialog{background:#20251f;color:#edf1e7}
@media(max-width:850px){.npd th,.npd td{font-size:12px;padding:7px 3px}.npd .npd-label{width:22%}.npd .npd-rail{width:22px}}
@media(max-width:550px){.npd table,.npd tbody{display:block}.npd colgroup,.npd thead{display:none}.npd tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.npd th[scope=row],.npd .npd-sub th,.npd .npd-band th{grid-column:1/-1}.npd .npd-side{display:none}.npd td:before{content:attr(data-npd-week);display:block;font-size:11px;font-weight:400}.npd td:nth-of-type(1){grid-column:1/-1}.npd th,.npd td{font-size:13px}}
/* Clear financial grid: strong column outlines, quieter horizontal rules. */
.npd{--npd-line:#a6b29c;--npd-ink:#20281d;--npd-soft:#eef3e5}
.npd table{border:2px solid #718260!important}
.npd table th,.npd table td{border-bottom:1px solid var(--npd-line)!important;border-right:2px solid var(--npd-line)!important;color:var(--npd-ink);font-weight:650}
.npd table th[scope=row]{color:var(--npd-ink)!important;font-weight:700;background:#f5f7f0}
.npd table thead th{border-bottom:2px solid #718260!important;background:#e8efdc!important;color:var(--npd-ink)!important;font-weight:700}
.npd table thead button{border:1px solid #82916f!important;font-weight:750}
.npd table .npd-band th{border-top:3px solid #718260!important;border-bottom:2px solid #718260!important}
.npd table .npd-band button{background:#dfe9cf!important;color:#233319!important;font-size:15px!important;font-weight:800!important;border-radius:0!important}
.npd table .npd-dds .npd-band th{border-top-color:#527d8a!important;border-bottom-color:#527d8a!important}
.npd table .npd-dds .npd-band button{background:#dcebf0!important;color:#183e4a!important}
.npd table .npd-sub th{background:#e9f0f2!important;color:#25434d!important;font-weight:750;border-top:2px solid #8ca6ad!important}
.npd table .npd-strong td,.npd table .npd-strong th{font-weight:800!important;border-top:2px solid #91a17f!important;background:#edf3e3!important}
.npd table small{color:#4e5a46;font-weight:500;line-height:1.4}
.npd table .fin-negative{color:#a52c25!important}
.npd .npd-months button{border:1px solid #82916f;font-weight:700}
body[data-theme=dark] .npd{--npd-line:#68785e;--npd-ink:#f1f5ec;--npd-soft:#303b28}
body[data-theme=dark] .npd table th[scope=row]{background:#242e20}
body[data-theme=dark] .npd table thead th,body[data-theme=dark] .npd table .npd-band button{background:#35472b!important;color:#f1f5ec!important}
body[data-theme=dark] .npd table .npd-dds .npd-band button,body[data-theme=dark] .npd table .npd-sub th{background:#263e47!important;color:#edf8fb!important}
body[data-theme=dark] .npd table .npd-strong td,body[data-theme=dark] .npd table .npd-strong th{background:#303e28!important}
body[data-theme=dark] .npd table small{color:#bdcbb3}
body[data-theme=dark] .npd table .fin-negative{color:#ff9e94!important}
