/* Enterprise receipts: finance actions stay scoped to the selected company. */
#appShell .business-organization-filters{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
#appShell .business-organization-filters>input{width:240px;flex:1 1 200px;max-width:360px;margin:0}
#appShell .business-organization-filters>select{width:auto;flex:0 1 220px;min-width:170px;margin:0}
#appShell .business-organization-filters>span{margin-left:auto;white-space:nowrap}
#appShell .business-organization-table{min-width:1080px;width:100%;table-layout:auto}
#appShell .business-organization-table td{vertical-align:middle;white-space:normal;padding:20px 18px}
#appShell .business-organization-table th{white-space:nowrap}
#appShell .business-organization-table td:first-child{min-width:215px;max-width:300px}
#appShell .business-organization-table td:nth-child(2){min-width:145px}
#appShell .business-organization-table td:nth-child(3){min-width:180px}
#appShell .business-organization-table td:nth-child(4){min-width:180px}
#appShell .business-organization-table td:last-child{min-width:220px}
.organization-cell-sub{display:block;margin-top:6px;font-size:12px;line-height:1.6;color:#777c87;overflow-wrap:anywhere}
.organization-fund-value{display:block;font-size:20px;font-weight:600;line-height:1.5;letter-spacing:-.025em;color:#1d1d1f}
#appShell .organization-row-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}
#appShell .organization-row-secondary{display:flex;gap:16px;justify-content:flex-end;margin-top:10px}
#appShell .organization-text-action{padding:0;border:0;background:none;color:#58718d;font-size:12px;line-height:1.7;cursor:pointer;white-space:nowrap}
#appShell .organization-text-action:hover{color:#0071e3;text-decoration:underline}
#appShell .organization-text-action:focus-visible{outline:2px solid #0071e3;outline-offset:4px}
@media(min-width:1000px){
  #appShell .business-organization-table td:last-child{position:sticky;right:0;background:#fff;box-shadow:-6px 0 12px -10px #6b7f9d;z-index:1}
  #appShell .business-organization-table th:last-child{position:sticky;right:0;background:#f5f5f7;z-index:2}
}
.funds-backdrop{justify-content:flex-end;padding:0;background:rgba(20,30,48,.28)}
.funds-backdrop.on{display:flex}
.funds-drawer.modal{width:620px;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border-radius:20px 0 0 20px;display:flex;flex-direction:column;overflow:hidden;background:#fff;box-shadow:-12px 0 48px rgba(16,34,64,.12)}
.funds-drawer .modal-h{flex:0 0 auto;padding:24px 30px 20px;border-bottom:1px solid #edf0f4}
.funds-drawer h3{font-size:22px;letter-spacing:-.03em;margin:4px 0 0}
.funds-drawer .modal-x{display:grid;place-items:center;min-width:36px;min-height:36px;font-size:24px;border-radius:8px}
.funds-eyebrow{font-size:12px;color:#7b8392}
.funds-drawer .funds-body{padding:24px 30px;flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}
.funds-drawer [hidden]{display:none!important}
.funds-loading,.funds-empty{padding:40px 15px;text-align:center;color:#737d8c;line-height:2}
.funds-account{padding:20px;background:#f6f8fb;border:1px solid #e9edf3;border-radius:14px;display:grid;grid-template-columns:1fr auto;gap:12px}
.funds-account>div:first-child{min-width:0}
.funds-account b{display:block;font-size:15px;overflow-wrap:anywhere}
.funds-account small{display:block;margin-top:5px;font-size:11px;color:#77808e;overflow-wrap:anywhere}
.funds-account .badge{align-self:start;font-size:11px}
.funds-account-balance{grid-column:1/-1;display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-top:4px}
.funds-account-balance span{font-size:12px;color:#687383}
.funds-account-balance strong{font-size:26px;letter-spacing:-.025em;font-variant-numeric:tabular-nums}
.funds-account p{grid-column:1/-1;margin:0;font-size:11px;color:#76808c;line-height:1.7}
.funds-tabs{display:flex;gap:24px;margin:24px 0 20px;border-bottom:1px solid #e9edf3}
.funds-tabs button{border:0;background:none;padding:0 0 12px;font:inherit;font-size:14px;cursor:pointer;color:#77808b;border-bottom:2px solid transparent}
.funds-tabs button[aria-current=page]{border-color:#0071e3;color:#0071e3;font-weight:600}
.funds-step{display:flex;gap:12px;margin-bottom:22px;font-size:11px;color:#8a929e}
.funds-step span:first-child,.funds-step.review span:last-child{color:#0071e3;font-weight:600}
.funds-step.review span:first-child{color:#8a929e;font-weight:400}
.funds-step span+span::before{content:'→';margin-right:12px;color:#c0c6ce}
.funds-drawer .field{margin:0 0 18px}
.funds-drawer .field>label{display:block;font-size:13px;font-weight:500;margin-bottom:8px;color:#384352}
.funds-drawer input:not([type=checkbox]){display:block;width:100%;height:44px;padding:10px 12px;border:1px solid #dfe4ec;border-radius:8px;background:#fff;box-sizing:border-box;font:inherit;font-size:13px;color:#26313f;min-width:0}
.funds-drawer input:focus-visible{outline:2px solid #0071e3;outline-offset:2px}
.funds-money-input{display:flex;align-items:center;gap:10px;border:1px solid #dfe4ec;border-radius:10px;padding:0 15px}
.funds-money-input:focus-within{border-color:#0071e3;box-shadow:0 0 0 3px #0071e312}
.funds-money-input>span{font-size:22px;color:#7b8491}
.funds-drawer .funds-money-input input{height:62px;font-size:29px;font-weight:600;border:0;box-shadow:none;border-radius:10px;padding:8px 0;outline:0}
.funds-drawer .funds-money-input input::placeholder{color:#bcc3cd}
.funds-help{display:block;font-size:11px;line-height:1.8;color:#7b8491;margin:7px 0 0}
.funds-form-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:14px}
.funds-estimate{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:17px 0;border-top:1px solid #edf0f4;margin-top:2px}
.funds-estimate span{font-size:13px;color:#697282}
.funds-estimate b{font-size:21px;font-variant-numeric:tabular-nums}
.funds-footer.modal-f{flex:0 0 auto;padding:18px 30px;border-top:1px solid #e9edf3;background:#fff;display:flex;gap:12px;justify-content:flex-end}
.funds-footer .btn{border-radius:9px;min-height:42px;font-size:13px;padding:10px 18px}
.funds-footer .btn-primary{min-width:188px}
.funds-notice{padding:18px;background:#fff8e9;border:1px solid #f5e6c6;border-radius:10px;font-size:13px;line-height:1.8;color:#8d651f}
.funds-error{padding:12px 14px;background:#fff1f0;border-radius:8px;color:#b43e3a;font-size:12px;line-height:1.8;margin-top:16px;overflow-wrap:anywhere}
.funds-review-amount{text-align:center;padding:8px 0 24px}
.funds-review-amount span,.funds-review-amount small{display:block;color:#7b8491;font-size:12px}
.funds-review-amount strong{display:block;font-size:38px;letter-spacing:-.035em;margin:8px 0}
.funds-details{margin:0;font-size:12px}
.funds-details>div{display:grid;grid-template-columns:116px minmax(0,1fr);gap:14px;padding:10px 0;border-bottom:1px solid #f1f3f6}
.funds-details dt{margin:0;color:#7b8491}
.funds-details dd{margin:0;color:#354152;text-align:right;overflow-wrap:anywhere}
.funds-confirm{display:flex;gap:10px;align-items:flex-start;padding:16px;margin:22px 0 10px;background:#f6f8fb;border-radius:10px;font-size:12px;line-height:1.8;cursor:pointer}
.funds-confirm input{width:16px;height:16px;accent-color:#0071e3;flex:0 0 auto;margin-top:3px}
.funds-history-head{display:flex;justify-content:space-between;align-items:center;gap:12px}
.funds-history-head h4{font-size:14px;margin:0}
.funds-receipt{border:1px solid #e6ebf1;border-radius:12px;padding:16px;margin-top:16px}
.funds-receipt .funds-history-head>b{font-size:23px;letter-spacing:-.025em}
.funds-receipt-id{font-size:10px;font-family:ui-monospace,monospace;color:#9199a5;margin:8px 0;overflow-wrap:anywhere}
.funds-receipt .funds-details>div:last-child{border-bottom:0}
.funds-pagination{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:20px;font-size:11px;color:#7b8491}
#organizationReceiptSuccess{text-align:center;padding:12px 0}
.funds-success-mark{width:52px;height:52px;border-radius:50%;margin:4px auto 18px;background:#e7f6eb;color:#23a35a;display:grid;place-items:center;font-size:28px}
#organizationReceiptSuccess h4{font-size:19px;margin:0 0 10px}
#organizationReceiptSuccess>strong{font-size:34px;letter-spacing:-.035em}
#organizationReceiptSuccess>p{color:#7b8491;font-size:12px;margin:12px 0 24px;line-height:1.8}
@media(max-width:700px){
  #appShell .business-organization-filters>input,#appShell .business-organization-filters>select{flex:1 1 160px;max-width:none}
  #appShell .business-organization-filters>span{width:100%}
  .funds-drawer.modal{width:100%;border-radius:0}
  .funds-drawer .modal-h{padding:20px}
  .funds-drawer .funds-body{padding:20px}
  .funds-footer.modal-f{padding:16px 20px;padding-bottom:max(16px,env(safe-area-inset-bottom))}
  .funds-footer .btn-primary{min-width:0;flex:1}
  .funds-form-grid{grid-template-columns:1fr;gap:0}
  .funds-account{padding:16px;gap:10px}
  .funds-account-balance strong{font-size:22px}
  .funds-details>div{grid-template-columns:100px minmax(0,1fr);gap:8px}
}
