.inline-workspace-payment{padding:12px 22px 92px;background:#f5f8fc;min-height:100%;color:#0b1f3a;overflow-x:hidden}.payment-identity-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 18px;background:#fff;border:1px solid #d8e1ec;border-radius:13px;box-shadow:0 4px 14px #0b1f3a0d}.payment-identity-main,.payment-identity-actions{display:flex;align-items:center;gap:14px}.payment-identity-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:10px;background:#0867f2;color:#fff}.payment-identity-icon svg{width:25px}.payment-identity-main h2{margin:0;font-size:24px}.payment-identity-main p{margin:4px 0 0;color:#536987;font-size:14px}.payment-draft-badge{padding:6px 11px;border-radius:99px;background:#eef2f7;color:#526680;font-size:12px;font-weight:800;text-transform:uppercase}.payment-context-error{display:flex;align-items:center;gap:12px;margin-top:12px;padding:10px 14px;border:1px solid #f5b7bd;border-radius:9px;background:#fff5f5;color:#a92332;font-size:13px}.payment-context-error .btn{margin-left:auto}
.inline-workspace-payment .payment-context-strip{display:grid;grid-template-columns:34px 1fr 1fr 120px auto;align-items:center;gap:14px;margin:12px 0;padding:11px 16px;border:1px solid #d8e1ec;border-radius:10px;background:#fff}.payment-context-strip small{display:block;color:#647894;font-size:10px;font-weight:800;text-transform:uppercase}.payment-context-strip strong{display:block;margin-top:3px;font-size:13px}.payment-context-strip em{justify-self:end;color:#637690;font-size:12px;font-style:normal}.payment-context-symbol{color:#0867f2}.payment-context-strip.is-loading strong{color:transparent;background:#e9eff7;border-radius:4px;min-height:14px;max-width:160px}.payment-workflow-layout{display:grid;grid-template-columns:minmax(0,2.25fr) minmax(290px,1fr);gap:20px;align-items:start}.payment-primary-panel,.payment-summary-panel{background:#fff;border:1px solid #d8e1ec;border-radius:13px}.payment-primary-panel{padding:20px 22px}.payment-form-section{padding:0 0 19px}.payment-form-section+.payment-form-section{padding-top:17px;border-top:1px solid #dfe6ef}.payment-form-section:last-child{padding-bottom:0}.payment-section-heading{display:flex;align-items:flex-start;gap:11px;margin-bottom:14px}.payment-section-heading>span{display:grid;place-items:center;flex:0 0 25px;height:25px;border:1.5px solid #0867f2;border-radius:50%;color:#0867f2;font-size:12px;font-weight:800}.payment-section-heading h3{margin:1px 0 0;font-size:16px}.payment-section-heading p{margin:3px 0 0;color:#536987;font-size:12px}
.payment-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px 16px;padding-left:36px}.payment-field{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:700}.payment-field input,.payment-field select,.payment-field textarea{width:100%;min-height:42px;border:1px solid #ccd8e7;border-radius:8px;background:#fff;color:#0b1f3a;font:500 14px inherit;padding:9px 11px}.payment-field textarea{resize:vertical;min-height:64px}.payment-field :focus{outline:3px solid #0867f224;border-color:#0867f2}.payment-field small{margin-top:-3px;color:#6b7e98;font-size:11px;font-weight:500}.payment-notes-field{grid-column:span 2}.payment-money-input{display:flex;align-items:center;border:1px solid #ccd8e7;border-radius:8px;overflow:hidden}.payment-money-input b{padding:0 10px;color:#536987;font-size:12px}.payment-money-input input{border:0!important;border-radius:0!important;text-align:right;outline:0!important}.payment-method-guidance{display:flex;gap:8px;margin:11px 0 0 36px;padding:9px 11px;border:1px solid #b9d4fb;border-radius:7px;background:#f3f8ff;color:#355273;font-size:12px}.is-hidden{display:none!important}
.inline-workspace-payment .payment-field input:invalid,.inline-workspace-payment .payment-field select:invalid{border-color:#ccd8e7;box-shadow:none}.inline-workspace-payment.payment-validation-attempted .payment-field input:invalid,.inline-workspace-payment.payment-validation-attempted .payment-field select:invalid{border-color:#ef172c}
.payment-allocation-heading{align-items:center}.payment-allocation-summary{display:flex;gap:24px;margin-left:auto;text-align:right}.payment-allocation-summary span{color:#536987;font-size:11px}.payment-allocation-summary strong{display:block;color:#0b1f3a;font-size:14px}.payment-allocation-table-wrap{margin-left:36px;border:1px solid #d8e1ec;border-radius:9px;overflow:auto}.payment-allocation-table{width:100%;min-width:720px;border-collapse:collapse}.payment-allocation-table th{padding:9px 10px;background:#f2f6fb;color:#526781;font-size:10px;text-align:left;text-transform:uppercase;white-space:nowrap}.payment-allocation-table td{padding:9px 10px;border-top:1px solid #e1e8f0;font-size:12px}.payment-allocation-table .amount{text-align:right}.payment-apply-amount{width:105px;height:34px;padding:5px 8px;border:1px solid #ccd8e7;border-radius:6px;text-align:right}.payment-allocation-empty{height:98px;text-align:center!important;color:#647894}.payment-allocation-empty span,.payment-allocation-empty strong,.payment-allocation-empty small{display:block}.payment-allocation-empty strong{margin-top:4px;color:#425874}
.payment-summary-panel{position:sticky;top:12px;padding:18px}.payment-summary-panel h3{display:flex;gap:9px;margin:0 0 18px;font-size:15px}.payment-summary-panel dl{margin:0}.payment-summary-panel dl>div,.payment-summary-money>div{display:flex;justify-content:space-between;gap:14px;padding:8px 0;font-size:12px}.payment-summary-panel dt,.payment-summary-money span{color:#536987}.payment-summary-panel dd{margin:0;max-width:58%;text-align:right;font-weight:650}.payment-summary-money{margin-top:10px;padding-top:9px;border-top:1px solid #dfe6ef}.payment-open-credit-row{margin-top:5px;padding-top:12px!important;border-top:1px solid #dfe6ef}.payment-open-credit-row strong{font-size:16px;color:#0867f2}.payment-accounting-preview{margin-top:17px;padding-top:15px;border-top:1px solid #dfe6ef}.payment-accounting-preview h4{margin:0 0 9px;font-size:13px}.payment-accounting-preview p{display:grid;grid-template-columns:28px 1fr auto;gap:8px;margin:0;padding:8px 0;border-bottom:1px solid #edf1f6;font-size:11px}.payment-accounting-preview p b{display:grid;place-items:center;width:26px;height:25px;border:1px solid #a8caf9;border-radius:5px;color:#0867f2}.payment-accounting-preview>small{display:block;margin-top:13px;padding:10px;border:1px solid #b9d4fb;border-radius:7px;background:#f3f8ff;color:#355273;font-size:11px}.payment-cheque-impact{padding:10px;border:1px solid #f4c27b;border-radius:7px;background:#fff8ec;color:#84510a;font-size:11px}
.payment-sticky-footer{position:fixed;z-index:14;inset:auto 0 0;display:flex;align-items:center;justify-content:space-between;padding:11px 24px;border-top:1px solid #d8e1ec;background:#fffffff7;box-shadow:0 -5px 16px #0b1f3a0f}.payment-sticky-footer>span{color:#657994;font-size:12px}.payment-sticky-footer>div{display:flex;gap:10px}.payment-sticky-footer .btn{min-height:44px}.payment-sticky-footer [data-payment-save]{min-width:150px}
@media(max-width:1100px){.payment-workflow-layout{grid-template-columns:1fr}.payment-summary-panel{position:static}.inline-workspace-payment .payment-context-strip{grid-template-columns:34px 1fr 1fr}.payment-context-strip em{display:none}}@media(max-width:767px){.inline-workspace-payment{padding:10px 12px 112px}.payment-identity-header{position:relative;padding-right:52px}.payment-identity-actions{position:absolute;top:13px;right:12px}.payment-identity-icon{width:46px;height:46px}.payment-identity-main h2{font-size:20px}.payment-identity-main p{font-size:12px}.payment-draft-badge{display:none}.inline-workspace-payment .payment-context-strip{grid-template-columns:28px minmax(0,1fr);grid-template-rows:repeat(3,auto)}.payment-context-strip .payment-context-symbol{grid-column:1;grid-row:1/4}.payment-context-strip>span:nth-of-type(2){grid-column:2;grid-row:1}.payment-context-strip>span:nth-of-type(3){grid-column:2;grid-row:2}.payment-context-strip>span:nth-of-type(4){grid-column:2;grid-row:3}.payment-primary-panel{padding:17px 14px}.payment-field-grid{grid-template-columns:1fr;padding-left:0}.payment-notes-field{grid-column:auto}.payment-method-guidance,.payment-allocation-table-wrap{margin-left:0}.payment-allocation-heading{flex-wrap:wrap}.payment-allocation-summary{width:100%;margin-left:36px;text-align:left}.payment-sticky-footer>span{display:none}.payment-sticky-footer>div{width:100%}.payment-sticky-footer .btn{flex:1}}@media(prefers-reduced-motion:reduce){.inline-workspace-payment *{transition:none!important}}
.inline-workspace-payment{padding-bottom:28px}.payment-customer-outstanding output{display:flex;align-items:center;justify-content:flex-end;min-height:42px;padding:9px 12px;border:1px solid #ccd8e7;border-radius:8px;background:#f7f9fc;color:#0b1f3a;font-size:15px;font-weight:800;text-align:right}.payment-summary-actions{display:flex;flex-direction:column;gap:10px;margin-top:16px;padding-top:15px;border-top:1px solid #dfe6ef}.payment-summary-actions>span{color:#657994;font-size:11px}.payment-summary-actions>div{display:grid;grid-template-columns:minmax(82px,.75fr) minmax(132px,1.25fr);gap:9px}.payment-summary-actions .btn{width:100%;min-height:42px;padding-inline:10px}.payment-summary-actions [data-payment-save]{white-space:nowrap}@media(max-width:767px){.inline-workspace-payment{padding-bottom:28px}}
.payment-financial-reference-row{display:grid;grid-column:1/-1;grid-template-columns:minmax(130px,.7fr) minmax(160px,.9fr) minmax(300px,2fr);align-items:start;gap:16px}.payment-financial-reference-row .payment-field{min-width:0}.payment-financial-reference-row .payment-reference-field input{width:100%}@media(max-width:900px){.payment-financial-reference-row{grid-template-columns:minmax(120px,.75fr) minmax(150px,1fr) minmax(220px,1.65fr)}}@media(max-width:767px){.payment-financial-reference-row{grid-column:auto;grid-template-columns:1fr;gap:13px}}
.inline-workspace-payment .payment-allocation-table-wrap{overflow:hidden}.inline-workspace-payment .payment-allocation-table{width:100%;min-width:0;table-layout:fixed}.inline-workspace-payment .payment-allocation-table :is(th,td){box-sizing:border-box;min-width:0;overflow-wrap:anywhere}.inline-workspace-payment .payment-allocation-table th{padding-inline:7px;white-space:normal;line-height:1.2}.inline-workspace-payment .payment-allocation-table td{padding-inline:7px}.inline-workspace-payment .payment-allocation-table :is(th,td):nth-child(1){width:10%;text-align:center}.inline-workspace-payment .payment-allocation-table :is(th,td):nth-child(2){width:16%}.inline-workspace-payment .payment-allocation-table :is(th,td):nth-child(3){width:18%}.inline-workspace-payment .payment-allocation-table :is(th,td):nth-child(4){width:18%}.inline-workspace-payment .payment-allocation-table :is(th,td):nth-child(5){width:18%;text-align:right}.inline-workspace-payment .payment-allocation-table :is(th,td):nth-child(6){width:20%;text-align:right}.inline-workspace-payment .payment-apply-amount{box-sizing:border-box;width:100%;max-width:118px;min-width:0}@media(max-width:767px){.inline-workspace-payment .payment-allocation-table :is(th,td){padding-inline:4px;font-size:10px}.inline-workspace-payment .payment-allocation-table :is(th,td):nth-child(1){width:9%}.inline-workspace-payment .payment-allocation-table :is(th,td):nth-child(2){width:17%}.inline-workspace-payment .payment-allocation-table :is(th,td):nth-child(3),.inline-workspace-payment .payment-allocation-table :is(th,td):nth-child(4){width:17%}.inline-workspace-payment .payment-allocation-table :is(th,td):nth-child(5){width:18%}.inline-workspace-payment .payment-allocation-table :is(th,td):nth-child(6){width:22%}.inline-workspace-payment .payment-apply-amount{height:32px;padding-inline:4px;font-size:10px}}
