@import "https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&display=swap";:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--mb-bg:#f4f6f4;--mb-surface:#fff;--mb-surface-raised:#fbfcfa;--mb-surface-muted:#f8faf9;--mb-surface-accent:#eaf3ec;--mb-surface-wash:#f0f5f1;--mb-brand:#147a52;--mb-brand-strong:#0e5a3b;--mb-brand-soft:#eaf3ec;--mb-ink:#17211d;--mb-text:#2c3630;--mb-muted:#6b756f;--mb-faint:#8a938d;--mb-border:#dce5dd;--mb-border-strong:#cbd8cf;--mb-border-soft:#e7ece8;--mb-shadow-1:0 1px 2px #141e190d;--mb-shadow-2:0 10px 24px #141e1912;--mb-focus:0 0 0 3px #147a522e;--mb-danger:#c0463a;--mb-danger-bg:#fff0ed;--mb-warning:#a76f1e;--mb-warning-bg:#fff5df;--mb-info:#2f6289;--mb-info-bg:#eef5f8;--border:var(--mb-border);--surface:var(--mb-surface);--surface-2:var(--mb-surface-muted);--muted:var(--mb-muted);color:var(--mb-ink);background:var(--mb-bg);font-synthesis:none;text-rendering:optimizelegibility;font-family:Geist,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:var(--mb-bg);color:var(--mb-ink);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;min-width:320px;min-height:100vh;margin:0}button{font:inherit}svg{stroke-width:1.7px}input[type=checkbox],input[type=radio]{accent-color:var(--mb-brand)}.app-shell{grid-template-columns:248px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{color:#f8fafc;background:#162029;flex-direction:column;gap:24px;padding:22px 16px;display:flex}.brand{align-items:center;gap:12px;padding:0 6px;display:flex}.brand-mark{color:#0c1914;background:#4fb286;border-radius:8px;justify-content:center;align-items:center;width:42px;height:42px;font-weight:800;display:flex}.brand strong,.brand span{display:block}.brand span{color:#b8c4ce;margin-top:2px;font-size:.82rem}.nav-list{gap:10px;display:grid}.nav-item,.quick-actions button,.primary-button,.secondary-button,.row-actions button,.icon-button{cursor:pointer;border:0;justify-content:center;align-items:center;gap:8px;display:inline-flex}.nav-item{color:#d9e1e8;text-align:left;background:0 0;border-radius:8px;justify-content:flex-start;padding:11px 12px}.nav-item.active,.nav-item:hover{color:#fff;background:#243340}.sidebar-footer{color:#d5dde5;background:#23323d;border:1px solid #314656;border-radius:8px;align-items:center;gap:9px;margin-top:auto;padding:12px;display:flex}.login-screen{justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.login-panel{background:#fff;border:1px solid #dce2e5;border-radius:8px;gap:18px;width:100%;max-width:420px;padding:24px;display:grid}.login-panel .brand{color:#172033;padding:0}.login-panel .brand span{color:#667085}.login-panel label{gap:6px;display:grid}.login-panel label span{color:#667085;text-transform:uppercase;font-size:.78rem;font-weight:800}.login-panel input{color:#172033;font:inherit;border:1px solid #cfd8dd;border-radius:8px;min-height:42px;padding:9px 10px}.topbar{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px;display:flex}.topbar-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.version-status{color:#23323d;background:#fff;border:1px solid #d6dde1;border-radius:8px;align-items:center;gap:6px;min-height:38px;padding:5px 6px;display:flex}.version-chip{white-space:nowrap;align-items:baseline;gap:4px;line-height:1;display:flex}.version-chip span{color:#667085;font-size:.66rem;font-weight:800}.version-chip strong{font-size:.75rem;font-weight:800}.version-reload{color:#fff;background:#23323d;border:1px solid #23323d;border-radius:7px;align-items:center;gap:4px;min-height:28px;padding:0 8px;font-size:.72rem;font-weight:800;display:flex}.eyebrow{color:#667085;letter-spacing:0;text-transform:uppercase;margin:0 0 6px;font-size:.78rem;font-weight:700}.topbar-subtitle{color:#667085;margin-top:4px;font-size:.92rem}h1,h2,p{margin:0}h1{font-size:1.8rem;line-height:1.2}h2{font-size:1.05rem}.icon-button,.row-actions button{color:#23323d;background:#fff;border:1px solid #d6dde1;border-radius:8px;width:38px;height:38px}.quick-actions{flex-wrap:wrap;gap:10px;margin-bottom:18px;padding:0;display:flex}.quick-actions button,.secondary-button{color:#23323d;background:#fff;border:1px solid #d6dde1;border-radius:8px;min-height:40px;padding:0 13px}.quick-actions button:hover,.secondary-button:hover,.row-actions button:hover,.icon-button:hover{background:#eef3f4}.row-actions button:disabled{color:#a7b0ba;cursor:not-allowed;background:#f4f6f7}.primary-button{color:#fff;background:#2368a2;border-radius:8px;min-height:40px;padding:0 14px}.primary-button:hover{background:#1d5b91}.primary-button:disabled,.secondary-button:disabled{cursor:not-allowed;opacity:.58}.full{width:100%}.book-form{gap:12px;margin-bottom:18px;display:grid}.book-form label{gap:5px;display:grid}.book-form label span{color:#6b756f;letter-spacing:normal;text-transform:none;font-size:12px;font-weight:600}.book-form input,.book-form select,.book-form textarea{color:#172033;font:inherit;background:#fff;border:1px solid #cfd8dd;border-radius:8px;width:100%;min-height:39px;padding:9px 10px}.book-form textarea{resize:vertical;min-height:78px}.inline-form{grid-template-columns:repeat(4,minmax(130px,1fr));align-items:end}.inline-form .span-two{grid-column:span 2}.line-editor{gap:8px;display:grid}.line-editor-header,.line-editor-row,.checkbox-row{align-items:center;gap:8px;display:flex}.line-editor-header{justify-content:space-between}.line-editor-header span{color:#667085;text-transform:uppercase;font-size:.78rem;font-weight:800}.recurring-line-editor .line-editor-header span{color:#17211d;letter-spacing:normal;text-transform:none;font-size:15px;font-weight:600}.line-editor-row{grid-template-columns:minmax(180px,1fr) 84px 116px 38px;display:grid}.recurring-line-editor .line-editor-row{grid-template-columns:122px minmax(150px,.72fr) minmax(180px,1fr) 64px 92px 42px 38px;min-width:760px}.compact-button{white-space:nowrap;min-height:34px;padding:0 10px}.invoice-detail .compact-button,.recurring-detail-main .compact-button{border-color:#cfe3d6;border-radius:9px;font-size:13px;font-weight:600}.checkbox-row{color:#667085;grid-template-columns:18px minmax(0,1fr)}.book-form .checkbox-row input{width:auto;min-height:auto}.inline-checkbox{justify-content:center;align-items:center;min-height:34px;display:flex}.inline-checkbox input{width:16px;height:16px;min-height:16px}.terms-field{gap:6px;display:grid}.composer-terms-tax{grid-template-columns:1.35fr 1fr;align-items:end;gap:12px 14px;display:grid}.terms-field-label{color:#6b756f;font-size:12px;font-weight:600}.terms-row{background:#f4f6f4;border:0;border-radius:11px;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center;gap:3px;min-height:39px;padding:3px;display:grid}.terms-row button{color:#59635d;cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:8px;min-height:34px;padding:0 8px;font-size:13px;font-weight:500}.terms-row button.active{color:#0e5a3b;background:#fff;font-weight:600;box-shadow:0 1px 2px #11182714}.invoice-editor{background:#fbfcfa;border:1px solid #dce2e5;border-radius:8px;padding:14px}.invoice-editor-header{border-bottom:1px solid #e4e9eb;justify-content:space-between;align-items:center;gap:16px;padding-bottom:12px;display:flex}.invoice-editor-header strong,.invoice-editor-balance{font-size:1.2rem;display:block}.invoice-editor-balance{white-space:nowrap;font-weight:800}.invoice-form-grid{grid-template-columns:minmax(170px,1.15fr) minmax(190px,1.15fr) minmax(120px,.75fr) repeat(3,minmax(118px,.7fr));gap:10px;display:grid}.invoice-customer-field{grid-column:span 2}.invoice-editor-body{grid-template-columns:minmax(0,1fr);gap:12px;display:grid}.invoice-line-table{border:1px solid #e4e9eb;border-radius:8px;overflow-x:auto}.invoice-line-head,.invoice-line-row{grid-template-columns:112px minmax(160px,.6fr) minmax(200px,1fr) minmax(150px,.5fr) 70px 104px 40px 118px 38px;align-items:center;gap:8px;min-width:1080px;padding:8px;display:grid}.invoice-line-head{color:#667085;text-transform:uppercase;background:#f0f5f1;font-size:.76rem;font-weight:800}.invoice-line-row+.invoice-line-row{border-top:1px solid #edf0f2}.invoice-line-row strong{text-align:right;white-space:nowrap;font-size:13.5px;font-weight:600}.invoice-line-row .icon-button,.recurring-line-editor .icon-button{border-color:#ebeeec;width:30px;min-width:30px;height:30px;min-height:30px}.invoice-summary-panel{background:#fff;border:1px solid #e4e9eb;border-radius:8px;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:10px;display:grid}.invoice-customer-message{background:#f8faf9;border:1px solid #e4e9eb;border-radius:8px;margin-top:14px;padding:12px}.invoice-customer-message span{color:#667085;text-transform:uppercase;margin-bottom:4px;font-size:.78rem;font-weight:800;display:block}.invoice-customer-message p{color:#253244;white-space:pre-wrap;margin:0}.catalog-panel{background:#fff;border:1px solid #e4e9eb;border-radius:8px;gap:10px;margin-top:14px;padding:12px;display:grid}.catalog-form{grid-template-columns:minmax(160px,1fr) minmax(180px,1.2fr) 110px minmax(120px,.7fr) auto auto;align-items:end;gap:10px;display:grid}.catalog-form label{gap:5px;display:grid}.catalog-form label span,.catalog-panel td small{color:#667085;font-size:.78rem}.catalog-panel td strong,.catalog-panel td small{display:block}.form-submit{align-self:end}.manual-payment-form{background:#f8faf9;border:1px solid #e4e9eb;border-radius:8px;grid-template-columns:minmax(160px,1fr) minmax(100px,.55fr) minmax(110px,.65fr) minmax(130px,.9fr) minmax(160px,.75fr) minmax(150px,.8fr);align-items:end;gap:10px;margin-bottom:18px;padding:12px;display:grid}.manual-payment-form label{gap:5px;display:grid}.manual-payment-form label span{color:#667085;text-transform:uppercase;font-size:.78rem;font-weight:800}.manual-payment-form input,.manual-payment-form select{color:#172033;font:inherit;border:1px solid #cfd8dd;border-radius:8px;width:100%;min-height:40px;padding:9px 10px}.manual-payment-form .payment-receipt-toggle{grid-template-columns:18px minmax(0,1fr);align-self:center}.manual-payment-form .payment-receipt-toggle input{width:auto;min-height:auto;padding:0}.manual-payment-form .payment-receipt-toggle span{color:#172033;text-transform:none;font-size:.86rem;font-weight:700}.payment-summary{gap:4px;display:grid}.payment-summary span{color:#667085;font-size:.9rem}.hosted-payment-note{grid-column:1/-1;margin:0}.payment-actions{gap:8px;display:grid}.payment-actions .primary-button,.payment-actions .secondary-button{width:100%}.activity-panel{background:#f8faf9;border:1px solid #e4e9eb;border-radius:8px;gap:12px;margin-bottom:18px;padding:14px;display:grid}.activity-panel-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.activity-panel-header strong,.activity-panel-header span{display:block}.activity-panel-header span{color:#667085;margin-top:2px;font-size:.88rem}.delivery-preview-content{gap:12px;display:grid}.delivery-preview-meta{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.statement-delivery-meta{margin:10px 0}.stripe-delivery-note{color:#1653a4;background:#eef5ff;border:1px solid #cfe0f7;border-radius:8px;align-items:center;gap:8px;padding:9px 10px;font-size:.9rem;font-weight:800;display:flex}.settings-delivery-note{align-items:flex-start;margin-bottom:12px}.stripe-webhook-card{background:#f8faf9;border:1px solid #dce2e5;border-radius:8px;gap:10px;margin-bottom:12px;padding:12px;display:grid}.stripe-webhook-header{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.stripe-webhook-header div{gap:3px;display:grid}.stripe-webhook-header strong{font-size:.95rem}.stripe-webhook-header span{color:#667085;font-size:.82rem;line-height:1.35}.stripe-webhook-card code{color:#1653a4;overflow-wrap:anywhere;background:#eef5ff;border:1px solid #cfe0f7;border-radius:6px;padding:8px;font-size:.78rem;line-height:1.35;display:block}.stripe-webhook-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.stripe-webhook-status{color:#45505f;background:#fff;border:1px solid #dce2e5;border-radius:8px;gap:6px;padding:9px 10px;font-size:.82rem;display:grid}.stripe-webhook-status code{color:#45505f;background:#f4f7f8;border-color:#dce2e5}.stripe-webhook-secret{color:#7a4d00;background:#fff8e8;border:1px solid #efd28d;border-radius:8px;gap:8px;padding:10px;font-size:.82rem;font-weight:800;display:grid}.stripe-webhook-secret code{color:#7a4d00;background:#fff;border-color:#efd28d}.stripe-webhook-events{flex-wrap:wrap;gap:6px;display:flex}.stripe-webhook-events span{color:#45505f;background:#fff;border:1px solid #dce2e5;border-radius:999px;padding:4px 7px;font-size:.72rem;font-weight:800}.delivery-preview-content label{gap:6px;display:grid}.delivery-preview-content label span,.delivery-preview-link span{color:#667085;text-transform:uppercase;font-size:.78rem;font-weight:800}.delivery-preview-content input,.delivery-preview-content textarea{color:#172033;font:inherit;background:#fff;border:1px solid #cfd8dd;border-radius:8px;width:100%;padding:9px 10px}.delivery-preview-content textarea{resize:vertical;min-height:210px}.delivery-preview-link{background:#fff;border:1px solid #e4e9eb;border-radius:8px;gap:5px;padding:10px;display:grid}.delivery-preview-link a{color:#2368a2;overflow-wrap:anywhere}.delivery-document-actions{flex-wrap:wrap;gap:8px;margin-top:4px;display:flex}.delivery-document-actions a{text-decoration:none}.activity-list{gap:8px;display:grid}.activity-row{background:#fff;border:1px solid #e4e9eb;border-radius:8px;gap:3px;padding:10px;display:grid}.activity-row span{color:#667085;font-size:.78rem;font-weight:800}.activity-row strong{text-transform:capitalize}.activity-row p{color:#52607a;font-size:.9rem}.form-actions{gap:8px;display:grid}.invoice-center{border-top:1px solid #e4e9eb;border-bottom:1px solid #e4e9eb;gap:12px;margin-bottom:12px;padding:14px 0;display:grid}.invoice-center-toolbar{flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:12px;display:flex}.segmented-control{background:#eef3f4;border:1px solid #d6dde1;border-radius:8px;flex-wrap:wrap;gap:4px;padding:4px;display:flex}.invoice-center-toolbar .segmented-control{width:100%}.segmented-control button{color:#52607a;cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:7px;min-height:34px;padding:0 10px;display:inline-flex}.segmented-control button.active{color:#172033;background:#fff;box-shadow:0 1px 2px #11182714}.segmented-control button strong{color:#23323d;background:#dce7eb;border-radius:999px;min-width:22px;padding:2px 6px;font-size:.76rem}.segmented-control button.active strong{color:#17633c;background:#dff5e8}.search-field{color:#667085;background:#fff;border:1px solid #cfd8dd;border-radius:8px;align-items:center;gap:8px;min-width:240px;min-height:42px;padding:0 10px;display:flex}.invoice-center-toolbar .search-field{flex:260px}.search-field input{color:#172033;font:inherit;border:0;outline:0;width:100%;min-width:0}.invoice-center-summary{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;display:grid}.collections-center{grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px;display:grid}.collections-note{color:#1653a4;background:#eef5ff;border:1px solid #cfe0f7;border-radius:8px;flex-wrap:wrap;grid-column:1/-1;align-items:center;gap:9px;min-height:42px;padding:8px 10px;font-size:.86rem;font-weight:800;display:flex}.collections-note span{flex:260px}.report-controls{grid-template-columns:repeat(2,minmax(160px,220px)) minmax(110px,max-content);align-items:end;gap:10px;margin-bottom:14px;display:grid}.report-controls label{gap:5px;display:grid}.report-controls label span{color:#6b756f;text-transform:none;font-size:12px;font-weight:600}.report-controls input{color:#172033;font:inherit;border:1px solid #cfd8dd;border-radius:8px;width:100%;min-height:40px;padding:9px 10px}.compact-form{border-top:1px solid #e4e9eb;margin-top:16px;margin-bottom:0;padding-top:16px}.schedule-list{gap:9px;display:grid}.recurring-billing-center{border-top:1px solid #e4e9eb;border-bottom:1px solid #e4e9eb;grid-template-columns:repeat(auto-fit,minmax(142px,1fr));gap:10px;margin-bottom:12px;padding:12px 0;display:grid}.recurring-billing-note{color:#1653a4;background:#eef5ff;border:1px solid #cfe0f7;border-radius:8px;grid-column:1/-1;align-items:center;gap:8px;min-height:40px;padding:8px 10px;font-size:.86rem;font-weight:800;display:flex}.recurring-filter{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.recurring-filter button{justify-content:space-between}.schedule-row{background:#f8faf9;border:1px solid #e4e9eb;border-radius:8px;gap:4px;padding:12px;display:grid}.schedule-row.stripe-managed,.schedule-row.stripe-pending{background:#fbfcff;border-color:#c7d7ee}.schedule-row-header,.schedule-row-footer{justify-content:space-between;align-items:center;gap:10px;display:flex}.status-cluster{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;display:inline-flex}.schedule-row .icon-button{width:32px;height:32px}.schedule-run-meta{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.schedule-run-meta button{color:#2368a2;cursor:pointer;font:inherit;background:0 0;border:0;padding:0;font-size:.86rem;font-weight:800}.schedule-stripe-strip{background:#eef5ff;border:1px solid #cfe0f7;border-radius:8px;grid-template-columns:repeat(auto-fit,minmax(132px,1fr));align-items:stretch;gap:8px;padding:8px;display:grid}.schedule-stripe-heading,.schedule-stripe-strip span{background:#fff;border:1px solid #dbe7f5;border-radius:7px;gap:2px;min-width:0;padding:7px 9px;display:grid}.schedule-stripe-heading{color:#1653a4;align-items:center;font-weight:900;display:flex}.schedule-stripe-heading a{color:#1653a4;align-items:center;gap:3px;margin-left:auto;font-size:.76rem;font-weight:800;text-decoration:none;display:inline-flex}.schedule-stripe-heading a:hover{text-decoration:underline}.schedule-stripe-strip span{color:#172033;overflow-wrap:anywhere;font-size:.84rem;font-weight:800}.schedule-stripe-strip span strong{color:#667085;text-transform:uppercase;font-size:.66rem}.schedule-next-dates{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;min-width:330px;display:grid}.schedule-next-dates span{background:#fff;border:1px solid #e4e9eb;border-radius:8px;gap:2px;padding:7px 9px;display:grid}.schedule-next-dates strong{color:#667085;text-transform:uppercase;font-size:.68rem}.recurring-form-preview{background:#f8faf9;border:1px solid #e4e9eb;border-radius:8px;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:10px;display:grid}.recurring-form-preview div{background:#fff;border:1px solid #e4e9eb;border-radius:8px;gap:2px;min-width:0;padding:8px 9px;display:grid}.recurring-form-preview span{color:#667085;text-transform:uppercase;font-size:.68rem;font-weight:800}.recurring-form-preview strong{color:#172033;overflow-wrap:anywhere;font-size:.92rem}.stripe-recurring-preview{background:#eef5ff;border:1px solid #c8ddf3;border-radius:8px;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));align-items:stretch;gap:8px;padding:10px;display:grid}.stripe-recurring-preview-heading{color:#2368a2;background:#fff;border:1px solid #d6e7f7;border-radius:8px;grid-column:1/-1;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:4px;min-width:0;padding:8px 9px;display:grid}.stripe-recurring-preview-heading strong,.stripe-recurring-preview-heading span{overflow-wrap:anywhere}.stripe-recurring-preview-heading span{color:#667085;text-transform:uppercase;grid-column:2;font-size:.72rem}.stripe-readiness-list{grid-column:1/-1;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px;display:grid}.stripe-readiness-list span{color:#172033;overflow-wrap:anywhere;background:#fff;border:1px solid #d6e7f7;border-radius:8px;gap:3px;min-width:0;padding:8px 9px;font-size:.82rem;font-weight:800;display:grid}.stripe-readiness-list span:before{content:"";border-radius:999px;width:7px;height:7px}.stripe-readiness-list span.ready:before{background:#13a66f}.stripe-readiness-list span.needs-work:before{background:#d97706}.stripe-readiness-list strong{color:#667085;text-transform:uppercase;font-size:.66rem}.schedule-source-banner{background:#f2f8f5;border:1px solid #cfe5d8;border-radius:8px;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:10px;display:grid}.schedule-source-banner div{background:#fff;border:1px solid #d9ece1;border-radius:8px;gap:2px;min-width:0;padding:8px 9px;display:grid}.schedule-source-banner span{color:#667085;text-transform:uppercase;font-size:.68rem;font-weight:800}.schedule-source-banner strong{color:#172033;overflow-wrap:anywhere;font-size:.92rem}.schedule-row span,.schedule-row small,.muted{color:#667085}.schedule-row small{font-size:.86rem;font-weight:800}.inline-muted{color:#667085;overflow-wrap:anywhere;margin-top:3px;font-size:.78rem;font-weight:700;display:block}.link-button{color:#2368a2;cursor:pointer;font:inherit;background:0 0;border:0;padding:0;font-weight:800}.alert,.loading-band{border-radius:8px;margin-bottom:14px;padding:12px 14px}.alert.error{color:#8b1e1e;background:#fff0f0;border:1px solid #f1b8b8}.alert.success{color:#165c32;background:#edf8f1;border:1px solid #b7dec4}.loading-band{color:#244766;background:#eef4fb;border:1px solid #cbdced}.stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px;padding:0;display:grid}.stat-card{background:#fff;border:1px solid #e8ebe9;border-radius:16px;padding:20px}.stat-card-head{justify-content:space-between;align-items:center;display:flex}.stat-icon{border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;display:flex}.stat-card span{color:#6b756f;font-size:13px;font-weight:500;display:block}.stat-card strong{font-variant-numeric:tabular-nums;letter-spacing:-.5px;margin:14px 0 6px;font-size:26px;font-weight:600;line-height:1.2;display:block}.stat-card small{color:#8a938d;font-size:12.5px}.content-grid{grid-template-columns:minmax(0,1.4fr) minmax(280px,.8fr);gap:16px;padding:0;display:grid}.dashboard-layout{grid-template-columns:minmax(0,1.5fr) minmax(280px,.9fr)}.dashboard-rail{flex-direction:column;gap:16px;min-width:0;display:flex}.invoice-layout{grid-template-columns:minmax(870px,1.7fr) minmax(250px,.5fr)}.estimates-layout{grid-template-columns:minmax(760px,1.6fr) minmax(250px,.6fr)}.expenses-layout{grid-template-columns:minmax(320px,.6fr) minmax(760px,1.5fr)}.customer-layout{grid-template-columns:minmax(0,1fr)}.side-drawer .book-form{margin-bottom:0}.side-drawer .book-form .form-actions button,.side-drawer .book-form>.primary-button,.side-drawer .book-form>.secondary-button{justify-content:center;width:100%}.settings-layout{grid-template-columns:minmax(420px,1fr) minmax(300px,.55fr)}@media (width>=1240px) and (width<=1680px){.app-shell.assist-open .settings-layout{grid-template-columns:minmax(0,1fr)}}.settings-form{grid-template-columns:repeat(2,minmax(180px,1fr))}.settings-form .span-two{grid-column:span 2}.report-stack{gap:16px;padding:0;display:grid}.panel{background:#fff;border:1px solid #dce2e5;border-radius:8px;min-width:0;padding:18px}.panel.wide{min-width:0}.panel-title{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px;display:flex}.compact-title{margin-top:18px}.panel-title p{color:#667085;margin-top:4px;font-size:.92rem}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%}th,td{text-align:left;vertical-align:middle;overflow-wrap:break-word;border-bottom:1px solid #edf0f2;padding:12px 10px}th{color:#667085;text-transform:uppercase;font-size:.78rem;font-weight:800}td{color:#253244;font-size:.92rem}.empty-row{color:#667085;text-align:center}.status-pill{text-transform:capitalize;white-space:nowrap;border-radius:999px;padding:5px 9px;font-size:.78rem;font-weight:800;display:inline-flex}.status-stack{flex-direction:column;align-items:flex-start;gap:5px;display:inline-flex}.status-pill.stripe-status{color:#1653a4;text-transform:none;background:#e6f0ff}.status-pill.stripe-collection-status{color:#b54708;text-transform:none;background:#fff1e7}.status-pill.attention-status{color:#8a5a00;text-transform:none;background:#fff5d6}.stripe-invoice-id{color:#667085;text-overflow:ellipsis;white-space:nowrap;max-width:120px;font-size:.76rem;font-weight:700;overflow:hidden}.stripe-invoice-links{flex-wrap:wrap;align-items:center;gap:6px;display:inline-flex}.stripe-invoice-links a{color:#1653a4;align-items:center;gap:3px;font-size:.76rem;font-weight:800;text-decoration:none;display:inline-flex}.stripe-invoice-links a:hover{text-decoration:underline}.status-pill.draft{color:#4d5967;background:#eef0f2}.status-pill.posted,.status-pill.sent,.status-pill.partial{color:#7a4f00;background:#fff2cc}.status-pill.paid{color:#17633c;background:#dff5e8}.status-pill.overdue{color:#9a3023;background:#ffe5e1}.status-pill.void{color:#6b5140;background:#ece7df}.row-actions{justify-content:flex-end;gap:6px;display:flex}.invoice-table th:last-child,.invoice-table td:last-child{z-index:1;background:#fff;width:120px;min-width:120px;position:sticky;right:0}.invoice-table .row-actions button{width:32px;height:32px}.invoice-table .row-actions{flex-wrap:wrap;row-gap:6px;max-width:410px}.table-action{white-space:nowrap;min-height:34px;padding:0 10px}.bank-review{margin-top:18px}.bank-review table{min-width:640px}.match-payment-control{align-items:center;gap:8px;display:flex}.match-payment-control select{color:#172033;font:inherit;border:1px solid #cfd8dd;border-radius:8px;min-width:170px;min-height:34px;padding:6px 8px}.csv-imports,.export-actions{gap:10px;display:grid}.csv-imports{margin-top:14px}.csv-imports label{color:#52607a;gap:6px;font-size:.83rem;font-weight:700;display:grid}.csv-imports input{width:100%}.csv-imports small{color:#52607a;line-height:1.45}.export-actions{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.export-actions a{justify-content:center;text-decoration:none}.metric-list{gap:10px;display:grid}.metric{justify-content:space-between;align-items:center;gap:12px;font-size:13.5px;display:flex}.metric strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;text-align:right;min-width:0;font-size:13.5px;font-weight:600}.metric span{min-width:max-content}.metric-divider{background:#eef1ef;height:1px;margin:4px 0}.metric.metric-danger span{color:#c0463a;font-weight:600}.metric.metric-danger strong{color:#c0463a;font-weight:700}.public-invoice{justify-content:center;align-items:flex-start;min-height:100vh;padding:32px 18px;display:flex}.public-invoice-sheet{background:#fff;border:1px solid #dce2e5;border-radius:8px;width:100%;max-width:860px;padding:24px}.public-invoice-header,.invoice-total-row{justify-content:space-between;align-items:center;display:flex}.public-invoice-header{border-bottom:1px solid #e4e9eb;margin-bottom:18px;padding-bottom:16px}.invoice-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:18px;display:grid}.invoice-total-row{border-top:1px solid #e4e9eb;margin-top:12px;padding-top:14px}.invoice-total-row strong{font-size:1.3rem}.public-pay-button{width:100%;margin-top:18px}.public-invoice-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:10px;display:grid}.public-invoice-actions .secondary-button{min-height:40px;text-decoration:none}.connector-row{background:#f8faf9;border:1px solid #e4e9eb;border-radius:8px;align-items:center;gap:14px;margin-bottom:14px;padding:16px;display:flex}.connector-row strong,.connector-row span{display:block}.connector-row span{color:#667085;margin-top:3px;font-size:.9rem}.plaid-controls{border-bottom:1px solid #e4e9eb;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;margin-bottom:16px;padding-bottom:16px;display:grid}.plaid-controls label{gap:5px;display:grid}.plaid-controls label span{color:#667085;text-transform:uppercase;font-size:.78rem;font-weight:800}.plaid-controls input{color:#172033;font:inherit;border:1px solid #cfd8dd;border-radius:8px;width:100%;min-height:40px;padding:9px 10px}@media (width<=1040px){.app-shell{grid-template-columns:1fr}.sidebar{position:static}.nav-list{grid-template-columns:repeat(3,minmax(0,1fr))}.sidebar-footer{display:none}.stat-grid,.content-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=1280px){.content-grid{grid-template-columns:1fr}}@media (width<=1500px){.invoice-layout,.estimates-layout{grid-template-columns:1fr}}@media (width<=700px){.topbar{flex-direction:column;align-items:stretch}.topbar-actions{justify-content:flex-start}.nav-list,.stat-grid,.content-grid,.delivery-preview-meta,.invoice-facts{grid-template-columns:1fr}.nav-item{min-height:42px}h1{font-size:1.45rem}.panel-title{flex-direction:column;align-items:stretch}.primary-button,.secondary-button{width:100%}.inline-form,.inline-form .span-two,.catalog-form,.invoice-form-grid,.invoice-customer-field,.invoice-editor-body,.recurring-form-preview,.stripe-recurring-preview,.stripe-readiness-list,.schedule-source-banner,.schedule-stripe-strip,.settings-form,.settings-form .span-two{grid-column:auto;grid-template-columns:1fr}.schedule-row-header{flex-direction:column;align-items:flex-start}.schedule-row-footer{flex-wrap:wrap;justify-content:flex-start;align-items:flex-start;overflow:visible}.schedule-row-footer small{flex:1 0 100%}.schedule-row-footer>.icon-button{flex:none}.invoice-editor-header{flex-direction:column;align-items:stretch}.invoice-editor-balance{font-size:1.05rem}.invoice-summary-panel{grid-template-columns:1fr}.line-editor-row{grid-template-columns:1fr 72px 96px 38px}.recurring-line-editor .line-editor-row{grid-template-columns:118px minmax(140px,.7fr) minmax(180px,1fr) 64px 92px 38px 36px;min-width:740px}.invoice-line-head,.invoice-line-row{grid-template-columns:118px minmax(150px,.6fr) minmax(180px,1fr) minmax(130px,.5fr) 64px 92px 38px 94px 36px;min-width:1010px}.terms-row{grid-template-columns:repeat(2,minmax(0,1fr))}.line-editor-header{flex-direction:column;align-items:stretch}.plaid-controls{grid-template-columns:1fr}.invoice-center-toolbar{flex-direction:column;align-items:stretch}.segmented-control{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.segmented-control button{justify-content:space-between}.search-field{min-width:0}.invoice-center-summary,.manual-payment-form,.report-controls,.export-actions{grid-template-columns:1fr}}@media print{body{background:#fff}.public-invoice{min-height:auto;padding:0;display:block}.public-invoice-sheet{border:0;border-radius:0;max-width:none;padding:0}.public-pay-button,.public-invoice-actions,.public-invoice .alert{display:none}}.form-row{grid-template-columns:1fr 1fr;gap:12px;display:grid}.form-row-tenant{grid-template-columns:1.4fr 1fr 1.4fr}.book-form label.checkbox-label{flex-direction:row;align-items:center;gap:10px;display:flex}.book-form label.checkbox-label span{color:#172033;text-transform:none;font-size:.95rem;font-weight:500}.book-form label.checkbox-label input{flex:none;width:18px;height:18px;min-height:0;margin:0;padding:0}.lease-property-list{flex-direction:column;gap:16px;display:flex}.lease-property-card{border:1px solid var(--border,#e2e8f0);background:var(--surface,#fff);border-radius:12px;padding:16px}.lease-property-head{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px;display:flex}.lease-property-head strong{align-items:center;gap:6px;display:flex}.lease-property-head small{display:block}.lease-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.lease-open{border:1px solid var(--border,#e2e8f0);cursor:pointer;text-align:left;background:0 0;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:10px 12px;display:flex}.lease-open:hover{background:var(--surface-2,#f8fafc)}.lease-wizard{flex-direction:column;gap:16px;display:flex}.lease-wizard-header{align-items:center;gap:16px;display:flex}.lease-wizard-body{grid-template-columns:220px 1fr 260px;align-items:start;gap:20px;display:grid}.lease-steps{flex-direction:column;gap:4px;display:flex}.lease-step{cursor:pointer;text-align:left;background:0 0;border:none;border-radius:8px;align-items:center;gap:10px;padding:10px 12px;font-size:14px;display:flex}.lease-step.active{background:var(--surface-2,#eef2ff);font-weight:600}.lease-step-check{border:1px solid var(--border,#cbd5e1);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:22px;height:22px;font-size:12px;display:inline-flex}.lease-step-check.done{color:#fff;background:#16a34a;border-color:#16a34a}.lease-wizard-main{min-width:0}.lease-language{border:1px solid var(--border,#e2e8f0);background:#fff;border-radius:12px;margin-top:20px;overflow:hidden}.lease-language-toggle{background:var(--surface-2,#f8fafc);cursor:pointer;text-align:left;border:none;align-items:center;gap:8px;width:100%;padding:12px 16px;font-size:14px;font-weight:600;display:flex}.lease-language-hint{color:var(--muted,#64748b);margin-left:auto;font-size:12px;font-weight:400}.lease-language-chevron{color:var(--muted,#64748b);font-size:12px}.lease-language-body{border-top:1px solid var(--border,#e2e8f0);max-height:520px;padding:20px 24px;overflow-y:auto}.lease-language-body.inline-muted{padding:20px 24px}.lease-summary{border:1px solid var(--border,#e2e8f0);background:var(--surface-2,#f8fafc);border-radius:12px;padding:16px}.lease-summary h3{margin-top:0}.lease-summary-row{justify-content:space-between;gap:12px;padding:6px 0;display:flex}.lease-summary-row.total{border-top:1px solid var(--border,#e2e8f0);border-bottom:1px solid var(--border,#e2e8f0);margin:6px 0;font-size:15px}.lease-collection-panel{border:1px solid var(--border,#e2e8f0);background:var(--surface-2,#f8fafc);border-radius:12px;margin-top:20px;padding:16px}.lease-collection-panel h4{margin-top:0}.lease-activity-list{flex-direction:column;gap:6px;margin:8px 0 0;padding:0;list-style:none;display:flex}.lease-activity-list li{border-bottom:1px solid var(--border,#e2e8f0);justify-content:space-between;align-items:baseline;gap:12px;padding:6px 0;display:flex}.lease-activity-label{font-weight:600}.lease-send-result,.lease-review-link{margin-top:12px}.lease-review-link input[readonly]{width:100%}.lease-review-list{flex-direction:column;gap:8px;margin-bottom:16px;display:flex}.lease-review-row{align-items:center;gap:12px;display:flex}.lease-review-label{flex:1}.app-shell{background:var(--mb-bg);grid-template-columns:236px minmax(0,1fr)}.sidebar{background:var(--mb-surface);border-right:1px solid var(--mb-border);color:var(--mb-text);gap:22px;padding:22px 14px}.brand{color:var(--mb-ink);min-height:44px}.brand-mark{background:var(--mb-brand);color:var(--mb-surface);letter-spacing:0;border-radius:11px;width:42px;height:42px;font-size:.96rem}.brand span{color:var(--mb-faint)}.nav-list{gap:9px}.nav-item{color:var(--mb-muted);background:0 0;border-radius:11px;min-height:42px;padding:10px 12px;font-size:.88rem;font-weight:500}.nav-item.active,.nav-item:hover{background:var(--mb-surface-accent);color:var(--mb-brand-strong);font-weight:700}.nav-item svg{color:currentColor}.sidebar-footer{background:var(--mb-surface-muted);border:1px solid var(--mb-border);color:var(--mb-muted);border-radius:11px;font-size:.84rem}.topbar{align-items:center;margin-bottom:20px}.eyebrow{color:var(--mb-faint);text-transform:uppercase;font-size:.74rem;font-weight:700}h1{color:var(--mb-ink);letter-spacing:0;font-size:1.78rem;font-weight:720}h2,h3,strong{color:var(--mb-ink)}.topbar-subtitle,.panel-title p,.muted,.inline-muted,.schedule-row span,.schedule-row small,.metric span,.stat-card span,.connector-row span,.activity-row span,.activity-row p,.payment-summary span{color:var(--mb-muted)}.quick-actions{gap:9px;margin-bottom:18px}.primary-button,.primary,.quick-actions button:first-child{background:var(--mb-brand);border:1px solid var(--mb-brand);box-shadow:var(--mb-shadow-1);color:var(--mb-surface);border-radius:8px;font-weight:600}.primary-button:hover,.primary:hover,.quick-actions button:first-child:hover{background:var(--mb-brand-strong);border-color:var(--mb-brand-strong)}.secondary-button,.quick-actions button,.row-actions button,.icon-button,.table-action,.version-status,.version-reload,.lease-open,.lease-language-toggle,.link-button.primary{border-radius:8px;font-weight:700}.secondary-button,.quick-actions button,.row-actions button,.icon-button,.table-action,.version-status{background:var(--mb-surface);border:1px solid var(--mb-border-strong);color:var(--mb-text)}.secondary-button{border-color:#e0e4e1}.secondary-button:hover,.quick-actions button:hover,.row-actions button:hover,.icon-button:hover,.table-action:hover{background:var(--mb-surface-accent);color:var(--mb-brand-strong);border-color:#b8d5c4}.primary-button:focus-visible,.primary:focus-visible,.secondary-button:focus-visible,.quick-actions button:focus-visible,.row-actions button:focus-visible,.icon-button:focus-visible,.nav-item:focus-visible,.book-form input:focus,.book-form select:focus,.book-form textarea:focus,.manual-payment-form input:focus,.manual-payment-form select:focus,.report-controls input:focus,.plaid-controls input:focus,.delivery-preview-content input:focus,.delivery-preview-content textarea:focus,.match-payment-control select:focus,.search-field:focus-within{box-shadow:var(--mb-focus);outline:0}.version-status{color:var(--mb-text);min-height:38px}.version-status.update{border-color:#d9b05f;box-shadow:0 0 0 3px #d9b05f29}.version-chip span{color:var(--mb-faint)}.version-chip.changed strong{color:var(--mb-warning)}.version-reload{background:var(--mb-text);border-color:var(--mb-text);color:var(--mb-surface)}.panel,.card,.login-panel,.public-invoice-sheet,.invoice-editor,.catalog-panel,.activity-panel,.stripe-webhook-card,.connector-row,.lease-property-card,.lease-language,.lease-summary,.lease-collection-panel{background:var(--mb-surface);border:1px solid #e8ebe9;border-radius:16px;box-shadow:0 1px 2px #141e190a}.panel,.card{padding:18px}.panel-title,.card-header,.invoice-editor-header,.public-invoice-header{border-color:var(--mb-border-soft)}.stat-card{background:var(--mb-surface);border:1px solid #e8ebe9;border-radius:16px;min-height:128px;box-shadow:0 1px 2px #141e190a}.stat-card.green .stat-icon,.lease-step.active,.status-pill.paid,.status.status-paid,.status.status-active{background:var(--mb-surface-accent);color:var(--mb-brand-strong)}.stat-card.amber .stat-icon,.status-pill.posted,.status-pill.sent,.status-pill.partial,.status-pill.attention-status,.status.status-sent,.status.status-issued{background:var(--mb-warning-bg);color:var(--mb-warning)}.stat-card.blue .stat-icon,.status-pill.stripe-status{background:var(--mb-info-bg);color:var(--mb-info)}.stat-card.rose .stat-icon,.status-pill.overdue,.status.status-void{background:var(--mb-danger-bg);color:var(--mb-danger)}.stat-card.green .stat-icon{color:#2e7d52;background:#e7efe9}.stat-card.amber .stat-icon{color:#b47a2e;background:#fbf0e6}.stat-card.blue .stat-icon{color:#3b6fb0;background:#eaf0fa}.stat-card.rose .stat-icon{color:#c0574d;background:#fbeaea}.activity-row,.invoice-customer-message,.manual-payment-form,.schedule-row,.recurring-form-preview,.schedule-source-banner,.schedule-next-dates span,.delivery-preview-link,.stripe-webhook-status,.lease-summary,.lease-collection-panel{background:var(--mb-surface-muted);border:1px solid var(--mb-border-soft);border-radius:8px}.book-form input,.book-form select,.book-form textarea,.manual-payment-form input,.manual-payment-form select,.report-controls input,.plaid-controls input,.delivery-preview-content input,.delivery-preview-content textarea,.match-payment-control select,.login-panel input{background:var(--mb-surface);border:1px solid var(--mb-border-strong);color:var(--mb-ink);border-radius:8px}.book-form label span,.manual-payment-form label span,.report-controls label span,.plaid-controls label span,.delivery-preview-content label span,.delivery-preview-link span,.catalog-form label span,.invoice-customer-message span,.line-editor-header span,.recurring-form-preview span,.schedule-source-banner span,.schedule-next-dates strong{color:var(--mb-faint);letter-spacing:0}.segmented-control,.search-field,.invoice-center,.recurring-billing-center,.plaid-controls{background:var(--mb-surface-muted);border-color:var(--mb-border-soft)}.segmented-control button,.terms-row button,.filter-row button{color:#59635d;font-weight:500}.segmented-control button.active,.terms-row button.active,.filter-row button.active,.chip.active{background:var(--mb-surface);box-shadow:var(--mb-shadow-1);color:var(--mb-brand-strong)}.segmented-control button.active strong,.segmented-control button strong{background:var(--mb-surface-accent);color:var(--mb-brand-strong)}table{background:var(--mb-surface)}th{background:var(--mb-surface);color:var(--mb-faint);letter-spacing:0;font-size:.74rem}td{color:var(--mb-text)}th,td{border-bottom:1px solid var(--mb-border-soft)}tbody tr:hover td{background:#fafbfa}.invoice-table th:last-child,.invoice-table td:last-child{background:var(--mb-surface)}.invoice-table th:last-child{box-shadow:-12px 0 16px #ffffffeb}.invoice-table td:last-child{box-shadow:-12px 0 16px #ffffffe0}.status-pill,.status{text-transform:capitalize;border-radius:999px;padding:5px 9px;font-size:.76rem;font-weight:800;display:inline-flex}.status-pill.draft,.status.status-draft,.status-pill.void{color:var(--mb-muted);background:#eef0ed}.status-pill.stripe-collection-status{color:#a85a17;background:#fff1e7}.stripe-invoice-id,.stripe-invoice-links a,.schedule-run-meta button,.link-button,.delivery-preview-link a{color:var(--mb-brand)}.collections-note,.recurring-billing-note,.stripe-delivery-note,.schedule-stripe-strip,.stripe-recurring-preview,.loading-band{background:var(--mb-info-bg);color:var(--mb-info);border:1px solid #d2e1e8}.schedule-stripe-heading,.schedule-stripe-strip span,.stripe-recurring-preview-heading,.stripe-readiness-list span{background:var(--mb-surface);border-color:#d6e5dc}.alert.error,.error-text{background:var(--mb-danger-bg);color:var(--mb-danger);border-color:#f1c2bd}.alert.success{background:var(--mb-surface-accent);color:var(--mb-brand-strong);border-color:#b9dbc6}.login-screen,.public-invoice{background:var(--mb-bg)}.public-pay-button{background:var(--mb-brand)}.lease-step{color:var(--mb-muted);border-radius:8px}.lease-step.active{color:var(--mb-brand-strong)}.lease-step-check.done{background:var(--mb-brand);border-color:var(--mb-brand);color:var(--mb-surface)}.lease-language-toggle{background:var(--mb-surface-muted);color:var(--mb-text)}@media (width<=1040px){.app-shell{grid-template-columns:1fr}.sidebar{border-bottom:1px solid var(--mb-border);border-right:0}}@media (width<=700px){.workspace{padding:18px}.topbar{align-items:stretch}.topbar-actions{justify-content:flex-start}.stat-grid,.content-grid,.report-stack,.report-hub,.report-page,.settings-shell,.lease-wizard,.quick-actions{padding-left:0;padding-right:0}.table-wrap table{min-width:640px}.table-wrap th,.table-wrap td{overflow-wrap:normal}}@media print{body,.public-invoice,.public-invoice-sheet{box-shadow:none;background:#fff}}.app-shell{grid-template-columns:76px minmax(0,1fr)}.sidebar{z-index:30;width:76px;height:100vh;transition:width .18s cubic-bezier(.4,0,.2,1);position:sticky;top:0}:is(.app-shell:has(.sidebar:hover) .sidebar,.app-shell:has(.sidebar:focus-within) .sidebar){width:236px;box-shadow:14px 0 40px #17211d2e}.sidebar{border-right-color:var(--mb-border-soft);white-space:nowrap;align-items:stretch;gap:22px;padding:18px 14px;overflow:hidden}.sidebar .brand{gap:11px;height:40px;min-height:40px;padding:6px 8px}.sidebar .brand strong,.sidebar .brand span,.nav-item span,.sidebar-settings span{opacity:0;transition:opacity .14s}.app-shell:has(.sidebar:hover) .sidebar .brand strong{opacity:1}.app-shell:has(.sidebar:hover) .sidebar .brand span{opacity:1}.app-shell:has(.sidebar:hover) .nav-item span{opacity:1}.app-shell:has(.sidebar:hover) .sidebar-settings span{opacity:1}.app-shell:has(.sidebar:focus-within) .nav-item span{opacity:1}.app-shell:has(.sidebar:focus-within) .sidebar-settings span{opacity:1}.brand-mark{border-radius:9px;flex-shrink:0;width:34px;height:34px;font-size:.85rem}.sidebar .brand-mark{font-size:15px;font-weight:700}.sidebar .brand strong{font-size:14px;font-weight:600}.sidebar .brand span{font-size:11.5px}.nav-list{flex-direction:column;align-items:stretch;gap:9px;width:100%;display:flex}.nav-item,.sidebar-settings{color:#59635d;border:0;border-radius:11px;justify-content:flex-start;align-items:center;gap:13px;width:100%;height:40px;min-height:40px;padding:0 12px;font-size:14px;display:flex}.nav-item svg,.sidebar-settings svg{flex-shrink:0}.nav-item.active{color:#0e5a3b;background:#eaf3ec;font-weight:600}.nav-item:hover:not(.active),.sidebar-settings:hover{color:var(--mb-brand);background:#f2f5f3}.sidebar-settings{cursor:pointer;background:0 0;margin-top:auto}.sidebar-footer{display:none}.workspace{width:100%;min-width:0;padding:0;position:relative;overflow-x:hidden}.workspace-content{min-width:0;padding:0 32px 36px}.app-chrome{background:var(--mb-surface);border-bottom:1px solid var(--mb-border-soft);grid-template-columns:max-content minmax(260px,560px) 1fr;align-items:center;gap:16px;height:64px;padding:0 28px;display:grid}.workspace-switcher,.global-search,.chrome-actions,.user-avatar{align-items:center;display:inline-flex}.workspace-switcher{color:var(--mb-ink);cursor:pointer;background:0 0;border:0;gap:9px;padding:0}.workspace-switcher strong{font-size:15px;font-weight:600}.workspace-menu{position:relative}summary.workspace-switcher{cursor:pointer;list-style:none}summary.workspace-switcher::-webkit-details-marker{display:none}.workspace-menu .user-menu-panel{top:calc(100% + 6px);left:0;right:auto}.workspace-menu .user-menu-item .workspace-avatar{width:22px;height:22px;font-size:11px}.workspace-avatar{color:#0e5a3b;background:#e7efe9;border-radius:999px;justify-content:center;align-items:center;width:28px;height:28px;font-size:13px;font-weight:600;display:inline-flex}.global-search{background:var(--mb-bg);color:#8a938d;border:1px solid #ebeeec;border-radius:11px;gap:10px;max-width:560px;height:40px;padding:0 14px}.global-search input{color:#17211d;font:inherit;background:0 0;border:0;outline:0;width:100%;min-width:0;font-size:14px}.chrome-actions{justify-content:flex-end;gap:8px}.chrome-actions .icon-button{color:#59635d;border:1px solid #ebeeec;border-radius:10px;width:38px;height:38px}.user-avatar{background:var(--mb-brand);color:var(--mb-surface);border:0;border-radius:999px;justify-content:center;width:36px;height:36px;font-size:14px;font-weight:600}.topbar{margin:0;padding:28px 32px 18px}.topbar .topbar-subtitle{color:#6b756f;margin-top:6px;font-size:14px}.topbar h1{letter-spacing:-.4px;font-size:1.625rem;font-weight:600;line-height:1.1}.topbar-actions{display:none}.section-invoices .quick-actions{z-index:2;justify-content:flex-end;margin:0;padding:0;position:absolute;top:110px;right:32px}.section-invoices .quick-actions button{border-radius:11px;min-height:40px;padding:0 18px;font-size:14px}.section-invoices .quick-actions button:first-child{background:var(--mb-surface);color:var(--mb-text);border-color:#e0e4e1;padding:0 15px;font-weight:500}.section-invoices .quick-actions button:last-child{background:var(--mb-brand);border-color:var(--mb-brand);color:var(--mb-surface);font-weight:600}.section-invoices .invoice-layout{padding:0;display:block}.section-invoices .panel.wide{box-shadow:none;background:0 0;border:0;min-width:0;max-width:100%;padding:0}.section-invoices .panel.wide>.panel-title{display:none}.section-invoices .invoice-center{border:0;gap:22px;margin:0 0 22px;padding:0;display:grid}.invoice-section-tabs{border-bottom:1px solid #e4e8e5;align-items:center;gap:26px;margin:-6px 0 22px;display:flex}.invoice-section-tabs button{color:#8a938d;cursor:pointer;font:inherit;background:0 0;border:0;border-bottom:2px solid #0000;margin-bottom:-1px;padding:0 2px 12px;font-size:14px;font-weight:500}.invoice-section-tabs button.active{border-bottom-color:var(--mb-brand);color:var(--mb-ink);font-weight:600}.invoice-modern-summary{grid-template-columns:1fr 1fr;gap:16px;margin-bottom:0;display:grid}.invoice-modern-card{background:var(--mb-surface);border:1px solid #e8ebe9;border-radius:16px;padding:20px 22px;display:block;box-shadow:0 1px 2px #141e190a}.invoice-modern-card-heading{align-items:baseline;gap:8px;margin-bottom:16px;display:flex}.invoice-modern-card-heading strong{font-variant-numeric:tabular-nums;font-size:22px;font-weight:600;line-height:1}.invoice-modern-card-heading span{color:#6b756f;font-size:13px}.invoice-modern-bar{background:#f0f2f0;border-radius:999px;height:8px;margin-bottom:14px;display:flex;overflow:hidden}.invoice-modern-card-overdue .invoice-modern-bar span:first-child,.invoice-modern-card-overdue .invoice-modern-card-split>span:first-child i{background:#e0654f}.invoice-modern-card-overdue .invoice-modern-bar span:last-child,.invoice-modern-card-overdue .invoice-modern-card-split>span:last-child i{background:#e7a94a}.invoice-modern-card-paid .invoice-modern-bar span:first-child,.invoice-modern-card-paid .invoice-modern-card-split>span:first-child i{background:#8fd0a6}.invoice-modern-card-paid .invoice-modern-bar span:last-child,.invoice-modern-card-paid .invoice-modern-card-split>span:last-child i{background:#2e9e63}.invoice-modern-card-split{gap:26px;display:flex}.invoice-modern-card-split>span{color:#6b756f;flex-direction:column;gap:3px;font-size:12.5px;display:flex}.invoice-modern-card-legend-label{align-items:center;gap:7px;display:flex}.invoice-modern-card-legend-label i{border-radius:50%;flex:none;width:8px;height:8px;display:block}.invoice-modern-card-split strong{color:var(--mb-ink);font-variant-numeric:tabular-nums;padding-left:15px;font-size:16px;font-weight:600}.section-invoices .invoice-center-toolbar{background:var(--mb-surface);border:1px solid #e8ebe9;border-radius:16px 16px 0 0;grid-template-columns:minmax(260px,320px) 1fr max-content max-content max-content;gap:14px;margin-bottom:-22px;padding:16px 20px;display:grid}.section-invoices .invoice-center-toolbar .segmented-control{grid-area:2/1/auto/-1}.section-invoices .invoice-center-toolbar .search-field{color:#8a938d;background:#f7f8f7;border:1px solid #ebeeec;border-radius:10px;grid-area:1/1;height:38px;min-height:38px;padding:0 12px}.section-invoices .invoice-center-toolbar .search-field input{color:#17211d;font-size:13.5px}.section-invoices .invoice-center-toolbar .search-field input::placeholder{color:#8a938d}.section-invoices .invoice-center-toolbar>.secondary-button{border:1px solid #e0e4e1;border-radius:10px;grid-row:1;height:38px;min-height:38px;padding:0 12px;font-size:13.5px}.section-invoices .invoice-center-summary,.section-invoices .collections-center{display:none}.section-invoices .segmented-control{background:var(--mb-surface);border:1px solid #e0e4e1;border-radius:10px;gap:2px;padding:3px}.section-invoices .segmented-control button{color:var(--mb-muted);border:0;border-radius:8px;min-height:32px;padding:0 12px;font-size:13.5px;font-weight:500}.section-invoices .segmented-control button.active{background:var(--mb-surface-accent);box-shadow:none;color:var(--mb-brand-strong);border-color:#0000;font-weight:600}.section-invoices .segmented-control button strong{color:var(--mb-brand-strong);background:#147a521a;min-width:20px;padding:1px 6px;font-size:.72rem}.section-invoices .panel.wide>.table-wrap{background:var(--mb-surface);border:1px solid #e8ebe9;border-radius:0 0 16px 16px;width:100%;min-width:0;max-width:100%;padding:0 20px 16px;overflow-x:auto;box-shadow:0 1px 2px #141e190a}.section-invoices .invoice-table{table-layout:fixed;width:100%;min-width:700px}.section-invoices .invoice-table th{color:#98a29b;letter-spacing:.4px;text-transform:uppercase;vertical-align:middle;padding:11px 20px;font-size:11.5px;font-weight:600}.section-invoices .invoice-table th,.section-invoices .invoice-table thead tr{border-bottom:1px solid #eef1ef}.section-invoices .invoice-table td{vertical-align:middle;border-bottom:1px solid #f2f4f2;padding:13px 20px;font-size:.9rem}.section-invoices .invoice-table th:first-child,.section-invoices .invoice-table td:first-child{width:40px}.section-invoices .invoice-table th:nth-child(2),.section-invoices .invoice-table td:nth-child(2){width:108px}.section-invoices .invoice-table th:nth-child(4),.section-invoices .invoice-table td:nth-child(4){text-align:right;width:150px}.section-invoices .invoice-table th:nth-child(5),.section-invoices .invoice-table td:nth-child(5){width:168px;padding-left:38px}.invoice-select-cell input{appearance:none;border:1px solid var(--mb-faint);border-radius:3px;width:16px;height:16px;margin:0}.invoice-select-cell input:checked{background:var(--mb-brand);border-color:var(--mb-brand);box-shadow:inset 0 0 0 3px var(--mb-surface)}.invoice-table tr.selected-row td{background:var(--mb-surface-accent)}.invoice-number-cell,.invoice-amount-cell,.invoice-status-cell{gap:0}.invoice-number-cell strong,.invoice-number-cell span,.invoice-amount-cell strong,.invoice-amount-cell span,.invoice-status-cell strong,.invoice-status-cell span{display:block}.invoice-number-cell strong,.invoice-amount-cell strong{font-variant-numeric:tabular-nums;font-size:14px;font-weight:600}.invoice-number-cell strong{font-size:13.5px;font-weight:600}.invoice-number-cell span,.invoice-amount-cell span{color:#9aa39d;font-variant-numeric:tabular-nums;white-space:nowrap;font-size:12px}.invoice-status-cell span,.invoice-customer-cell small{color:var(--mb-faint);font-size:.8rem}.invoice-status-cell span{color:#9aa39d;font-size:12px}.invoice-customer-cell{align-items:center;gap:12px;display:flex}.invoice-customer-cell>span:last-child{gap:3px;min-width:0;display:grid}.invoice-customer-cell>span:last-child strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;display:block;overflow:hidden}.invoice-customer-cell small{text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;display:block;overflow:hidden}.invoice-avatar{color:#2e7d52;background:#e7efe9;border-radius:9px;flex:none;justify-content:center;align-items:center;width:32px;height:32px;font-size:12px;font-weight:600;display:inline-flex}.invoice-amount-cell{text-align:right}.invoice-status-text{color:#6b756f;white-space:nowrap;font-size:13.5px;font-weight:600;display:inline-block}.invoice-status-text:first-letter{text-transform:uppercase}.invoice-status-text.overdue{color:#c0463a}.invoice-status-text.sent,.invoice-status-text.partial{color:#a76f1e}.invoice-status-text.paid{color:#1e7a48}.invoice-avatar.tone-0{color:#2e7d52;background:#e7efe9}.invoice-avatar.tone-1{color:#3b6fb0;background:#eaf0fa}.invoice-avatar.tone-2{color:#b47a2e;background:#fbf0e6}.invoice-avatar.tone-3{color:#8a5ab0;background:#f3ebf7}.invoice-avatar.tone-4{color:#c0574d;background:#fbeaea}.invoice-avatar.tone-5{color:#2e8a80;background:#e6f3f1}.invoice-avatar.tone-6{color:#7a7f55;background:#f0f1eb}.table-pagination{color:#8a938d;justify-content:space-between;align-items:center;padding:14px 0 0;font-size:13px;display:flex}.table-pagination-buttons{gap:8px;display:flex}.table-pagination button{background:var(--mb-surface);color:var(--mb-text);cursor:pointer;border:1px solid #ebeeec;border-radius:8px;height:32px;padding:0 12px;font-size:13px}.table-pagination button:disabled{color:#b4bcb6;cursor:default}.section-invoices .invoice-table th:last-child,.section-invoices .invoice-table td:last-child{box-shadow:none;text-align:right;width:128px;min-width:128px;position:static}.section-invoices .invoice-table .row-actions{justify-content:flex-end;align-items:center;gap:7px;display:flex;position:relative}:is(.section-invoices,.section-estimates) .invoice-primary-row-action span{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}:is(.section-invoices,.section-estimates) .invoice-row-menu{position:relative}:is(.section-invoices,.section-estimates) .invoice-row-menu summary{background:var(--mb-surface);color:#8a938d;cursor:pointer;border:1px solid #e6e9e7;border-radius:9px;justify-content:center;align-items:center;width:32px;height:32px;list-style:none;display:inline-flex}:is(.section-invoices,.section-estimates) .invoice-row-menu[open] summary,:is(.section-invoices,.section-estimates) .invoice-row-menu summary:hover{background:var(--mb-surface-muted);color:var(--mb-text)}:is(.section-invoices,.section-estimates) .invoice-row-menu summary::-webkit-details-marker{display:none}:is(.section-invoices,.section-estimates) .invoice-row-menu-content{background:var(--mb-surface);border:1px solid var(--mb-border);box-shadow:var(--mb-shadow-2);z-index:40;border-radius:10px;gap:3px;min-width:236px;max-height:260px;padding:6px;display:grid;position:absolute;top:42px;right:0;overflow-y:auto}:is(.section-invoices,.section-estimates) .invoice-row-menu:not([open]) .invoice-row-menu-content{display:none}:is(.section-invoices,.section-estimates) .invoice-row-menu-content button{color:var(--mb-text);text-align:left;background:0 0;border:0;border-radius:8px;justify-content:flex-start;gap:9px;width:100%;height:34px;padding:0 10px;font-size:.84rem;display:flex}:is(.section-invoices,.section-estimates) .invoice-row-menu-content button:hover{background:var(--mb-surface-muted)}:is(.section-invoices,.section-estimates) .invoice-row-menu-content button:disabled{color:var(--mb-muted);opacity:.48}:is(.section-invoices,.section-estimates) .invoice-primary-row-action{color:var(--mb-brand);background:#eaf3ec;border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;gap:0;width:32px;min-width:32px;height:32px;padding:0;display:inline-flex}:is(.section-invoices,.section-estimates) .invoice-primary-row-action:hover:not(:disabled){color:var(--mb-brand-strong);background:#deece2;border-color:#0000}:is(.section-invoices,.section-estimates) .invoice-primary-row-action:disabled{opacity:.5}.section-estimates .estimate-row-actions{justify-content:flex-end;align-items:center;gap:7px;display:flex;position:relative}.section-estimates .panel.wide th:last-child,.section-estimates .panel.wide td:last-child{text-align:right;width:84px;min-width:84px}.section-invoices .panel:not(.wide){box-shadow:var(--mb-shadow-1,0 1px 2px #1018280a);background:#fff;border:1px solid #e8ebe9;border-radius:16px;padding:22px 24px 8px}.section-dashboard .content-grid .panel>.panel-title{margin-bottom:14px}.section-dashboard .content-grid .panel>.panel-title h2{font-size:15px;font-weight:600}.section-dashboard .content-grid .panel>.panel-title p{color:#8a938d;font-size:12.5px}.recent-invoices-panel{padding-bottom:0;overflow:hidden}.recent-invoice-list{margin:0 -18px}.recent-invoice-empty{color:var(--mb-faint);margin:0;padding:12px 20px 18px;font-size:13.5px}.recent-invoice-row{cursor:pointer;border-top:1px solid #f2f4f2;grid-template-columns:minmax(0,1fr) 120px 150px;align-items:center;padding:12px 20px;display:grid}.recent-invoice-row:hover{background:#fafbfa}.recent-invoice-customer{align-items:center;gap:12px;min-width:0;display:flex}.recent-invoice-names{min-width:0}.recent-invoice-names strong{text-overflow:ellipsis;white-space:nowrap;font-size:13.5px;font-weight:500;display:block;overflow:hidden}.recent-invoice-names span{color:#8a938d;font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap;margin-top:1px;font-size:12px;display:block;overflow:hidden}.recent-invoice-amount{font-variant-numeric:tabular-nums;text-align:right;font-size:13.5px;font-weight:600}.recent-invoice-status{justify-content:flex-end;align-items:center;gap:8px;display:flex}.recent-status-dot{background:#b4bcb6;border-radius:50%;flex-shrink:0;width:8px;height:8px}.recent-status-dot.paid{background:#2e9e63}.recent-status-dot.sent,.recent-status-dot.partial{background:#e7a94a}.recent-status-dot.overdue{background:#e0654f}.recent-status-label{color:#6b756f;white-space:nowrap;font-size:13.5px;font-weight:600}.recent-status-label.paid{color:#1e7a48}.recent-status-label.sent,.recent-status-label.partial{color:#a76f1e}.recent-status-label.overdue{color:#c0463a}.panel-title .view-all-link{color:var(--mb-brand);white-space:nowrap;font-size:13px;font-weight:500;text-decoration:none}.panel-title .view-all-link:hover{text-decoration:underline}.section-invoices .panel:not(.wide)>.panel-title{margin-bottom:6px}.section-invoices .panel:not(.wide)>.panel-title h2{font-size:15px;font-weight:600}.section-invoices .panel:not(.wide)>.panel-title p{color:#8a938d;font-size:.82rem}.section-invoices .schedule-list{margin:0 -24px}.section-invoices .schedule-table{table-layout:fixed;width:100%;min-width:900px}.section-invoices .schedule-table th{color:#98a29b;letter-spacing:.4px;text-transform:uppercase;vertical-align:middle;padding:11px 24px;font-size:11.5px;font-weight:600}.section-invoices .schedule-table th,.section-invoices .schedule-table thead tr{border-bottom:1px solid #eef1ef}.section-invoices .schedule-table td{vertical-align:middle;border-bottom:1px solid #f2f4f2;padding:14px 24px;font-size:.9rem}.section-invoices .schedule-table tbody tr:last-child td{border-bottom:0}.section-invoices .schedule-table th:first-child,.section-invoices .schedule-table td:first-child{width:24%}.section-invoices .schedule-table th:nth-child(2),.section-invoices .schedule-table td:nth-child(2){width:26%}.section-invoices .schedule-table th:nth-child(3),.section-invoices .schedule-table td:nth-child(3){width:18%}.section-invoices .schedule-table th:nth-child(4),.section-invoices .schedule-table td:nth-child(4){text-align:right;width:132px}.section-invoices .schedule-table th:nth-child(5),.section-invoices .schedule-table td:nth-child(5){width:168px}.section-invoices .schedule-table th:last-child,.section-invoices .schedule-table td:last-child{text-align:right;width:128px}.section-invoices .schedule-name-cell strong,.section-invoices .schedule-frequency-cell strong,.section-invoices .schedule-amount-cell strong,.section-invoices .schedule-status-cell strong{display:block}.section-invoices .schedule-name-cell strong,.section-invoices .schedule-name-cell span,.section-invoices .schedule-frequency-cell strong,.section-invoices .schedule-frequency-cell span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.section-invoices .schedule-name-cell strong{font-size:14px;font-weight:600}.section-invoices .schedule-name-cell span,.section-invoices .schedule-frequency-cell span,.section-invoices .schedule-amount-cell span,.section-invoices .schedule-status-cell span{color:#9aa39d;white-space:nowrap;margin-top:2px;font-size:12px;display:block}.section-invoices .schedule-frequency-cell strong{font-size:13.5px;font-weight:500}.section-invoices .schedule-amount-cell strong{font-variant-numeric:tabular-nums;font-size:14px;font-weight:600}.section-invoices .schedule-amount-cell span{font-variant-numeric:tabular-nums}.section-invoices .schedule-status-cell strong{font-size:13.5px;font-weight:600}.section-invoices .schedule-status-cell strong.active{color:#1e7a48}.section-invoices .schedule-status-cell strong.paused{color:var(--mb-warning)}.section-invoices .schedule-table .invoice-primary-row-action{background:var(--mb-surface);color:#8a938d;border:1px solid #e6e9e7;width:32px;min-width:32px;height:32px;padding:0}.section-invoices .schedule-table .invoice-primary-row-action:hover:not(:disabled){background:var(--mb-surface-muted);color:var(--mb-text)}.section-invoices .schedule-table .invoice-primary-row-action.schedule-resume-action{color:var(--mb-brand);background:#eaf3ec;border-color:#0000}.section-invoices .schedule-table .invoice-primary-row-action.schedule-resume-action:hover:not(:disabled){color:var(--mb-brand-strong);background:#deece2}.section-invoices .schedule-table .invoice-primary-row-action span{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.section-invoices .invoice-workbench,.section-invoices .panel:not(.wide){margin-top:24px}.section-invoices .invoice-workbench,.section-invoices .invoice-workbench>*,.section-invoices .credit-memos,.section-invoices .credit-memos .card,.section-invoices .credit-memos .invoice-lines{min-width:0;max-width:100%}.section-invoices .invoice-workbench,.section-invoices .credit-memos .card,.section-invoices .credit-memos .invoice-lines{overflow-x:auto}@media (width<=1040px){.app-shell{grid-template-columns:1fr}.sidebar{border-bottom:1px solid var(--mb-border);border-right:0;flex-direction:row;align-items:stretch;padding:12px 14px;overflow-x:auto}.nav-list{flex-direction:row;width:auto}.sidebar-settings{margin-top:0;margin-left:auto}}@media (width<=760px){.app-chrome{grid-template-columns:1fr max-content;height:auto;padding:12px 16px}.global-search{grid-area:2/1/auto/-1}.topbar{padding:22px 18px 16px}.section-invoices .quick-actions{justify-content:flex-start;padding:0 18px 18px;position:static}.section-invoices .invoice-layout{padding:0 18px 24px}.invoice-modern-summary,.section-invoices .invoice-center-toolbar{grid-template-columns:1fr}.section-invoices .invoice-center-toolbar .segmented-control,.section-invoices .invoice-center-toolbar .search-field,.section-invoices .invoice-center-toolbar>.secondary-button{grid-area:auto}}.invoice-detail{font-variant-numeric:tabular-nums;width:100%;max-width:1100px;margin:0 auto;display:block}.invoice-detail-header{gap:6px;margin-bottom:18px;display:grid;position:relative}.invoice-detail-header-actions{align-items:center;gap:8px;display:inline-flex;position:absolute;top:22px;right:0}.invoice-customer-view{gap:7px}.invoice-detail-back{color:#6b756f;cursor:pointer;background:0 0;border:none;align-self:start;align-items:center;gap:6px;padding:0;font-size:13.5px;font-weight:500;display:inline-flex}.invoice-detail-back:hover{color:var(--mb-ink)}.invoice-detail-title{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.invoice-detail-title h2{margin:0;font-size:1.625rem;font-weight:600;line-height:1.15}.invoice-detail-pill{background:var(--mb-surface-wash);color:var(--mb-muted);text-transform:capitalize;border-radius:999px;padding:4px 11px;font-size:.76rem;font-weight:600}.invoice-detail-pill.danger{background:var(--mb-danger-bg);color:var(--mb-danger)}.invoice-detail-subtitle{color:var(--mb-muted);margin:0;font-size:.81rem}.invoice-detail-grid{grid-template-columns:minmax(0,1fr) 336px;align-items:start;gap:18px;display:grid}.invoice-detail-main,.invoice-detail-side{gap:20px;display:grid}.invoice-detail-card{background:var(--mb-surface);border:1px solid #e8ebe9;border-radius:16px;gap:14px;padding:21px;display:grid;box-shadow:0 1px 2px #17211d0a}.invoice-detail-card h3{color:#17211d;margin:0;font-size:15px;font-weight:600}.invoice-detail-card-heading{justify-content:space-between;align-items:center;display:flex}.invoice-detail-card-heading h3{margin:0}.invoice-detail .invoice-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px}.invoice-detail .invoice-customer-field{grid-column:span 1}.invoice-detail:not(.invoice-detail-create) .invoice-form-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.invoice-detail:not(.invoice-detail-create) .invoice-form-grid>.invoice-customer-field,.invoice-detail:not(.invoice-detail-create) .invoice-form-grid>label:nth-child(2){grid-column:span 3}.invoice-detail:not(.invoice-detail-create) .invoice-form-grid>label:nth-child(3),.invoice-detail:not(.invoice-detail-create) .invoice-form-grid>label:nth-child(4),.invoice-detail:not(.invoice-detail-create) .invoice-form-grid>label:nth-child(5){grid-column:span 2}.invoice-detail:not(.invoice-detail-create) .invoice-form-grid>label:nth-child(6){grid-column:span 3}.invoice-detail-create .invoice-form-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.invoice-detail-create .invoice-form-grid>.invoice-customer-field,.invoice-detail-create .invoice-form-grid>label:nth-child(2){grid-column:span 3}.invoice-detail-create .invoice-form-grid>label:nth-child(3),.invoice-detail-create .invoice-form-grid>label:nth-child(4),.invoice-detail-create .invoice-form-grid>label:nth-child(5){grid-column:span 2}.invoice-detail-create .invoice-form-grid>label:nth-child(6){grid-column:span 3}.invoice-detail .book-form label span,.invoice-detail .invoice-line-head span{color:#98a29b;letter-spacing:.02em;font-size:.7rem;font-weight:600}.invoice-detail .invoice-form-grid input,.invoice-detail .invoice-form-grid select,.invoice-detail .composer-terms-tax select{border-color:#dce1de;border-radius:10px;height:40px;padding:0 12px;font-size:14px}.invoice-detail .invoice-line-editor{gap:0}.invoice-detail .invoice-line-table{border:none;overflow-x:auto}.invoice-detail .invoice-line-head,.invoice-detail .invoice-line-row{grid-template-columns:104px minmax(120px,.55fr) minmax(150px,1fr) minmax(120px,.5fr) 60px 92px 36px 96px 34px;min-width:920px}.invoice-detail .invoice-line-head{color:var(--mb-muted);background:0 0;border-bottom:1px solid #e8ebe9;padding:6px 4px;font-size:.68rem}.invoice-detail .invoice-line-row{border-top:1px solid #f0f3f1;padding:10px 4px}.invoice-detail .invoice-line-row+.invoice-line-row{border-top:1px solid #f0f3f1}.invoice-detail .invoice-line-row strong{font-weight:600}.invoice-detail .invoice-line-row input:not([type=checkbox]),.invoice-detail .invoice-line-row select{border-color:#e6e9e7;border-radius:9px;height:36px;min-height:36px;padding:0 10px;font-size:13px}.invoice-detail textarea{border-color:#dce1de;border-radius:10px;padding:10px 12px;font-size:14px}.invoice-detail-summary{justify-items:end;gap:6px;margin-top:4px;display:grid}.invoice-detail-summary>div{grid-template-columns:auto minmax(90px,auto);place-items:baseline end;gap:40px;min-width:240px;display:grid}.invoice-detail-summary span{color:#6b756f;font-size:13.5px}.invoice-detail-summary strong{color:#17211d;font-size:13.5px;font-weight:600}.invoice-detail-summary-total{border-top:1px solid #e8ebe9;padding-top:8px}.invoice-detail-summary-total span,.invoice-detail-summary-total strong{color:#17211d;font-size:15px;font-weight:600}.invoice-detail-summary-total strong{font-weight:700}.invoice-detail-notes{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.invoice-detail-notes label{margin:0}.invoice-detail .invoice-detail-notes label span,.invoice-detail-create .invoice-form-grid label span,.invoice-detail-create .composer-terms-tax label span{color:#6b756f}.invoice-balance-label{color:#6b756f;font-size:13px;font-weight:500}.invoice-balance-amount{font-size:1.75rem;font-weight:600;line-height:1}.invoice-balance-amount.danger{color:var(--mb-danger)}.invoice-balance-rows{gap:8px;margin:0;display:grid}.invoice-balance-rows>div{justify-content:space-between;align-items:baseline;display:flex}.invoice-balance-rows dt{color:#6b756f;font-size:13.5px;font-weight:400}.invoice-balance-rows dd{color:#17211d;margin:0;font-size:13.5px;font-weight:600}.invoice-balance-rows dd.danger{color:var(--mb-danger)}.invoice-stripe-strip{background:var(--mb-surface-muted);border:1px solid #e8ebe9;border-radius:12px;align-items:center;gap:10px;padding:11px 12px;display:flex}.invoice-stripe-strip-icon{color:var(--mb-brand);align-items:center;display:inline-flex}.invoice-stripe-strip-body{flex:1;gap:2px;min-width:0;display:grid}.invoice-stripe-strip-body strong{font-size:.85rem;font-weight:600}.invoice-stripe-strip-body span{color:var(--mb-muted);text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;overflow:hidden}.invoice-stripe-strip-open{color:#2368a2;white-space:nowrap;font-size:.82rem;font-weight:600;text-decoration:none}.invoice-stripe-strip-open:hover{text-decoration:underline}.invoice-detail-actions{gap:8px;display:grid}.invoice-detail-actions .primary-button{background:var(--mb-brand);border:0}.invoice-detail-actions .primary-button:hover{background:var(--mb-brand-strong)}.invoice-detail-actions .primary-button.full,.invoice-detail-actions .secondary-button.full,.invoice-detail-actions .invoice-action-soft.full{border-radius:11px;height:42px;min-height:42px;font-size:14px}.invoice-detail-actions .secondary-button.full{font-weight:500}.invoice-detail-actions .invoice-action-soft.full{color:#147a52;border:1px solid #cfe3d6}.invoice-detail-actions .invoice-action-ghost.full{border-radius:11px;height:36px;min-height:36px;font-size:13.5px}.invoice-action-soft,.invoice-action-ghost{cursor:pointer;font:inherit;border-radius:8px;justify-content:center;align-items:center;gap:7px;min-height:40px;padding:0 14px;font-weight:600;display:inline-flex}.invoice-action-soft{background:var(--mb-brand-soft);color:var(--mb-brand-strong);border:1px solid #0000}.invoice-action-soft:hover{background:#d1e9d9}.invoice-action-ghost{color:var(--mb-brand);background:0 0;border:1px solid #0000}.invoice-action-ghost:hover{background:var(--mb-surface-accent)}.invoice-detail-footnote{color:var(--mb-muted);margin:0;font-size:.74rem;line-height:1.4}.invoice-timeline{gap:16px;margin:0;padding:0;list-style:none;display:grid}.invoice-timeline-item{grid-template-columns:10px minmax(0,1fr);gap:10px;display:grid;position:relative}.invoice-timeline-item:before{content:"";background:#e8ebe9;width:1px;position:absolute;top:14px;bottom:-16px;left:4px}.invoice-timeline-item:last-child:before{display:none}.invoice-timeline-dot{z-index:1;background:#b4bcb6;border-radius:999px;width:9px;height:9px;margin-top:4px}.invoice-timeline-dot.danger{background:#c0463a}.invoice-timeline-dot.warn{background:#e7a94a}.invoice-timeline-dot.info{background:#3b6fb0}.invoice-timeline-dot.success{background:#2e9e63}.invoice-timeline-dot.muted{background:#b4bcb6}.invoice-timeline-item>div{gap:2px;display:grid}.invoice-timeline-item strong{font-size:.86rem;font-weight:600}.invoice-timeline-item span{color:var(--mb-muted);font-size:.78rem}@media (width<=900px){.invoice-detail-grid,.invoice-detail .invoice-form-grid,.invoice-detail-notes{grid-template-columns:minmax(0,1fr)}}.public-invoice{background:var(--mb-bg);font-variant-numeric:tabular-nums;flex-direction:column;align-items:center;gap:18px;padding:26px 20px 48px}.public-invoice-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;width:100%;max-width:700px;display:flex}.public-invoice-bar-lead{align-items:center;gap:12px;display:flex}.public-invoice-back{color:var(--mb-muted);cursor:pointer;background:0 0;border:0;align-items:center;gap:5px;padding:0;font-size:.85rem;font-weight:600;display:inline-flex}.public-invoice-sep{color:var(--mb-faint);font-size:.83rem}.public-invoice-context{color:var(--mb-muted);font-size:.83rem}.public-invoice-bar-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.public-invoice-bar-actions .secondary-button,.public-invoice-bar-actions .primary-button{min-height:38px;text-decoration:none}.public-invoice-alert{width:100%;max-width:700px}.public-invoice-sheet{background:var(--mb-surface);border:1px solid var(--mb-border-soft);border-radius:20px;gap:26px;width:100%;max-width:700px;padding:40px;display:grid;box-shadow:0 18px 40px #141e1914}.public-invoice-head{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.public-invoice-brand{align-items:center;gap:14px;display:flex}.public-invoice-logo{background:var(--mb-brand);color:#fff;text-transform:lowercase;border-radius:12px;justify-content:center;align-items:center;width:44px;height:44px;font-size:1.05rem;font-weight:600;display:inline-flex}.public-invoice-brand-text{gap:3px;display:grid}.public-invoice-brand-text strong{font-size:1.05rem;font-weight:700}.public-invoice-brand-text span{color:var(--mb-muted);font-size:.82rem}.public-invoice-idblock{text-align:right;justify-items:end;gap:6px;display:grid}.public-invoice-eyebrow{color:var(--mb-faint);letter-spacing:.08em;text-transform:uppercase;font-size:.68rem;font-weight:600}.public-invoice-number{font-size:1.25rem;font-weight:700}.public-invoice-due-pill{background:var(--mb-warning-bg);color:var(--mb-warning);border-radius:999px;padding:4px 12px;font-size:.75rem;font-weight:600}.public-invoice-meta{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0;display:grid}.public-invoice-meta dt{color:var(--mb-faint);letter-spacing:.06em;text-transform:uppercase;margin-bottom:6px;font-size:.68rem;font-weight:600}.public-invoice-meta dd{margin:0;font-size:.88rem}.public-invoice-meta-strong{font-weight:600}.public-invoice-meta-muted{color:var(--mb-muted);margin-top:2px!important;font-size:.8rem!important}.public-invoice-table{border-collapse:collapse;width:100%}.public-invoice-table th{border-bottom:1px solid var(--mb-border-soft);color:var(--mb-faint);letter-spacing:.06em;text-align:left;text-transform:uppercase;padding:0 0 10px;font-size:.68rem;font-weight:600}.public-invoice-table th.num,.public-invoice-table td.num{text-align:right}.public-invoice-table td{border-bottom:1px solid var(--mb-border-soft);vertical-align:top;padding:16px 0;font-size:.9rem}.public-invoice-table tbody tr:last-child td{border-bottom:none}.public-invoice-table td strong{font-weight:600;display:block}.public-invoice-line-detail{color:var(--mb-muted);margin-top:3px;font-size:.8rem;display:block}.public-invoice-empty{color:var(--mb-muted);text-align:center!important}.public-invoice-totals{border-top:1px solid var(--mb-border-soft);justify-items:end;gap:10px;padding-top:18px;display:grid}.public-invoice-totals>div{grid-template-columns:auto minmax(96px,auto);justify-items:end;gap:48px;min-width:260px;display:grid}.public-invoice-totals span{color:var(--mb-muted);font-size:.88rem}.public-invoice-totals strong{font-weight:500}.public-invoice-total-due{margin-top:4px}.public-invoice-total-due span{color:var(--mb-ink);font-size:1rem;font-weight:700}.public-invoice-total-due strong{font-size:1.3rem;font-weight:700}.public-invoice-note{background:var(--mb-surface-muted);border:1px solid var(--mb-border-soft);border-radius:14px;gap:6px;padding:16px 18px;display:grid}.public-invoice-note span{color:var(--mb-faint);letter-spacing:.06em;text-transform:uppercase;font-size:.68rem;font-weight:600}.public-invoice-note p{margin:0;font-size:.88rem}.public-invoice .public-pay-button{border-radius:12px;width:100%;min-height:54px;margin:0;font-size:1rem;font-weight:600}.public-invoice-secure{color:var(--mb-muted);text-align:center;margin:-12px 0 0;font-size:.8rem}.public-invoice-footer{color:var(--mb-faint);text-align:center;width:100%;max-width:700px;margin:0;font-size:.8rem}@media (width<=640px){.public-invoice-sheet{padding:26px 20px}.public-invoice-meta{grid-template-columns:repeat(2,minmax(0,1fr))}}.catalog-card{background:var(--mb-surface);border:1px solid var(--mb-border-soft);box-shadow:var(--mb-shadow-1);font-variant-numeric:tabular-nums;border-radius:16px;gap:0;display:grid;overflow:hidden}.catalog-card-head{justify-content:space-between;align-items:flex-start;gap:16px;padding:20px 22px;display:flex}.catalog-card-title{gap:3px;display:grid}.catalog-card-head .compact-button{color:#147a52;border-color:#cfe3d6;border-radius:10px;min-height:38px;font-size:13.5px;font-weight:600}.catalog-card-title strong{font-size:15px;font-weight:600}.catalog-card-title span{color:#8a938d;font-size:.82rem}.catalog-form{border-top:1px solid var(--mb-border-soft);grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px 22px;display:grid}.catalog-form label{gap:6px;margin:0;display:grid}.catalog-form label span{color:var(--mb-muted);font-size:.72rem;font-weight:600}.catalog-form-actions{grid-column:1/-1;align-items:center;gap:10px;display:flex}.catalog-table-wrap{overflow-x:auto}.catalog-table{border-collapse:collapse;width:100%}.catalog-table th{background:var(--mb-surface);border-top:1px solid var(--mb-border-soft);border-bottom:1px solid var(--mb-border-soft);color:#98a29b;letter-spacing:.03em;text-align:left;text-transform:uppercase;padding:11px 20px;font-size:.72rem;font-weight:600}.catalog-table th.num,.catalog-table td.num{text-align:right}.catalog-table th.action,.catalog-table td.action{text-align:right;width:96px}.catalog-table td{border-bottom:1px solid var(--mb-border-soft);vertical-align:middle;padding:14px 20px;font-size:14px}.catalog-table tbody tr:last-child td{border-bottom:none}.catalog-table tbody tr:hover td{background:#fafbfa}.catalog-table td strong{font-weight:600}.catalog-item-detail{color:#8a938d;margin-top:2px;font-size:12.5px;display:block}.catalog-account{color:#3b463f;font-size:13.5px}.catalog-rate-unit{color:#9aa39d;margin-top:2px;font-size:12px;display:block}.catalog-row-inactive td{opacity:.62}.catalog-empty{color:var(--mb-muted);text-align:center!important;padding:28px 20px!important}.catalog-row-actions{justify-content:flex-end;gap:6px;display:inline-flex}.catalog-row-actions button{background:var(--mb-surface);border:1px solid var(--mb-border);color:var(--mb-muted);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;display:inline-flex}.catalog-row-actions button:hover:not(:disabled){background:var(--mb-surface-muted);color:var(--mb-ink)}.catalog-row-actions button:disabled{cursor:not-allowed;opacity:.45}@media (width<=640px){.catalog-form{grid-template-columns:minmax(0,1fr)}}.invoice-detail-create .terms-row{margin-top:2px}.invoice-delivery-block{border-top:1px solid var(--mb-border-soft);gap:8px;padding-top:16px;display:grid}.invoice-delivery-label{color:#6b756f;font-size:12px;font-weight:600}.invoice-delivery-mode{background:var(--mb-surface);border:1px solid #dce1de;border-radius:10px;align-items:center;min-height:40px;padding:0 13px;font-size:14px;font-weight:400;display:flex}.invoice-delivery-hint{color:#9aa39d;margin:0;font-size:12px;line-height:1.5}.invoice-detail-create .invoice-detail-actions .invoice-action-ghost{color:var(--mb-brand);height:34px;min-height:34px;font-weight:600}.invoice-recurring-card{background:var(--mb-surface);border:1px solid var(--mb-border-soft);box-shadow:none;cursor:pointer;text-align:left;border-radius:14px;align-items:center;gap:12px;width:100%;padding:14px 16px;display:flex}.invoice-recurring-card:hover{background:var(--mb-surface-muted)}.invoice-recurring-icon{background:var(--mb-brand-soft);color:var(--mb-brand-strong);border-radius:10px;justify-content:center;align-items:center;width:38px;height:38px;display:inline-flex}.invoice-recurring-text{flex:1;gap:2px;display:grid}.invoice-recurring-text strong{font-size:13.5px;font-weight:600}.invoice-recurring-text span{color:#8a938d;font-size:12px}.invoice-recurring-chevron{color:var(--mb-faint)}.recurring-detail{max-width:1120px}.recurring-detail-header{margin-bottom:18px}.recurring-detail-header .invoice-detail-title{justify-content:space-between;align-items:center;gap:12px;display:flex}.recurring-detail-grid{grid-template-columns:minmax(0,1fr) 336px;align-items:start;gap:18px;display:grid}.recurring-detail-main.book-form{box-shadow:none;background:0 0;border:0;border-radius:0;flex-direction:column;gap:16px;margin:0;padding:0;display:flex}.recurring-fieldset{background:var(--mb-surface);border:1px solid var(--mb-border);border-radius:16px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;padding:20px 22px;display:grid;box-shadow:0 1px 2px #141e190a}.recurring-fieldset>h3{grid-column:1/-1;margin:0 0 2px;font-size:15px;font-weight:600}.recurring-fieldset>.span-two{grid-column:1/-1}.recurring-fieldset-lines{display:block}.recurring-detail-side{flex-direction:column;gap:16px;display:flex;position:sticky;top:84px}.recurring-perrun-card{flex-direction:column;gap:12px;display:flex}.recurring-perrun-card .invoice-balance-amount{color:var(--mb-ink)}.recurring-perrun-card .primary-button{margin-top:4px}.recurring-stripe-banner{background:#eef5ff;border:1px solid #c8ddf3;border-radius:14px;flex-direction:column;gap:14px;padding:16px 18px;display:flex}.recurring-stripe-banner-head{align-items:flex-start;gap:12px;display:flex}.recurring-stripe-banner-icon{color:#2368a2;background:#fff;border:1px solid #d6e7f7;border-radius:10px;justify-content:center;align-items:center;width:34px;height:34px;display:inline-flex}.recurring-stripe-banner-copy{flex-direction:column;flex:1;gap:2px;display:flex}.recurring-stripe-banner-copy strong{color:#17211d;font-size:14px;font-weight:600}.recurring-stripe-banner-copy span{color:#59635d;font-size:12.5px;line-height:1.45}.recurring-stripe-banner-link{color:#2368a2;white-space:nowrap;align-items:center;gap:5px;font-size:13px;font-weight:600;display:inline-flex}.recurring-stripe-banner-grid{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px;display:grid}.recurring-stripe-banner-grid>div{background:#fff;border:1px solid #d6e7f7;border-radius:10px;flex-direction:column;gap:4px;padding:9px 11px;display:flex}.recurring-stripe-banner-grid strong{color:#17211d;word-break:break-word;font-size:13px;font-weight:600}.recurring-preview-disclosure{border-top:1px solid var(--mb-border);margin-top:4px;padding-top:12px}.recurring-preview-disclosure>summary{color:#6b756f;cursor:pointer;font-size:13.5px;font-weight:600;list-style:none}.recurring-preview-disclosure>summary::-webkit-details-marker{display:none}.recurring-preview-disclosure>summary:before{content:"▸ ";color:#9aa39d}.recurring-preview-disclosure[open]>summary:before{content:"▾ "}.recurring-preview-disclosure[open]>summary{margin-bottom:14px}.recurring-preview-disclosure:not([open])>.recurring-form-preview,.recurring-preview-disclosure:not([open])>.stripe-recurring-preview{display:none}.recurring-run-once{color:#147a52;cursor:pointer;text-align:center;background:0 0;border:0;width:100%;margin-top:8px;padding:4px 0;font-size:13.5px;font-weight:600}.recurring-run-once:disabled{color:#9aa39d;cursor:default}.recurring-collection-card h3{margin:0 0 8px;font-size:.95rem;font-weight:600}.recurring-collection-pause,.recurring-collection-resume{cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:7px;width:100%;min-height:38px;margin-top:10px;font-size:13.5px;font-weight:600;display:flex}.recurring-collection-pause{color:#a76f1e;background:#fdf6e9;border:1px solid #f0e0bd}.recurring-collection-resume{color:#147a52;background:#eaf3ec;border:1px solid #cfe3d6}.recurring-collection-cancel{color:#c0463a;cursor:pointer;text-align:center;background:0 0;border:0;width:100%;margin-top:10px;padding:4px 0;font-size:13px;font-weight:600}@media (width<=900px){.recurring-detail-grid{grid-template-columns:1fr}.recurring-detail-side{position:static}}.section-invoices .invoice-layout:not([data-invoice-tab=credits])~.credit-memos{display:none}.section-invoices .quick-actions .batch-actions-menu{position:relative}.section-invoices .quick-actions .batch-actions-menu summary{background:var(--mb-surface);color:var(--mb-text);cursor:pointer;white-space:nowrap;border:1px solid #e0e4e1;border-radius:11px;align-items:center;gap:8px;width:auto;height:40px;padding:0 15px;font-size:14px;font-weight:500;list-style:none;display:inline-flex}.section-invoices .quick-actions .batch-actions-menu summary::-webkit-details-marker{display:none}.section-invoices .quick-actions .batch-actions-menu summary:after{content:"";border-bottom:1.6px solid;border-right:1.6px solid;width:6px;height:6px;margin-top:-3px;transform:rotate(45deg)}.section-invoices .quick-actions .batch-actions-menu[open]>.invoice-row-menu-content{background:var(--mb-surface);z-index:30;border:1px solid #e8ebe9;border-radius:12px;flex-direction:column;gap:2px;min-width:210px;padding:6px;display:flex;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 10px 28px #141e191f}.section-invoices .quick-actions .batch-actions-menu .invoice-row-menu-content button{color:var(--mb-text);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:10px;width:100%;min-height:36px;padding:0 10px;font-size:13.5px;display:flex}.section-invoices .quick-actions .batch-actions-menu .invoice-row-menu-content button:hover:not(:disabled){background:var(--mb-surface-accent)}.section-invoices .quick-actions .batch-actions-menu .invoice-row-menu-content button:disabled{color:#b4bcb6;cursor:default}.section-invoices .invoice-center-toolbar{justify-content:space-between;align-items:center;display:flex}.invoice-status-select{appearance:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%236b756f' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center var(--mb-surface);color:var(--mb-text);cursor:pointer;border:1px solid #e0e4e1;border-radius:10px;height:38px;padding:0 34px 0 12px;font-family:inherit;font-size:13.5px}.section-invoices .recurring-billing-center>.metric{display:none}.section-invoices .credit-memos{gap:16px;padding:0;display:grid}.section-invoices .credit-memos .card{background:var(--mb-surface);border:1px solid #e8ebe9;border-radius:16px;padding:20px 22px;box-shadow:0 1px 2px #141e190a}.section-invoices .credit-memos .card-header{justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:16px;display:flex}.section-invoices .credit-memos .card-header h2{margin:0;font-size:16px;font-weight:600}.section-invoices .credit-memos form{grid-template-columns:1fr 1fr;gap:14px;display:grid}.section-invoices .credit-memos form>.invoice-lines,.section-invoices .credit-memos form>.totals-summary,.section-invoices .credit-memos form>.form-actions{grid-column:1/-1}.section-invoices .credit-memos label{flex-direction:column;gap:6px;display:flex}.section-invoices .credit-memos label>span{color:#6b756f;letter-spacing:.4px;text-transform:uppercase;font-size:11.5px;font-weight:600}.section-invoices .credit-memos input,.section-invoices .credit-memos select,.section-invoices .credit-memos textarea{background:var(--mb-surface);color:var(--mb-text);border:1px solid #e0e4e1;border-radius:10px;min-height:40px;padding:0 12px;font-family:inherit;font-size:14px}.section-invoices .credit-memos textarea{resize:vertical;min-height:72px;padding:10px 12px}.section-invoices .credit-memos .invoice-line-row{grid-template-columns:minmax(0,1fr) minmax(150px,210px) 76px 118px max-content 100px max-content;align-items:center;gap:10px;margin-bottom:8px;display:grid}.section-invoices .credit-memos .invoice-line-row select,.section-invoices .credit-memos .invoice-line-row input{width:100%;min-width:0}.section-invoices .credit-memos .invoice-line-row strong{font-variant-numeric:tabular-nums;text-align:right}.section-invoices .credit-memos .inline-checkbox{flex-direction:row;justify-content:center;align-items:center}.section-invoices .credit-memos .inline-checkbox input{accent-color:var(--mb-brand);width:16px;height:16px;min-height:16px}.section-invoices .credit-memos .link-button{color:var(--mb-brand);cursor:pointer;background:0 0;border:0;justify-self:start;padding:0;font-size:13.5px;font-weight:600}.section-invoices .credit-memos .totals-summary{justify-items:end;gap:6px;width:100%;max-width:280px;margin-left:auto;display:grid}.section-invoices .credit-memos .totals-summary>div{justify-content:space-between;gap:24px;width:100%;display:flex}.section-invoices .credit-memos .totals-summary span{color:#6b756f;font-size:13px}.section-invoices .credit-memos .totals-summary strong{font-variant-numeric:tabular-nums}.section-invoices .credit-memos .totals-summary .grand strong{font-size:15px}.section-invoices .credit-memos .form-actions{justify-content:flex-end;display:flex}.section-invoices .credit-memos .form-actions .primary{border-radius:11px;width:auto;height:40px;padding:0 18px;font-size:14px;font-weight:600}.section-invoices .credit-memos th{color:#6b756f;letter-spacing:.4px;text-align:left;text-transform:uppercase;padding:11px 12px;font-size:11.5px;font-weight:600}.section-invoices .credit-memos td{border-top:1px solid #f2f4f2;padding:13px 12px;font-size:13.5px}.section-invoices .credit-memos .row-actions button{background:var(--mb-surface);color:var(--mb-text);cursor:pointer;border:1px solid #ebeeec;border-radius:8px;height:30px;margin-right:6px;padding:0 12px;font-size:13px}.section-invoices .credit-memos .apply-credit-dialog{max-width:480px}.section-invoices .credit-memos .apply-credit-dialog label{margin-bottom:12px}.section-invoices .credit-memos .apply-credit-dialog .form-actions{justify-content:flex-start;gap:8px}.section-invoices .credit-memos .apply-credit-dialog .form-actions button:not(.primary){background:var(--mb-surface);border:1px solid #e0e4e1;border-radius:11px;height:40px;padding:0 15px}.invoice-toolbar-selects{gap:10px;display:flex}.section-invoices .invoice-layout[data-invoice-tab=detail]>.quick-actions,.section-invoices .invoice-layout[data-invoice-tab=detail] .panel>.panel-title,.section-invoices .invoice-layout[data-invoice-tab=detail] .invoice-section-tabs{display:none}.workspace:has(.invoice-layout[data-invoice-tab=detail])>.topbar{display:none}.invoice-detail .invoice-line-table{border:0;border-radius:0;overflow-x:visible}.invoice-detail .invoice-line-head,.invoice-detail .invoice-line-row{grid-template-columns:92px minmax(0,.9fr) minmax(0,1.15fr) minmax(0,.85fr) 46px 78px 34px minmax(70px,max-content) 30px;gap:8px;min-width:0;padding:10px 4px}.invoice-detail .invoice-line-head{color:#98a29b;letter-spacing:.4px;background:0 0;border-bottom:1px solid #eef1ef;font-size:11.5px;font-weight:600}.invoice-detail .invoice-line-row input:not([type=checkbox]),.invoice-detail .invoice-line-row select{width:100%;min-width:0}.recurring-detail-main.book-form{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.recurring-detail-main.book-form>.recurring-stripe-banner{grid-column:1/-1}.recurring-detail-main.book-form>label,.recurring-detail-main.book-form>*{min-width:0}.recurring-detail-main.book-form input,.recurring-detail-main.book-form select,.recurring-detail-main.book-form textarea{width:100%;min-width:0}.book-form[data-testid=recurring-invoice-form]>label>span,.book-form[data-testid=recurring-invoice-form] .book-form label>span{color:#6b756f}.book-form[data-testid=recurring-invoice-form]>label input:not([type=checkbox]),.book-form[data-testid=recurring-invoice-form]>label select{border-color:#dce1de;border-radius:10px;height:40px;min-height:40px;font-size:14px}.book-form[data-testid=recurring-invoice-form]>label textarea{border-color:#dce1de;border-radius:10px;padding:10px 12px;font-size:14px}.book-form[data-testid=recurring-invoice-form] .recurring-line-editor input:not([type=checkbox]),.book-form[data-testid=recurring-invoice-form] .recurring-line-editor select{border-color:#e6e9e7;border-radius:9px;height:36px;min-height:36px;font-size:13px}.book-form[data-testid=recurring-invoice-form] .form-actions .primary-button.full,.book-form[data-testid=recurring-invoice-form] .form-actions .secondary-button.full{border-radius:11px;height:42px;min-height:42px;font-size:14px}.book-form[data-testid=recurring-invoice-form] .form-actions .secondary-button.full{font-weight:500}.recurring-detail-main .recurring-line-editor .line-editor-row{grid-template-columns:96px minmax(0,.9fr) minmax(0,1.15fr) 46px 78px 34px 30px;min-width:0}.recurring-detail-main .recurring-line-editor input,.recurring-detail-main .recurring-line-editor select{width:100%;min-width:0}.section-invoices .recurring-billing-center{display:none}.recurring-panel-title .recurring-panel-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.recurring-panel-actions>button:last-child{color:#147a52;border-color:#cfe3d6;border-radius:10px;min-height:38px;font-size:13.5px;font-weight:600}.public-invoice-actions{display:none}.section-invoices .invoice-table tbody tr,.section-invoices .schedule-table tbody tr,.section-invoices .catalog-table tbody tr{transition:background .12s}.section-invoices .invoice-table tbody tr:hover,.section-invoices .schedule-table tbody tr:hover,.section-invoices .catalog-table tbody tr:hover{background:#fafbfa}.invoice-row-clickable{cursor:pointer}.invoice-row-clickable:focus-visible{outline-offset:-2px;outline:2px solid #147a52}:is(.section-invoices,.section-estimates) .invoice-primary-row-action{transition:background .12s}:is(.section-invoices,.section-estimates) .invoice-primary-row-action:hover:not(:disabled){background:#dcede1}:is(.section-invoices,.section-estimates) .invoice-row-menu summary{transition:background .12s}:is(.section-invoices,.section-estimates) .invoice-row-menu summary:hover{background:#f2f5f3}.invoice-detail .invoice-detail-notes textarea{min-height:88px}.section-banking-review{flex-direction:column;gap:18px;padding:0;display:flex}.bank-connection-note{color:#6b756f;margin:-6px 0 0;font-size:.9rem}.bank-account-strip{grid-template-columns:repeat(auto-fit,minmax(196px,1fr));gap:14px;padding-bottom:4px;display:grid}.bank-account-card{cursor:pointer;text-align:left;background:#fff;border:1px solid #e8ebe9;border-radius:14px;flex-direction:column;gap:10px;padding:16px 18px;transition:border-color .15s,box-shadow .15s;display:flex}.bank-account-card:hover{border-color:#cfe3d6}.bank-account-card.active{border-color:#147a52;box-shadow:0 0 0 1px #147a52}.bank-account-card-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.bank-account-card-head strong{color:#17211d;font-size:14px;font-weight:600}.bank-account-pill{border-radius:999px;padding:3px 9px;font-size:11px;font-weight:600}.bank-account-pill.business{color:#147a52;background:#eaf3ec}.bank-account-pill.personal{color:#6b756f;background:#f0f2f1}.bank-account-balance{color:#17211d;letter-spacing:-.01em;font-size:24px;font-weight:600}.bank-account-foot{color:#8a938d;justify-content:space-between;align-items:center;gap:8px;font-size:12.5px;display:flex}.bank-account-review{color:#a76f1e;font-weight:600}.bank-review-panel{padding:0}.bank-review-tabs{border-bottom:1px solid #ebeeec;gap:4px;padding:6px 12px 0;display:flex}.bank-review-tabs button{color:#8a938d;cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;padding:12px 10px;font-size:14px;font-weight:500}.bank-review-tabs button.active{color:#17211d;border-bottom-color:#147a52;font-weight:600}.bank-review-toolbar{gap:10px;padding:14px 16px;display:flex}.bank-review-search{color:#8a938d;background:#f7f8f7;border:1px solid #ebeeec;border-radius:10px;flex:1;align-items:center;gap:8px;padding:0 12px;display:flex}.bank-review-search input{background:0 0;border:none;outline:none;flex:1;padding:10px 0;font-size:13.5px}.bank-review-toolbar select{color:#17211d;background:#fff;border:1px solid #ebeeec;border-radius:10px;padding:0 12px;font-size:13.5px}.bank-txn-table-wrap{overflow-x:auto}.bank-txn-table{border-collapse:collapse;width:100%}.bank-txn-table thead th{color:#98a29b;letter-spacing:.4px;text-align:left;text-transform:uppercase;padding:8px 16px;font-size:11.5px;font-weight:600}.bank-txn-table thead th.numeric{text-align:right}.bank-txn-row{cursor:pointer;border-top:1px solid #f0f2f1}.bank-txn-row:hover{background:#f9faf9}.bank-txn-row.active{background:#eaf3ec}.bank-txn-table td{vertical-align:middle;padding:12px 16px}.bank-txn-table td.numeric{text-align:right}.bank-txn-cell{align-items:center;gap:12px;display:flex}.bank-txn-avatar{color:#fff;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;font-size:12px;font-weight:600;display:inline-flex}.bank-txn-avatar.tone-0{background:#2e7d52}.bank-txn-avatar.tone-1{background:#3a6ea5}.bank-txn-avatar.tone-2{background:#b07a2c}.bank-txn-avatar.tone-3{background:#964a9c}.bank-txn-avatar.tone-4{background:#b44a42}.bank-txn-avatar.tone-5{background:#46746e}.bank-txn-name strong{color:#17211d;font-size:14px;font-weight:600;display:block}.bank-txn-name span{color:#8a938d;font-size:12.5px}.bank-txn-account strong{color:#17211d;font-size:13.5px;font-weight:500;display:block}.bank-txn-account span{color:#8a938d;font-size:12.5px}.bank-txn-category strong{font-size:13.5px;font-weight:600;display:block}.bank-txn-category span{color:#8a938d;font-size:12.5px}.bank-txn-category.tone-matched strong{color:#147a52}.bank-txn-category.tone-personal strong{color:#a76f1e}.bank-txn-category.tone-suggested strong{color:#6b756f}.bank-amt-positive{color:#1e7a48;font-weight:600}.bank-txn-actions{text-align:right;white-space:nowrap}.bank-txn-table th.numeric,.bank-txn-table td.numeric{white-space:nowrap;min-width:92px}.bank-txn-account,.bank-txn-category{min-width:96px}@media (width>=1240px) and (width<=1500px){.app-shell.assist-open .bank-txn-table th:nth-child(3),.app-shell.assist-open .bank-txn-table td:nth-child(3){display:none}}.bank-txn-name{min-width:0;max-width:clamp(150px,21vw,420px)}.bank-txn-name strong,.bank-txn-name span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.bank-txn-empty{color:#8a938d;text-align:center;padding:28px 16px}.bank-tools{padding:16px 18px}.bank-tools>summary{color:#6b756f;cursor:pointer;font-size:13.5px;font-weight:600}.bank-drawer-overlay{z-index:40;background:#17211d47;animation:.2s both mb-overlay-in;position:fixed;inset:0}.bank-drawer{background:#fff;flex-direction:column;gap:16px;width:440px;max-width:92vw;padding:22px 24px;animation:.28s cubic-bezier(.32,.72,0,1) both mb-drawer-in;display:flex;position:fixed;top:0;bottom:0;right:0;overflow-y:auto;box-shadow:-18px 0 48px #17211d29}.bank-drawer-head{align-items:center;gap:12px;display:flex}.bank-drawer-title{flex:1;min-width:0}.bank-drawer-title strong{color:#17211d;font-size:15px;font-weight:600;display:block}.bank-drawer-title span{color:#8a938d;font-size:12.5px}.bank-drawer-amount{color:#17211d;font-size:18px;font-weight:600}.bank-drawer-amount.positive{color:#1e7a48}.bank-drawer-field{flex-direction:column;gap:6px;display:flex}.bank-drawer-field>span,.bank-field-label{color:#6b756f;font-size:12px;font-weight:600}.bank-field-label{letter-spacing:.4px;text-transform:uppercase}.bank-drawer-field input,.bank-drawer-field select{border:1px solid #dce1de;border-radius:10px;min-height:40px;padding:0 12px;font-size:14px}.bank-drawer-field select{appearance:none;cursor:pointer;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b756f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;padding-right:32px}.bank-drawer-name-row{gap:8px;display:flex}.bank-drawer-name-row input{flex:1}.bank-cleanup-button{color:#7c4ea8;cursor:pointer;white-space:nowrap;background:#f4f0fa;border:1px solid #e4dbf2;border-radius:10px;align-items:center;gap:6px;padding:0 12px;font-size:13px;font-weight:600;display:inline-flex}.bank-descriptor-block{flex-direction:column;gap:6px;display:flex}.bank-descriptor-block code{color:#59635d;word-break:break-word;background:#f7f8f7;border:1px solid #ebeeec;border-radius:10px;padding:12px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;line-height:1.5}.bank-match-card{background:#eaf3ec;border:1px solid #cfe3d6;border-radius:12px;align-items:center;gap:12px;padding:12px 14px;display:flex}.bank-match-check{color:#fff;background:#147a52;border-radius:999px;justify-content:center;align-items:center;width:26px;height:26px;display:inline-flex}.bank-match-card>div{flex:1}.bank-match-card strong{color:#17211d;font-size:13.5px;font-weight:600;display:block}.bank-match-card span{color:#6b756f;font-size:12.5px}.bank-match-view{color:#147a52;font-size:13px;font-weight:600}.bank-drawer-grid-2{grid-template-columns:1fr 1fr;gap:12px;display:grid}.bank-feed-section{flex-direction:column;gap:10px;display:flex}.bank-feed-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.bank-feed-cell{flex-direction:column;gap:3px;display:flex}.bank-feed-cell strong{color:#17211d;font-size:13.5px;font-weight:500}.bank-attach-drop{color:#6b756f;border:1px dashed #dce1de;border-radius:12px;justify-content:center;align-items:center;gap:8px;padding:16px;font-size:13.5px;display:flex}.bank-rule-toggle{align-items:flex-start;gap:10px;display:flex}.bank-rule-toggle input{margin-top:3px}.bank-rule-toggle strong{color:#17211d;font-size:13.5px;font-weight:600;display:block}.bank-rule-toggle span{color:#6b756f;font-size:12.5px}.bank-drawer-actions{flex-direction:column;gap:8px;margin-top:auto;display:flex}.bank-drawer-cancel{color:#6b756f;cursor:pointer;background:0 0;border:none;padding:8px;font-size:13.5px;font-weight:500}.invoice-detail .invoice-due-overdue input,.invoice-due-overdue input{color:#c0463a;background:#fdf7f6;border-color:#e0a8a0}.invoice-detail .invoice-due-overdue input:focus,.invoice-due-overdue input:focus{border-color:#c0463a}.invoice-detail .invoice-number-readonly,.invoice-number-readonly{color:#8a938d;cursor:default;background:#f7f8f7}.invoice-detail-kebab{position:relative}.invoice-detail-kebab>summary{color:#59635d;cursor:pointer;background:#fff;border:1px solid #e0e4e1;border-radius:10px;justify-content:center;align-items:center;width:36px;height:36px;list-style:none;display:inline-flex}.invoice-detail-kebab>summary::-webkit-details-marker{display:none}.invoice-detail-kebab>summary:hover{border-color:#cfe3d6}.invoice-detail-kebab-menu{z-index:20;background:#fff;border:1px solid #e8ebe9;border-radius:12px;flex-direction:column;gap:2px;min-width:200px;padding:6px;display:flex;position:absolute;top:42px;right:0;box-shadow:0 12px 32px #17211d24}.invoice-detail-kebab-menu button{color:#17211d;cursor:pointer;text-align:left;background:0 0;border:none;border-radius:8px;align-items:center;gap:10px;width:100%;padding:9px 10px;font-size:13.5px;display:flex}.invoice-detail-kebab-menu button:hover{background:#f7f8f7}.bank-txn-table th.bank-txn-check,.bank-txn-table td.bank-txn-check{width:34px;padding-left:16px;padding-right:0}.bank-txn-table .bank-txn-check input{cursor:pointer;width:16px;height:16px}@keyframes mb-overlay-in{0%{opacity:0}to{opacity:1}}@keyframes mb-drawer-in{0%{opacity:0;transform:translate(16px)}to{opacity:1;transform:translate(0)}}@keyframes mb-fade-up{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes mb-fade-in{0%{opacity:0}to{opacity:1}}@keyframes mb-pop-in{0%{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}.invoice-detail,.recurring-detail,.invoice-detail-create,.bank-review-panel,.catalog-card{animation:.26s both mb-fade-up}.alert{animation:.24s both mb-fade-up}.public-invoice-card,.public-invoice{animation:.3s both mb-fade-up}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important}}.primary-button,.secondary-button,.icon-button,.navbtn,.paybtn,.softbtn,.compact-button,.bank-cleanup-button,.invoice-action-ghost,.recurring-collection-pause,.recurring-collection-resume,.public-invoice-back{transition:background-color .15s,border-color .15s,color .15s,box-shadow .15s,transform 90ms}.primary-button:active,.secondary-button:active,.icon-button:active,.compact-button:active,.bank-cleanup-button:active,.paybtn:active{transform:translateY(1px)}.invoice-row-clickable,.bank-txn-row,.invoice-table tbody tr,.schedule-table tbody tr,.catalog-table tbody tr{transition:background-color .13s}.nav-item,.sidebar-settings,.section-tab,.invoice-tab{transition:background-color .14s,color .14s,border-color .14s}.bank-account-card{transition:border-color .15s,box-shadow .15s,transform 90ms}.bank-account-card:active{transform:translateY(1px)}.invoice-modern-summary,.stat-grid,.activity-panel,.delivery-preview-panel,.manual-payment-form,.recurring-stripe-banner,.recurring-fieldset{animation:.26s both mb-fade-up}.bank-match-card{animation:.24s cubic-bezier(.32,.72,0,1) both mb-pop-in}.book-form input,.book-form select,.book-form textarea,.bank-drawer-field input,.bank-drawer-field select,.catalog-form input,.catalog-form select,.manual-payment-form input,.manual-payment-form select,.search-field,.filter-select,.invoice-status-select{transition:border-color .15s,box-shadow .15s,background-color .15s}.side-drawer .manual-payment-form{background:0 0;border:0;border-radius:0;flex-direction:column;align-items:stretch;gap:14px;margin-bottom:0;padding:0;display:flex}.side-drawer .manual-payment-form label span{color:#6b756f;letter-spacing:0;text-transform:none;font-size:12px;font-weight:600}.side-drawer .manual-payment-form label{flex-direction:column;gap:6px;display:flex}.side-drawer .manual-payment-form input:not([type=checkbox]),.side-drawer .manual-payment-form select{border:1px solid #dce1de;border-radius:10px;width:100%;min-height:40px;padding:0 12px;font-size:14px}.side-drawer .manual-payment-form .checkbox-row{flex-direction:row;align-items:center;gap:8px}.side-drawer .manual-payment-form .checkbox-row input{width:16px;height:16px}.side-drawer .payment-summary{flex-direction:column;gap:2px;display:flex}.side-drawer .payment-actions{flex-direction:column;gap:10px;margin-top:4px;display:flex}.side-drawer .payment-actions .primary-button,.side-drawer .payment-actions .secondary-button{justify-content:center;width:100%}.side-drawer .delivery-preview-panel{background:0 0;border:0;border-radius:0;margin-bottom:0;padding:0}.side-drawer .delivery-preview-panel .activity-panel-header button{display:none}.side-drawer .delivery-preview-content label span{color:#6b756f;letter-spacing:0;text-transform:none;font-size:12px;font-weight:600}.side-drawer .delivery-preview-content input,.side-drawer .delivery-preview-content textarea{border:1px solid #dce1de;border-radius:10px;width:100%;padding:8px 12px;font-size:14px}.side-drawer .delivery-preview-meta{grid-template-columns:1fr 1fr}.side-drawer .delivery-preview-panel .primary-button,.side-drawer .delivery-preview-panel .secondary-button{justify-content:center;width:100%}.side-drawer .catalog-form{background:0 0;border:0;flex-direction:column;gap:14px;margin:0;padding:0;display:flex}.side-drawer .catalog-form label{flex-direction:column;gap:6px;display:flex}.side-drawer .catalog-form label span{color:#6b756f;letter-spacing:0;text-transform:none;font-size:12px;font-weight:600}.side-drawer .catalog-form input,.side-drawer .catalog-form select{border:1px solid #dce1de;border-radius:10px;width:100%;min-height:40px;padding:0 12px;font-size:14px}.side-drawer .catalog-form-actions{flex-direction:column;gap:10px;margin-top:4px;display:flex}.side-drawer .catalog-form-actions .primary-button,.side-drawer .catalog-form-actions .secondary-button{justify-content:center;width:100%}.side-drawer .activity-panel{background:0 0;border:0;border-radius:0;margin-bottom:0;padding:0}.side-drawer .activity-panel>.activity-panel-header>button{display:none}.side-drawer-wide{width:680px}.side-drawer .statement-panel{background:0 0;border:0;border-radius:0;margin-bottom:0;padding:0}.side-drawer .statement-panel .activity-panel-header .secondary-button{display:none}.side-drawer .statement-panel .metric strong{white-space:nowrap}.quick-actions button.refresh-action{box-shadow:none;color:#59635d;background:#fff;border:1px solid #e0e4e1;border-radius:10px;font-weight:500}.quick-actions button.refresh-action:hover{background:#f7f8f7;border-color:#e0e4e1}.route-progress{background:#eaf3ec;border-radius:999px;height:3px;margin:0 32px;position:relative;overflow:hidden}.route-progress:after{content:"";background:#147a52;border-radius:999px;width:36%;height:100%;animation:1.1s cubic-bezier(.4,0,.2,1) infinite mb-progress-slide;position:absolute;left:0}@keyframes mb-progress-slide{0%{transform:translate(-120%)}to{transform:translate(360%)}}.user-menu{position:relative}.user-menu>summary{list-style:none}.user-menu>summary::-webkit-details-marker{display:none}.user-menu-panel{z-index:60;background:#fff;border:1px solid #e8ebe9;border-radius:14px;flex-direction:column;gap:2px;min-width:230px;padding:8px;animation:.16s both mb-pop-in;display:flex;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 12px 32px #141e1924}.user-menu-head{border-bottom:1px solid #f2f4f2;align-items:center;gap:10px;margin-bottom:4px;padding:8px 10px 12px;display:flex}.user-menu-head strong{font-size:14px;font-weight:600;display:block}.user-menu-head span:last-child{color:#8a938d;font-size:12.5px}.user-menu-avatar{cursor:default}.user-menu-item{color:#3b463f;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:9px;align-items:center;gap:9px;width:100%;padding:9px 10px;font-size:13.5px;font-weight:500;display:flex}.user-menu-item:hover{background:#f4f6f4}body.books-loading .workspace>section:not(.quick-actions){opacity:.55;transition:opacity .2s}.app-shell.assist-open{grid-template-columns:76px minmax(0,1fr) 390px}.assist-rail{height:100vh;position:sticky;top:0}@keyframes assist-in{0%{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}@keyframes assist-dot{0%,60%,to{opacity:.5;transform:none}30%{opacity:1;transform:translateY(-3px)}}.assist-msg{animation:.22s assist-in}.assist-dot{background:#98a29b;border-radius:50%;width:6px;height:6px;animation:1.1s infinite assist-dot}[data-testid=assist-thread]::-webkit-scrollbar{width:8px}[data-testid=assist-thread]::-webkit-scrollbar-thumb{background:#dce1de;border:2px solid #fff;border-radius:8px}.assist-icon-btn{color:#8a938d;cursor:pointer;background:0 0;border:0;border-radius:9px;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.assist-icon-btn:hover{background:#f2f5f3}.assist-chip:hover{background:#f2f7f3!important}.assist-send:hover{background:#0f633f!important}.assist-action:hover{filter:brightness(.96)}.assist-fab{color:#fff;cursor:pointer;z-index:50;background:#147a52;border:0;border-radius:50%;justify-content:center;align-items:center;width:54px;height:54px;transition:background .12s,transform 90ms;display:flex;position:fixed;bottom:22px;right:22px;box-shadow:0 6px 18px #0e5a3b59}.assist-fab:hover{background:#0f633f}.assist-fab:active{transform:translateY(1px)}@media (width<=1239px){.app-shell.assist-open{grid-template-columns:76px minmax(0,1fr)}.assist-rail,.assist-fab{display:none}}.update-notice{color:#fff;cursor:pointer;z-index:55;background:#17211d;border:0;border-radius:999px;align-items:center;gap:7px;height:38px;padding:0 16px;font-size:12.5px;font-weight:600;animation:.3s both mb-fade-up;display:inline-flex;position:fixed;bottom:22px;left:98px;box-shadow:0 6px 18px #141e1947}.update-notice:hover{background:#0e5a3b}.update-notice svg{animation:2.4s linear infinite mb-spin}@keyframes mb-spin{to{transform:rotate(360deg)}}@media (width<=900px){.update-notice{left:16px}}.customer-layout .panel.wide td>strong{text-overflow:ellipsis;white-space:nowrap;max-width:clamp(140px,14vw,320px);display:block;overflow:hidden}@media (width>=1240px) and (width<=1640px){.app-shell.assist-open.section-customers .panel.wide th:nth-child(5),.app-shell.assist-open.section-customers .panel.wide td:nth-child(5),.app-shell.assist-open.section-customers .panel.wide th:nth-child(4),.app-shell.assist-open.section-customers .panel.wide td:nth-child(4){display:none}}.cell-truncate{text-overflow:ellipsis;white-space:nowrap;max-width:clamp(140px,15vw,280px);display:block;overflow:hidden}@media (width>=1240px) and (width<=1360px){.app-shell.assist-open .customer-layout .panel.wide .row-actions button{width:32px;height:32px}.app-shell.assist-open .customer-layout .panel.wide .row-actions{gap:4px}}@media (width>=1240px) and (width<=1640px){.app-shell.assist-open .report-stack .content-grid{grid-template-columns:minmax(0,1fr)}}@media (width>=1240px) and (width<=1360px){.app-shell.assist-open .report-stack td,.app-shell.assist-open .report-stack th,.app-shell.assist-open.section-bills .panel.wide td,.app-shell.assist-open.section-bills .panel.wide th{padding:8px 6px}.app-shell.assist-open .report-recurring-billing th:nth-child(2),.app-shell.assist-open .report-recurring-billing td:nth-child(2),.app-shell.assist-open.section-bills .panel.wide th:nth-child(3),.app-shell.assist-open.section-bills .panel.wide td:nth-child(3){display:none}}.side-drawer-xl{width:960px;max-width:94vw}.side-drawer-bare{gap:0;padding:20px 24px 28px}.side-drawer-xl .invoice-detail{max-width:none}.side-drawer-xl .invoice-detail-header{padding-top:0}@media (width<=1120px){.side-drawer-xl .invoice-detail-grid{grid-template-columns:minmax(0,1fr)}}.report-hub{flex-direction:column;gap:8px;padding:0;display:flex}.report-hub-section{margin-top:22px}.report-hub-section:first-child{margin-top:0}.report-hub-group{letter-spacing:.5px;text-transform:uppercase;color:var(--mb-faint);margin:0 0 12px;font-size:12.5px;font-weight:600}.report-hub-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.report-hub-card{background:var(--mb-surface);border:1px solid var(--mb-border-soft);text-align:left;cursor:pointer;border-radius:14px;align-items:flex-start;gap:14px;padding:18px;transition:border-color .14s,box-shadow .14s,transform .14s;display:flex;box-shadow:0 1px 2px #141e190a}.report-hub-card:hover{border-color:var(--mb-border-strong);transform:translateY(-1px);box-shadow:0 4px 14px #141e1912}.report-hub-card:hover .report-hub-card-icon{background:#e1efe6}.report-hub-card-icon{background:var(--mb-brand-soft);width:34px;height:34px;color:var(--mb-brand);border-radius:10px;flex:none;justify-content:center;align-items:center;transition:background .14s;display:inline-flex}.report-hub-card-body{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.report-hub-card-title{color:var(--mb-ink);font-size:14px;font-weight:600}.report-hub-card-desc{color:var(--mb-muted);font-size:12.5px}.report-hub-card-chevron{color:#c3cbc6;flex:none;margin-top:2px}.report-page{flex-direction:column;gap:18px;padding:0;display:flex}.report-page-back{color:var(--mb-muted);cursor:pointer;background:0 0;border:0;align-self:flex-start;align-items:center;gap:7px;padding:0;font-family:inherit;font-size:13.5px;display:inline-flex}.report-page-back:hover{color:var(--mb-ink)}.report-page-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.report-page-title-row{align-items:center;gap:12px;display:flex}.report-page-title-row h1{letter-spacing:-.4px;color:var(--mb-ink);margin:0;font-size:26px;font-weight:600}.report-page-subtitle{color:var(--mb-muted);margin:6px 0 0;font-size:13.5px}.report-page-controls{flex-wrap:wrap;align-items:flex-end;gap:8px;display:flex}.report-page-controls .report-controls{margin:0}.report-page-export{white-space:nowrap}@media (width<=1180px){.report-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=720px){.report-hub-grid{grid-template-columns:minmax(0,1fr)}}.billing-action-cell{flex-direction:column;align-items:flex-start;gap:8px;display:flex}.section-billing .billing-action-cell .row-actions{align-items:center;gap:7px;display:flex;position:relative}.section-billing .invoice-primary-row-action{background:var(--mb-brand-soft);width:32px;height:32px;color:var(--mb-brand);cursor:pointer;border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;gap:0;padding:0;display:inline-flex}.section-billing .invoice-primary-row-action span{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.section-billing .invoice-primary-row-action:hover:not(:disabled){color:var(--mb-brand-strong);background:#deece2}.section-billing .invoice-primary-row-action:disabled{opacity:.5;cursor:default}.section-billing .invoice-row-menu{position:relative}.section-billing .invoice-row-menu summary{background:var(--mb-surface);color:#8a938d;cursor:pointer;border:1px solid #e6e9e7;border-radius:9px;justify-content:center;align-items:center;width:32px;height:32px;list-style:none;display:inline-flex}.section-billing .invoice-row-menu summary::-webkit-details-marker{display:none}.section-billing .invoice-row-menu[open] summary,.section-billing .invoice-row-menu summary:hover{background:var(--mb-surface-muted);color:var(--mb-text)}.section-billing .invoice-row-menu-content{z-index:40;background:var(--mb-surface);border:1px solid var(--mb-border);min-width:236px;box-shadow:var(--mb-shadow-2);border-radius:10px;gap:3px;padding:6px;display:grid;position:absolute;top:42px;right:0}.section-billing .invoice-row-menu:not([open]) .invoice-row-menu-content{display:none}.section-billing .invoice-row-menu-content button{width:100%;height:34px;color:var(--mb-text);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:9px;padding:0 10px;font-size:.84rem;display:flex}.section-billing .invoice-row-menu-content button:hover{background:var(--mb-surface-muted)}.bank-txn-add{background:var(--mb-brand-soft);height:30px;color:var(--mb-brand-strong);white-space:nowrap;cursor:pointer;border:1px solid #0000;border-radius:9px;align-items:center;gap:5px;padding:0 12px;font-family:inherit;font-size:12.5px;font-weight:600;display:inline-flex}.bank-txn-add:hover{background:#deece2}.settings-shell{align-items:flex-start;gap:20px;padding:0;display:flex}.settings-nav{background:var(--mb-surface);border:1px solid var(--mb-border-soft);border-radius:14px;flex-direction:column;flex:0 0 220px;gap:2px;width:220px;padding:8px;display:flex;box-shadow:0 1px 2px #141e190a}.settings-nav button{text-align:left;width:100%;color:var(--mb-muted);cursor:pointer;background:0 0;border:0;border-radius:9px;padding:9px 12px;font-family:inherit;font-size:13.5px;display:block}.settings-nav button:hover{background:var(--mb-surface-muted);color:var(--mb-text)}.settings-nav button.active{background:var(--mb-brand-soft);color:var(--mb-brand-strong);font-weight:600}.settings-panels{flex-direction:column;flex:1;gap:16px;min-width:0;display:flex}.settings-panels .panel{display:none}.settings-panels[data-active=business] .panel[data-section=business],.settings-panels[data-active=delivery] .panel[data-section=delivery],.settings-panels[data-active=tax] .panel[data-section=tax],.settings-panels[data-active=accounts] .panel[data-section=accounts]{display:block}@media (width<=900px){.settings-shell{flex-direction:column}.settings-nav{flex-flow:wrap;flex-basis:auto;width:100%}}.panel-title h2,.card-header h2{font-size:15px;font-weight:600}.lease-wizard-body{grid-template-columns:230px minmax(0,1fr);gap:24px}.lease-wizard-main .lease-summary{max-width:480px;margin-top:20px}.lease-wizard{padding:0}.lease-wizard-main{max-width:820px}.lease-steps{background:var(--mb-surface);border:1px solid var(--mb-border-soft);border-radius:16px;padding:10px;position:sticky;top:20px;box-shadow:0 1px 2px #141e190a}.lease-step.active{background:var(--mb-surface-accent);color:var(--mb-brand-strong)}.lease-step-check.done{background:var(--mb-brand);border-color:var(--mb-brand)}.lease-wizard-main .form-actions{justify-content:flex-end;display:flex}.lease-wizard-main .form-actions .primary-button{width:auto;min-width:160px;padding:0 22px}.lease-wizard-back{color:var(--mb-muted);cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;padding:0;font-family:inherit;font-size:13.5px;font-weight:500;display:inline-flex}.lease-wizard-back:hover{color:var(--mb-ink)}.lease-wizard-title h2{letter-spacing:-.3px;color:var(--mb-ink);margin:0;font-size:20px;font-weight:600}.route-progress{margin:2px 32px 16px}.section-billing .metric-list{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin-bottom:18px;display:grid}.section-billing .metric-list .metric{background:var(--mb-surface-raised);border:1px solid var(--mb-border-soft);border-radius:10px;padding:12px 14px;display:block}.section-billing .metric-list .metric span{letter-spacing:.5px;text-transform:uppercase;color:var(--mb-faint);font-size:11px;font-weight:600;display:block}.section-billing .metric-list .metric strong{font-variant-numeric:tabular-nums;color:var(--mb-ink);text-align:left;margin-top:4px;font-size:16px;font-weight:600;display:block}.bank-account-books{color:#6b756f;align-items:baseline;gap:6px;margin-top:2px;font-size:12.5px;display:flex}.bank-account-books.off{color:#a76f1e}.bank-account-books-delta{color:#a76f1e;background:#fbf4e7;border-radius:999px;padding:1px 8px;font-weight:600}.bank-account-books-match{color:#2f855a;font-weight:600}.skeleton{background:linear-gradient(90deg,#e9ecea 25%,#f2f4f3 50%,#e9ecea 75%) 0 0/200% 100%;border-radius:8px;animation:1.4s ease-in-out infinite skeleton-pulse;display:inline-block}.skeleton-stat-value{width:60%;height:28px;margin:3px 0}.skeleton-stat-detail{width:45%;height:13px}.skeleton-metric{width:72px;height:15px}@keyframes skeleton-pulse{0%{background-position:200% 0}to{background-position:-200% 0}}.skeleton-row td{padding-top:14px;padding-bottom:14px}.skeleton-cell{min-width:42px;max-width:160px;height:13px}.skeleton-line{width:60%;height:13px}.skeleton-line.short{width:72px}.skeleton-avatar{border-radius:999px;flex:none;width:34px;height:34px}.recent-invoice-skeletons{flex-direction:column;gap:18px;padding:10px 0;display:flex}.recent-invoice-skeleton-row{align-items:center;gap:14px;display:flex}.recent-invoice-skeleton-row .skeleton-line.short{margin-left:auto}.bank-account-strip .bank-account-card .skeleton{margin:6px 0;display:block}.portfolio-screen{flex-direction:column;gap:18px;padding:0;display:flex}.portfolio-screen .stat-grid{margin-bottom:0;padding:0}.chart-range-chips{gap:6px;display:flex}.chart-range-chips button{color:#6b756f;cursor:pointer;background:#f4f6f5;border:1px solid #0000;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:600}.chart-range-chips button.active{color:#fff;background:#17211d}.networth-chart svg{width:100%;height:auto;display:block}.chart-grid{stroke:#ecefed;stroke-width:1px}.chart-axis-label{fill:#8a938d;font-size:11px}.chart-line{fill:none;stroke:#2f855a;stroke-width:2px;stroke-linejoin:round}.chart-area{fill:#2f855a14;stroke:none}.chart-crosshair{stroke:#b7bfbb;stroke-width:1px;stroke-dasharray:3 3}.chart-dot{fill:#2f855a;stroke:#fff;stroke-width:2px}.networth-chart-empty{width:100%;display:block}.networth-tooltip{color:#6b756f;align-items:baseline;gap:10px;min-height:22px;padding:6px 2px 0;font-size:13px;display:flex}.networth-tooltip strong{color:#17211d;font-size:15px}.networth-tooltip-hint{color:#b7bfbb}.holding-row{cursor:pointer}.holding-row.expanded td{background:#f8faf9}.holding-account-row td{color:#6b756f;background:#fbfcfb;font-size:13px}.asset-class-chip{color:#6b756f;text-transform:lowercase;background:#f0f2f1;border-radius:999px;margin-left:8px;padding:1px 8px;font-size:11px;font-weight:600}.gain{color:#2f855a}.loss{color:#b03a2e}.muted-row td{opacity:.55}.portfolio-lower{align-items:start}.alert.warning{color:#8a5d1a;background:#fbf4e7;border:1px solid #e9d5b3}.ticker-modal{z-index:41;background:#fff;border-radius:16px;flex-direction:column;gap:14px;width:980px;max-width:96vw;max-height:90vh;padding:22px 26px;display:flex;position:fixed;top:50%;left:50%;overflow-y:auto;transform:translate(-50%,-50%);box-shadow:0 24px 64px #17211d3d}.ticker-modal-head{align-items:flex-start;gap:16px;display:flex}.ticker-modal-head h2{margin:0;font-size:22px}.ticker-modal-head .muted{color:#8a938d;font-size:13px}.ticker-modal-price{text-align:right;margin-left:auto}.ticker-modal-price strong{font-size:22px;display:block}.ticker-modal-price span{font-size:13px;font-weight:600}.ticker-modal-close{color:#6b756f;cursor:pointer;background:#f4f6f5;border:none;border-radius:999px;place-items:center;width:32px;height:32px;display:grid}.ticker-stats{border-top:1px solid #eef1ef;border-bottom:1px solid #eef1ef;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:12px 0;display:grid}.ticker-stats .metric{flex-direction:column;gap:2px;display:flex}.ticker-stats .metric span{color:#8a938d;letter-spacing:.04em;text-transform:uppercase;font-size:11.5px}.ticker-stats .metric strong{font-size:17px}.ticker-stats .metric small{font-size:12px}.chart-basis-line{stroke:#c4943a;stroke-width:1.5px;stroke-dasharray:5 4}.chart-basis-label{fill:#a76f1e;font-size:11px}.ticker-link{color:#1f6142;cursor:pointer;font:inherit;text-underline-offset:3px;background:0 0;border:none;padding:0;font-weight:700;text-decoration:underline}.ticker-lots-head{justify-content:space-between;align-items:center;gap:14px;display:flex}.ticker-lots-summary{margin:0;font-size:13px}.source-chip{color:#6b756f;letter-spacing:.05em;text-transform:uppercase;background:#f0f2f1;border-radius:999px;margin-left:8px;padding:1px 7px;font-size:10.5px;font-weight:700}.source-chip.public{color:#1f6142;background:#e6f3ec}.source-chip.monarch{color:#3f519b;background:#eaeefa}.source-chip.manual{color:#8a5d1a;background:#fbf4e7}.source-chip.yahoo{color:#654e92;background:#f0ecf8}.sortable-th{cursor:pointer;-webkit-user-select:none;user-select:none}.sortable-th:hover{color:#17211d}.sort-arrow{margin-left:5px;font-size:9px}.gain-cell{flex-direction:column;line-height:1.25;display:inline-flex}.gain-cell small{opacity:.85;font-size:11.5px;font-weight:600}.portfolio-tab-single{grid-template-columns:minmax(0,1fr)}.sync-strip{flex-wrap:wrap;gap:8px;display:flex}.sync-pill{color:#6b756f;background:#f4f6f5;border-radius:999px;align-items:center;gap:6px;padding:3px 10px;font-size:12px;font-weight:600;display:inline-flex}.sync-dot{border-radius:999px;width:7px;height:7px;display:inline-block}.sync-pill.fresh .sync-dot{background:#2f855a}.sync-pill.aging .sync-dot{background:#c4943a}.sync-pill.stale .sync-dot{background:#b03a2e}.sync-cell.fresh{color:#2f855a}.sync-cell.stale{color:#b03a2e}.sync-now-button{color:#fff;cursor:pointer;background:#17211d;border:none;border-radius:999px;margin-left:auto;padding:4px 14px;font-size:12px;font-weight:600}.sync-now-button:disabled{opacity:.55;cursor:default}.status-bar{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);z-index:35;background:#ffffffeb;border-top:1px solid #e9ecea;align-items:center;gap:14px;height:26px;padding:0 14px;font-size:11.5px;display:flex;position:fixed;bottom:0;left:0;right:0}.status-bar-beacon{background:#b7bfbb;border-radius:999px;width:7px;height:7px}.status-bar-beacon.busy{background:#2f855a;animation:1.2s ease-in-out infinite skeleton-pulse}.status-bar-item{color:#8a938d;white-space:nowrap;font-weight:600}.status-bar-item.active{color:#1f6142}.status-bar-item.error{color:#b03a2e}.status-bar-item.stuck{color:#a76f1e}.status-bar-spacer{flex:1}.workspace{padding-bottom:54px}.session-chip{letter-spacing:.06em;vertical-align:2px;border-radius:4px;margin-left:6px;padding:1px 5px;font-size:9.5px;font-weight:700}.session-chip.post{color:#654e92;background:#f0ecf8}.session-chip.pre{color:#2e608a;background:#e6f0f8}.holdings-table td,.holdings-table th,.portfolio-screen table td,.portfolio-screen table th,.ticker-modal table td,.ticker-modal table th{font-variant-numeric:tabular-nums}.holdings-table th:nth-child(n+3),.holdings-table td:nth-child(n+3){text-align:right}.holdings-table .gain-cell{align-items:flex-end;display:inline-flex}.accounts-table th:nth-child(n+4),.accounts-table td:nth-child(n+4),.properties-table th:nth-child(n+2),.properties-table td:nth-child(n+2),.ticker-modal table th:nth-child(n+3),.ticker-modal table td:nth-child(n+3){text-align:right}.stat-card-body{justify-content:space-between;align-items:flex-end;gap:10px;display:flex}.stat-trend{margin-top:2px;font-size:12px;font-weight:700;display:block}.stat-spark{flex:none;width:96px;height:26px}.stat-spark polyline{fill:none;stroke:#2f855a;stroke-width:1.6px}.stat-spark.down polyline{stroke:#b03a2e}.tnum{font-variant-numeric:tabular-nums}.trow:hover{background:#fafbfa}.journal-lines{flex-direction:column;gap:10px;display:flex}.journal-line-row{grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:8px;display:grid}.journal-line-row .secondary-button{margin-bottom:2px}.journal-line-summary{color:var(--mb-muted);font-variant-numeric:tabular-nums;font-size:12.5px}.journal-balance{font-variant-numeric:tabular-nums;border:1px solid var(--mb-border);border-radius:10px;justify-content:space-between;gap:12px;padding:10px 12px;font-size:13px;font-weight:600;display:flex}.journal-balance.balanced{color:#147a52;background:#ecf7f1;border-color:#c5e4d4}.journal-balance.unbalanced{color:#8a5d1a;background:#fbf4e7;border-color:#e9d5b3}.budget-input{text-align:right;font-variant-numeric:tabular-nums;width:120px}.over-budget{color:var(--mb-danger,#b3261e);font-weight:600}.row-actions-inline{align-items:center;gap:8px;display:flex}.time-unbilled-strip{flex-wrap:wrap;gap:8px;margin-bottom:10px;display:flex}.audit-details{text-overflow:ellipsis;white-space:nowrap;max-width:320px;color:var(--mb-muted);font-family:ui-monospace,monospace;font-size:11.5px;overflow:hidden}.bank-suggestions{flex-direction:column;gap:6px;margin:10px 0;display:flex}.bank-suggestion-row{cursor:pointer;text-align:left;background:#f3faf6;border:1px solid #c5e4d4;border-radius:10px;align-items:center;gap:8px;padding:8px 10px;font-size:12.5px;display:flex}.bank-suggestion-row:hover{background:#e8f5ef}.bank-suggestion-label{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.bank-suggestion-amount{font-variant-numeric:tabular-nums;font-weight:600}.email-preview{background:#fff;border:1px solid #dee4e1;border-radius:12px;overflow:hidden;box-shadow:0 6px 20px #0f281e12}.email-preview-chrome{background:#f4f6f5;border-bottom:1px solid #e4e9e6;align-items:center;gap:6px;padding:8px 12px;display:flex}.email-dot{border-radius:50%;width:10px;height:10px}.email-dot.red{background:#f37368}.email-dot.yellow{background:#f5bf4f}.email-dot.green{background:#5fc454}.email-preview-chrome-label{letter-spacing:.04em;text-transform:uppercase;color:var(--mb-muted);margin-left:8px;font-size:11px;font-weight:600}.email-preview-headers{border-bottom:1px solid #ebefed;flex-direction:column;gap:4px;padding:12px 16px 10px;display:flex}.email-preview-header-row{grid-template-columns:58px 1fr;gap:8px;font-size:12.5px;display:grid}.email-preview-key{color:var(--mb-muted);text-align:right}.email-preview-value{color:#26322d;overflow-wrap:anywhere}.email-preview-header-row.subject .email-preview-value{font-weight:650}.email-preview-body{padding:16px}.email-preview-text{white-space:pre-wrap;color:#26322d;margin:0 0 14px;font-family:inherit;font-size:13px;line-height:1.55}.email-preview-cta{background:var(--mb-accent,#147a52);color:#fff;cursor:default;pointer-events:none;border:none;border-radius:8px;padding:9px 18px;font-size:13px;font-weight:600;display:inline-block}.email-preview-stripe-body .email-preview-amount{color:#26322d;font-size:26px;font-weight:700}.email-preview-stripe-body .email-preview-due{color:var(--mb-muted);margin:2px 0 14px;font-size:13px}.email-preview-fineprint{color:var(--mb-muted);margin:12px 0 0;font-size:11.5px;line-height:1.5}.billing-source-pill{letter-spacing:.03em;text-transform:uppercase;vertical-align:1px;white-space:nowrap;border-radius:999px;margin-left:6px;padding:0 6px;font-size:9.5px;font-weight:650;line-height:15px;display:inline-block}.invoice-number-cell .invoice-number-line{align-items:center;gap:6px;display:flex!important}.invoice-number-cell .billing-source-pill{margin-left:0}.billing-source-pill.quickbooks{color:#2a6424;background:#e2f0d9;border:1px solid #b2d6a4}.billing-source-pill.stripe{color:#4a3eaf;background:#e5e7fc;border:1px solid #bec2f4}.billing-source-pill.mybooks{color:#4a5c56;background:#e8eeec;border:1px solid #ced9d5}.email-preview-only{color:#7a6a3e;background:#fcf6e5;border:1px solid #eee0ba;border-radius:8px;padding:7px 10px;font-weight:600}.email-preview{position:relative}.email-preview .email-preview-body{pointer-events:none;-webkit-user-select:text;user-select:text}.google-signin-host{justify-content:center;min-height:44px;display:flex}.login-divider{color:var(--mb-muted);align-items:center;gap:10px;font-size:12px;display:flex}.login-divider:before,.login-divider:after{content:"";background:#e0e6e3;flex:1;height:1px}.retire-step{flex-direction:column;gap:16px;display:flex}.retire-deadlines ul{flex-direction:column;gap:6px;margin:0;padding-left:18px;font-size:13px;display:flex}.retire-plan-card{flex-direction:column;gap:12px;display:flex}.retire-bar-head{justify-content:space-between;margin-bottom:4px;font-size:12.5px;display:flex}.retire-bar-track{background:#e9efec;border-radius:999px;height:8px;overflow:hidden}.retire-bar-fill{background:var(--mb-accent,#147a52);border-radius:999px;height:100%;transition:width .3s}.retire-bar-fill.over{background:#c0392b}.retire-magic{color:var(--mb-muted);margin:2px 0 0;font-size:13px}.retire-settings{border:1px solid #e4eae7;border-radius:10px;grid-template-columns:1fr 1fr;gap:10px;padding:12px;display:grid}.retire-settings label{flex-direction:column;gap:4px;font-size:12px;display:flex}.retire-settings button{grid-column:span 2;justify-self:start}.retire-subhead{align-items:center;gap:10px;margin:8px 0 0;font-size:13.5px;display:flex}.retire-table{border-collapse:collapse;width:100%;font-size:13px}.retire-table th{text-align:left;text-transform:uppercase;color:var(--mb-muted);padding:6px 8px;font-size:11px}.retire-table td{border-top:1px solid #eef2f0;padding:6px 8px}.retire-add-row input,.retire-add-row select{width:100%}.retire-docs{flex-direction:column;gap:6px;margin:0;padding:0;font-size:13px;list-style:none;display:flex}.retire-docs li{align-items:center;gap:8px;display:flex}
