:root{--ink:#253447;--muted:#64748b;--line:#dfe5ec;--paper:#fff;--teal:#1e5b91;--teal-deep:#1e5b91;--teal-soft:#f1f5f9;--amber:#a66a13;--amber-soft:#fff8ec;--rose:#b64050;--surface:#fff;--surface-raised:#f5f7f9;--shadow:0 12px 32px #0000002e;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}body{background:var(--paper);color:var(--ink);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;margin:0;font-family:Avenir Next,Inter,Helvetica Neue,Segoe UI,sans-serif;overflow-x:hidden}button,input{font:inherit}button{cursor:pointer}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.app-shell{background:var(--paper);min-height:100vh;display:flex}.sidebar{border-right:1px solid var(--line);background:#fff;flex-direction:column;flex:0 0 252px;width:252px;min-height:100vh;padding:26px 16px 18px;display:flex}.brand-lockup{letter-spacing:-.04em;align-items:center;gap:9px;padding:0 12px 28px;font-size:19px;font-weight:760;display:flex}.brand-name{flex-direction:column;gap:2px;min-width:0;line-height:1.05;display:flex}.brand-name .brand-accent{letter-spacing:0;font-size:12px;font-weight:650}.brand-mark{color:#fff;background:var(--teal);border-radius:10px;place-items:center;width:31px;height:31px;display:grid;box-shadow:0 5px 14px #087f7238}.brand-accent{color:var(--teal)}.workspace-picker{background:#fff;border:1px solid #dfe5ec;border-radius:12px;align-items:center;gap:9px;margin-bottom:25px;padding:10px;display:flex}.workspace-avatar,.profile-avatar,.avatar-button{color:#1e5b91;letter-spacing:-.04em;background:#f5f7f9;place-items:center;font-weight:750;display:grid}.workspace-avatar{border-radius:9px;width:33px;height:33px;font-size:11px}.workspace-picker div:nth-child(2){flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.eyebrow,.nav-section-label,.section-kicker{color:var(--muted);letter-spacing:.03em;font-size:11px}.workspace-picker strong{white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.muted-icon{color:#64748b}.side-nav{flex-direction:column;gap:3px;display:flex}.nav-section-label{text-transform:uppercase;letter-spacing:.09em;padding:0 12px 8px;font-size:10px;font-weight:700}.nav-item{color:#64748b;text-align:left;background:0 0;border:0;border-radius:9px;align-items:center;gap:11px;width:100%;padding:10px 12px;font-size:13px;transition:all .18s;display:flex}.nav-item:hover{color:var(--ink);background:#1e5b910f}.nav-item.active{color:var(--teal-deep);background:var(--surface);font-weight:700;box-shadow:0 3px 11px #254f3e12}.nav-count{color:var(--teal);background:var(--teal-soft);border-radius:20px;margin-left:auto;padding:2px 7px;font-size:10px;font-weight:750}.help-card{border-top:1px solid var(--line);border-bottom:1px solid var(--line);align-items:center;gap:9px;margin-bottom:16px;padding:17px 7px;display:flex}.help-icon{color:var(--teal);background:var(--teal-soft);border-radius:8px;place-items:center;width:29px;height:29px;display:grid}.help-card div:last-child,.profile-row div:nth-child(2){flex-direction:column;gap:2px;display:flex}.help-card strong,.profile-row strong{font-size:12px}.help-card span,.profile-row span{color:var(--muted);font-size:11px}.profile-row{align-items:center;gap:9px;padding:0 7px;display:flex}.profile-avatar,.avatar-button{border-radius:50%;width:31px;height:31px;font-size:10px}.profile-row div:nth-child(2){flex:1}.content-area{flex-direction:column;flex:1;min-width:0;display:flex}.topbar{border-bottom:1px solid var(--line);background:#fff;flex:0 0 68px;justify-content:space-between;align-items:center;height:68px;padding:0 40px;display:flex}.breadcrumb{color:var(--muted);align-items:center;gap:7px;font-size:13px;display:flex}.breadcrumb strong{color:var(--ink);font-weight:650}.topbar-actions{align-items:center;gap:12px;display:flex}.icon-button,.avatar-button,.arrow-button,.pagination button,.modal-close{color:var(--muted);background:0 0;border:0;place-items:center;display:grid;position:relative}.icon-button{border-radius:9px;width:34px;height:34px}.icon-button:hover{color:var(--teal-deep);background:#f5f7f9}.icon-button.bordered{border:1px solid var(--line);background:var(--surface)}.notification-dot{background:var(--rose);border:1px solid #fff;border-radius:50%;width:6px;height:6px;position:absolute;top:7px;right:7px}.content-scroll{width:100%;max-width:1420px;margin:0 auto;padding:34px 40px 64px}.page-heading,.section-row,.ledger-heading{justify-content:space-between;align-items:flex-end;gap:20px;display:flex}.section-kicker{align-items:center;gap:6px;margin-bottom:9px;font-weight:600;display:flex}.live-dot{background:#177653;border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 3px #fff}h1,h2,p{margin:0}h1{letter-spacing:-.055em;font-size:clamp(28px,3vw,36px);line-height:1.05}h2{letter-spacing:-.03em;font-size:17px;line-height:1.2}.page-heading p{color:var(--muted);margin-top:9px;font-size:13px}.primary-button{color:#fff;background:var(--teal);white-space:nowrap;border:0;border-radius:9px;justify-content:center;align-items:center;gap:7px;padding:11px 15px;font-size:13px;font-weight:700;transition:all .18s;display:inline-flex;box-shadow:0 5px 12px #087f722e}.primary-button:hover{background:var(--teal-deep);transform:translateY(-1px)}.overview-period-toolbar{color:var(--muted);align-items:center;gap:7px;font-size:11px;display:flex}.overview-period-toolbar label{font-weight:700}.overview-period-toolbar select{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:8px;outline:0;padding:10px 30px 10px 10px;font-size:12px;font-weight:650}.overview-period-toolbar select:focus,.overview-custom-range input:focus{border-color:#1e5b91;box-shadow:0 0 0 3px #fff}.overview-period-toolbar span{white-space:nowrap}.overview-custom-range{color:var(--muted);justify-content:flex-end;align-items:end;gap:8px;margin-top:12px;font-size:11px;display:flex}.overview-custom-range label{flex-direction:column;gap:4px;font-weight:700;display:flex}.overview-custom-range input{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:7px;outline:0;padding:8px 9px;font-size:12px}.connection-banner{background:#fff;border:1px solid #dfe5ec;border-radius:11px;align-items:center;gap:12px;margin-top:27px;padding:13px 15px;display:flex}.connection-symbol{width:34px;height:34px;color:var(--teal);background:var(--surface);border-radius:9px;place-items:center;display:grid}.connection-copy{flex-direction:column;flex:1;gap:2px;display:flex}.connection-copy strong{color:#1e5b91;font-size:13px}.connection-copy span{color:#64748b;font-size:11px}.text-button,.ghost-button{color:var(--teal);background:0 0;border:0;align-items:center;gap:4px;font-size:12px;font-weight:700;display:inline-flex}.summary-grid{grid-template-columns:repeat(3,1fr);gap:13px;margin-top:18px;display:grid}.summary-card{background:var(--surface);border:1px solid var(--line);border-radius:13px;min-height:126px;padding:17px 18px;box-shadow:0 4px 15px #27483906}.card-top{color:var(--muted);justify-content:space-between;align-items:center;gap:10px;font-size:12px;display:flex}.summary-card>strong{letter-spacing:-.055em;margin:13px 0 5px;font-size:26px;display:block}.card-note{color:#64748b;font-size:11px}.card-note.positive{color:var(--teal);align-items:center;gap:4px;display:flex}.trend-chip{border-radius:5px;align-items:center;gap:2px;padding:4px 6px;font-size:10px;font-weight:750;display:inline-flex}.trend-chip.warm{color:#a66a13;background:var(--amber-soft)}.mini-icon{border-radius:8px;place-items:center;width:28px;height:28px;display:grid}.mini-icon.amber{color:#a66a13;background:var(--amber-soft)}.mini-icon.teal{color:var(--teal);background:var(--teal-soft)}.section-row{align-items:end;margin-top:38px}.section-caption{color:var(--muted);margin-top:5px;font-size:11px;display:block}.upcoming-grid{grid-template-columns:1.25fr .75fr;gap:13px;margin-top:14px;display:grid}.upcoming-main,.attention-card,.ledger-section{background:var(--surface);border:1px solid var(--line);border-radius:13px}.upcoming-main{grid-template-columns:190px 1fr;align-items:center;gap:22px;padding:19px 21px;display:grid}.upcoming-total{border-right:1px solid var(--line);padding-right:20px}.upcoming-total span{color:var(--muted);font-size:11px}.upcoming-total strong{letter-spacing:-.05em;margin-top:9px;font-size:22px;display:block}.bar-chart{justify-content:space-between;align-items:end;gap:13px;height:85px;display:flex}.bar-group{flex-direction:column;align-items:center;gap:5px;min-width:40px;display:flex}.bar-group strong{color:var(--ink);font-size:10px}.bar-label{color:var(--muted);font-size:10px}.bar-track{background:#f5f7f9;border-radius:5px;align-items:end;width:20px;height:50px;display:flex;overflow:hidden}.bar-fill{background:var(--teal);border-radius:5px;width:100%}.bar-fill.tall{height:92%}.bar-fill.medium{opacity:.84;height:62%}.bar-fill.short{opacity:.68;height:29%}.bar-fill.low{opacity:.74;height:42%}.attention-card{padding:19px 20px}.attention-heading{border-bottom:1px solid var(--line);align-items:center;gap:10px;padding-bottom:13px;display:flex}.warning-mark{color:#a66a13;background:var(--amber-soft);border-radius:7px;place-items:center;width:24px;height:24px;font-weight:800;display:grid}.attention-heading div{flex-direction:column;gap:3px;display:flex}.attention-heading strong{font-size:12px}.attention-heading span{color:var(--muted);font-size:11px}.attention-item{color:#64748b;justify-content:space-between;gap:10px;padding-top:12px;font-size:11px;display:flex}.attention-item strong{color:#a66a13;font-size:11px}.ledger-section{margin-top:27px;padding:20px 20px 0}.ledger-heading{align-items:center}.ledger-actions{align-items:center;gap:8px;display:flex}.search-box{color:#1e5b91;border:1px solid var(--line);background:#fff;border-radius:8px;align-items:center;gap:8px;min-width:250px;padding:8px 10px;display:flex}.search-box input{width:100%;min-width:0;color:var(--ink);background:0 0;border:0;outline:0;font-size:11px}.search-box input::placeholder{color:#1e5b91}.filter-button{border:1px solid var(--line);background:var(--surface);color:#64748b;border-radius:8px;align-items:center;gap:6px;height:34px;padding:0 10px;font-size:11px;font-weight:650;display:inline-flex}.filter-button.selected{color:var(--teal);background:#fff;border-color:#1e5b91}.filter-row{border-top:1px solid var(--line);color:var(--muted);align-items:center;gap:7px;margin-top:17px;padding-top:13px;font-size:11px;display:flex}.filter-pill{border:1px solid var(--line);color:var(--muted);background:#fff;border-radius:20px;align-items:center;gap:4px;padding:5px 9px;font-size:10px;display:inline-flex}.filter-pill.active{color:var(--teal-deep);background:var(--teal-soft);border-color:#dfe5ec}.tab-row{border-bottom:1px solid var(--line);align-items:center;gap:21px;margin-top:18px;display:flex}.tab-button{color:var(--muted);background:0 0;border:0;padding:11px 0 10px;font-size:12px;position:relative}.tab-button.active{color:var(--teal-deep);font-weight:750}.tab-button.active:after{content:"";background:var(--teal);border-radius:3px;height:2px;position:absolute;bottom:-1px;left:0;right:0}.tab-button span{color:var(--teal);background:var(--teal-soft);border-radius:4px;margin-left:5px;padding:2px 5px;font-size:9px}.period-control{align-items:center;gap:4px;margin-left:auto;display:flex}.period-button{border:1px solid var(--line);color:#64748b;background:#fff;border-radius:7px;align-items:center;gap:5px;padding:6px 8px;font-size:10px;display:inline-flex}.arrow-button{color:#64748b;border-radius:6px;width:25px;height:25px}.arrow-button:hover{background:#fff}.table-wrap{min-width:0;overflow-x:hidden}.table-wrap table{table-layout:fixed;border-collapse:collapse;width:100%;min-width:0}.table-wrap th{text-align:left;color:#64748b;text-transform:uppercase;letter-spacing:.07em;white-space:nowrap;padding:16px 10px 10px;font-size:9px;font-weight:750}.table-wrap td{vertical-align:middle;white-space:nowrap;border-top:1px solid #f5f7f9;min-width:0;max-width:none;padding:13px 10px;font-size:11px;overflow:visible}.table-wrap th:first-child,.table-wrap td:first-child{padding-left:4px}.table-wrap th:last-child,.table-wrap td:last-child{padding-right:4px}.table-wrap small{color:#1e5b91;white-space:nowrap;min-width:0;margin-top:3px;padding-left:14px;font-size:10px;display:block;overflow:visible}.fit-text{white-space:nowrap;text-overflow:clip;min-width:0;max-width:100%;display:block;overflow:visible}.fit-text.category-badge{display:block}.payer-name{color:#1e5b91;font-weight:750;display:block}.due-date{align-items:center;gap:6px;font-weight:680;display:flex}.due-date.priority{color:#a66a13}.due-dot{background:#dfe5ec;border-radius:50%;width:6px;height:6px}.due-date.priority .due-dot{background:#a66a13;box-shadow:0 0 0 3px #fff8ec}.supplier{color:#1e5b91;min-width:145px;font-size:12px;font-weight:700;display:block}.description{color:#64748b;white-space:nowrap}.category-badge{color:#64748b;white-space:nowrap;background:#fff;border-radius:4px;padding:4px 6px;font-size:10px;display:inline-block}.account-label{color:#64748b;white-space:nowrap;font-size:10px}.fit-text{white-space:nowrap;text-overflow:clip;min-width:0;max-width:100%;overflow:visible;display:block!important}.installment-label{color:#64748b;margin-top:3px;padding-left:0;font-size:9px;display:block}.account-dot{background:#1e5b91;border-radius:50%;width:6px;height:6px;margin-right:3px;display:inline-block}.amount-cell{text-align:right;white-space:nowrap}.amount-cell strong{font-size:12px}.status-label{margin-top:3px;font-size:9px;display:block}.status-label.scheduled{color:#a66a13}.status-label.paid{color:#177653}.check-button{background:var(--surface);color:#fff;border:1px solid #dfe5ec;border-radius:5px;place-items:center;width:19px;height:19px;margin-left:auto;display:grid}.check-button span{background:#dfe5ec;border-radius:50%;width:5px;height:5px}.check-button:hover{border-color:var(--teal)}.check-button.checked{border-color:var(--teal);background:var(--teal)}.row-paid{opacity:.72}.row-paid .supplier{-webkit-text-decoration:line-through #1e5b91;text-decoration:line-through #1e5b91}.empty-state{color:var(--muted);flex-direction:column;align-items:center;gap:6px;padding:42px;display:flex}.empty-state strong{color:var(--ink);font-size:13px}.empty-state span{font-size:11px}.table-footer{border-top:1px solid var(--line);color:#64748b;justify-content:space-between;align-items:center;padding:14px 4px;font-size:10px;display:flex}.pagination{gap:3px;display:flex}.pagination button{color:#64748b;border-radius:5px;width:24px;height:24px;font-size:10px}.pagination button:hover,.pagination button.current-page{background:var(--teal-soft);color:var(--teal-deep);font-weight:750}.mobile-menu{color:var(--muted);background:0 0;border:0;display:none}.modal-backdrop{z-index:80;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#f1f8f4;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal-card{background:var(--surface);border-radius:16px;width:min(100%,420px);min-width:0;max-width:100%;padding:28px;position:relative;overflow-x:hidden;box-shadow:0 24px 80px #f1f8f4}.modal-close{border-radius:7px;width:30px;height:30px;position:absolute;top:16px;right:16px}.modal-close:hover{background:#f5f7f9}.modal-icon{border-radius:11px;place-items:center;width:40px;height:40px;margin-bottom:15px;display:grid}.modal-icon.teal{color:var(--teal);background:var(--teal-soft)}.modal-icon.amber{color:#a66a13;background:var(--amber-soft)}.modal-card h2{font-size:21px}.modal-card>p{color:var(--muted);margin:8px 0 19px;font-size:12px;line-height:1.55}.connection-detail{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;gap:14px;padding:12px 0;font-size:11px;display:flex}.connection-detail strong{color:var(--ink);text-align:right;font-weight:650}.primary-button.full{width:100%;margin-top:11px}.sync-form{border-top:1px solid var(--line);gap:8px;margin-top:16px;padding-top:15px;display:grid}.sync-form>strong{color:var(--ink);font-size:12px}.sync-form>span{color:var(--muted);font-size:10px;line-height:1.45}.sync-form label{color:#64748b;flex-direction:column;gap:5px;font-size:11px;font-weight:700;display:flex}.sync-form input{border:1px solid var(--line);width:100%;color:var(--ink);border-radius:7px;outline:0;padding:9px 10px;font-size:12px}.sync-form input:focus{border-color:#1e5b91;box-shadow:0 0 0 3px #fff}.modal-footnote{color:#64748b;justify-content:center;align-items:center;gap:5px;margin-top:15px;font-size:10px;display:flex}.new-bill-modal label{color:#64748b;flex-direction:column;gap:5px;margin-bottom:12px;font-size:11px;font-weight:700;display:flex}.new-bill-modal input{border:1px solid var(--line);width:100%;color:var(--ink);border-radius:7px;outline:0;padding:9px 10px;font-size:12px}.new-bill-modal input:focus{border-color:#1e5b91;box-shadow:0 0 0 3px #fff}.form-row{grid-template-columns:1fr 1fr;gap:10px;display:grid}.toast{z-index:100;color:#fff;box-shadow:var(--shadow);background:#f5f7f9;border-radius:9px;align-items:center;gap:8px;padding:11px 14px;font-size:12px;animation:.22s both toast-in;display:flex;position:fixed;bottom:24px;right:28px}.toast svg{color:#1e5b91}@keyframes toast-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media (max-width:1050px){.sidebar{flex-basis:214px;width:214px}.topbar,.content-scroll{padding-left:24px;padding-right:24px}.upcoming-grid{grid-template-columns:1fr}.upcoming-main{min-height:130px}}@media (max-width:760px){.sidebar{display:none}.topbar{padding:0 18px}.mobile-menu{display:grid}.content-scroll{padding:24px 16px 44px}.page-heading{flex-direction:column;align-items:flex-start;gap:16px}.page-heading .primary-button{width:100%}.connection-banner{flex-wrap:wrap;align-items:flex-start}.connection-copy{min-width:calc(100% - 48px)}.connection-banner .text-button{margin-left:46px}.summary-grid{grid-template-columns:1fr}.summary-card{min-height:112px}.section-row,.ledger-heading,.statement-heading{flex-direction:column;align-items:flex-start}.ghost-button{padding:0}.ledger-actions{width:100%}.search-box{flex:1;min-width:0}.filter-button{padding:0 9px}.filter-row{flex-wrap:wrap}.tab-row{flex-wrap:wrap;gap:14px;overflow-x:hidden}.period-control{display:none}.upcoming-main{grid-template-columns:1fr;gap:14px}.upcoming-total{border-right:0;border-bottom:1px solid var(--line);padding:0 0 13px}.bar-chart{width:100%}.ledger-section,.statement-section{padding-left:13px;padding-right:13px}.table-footer{flex-direction:column;align-items:flex-start;gap:10px}.toast{justify-content:center;bottom:16px;left:16px;right:16px}}.statement-section{background:var(--surface);border:1px solid var(--line);border-radius:13px;margin-top:27px;padding:20px 20px 0}.statement-heading{justify-content:space-between;align-items:center;gap:20px;display:flex}.statement-table{min-width:0!important}.statement-table td small{padding-left:0}.movement-type{border-radius:5px;padding:5px 7px;font-size:10px;font-weight:700;display:inline-block}.movement-type.credit{color:#177653;background:#f5f7f9}.movement-type.debit{color:#b64050;background:#fff1f3}.movement-type.neutral{color:#64748b;background:#f5f7f9}.statement-table .amount-cell.credit{color:#177653}.statement-table .amount-cell.debit{color:#b64050}.statement-empty{color:var(--muted);text-align:center;flex-direction:column;align-items:center;gap:7px;padding:36px 20px 40px;display:flex}.statement-empty svg{color:var(--teal)}.statement-empty strong{color:var(--ink);font-size:13px}.statement-empty span{font-size:11px}.secondary-button{color:var(--teal-deep);background:var(--teal-soft);border:1px solid #dfe5ec;border-radius:9px;justify-content:center;align-items:center;gap:7px;padding:10px 15px;font-size:13px;font-weight:700;display:inline-flex}.secondary-button:hover{background:#dfe5ec}.primary-button:disabled,.secondary-button:disabled{cursor:wait;opacity:.65}.subpage-grid{grid-template-columns:1fr 1fr;gap:14px;margin-top:27px;display:grid}.panel-card{background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:20px}.full-panel{margin-top:14px;padding-bottom:0}.panel-heading{justify-content:space-between;align-items:center;gap:14px;display:flex}.metric-pair{grid-template-columns:1fr 1fr;gap:14px;margin-top:24px;display:grid}.metric-pair div,.flow-metrics .panel-card{flex-direction:column;gap:8px;display:flex}.metric-pair span,.flow-metrics span,.flow-bars span{color:var(--muted);font-size:11px}.metric-pair strong,.flow-metrics strong{letter-spacing:-.04em;font-size:22px}.quick-actions{gap:8px;margin-top:20px;display:grid}.quick-actions button{border:1px solid var(--line);color:var(--teal-deep);text-align:left;background:#fff;border-radius:8px;align-items:center;gap:9px;padding:10px;font-size:12px;font-weight:700;display:flex}.quick-actions button:hover{background:var(--teal-soft);border-color:#1e5b91}.account-hero{background:linear-gradient(135deg, #fff, var(--surface));border:1px solid #dfe5ec;border-radius:13px;justify-content:space-between;align-items:center;gap:20px;margin-top:27px;padding:22px;display:flex}.account-hero>div:first-child{flex-direction:column;gap:5px;display:flex}.account-hero>div:first-child strong{font-size:17px}.account-balance{text-align:right}.account-balance span{color:var(--muted);font-size:11px;display:block}.account-balance strong{color:var(--teal-deep);letter-spacing:-.05em;margin-top:5px;font-size:25px;display:block}.count-badge,.setting-status{color:var(--teal-deep);background:var(--teal-soft);white-space:nowrap;border-radius:20px;padding:5px 9px;font-size:10px;font-weight:700}.flow-metrics{grid-template-columns:repeat(3,1fr);gap:14px;margin-top:27px;display:grid}.flow-bars{gap:17px;margin-top:22px;display:grid}.flow-bars>div{grid-template-columns:100px 1fr 110px;align-items:center;gap:12px;display:grid}.flow-bars strong{text-align:right;font-size:12px}.flow-track{background:#f5f7f9;border-radius:20px;height:14px;overflow:hidden}.flow-track i{border-radius:inherit;height:100%;display:block}.flow-in{background:#1e5b91}.flow-out{background:#7663b0}.category-add{gap:8px;display:flex}.category-add input{border:1px solid var(--line);border-radius:8px;outline:0;width:170px;padding:9px 10px;font-size:12px}.category-add input:focus{border-color:#1e5b91;box-shadow:0 0 0 3px #fff}.category-grid{grid-template-columns:repeat(4,1fr);gap:10px;margin-top:20px;display:grid}.category-card{border:1px solid var(--line);text-align:left;background:#fff;border-radius:10px;flex-direction:column;align-items:flex-start;gap:8px;min-width:0;min-height:100px;padding:13px;display:flex}.category-card .category-badge{overflow-wrap:anywhere;white-space:normal;max-width:100%}.category-card .editor-label,.category-card input{width:100%;min-width:0}.category-actions{flex-wrap:wrap;gap:8px;margin-top:auto;display:flex}.category-actions button{white-space:normal}.category-card:hover{background:var(--teal-soft);border-color:#1e5b91}.category-card strong{letter-spacing:-.04em;font-size:22px}.category-card small{color:var(--muted);font-size:10px}.settings-panel{margin-top:27px;padding:0 20px}.setting-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:18px;padding:18px 0;display:flex}.setting-row:last-child{border-bottom:0}.setting-row>div{flex-direction:column;gap:5px;display:flex}.setting-row strong{font-size:13px}.setting-row span{color:var(--muted);font-size:11px}.setting-status{background:var(--teal-soft);color:#177653!important}.danger-row strong{color:#b64050}.danger-button{color:#b64050;white-space:nowrap;background:#fff1f3;border:1px solid #dfb7bf;border-radius:8px;padding:9px 11px;font-size:11px;font-weight:700}@media (max-width:760px){.subpage-grid,.flow-metrics,.category-grid{grid-template-columns:1fr}.account-hero{flex-direction:column;align-items:flex-start}.account-balance{text-align:left}.flow-bars>div{grid-template-columns:80px 1fr}.flow-bars strong{text-align:left;grid-column:2}.category-add{width:100%}.category-add input{flex:1}.setting-row{flex-direction:column;align-items:flex-start}.setting-row .secondary-button,.setting-row .danger-button{align-self:flex-start}}.movement-toolbar{border-top:1px solid var(--line);align-items:center;gap:8px;margin:18px 0 2px;padding-top:16px;display:flex}.movement-toolbar .search-box{flex:1;max-width:420px}.movement-toolbar select,.editor-label select{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:8px;outline:0;padding:9px 30px 9px 10px;font-size:11px}.movement-toolbar select:focus,.editor-label select:focus{border-color:#1e5b91;box-shadow:0 0 0 3px #fff}.movement-period-inputs input{border:1px solid var(--line);background:var(--surface);min-width:132px;color:var(--ink);font:inherit;border-radius:8px;outline:0;padding:8px}.movement-period-inputs{align-items:center;gap:6px;display:flex}.movement-period-inputs label{color:var(--muted);align-items:center;gap:5px;font-size:11px;font-weight:600;display:flex}.movement-period-inputs input{border:1px solid var(--line);min-width:132px;color:var(--ink);font:inherit;background:#fff;border-radius:8px;outline:0;padding:8px}.movement-period-inputs input:focus{border-color:#177653;box-shadow:0 0 0 3px #eef8f2}.movement-period-separator{color:var(--muted);font-size:11px}.row-actions{justify-content:flex-end;align-items:center;gap:6px;display:flex}.row-edit{width:30px;height:30px}.editor-modal{width:min(100%,480px)}.editor-label{color:#64748b;flex-direction:column;gap:5px;margin-top:13px;font-size:11px;font-weight:700;display:flex}.editor-label input{border:1px solid var(--line);width:100%;color:var(--ink);border-radius:7px;outline:0;padding:10px;font-size:12px}.editor-label input:focus{border-color:#1e5b91;box-shadow:0 0 0 3px #fff}.category-create-row{align-items:center;gap:8px;margin-top:9px;display:flex}.category-create-row input{border:1px solid var(--line);min-width:0;color:var(--ink);border-radius:7px;outline:0;flex:1;padding:9px 10px;font-size:11px}.category-create-row input:focus{border-color:#1e5b91;box-shadow:0 0 0 3px #fff}.category-create-row .secondary-button{padding:8px 10px;font-size:11px}.editor-actions{justify-content:flex-end;gap:8px;margin-top:22px;display:flex}.editor-actions .secondary-button,.editor-actions .primary-button{padding:9px 13px;font-size:11px}.secondary-button.full{width:100%;margin-top:11px}.heading-actions{align-items:center;gap:8px;display:flex}.movement-months{gap:18px;margin-top:18px;display:grid}.movement-month{border:1px solid var(--line);border-radius:10px;overflow:hidden}.movement-month-heading{border-bottom:1px solid var(--line);background:#fff;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.movement-month-heading h3{color:var(--teal-deep);text-transform:capitalize;font-size:13px}.movement-month-heading span{color:var(--muted);font-size:10px}.movement-month .table-wrap table{min-width:0}.movement-month .table-wrap th{padding-top:12px}.movement-month .table-wrap td{padding-top:11px;padding-bottom:11px}.auth-shell{background:linear-gradient(145deg,#fff,#fff 52%,#fff);place-items:center;min-height:100vh;padding:24px;display:grid}.auth-card{background:var(--surface);border:1px solid #dfe5ec;border-radius:18px;width:min(100%,420px);padding:32px;box-shadow:0 24px 70px #f1f8f4}.auth-card .brand-mark{margin-bottom:22px}.auth-card h1{color:var(--teal-deep);letter-spacing:-.05em;margin-top:8px;font-size:28px}.auth-card>p{color:var(--muted);margin:9px 0 20px;font-size:12px;line-height:1.6}.auth-message{color:#b64050;background:#fff1f3;border:1px solid #dfb7bf;border-radius:8px;margin-top:13px;padding:10px;font-size:11px;line-height:1.45}.auth-switch{width:100%;color:var(--teal-deep);background:0 0;border:0;padding:12px 0 0;font-size:11px;font-weight:700;display:block}@media (max-width:760px){.heading-actions{width:100%}.heading-actions button{flex:1}.movement-toolbar{flex-direction:column;align-items:stretch}.movement-toolbar .search-box{max-width:none}.movement-toolbar select,.movement-period-inputs{width:100%}.movement-period-inputs label{flex:1}.movement-period-inputs input{width:100%;min-width:0}.editor-actions{justify-content:stretch}.editor-actions button{flex:1}}.overview-heading-actions{flex-wrap:wrap}@media (max-width:760px){.overview-heading-actions{flex-direction:column;align-items:stretch;width:100%}.overview-period-toolbar{flex-wrap:wrap;align-items:flex-start}.overview-period-toolbar select{flex:1;min-width:180px}.overview-custom-range{flex-wrap:wrap;justify-content:stretch}.overview-custom-range label{flex:1;min-width:130px}}.bill-row-downloaded,.bill-row-downloaded .due-date,.bill-row-downloaded td small,.bill-row-downloaded .supplier,.bill-row-downloaded .description,.bill-row-downloaded .category-badge,.bill-row-downloaded .account-label,.bill-row-downloaded .amount-cell strong,.bill-row-downloaded .status-label{color:#dfe5ec}.bill-row-paid,.bill-row-paid .due-date,.bill-row-paid td small,.bill-row-paid .supplier,.bill-row-paid .description,.bill-row-paid .category-badge,.bill-row-paid .account-label,.bill-row-paid .amount-cell strong,.bill-row-paid .status-label{color:#177653}.bill-row-paid .supplier{-webkit-text-decoration:line-through #1e5b91;text-decoration:line-through #1e5b91}.bill-row-overdue,.bill-row-overdue .due-date,.bill-row-overdue td small,.bill-row-overdue .supplier,.bill-row-overdue .description,.bill-row-overdue .category-badge,.bill-row-overdue .account-label,.bill-row-overdue .amount-cell strong,.bill-row-overdue .status-label,.status-label.overdue{color:#b64050}.client-panel{margin-top:27px;padding:20px}.client-list-toolbar{align-items:center;gap:10px;margin-top:14px;display:flex}.client-search-box{flex:1;min-width:220px}.client-list{border-top:1px solid var(--line);flex-direction:column;margin-top:18px;display:flex}.client-card{border:0;border-bottom:1px solid var(--line);background:0 0;border-radius:0;align-items:center;gap:11px;padding:13px;display:flex}.client-avatar{width:38px;height:38px;color:var(--teal-deep);background:var(--teal-soft);border-radius:10px;flex:0 0 38px;place-items:center;font-size:11px;font-weight:800;display:grid}.client-card-copy{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.client-card-copy strong{overflow-wrap:anywhere;white-space:normal;font-size:12px}.client-card-copy span,.client-card-copy small{color:var(--muted);font-size:10px}.client-card-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.client-card .secondary-button{padding:8px 10px;font-size:10px}.client-card-copy small.address-limit-error{color:#b64050;font-weight:700}.user-list{margin-top:18px}.user-badges{justify-content:flex-end;align-items:center;gap:7px;display:flex}.current-user-badge{border:1px solid var(--line);color:var(--muted);white-space:nowrap;border-radius:20px;padding:5px 9px;font-size:10px;font-weight:700}.fixed-role-row{background:var(--teal-soft);color:var(--teal-deep);border:1px solid #dfe5ec;border-radius:10px;align-items:flex-start;gap:10px;margin-top:16px;padding:12px;display:flex}.fixed-role-row>div{flex-direction:column;gap:3px;display:flex}.fixed-role-row strong{font-size:12px}.fixed-role-row span{color:var(--muted);font-size:10px;line-height:1.4}.associate-fee-fields{border:1px solid var(--line);background:#fff;border-radius:11px;gap:10px;margin-top:14px;padding:13px;display:grid}.associate-fee-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.associate-fee-heading>div{flex-direction:column;gap:3px;display:flex}.associate-fee-heading strong{font-size:12px}.associate-fee-heading span{color:var(--muted);font-size:10px}.fee-total{background:var(--teal-soft);color:var(--teal-deep);border-radius:20px;flex:none;padding:5px 8px;font-size:10px;font-weight:750}.fee-total.invalid,.fee-validation-message{color:#b64050}.fee-total.invalid{background:#fff1f3}.associate-fee-row{grid-template-columns:minmax(0,1fr) 110px 30px;align-items:end;gap:8px;display:grid}.associate-fee-row .editor-label{margin-top:0}.remove-fee-button{width:30px;height:34px;margin-bottom:1px}.add-fee-button{justify-self:start}.fee-validation-message{font-size:10px;line-height:1.4}.billing-modal{width:min(100%,620px);max-height:min(90vh,760px);overflow-y:auto}.billing-form-grid{grid-template-columns:1fr 1fr;gap:0 10px;display:grid}.billing-span-2{grid-column:span 2}.billing-modal .editor-label select{width:100%}.postal-code-status{min-height:13px;color:var(--muted);font-size:10px;font-weight:600}.postal-code-status.found{color:var(--teal)}.postal-code-status.not-found,.postal-code-status.error{color:#b64050}.billing-confirmation{color:#64748b;background:#fff;border-radius:8px;align-items:center;gap:8px;margin-top:17px;padding:10px 11px;font-size:10px;display:flex}.billing-confirmation svg{color:var(--teal);flex:none}.row-actions button:disabled{cursor:wait;opacity:.55}.installment-preview{color:var(--muted);background:#fff;border-radius:8px;align-self:end;margin-bottom:13px;padding:10px 11px;font-size:10px}.danger-icon{color:#b64050;background:#fff1f3}.lawyer-picker-panel{margin-top:27px;padding:18px 20px}.lawyer-picker-panel .editor-label{max-width:430px;margin:0}.lawyer-picker-panel select{width:100%}.lawyer-empty-panel{margin-top:27px}.fee-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px;display:grid}.fee-card{border-top:3px solid #1e5b91;flex-direction:column;gap:6px;padding:18px;display:flex}.fee-card-receivable{border-top-color:var(--teal)}.fee-card-overdue{border-top-color:#b64050}.fee-card>span,.fee-card>small{color:var(--muted);font-size:10px}.fee-card>strong{color:var(--ink);font-size:20px}.fee-ledger-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px;display:grid}.fee-ledger{min-width:0;padding:17px}.fee-ledger .panel-heading h2{font-size:13px}.fee-entry-list{flex-direction:column;gap:8px;margin-top:14px;display:flex}.fee-entry{border:1px solid var(--line);background:#fff;border-radius:8px;justify-content:space-between;gap:10px;padding:10px;display:flex}.fee-entry>div{flex-direction:column;gap:3px;min-width:0;display:flex}.fee-entry strong{text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.fee-entry span,.fee-empty{color:var(--muted);font-size:9px}.fee-entry-value{text-align:right;flex:none}.fee-entry-rate{justify-content:flex-end;align-items:center;gap:5px;display:flex}.fee-entry-rate .icon-button{border-radius:6px;width:23px;height:23px}.fee-empty{text-align:center;background:#fff;border-radius:8px;margin-top:14px;padding:18px 10px}@media (max-width:760px){.billing-form-grid,.fee-summary-grid,.fee-ledger-grid{grid-template-columns:1fr}.client-list-toolbar{flex-direction:column;align-items:stretch}.client-search-box{width:100%;min-width:0}.billing-span-2{grid-column:span 1}.client-card{flex-wrap:wrap;align-items:flex-start}.client-card-copy{min-width:calc(100% - 50px)}.client-card-actions{width:100%}.user-badges{justify-content:flex-start;width:100%}.associate-fee-row{grid-template-columns:1fr 90px 30px}.client-card .secondary-button{flex:1}}body{font-family:Inter,Avenir Next,Segoe UI,sans-serif}.sidebar{flex-basis:236px;width:236px;padding-top:25px}.brand-mark{color:var(--teal);box-shadow:none;background:#f5f7f9;border:1px solid #dfe5ec}.brand-name .brand-accent{color:#64748b;margin-top:4px;font-weight:500}.brand-lockup{gap:12px}.workspace-picker{border-color:var(--line);border-radius:8px;margin-bottom:20px}.nav-item{color:#64748b;border-radius:7px;min-height:42px}.nav-item.active{color:var(--teal);box-shadow:inset 3px 0 var(--teal);background:#f5f7f9}.nav-item:hover{color:#253447}.nav-section-spaced{margin-top:18px}.topbar{flex-basis:64px;height:64px}.help-card{display:none}.profile-row{border-top:1px solid var(--line);padding-top:18px}.primary-button{color:#253447;box-shadow:none;background:#1e5b91;border:1px solid #1e5b91}.primary-button:hover{background:#1e5b91}.secondary-button,.ghost-button,.text-button{color:#253447}.secondary-button:hover{background:var(--surface-raised);color:#253447}.summary-card,.panel-card,.upcoming-main,.attention-card,.ledger-section{box-shadow:none;border-radius:9px}.summary-card.highlight{background:var(--surface);border-color:#dfe5ec}.summary-card>strong,.account-balance>strong,.fee-card>strong,.amount-cell{font-variant-numeric:tabular-nums}.card-top{color:#253447}.live-dot{background:#177653;box-shadow:0 0 0 3px #eef8f2}.notification-dot{border-color:var(--paper)}.modal-backdrop{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#030810c2}.modal-card{border:1px solid #dfe5ec;max-height:90dvh;overflow-y:auto;box-shadow:0 24px 80px #0008}input,select,textarea{color:var(--ink);accent-color:var(--teal)}input::placeholder{color:#718096}button:disabled{opacity:.5;cursor:not-allowed;transform:none}:is(button:focus-visible,input:focus-visible,select:focus-visible){outline:2px solid var(--teal);outline-offset:3px}.toast{color:#253447;background:#f5f7f9;border:1px solid #dfe5ec}.fee-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.fee-ledger-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fee-entry{background:#fff;align-items:center;padding:14px}.fee-entry strong{font-size:12px}.fee-entry span,.fee-empty{font-size:11px}.fee-entry .fee-lawyer-name{color:#253447;margin-top:3px}.fee-entry .fee-paid-date{color:#177653}.fee-entry-value{gap:7px!important}.fee-settle-button{color:#1e5b91;background:#f5f7f9;border:1px solid #dfe5ec;border-radius:6px;justify-content:center;align-items:center;gap:5px;padding:6px 9px;font-size:11px;display:inline-flex}.fee-settle-button.settled{color:#64748b;border-color:var(--line);background:0 0}.fee-card:has(.fee-settle-button.settled){border-top-color:#177653}.danger-button{color:#b64050;background:#fff1f3;border:1px solid #dfb7bf;border-radius:8px;justify-content:center;align-items:center;padding:10px 14px;font-weight:650;display:inline-flex}.danger-button:hover{background:#fff1f3}.danger-icon{color:#b64050!important}.movement-fee-hint{color:#1e5b91;align-items:center;gap:4px;margin-top:4px;font-size:10px;display:flex}.statement-table th:last-child{width:88px}.row-actions{gap:4px}.cashflow-chart{margin-top:24px}.cashflow-chart svg{width:100%;height:190px;display:block;overflow:visible}.cashflow-legend{color:var(--muted);justify-content:flex-end;gap:16px;margin-bottom:10px;font-size:11px;display:flex}.cashflow-legend span{align-items:center;gap:6px;display:flex}.cashflow-legend i{background:#1e5b91;border-radius:50%;width:7px;height:7px}.cashflow-legend span:last-child i{background:#7663b0}@media (max-width:1100px){.fee-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:760px){.content-scroll{padding:24px 16px 40px}.fee-ledger-grid,.fee-summary-grid{grid-template-columns:1fr}.sidebar.mobile-open{z-index:60;width:236px;min-height:0;display:flex;position:fixed;inset:64px auto 0 0;overflow-y:auto;box-shadow:20px 0 80px #000a}.movement-toolbar{align-items:stretch}.fee-entry{gap:8px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:0s!important;animation-duration:0s!important}}.overview-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.overview-summary .summary-card{min-height:138px;padding:18px}.overview-summary .summary-card>strong{font-size:clamp(18px,2vw,28px)}.mini-icon.rose{color:#b64050;background:#fff1f3}@media (max-width:1100px){.overview-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:580px){.overview-summary{grid-template-columns:1fr}}.finance-confirmation{color:var(--ink);width:min(480px,100vw - 32px);margin:auto}.finance-confirmation::backdrop{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#030810c2}input:not([type=checkbox]):not([type=radio]),select,textarea{background:#fff}.search-box input{background:0 0}.fee-entry-list{scrollbar-gutter:stable;max-height:430px;padding-right:4px;overflow-y:auto}.fee-entry>div:first-child{flex:1}.fee-entry .fee-lawyer-name{white-space:normal;line-height:1.4}.fee-ledger{align-self:start}.bill-row-downloaded,.bill-row-downloaded .due-date,.bill-row-downloaded td small,.bill-row-downloaded .supplier,.bill-row-downloaded .description,.bill-row-downloaded .category-badge,.bill-row-downloaded .account-label,.bill-row-downloaded .amount-cell strong,.bill-row-downloaded .status-label{color:#718096}@media (max-width:580px){.statement-table th{letter-spacing:0;padding-left:3px;padding-right:3px;font-size:7px}.statement-table td{padding-left:3px;padding-right:3px}.statement-table th:last-child{width:58px}.statement-table .row-actions .icon-button{width:24px;height:28px}.statement-table .movement-type,.statement-table .category-badge{padding-left:3px;padding-right:3px}}.sidebar{background:#fff;flex-basis:250px;width:250px;padding:26px 18px 20px}.brand-lockup{gap:12px;margin-bottom:40px;padding:0 10px}.brand-mark{background:0 0;border:0;border-radius:0;width:38px;height:35px;font-family:Georgia,serif;position:relative}.monogram-c{color:#1e5b91;font-size:42px;font-weight:400;position:absolute;top:-8px;left:0}.monogram-m{color:#253447;font-size:25px;font-weight:400;position:absolute;top:3px;left:13px}.brand-name>span:first-child{font-size:19px;font-weight:600}.brand-accent{color:#64748b;font-size:11px}.nav-section-label{display:none}.side-nav{gap:9px}.nav-item{border-radius:6px;min-height:44px;padding:0 15px;font-size:14px}.nav-item.active{color:#1e5b91;background:#edf1f5;box-shadow:inset 3px 0 #1e5b91}.nav-count{display:none}.topbar{background:#fff;padding:0 28px}.content-scroll{max-width:1640px;padding:26px 28px 40px}.overview-dashboard .page-heading{align-items:center;margin-bottom:25px}.overview-dashboard h1{letter-spacing:-.7px;margin:0 0 7px;font-size:27px}.overview-dashboard .page-heading p{color:#64748b;margin:0;font-size:13px}.overview-heading-actions{align-items:center;gap:12px;display:flex}.dashboard-period{color:#253447;background:#fff;border:1px solid #dfe5ec;border-radius:6px;align-items:center;gap:9px;height:38px;padding:0 12px;display:flex}.dashboard-period select{color:#253447;text-transform:capitalize;background:0 0;border:0;outline:none;max-width:180px;font-size:12px}.overview-dashboard .primary-button{border-radius:6px;height:38px;min-height:38px;padding:0 15px;font-size:12px}.dashboard-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:20px;display:grid}.dashboard-stat{background:linear-gradient(110deg,#f5f7f9,#fff);border:1px solid #dfe5ec;border-radius:8px;align-items:center;gap:13px;min-width:0;height:96px;padding:17px;display:flex;position:relative}.dashboard-stat>div{min-width:0}.dashboard-stat>div>span{color:#253447;margin-bottom:9px;font-size:12px;display:block}.dashboard-stat strong{letter-spacing:-.5px;white-space:nowrap;font-size:clamp(17px,1.55vw,25px);font-weight:600;display:block}.stat-circle{background:#f5f7f9;border-radius:50%;flex:0 0 41px;place-items:center;height:41px;display:grid}.cyan{color:#1e5b91}.green{color:#177653}.red{color:#b64050}.stat-circle.green{background:#eef8f2}.stat-circle.red{background:#fff1f3}.stat-corner{opacity:.7;width:13px;position:absolute;top:16px;right:13px}.dashboard-middle{grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:20px;margin-bottom:20px;display:grid}.overview-dashboard .panel-card{background:#fff;border:1px solid #dfe5ec;border-radius:8px;min-width:0;padding:20px}.overview-dashboard .panel-heading{align-items:center;gap:8px;margin-bottom:14px}.overview-dashboard h2{letter-spacing:-.2px;margin:0;font-size:15px;font-weight:600}.overview-dashboard .ghost-button{color:#64748b;gap:4px;padding:0;font-size:11px}.dashboard-flow,.dashboard-due{height:316px}.dashboard-flow .section-caption{font-size:10px}.dashboard-flow .cashflow-chart{height:247px;margin:0;padding-top:24px;position:relative}.dashboard-flow .cashflow-legend{gap:18px;margin:0;font-size:10px;position:absolute;top:0;right:0}.dashboard-flow .cashflow-chart svg{width:100%;height:217px}.dashboard-flow .statement-empty{min-height:220px}.dashboard-due-list{flex-direction:column;display:flex}.dashboard-due-row{text-align:left;color:#253447;cursor:pointer;background:0 0;border:0;border-bottom:1px solid #dfe5ec;align-items:center;gap:12px;width:100%;padding:19px 0;display:flex}.dashboard-due-row:last-child{border-bottom:0}.due-calendar{text-align:center;background:#f5f7f9;border:1px solid #dfe5ec;border-radius:5px;flex-direction:column;flex:0 0 41px;justify-content:center;height:46px;display:flex}.due-calendar strong{font-size:18px;font-weight:600}.due-calendar>span{text-transform:uppercase;color:#718096;margin-top:3px;font-size:9px}.due-detail{flex:1;min-width:0}.due-detail>strong{margin-bottom:5px;font-size:12px;display:block}.due-detail>span{color:#64748b;font-size:10px;display:block}.due-detail small{color:#718096;margin-top:4px;font-size:9px;display:block}.due-value{text-align:right;flex:none}.due-value>strong{margin-bottom:9px;font-size:12px;display:block}.dashboard-status{color:#253447;white-space:nowrap;background:#dfe5ec;border-radius:20px;align-items:center;padding:4px 9px;font-size:10px;font-weight:400;display:inline-flex}.dashboard-status.pendente{color:#a66a13;background:#fff8ec}.dashboard-status.pago{color:#177653;background:#eef8f2}.dashboard-status.vencido{color:#b64050;background:#fff1f3}.overview-dashboard .dashboard-wallet{padding:19px 20px 0}.wallet-tools{align-items:center;gap:9px;display:flex}.dashboard-search{color:#718096;background:#fff;border:1px solid #dfe5ec;border-radius:5px;align-items:center;gap:8px;height:31px;padding:0 10px;display:flex}.dashboard-search input{color:#253447;background:0 0;border:0;outline:none;width:205px;min-width:0;font-size:10px}.wallet-tools .icon-button{width:33px;height:31px}.dashboard-tabs{border-bottom:1px solid #dfe5ec;gap:23px;margin-top:12px;display:flex}.dashboard-tabs button{color:#64748b;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;padding:0 0 12px;font-size:11px}.dashboard-tabs button.active{color:#1e5b91;border-bottom-color:#1e5b91}.dashboard-wallet .table-wrap{overflow:hidden}.dashboard-wallet table{table-layout:fixed;border-collapse:collapse;width:100%;min-width:0}.dashboard-wallet th{color:#64748b;text-transform:none;letter-spacing:0;background:0 0;padding:13px 9px;font-size:10px;font-weight:400}.dashboard-wallet td{white-space:nowrap;border-top:1px solid #dfe5ec;height:48px;padding:12px 9px;font-size:11px}.dashboard-wallet td:first-child,.dashboard-wallet th:first-child{padding-left:0}.dashboard-wallet td:last-child,.dashboard-wallet th:last-child{padding-right:0}.dashboard-wallet .payer-name{color:#253447;font-size:11px}.dashboard-wallet .icon-button{width:24px;height:24px}.dashboard-wallet-footer{color:#718096;border-top:1px solid #dfe5ec;justify-content:space-between;align-items:center;padding:11px 0;font-size:10px;display:flex}.dashboard-empty{text-align:center;color:#64748b;height:100px!important}@media (min-width:1450px){.dashboard-flow,.dashboard-due{height:330px}.dashboard-flow .cashflow-chart{height:261px}.dashboard-flow .cashflow-chart svg{height:231px}}@media (max-width:1100px){.sidebar{flex-basis:210px;width:210px}.dashboard-stats{gap:10px}.dashboard-stat{gap:8px;padding:13px 10px}.stat-circle{flex-basis:31px;height:31px}.stat-circle svg{width:18px}.dashboard-stat>div>span{font-size:10px}.dashboard-stat strong{font-size:17px}.dashboard-middle{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:14px}.overview-dashboard .panel-card{padding:16px}.due-value>strong{font-size:10px}.dashboard-due-row{gap:8px}}@media (max-width:900px){.dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-middle{grid-template-columns:1fr}.dashboard-due{height:auto}.dashboard-due-row{padding:14px 0}.dashboard-stat strong{font-size:23px}.overview-dashboard .page-heading{align-items:flex-start}.overview-heading-actions{flex-wrap:wrap;justify-content:flex-end}}@media (max-width:580px){.content-scroll{padding:20px 14px 30px}.topbar{padding:0 14px}.overview-dashboard .page-heading{flex-direction:column;gap:16px}.overview-heading-actions{justify-content:flex-start}.dashboard-stat{height:86px}.dashboard-stat strong{font-size:19px}.wallet-tools{width:100%}.dashboard-wallet .panel-heading{flex-wrap:wrap;gap:14px}.dashboard-search{flex:1}.dashboard-search input{width:100%}.dashboard-wallet td,.dashboard-wallet th{padding:10px 3px;font-size:9px}.dashboard-wallet .payer-name{font-size:10px}.dashboard-status{padding:3px 4px;font-size:8px}.dashboard-wallet .icon-button{width:18px}.dashboard-wallet .icon-button svg{width:14px}.dashboard-tabs{gap:22px}}.topbar-search{color:#718096;background:#fff;border:1px solid #dfe5ec;border-radius:5px;align-items:center;gap:9px;width:260px;height:31px;padding:0 11px;display:flex}.topbar-search input{color:#253447;background:0 0;border:0;outline:none;width:100%;min-width:0;font-size:10px}@media (max-width:760px){.topbar-search{display:none}}.side-nav{flex:1}.side-nav .nav-item:nth-last-child(2){margin-top:auto}.sidebar-bottom{margin-top:20px}@media (min-width:761px){.sidebar{align-self:flex-start;height:100vh;position:sticky;top:0}}.due-detail>strong,.due-detail>span{width:100%}.cashflow-toolbar{flex-wrap:wrap}.cashflow-toolbar .search-box{min-width:180px}.cashflow-dates{margin:16px 0}.cashflow-table-wrap{width:100%;margin-top:20px}.cashflow-table{table-layout:fixed;border-collapse:collapse;width:100%}.cashflow-table th,.cashflow-table td{border-bottom:1px solid var(--line);text-align:left;padding:14px 8px;overflow:hidden}.cashflow-table th{color:var(--muted);font-size:11px;font-weight:500}.cashflow-table td{font-size:12px}.cashflow-table .amount-cell{text-align:right}.cashflow-pagination,.cashflow-pagination>div{justify-content:space-between;align-items:center;gap:12px;display:flex}.cashflow-pagination{color:var(--muted);flex-wrap:wrap;margin-top:20px;font-size:11px}@media (max-width:600px){.cashflow-table th,.cashflow-table td{padding:12px 3px}.cashflow-table th{font-size:9px}.cashflow-pagination>div{width:100%}}.receivable-allocation-fields{border-top:1px solid var(--line);gap:14px;margin-top:20px;padding-top:18px;display:grid}.allocation-summary{color:var(--muted);flex-wrap:wrap;justify-content:space-between;gap:10px;font-size:11px;display:flex}.allocation-summary span{gap:5px;display:grid}.allocation-summary strong{color:var(--ink);font-size:15px}.allocation-add-row{align-items:flex-end;gap:10px;display:flex}.allocation-add-row .editor-label{flex:1;min-width:0}.allocation-add-row select{width:100%}.allocation-card{border:1px solid var(--line);background:var(--surface);border-radius:10px;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px;display:grid}.allocation-card>:not(.editor-label){grid-column:1/-1;min-width:0}.allocation-card>.editor-label{min-width:0}@media (max-width:600px){.allocation-card{grid-template-columns:minmax(0,1fr)}}.allocation-card-heading{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.allocation-card-heading>div{gap:5px;min-width:0;display:grid}.allocation-card-heading strong{font-size:13px}.allocation-card-heading span,.allocation-fee-value{color:var(--muted);font-size:11px}@media (max-width:600px){.allocation-add-row{flex-wrap:wrap}.allocation-add-row .editor-label{flex-basis:100%}}.reconciliation-modal{width:min(100%,720px)}.lawyer-management{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:16px;display:flex}.lawyer-management>span{color:var(--muted);overflow-wrap:anywhere;font-size:13px}.lawyer-actions{flex-wrap:wrap;gap:8px;display:flex}.portal-monogram{width:42px;height:42px;color:var(--teal);letter-spacing:-2px;background:#f5f7f9;border:1px solid #dfe5ec;border-radius:12px;flex-shrink:0;place-items:center;font:21px Georgia,serif;display:grid}.finance-role-badge,.portal-session>span{border:1px solid var(--line);white-space:nowrap;color:var(--muted);border-radius:6px;padding:6px 9px;font-size:10px}.finance-account-label{color:var(--ink);text-align:right;text-overflow:ellipsis;white-space:nowrap;max-width:240px;font-size:11px;overflow:hidden}.finance-account-label small{color:var(--muted);margin-top:3px;font-size:9px;display:block}.finance-mobile-nav,.portal-mobile-brand,.portal-mobile-records{display:none}.portal-toolbar{justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;display:flex}.portal-tabs{border:1px solid var(--line);background:#fff;border-radius:8px;gap:3px;max-width:max-content;padding:3px;display:flex}.portal-tabs button{color:var(--muted);background:0 0;border:0;border-radius:5px;padding:8px 13px;font-size:11px}.portal-tabs .active{color:var(--ink);background:#dfe5ec}.portal-period{align-items:center;gap:10px;display:flex}.portal-period select{border:1px solid var(--line);color:var(--ink);background:#f5f7f9;border-radius:8px;padding:10px 13px;font-size:11px}.portal-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px;display:grid}.portal-metric{border:1px solid var(--line);background:var(--surface);border-radius:10px;min-width:0;padding:18px}.portal-metric>span{color:var(--muted);font-size:11px}.portal-metric strong{letter-spacing:-.8px;font-variant-numeric:tabular-nums;white-space:nowrap;margin:13px 0 10px;font-size:25px;font-weight:600;display:block}.portal-metric small{color:var(--muted);font-size:10px;line-height:1.5;display:block}.portal-metric.awaiting{border-top-color:var(--teal)}.portal-metric.received strong{color:#177653}.portal-metric.overdue strong{color:var(--rose)}.portal-callout{background:#f5f7f9;border:1px solid #dfe5ec;border-radius:9px;justify-content:space-between;align-items:center;gap:18px;margin-bottom:20px;padding:16px 18px;display:flex}.portal-callout strong{margin-bottom:6px;font-size:12px;font-weight:550;display:block}.portal-callout p{color:#64748b;margin:0;font-size:11px;line-height:1.5}.portal-callout>b{color:var(--teal);white-space:nowrap;font-size:25px}.portal-middle{grid-template-columns:1.5fr 1fr;gap:18px;margin-bottom:20px;display:grid}.portal-title{justify-content:space-between;align-items:center;gap:10px;margin-bottom:16px;display:flex}.portal-title h2{margin:0;font-size:13px;font-weight:600}.portal-title span{color:var(--muted);font-size:10px}.portal-chart p,.portal-latest>p{color:var(--muted);font-size:11px}.portal-chart svg{width:100%;height:160px}.portal-chart text{fill:#718096;font-family:inherit;font-size:10px}.portal-latest button{border:0;border-top:1px solid var(--line);width:100%;color:var(--ink);text-align:left;background:0 0;justify-content:space-between;align-items:center;gap:10px;padding:16px 0;display:flex}.portal-latest strong{font-size:11px;font-weight:550;display:block}.portal-latest small{color:var(--muted);margin-top:6px;font-size:10px;display:block}.portal-latest b{white-space:nowrap;font-size:12px}.portal-desktop-table table{table-layout:fixed;border-collapse:collapse;width:100%}.portal-desktop-table th{color:var(--muted);text-align:left;border-block:1px solid var(--line);padding:12px 8px;font-size:10px;font-weight:400}.portal-desktop-table th:first-child{width:34%}.portal-desktop-table th:nth-child(2){width:11%}.portal-desktop-table th:nth-child(3){width:15%}.portal-desktop-table th:nth-child(4){width:25%}.portal-desktop-table td{border-bottom:1px solid var(--line);white-space:nowrap;text-overflow:ellipsis;padding:16px 8px;font-size:11px;overflow:hidden}.portal-desktop-table td strong{font-weight:550}.portal-desktop-table td small{color:var(--muted);text-overflow:ellipsis;margin-top:5px;font-size:9px;display:block;overflow:hidden}.portal-detail-button{color:var(--teal);white-space:nowrap;background:0 0;border:1px solid #dfe5ec;border-radius:6px;padding:6px 9px;font-size:10px}.portal-status{white-space:nowrap;color:#253447;background:#dfe5ec;border-radius:5px;align-items:center;padding:5px 7px;font-size:9px;display:inline-flex}.portal-status.awaiting{color:#1e5b91;background:#f5f7f9}.portal-status.received{color:#177653;background:#eef8f2}.portal-status.overdue{color:var(--rose);background:#fff1f3}.portal-note{color:var(--muted);margin-top:14px;font-size:10px;line-height:1.7}.portal-empty{text-align:center;place-items:center;gap:16px;padding:32px;display:grid}.portal-account p{color:var(--muted);font-size:12px}.portal-account dl,.portal-drawer dl{grid-template-columns:1fr 1fr;gap:0;margin:24px 0;display:grid}.portal-account dt,.portal-account dd,.portal-drawer dt,.portal-drawer dd{border-bottom:1px solid var(--line);margin:0;padding:16px 0;font-size:12px}.portal-account dt,.portal-drawer dt{color:var(--muted)}.portal-account dd,.portal-drawer dd{text-align:right}.portal-session{align-items:center;gap:14px;display:flex}.portal-signout{color:var(--muted);background:0 0;border:0}.portal-desktop-brand{color:var(--muted);font-size:12px}.portal-heading h1{letter-spacing:-.8px;font-size:27px;font-weight:650}.portal-drawer-backdrop{justify-content:flex-end;padding:0}.portal-drawer{border-left:1px solid var(--line);background:#fff;align-self:stretch;width:420px;max-width:100vw;max-height:100vh;padding:48px 30px;position:relative;overflow:auto}.portal-drawer h2{margin:22px 0 12px}.portal-drawer p{color:var(--muted);font-size:12px;line-height:1.7}.overview-profile-tabs{margin-bottom:20px}.finance-admin-shell .dashboard-stat{border-radius:10px;flex-direction:column;align-items:flex-start;gap:10px;height:auto;min-height:130px;padding:18px;display:flex;position:relative}.finance-admin-shell .dashboard-stat .stat-circle,.finance-admin-shell .stat-corner{display:none}.finance-admin-shell .dashboard-stat>div{flex-direction:column;gap:12px;display:flex}.finance-admin-shell .dashboard-stat strong{letter-spacing:-.8px;font-size:25px;font-weight:600}.finance-admin-shell .dashboard-stat small{color:var(--muted);font-size:10px}.finance-admin-shell .dashboard-stat:nth-child(3) strong{color:#177653}.finance-admin-shell .dashboard-stat:nth-child(4) strong{color:var(--amber)}.finance-admin-shell .dashboard-stat:first-child{border-top-color:var(--teal)}.finance-admin-shell .sidebar-bottom .help-card{display:none}.finance-admin-shell .brand-mark{background:#f5f7f9;border:1px solid #dfe5ec;border-radius:12px;width:42px;height:42px}.finance-admin-shell .monogram-c{font-size:26px;top:3px;left:4px}.finance-admin-shell .monogram-m{color:var(--teal);font-size:20px;top:11px;left:17px}.user-badges{flex-direction:column;align-items:flex-end;gap:8px;display:flex}.user-badges small{color:var(--muted);font-size:10px}.user-search{width:100%;margin:0 0 20px}.user-search input{width:100%}@media (max-width:1100px){.portal-metric strong{font-size:21px}.finance-account-label{display:none}.portal-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-middle{grid-template-columns:1.4fr 1fr}}@media (max-width:700px){.finance-mobile-nav{border-top:1px solid var(--line);min-height:72px;padding:8px 3px max(10px,env(safe-area-inset-bottom));z-index:25;background:#1b4d7df5;justify-content:space-around;align-items:center;display:flex;position:fixed;bottom:0;left:0;right:0}.finance-mobile-nav button{color:var(--muted);background:0 0;border:0;flex-direction:column;align-items:center;gap:7px;min-width:48px;font-size:9px;display:flex}.finance-mobile-nav button.active{color:var(--teal)}.finance-admin-shell .content-scroll,.portal-shell .content-scroll{padding:24px 19px 110px}.finance-role-badge{font-size:8px}.finance-admin-shell .topbar-search,.finance-admin-shell .topbar-actions>.icon-button[aria-label=Notificações]{display:none}.finance-admin-shell .topbar-actions{gap:9px}.portal-sidebar{display:none!important}.portal-mobile-brand{align-items:center;gap:9px;font-size:12px;font-weight:600;display:flex}.portal-mobile-brand small{color:var(--muted);font-size:9px;font-weight:400}.portal-mobile-brand .portal-monogram{border-radius:9px;width:33px;height:33px;font-size:17px}.portal-desktop-brand{display:none}.portal-topbar{padding:0 19px}.portal-session{gap:10px}.portal-session>span{padding:5px 7px;font-size:8px}.portal-heading h1{font-size:25px}.portal-heading p{font-size:11px;line-height:1.6}.portal-toolbar{flex-direction:column;align-items:stretch;gap:12px}.portal-tabs{max-width:none}.portal-tabs button{flex:1;padding:8px;font-size:10px}.portal-period{justify-content:space-between}.portal-period select{flex:1;min-width:0}.portal-metrics{gap:9px;margin-bottom:17px}.portal-metric{padding:14px}.portal-metric strong{margin:11px 0 9px;font-size:23px}.portal-metric>span{font-size:10px}.portal-metric small{font-size:9px}.portal-callout{gap:10px;padding:14px}.portal-callout>b{font-size:21px}.portal-callout strong{font-size:11px}.portal-callout p{font-size:10px}.portal-middle{grid-template-columns:1fr;gap:16px}.portal-latest{display:none}.portal-chart svg{height:117px}.portal-title h2{font-size:12px}.portal-desktop-table,.finance-admin-shell .dashboard-wallet>.table-wrap{display:none}.portal-mobile-records{display:block}.portal-mobile-records article{border-top:1px solid var(--line);padding:15px 0}.portal-mobile-records article>div{justify-content:space-between;align-items:center;gap:10px;display:flex}.portal-mobile-records strong{overflow-wrap:anywhere;font-size:12px;font-weight:550}.portal-mobile-records b{white-space:nowrap;font-size:14px;font-weight:600}.portal-mobile-records p{color:var(--muted);overflow-wrap:anywhere;margin:8px 0 10px;font-size:10px;line-height:1.7}.portal-mobile-records footer{justify-content:space-between;align-items:center;gap:10px;display:flex}.portal-mobile-records footer button{color:var(--teal);white-space:nowrap;background:0 0;border:0;font-size:10px}.portal-note{font-size:9px}.portal-drawer{padding:48px 22px}.finance-admin-shell .dashboard-stats{gap:9px}.finance-admin-shell .dashboard-stat{min-height:115px;padding:14px}.finance-admin-shell .dashboard-stat strong{font-size:23px}.finance-admin-shell .dashboard-stat small{font-size:9px}.finance-admin-shell .dashboard-middle{grid-template-columns:1fr}.finance-admin-shell .dashboard-due{display:none}.finance-admin-shell .overview-dashboard .page-heading{gap:16px}.finance-admin-shell .overview-dashboard .page-heading h1{font-size:25px}.finance-admin-shell .overview-dashboard .overview-heading-actions{justify-content:space-between;width:100%}.finance-admin-shell .overview-dashboard .primary-button{padding:10px 12px;font-size:11px}.user-access-metrics .portal-metric strong{font-size:21px}.user-list .client-card{flex-wrap:wrap;gap:12px}.user-list .client-card-copy{flex:1;min-width:0}.user-list .user-badges{flex-flow:wrap;align-items:flex-start;width:100%}.user-list .user-badges small{align-self:center}.user-list .user-badges .secondary-button{margin-left:auto}.portal-account dd,.portal-drawer dd{overflow-wrap:anywhere}}.finance-mobile-brand{display:none}@media (max-width:700px){.portal-heading{flex-direction:row!important;align-items:flex-start!important;gap:12px!important}.portal-heading>div{flex:1;min-width:0}.portal-heading>.secondary-button{flex-shrink:0;margin:0;padding:10px}.finance-mobile-brand{align-items:center;gap:8px;font-size:12px;font-weight:600;display:flex}.finance-mobile-brand small{color:var(--muted);font-size:9px;font-weight:400}.finance-mobile-brand .portal-monogram{border-radius:9px;width:33px;height:33px;font-size:17px}.finance-admin-shell .breadcrumb{display:none}.finance-admin-shell .topbar{gap:8px;padding:0 14px}.finance-admin-shell .overview-dashboard .page-heading{padding-right:45px;position:relative}.finance-admin-shell .overview-heading-actions{display:block!important}.finance-admin-shell .overview-heading-actions>.primary-button{width:38px;height:38px;position:absolute;top:0;right:0;gap:0!important;padding:9px!important;font-size:0!important}.finance-admin-shell .overview-heading-actions>.primary-button svg{width:18px;height:18px}.finance-admin-shell .overview-heading-actions .dashboard-period{justify-content:flex-start;width:100%}.finance-admin-shell .dashboard-flow{height:auto;min-height:210px}.finance-admin-shell .dashboard-flow .statement-empty{min-height:140px}}.honorarios-mobile{display:none}@media (max-width:760px){.honorarios-table{display:none}.honorarios-mobile{display:block}.honorarios-mobile footer{flex-wrap:wrap}}.mobile-record-list{display:none}.mobile-detail-backdrop{z-index:80}.mobile-detail-card{box-sizing:border-box;border:1px solid var(--line);background:var(--surface);overscroll-behavior:contain;border-radius:14px;width:min(560px,100%);max-width:100%;max-height:calc(100dvh - 24px);padding:24px;position:relative;overflow-y:auto}.mobile-detail-card h2{overflow-wrap:anywhere;margin:20px 0 12px;font-size:20px;line-height:1.4}.mobile-detail-amount{overflow-wrap:anywhere;font-size:24px;display:block}.mobile-detail-card dl{margin:20px 0}.mobile-detail-card dl>div{border-top:1px solid var(--line);padding:12px 0}.mobile-detail-card dt{color:var(--muted);margin-bottom:6px;font-size:11px}.mobile-detail-card dd{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:14px;line-height:1.6}@media (max-width:760px){html{touch-action:pan-y;-moz-text-size-adjust:100%;text-size-adjust:100%;width:100%}body{touch-action:pan-y;width:100%;margin:0}*,:before,:after{box-sizing:border-box}.app-shell,.main-panel,.content-scroll,.panel-card,.ledger-section,.movement-month,.mobile-record-item{min-width:0;max-width:100%}.desktop-financial-table,.honorarios-table,.portal-desktop-table,.dashboard-wallet>.table-wrap{display:none!important}.mobile-record-list{width:100%;min-width:0;display:block}.mobile-record-item{border-top:1px solid var(--line);padding:13px 0}.mobile-record-open{width:100%;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:minmax(0,1fr) auto;gap:7px 12px;padding:0;display:grid}.mobile-record-name,.mobile-record-summary{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.mobile-record-name{font-size:13px;font-weight:600}.mobile-record-open strong{font-variant-numeric:tabular-nums;font-size:14px}.mobile-record-summary,.mobile-record-status{color:var(--muted);font-size:11px}.mobile-record-status{text-align:right}.mobile-record-actions{flex-wrap:wrap;gap:16px;margin-top:12px;display:flex}.mobile-record-actions button{color:var(--teal);background:0 0;border:0;padding:4px 0;font-size:12px}.modal-backdrop{max-width:100%;padding:12px}.modal-card,.mobile-detail-card,.portal-drawer{width:100%;max-width:100%;max-height:calc(100dvh - 24px);padding:24px 18px;overflow-y:auto}.portal-drawer{max-height:100dvh}.modal-card h2,.modal-card p,.connection-detail strong,.client-card strong,.client-card-copy,.user-badges,.portal-drawer h2,.portal-drawer p,.fee-entry span{overflow-wrap:anywhere;white-space:normal;min-width:0}.modal-card input,.modal-card select,.modal-card textarea,.auth-card input,.auth-card select,.movement-toolbar input,.movement-toolbar select,.ledger-actions input,.portal-period select{min-width:0;max-width:100%;font-size:16px!important}.modal-card .form-row,.billing-form-grid,.movement-editor-grid,.allocation-add-row{grid-template-columns:minmax(0,1fr)}.modal-card .editor-actions,.heading-actions,.ledger-actions,.ledger-heading,.movement-toolbar,.cashflow-toolbar,.tab-row,.filter-row,.fee-entry-actions{flex-wrap:wrap;gap:10px;min-width:0}.ledger-heading,.ledger-actions,.movement-toolbar,.cashflow-toolbar{width:100%}.ledger-actions .search-box,.movement-toolbar .search-box,.cashflow-toolbar .search-box{flex:100%;width:100%;min-width:0}.movement-toolbar select,.cashflow-toolbar select{width:100%;min-width:0}.period-control{flex-wrap:wrap;width:100%;margin-left:0}.form-row>*,.billing-form-grid>*{min-width:0}.billing-span-2{grid-column:1!important}.portal-callout{flex-wrap:wrap}.portal-metric strong,.dashboard-stat strong{white-space:normal;overflow-wrap:anywhere}.portal-account dl,.portal-drawer dl{grid-template-columns:minmax(0,1fr)}.portal-account dd,.portal-drawer dd{text-align:left;padding-top:0}.portal-latest{display:block}.toast{overflow-wrap:anywhere;max-width:calc(100% - 24px);bottom:90px;left:12px;right:12px}button,input,select,textarea{touch-action:manipulation}}.movement-fee-hint{min-width:0;max-width:100%}.movement-fee-hint svg{flex-shrink:0}.movement-fee-hint .fit-text{min-width:0}.mobile-record-lawyers{color:var(--teal);overflow-wrap:anywhere;text-align:left;grid-column:1/-1;font-size:11px;line-height:1.5}.payment-lawyer-text{flex:1;min-width:0}.flow-payment-legend{color:var(--muted);margin-top:5px;font-size:10px;display:block}.flow-status-actions{flex-wrap:wrap;align-items:center;gap:4px;min-width:0;display:flex}.flow-status-actions>.fit-text{flex:100%;min-width:0}.flow-status-actions .icon-button{flex-shrink:0;width:24px;height:26px}.flow-delete-button{color:var(--rose)}.installment-preview{border:1px solid var(--line);border-radius:12px;max-height:210px;margin:16px 0;padding:12px;overflow-y:auto}.associate-fee-fields,.associate-fee-heading>div,.associate-fee-row>*{min-width:0}@media (max-width:600px){.associate-fee-heading{flex-wrap:wrap}.associate-fee-row{grid-template-columns:minmax(0,1fr) 75px 30px}}.allocation-net-calculation{gap:10px;min-width:0;display:grid}.allocation-net-calculation .secondary-button{white-space:normal;justify-self:start;max-width:100%}.weekly-lawyer-report{min-width:0;margin:18px 0}.weekly-report-controls{grid-template-columns:repeat(2,minmax(0,1fr)) minmax(0,2fr);gap:14px;margin:14px 0;display:grid}.weekly-report-controls input,.weekly-report-controls select{min-width:0;max-width:100%}.weekly-report-list{gap:10px;margin-top:14px;display:grid}.weekly-report-item{border:1px solid var(--line);border-radius:12px;justify-content:space-between;align-items:center;gap:14px;min-width:0;padding:14px;display:flex}.weekly-report-item>div{overflow-wrap:anywhere;gap:5px;min-width:0;display:grid}.weekly-report-item span,.weekly-report-empty{color:var(--muted);font-size:12px}.weekly-report-item .secondary-button{flex-shrink:0}@media (max-width:600px){.weekly-report-controls{grid-template-columns:minmax(0,1fr)}.weekly-report-item{flex-direction:column;align-items:stretch}.weekly-report-item .secondary-button{align-self:flex-start}}.weekly-lawyer-report>.panel-heading{flex-wrap:wrap;gap:12px}:root{--navy:#1b4d7d;--navy-deep:#163f68;--shadow:0 8px 24px #182e4610}body,.app-shell,.content-area,.content-scroll,.topbar{background:#fff}.sidebar,.portal-sidebar{--ink:#fff;--muted:#d0ddeb;--line:#41678e;--teal:#fff;--teal-deep:#fff;background:var(--navy);color:#fff;border-right:0}.sidebar{flex-basis:222px;width:222px;padding:27px 15px 20px}.sidebar .brand-name,.sidebar .monogram-c,.sidebar .monogram-m,.sidebar .brand-accent,.sidebar .brand-name .brand-accent{color:#fff}.sidebar .brand-name>span:first-child{font-size:17px}.sidebar .brand-name .brand-accent{color:#d0ddeb}.finance-admin-shell .sidebar .brand-mark{background:0 0;border:0}.sidebar .nav-item{color:#e1eaf4;min-height:41px;padding:0 12px;font-size:13px}.sidebar .nav-item:hover{color:#fff;background:#2c5d8a}.sidebar .nav-item.active{color:#fff;background:#35668f;box-shadow:inset 3px 0 #fff}.sidebar .profile-row strong,.sidebar .profile-row .icon-button{color:#fff}.sidebar .profile-row span{color:#d0ddeb}.sidebar .profile-avatar{color:#fff;background:#35668f}.finance-footer{background:var(--navy);color:#e1eaf4;flex-wrap:wrap;justify-content:space-between;gap:12px;margin-top:auto;padding:11px 28px;font-size:10px;display:flex}.content-scroll{flex:1;padding:27px 28px 36px}.topbar{border-bottom-color:var(--line)}.topbar-search{color:var(--muted);background:#fff}.primary-button,.overview-dashboard .primary-button{color:var(--teal);background:#fff;border:1px solid #8eafcc;font-weight:650}.primary-button:hover,.overview-dashboard .primary-button:hover{border-color:var(--teal);background:#f4f7fa}.secondary-button,.ghost-button,.text-button{color:var(--ink);background:#fff}.primary-button.full{background:#fff}.check-button.checked{background:var(--teal);color:#fff;border-color:var(--teal)}.positive-text{color:#177653}.negative-text{color:#b64050}.page-heading h1{letter-spacing:-.65px;font-size:27px;font-weight:600}.finance-summary-strip{border:1px solid var(--line);background:#fff;border-radius:7px;grid-template-columns:repeat(4,minmax(0,1fr));margin:22px 0 25px;display:grid}.finance-summary-strip>div{border-right:1px solid var(--line);min-width:0;padding:17px 18px}.finance-summary-strip>div:last-child{border-right:0}.finance-summary-strip>div>span{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;font-size:10px;display:block}.finance-summary-strip strong{font-variant-numeric:tabular-nums;white-space:nowrap;letter-spacing:-.6px;margin:9px 0 6px;font-size:23px;font-weight:550;display:block}.finance-summary-strip small{color:var(--muted);font-size:10px;display:block}.honorarium-page .page-heading{align-items:center;margin-bottom:0}.honorarium-page .page-heading .section-kicker{font-size:10px}.honorarium-page .heading-actions{flex-direction:row-reverse}.honorarium-page .ledger-section{background:#fff;border:0;border-radius:0;padding:0}.honorarium-page .ledger-heading{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:18px}.honorarium-page .ledger-heading>div:first-child{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;width:100%;display:flex}.honorarium-page .ledger-heading h2{margin:0;font-size:13px;font-weight:550}.honorarium-page .ledger-heading .section-caption{font-size:10px}.honorarium-page .ledger-actions{gap:8px;width:100%;display:flex}.honorarium-page .search-box{background:#fff;flex:1;min-width:150px}.honorarium-page .search-box input{min-width:0}.honorarium-page .ledger-actions select{border:1px solid var(--line);min-width:0;max-width:230px;color:var(--ink);font:inherit;background:#fff;border-radius:6px;padding:8px 10px;font-size:11px}.honorarium-page .tab-row{border-bottom:1px solid var(--line);background:#fff;flex-wrap:wrap;align-items:center;gap:20px;padding:0}.honorarium-page .tab-button{color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;padding:11px 0;font-size:11px}.honorarium-page .tab-button.active{color:var(--teal);border-bottom-color:var(--teal);box-shadow:none;background:0 0}.honorarium-page .period-control{margin-left:auto;padding:0 0 8px}.honorarium-page .tab-button span{color:var(--muted);background:#f1f4f7;border-radius:3px;padding:2px 4px;font-size:9px}.honorarios-table table{table-layout:fixed;border-collapse:collapse;width:100%}.honorarios-table th{text-transform:uppercase;letter-spacing:.025em;background:#fff;padding:14px 7px;font-size:10px;font-weight:500}.honorarios-table .honorarium-row td{border-bottom:1px solid var(--line);vertical-align:middle;background:#fff;padding:17px 7px;font-size:12px}.honorarios-table .honorarium-row:hover td{background:#fafbfc}.honorarium-row .payer-name{color:var(--ink);font-size:12px;font-weight:600}.honorarium-row .movement-fee-hint{color:var(--muted);font-size:10px;display:flex}.honorarium-row .movement-fee-hint svg{display:none}.honorarium-expand{width:100%;min-width:0;color:var(--muted);text-align:left;background:0 0;border:0;align-items:center;gap:4px;padding:3px 0;font-size:11px;display:flex}.honorarium-expand svg{flex-shrink:0}.honorarium-status-cell{text-align:right!important}.honorarium-status{color:#576476;background:#f5f7f9;border:0;border-radius:4px;justify-content:center;align-items:center;gap:3px;max-width:100%;padding:5px 6px;font-size:10px;display:inline-flex}.honorarium-status-paid{color:#177653;background:#eef8f2}.honorarium-status-overdue{color:#b64050;background:#fff1f3}.honorarium-status-current{color:#946214;background:#fff8ec}.honorarium-status-downloaded{color:#64748b;background:#f3f5f7}.honorarios-table .honorarium-details td{white-space:normal;background:#f8fafc;padding:20px}.honorarium-details dl{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0;display:grid}.honorarium-details dt{color:var(--muted);margin-bottom:5px;font-size:10px}.honorarium-details dd{overflow-wrap:anywhere;margin:0;font-size:12px}.honorarium-detail-actions{flex-wrap:wrap;gap:8px;margin-top:20px;display:flex}.honorarium-page .table-footer{background:#fff;padding:18px 0}.honorarium-page .pagination{flex-wrap:wrap;gap:4px;max-width:100%;display:flex}.honorarium-page .pagination>span{color:var(--muted);padding:5px}.honorarium-page .pagination .current-page{color:var(--teal);background:#f1f4f7}.accounts-tabs{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:26px;margin-bottom:23px;display:flex}.accounts-tabs>button{color:var(--muted);background:#fff;border:0;border-bottom:2px solid #0000;align-items:center;gap:7px;padding:12px 0;font-size:12px;display:flex}.accounts-tabs>button[aria-selected=true]{color:var(--teal);border-bottom-color:var(--teal)}.accounts-tabs>button>span{color:var(--muted);background:#f1f4f7;border-radius:4px;padding:2px 5px;font-size:10px}.account-identity{background:#fff;border:0;margin:22px 0 0;padding:0}.account-identity .eyebrow{display:none}.account-identity strong{margin:0 0 4px;font-size:14px}.embedded-flow-heading h2{margin:0 0 6px;font-size:15px}.embedded-flow-heading .section-kicker{display:none}.embedded-flow-heading .heading-actions{flex-wrap:wrap}.reconcile-entry-button{min-width:0;padding:6px 8px;font-size:10px}.finance-admin-shell .panel-card,.finance-admin-shell .modal-card,.auth-card,.portal-metric,.portal-panel,.portal-drawer,.portal-account{background:#fff}.portal-sidebar .portal-monogram{color:#fff}.portal-sidebar .portal-nav button{color:#e1eaf4}.portal-sidebar .portal-nav button.active{color:#fff;background:#35668f}@media (min-width:701px) and (max-width:1100px){.sidebar{flex-basis:190px;width:190px;padding-left:10px;padding-right:10px}.content-scroll{padding-left:22px;padding-right:22px}.finance-summary-strip>div{padding:14px 10px}.finance-summary-strip strong{font-size:19px}.honorarium-page .tab-row{gap:14px}.honorarium-page .period-control{width:100%;margin-left:0}}@media (max-width:700px){.finance-admin-shell .content-scroll{padding:22px 16px 28px}.finance-footer{margin-bottom:75px;padding:12px 16px;font-size:9px}.finance-mobile-nav{background:var(--navy);border-top-color:#41678e}.finance-mobile-nav button,.finance-mobile-nav button.active{color:#fff}.finance-mobile-nav button.active{background:#35668f;border-radius:6px;padding:7px 5px}.finance-summary-strip{grid-template-columns:repeat(2,minmax(0,1fr));margin:20px 0}.finance-summary-strip>div{padding:15px 12px}.finance-summary-strip>div:nth-child(2){border-right:0}.finance-summary-strip>div:nth-child(-n+2){border-bottom:1px solid var(--line)}.finance-summary-strip strong{font-size:21px}.finance-summary-strip small{font-size:10px}.honorarium-page .heading-actions{flex-wrap:wrap;justify-content:flex-end;width:100%}.honorarium-page .ledger-actions{flex-wrap:wrap}.honorarium-page .ledger-actions .search-box{flex-basis:100%}.honorarium-page .ledger-actions select{flex:1;width:100%;max-width:none}.honorarium-page .tab-row{gap:10px 18px}.honorarium-page .tab-button{font-size:11px}.honorarium-page .period-control{justify-content:space-between;width:100%;margin:0}.honorarium-page .table-footer{flex-direction:column;align-items:flex-start;gap:12px}.accounts-tabs{gap:20px}.accounts-tabs>button{font-size:11px}.account-summary strong{font-size:19px}.embedded-flow-heading{flex-direction:column;align-items:stretch;gap:15px}.embedded-flow-heading .heading-actions{width:100%}.honorarios-table{display:none}}@media (max-width:380px){.finance-summary-strip>div{padding:13px 9px}.finance-summary-strip strong{font-size:18px}.finance-summary-strip>div>span,.finance-summary-strip small{font-size:9px}.account-summary strong{font-size:17px}.accounts-tabs{gap:14px}}.client-name-button{color:var(--ink);font:inherit;text-align:left;cursor:pointer;overflow-wrap:anywhere;background:0 0;border:0;padding:0;font-weight:700}.client-name-button:hover{color:var(--navy);text-decoration:underline}.client-detail-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.client-detail-fields dt{color:var(--muted);margin-bottom:5px;font-size:11px}.client-detail-fields dd{overflow-wrap:anywhere;margin:0;font-size:13px}.client-detail .page-heading{margin-top:20px}@media (max-width:700px){.client-detail-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.client-detail-fields>div:first-child,.client-detail-fields>div:nth-child(3),.client-detail-fields>div:nth-child(6){grid-column:1/-1}.client-detail h1{overflow-wrap:anywhere}}.mobile-record-secondary-summary{color:var(--muted);overflow-wrap:anywhere;grid-column:1/-1;font-size:10px}.entries-period-toolbar{flex-wrap:wrap;align-items:center;gap:12px;margin:16px 0;display:flex}.entries-month-navigation{justify-content:space-between;align-items:center;gap:12px;display:flex}.entries-month-navigation strong{text-align:center;text-transform:capitalize;min-width:155px;font-size:14px}.entries-month-navigation button{flex-shrink:0;padding:9px}.entries-period-toolbar select{border:1px solid var(--line);color:var(--ink);background:#fff;border-radius:8px;max-width:100%;padding:10px;font-size:12px}@media (max-width:700px){.entries-month-navigation{gap:6px;width:100%}.entries-month-navigation strong{min-width:0}.entries-period-toolbar select{flex:1;min-width:0}}@media (min-width:761px){.account-summary{grid-template-columns:repeat(5,minmax(0,1fr))}}.client-link{color:var(--navy);font:inherit;text-align:inherit;cursor:pointer;overflow-wrap:anywhere;vertical-align:baseline;background:0 0;border:0;max-width:100%;padding:0}.client-link:hover{text-decoration:underline}.client-link:focus-visible{outline:2px solid var(--teal);outline-offset:3px;border-radius:2px}button.due-calendar{color:inherit;font:inherit;cursor:pointer;padding:0}.mobile-record-client-heading{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:7px 12px;margin-bottom:7px;display:grid}.mobile-record-client-heading .client-link{white-space:normal;overflow-wrap:anywhere;text-align:left}.mobile-record-amount{color:var(--text);font:inherit;font-variant-numeric:tabular-nums;white-space:nowrap;cursor:pointer;background:0 0;border:0;padding:0;font-size:14px;font-weight:600}.mobile-record-with-client .mobile-record-summary{grid-column:1/-1}.portal-latest-row{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:10px;padding:16px 0;display:flex}.portal-latest-row .client-link{width:auto;font:inherit;color:var(--navy);border:0;padding:0;display:inline}.portal-latest-row .portal-latest-detail{border:0;flex-shrink:0;width:auto;padding:0}
