/* NAVONAX_FINANCE_SUITE_V1 */
.fs-tools{display:flex;align-items:center;gap:6px;margin-right:5px}.fs-tool{height:38px;display:inline-flex;align-items:center;gap:6px;padding:0 10px;border:1px solid #d8e5ec;border-radius:9px;background:#fff;color:#123a55;font:750 10px/1 inherit;cursor:pointer;white-space:nowrap}.fs-tool:hover{border-color:#55add2;background:#eef8fc;color:#0876af}.fs-tool svg{width:16px;height:16px}.fs-site-nav-label{display:block;margin-left:auto;padding:2px 5px;border-radius:5px;background:#e1f4ef;color:#14755d;font-size:6.5px;font-weight:850;letter-spacing:.04em}.fs-mobile-tools{display:none}.fs-overlay{position:fixed;z-index:12000;inset:0;display:grid;place-items:center;padding:24px;background:rgba(4,25,43,.62);backdrop-filter:blur(5px)}.fs-open{overflow:hidden}.fs-modal{width:min(760px,calc(100vw - 28px));max-height:calc(100vh - 34px);overflow:hidden;border:1px solid rgba(255,255,255,.75);border-radius:18px;background:#f5f9fb;box-shadow:0 28px 90px rgba(0,28,51,.35)}.fs-modal.fs-wide{width:min(1460px,calc(100vw - 28px))}.fs-modal>header{display:flex;align-items:flex-start;justify-content:space-between;padding:20px 24px 17px;background:linear-gradient(135deg,#062c4a,#0b5278);color:#fff}.fs-modal>header span{display:block;margin-bottom:5px;color:#79d7f3;font-size:8px;font-weight:850;letter-spacing:.13em}.fs-modal>header h2{margin:0;font-size:23px;line-height:1.15}.fs-modal>header p{margin:6px 0 0;color:#c8e2ef;font-size:10px}.fs-modal>header button{width:34px;height:34px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.25);border-radius:9px;background:rgba(255,255,255,.09);color:#fff;cursor:pointer}.fs-modal>header button svg{width:16px}.fs-body{max-height:calc(100vh - 135px);overflow:auto;padding:20px 22px 28px}.fs-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:15px}.fs-kpis article{padding:14px 16px;border:1px solid #dce8ee;border-radius:12px;background:#fff}.fs-kpis span,.fs-kpis strong{display:block}.fs-kpis span{color:#78909f;font-size:9px}.fs-kpis strong{margin-top:6px;color:#0a3551;font-size:18px}.fs-toolbar{display:flex;align-items:center;gap:9px;margin:0 0 13px}.fs-toolbar input{flex:1}.fs-toolbar input,.fs-toolbar select,.fs-form input,.fs-form select,.fs-form textarea,.fs-bank-upload input,.fs-bank-table select,.fs-unlinked-list select{min-height:40px;padding:9px 11px;border:1px solid #d5e3ea;border-radius:8px;outline:0;background:#fff;color:#173b53;font:650 10px/1.25 inherit}.fs-toolbar input:focus,.fs-form input:focus,.fs-form select:focus,.fs-form textarea:focus,.fs-bank-upload input:focus,.fs-unlinked-list select:focus{border-color:#2c9bc8;box-shadow:0 0 0 3px rgba(44,155,200,.1)}.fs-primary,.fs-secondary,.fs-row-actions button{min-height:39px;padding:0 14px;border-radius:8px;font:800 10px/1 inherit;cursor:pointer}.fs-primary{border:1px solid #0c7fbb;background:linear-gradient(135deg,#0d91d2,#0876b5);color:#fff}.fs-secondary{border:1px solid #cadde7;background:#fff;color:#17445e}.fs-primary:disabled,.fs-secondary:disabled,.fs-row-actions button:disabled{opacity:.55;cursor:wait}.fs-table-wrap{overflow:auto;border:1px solid #dbe7ed;border-radius:12px;background:#fff}.fs-table{width:100%;border-collapse:collapse;min-width:760px}.fs-table th{padding:11px 13px;background:#eff6f9;color:#607d8e;text-align:left;font-size:8px;letter-spacing:.055em;text-transform:uppercase}.fs-table td{padding:12px 13px;border-top:1px solid #e7eff3;color:#36586c;font-size:9.5px;vertical-align:top}.fs-table td strong,.fs-table td small{display:block}.fs-table td strong{color:#153e57;font-size:10.5px}.fs-table td small{margin-top:4px;color:#8499a6}.fs-table b.due{color:#d35d4c}.fs-table b.credit{color:#178261}.fs-chip{display:inline-flex;padding:4px 7px;border-radius:7px;background:#e7f2f7;color:#25627e;font-size:7.5px;font-weight:850;letter-spacing:.05em}.fs-chip.suggested{background:#fff0cf;color:#976500}.fs-chip.unmatched{background:#ffe4e0;color:#ac4538}.fs-chip.matched,.fs-chip.additional{background:#daf4e8;color:#137253}.fs-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}.fs-form label{display:flex;flex-direction:column;gap:6px;color:#436173;font-size:9px;font-weight:750}.fs-form .fs-span{grid-column:1/3}.fs-form textarea{min-height:85px;resize:vertical}.fs-toast{position:fixed;z-index:14000;right:22px;bottom:22px;max-width:470px;padding:13px 17px;border-radius:10px;background:#166f56;color:#fff;box-shadow:0 12px 35px rgba(0,0,0,.22);font:750 11px/1.45 inherit}.fs-toast.error{background:#b94c42}.fs-bank-upload{display:grid;grid-template-columns:minmax(280px,1fr) 180px 180px auto;align-items:end;gap:10px;margin-bottom:15px;padding:15px;border:1px solid #cfe4ec;border-radius:12px;background:linear-gradient(135deg,#eef9fc,#f5fbf8)}.fs-bank-upload>div{grid-column:1/5;display:flex;align-items:center;gap:12px}.fs-bank-upload>div>svg{width:36px;height:36px;padding:8px;border-radius:10px;background:#d9f0f6;color:#087cb3}.fs-bank-upload strong,.fs-bank-upload p{display:block;margin:0}.fs-bank-upload strong{color:#0c4667;font-size:13px}.fs-bank-upload p{margin-top:3px;color:#618292;font-size:9px}.fs-bank-table td:nth-child(2){min-width:260px;max-width:420px}.fs-bank-table td:last-child{min-width:260px}.fs-bank-table select{width:100%}.fs-row-actions{display:flex;gap:5px;margin-top:6px}.fs-row-actions button{min-height:30px;padding:0 8px;border:1px solid #cee0e8;background:#f7fbfd;color:#1b5d7b}.fs-unlinked-list{display:grid;gap:12px}.fs-unlinked-list form{padding:15px;border:1px solid #d7e5eb;border-radius:12px;background:#fff}.fs-unlinked-list form>header{display:flex;justify-content:space-between;gap:15px;margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid #e6eef2}.fs-unlinked-list form>header strong,.fs-unlinked-list form>header span{display:block}.fs-unlinked-list form>header strong{color:#0d3c58;font-size:12px}.fs-unlinked-list form>header span{margin-top:3px;color:#728b99;font-size:9px}.fs-unlinked-list form>label{display:grid;grid-template-columns:minmax(260px,1fr) minmax(320px,.8fr);align-items:center;gap:15px;padding:8px 0;border-bottom:1px dashed #e4edf1;color:#34566a;font-size:10px}.fs-unlinked-list form>label span,.fs-unlinked-list form>label small{display:block}.fs-unlinked-list form>label small{margin-top:3px;color:#7b929e}.fs-unlinked-list form>button{margin-top:12px}.fs-search-box{height:54px;display:grid;grid-template-columns:30px 1fr;align-items:center;padding:0 16px;border:1px solid #cbdfe8;border-radius:12px;background:#fff}.fs-search-box svg{width:20px;color:#1689bd}.fs-search-box input{height:100%;border:0;outline:0;color:#123b53;font:650 13px/1 inherit}.fs-search-results{display:grid;gap:7px;margin-top:12px}.fs-search-results a,.fs-search-results article{display:grid;grid-template-columns:95px 1fr;gap:12px;padding:12px 14px;border:1px solid #dce8ee;border-radius:10px;background:#fff;color:inherit;text-decoration:none}.fs-search-results>a:hover{border-color:#5caed0;background:#f2fafd}.fs-search-results span{color:#1681b0;font-size:8px;font-weight:850;letter-spacing:.07em}.fs-search-results strong,.fs-search-results small{display:block}.fs-search-results strong{color:#183f57;font-size:11px}.fs-search-results small{margin-top:3px;color:#78909e;font-size:9px}.fs-empty{padding:28px;border:1px dashed #cadde6;border-radius:12px;background:#fff;color:#718a98;text-align:center;font-size:10px}
/* Work-order detail and editor fit the viewport without left/right page scrolling. */
[data-dialog="work-order-detail"] .dialog-card.xwide,[data-dialog="work-order"] .dialog-card.xwide,[data-dialog="smart-import"] .dialog-card.xwide{width:min(1480px,calc(100vw - 28px));max-width:calc(100vw - 28px)}[data-dialog="work-order-detail"] .dialog-content,[data-dialog="work-order"] .dialog-content{min-width:0}[data-dialog="work-order-detail"] .table-wrap{max-width:100%;overflow:auto}[data-dialog="work-order-detail"] .detail-item-table{width:100%;min-width:920px;table-layout:fixed}[data-dialog="work-order-detail"] .detail-item-table th,[data-dialog="work-order-detail"] .detail-item-table td{overflow-wrap:anywhere;white-space:normal}.invoice-batch-card.excluded{opacity:.48;filter:grayscale(.35)}.batch-record-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;padding:10px 12px;border:1px solid #d9e7ed;border-radius:9px;background:#f6fafc}.batch-record-controls label{display:flex;align-items:center;gap:8px;color:#214c64;font-size:10px;font-weight:800}.batch-record-controls input{width:17px;height:17px}.batch-record-controls button{padding:7px 10px;border:1px solid #e4c1ba;border-radius:7px;background:#fff5f2;color:#a84f42;font-size:9px;font-weight:800}
@media(max-width:1180px){.fs-tool span{display:none}.fs-bank-upload{grid-template-columns:1fr 1fr}.fs-bank-upload>div{grid-column:1/3}}
@media(max-width:720px){.fs-tools{display:none}.fs-mobile-tools{position:fixed;z-index:9000;left:10px;right:10px;bottom:10px;display:grid;grid-template-columns:repeat(4,1fr);gap:5px;padding:6px;border:1px solid #d8e5eb;border-radius:13px;background:rgba(255,255,255,.96);box-shadow:0 10px 35px rgba(0,39,65,.22);backdrop-filter:blur(8px)}.fs-mobile-tools .fs-tool{height:45px;justify-content:center;padding:0 4px}.fs-mobile-tools .fs-tool span{display:block;font-size:8px}.fs-overlay{padding:0}.fs-modal,.fs-modal.fs-wide{width:100%;max-height:100vh;height:100vh;border-radius:0}.fs-body{max-height:calc(100vh - 100px);padding:14px}.fs-modal>header{padding:16px}.fs-modal>header h2{font-size:19px}.fs-kpis{grid-template-columns:1fr 1fr}.fs-toolbar{align-items:stretch;flex-direction:column}.fs-toolbar>*{width:100%}.fs-form{grid-template-columns:1fr}.fs-form .fs-span{grid-column:auto}.fs-bank-upload{grid-template-columns:1fr}.fs-bank-upload>div{grid-column:auto}.fs-unlinked-list form>label{grid-template-columns:1fr}.global-search{display:grid!important;width:min(52vw,260px)!important}.top-actions{min-width:0}[data-dialog="work-order-detail"] .dialog-card.xwide,[data-dialog="work-order"] .dialog-card.xwide{width:100%;max-width:100%}}

/* NAVONAX_FINANCE_SUITE_V2: responsive windows and editable ledger parties. */
html,body{max-width:100%;overflow-x:hidden}.fs-overlay{box-sizing:border-box;padding:clamp(10px,1.5vw,22px)}.fs-modal{box-sizing:border-box;width:min(760px,100%);max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.fs-modal.fs-wide{width:min(1320px,100%)}.fs-modal>header>div,.fs-body,.fs-body>*{min-width:0}.fs-modal>header p{max-width:900px;overflow-wrap:anywhere}.fs-body{box-sizing:border-box;max-height:calc(100dvh - 128px)}.fs-toolbar{flex-wrap:wrap}.fs-toolbar input{min-width:min(240px,100%)}.fs-table-wrap{max-width:100%;overscroll-behavior:contain}.fs-ledger-table{min-width:0;table-layout:fixed}.fs-ledger-table th,.fs-ledger-table td{overflow-wrap:anywhere}.fs-ledger-table th:nth-child(1){width:28%}.fs-ledger-table th:nth-child(2){width:10%}.fs-ledger-table th:nth-child(3),.fs-ledger-table th:nth-child(4),.fs-ledger-table th:nth-child(5){width:15%}.fs-ledger-table th:nth-child(6){width:17%}.fs-party-link{display:block;width:100%;padding:0;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}.fs-party-link strong{color:#0b6894!important;text-decoration:none}.fs-party-link small{color:#6d8998!important}.fs-party-link:hover strong,.fs-party-link:focus-visible strong{text-decoration:underline}.fs-party-link:focus-visible,.fs-edit-party:focus-visible{outline:2px solid #2c9bc8;outline-offset:3px}.fs-edit-party{display:block;margin-top:5px;padding:5px 8px;border:1px solid #c9dfe9;border-radius:7px;background:#f4fafc;color:#176486;font:800 8px/1 inherit;cursor:pointer}.fs-edit-party:hover{border-color:#55add2;background:#eaf7fb}.fs-party-form-note{display:grid;gap:4px;padding:12px 14px;border:1px solid #cce3ec;border-radius:10px;background:linear-gradient(135deg,#eef9fc,#f7fbf8)}.fs-party-form-note strong{color:#0d5578;font-size:10px}.fs-party-form-note span{color:#153e57;font-size:12px;font-weight:800}.fs-party-form-note small{color:#688391;font-size:9px;line-height:1.45}

/* Keep every native Account Portal dialog inside the visible screen. */
.dialog-overlay,.modal-overlay{box-sizing:border-box;max-width:100vw;padding:clamp(8px,1.4vw,20px)!important;overflow:auto}.dialog-card,.modal-card{box-sizing:border-box;max-width:calc(100vw - 20px)!important;max-height:calc(100dvh - 20px)!important}.dialog-card.wide,.modal-card.wide{width:min(1080px,calc(100vw - 20px))!important}.dialog-card.xwide,.modal-card.xwide,[data-dialog="work-order-detail"] .dialog-card.xwide,[data-dialog="work-order"] .dialog-card.xwide,[data-dialog="smart-import"] .dialog-card.xwide{width:min(1360px,calc(100vw - 20px))!important;max-width:calc(100vw - 20px)!important}.dialog-content,.dialog-body,.modal-content,.modal-body{box-sizing:border-box;min-width:0!important;max-width:100%;overflow:auto}.dialog-content>*,.dialog-body>*,.modal-content>*,.modal-body>*{min-width:0}.dialog-card input,.dialog-card select,.dialog-card textarea,.modal-card input,.modal-card select,.modal-card textarea{box-sizing:border-box;max-width:100%}.table-wrap,.data-table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior:contain}[data-dialog="work-order-detail"] .detail-item-table{max-width:100%;min-width:min(920px,100%)!important}

@media(max-width:980px){.fs-modal.fs-wide{width:100%}.fs-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.fs-bank-upload{grid-template-columns:1fr 1fr}.fs-bank-upload>div{grid-column:1/3}.dialog-card.xwide,.modal-card.xwide,[data-dialog="work-order-detail"] .dialog-card.xwide,[data-dialog="work-order"] .dialog-card.xwide,[data-dialog="smart-import"] .dialog-card.xwide{width:calc(100vw - 12px)!important;max-width:calc(100vw - 12px)!important}}
@media(max-width:760px){.fs-overlay{padding:0}.fs-modal,.fs-modal.fs-wide{width:100%;max-width:100%;height:100dvh;max-height:100dvh;border-radius:0}.fs-body{max-height:calc(100dvh - 96px)}.fs-ledger-table,.fs-ledger-table tbody,.fs-ledger-table tr,.fs-ledger-table td{display:block;width:100%}.fs-ledger-table{min-width:0}.fs-ledger-table thead{display:none}.fs-ledger-table tr{box-sizing:border-box;display:grid;grid-template-columns:1fr 1fr;gap:10px 14px;margin:10px;padding:13px;width:calc(100% - 20px);border:1px solid #dce8ee;border-radius:11px;background:#fff}.fs-ledger-table td{box-sizing:border-box;padding:0;border:0}.fs-ledger-table td::before{content:attr(data-label);display:block;margin-bottom:4px;color:#7a919e;font-size:7.5px;font-weight:850;letter-spacing:.05em;text-transform:uppercase}.fs-ledger-table td:first-child,.fs-ledger-table td:last-child{grid-column:1/3}.fs-ledger-table .fs-edit-party{display:inline-flex;margin-top:7px}.fs-bank-upload{grid-template-columns:1fr}.fs-bank-upload>div{grid-column:auto}.dialog-overlay,.modal-overlay{padding:0!important}.dialog-card,.dialog-card.wide,.dialog-card.xwide,.modal-card,.modal-card.wide,.modal-card.xwide{width:100%!important;max-width:100%!important;max-height:100dvh!important;border-radius:0!important}}
/* NAVONAX_FINANCE_SUITE_V3: complete party account, books, bank consent and TDS. */
.fs-modal.fs-wide{width:min(1480px,calc(100vw - 20px))}.fs-body{scrollbar-gutter:stable}.fs-detail-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin-bottom:13px}.fs-detail-actions button svg{width:15px;height:15px;vertical-align:middle}.fs-party-identity{display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,.36fr);gap:14px;margin-bottom:14px;padding:16px 18px;border:1px solid #cee2ea;border-radius:13px;background:linear-gradient(135deg,#eff9fc,#f4fbf7)}.fs-party-identity>div{min-width:0}.fs-party-identity>div:last-child{display:flex;flex-direction:column;justify-content:center;padding-left:16px;border-left:1px solid #d2e5eb}.fs-party-identity span,.fs-party-identity strong,.fs-party-identity small{display:block}.fs-party-identity span{color:#177ca6;font-size:8px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.fs-party-identity h3{margin:5px 0 3px;color:#0a3855;font-size:18px;line-height:1.2;overflow-wrap:anywhere}.fs-party-identity p{margin:0;color:#6d8795;font-size:9.5px}.fs-party-identity strong{margin:5px 0 3px;color:#113e57;font-size:13px}.fs-party-identity small{color:#6f8997;font-size:8.5px}.fs-detail-tabs{display:flex;align-items:center;gap:5px;max-width:100%;margin:0 0 13px;padding:5px;border:1px solid #d9e7ed;border-radius:11px;background:#edf5f8;overflow-x:auto}.fs-detail-tabs button{min-height:35px;flex:0 0 auto;padding:0 12px;border:0;border-radius:8px;background:transparent;color:#527083;font:800 9px/1 inherit;cursor:pointer;white-space:nowrap}.fs-detail-tabs button:hover{color:#0b6f9d}.fs-detail-tabs button.active{background:#fff;color:#086f9f;box-shadow:0 2px 8px rgba(18,61,85,.09)}.fs-detail-panel{display:none;min-width:0}.fs-detail-panel.active{display:block}.fs-detail-panel>.fs-table-wrap{max-height:52vh}.fs-record-link{color:#0b6c99;text-decoration:none}.fs-record-link:hover strong{text-decoration:underline}.fs-inline-empty{padding:18px;color:#7a909c;text-align:center}.fs-check{display:flex!important;align-items:center!important;flex-direction:row!important;padding:11px 13px;border:1px solid #cfe2ea;border-radius:10px;background:#f4fafc}.fs-check input{width:18px;height:18px;min-height:0!important}.fs-check span{color:#17445e;font-size:10px}.fs-compliance-note,.fs-security-note{padding:12px 14px;border:1px solid #ead9ae;border-radius:10px;background:#fff9e9;color:#795e24;font-size:9px;line-height:1.5}.fs-security-note{display:grid;gap:4px;border-color:#a9d9cf;background:#effaf7;color:#2a6457}.fs-security-note strong,.fs-security-note span{display:block}.fs-security-note strong{color:#12624f;font-size:10px}.fs-bank-connect-banner{display:flex;align-items:center;gap:9px;margin-bottom:12px;padding:14px 15px;border:1px solid #a9d9cf;border-radius:12px;background:linear-gradient(135deg,#effaf7,#edf8fc)}.fs-bank-connect-banner>div{display:flex;align-items:center;gap:11px;min-width:0;flex:1}.fs-bank-connect-banner>div>svg{flex:0 0 auto;width:35px;height:35px;padding:8px;border-radius:10px;background:#d6f1e9;color:#13765f}.fs-bank-connect-banner strong,.fs-bank-connect-banner p{display:block;margin:0}.fs-bank-connect-banner strong{color:#0d5b4a;font-size:12px}.fs-bank-connect-banner p{margin-top:3px;color:#5b7b73;font-size:9px;line-height:1.4}.fs-bank-connections{display:grid;gap:9px}.fs-bank-connections>article{display:grid;grid-template-columns:minmax(260px,1fr) minmax(170px,.3fr) auto;align-items:center;gap:14px;padding:14px 15px;border:1px solid #d8e6ec;border-radius:11px;background:#fff}.fs-bank-connections span,.fs-bank-connections strong,.fs-bank-connections small{display:block}.fs-bank-connections>article>div:first-child>span{color:#1782ad;font-size:8px;font-weight:850;letter-spacing:.08em}.fs-bank-connections strong{margin:4px 0;color:#143d56;font-size:11px}.fs-bank-connections small{color:#728b98;font-size:8.5px}.fs-site-books-table{min-width:1050px}.fs-site-books-table small.credit{color:#178261}.fs-site-books-table small.due{color:#d35d4c}.fs-search-results button{display:grid;grid-template-columns:95px 1fr;gap:12px;width:100%;padding:12px 14px;border:1px solid #dce8ee;border-radius:10px;background:#fff;color:inherit;text-align:left;cursor:pointer}.fs-search-results button:hover{border-color:#5caed0;background:#f2fafd}.fs-search-results button span{color:#1681b0;font-size:8px;font-weight:850;letter-spacing:.07em}.fs-search-results button strong,.fs-search-results button small{display:block}.fs-search-results button strong{color:#183f57;font-size:11px}.fs-search-results button small{margin-top:3px;color:#78909e;font-size:9px}.fs-tools{max-width:min(790px,56vw)}.fs-tool{flex:0 0 auto}.fs-mobile-tools{grid-template-columns:repeat(5,minmax(0,1fr))!important}.dialog-card,.modal-card,.fs-modal{contain:layout paint}.dialog-card table,.modal-card table{max-width:100%}.dialog-card .form-grid,.modal-card .form-grid{min-width:0}.dialog-card .form-grid>*,.modal-card .form-grid>*{min-width:0}
@media(max-width:1180px){.fs-tools{max-width:none}.fs-tool span{display:none}.fs-detail-panel>.fs-table-wrap{max-height:56vh}}
@media(max-width:900px){.fs-party-identity{grid-template-columns:1fr}.fs-party-identity>div:last-child{padding:12px 0 0;border-top:1px solid #d2e5eb;border-left:0}.fs-bank-connect-banner{align-items:stretch;flex-wrap:wrap}.fs-bank-connect-banner>div{flex-basis:100%}.fs-bank-connections>article{grid-template-columns:1fr auto}.fs-bank-connections>article>.fs-row-actions{grid-column:1/3}.fs-books-tabs{justify-content:flex-start}}
@media(max-width:760px){.fs-detail-actions{display:grid;grid-template-columns:1fr 1fr}.fs-detail-actions>*{width:100%}.fs-detail-tabs{border-radius:9px}.fs-detail-panel>.fs-table-wrap{max-height:none}.fs-party-kpis{grid-template-columns:1fr 1fr}.fs-bank-connections>article{grid-template-columns:1fr}.fs-bank-connections>article>.fs-row-actions{grid-column:auto}.fs-bank-connect-banner>button{flex:1}.fs-mobile-tools{left:6px;right:6px;bottom:6px;gap:3px;padding:4px}.fs-mobile-tools .fs-tool{min-width:0}.fs-mobile-tools .fs-tool span{font-size:7px}.fs-body{padding-bottom:74px}.fs-modal>header{position:sticky;top:0;z-index:2}}
@media(max-width:480px){.fs-party-kpis{grid-template-columns:1fr}.fs-detail-actions{grid-template-columns:1fr}.fs-bank-connect-banner>button{flex-basis:100%}}
/* NAVONAX_FINANCE_SUITE_V4: sidebar utilities, unified search, reliable scrolling and viewport-fit layouts. */

/* The header keeps one global search only. Finance utilities now live in the blue sidebar. */
.top-actions .fs-tools,.fs-tools{display:none!important}
.top-actions{box-sizing:border-box;min-width:0!important;max-width:100%;flex:1 1 auto;gap:8px!important}
.top-actions .global-search,.global-search{box-sizing:border-box;min-width:220px!important;max-width:640px!important;flex:1 1 420px!important}
.global-search input{box-sizing:border-box;min-width:0!important;width:100%}
.fs-site-nav-label{display:none!important}

/* Compact 2x2 finance-tool block that visually belongs to the native sidebar. */
.fs-sidebar-suite{box-sizing:border-box;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:14px 10px;padding:12px 8px;border-top:1px solid rgba(163,215,236,.12);border-bottom:1px solid rgba(163,215,236,.12)}
.fs-sidebar-suite-label{grid-column:1/-1;padding:0 4px 3px;color:#6f91a5;font-size:8px;font-weight:850;letter-spacing:.14em;text-transform:uppercase}
.fs-sidebar-suite .fs-tool{box-sizing:border-box;width:100%;height:48px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;margin:0;padding:5px 3px;border:1px solid rgba(143,204,229,.13);border-radius:9px;background:rgba(255,255,255,.035);color:#b8ceda;font:750 8px/1.15 inherit;text-align:center;white-space:normal}
.fs-sidebar-suite .fs-tool:hover,.fs-sidebar-suite .fs-tool:focus-visible{border-color:rgba(67,190,239,.55);background:rgba(18,143,204,.2);color:#fff;outline:0}
.fs-sidebar-suite .fs-tool svg{width:17px;height:17px;flex:0 0 auto;color:#7dc7e8}
.fs-sidebar-suite .fs-tool span{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis}

/* Make the sidebar scrollbar unobtrusive and chain wheel movement to the page at either edge. */
.fs-native-sidebar,.fs-native-sidebar-nav{overscroll-behavior-y:auto!important;scrollbar-width:thin;scrollbar-color:rgba(129,175,197,.34) transparent}
.fs-native-sidebar::-webkit-scrollbar,.fs-native-sidebar-nav::-webkit-scrollbar{width:5px}
.fs-native-sidebar::-webkit-scrollbar-track,.fs-native-sidebar-nav::-webkit-scrollbar-track{background:transparent}
.fs-native-sidebar::-webkit-scrollbar-thumb,.fs-native-sidebar-nav::-webkit-scrollbar-thumb{border-radius:10px;background:rgba(129,175,197,.34)}

/* Every primary content surface is allowed to shrink inside the sidebar layout. */
main,.main-content,.content-area,.content-shell,.app-main,[class*="main-content"]{box-sizing:border-box;min-width:0!important;max-width:100%}
main>*,.main-content>*,.content-area>*,.content-shell>*,.app-main>*{min-width:0;max-width:100%}
img,video,canvas{max-width:100%;height:auto}

/* Native registers fit their available width; action buttons wrap instead of disappearing off-screen. */
.fs-native-table-wrap{box-sizing:border-box;width:100%!important;max-width:100%!important;overflow-x:hidden!important;overscroll-behavior:contain}
.fs-native-table{box-sizing:border-box;width:100%!important;max-width:100%!important;min-width:0!important;table-layout:fixed!important}
.fs-native-table th,.fs-native-table td{box-sizing:border-box;min-width:0!important;max-width:none!important;padding-left:clamp(7px,.75vw,14px)!important;padding-right:clamp(7px,.75vw,14px)!important;overflow-wrap:anywhere;word-break:normal;white-space:normal!important}
.fs-native-table th:last-child{width:clamp(230px,18vw,320px)!important}
.fs-native-table th:nth-last-child(2){width:clamp(82px,7vw,120px)!important}
.fs-native-actions-cell{width:clamp(230px,18vw,320px)!important;white-space:normal!important}
.fs-native-row-actions{box-sizing:border-box;display:flex!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:wrap!important;gap:6px!important;width:100%!important;max-width:100%!important}
.fs-native-actions-cell button,.fs-native-actions-cell a,.fs-native-row-actions button,.fs-native-row-actions a{box-sizing:border-box;max-width:100%!important;min-width:0!important;margin:0!important;padding-left:9px!important;padding-right:9px!important;white-space:nowrap!important}

/* Finance Suite and native dialogs use one internal vertical scroll area and never exceed the viewport. */
.fs-overlay,.dialog-overlay,.modal-overlay{box-sizing:border-box;max-width:100vw!important;max-height:100dvh!important;overflow:hidden!important;overscroll-behavior:contain}
.fs-modal{box-sizing:border-box;display:grid!important;grid-template-rows:auto minmax(0,1fr)!important;max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important;overflow:hidden!important;contain:none!important}
.fs-modal.fs-wide{width:min(1520px,calc(100vw - 16px))!important}
.fs-modal>header{min-width:0;flex:0 0 auto}
.fs-modal>header>div{min-width:0}
.fs-body{box-sizing:border-box;min-width:0!important;min-height:0!important;max-width:100%!important;max-height:none!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-gutter:stable}
.fs-body>*{box-sizing:border-box;min-width:0;max-width:100%}
.dialog-card,.modal-card{box-sizing:border-box;display:flex!important;flex-direction:column!important;width:min(var(--dialog-width,1120px),calc(100vw - 16px))!important;max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important;overflow:hidden!important;contain:none!important}
.dialog-card.wide,.modal-card.wide{--dialog-width:1240px}
.dialog-card.xwide,.modal-card.xwide{--dialog-width:1540px}
.dialog-content,.dialog-body,.modal-content,.modal-body{box-sizing:border-box;flex:1 1 auto!important;min-width:0!important;min-height:0!important;max-width:100%!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain}
.dialog-header,.modal-header,.dialog-footer,.modal-footer{flex:0 0 auto;min-width:0;max-width:100%}
.dialog-content .form-grid,.dialog-body .form-grid,.modal-content .form-grid,.fs-form{min-width:0!important;max-width:100%!important}
.dialog-content .form-grid>*,.dialog-body .form-grid>*,.modal-content .form-grid>*,.fs-form>*{box-sizing:border-box;min-width:0!important;max-width:100%!important}

/* Supplemental finance tables also remain inside their window. */
.fs-table-wrap{box-sizing:border-box;width:100%;max-width:100%;overflow:auto;overscroll-behavior:contain}
.fs-table{max-width:100%}
.fs-toolbar{box-sizing:border-box;max-width:100%;flex-wrap:wrap}
.fs-toolbar>*{box-sizing:border-box;min-width:0;max-width:100%}
.fs-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}
.fs-kpis article{box-sizing:border-box;min-width:0;overflow:hidden}
.fs-kpis strong{max-width:100%;overflow-wrap:anywhere}

@media(max-width:1380px){
  .top-actions .global-search,.global-search{min-width:180px!important;max-width:480px!important}
  .fs-native-table th,.fs-native-table td{font-size:clamp(8px,.72vw,10px)!important}
  .fs-native-table th:last-child,.fs-native-actions-cell{width:clamp(210px,20vw,280px)!important}
  .fs-native-actions-cell button,.fs-native-actions-cell a,.fs-native-row-actions button,.fs-native-row-actions a{padding-left:7px!important;padding-right:7px!important}
}

@media(max-width:1080px){
  .top-actions{flex-wrap:wrap!important}
  .top-actions .global-search,.global-search{order:-1;flex-basis:100%!important;width:100%!important;max-width:none!important}
  .fs-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .fs-native-table-wrap{overflow-x:auto!important}
  .fs-native-table{min-width:860px!important}
}

@media(max-width:760px){
  .fs-sidebar-suite{grid-template-columns:repeat(4,minmax(0,1fr));margin:10px 6px;padding:9px 4px}
  .fs-sidebar-suite-label{display:none}
  .fs-sidebar-suite .fs-tool{height:44px}
  .fs-mobile-tools{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  .top-actions .global-search,.global-search{display:grid!important;min-width:0!important;width:min(62vw,330px)!important}
  .fs-overlay,.dialog-overlay,.modal-overlay{padding:0!important}
  .fs-modal,.fs-modal.fs-wide,.dialog-card,.dialog-card.wide,.dialog-card.xwide,.modal-card,.modal-card.wide,.modal-card.xwide{width:100%!important;max-width:100%!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important}
  .fs-body,.dialog-content,.dialog-body,.modal-content,.modal-body{padding-left:12px!important;padding-right:12px!important}
  .fs-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .fs-labelled-table,.fs-labelled-table tbody,.fs-labelled-table tr,.fs-labelled-table td{box-sizing:border-box;display:block!important;width:100%!important;min-width:0!important;max-width:100%!important}
  .fs-labelled-table{min-width:0!important;border-collapse:separate}
  .fs-labelled-table thead{display:none!important}
  .fs-labelled-table tr{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;margin:9px 0;padding:13px;border:1px solid #dce8ee;border-radius:11px;background:#fff}
  .fs-labelled-table td{padding:0!important;border:0!important;overflow-wrap:anywhere}
  .fs-labelled-table td::before{content:attr(data-fs-label);display:block;margin-bottom:4px;color:#79909d;font-size:7.5px;font-weight:850;letter-spacing:.055em;text-transform:uppercase}
  .fs-labelled-table td.fs-native-actions-cell,.fs-labelled-table td:last-child{grid-column:1/-1}
  .fs-native-table-wrap,.fs-table-wrap{overflow-x:hidden!important}
}

@media(max-width:480px){
  .fs-kpis{grid-template-columns:1fr}
  .fs-labelled-table tr{grid-template-columns:1fr}
  .fs-labelled-table td,.fs-labelled-table td:last-child{grid-column:1}
  .top-actions .global-search,.global-search{width:min(56vw,250px)!important}
}
/* NAVONAX_FINANCE_SUITE_V4_1: true sticky shell, dependable dual scrolling and native sidebar tools. */

/* `overflow:hidden` on body made body the sticky containing block while html actually scrolled. */
html{overflow-x:clip!important;overflow-y:auto!important;scroll-behavior:auto}
body.portal-body{overflow-x:clip!important;overflow-y:visible!important;min-height:100dvh!important}
.app-shell{min-height:100dvh!important}
.fs-native-sidebar{position:sticky!important;top:0!important;align-self:start!important;height:100dvh!important;max-height:100dvh!important;overflow:hidden!important;z-index:40}
.topbar{position:sticky!important;top:0!important;z-index:35}
.fs-native-sidebar-nav{min-height:0!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior-y:auto!important;scrollbar-gutter:stable}

/* Finance tools now use the same full-width row rhythm as the portal's native menu. */
.fs-sidebar-suite{box-sizing:border-box;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:3px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
.fs-sidebar-suite-label{display:block!important;grid-column:1!important;margin:15px 8px 7px!important;padding:0!important;color:rgba(255,255,255,.36)!important;font-family:inherit!important;font-size:9.5px!important;font-weight:800!important;line-height:1.2!important;letter-spacing:.14em!important;text-transform:uppercase!important}
.fs-sidebar-suite .fs-tool{box-sizing:border-box;width:100%!important;height:42px!important;min-width:0!important;display:grid!important;grid-template-columns:28px minmax(0,1fr)!important;align-items:center!important;justify-content:stretch!important;gap:9px!important;margin:0!important;padding:6px 9px!important;border:0!important;border-radius:9px!important;background:transparent!important;color:rgba(255,255,255,.62)!important;font-family:inherit!important;font-size:14px!important;font-weight:400!important;line-height:1.2!important;text-align:left!important;white-space:nowrap!important;box-shadow:none!important}
.fs-sidebar-suite .fs-tool:hover,.fs-sidebar-suite .fs-tool:focus-visible{background:rgba(18,143,204,.19)!important;color:#fff!important;outline:0!important}
.fs-sidebar-suite .fs-tool svg{box-sizing:border-box;width:28px!important;height:28px!important;padding:6px!important;border-radius:8px!important;background:rgba(255,255,255,.055)!important;color:#8ec9e3!important}
.fs-sidebar-suite .fs-tool span{display:block!important;min-width:0!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}

/* Avoid page-wide horizontal overflow even when a large register or dialog is open. */
.app-shell,.content-shell,.main-content,main,#view-root{min-width:0!important;max-width:100%!important}

/* The usable register width is smaller than the browser because of the sidebar.
   Switch WO/invoice-style native registers to readable cards before a horizontal bar is needed. */
@media(max-width:1500px){
  .fs-native-table-wrap{width:100%!important;max-width:100%!important;overflow-x:hidden!important}
  .fs-native-table.fs-labelled-table,.fs-native-table.fs-labelled-table tbody{box-sizing:border-box;display:block!important;width:100%!important;min-width:0!important;max-width:100%!important}
  .fs-native-table.fs-labelled-table thead{display:none!important}
  .fs-native-table.fs-labelled-table tr{box-sizing:border-box;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px 18px!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:18px!important;border:0!important;border-bottom:1px solid #dce8ee!important;background:#fff!important}
  .fs-native-table.fs-labelled-table tr:last-child{border-bottom:0!important}
  .fs-native-table.fs-labelled-table td{box-sizing:border-box;display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;padding:0!important;border:0!important;overflow-wrap:anywhere!important;white-space:normal!important}
  .fs-native-table.fs-labelled-table td::before{content:attr(data-fs-label);display:block;margin-bottom:6px;color:#78909e;font-family:inherit;font-size:8.5px;font-weight:850;line-height:1.2;letter-spacing:.07em;text-transform:uppercase}
  .fs-native-table.fs-labelled-table td.fs-native-actions-cell,.fs-native-table.fs-labelled-table td:last-child{grid-column:1/-1!important;width:100%!important;max-width:100%!important}
  .fs-native-table.fs-labelled-table .fs-native-row-actions{display:flex!important;flex-wrap:wrap!important;gap:7px!important;width:100%!important}
}

@media(max-width:1050px){
  .fs-native-table.fs-labelled-table tr{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

@media(max-width:760px){
  .fs-native-sidebar{position:relative!important;height:auto!important;max-height:none!important;overflow:visible!important}
  .fs-sidebar-suite{display:none!important}
  .fs-mobile-tools .fs-tool{font-family:inherit!important;font-size:9px!important;font-weight:750!important;line-height:1.15!important}
  .fs-native-table.fs-labelled-table tr{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:13px!important}
}

@media(max-width:480px){
  .fs-native-table.fs-labelled-table tr{grid-template-columns:1fr!important}
  .fs-native-table.fs-labelled-table td,.fs-native-table.fs-labelled-table td:last-child{grid-column:1!important}
}
/* NAVONAX_FINANCE_SUITE_V4_2: native smooth wheel chain and final visual-fit refinements. */

/* Do not turn the fixed sidebar shell into a scroll container. The nav scrolls first and
   the browser naturally chains the same trackpad gesture to the document at either edge. */
html{overflow-x:clip!important;overflow-y:auto!important;overscroll-behavior-y:auto!important;scroll-behavior:auto!important}
body.portal-body{overflow-x:clip!important;overflow-y:visible!important;overscroll-behavior-y:auto!important}
.fs-native-sidebar{overflow:clip!important;overscroll-behavior-y:auto!important}
.fs-native-sidebar-nav{overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior-y:auto!important;scroll-behavior:auto!important;touch-action:pan-y!important}

/* Large Indian-currency values stay fully readable instead of ending in an ellipsis. */
.metric-card strong{max-width:100%!important;overflow:visible!important;text-overflow:clip!important;font-size:clamp(18px,1.65vw,25px)!important;letter-spacing:-.035em!important}

/* Keep company abbreviations intact inside responsive WO/invoice cards. */
.fs-native-table .entity-chip{max-width:100%!important}
.fs-native-table .entity-chip>b{flex:0 0 auto!important;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important}
.fs-native-table .entity-chip>em{min-width:0!important;overflow-wrap:anywhere!important}
/* NAVONAX_FINANCE_SUITE_V4_3: release nested wheel traps and normalize dialog scroll ownership. */

/* Native register wrappers have no independent vertical range. `contain` trapped the wheel
   over Work Orders, Invoices, P&L and milestone tables, so release it to the document. */
.fs-native-table-wrap,.table-wrap.fs-native-table-wrap,.milestone-table-wrap.fs-native-table-wrap{
  overflow-x:clip!important;
  overflow-y:visible!important;
  overscroll-behavior-x:auto!important;
  overscroll-behavior-y:auto!important;
  touch-action:pan-y!important;
}

/* Finance tables can keep horizontal overflow where necessary, but vertical wheel movement
   must chain to their owning .fs-body instead of being swallowed by a zero-range wrapper. */
.fs-table-wrap{
  overscroll-behavior-x:auto!important;
  overscroll-behavior-y:auto!important;
  touch-action:pan-y!important;
}

/* A dialog owns vertical scrolling while it is open; the page behind it stays stationary. */
html:has(body.dialog-open),html:has(body.fs-open){overflow-y:hidden!important}
.dialog-content,.dialog-body,.modal-content,.modal-body,.fs-body{touch-action:pan-y!important}
/* NAVONAX_FINANCE_SUITE_V5
 * Party Master, bill-wise drilldowns, multi-site invoice allocation, compact
 * one-row registers and measured currency fitting.
 */

/* Amounts never clip: JavaScript measures each value, this CSS supplies safe bounds. */
.metric-card,.register-summary>div,.fs-kpis>article{min-width:0!important;container-type:inline-size}
.metric-card strong,.register-summary strong,.fs-kpis strong{
  box-sizing:border-box!important;display:block!important;width:max-content!important;max-width:100%!important;
  min-width:0!important;overflow:visible!important;text-overflow:clip!important;white-space:nowrap!important;
  font-size:var(--fs-amount-size,clamp(15px,12cqw,28px))!important;line-height:1.12!important;
  letter-spacing:-.045em!important;font-variant-numeric:tabular-nums lining-nums!important
}
.metric-card[data-fs-summary-key],.register-summary>div[data-fs-summary-key]{cursor:pointer;position:relative;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}
.metric-card[data-fs-summary-key]::after,.register-summary>div[data-fs-summary-key]::after{content:"Bill-wise details →";display:block;margin-top:7px;color:#168ac4;font-size:9px;font-weight:800;letter-spacing:.04em;opacity:0;transition:opacity .16s ease}
.metric-card[data-fs-summary-key]:hover,.metric-card[data-fs-summary-key]:focus-visible,.register-summary>div[data-fs-summary-key]:hover,.register-summary>div[data-fs-summary-key]:focus-visible{border-color:#74c6e9!important;box-shadow:0 9px 22px rgba(16,92,130,.11)!important;outline:0;transform:translateY(-1px)}
.metric-card[data-fs-summary-key]:hover::after,.metric-card[data-fs-summary-key]:focus-visible::after,.register-summary>div[data-fs-summary-key]:hover::after,.register-summary>div[data-fs-summary-key]:focus-visible::after{opacity:1}

@media(max-width:1500px) and (min-width:901px){.metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:900px){.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:520px){.metric-grid{grid-template-columns:1fr!important}}

/* Desktop registers stay a true one-record/one-row table without horizontal scrolling. */
@media(min-width:1101px){
  .fs-native-table-wrap{overflow-x:clip!important;overflow-y:visible!important;width:100%!important;max-width:100%!important}
  .fs-native-table.fs-labelled-table{display:table!important;width:100%!important;min-width:0!important;max-width:100%!important;table-layout:fixed!important;border-collapse:collapse!important}
  .fs-native-table.fs-labelled-table thead{display:table-header-group!important}
  .fs-native-table.fs-labelled-table tbody{display:table-row-group!important;width:auto!important;max-width:none!important}
  .fs-native-table.fs-labelled-table tr{display:table-row!important;width:auto!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;background:#fff!important}
  .fs-native-table.fs-labelled-table th,.fs-native-table.fs-labelled-table td{box-sizing:border-box!important;display:table-cell!important;width:auto!important;min-width:0!important;max-width:none!important;height:64px!important;padding:9px 8px!important;border:0!important;border-bottom:1px solid #e2ebf0!important;vertical-align:middle!important;overflow:hidden!important;overflow-wrap:normal!important;white-space:normal!important}
  .fs-native-table.fs-labelled-table th{height:auto!important;padding-top:10px!important;padding-bottom:10px!important;font-size:8.5px!important;line-height:1.15!important}
  .fs-native-table.fs-labelled-table td::before{display:none!important;content:none!important}
  .fs-native-table.fs-labelled-table td strong,.fs-native-table.fs-labelled-table td small,.fs-native-table.fs-labelled-table td>a:not(.button){display:block!important;min-width:0!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
  .fs-native-table.fs-labelled-table td strong{font-size:11.5px!important;line-height:1.3!important}
  .fs-native-table.fs-labelled-table td small{margin-top:3px!important;font-size:9.5px!important;line-height:1.25!important}
  .fs-native-table.fs-labelled-table .entity-chip{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;gap:4px!important;align-items:center!important;max-width:100%!important;padding:4px 5px!important}
  .fs-native-table.fs-labelled-table .entity-chip em{display:block!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:8px!important}
  .fs-native-table.fs-labelled-table td.fs-native-actions-cell,.fs-native-table.fs-labelled-table td:last-child{grid-column:auto!important;width:auto!important;max-width:none!important;overflow:visible!important}
  .fs-native-table.fs-labelled-table .fs-native-row-actions,.fs-native-table.fs-labelled-table td:last-child>div{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:4px!important;width:100%!important;max-width:100%!important;overflow:visible!important}
  .fs-native-table.fs-labelled-table .fs-native-row-actions button,.fs-native-table.fs-labelled-table .fs-native-row-actions a,.fs-native-table.fs-labelled-table td:last-child button,.fs-native-table.fs-labelled-table td:last-child a{box-sizing:border-box!important;min-width:0!important;min-height:30px!important;padding:6px 7px!important;font-size:9.5px!important;line-height:1!important;white-space:nowrap!important}
  .fs-register-work-orders th:nth-child(1),.fs-register-work-orders td:nth-child(1){width:12%!important}
  .fs-register-work-orders th:nth-child(2),.fs-register-work-orders td:nth-child(2){width:18%!important}
  .fs-register-work-orders th:nth-child(3),.fs-register-work-orders td:nth-child(3){width:14%!important}
  .fs-register-work-orders th:nth-child(4),.fs-register-work-orders td:nth-child(4){width:8%!important}
  .fs-register-work-orders th:nth-child(5),.fs-register-work-orders td:nth-child(5){width:11%!important}
  .fs-register-work-orders th:nth-child(6),.fs-register-work-orders td:nth-child(6){width:10%!important}
  .fs-register-work-orders th:nth-child(7),.fs-register-work-orders td:nth-child(7){width:7%!important}
  .fs-register-work-orders th:nth-child(8),.fs-register-work-orders td:nth-child(8){width:20%!important}
  .fs-register-invoices th:nth-child(1),.fs-register-invoices td:nth-child(1){width:13%!important}
  .fs-register-invoices th:nth-child(2),.fs-register-invoices td:nth-child(2){width:19%!important}
  .fs-register-invoices th:nth-child(3),.fs-register-invoices td:nth-child(3){width:10%!important}
  .fs-register-invoices th:nth-child(4),.fs-register-invoices td:nth-child(4){width:13%!important}
  .fs-register-invoices th:nth-child(5),.fs-register-invoices td:nth-child(5){width:8%!important}
  .fs-register-invoices th:nth-child(6),.fs-register-invoices td:nth-child(6){width:8%!important}
  .fs-register-invoices th:nth-child(7),.fs-register-invoices td:nth-child(7){width:29%!important}
}

/* Party Master appears beside Company Master with native sidebar styling. */
.fs-party-master-nav svg{width:20px!important;height:20px!important}
.fs-native-party-picker{box-sizing:border-box;display:grid;grid-template-columns:minmax(180px,1fr) minmax(240px,1.4fr) auto auto;align-items:end;gap:10px;margin:0 0 14px;padding:12px;border:1px solid #bce3d6;border-radius:12px;background:#f2fbf7;color:#12384b}
.fs-native-party-picker>div strong,.fs-native-party-picker>div small{display:block}
.fs-native-party-picker>div small{margin-top:3px;color:#67808c;font-size:11px;line-height:1.35}
.fs-native-party-picker select{box-sizing:border-box;width:100%;height:40px;padding:0 10px;border:1px solid #bad4df;border-radius:9px;background:#fff;color:#17384a;font:inherit}
.fs-native-party-picker button{height:40px!important;white-space:nowrap}

.fs-party-master-table{table-layout:fixed;min-width:1050px}
.fs-party-master-table th:nth-child(1){width:22%}.fs-party-master-table th:nth-child(2){width:8%}.fs-party-master-table th:nth-child(3){width:14%}.fs-party-master-table th:nth-child(4){width:15%}.fs-party-master-table th:nth-child(5){width:15%}.fs-party-master-table th:nth-child(6){width:11%}.fs-party-master-table th:nth-child(7){width:15%}
.fs-party-master-table td{vertical-align:middle}.fs-party-master-table .fs-row-actions{flex-wrap:nowrap}
.fs-party-master-form textarea{min-height:76px}
.fs-duplicate-preview{display:grid;gap:8px;padding:14px;border:1px solid #f2c696;border-radius:12px;background:#fff9f2}
.fs-duplicate-preview[hidden]{display:none!important}.fs-duplicate-preview>strong{color:#9a4b13;font-size:14px}.fs-duplicate-preview>p{margin:0;color:#795c47;font-size:12px}
.fs-duplicate-preview>button{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:10px 12px;border:1px solid #e4d4c5;border-radius:9px;background:#fff;color:#17384a;text-align:left}.fs-duplicate-preview>button span,.fs-duplicate-preview>button small{display:block}

/* Bill-wise drilldowns keep exact source actions in a compact register. */
.fs-summary-table{min-width:1040px;table-layout:fixed}.fs-summary-table td{vertical-align:middle}.fs-summary-table .fs-row-actions{flex-wrap:nowrap}
.fs-summary-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}

/* One-number/many-sites invoice builder. */
.fs-multi-site-invoice{display:inline-flex!important;align-items:center!important;gap:7px!important}.fs-multi-site-invoice svg{width:18px;height:18px}
.fs-multi-site-form{display:grid;gap:16px;min-width:0}
.fs-multi-header{padding:0!important}.fs-multi-header textarea{min-height:68px}
.fs-multi-site-picker{min-width:0;border:1px solid #d4e4eb;border-radius:14px;background:#fff;overflow:hidden}
.fs-multi-site-picker>header{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,340px);align-items:end;gap:18px;padding:16px 18px;border-bottom:1px solid #dce9ef;background:#f6fafc}
.fs-multi-site-picker>header span{color:#168ac4;font-size:9px;font-weight:850;letter-spacing:.14em}.fs-multi-site-picker>header h3{margin:4px 0;font-size:18px}.fs-multi-site-picker>header p{margin:0;color:#6f8793;font-size:11px}.fs-multi-site-picker>header input{box-sizing:border-box;width:100%;height:42px;padding:0 12px;border:1px solid #c7dce6;border-radius:10px;background:#fff}
.fs-multi-rows{display:grid;max-height:46vh;overflow-y:auto;overscroll-behavior:contain}
.fs-multi-row{box-sizing:border-box;display:grid;grid-template-columns:minmax(240px,1.6fr) minmax(105px,.65fr) minmax(130px,.75fr) minmax(145px,.8fr) minmax(190px,1fr) minmax(220px,1.2fr);align-items:end;gap:10px;padding:12px 15px;border-bottom:1px solid #e1ebf0;background:#fff}
.fs-multi-row:last-child{border-bottom:0}.fs-multi-row:has([data-multi-work-order]:checked){background:#f0faf6;box-shadow:inset 3px 0 #26a879}
.fs-multi-row label,.fs-multi-row>div{display:grid;gap:4px;min-width:0;color:#486777;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.03em}
.fs-multi-row input:not([type=checkbox]),.fs-multi-row select{box-sizing:border-box;width:100%;height:38px;padding:0 8px;border:1px solid #c9dce5;border-radius:8px;background:#fff;color:#17384a;font-family:inherit;font-size:11px;font-weight:600;line-height:1.2;text-transform:none;letter-spacing:0}
.fs-multi-check{display:flex!important;align-items:center!important;gap:10px!important;text-transform:none!important;letter-spacing:0!important}.fs-multi-check input{width:18px;height:18px;flex:0 0 auto}.fs-multi-check span{min-width:0}.fs-multi-check strong,.fs-multi-check small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fs-multi-check strong{color:#17384a;font-size:12px}.fs-multi-check small{margin-top:3px;color:#718995;font-size:10px;font-weight:500}
.fs-multi-row>div strong,.fs-multi-row>div small{display:block}.fs-multi-row>div strong{color:#17384a;font-size:12px}.fs-multi-row>div small{color:#76909c;font-size:9px;font-weight:500;text-transform:none;letter-spacing:0}
.fs-multi-total{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.fs-multi-total>div{min-width:0;padding:12px 14px;border:1px solid #d5e5ec;border-radius:11px;background:#f8fbfc}.fs-multi-total span,.fs-multi-total strong{display:block}.fs-multi-total span{color:#738b98;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.fs-multi-total strong{margin-top:5px;color:#0d3448;font-size:18px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums}.fs-multi-submit{width:100%;min-height:48px}

@media(max-width:1250px){
  .fs-native-party-picker{grid-template-columns:1fr 1fr}.fs-native-party-picker>button{width:100%}
  .fs-multi-row{grid-template-columns:repeat(3,minmax(0,1fr))}.fs-multi-description{grid-column:2/4}
}
@media(max-width:780px){
  .fs-native-party-picker{grid-template-columns:1fr}.fs-party-master-kpis,.fs-summary-kpis,.fs-multi-total{grid-template-columns:repeat(2,minmax(0,1fr))}
  .fs-multi-site-picker>header{grid-template-columns:1fr}.fs-multi-row{grid-template-columns:1fr 1fr}.fs-multi-check,.fs-multi-term,.fs-multi-description{grid-column:1/-1!important}
}
@media(max-width:480px){.fs-party-master-kpis,.fs-summary-kpis,.fs-multi-total{grid-template-columns:1fr}.fs-multi-row{grid-template-columns:1fr}.fs-multi-row>*{grid-column:1!important}}
/* NAVONAX_FINANCE_SUITE_V6
 * Item-level multi-site billing, Excel/PDF bank review and single-owner scrolling.
 */

/* The dialog body is the only vertical scroll owner; nested lists never trap the wheel. */
.fs-multi-rows{max-height:none!important;overflow:visible!important;overscroll-behavior:auto!important}
.fs-body{overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior-y:contain!important;scrollbar-gutter:stable!important}

.fs-multi-site-card{min-width:0;border-bottom:1px solid #dce9ef;background:#fff}
.fs-multi-site-card:last-child{border-bottom:0}
.fs-multi-site-card.is-selected{background:#f2fbf7;box-shadow:inset 4px 0 #28a77b}
.fs-multi-site-card>header{display:grid;grid-template-columns:minmax(280px,1.5fr) minmax(135px,.45fr) auto;align-items:center;gap:14px;padding:14px 16px}
.fs-multi-site-card>header>div span,.fs-multi-site-card>header>div strong,.fs-multi-site-card>header>div small{display:block}
.fs-multi-site-card>header>div span{color:#718995;font-size:8px;font-weight:850;letter-spacing:.06em;text-transform:uppercase}
.fs-multi-site-card>header>div strong{margin-top:3px;color:#17384a;font-size:12px}
.fs-multi-site-card>header>div small{margin-top:3px;color:#76909c;font-size:9px}
.fs-multi-site-card>header>button{white-space:nowrap}
.fs-multi-site-card>[data-site-items]{display:grid;gap:9px;padding:0 16px 15px}
.fs-multi-site-card>[data-site-items][hidden]{display:none!important}
.fs-site-item{box-sizing:border-box;display:grid;grid-template-columns:42px minmax(240px,1.8fr) minmax(150px,1fr) minmax(180px,1.2fr) minmax(90px,.55fr) minmax(88px,.5fr) minmax(80px,.48fr) minmax(110px,.65fr) minmax(118px,.7fr) minmax(80px,.5fr);align-items:end;gap:8px;min-width:0;padding:11px;border:1px solid #cfe3db;border-radius:11px;background:#fff}
.fs-site-item label{display:grid;gap:4px;min-width:0;color:#4a6878;font-size:8px;font-weight:850;letter-spacing:.035em;text-transform:uppercase}
.fs-site-item input,.fs-site-item select{box-sizing:border-box;width:100%;min-width:0;height:37px;padding:0 8px;border:1px solid #cbdde5;border-radius:8px;background:#fff;color:#17384a;font-family:inherit;font-size:10px;font-weight:650;letter-spacing:0;text-transform:none}
.fs-site-item input[readonly]{background:#eef7f3;color:#13765b;font-weight:850}
.fs-site-item-number{display:grid;align-self:stretch;place-items:center;gap:4px;padding:4px;border-radius:8px;background:#edf7fb;color:#147ca8;font-size:9px;font-weight:850}
.fs-site-item-number button{display:grid;place-items:center;width:24px;height:24px;padding:0;border:1px solid #f0d6d1;border-radius:6px;background:#fff7f5;color:#b94c42;font-size:16px;cursor:pointer}
.fs-multi-total{grid-template-columns:repeat(5,minmax(0,1fr))!important}

.fs-bank-upload{grid-template-columns:minmax(240px,1fr) minmax(170px,.55fr) minmax(150px,.5fr) minmax(170px,.55fr) auto!important}
.fs-bank-upload>div{grid-column:1/-1!important}
.fs-bank-review-note{margin:0 0 14px}
.fs-bank-table{min-width:0!important;table-layout:fixed}
.fs-bank-table th:nth-child(1){width:13%}.fs-bank-table th:nth-child(2){width:25%}.fs-bank-table th:nth-child(3){width:11%}.fs-bank-table th:nth-child(4){width:21%}.fs-bank-table th:nth-child(5){width:30%}
.fs-bank-table td{overflow-wrap:anywhere}.fs-bank-table td:nth-child(2),.fs-bank-table td:last-child{min-width:0!important;max-width:none!important}
.fs-bank-table td:nth-child(4)>strong{margin-top:5px}.fs-bank-table td:nth-child(4)>small{line-height:1.45}
.fs-chip.review{background:#fff0cf;color:#916000}.fs-chip.duplicate{background:#efe7ff;color:#6a3ca2}.fs-chip.unmatched{background:#ffe4e0;color:#ac4538}

@media(max-width:1450px){
  .fs-site-item{grid-template-columns:42px repeat(4,minmax(0,1fr))}.fs-item-description{grid-column:2/4}.fs-site-item label:nth-of-type(3){grid-column:4/6}
  .fs-bank-upload{grid-template-columns:1fr 1fr!important}.fs-bank-upload>div{grid-column:1/-1!important}
}
@media(max-width:900px){
  .fs-multi-site-card>header{grid-template-columns:1fr 1fr}.fs-multi-site-card>header>button{grid-column:1/-1;width:100%}
  .fs-site-item{grid-template-columns:38px 1fr 1fr}.fs-item-description{grid-column:2/-1}.fs-site-item label:nth-of-type(3){grid-column:auto}
  .fs-bank-table{min-width:850px!important}.fs-multi-total{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:600px){
  .fs-multi-site-card>header{grid-template-columns:1fr}.fs-multi-site-card>header>button{grid-column:auto}.fs-site-item{grid-template-columns:36px 1fr}.fs-site-item label,.fs-item-description,.fs-site-item label:nth-of-type(3){grid-column:2!important}.fs-bank-upload{grid-template-columns:1fr!important}.fs-multi-total{grid-template-columns:1fr!important}
}
/* NAVONAX_FINANCE_SUITE_V10_UI */
.fs-overlay>.fs-modal{box-sizing:border-box!important;width:min(760px,100%)!important;max-width:100%!important}
.fs-overlay>.fs-modal.fs-wide{width:min(1520px,100%)!important;max-width:100%!important}
.fs-detail-actions{flex-wrap:wrap!important}
.fs-company-signature-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;margin:8px 0 0!important}
.fs-signature-preview{display:flex;align-items:center;justify-content:center;min-height:150px;padding:16px;border:1px dashed #b9d4df;border-radius:12px;background:#f8fbfc;color:#78909b}
.fs-signature-preview img{display:block;max-width:min(100%,440px);max-height:150px;object-fit:contain}
.fs-signature-form label small{display:block;margin-top:5px;color:#718995;font-size:10px}
.fs-direct-invoice-pdf{display:inline-flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important}
.fs-site-item.is-wo-locked{border-color:#acdaca;background:#f5fcf9}
.fs-site-item.is-wo-locked input[readonly]{border-color:#c6ddd5;background:#eaf6f1;color:#285e4d;cursor:not-allowed}
.fs-site-item.is-additional{border-color:#e6ca9f;background:#fffaf2}
.fs-site-item.is-additional .fs-site-item-number span{background:#fff0d6;color:#9b5b0a}
.fs-multi-total{grid-template-columns:repeat(5,minmax(0,1fr))}
.fs-ledger-table .fs-party-link{width:100%;text-align:left}

@media(max-width:1100px){
  .fs-overlay{padding:8px!important}
  .fs-overlay>.fs-modal,.fs-overlay>.fs-modal.fs-wide{width:100%!important;max-width:100%!important}
  .fs-multi-total{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){.fs-multi-total{grid-template-columns:1fr}.fs-detail-actions>*{flex:1 1 145px}}
/* NAVONAX_PREMIUM_PDF_V10_4 */
.fs-invoice-edit-form{display:grid;gap:16px;min-width:0}.fs-invoice-edit-identity{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(250px,.6fr);gap:12px;padding:14px;border:1px solid #cfe2eb;border-radius:14px;background:linear-gradient(135deg,#f4fbfe,#fff)}
.fs-invoice-edit-identity span,.fs-invoice-edit-identity small{display:block;color:#6c8796}.fs-invoice-edit-identity strong{display:block;margin:4px 0;color:#0b3650;font-size:18px}.fs-invoice-edit-identity>div:last-child{text-align:right}.fs-invoice-edit-form .fs-form{margin:0}
.fs-invoice-item-editor{display:grid;gap:10px;min-width:0}.fs-invoice-item-editor>header{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;padding:0 2px}.fs-invoice-item-editor>header span{display:block;color:#0b8dca;font-size:10px;font-weight:900;letter-spacing:.12em}.fs-invoice-item-editor>header h3{margin:3px 0;color:#0b3049;font-size:20px}.fs-invoice-item-editor>header p{margin:0;color:#708795;font-size:11px}
.fs-invoice-edit-items{display:grid;gap:10px;min-width:0}.fs-invoice-edit-row{display:grid;grid-template-columns:46px minmax(180px,2.1fr) minmax(130px,1.15fr) minmax(135px,1.25fr) minmax(88px,.7fr) minmax(80px,.65fr) minmax(72px,.58fr) minmax(92px,.75fr) minmax(88px,.72fr) minmax(96px,.78fr);gap:8px;align-items:end;padding:12px;border:1px solid #cfe2eb;border-radius:13px;background:#fff;box-shadow:0 5px 16px rgba(25,73,96,.05);min-width:0}.fs-invoice-edit-row.is-additional{border-color:#efd4aa;background:#fffaf2}.fs-invoice-edit-row.is-milestone{border-color:#b9e2d4;background:#f7fcfa}.fs-invoice-edit-row label{display:grid;gap:5px;min-width:0;color:#526f80;font-size:8px;font-weight:850;letter-spacing:.035em;text-transform:uppercase}.fs-invoice-edit-row input,.fs-invoice-edit-row select{width:100%;min-width:0;height:39px;padding:0 9px;border:1px solid #cbdde6;border-radius:9px;background:#fff;color:#173c53;font:700 10px/1.2 Inter,Arial,sans-serif}.fs-invoice-edit-row input[readonly]{background:#edf7f3;color:#24644f}.fs-invoice-edit-row [data-edit-description]{grid-column:auto}.fs-invoice-edit-number{align-self:stretch;display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:7px;padding:6px;border-radius:10px;background:#e9f6fc;color:#087aad;font-size:11px;font-weight:900}.fs-invoice-edit-number button{width:27px;height:27px;border:1px solid #efbbb1;border-radius:8px;background:#fff1ee;color:#c94f42;font-size:18px;line-height:1}.fs-invoice-edit-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.fs-invoice-edit-summary>div{min-width:0;padding:13px;border:1px solid #d3e3ea;border-radius:12px;background:#f8fbfd}.fs-invoice-edit-summary span{display:block;color:#78909d;font-size:8px;font-weight:850;text-transform:uppercase}.fs-invoice-edit-summary strong{display:block;max-width:100%;margin-top:6px;overflow:hidden;text-overflow:ellipsis;color:#0b3049;font-size:clamp(13px,1.1vw,19px);white-space:nowrap}.fs-invoice-edit-summary>div:last-child{background:#eaf8f2}.fs-invoice-edit-summary>div:last-child strong{color:#167a59}.fs-invoice-edit-error{padding:11px 13px;border:1px solid #efaaa4;border-radius:10px;background:#fff2f0;color:#8f2d25;font-size:11px;font-weight:750}.fs-invoice-edit-submit{min-height:48px}
@media(max-width:1500px){.fs-invoice-edit-row{grid-template-columns:42px minmax(180px,2fr) minmax(150px,1.25fr) minmax(150px,1.3fr) repeat(3,minmax(80px,.72fr));}.fs-invoice-edit-row [data-edit-hsn],.fs-invoice-edit-row [data-edit-taxable],.fs-invoice-edit-row [data-edit-gst]{grid-row:2}.fs-invoice-edit-row [data-edit-hsn]{grid-column:2}.fs-invoice-edit-row [data-edit-taxable]{grid-column:3}.fs-invoice-edit-row [data-edit-gst]{grid-column:4}}
@media(max-width:980px){.fs-invoice-edit-identity{grid-template-columns:1fr}.fs-invoice-edit-identity>div:last-child{text-align:left}.fs-invoice-edit-row{grid-template-columns:40px repeat(2,minmax(0,1fr))}.fs-invoice-edit-number{grid-row:1/5}.fs-invoice-edit-row [data-edit-description],.fs-invoice-edit-row [data-edit-work-order],.fs-invoice-edit-row [data-edit-allocation],.fs-invoice-edit-row [data-edit-term],.fs-invoice-edit-row [data-edit-hsn],.fs-invoice-edit-row [data-edit-quantity],.fs-invoice-edit-row [data-edit-unit],.fs-invoice-edit-row [data-edit-rate],.fs-invoice-edit-row [data-edit-taxable],.fs-invoice-edit-row [data-edit-gst]{grid-column:auto;grid-row:auto}.fs-invoice-edit-row [data-edit-description]{grid-column:2/4}.fs-invoice-edit-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.fs-invoice-item-editor>header{align-items:stretch;flex-direction:column}.fs-invoice-edit-row{grid-template-columns:36px minmax(0,1fr)}.fs-invoice-edit-number{grid-row:1/11}.fs-invoice-edit-row [data-edit-description],.fs-invoice-edit-row [data-edit-work-order],.fs-invoice-edit-row [data-edit-allocation],.fs-invoice-edit-row [data-edit-term],.fs-invoice-edit-row [data-edit-hsn],.fs-invoice-edit-row [data-edit-quantity],.fs-invoice-edit-row [data-edit-unit],.fs-invoice-edit-row [data-edit-rate],.fs-invoice-edit-row [data-edit-taxable],.fs-invoice-edit-row [data-edit-gst]{grid-column:2}.fs-invoice-edit-summary{grid-template-columns:1fr 1fr}}
/* NAVONAX_CONTROLLED_CANCELLATION_AND_NGX_SERIES_V10_4_2 */
.fs-danger{border:1px solid #e9a59e!important;background:#fff4f2!important;color:#a52f27!important}
.fs-danger:hover{background:#ffe8e4!important;border-color:#d86157!important}
.fs-cancel-form{display:grid;gap:16px}
.fs-cancel-record{display:grid;gap:5px;padding:15px 17px;border:1px solid #d8e6ec;border-radius:14px;background:#f7fbfd}
.fs-cancel-record span{font-size:11px;font-weight:800;letter-spacing:.08em;color:#61808f;text-transform:uppercase}
.fs-cancel-record strong{font-size:18px;color:#12384b;overflow-wrap:anywhere}
.fs-cancel-form label{display:grid;gap:8px;font-weight:800;color:#23495a}
.fs-cancel-form textarea{min-height:130px;resize:vertical;border:1px solid #bfd5df;border-radius:12px;padding:13px 14px;font:inherit;color:#12384b;background:#fff}
.fs-cancel-warning{padding:13px 15px;border:1px solid #efc49f;border-radius:12px;background:#fff8ed;color:#7a4c18;line-height:1.5}
.fs-cancelled-record{opacity:.84;background:#fff8f7!important}
.fs-cancelled-record td:first-child{box-shadow:inset 4px 0 0 #d86157}
.fs-chip.is-cancelled{background:#ffe8e4!important;color:#a52f27!important;border-color:#efb7b1!important}
.fs-series-field input{font-weight:900;color:#087db8;background:#edf8fd!important}
@media(max-width:760px){.fs-cancel-form textarea{min-height:110px}}

/* NAVONAX_BANK_LEDGER_PM_SURYA_RESPONSIVE_V10_4_3 */
html,body.portal-body{box-sizing:border-box!important;width:100%!important;max-width:100%!important;overflow-x:clip!important}
.app-shell,.content-shell,.main-content,main,#view-root,.view-root,.page-content{box-sizing:border-box!important;min-width:0!important;max-width:100%!important}
.fs-overlay{box-sizing:border-box!important;width:100vw!important;max-width:100vw!important;overflow:hidden!important}
.fs-overlay>.fs-modal.fs-wide{box-sizing:border-box!important;width:min(1540px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important}
.fs-modal>header,.fs-modal>header>div,.fs-body,.fs-body>*{box-sizing:border-box!important;min-width:0!important;max-width:100%!important}
.fs-body{overflow-x:hidden!important;overflow-y:auto!important;scrollbar-gutter:stable both-edges!important}
.fs-table-wrap,.fs-native-table-wrap,.table-wrap,.data-table-wrap{box-sizing:border-box!important;width:100%!important;max-width:100%!important}
.fs-bank-latest{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 14px;padding:13px 15px;border:1px solid #efc59d;border-radius:12px;background:#fff8ed}
.fs-bank-latest>div{min-width:0}.fs-bank-latest span,.fs-bank-latest strong,.fs-bank-latest small{display:block}.fs-bank-latest span{color:#94611f;font-size:8px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.fs-bank-latest strong{margin:4px 0;color:#5f421c;font-size:11px;overflow-wrap:anywhere}.fs-bank-latest small{color:#8b6b43;font-size:8.5px}
.fs-bank-latest .fs-danger:disabled{opacity:.52;cursor:not-allowed}
.fs-bank-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px;padding:10px 12px;border:1px solid #d7e6ec;border-radius:10px;background:#fff;color:#577486;font-size:9px}
.fs-bank-pager button{min-height:34px;padding:0 12px;border:1px solid #c9dfe8;border-radius:8px;background:#f5fafc;color:#176486;font:800 9px/1 inherit;cursor:pointer}.fs-bank-pager button:disabled{opacity:.42;cursor:not-allowed}.fs-bank-pager span{text-align:center}.fs-bank-pager strong{color:#123d55}
[data-bank-table].is-loading{opacity:.58;pointer-events:none}
.fs-pm-surya-invoice{display:inline-flex!important;align-items:center!important;gap:7px!important;border-color:#79bcd7!important;background:#eef9fd!important;color:#076c9d!important}.fs-pm-surya-invoice svg{width:16px;height:16px}
.fs-pm-surya-native-form .dialog-card,.fs-pm-surya-native-form .modal-card{border-color:#6eb7d4!important;box-shadow:0 22px 75px rgba(0,70,110,.25)!important}

@media(min-width:1101px){
  .fs-native-table-wrap{overflow-x:hidden!important}
  .fs-native-table.fs-labelled-table.fs-register-work-orders,.fs-native-table.fs-labelled-table.fs-register-invoices{width:100%!important;min-width:0!important;max-width:100%!important;table-layout:fixed!important}
  .fs-register-work-orders th,.fs-register-work-orders td,.fs-register-invoices th,.fs-register-invoices td{box-sizing:border-box!important;min-width:0!important;max-width:none!important;padding-left:9px!important;padding-right:9px!important;overflow:hidden!important;overflow-wrap:anywhere!important;text-overflow:ellipsis!important}
  .fs-register-work-orders th:nth-child(1),.fs-register-work-orders td:nth-child(1){width:12%!important}.fs-register-work-orders th:nth-child(2),.fs-register-work-orders td:nth-child(2){width:17%!important}.fs-register-work-orders th:nth-child(3),.fs-register-work-orders td:nth-child(3){width:14%!important}.fs-register-work-orders th:nth-child(4),.fs-register-work-orders td:nth-child(4){width:8%!important}.fs-register-work-orders th:nth-child(5),.fs-register-work-orders td:nth-child(5){width:10%!important}.fs-register-work-orders th:nth-child(6),.fs-register-work-orders td:nth-child(6){width:9%!important}.fs-register-work-orders th:nth-child(7),.fs-register-work-orders td:nth-child(7){width:7%!important}.fs-register-work-orders th:nth-child(8),.fs-register-work-orders td:nth-child(8){width:23%!important}
  .fs-register-invoices th:nth-child(1),.fs-register-invoices td:nth-child(1){width:13%!important}.fs-register-invoices th:nth-child(2),.fs-register-invoices td:nth-child(2){width:18%!important}.fs-register-invoices th:nth-child(3),.fs-register-invoices td:nth-child(3){width:10%!important}.fs-register-invoices th:nth-child(4),.fs-register-invoices td:nth-child(4){width:12%!important}.fs-register-invoices th:nth-child(5),.fs-register-invoices td:nth-child(5){width:8%!important}.fs-register-invoices th:nth-child(6),.fs-register-invoices td:nth-child(6){width:7%!important}.fs-register-invoices th:nth-child(7),.fs-register-invoices td:nth-child(7){width:32%!important}
  .fs-native-table.fs-labelled-table .fs-native-row-actions,.fs-native-table.fs-labelled-table td:last-child>div{box-sizing:border-box!important;display:flex!important;align-items:stretch!important;justify-content:flex-start!important;flex-wrap:wrap!important;gap:4px!important;width:100%!important;max-width:100%!important;overflow:hidden!important}
  .fs-native-table.fs-labelled-table .fs-native-row-actions button,.fs-native-table.fs-labelled-table .fs-native-row-actions a,.fs-native-table.fs-labelled-table td:last-child button,.fs-native-table.fs-labelled-table td:last-child a{box-sizing:border-box!important;flex:1 1 calc(33.333% - 4px)!important;max-width:calc(50% - 2px)!important;min-width:58px!important;min-height:30px!important;padding:6px 5px!important;font-size:8.5px!important;line-height:1.1!important;white-space:normal!important;overflow-wrap:anywhere!important}
  .fs-bank-table{width:100%!important;min-width:0!important;max-width:100%!important;table-layout:fixed!important}.fs-bank-table th:nth-child(1){width:13%!important}.fs-bank-table th:nth-child(2){width:24%!important}.fs-bank-table th:nth-child(3){width:11%!important}.fs-bank-table th:nth-child(4){width:22%!important}.fs-bank-table th:nth-child(5){width:30%!important}.fs-bank-table td{box-sizing:border-box!important;min-width:0!important;max-width:none!important;overflow-wrap:anywhere!important}.fs-bank-table .fs-row-actions{flex-wrap:wrap!important}.fs-bank-table .fs-row-actions button{flex:1 1 92px!important}
}

@media(max-width:1100px){
  .fs-overlay>.fs-modal.fs-wide{width:calc(100vw - 12px)!important;max-width:calc(100vw - 12px)!important}
  .fs-bank-upload{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}.fs-bank-upload>div{grid-column:1/-1!important}.fs-bank-upload button{width:100%}
  .fs-bank-table{min-width:820px!important}.fs-table-wrap{overflow-x:auto!important;overflow-y:visible!important}
}
@media(max-width:760px){
  .fs-overlay>.fs-modal.fs-wide{width:100%!important;max-width:100%!important}.fs-bank-latest{align-items:stretch;flex-direction:column}.fs-bank-latest button{width:100%}.fs-bank-pager{align-items:stretch;flex-direction:column}.fs-bank-pager button{width:100%}.fs-bank-upload{grid-template-columns:1fr!important}.fs-bank-upload>div{grid-column:auto!important}
}

/* NAVONAX_FIT_WIDTH_INVOICE_AND_BANK_REVERSAL_V10_4_4 */
html,body,body.portal-body{width:100%!important;max-width:100%!important;overflow-x:hidden!important}
.app-shell{box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important;grid-template-columns:clamp(222px,17.15vw,338px) minmax(0,1fr)!important}
.app-shell>.fs-native-sidebar{box-sizing:border-box!important;min-width:0!important;max-width:100%!important}
.app-shell>.fs-native-sidebar~*,.content-shell,.main-content,main,#view-root,.view-root,.page-content{box-sizing:border-box!important;width:auto!important;min-width:0!important;max-width:100%!important;overflow-x:hidden!important}
.content-shell>*,.main-content>*,main>*,#view-root>*,.view-root>*,.page-content>*{box-sizing:border-box!important;min-width:0!important;max-width:100%!important}
.fs-native-table-wrap,.table-wrap.fs-native-table-wrap,.data-table-wrap.fs-native-table-wrap{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;overflow-x:hidden!important}
.fs-native-table.fs-register-invoices,.fs-native-table.fs-register-work-orders{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;table-layout:fixed!important}
.fs-register-invoices .fs-native-actions-cell,.fs-register-work-orders .fs-native-actions-cell{box-sizing:border-box!important;min-width:0!important;max-width:none!important;padding:6px!important;overflow:hidden!important}
.fs-register-invoices td:last-child>.record-actions,.fs-register-invoices td:last-child>.row-actions,.fs-register-invoices td:last-child>.fs-native-row-actions,
.fs-register-work-orders td:last-child>.record-actions,.fs-register-work-orders td:last-child>.row-actions,.fs-register-work-orders td:last-child>.fs-native-row-actions,
.fs-register-invoices .fs-native-actions-cell>.record-actions,.fs-register-work-orders .fs-native-actions-cell>.record-actions{
  box-sizing:border-box!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-items:stretch!important;gap:4px!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;overflow:hidden!important
}
.fs-register-invoices .fs-native-actions-cell button,.fs-register-invoices .fs-native-actions-cell a,
.fs-register-work-orders .fs-native-actions-cell button,.fs-register-work-orders .fs-native-actions-cell a{
  box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:3px!important;width:100%!important;min-width:0!important;max-width:100%!important;min-height:29px!important;height:auto!important;margin:0!important;padding:5px 3px!important;font-size:7.8px!important;line-height:1.05!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important
}
.fs-register-invoices .fs-native-actions-cell button svg,.fs-register-invoices .fs-native-actions-cell a svg,
.fs-register-work-orders .fs-native-actions-cell button svg,.fs-register-work-orders .fs-native-actions-cell a svg{flex:0 0 12px!important;width:12px!important;height:12px!important}
.fs-register-invoices .fs-native-actions-cell button span,.fs-register-invoices .fs-native-actions-cell a span,
.fs-register-work-orders .fs-native-actions-cell button span,.fs-register-work-orders .fs-native-actions-cell a span{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.fs-bank-latest.has-posted{border-color:#e7a294;background:#fff5f2}.fs-bank-latest.has-posted span{color:#a94736}.fs-bank-latest.has-posted strong{color:#71352b}.fs-bank-latest.has-posted .fs-danger{flex:0 0 auto;max-width:280px;opacity:1!important;cursor:pointer!important}

@media(min-width:1101px) and (max-width:1499px){
  .app-shell{grid-template-columns:clamp(222px,17vw,272px) minmax(0,1fr)!important}
  .fs-register-invoices td:last-child>.record-actions,.fs-register-invoices td:last-child>.row-actions,.fs-register-invoices td:last-child>.fs-native-row-actions,
  .fs-register-work-orders td:last-child>.record-actions,.fs-register-work-orders td:last-child>.row-actions,.fs-register-work-orders td:last-child>.fs-native-row-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:1100px){
  .app-shell{grid-template-columns:222px minmax(0,1fr)!important}
  .fs-native-sidebar{max-width:100%!important}
  .fs-native-table-wrap{overflow-x:auto!important;overscroll-behavior-x:contain!important}
}
@media(max-width:760px){.app-shell{grid-template-columns:minmax(0,1fr)!important}}

/* NAVONAX_PARTY_LEDGER_DATE_SORT_V10_4_6 */
.fs-ledger-date-toolbar{
  box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:18px;
  width:100%;min-width:0;margin:14px 0;padding:13px 15px;border:1px solid #c9e2eb;border-radius:12px;
  background:linear-gradient(135deg,#f4fbfd 0%,#eef8fb 100%);color:#123e56
}
.fs-ledger-date-toolbar>div{min-width:0}.fs-ledger-date-toolbar strong,.fs-ledger-date-toolbar small{display:block}
.fs-ledger-date-toolbar strong{font-size:11px;font-weight:850}.fs-ledger-date-toolbar small{margin-top:3px;color:#658091;font-size:8.5px;line-height:1.45}
.fs-ledger-date-toolbar label{display:flex;align-items:center;gap:9px;flex:0 0 auto;color:#46697c;font-size:8px;font-weight:850;letter-spacing:.04em;text-transform:uppercase}
.fs-ledger-date-toolbar select{box-sizing:border-box;min-width:154px;height:38px;padding:0 34px 0 12px;border:1px solid #bcd7e2;border-radius:9px;background:#fff;color:#123e56;font:800 10px/1 inherit;cursor:pointer}
.fs-ledger-date-sort{appearance:none;display:inline-flex;align-items:center;gap:6px;max-width:100%;margin:0;padding:0;border:0;background:transparent;color:inherit;font:inherit;font-weight:850;letter-spacing:inherit;text-align:left;text-transform:inherit;cursor:pointer}
.fs-ledger-date-sort span{display:inline-grid;place-items:center;flex:0 0 18px;width:18px;height:18px;border:1px solid #b9d9e5;border-radius:6px;background:#fff;color:#0786bc;font-size:12px;line-height:1}
.fs-ledger-date-sort:hover,.fs-ledger-date-sort:focus-visible{color:#067ba9}.fs-ledger-date-sort:focus-visible{outline:2px solid #4bb7dc;outline-offset:4px;border-radius:3px}

@media(max-width:760px){
  .fs-ledger-date-toolbar{align-items:stretch;flex-direction:column}.fs-ledger-date-toolbar label{align-items:stretch;flex-direction:column}.fs-ledger-date-toolbar select{width:100%;min-width:0}
}

/* NAVONAX_PARTY_SHARE_STATEMENT_V10_4_7 */
.fs-party-share-statement{
  position:relative;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;
  border-color:#117e69!important;background:linear-gradient(135deg,#0c826b 0%,#0a9a78 55%,#08a7a0 100%)!important;
  color:#fff!important;box-shadow:0 8px 22px rgba(10,130,107,.2)!important;white-space:nowrap!important
}
.fs-party-share-statement::before{content:"↗";display:inline-grid;place-items:center;width:18px;height:18px;border:1px solid rgba(255,255,255,.38);border-radius:6px;font-size:12px;line-height:1}
.fs-party-share-statement:hover{filter:brightness(1.04);box-shadow:0 10px 25px rgba(10,130,107,.27)!important}
.fs-party-share-statement:focus-visible{outline:3px solid rgba(20,175,143,.28)!important;outline-offset:2px!important}

@media(max-width:760px){.fs-party-share-statement{white-space:normal!important}}

/* NAVONAX_PARTIAL_WO_BILLING_AND_BALANCE_FIT_V10_4_9 */
.fs-site-item.is-balance-capped {
  border-color: #e2b85f !important;
  background: linear-gradient(135deg, #fffaf0 0%, #f2fbf8 100%) !important;
  box-shadow: inset 4px 0 0 #d9a947;
}
.fs-site-item.is-balance-capped [data-item-taxable] {
  border-color: #d9a947 !important;
  background: #fffdf8 !important;
  color: #8a5b08 !important;
  font-weight: 800;
}
.fs-site-item label small {
  display: block;
  margin-top: 5px;
  color: #9b690d;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
}
.fs-site-item [data-item-field="taxableValue"]:read-only {
  cursor: default;
  opacity: .86;
}

/* NAVONAX_TAXABLE_BASIS_WO_BALANCE_V10_4_10 */
.fs-site-item.is-balance-capped {
  border-color: #e4b556 !important;
  background: #fffdf7 !important;
  box-shadow: inset 3px 0 0 #dba53c;
}
.fs-site-item.is-balance-capped [data-item-taxable] {
  border-color: #dba53c !important;
  background: #fff !important;
  color: #6f4a06 !important;
}
.fs-site-item:not(.is-balance-capped) [data-item-field="taxableValue"] {
  border-color: #b9dcd1 !important;
  background: #eef9f5 !important;
  color: #145c47 !important;
}
