:root{--bg:#f5f5f7;--surface:#fff;--surface2:#eeeef1;--field:#fafafb;--text:#202126;--muted:#656871;--line:#dedee3;--accent:#8b5e27;--tint:#f2eade;--green:#28735b;--red:#b33232;--sidebar:#f9f9fb;--shadow:0 2px 8px #20212604, 0 16px 32px #20212603;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}[data-theme=dark]{--bg:#111214;--surface:#1c1d21;--surface2:#292b31;--field:#15161a;--text:#f1f1f4;--muted:#afb1ba;--line:#36383f;--accent:#e5bd87;--tint:#342b21;--green:#86d6b6;--red:#ff9d9d;--sidebar:#191a1e;--shadow:0 2px 8px #00000008, 0 16px 32px #00000008;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}body{color:var(--text);background:var(--bg);letter-spacing:-.15px;margin:0;font:15px/1.5 -apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,select,textarea{font:inherit;color:inherit;-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer;background:0 0;border:0;transition:background .15s,box-shadow .15s}button:disabled{opacity:.5;cursor:not-allowed}a{color:inherit;text-decoration:none}:where(button,a,input,select,textarea,summary):focus-visible{outline:3px solid var(--accent);outline-offset:3px}h1,h2,h3,p{margin:0}strong{font-weight:600}small{color:var(--muted);font-size:13px;line-height:1.5}svg{flex-shrink:0}i{color:var(--muted);margin:0 5px;font-style:normal}input,select,textarea{border:1px solid var(--line);background:var(--field);border-radius:12px;width:100%;min-width:0;min-height:50px;padding:12px 14px;font-size:16px;line-height:1.4}input::placeholder,textarea::placeholder{color:var(--muted);opacity:.85}input:hover,select:hover,textarea:hover{border-color:var(--muted)}input:focus,select:focus,textarea:focus{border-color:var(--accent)}select{appearance:none;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23797b84' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right 14px center;background-repeat:no-repeat;padding-right:42px}option{color:var(--text);background:var(--surface);font-size:16px}textarea{resize:vertical;min-height:120px}input[type=checkbox]{width:20px;height:20px;min-height:20px;accent-color:var(--accent);flex-shrink:0;padding:0}input[type=file]{font-size:14px}input[type=file]::file-selector-button{background:var(--surface2);color:var(--text);font:inherit;border:0;border-radius:7px;margin-right:12px;padding:8px 12px}.skip-link{z-index:150;background:var(--text);color:var(--surface);border-radius:10px;padding:12px 18px;position:fixed;top:12px;left:12px;transform:translateY(-160%)}.skip-link:focus{transform:none}.app-shell{min-height:100dvh}.sidebar{border-right:1px solid var(--line);background:var(--sidebar);z-index:50;flex-direction:column;width:248px;padding:28px 16px 0;display:flex;position:fixed;inset:0 auto 0 0;overflow-y:auto}.brand{letter-spacing:-1.1px;align-items:center;gap:10px;padding:0 12px;font-size:28px;font-weight:650;display:flex}.brand-mark{color:var(--accent);font-size:36px;font-weight:400;line-height:1}.brand-dot{color:var(--accent);margin-left:-8px}.workspace{border:1px solid var(--line);background:var(--surface);border-radius:14px;align-items:center;gap:10px;margin:24px 0;padding:14px 12px;display:flex}.workspace>span:nth-child(2),.profile>span:nth-child(2){flex:1;min-width:0}.workspace strong,.profile strong{font-size:14px;display:block}.workspace small,.profile small{margin-top:2px;font-size:12px;display:block}.avatar{background:var(--surface2);width:38px;height:38px;color:var(--muted);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:14px;font-weight:600;display:inline-flex}.avatar.amber{background:var(--tint);color:var(--accent)}.avatar.small{width:34px;height:34px}.nav-caption{letter-spacing:1.1px;text-transform:uppercase;color:var(--muted);margin:14px 12px 6px;font-size:11px;font-weight:650}.sidebar-grouped-nav{flex-direction:column;gap:6px;display:flex}.nav-group{flex-direction:column;gap:2px;display:flex}.nav-group:first-child .nav-caption{margin-top:0}.sidebar nav button,.sidebar-bottom>button{text-align:left;min-height:42px;color:var(--muted);border-radius:9px;align-items:center;gap:12px;width:100%;padding:9px 12px;font-size:14px;transition:background .12s,color .12s;display:flex}.sidebar nav button:hover,.sidebar-bottom>button:hover{background:var(--surface2);color:var(--text)}.sidebar nav button.active,.sidebar-bottom>button.active{background:var(--tint);color:var(--accent);box-shadow:inset 3px 0 0 var(--accent);font-weight:600}.nav-count{background:var(--surface2);color:var(--muted);font-variant-numeric:tabular-nums;border-radius:9999px;margin-left:auto;padding:2px 8px;font-size:11px;font-weight:600}.sidebar-bottom{margin-top:auto;padding-top:24px}.private-note{color:var(--muted);gap:10px;margin:0 12px 18px;font-size:12px;display:flex}.private-note small{font-size:12px;display:block}.profile{border-top:1px solid var(--line);align-items:center;gap:10px;margin-top:14px;padding:18px 0;display:flex}.icon-button{border-radius:12px;justify-content:center;align-items:center;width:44px;height:44px;display:inline-flex}.icon-button:hover{background:var(--surface2)}.main{margin-left:248px}.topbar{border-bottom:1px solid var(--line);background:var(--sidebar);justify-content:space-between;align-items:center;gap:16px;height:76px;padding:0 36px;display:flex}.breadcrumb{color:var(--muted);align-items:center;gap:12px;font-size:13px;display:flex}.breadcrumb span{color:var(--text)}.top-actions{align-items:center;gap:14px;display:flex}.search{background:var(--surface2);color:var(--muted);border-radius:12px;align-items:center;gap:10px;padding:0 12px;display:flex}.search input{background:0 0;border:0;border-radius:4px;width:220px;min-height:44px;padding:8px 0;font-size:14px}.notification-button{position:relative}.notification-button>span{background:var(--accent);border:1px solid var(--surface);border-radius:50%;width:7px;height:7px;position:absolute;top:8px;right:10px}.content{max-width:1480px;margin:auto;padding:36px 36px 0}.demo-banner{color:var(--accent);background:var(--tint);border-radius:10px;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:26px;padding:10px 14px;font-size:12px;font-weight:600;display:flex}.demo-banner>span:last-child{color:var(--muted);font-weight:400}.status-dot,.tiny-dot{background:var(--accent);border-radius:50%;flex-shrink:0;width:6px;height:6px;display:inline-block}.tiny-dot{background:var(--green)}.tiny-dot.lavender{background:#a6a2ca}.page-heading{justify-content:space-between;align-items:center;gap:24px;margin-bottom:28px;display:flex}.eyebrow{color:var(--muted);letter-spacing:1.7px;font-size:11px;font-weight:600}.page-heading h1{letter-spacing:-1px;margin-top:8px;font-size:34px;font-weight:650;line-height:1.2}.page-heading p{color:var(--muted);max-width:680px;margin-top:10px;font-size:15px}.primary,.secondary,.destructive,.button{border-radius:11px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:11px 17px;font-size:14px;font-weight:600;line-height:1.4;display:inline-flex}.primary{background:var(--text);color:var(--surface);box-shadow:0 2px 4px #0000000a}.primary:hover{opacity:.9}.secondary{border:1px solid var(--line);background:var(--surface)}.secondary:hover{background:var(--surface2)}.filters{justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;display:flex}.segmented{background:var(--surface2);border-radius:12px;gap:2px;padding:4px;display:flex}.segmented button{min-height:40px;color:var(--muted);white-space:nowrap;border-radius:9px;padding:8px 18px;font-size:13px}.segmented button.selected{background:var(--surface);color:var(--text);font-weight:600;box-shadow:0 2px 4px #0000000a}.filter-right{gap:10px;display:flex}.select-pill{border:1px solid var(--line);background:var(--surface);color:var(--muted);border-radius:12px;align-items:center;gap:8px;padding-left:14px;display:flex}.select-pill select{background-color:#0000;border:0;border-radius:12px;min-height:48px;padding-left:0;font-size:14px}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px;display:grid}.stat-card{background:var(--surface);border:1px solid var(--line);min-height:172px;box-shadow:var(--shadow);border-radius:20px;padding:22px;position:relative;overflow:hidden}.stat-card.featured{background:var(--tint);border-color:color-mix(in srgb, var(--accent) 25%, var(--line))}button.stat-card{text-align:start;color:var(--text);width:100%;font:inherit;cursor:pointer}button.stat-card:hover,button.stat-card[aria-expanded=true]{border-color:var(--accent);box-shadow:var(--shadow), inset 0 0 0 1px var(--accent)}button.stat-card:focus-visible{outline:3px solid var(--accent);outline-offset:4px}.stat-value{display:block}.stat-context{flex-basis:100%}.schedule-window-note{background:var(--surface);border:1px solid var(--line);color:var(--muted);border-radius:16px;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:22px;padding:16px 20px;font-size:13px;display:flex}.schedule-window-note>span{flex:1;min-width:180px}.overview-detail{margin-bottom:24px}.overview-detail:focus{outline:2px solid var(--accent);outline-offset:3px}.overview-detail .summary-row{flex-wrap:wrap}.overview-detail .detail-actions{justify-content:space-between;padding:18px 22px}.stat-label{color:var(--muted);justify-content:space-between;align-items:center;gap:8px;font-size:14px;display:flex}.stat-value{letter-spacing:-.8px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:20px 0 12px;font-size:clamp(24px,2.15vw,34px);font-weight:600;line-height:1.3}.stat-foot{color:var(--muted);z-index:1;flex-wrap:wrap;align-items:center;gap:7px;font-size:12px;display:flex;position:relative}.pill,.row-space{color:var(--muted);background:var(--surface2);border-radius:6px;padding:4px 8px;font-size:12px;line-height:1.4;display:inline-block}.amber-pill{background:var(--tint);color:var(--accent)}.sparkline{display:none}.attention-strip{background:var(--tint);border:1px solid color-mix(in srgb, var(--accent) 25%, var(--line));color:var(--accent);border-radius:14px;align-items:center;gap:14px;margin-bottom:24px;padding:16px 20px;display:flex}.attention-icon{display:flex}.attention-strip>div{flex:1;align-items:center;gap:12px;font-size:14px;display:flex}.attention-strip button{align-items:center;gap:8px;min-height:44px;font-size:13px;display:flex}.overview-columns{grid-template-columns:1.16fr 1fr;gap:22px;margin-bottom:24px;display:grid}.panel{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:20px;overflow:hidden}.panel-title{justify-content:space-between;align-items:center;gap:16px;padding:24px;display:flex}.panel-title h2{letter-spacing:-.4px;font-size:18px;font-weight:600;line-height:1.4}.panel-title p{color:var(--muted);margin-top:5px;font-size:13px}.text-button{min-height:44px;color:var(--muted);justify-content:center;align-items:center;gap:6px;padding:4px;font-size:13px;display:inline-flex}.text-button:hover{color:var(--accent);text-underline-offset:4px;text-decoration:underline}.upcoming-list,.transaction-list{padding:0 24px}.upcoming-row,.transaction-row{text-align:left;border-top:1px solid var(--line);align-items:center;gap:14px;width:100%;padding:18px 0;display:flex}.upcoming-row:first-child{border-top:0}.upcoming-row:hover,.transaction-row:hover,.mini-account:hover{background:var(--field)}.date-tile{border:1px solid var(--line);background:var(--field);border-radius:10px;flex-direction:column;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:50px;display:flex}.date-tile small{text-transform:uppercase;font-size:10px}.date-tile b{font-size:18px;font-weight:600}.row-main{overflow-wrap:anywhere;flex:1;min-width:0}.row-main strong{font-size:15px;line-height:1.4;display:block}.row-main small{margin-top:4px;font-size:13px;display:block}.row-amount{text-align:right;font-variant-numeric:tabular-nums;flex-shrink:0}.row-amount strong{font-size:15px}.row-amount small{margin-top:4px;font-size:12px;display:block}.panel-footer{color:var(--muted);border-top:1px solid var(--line);align-items:center;gap:8px;padding:16px 24px;font-size:12px;display:flex}.budget-list{padding:0 24px 6px}.budget-item{margin:12px 0 24px}.budget-item>div:first-child{flex-wrap:wrap;justify-content:space-between;gap:8px;font-size:14px;display:flex}.budget-item strong{font-variant-numeric:tabular-nums;font-size:14px}.budget-item small{font-size:13px;font-weight:400}.budget-dot{border-radius:50%;width:7px;height:7px;margin-right:7px;display:inline-block}.dot-0,.bar-0{background:#ad8c60}.dot-1,.bar-1{background:#659b88}.dot-2,.bar-2{background:#9a8eb9}.dot-3,.bar-3{background:#7198bf}.progress{background:var(--surface2);border-radius:10px;height:7px;margin-top:12px;overflow:hidden}.progress>span{border-radius:10px;height:100%;display:block}.merchant-icon,.currency-icon{background:var(--surface2);width:42px;height:42px;color:var(--muted);border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;font-size:17px;font-weight:500;display:flex}.merchant-icon.green{background:color-mix(in srgb, var(--green) 12%, var(--surface));color:var(--green)}.merchant-icon.purple{background:color-mix(in srgb, #a494c9 16%, var(--surface));color:var(--muted)}.currency-icon{border-radius:50%}.positive{color:var(--green)}.transaction-row>svg{color:var(--muted)}.mini-account{text-align:left;border-top:1px solid var(--line);align-items:center;gap:12px;width:calc(100% - 48px);margin:0 24px;padding:18px 0;display:flex}.mini-account:first-of-type{border-top:0}.mini-account>strong{font-variant-numeric:tabular-nums;font-size:15px}.valuation-note{color:var(--muted);font-size:13px}.footer{color:var(--muted);justify-content:space-between;gap:16px;padding:30px 0;font-size:12px;display:flex}.footer .brand-dot{margin:0 5px 0 0;font-size:17px}.account-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:24px;display:grid}.account-card{text-align:left;border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);border-radius:20px;padding:24px}.account-card:hover{border-color:var(--muted)}.account-card.chosen{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.account-card>div:first-child{justify-content:space-between;align-items:center;gap:8px;display:flex}.account-card h3{overflow-wrap:anywhere;margin:22px 0 8px;font-size:17px}.account-balance{letter-spacing:-.7px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:12px 0;font-size:28px;font-weight:550}.account-bottom{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;gap:8px;margin-top:22px;padding-top:14px;font-size:12px;display:flex}.cards-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.loan-workspace{gap:20px;display:grid}.loan-grid{align-items:start}.loan-card{min-width:0}.loan-card p{margin:12px 0}.loan-actions{flex-wrap:wrap;gap:8px;margin:18px 0;display:flex}.loan-card .secondary{margin:0}.loan-card .installment-line{flex-wrap:wrap;gap:8px}.budget-card,.detail-card{padding:24px}.budget-card h3,.detail-card h3{margin-top:14px;font-size:18px}.budget-card p,.detail-card p{color:var(--muted);font-size:14px;line-height:1.6}.detail-card .secondary{margin-top:18px;margin-right:8px}.card-top{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;display:flex}.record-row{text-align:left;border-top:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:16px;width:100%;padding:22px 24px;display:flex}.record-row .row-main{min-width:180px}.section-summary{border:1px solid var(--line);background:var(--surface);border-radius:20px;align-items:center;gap:16px;margin-bottom:24px;padding:24px;display:flex}.section-summary span{color:var(--muted);font-size:14px}.section-summary strong{color:var(--text);font-variant-numeric:tabular-nums;margin-top:5px;font-size:26px;font-weight:600;display:block}.section-summary small{max-width:320px;margin-left:auto}.section-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-bottom:18px;display:flex}.client-top-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-bottom:20px;display:flex}.client-guide-card{background:var(--surface);border:1px solid var(--line);border-radius:14px;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:22px;padding:16px 20px;display:grid}.guide-item{flex-direction:column;gap:4px;display:flex}.guide-item strong{color:var(--text);font-size:13px;font-weight:600}.guide-item small{color:var(--muted);font-size:12px;line-height:1.45}.client-selector-strip{align-items:center;gap:8px;margin-bottom:22px;padding-bottom:6px;display:flex;overflow-x:auto}.client-tab{border:1px solid var(--line);background:var(--surface);color:var(--muted);cursor:pointer;white-space:nowrap;border-radius:9999px;align-items:center;gap:8px;padding:8px 14px;font-size:13px;transition:all .15s;display:inline-flex}.client-tab:hover{background:var(--surface2);color:var(--text)}.client-tab.active{background:var(--tint);border-color:var(--accent);color:var(--accent);font-weight:600}.tab-badge{background:var(--surface2);border-radius:9999px;padding:1px 6px;font-size:11px;font-weight:600}.green-dot{background:var(--green)}.amber-dot{background:#c97a00}.client-panel{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);border-radius:18px;margin-bottom:24px;overflow:hidden}.client-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:22px 24px;display:flex}.client-identity{align-items:center;gap:14px;display:flex}.client-avatar{background:var(--tint);width:44px;height:44px;color:var(--accent);border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;font-size:18px;font-weight:700;display:inline-flex}.client-financial-row{background:var(--field);border-top:1px solid var(--line);border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:12px;padding:14px 24px;display:flex}.currency-pill-box{background:var(--surface);border:1px solid var(--line);font-variant-numeric:tabular-nums;border-radius:8px;align-items:center;gap:8px;padding:6px 12px;font-size:13px;display:inline-flex}.cur-tag{background:var(--surface2);color:var(--muted);border-radius:4px;padding:2px 6px;font-size:11px;font-weight:700}.valuation-notice{color:var(--muted);padding:8px 24px 12px;font-size:12px}.project-card{border:1px solid var(--line);background:var(--surface);border-radius:14px;margin:16px 24px 20px;overflow:hidden;box-shadow:0 1px 3px #00000005}.project-header{background:var(--field);border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;padding:18px 20px;display:flex}.project-title-row{align-items:center;gap:10px;display:flex}.project-body{flex-direction:column;gap:16px;padding:16px 20px;display:flex}.subheading-caption{letter-spacing:1px;text-transform:uppercase;color:var(--muted);margin-bottom:8px;font-size:11px;font-weight:650}.project-services-list,.project-charges-list{flex-direction:column;display:flex}.unassigned-group{border-top:1px solid var(--line);margin:18px 24px 22px;padding-top:18px}.unassigned-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.empty-directory-note,.empty-project-note{color:var(--muted);padding:12px 0;font-size:13px}.domain-row-title{align-items:center;gap:8px;display:flex}.pill-green{background:color-mix(in srgb, var(--green) 12%, var(--surface));color:var(--green);font-weight:550}.pill-red{background:color-mix(in srgb, var(--red) 12%, var(--surface));color:var(--red);font-weight:550}.pill-neutral{background:var(--surface-2,var(--surface));color:var(--muted,inherit);border:1px solid var(--border,currentColor);font-weight:550}.pill-amber{background:color-mix(in srgb, #c97a00 12%, var(--surface));color:#9a6000;font-weight:550}.pill-muted{background:var(--surface2);color:var(--muted)}.collection-row{background:var(--field);border-top:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;padding:18px 24px;font-size:14px;display:flex}.settings-panel{max-width:1000px;margin-bottom:24px}.setting-row{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:24px;padding:24px;display:flex}.setting-row>div{min-width:0}.setting-row strong{font-size:15px}.setting-row small{max-width:560px;margin-top:6px;display:block}.setting-row select{background-color:var(--surface);max-width:180px}.setting-row .pill{text-align:right;max-width:200px}.empty,.loading{text-align:center;color:var(--muted);padding:36px 24px;font-size:14px;line-height:1.6}.error{border:1px solid color-mix(in srgb, var(--red) 35%, var(--line));background:color-mix(in srgb, var(--red) 8%, var(--surface));color:var(--red);overflow-wrap:anywhere;border-radius:12px;margin:14px 0;padding:14px 16px;font-size:14px}.error button{min-height:44px;margin-left:12px;font-weight:600}.danger{color:var(--red)}.reset-setting{background:color-mix(in srgb, var(--red) 4%, var(--surface))}.destructive{color:#fff;background:#b33232;font-weight:600}.reset-modal[open]{flex-direction:column;padding:0;display:flex;overflow:hidden}.reset-modal .modal-head{flex-shrink:0;margin:0;padding:24px 24px 16px}.reset-form{flex-direction:column;min-height:0;display:flex}.reset-body{min-height:0;padding:0 24px 24px;overflow-y:auto}.reset-modal .form-actions{flex-shrink:0;margin:0;padding:18px 24px;position:static}.reset-warning{border:1px solid color-mix(in srgb, var(--red) 35%, var(--line));background:color-mix(in srgb, var(--red) 6%, var(--surface));border-radius:14px;align-items:flex-start;gap:12px;padding:18px;display:flex}.reset-warning>svg{color:var(--red);flex-shrink:0}.reset-warning p,.reset-retained{margin:8px 0 0;font-size:14px;line-height:1.65}.reset-retained{color:var(--muted);margin:18px 0 24px}.reset-inventory{margin:12px 0 24px}.reset-inventory>div{border-bottom:1px solid var(--line);justify-content:space-between;gap:16px;padding:10px 0;font-size:14px;display:flex}.reset-inventory dd{font-variant-numeric:tabular-nums;margin:0;font-weight:600}.toast{background:var(--text);max-width:calc(100% - 32px);color:var(--surface);z-index:100;border-radius:14px;align-items:center;gap:10px;padding:14px 20px;display:flex;position:fixed;top:22px;left:50%;transform:translate(-50%);box-shadow:0 8px 30px #0002}.modal{border:1px solid var(--line);width:calc(100% - 40px);max-width:780px;max-height:90dvh;color:var(--text);background:var(--surface);border-radius:24px;padding:32px;overflow:auto;box-shadow:0 24px 100px #0003}.modal::backdrop{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#07091080}.statement-modal{max-width:1040px}.statement-controls,.insights-filters{border:0;min-width:0;margin:0;padding:0}.statement-controls>*,.insights-view>*{margin-bottom:24px}.statement-upload{border:1px dashed var(--line);background:var(--bg);border-radius:16px;padding:24px}.statement-upload input{width:100%;height:auto;padding:12px}.statement-mapping,.debt-terms{border-top:1px solid var(--line);padding:20px 0}.statement-advanced{border-top:1px solid var(--line);margin:20px 0;padding:16px 0}.statement-advanced>summary{cursor:pointer;min-height:44px;color:var(--muted)}.statement-mapping summary,.debt-terms summary{cursor:pointer;min-height:44px;font-weight:600}.statement-mapping .form-grid{padding-top:16px}.statement-sample{background:var(--bg);overflow-wrap:anywhere;border-radius:12px;padding:16px}.statement-review{margin-top:28px}.statement-row{border-top:1px solid var(--line);overflow-wrap:anywhere;padding:20px 0}.statement-row-title,.insight-merchant,.insight-section-title{justify-content:space-between;align-items:start;gap:16px;display:flex}.statement-row-title span,.insight-merchant>span{font-variant-numeric:tabular-nums;white-space:nowrap}.statement-row>small{color:var(--muted);margin:8px 0 16px;display:block}.statement-row-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.statement-row-controls .check-field{grid-column:1/-1}.statement-totals{background:var(--bg);border:1px solid var(--line);border-radius:16px;gap:10px;margin-top:24px;padding:20px;display:grid}.statement-actions{flex-wrap:wrap;align-items:center;padding:0 24px 24px}.insights-intro{justify-content:space-between;align-items:center;gap:24px;padding:28px;display:flex}.insights-intro h2{max-width:650px;margin:12px 0;font-size:clamp(24px,2.4vw,32px);line-height:1.2}.insights-intro p{max-width:650px;color:var(--muted);margin-bottom:0;line-height:1.6}.insights-intro button{flex-shrink:0}.insights-filters{grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:16px;display:grid}.insight-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.insight-stat{flex-direction:column;gap:14px;padding:24px;display:flex}.insight-stat>span{color:var(--muted)}.insight-stat strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:clamp(20px,2vw,28px)}.insight-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;display:grid}.insight-block,.insight-empty{min-width:0;padding:28px}.insight-block h2{margin:0 0 16px;font-size:21px}.insight-block p{line-height:1.65}.insight-suggestions{padding-left:24px}.insight-suggestions>li{border-bottom:1px solid var(--line);padding:8px 0 16px 8px}.insight-suggestions details summary{cursor:pointer;min-height:40px;color:var(--muted)}.insight-suggestions details button{text-align:left;display:block}.category-analysis{margin-top:22px}.category-analysis>div:first-child{justify-content:space-between;gap:16px;display:flex}.category-analysis small{color:var(--muted)}.category-track{background:var(--line);border-radius:12px;height:8px;margin:10px 0;overflow:hidden}.category-track span{background:var(--accent);border-radius:inherit;height:100%;display:block}.insight-merchant{border-bottom:1px solid var(--line);overflow-wrap:anywhere;padding:16px 0}.insight-merchant small{color:var(--muted);margin-top:8px;display:block}.debt-strategies{margin:28px 0}.debt-strategies h3{margin-bottom:12px}.debt-strategies li{padding:8px 0}.debt-terms .insights-filters{margin-top:16px}@media (max-width:850px){.insights-intro{flex-direction:column;align-items:start}.insight-columns{grid-template-columns:1fr}.insights-filters,.insight-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:480px){.statement-modal{width:calc(100% - 20px);padding:20px}.statement-row-controls{grid-template-columns:1fr}.statement-row-title,.insight-section-title{flex-direction:column}.insight-stats,.insights-filters{grid-template-columns:1fr}.insight-block,.insights-intro,.insight-empty{padding:20px}.statement-upload{padding:16px}}.modal-head{justify-content:space-between;align-items:center;gap:16px;display:flex}.modal h2{letter-spacing:-.7px;margin-top:16px;font-size:28px;font-weight:650;line-height:1.2}.modal-description{color:var(--muted);max-width:620px;margin:12px 0 28px;font-size:15px;line-height:1.6}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:24px 22px;display:grid}.form-field{min-width:0;color:var(--text);flex-direction:column;gap:8px;display:flex}.form-field label{justify-content:space-between;gap:10px;font-size:14px;font-weight:550;line-height:1.5;display:flex}.field-requirement{color:var(--muted);white-space:nowrap;padding-top:2px;font-size:11px;font-weight:400}.form-field small{font-size:12px;display:block}.form-field .field-error{color:var(--red)}[aria-invalid=true]{border-color:var(--red)}.form-wide{color:var(--muted);grid-column:1/-1;min-width:0;font-size:14px;line-height:1.6}.form-section{border-top:1px solid var(--line);grid-column:1/-1;margin-top:4px;padding-top:24px}.form-section h3{color:var(--text);margin-bottom:6px;font-size:16px}.form-wide summary{cursor:pointer;min-height:48px;color:var(--text);align-items:center;gap:8px;margin-bottom:12px;font-weight:550;display:flex}.form-wide summary:before{content:"+";color:var(--muted);font-size:20px}.form-wide[open]>summary:before{content:"−"}.check-field{min-height:44px;color:var(--text);grid-column:1/-1;align-items:center;gap:10px;font-size:14px;display:flex}.form-actions{border-top:1px solid var(--line);background:var(--surface);box-shadow:0 -10px 20px var(--surface);flex-wrap:wrap;justify-content:flex-end;gap:12px;margin-top:28px;padding:22px 0 0;display:flex;position:sticky;bottom:-32px}.form-actions button{min-height:48px}.linked-record{border-left:3px solid var(--accent);background:var(--field);border-radius:0 10px 10px 0;margin-bottom:12px;padding:14px 18px;font-size:14px}.linked-record strong,.linked-record span{overflow-wrap:anywhere;display:block}.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:24px 0;display:grid}.detail-grid span{color:var(--muted);font-size:13px}.detail-grid strong{color:var(--text);overflow-wrap:anywhere;margin-top:5px;font-size:16px;display:block}.modal>p,.modal>h3{margin-bottom:16px}.modal>h3{margin-top:24px;font-size:17px}.import-preview{border:1px solid var(--line);border-radius:12px;max-height:300px;margin:16px 0;overflow:auto}.import-preview>div{border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;gap:12px;padding:14px;font-size:14px;display:flex}.receipt-section{border-top:1px solid var(--line);margin-top:20px;padding:20px 0}.receipt-section h3{margin-bottom:12px;font-size:16px}.receipt-link{color:var(--accent);text-underline-offset:3px;padding:12px 0;font-size:14px;text-decoration:underline;display:block}.detail-actions{flex-wrap:wrap;gap:10px;padding:20px 24px;display:flex}.compact-grid{margin-bottom:24px}.fx-summary{border:1px solid var(--line);background:var(--surface);border-radius:16px;flex-wrap:wrap;align-items:center;gap:14px;margin-bottom:20px;padding:18px 24px;display:flex}.fx-summary>span{color:var(--muted);font-size:14px}.fx-summary>strong{font-size:18px}.installment-line{border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:16px 0;font-size:14px;display:flex}.cleared-list{border:1px solid var(--line);border-radius:12px;max-height:300px;padding:12px;overflow:auto}.cleared-list label{align-items:flex-start;padding:10px 0}.domain-controls{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:0 24px 22px;display:grid}.domain-panel>p{color:var(--muted);padding:0 24px;font-size:13px;line-height:1.6}.domain-panel>.text-button{margin:8px 20px 20px}.domain-panel .record-row{align-items:flex-start}.domain-panel .row-main{min-width:220px}.domain-panel .row-amount{padding-top:4px}.login{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:24px;min-height:100dvh;padding:24px;display:flex}.mobile-nav,.mobile-menu,.sidebar-scrim{display:none}@media (max-width:1250px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-value{font-size:32px}.stat-card{min-height:170px}.account-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-columns{grid-template-columns:1fr}.attention-strip>div{display:block}.attention-strip>div>span{margin-top:3px;display:block}}@media (max-width:1050px){.content{padding-left:24px;padding-right:24px}.topbar{padding:0 24px}.cards-grid{grid-template-columns:1fr}.filters{flex-wrap:wrap}.filter-right{margin-left:auto}.search input{width:160px}.row-space{display:none}.domain-controls{grid-template-columns:1fr}}@media (max-width:1000px){.sidebar{visibility:hidden;width:280px;padding-top:24px;transition:transform .2s,visibility .2s;transform:translate(-100%);box-shadow:10px 0 50px #0003}.sidebar.is-open{visibility:visible;transform:none}.sidebar-scrim{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:45;background:#06080c80;display:block;position:fixed;inset:0}.main{margin-left:0}.topbar{gap:10px;height:68px;padding:0 16px}.mobile-menu{display:inline-flex}.breadcrumb{display:none}.top-actions{flex:1;justify-content:flex-end;gap:6px;min-width:0}.search{flex:1;gap:6px;min-width:0;max-width:270px;padding:0 10px}.search input{width:100%;min-width:0;font-size:16px}.top-actions>.avatar{display:none}.content{padding:24px 18px calc(100px + env(safe-area-inset-bottom))}.demo-banner{margin-bottom:24px;line-height:1.5}.demo-banner>span:last-child{flex-basis:100%}.page-heading{align-items:flex-start;gap:12px;margin-bottom:24px}.page-heading h1{font-size:29px}.page-heading p{font-size:14px}.page-heading .primary{flex-shrink:0;width:44px;min-width:44px;margin-top:20px;padding:0;font-size:0}.page-heading .primary svg{width:22px;height:22px}.filters{gap:14px}.segmented{width:100%}.segmented button{flex:1;padding:9px 10px;font-size:13px}.filter-right{justify-content:space-between;width:100%;margin:0}.select-pill:first-child{flex:1}.select-pill select{font-size:14px}.stats-grid{gap:12px}.stat-card{border-radius:16px;min-height:176px;padding:18px 16px}.stat-label{align-items:flex-start;font-size:13px}.stat-label svg{width:18px;height:18px}.stat-value{letter-spacing:-.6px;margin:20px 0 12px;font-size:24px}.stat-foot{font-size:12px}.attention-strip{flex-wrap:wrap;gap:10px;padding:16px}.attention-strip>div{font-size:13px}.attention-strip button{margin-left:32px;padding:0}.overview-columns{gap:18px;margin-bottom:18px}.panel{border-radius:16px}.panel-title{align-items:flex-start;padding:20px}.panel-title h2{font-size:17px}.panel-title .text-button{text-align:right;font-size:12px}.upcoming-list,.transaction-list{padding:0 18px}.upcoming-row,.transaction-row{gap:10px}.row-main strong{font-size:14px}.row-main small{font-size:12px}.row-amount strong{font-size:14px}.row-amount small{font-size:12px}.transaction-row>svg{display:none}.row-main strong{overflow-wrap:anywhere}.merchant-icon,.currency-icon{width:36px;height:36px}.date-tile{width:40px;height:48px}.panel-footer{padding:16px 18px}.budget-list{padding:0 18px 6px}.mini-account{width:calc(100% - 36px);margin:0 18px}.mini-account>strong{font-size:14px}.account-grid{grid-template-columns:1fr;gap:16px}.account-card{padding:22px}.account-balance{font-size:30px}.record-row{gap:12px;padding:20px 18px}.record-row .row-main{min-width:150px}.record-row .secondary{min-height:44px}.domain-panel .record-row{grid-template-columns:36px minmax(0,1fr);display:grid}.domain-panel .row-main,.domain-panel .row-amount,.domain-panel .record-row .secondary{grid-column:2;min-width:0}.domain-panel .row-amount{text-align:left}.domain-panel .record-row .secondary{justify-self:start}.domain-controls{padding:0 18px 20px}.domain-panel>p{padding:0 18px}.domain-panel>.text-button{margin-left:14px}.collection-row{padding:18px}.section-summary{flex-wrap:wrap;padding:20px}.section-summary small{width:100%;max-width:none;margin-left:0}.setting-row{flex-wrap:wrap;gap:16px;padding:20px}.setting-row>div{width:100%}.setting-row select{max-width:none}.setting-row .pill{text-align:left;max-width:none}.footer{padding:24px 0}.footer>span:last-child{display:none}.mobile-nav{padding:8px 58px calc(8px + env(safe-area-inset-bottom)) 8px;background:var(--sidebar);border-top:1px solid var(--line);z-index:40;justify-content:space-around;align-items:center;gap:2px;display:flex;position:fixed;inset:auto 0 0}.mobile-nav>button{min-width:50px;min-height:48px;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:4px;font-size:11px;display:flex}.mobile-nav>button.active{color:var(--accent);font-weight:600}.mobile-nav .mobile-add{right:12px;bottom:calc(12px + env(safe-area-inset-bottom));background:var(--text);width:44px;min-width:44px;height:44px;min-height:44px;color:var(--surface);border-radius:14px;position:absolute}.modal{border-radius:20px;width:calc(100% - 20px);max-height:calc(100dvh - 24px);padding:22px}.modal h2{font-size:26px}.modal-description{margin-bottom:24px;font-size:14px}.modal-head .eyebrow{font-size:10px}.form-grid{grid-template-columns:1fr;gap:22px}.form-actions{padding-top:18px;bottom:-22px}.form-actions .primary{flex:1}.form-field input,.form-field select{min-height:52px}.detail-grid{gap:18px}.detail-actions{padding:20px 18px}}@media (max-width:360px){.stats-grid{grid-template-columns:1fr}.stat-card{min-height:160px}.mobile-nav>button{min-width:44px;font-size:10px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.brand-row{justify-content:space-between;align-items:center;display:flex}.primary,.secondary,.destructive,.button{white-space:nowrap}.form-section-heading{border-top:1px solid var(--line);color:var(--text);margin:4px 0 0;padding-top:24px;font-size:16px;font-weight:600}.field-control{position:relative}.monetary-control input{font-variant-numeric:tabular-nums;padding-right:64px}.currency-suffix{color:var(--muted);pointer-events:none;font-size:12px;font-weight:600;position:absolute;top:50%;right:14px;transform:translateY(-50%)}.red-dot{background:var(--red)}.client-actionbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 16px;margin:0 0 18px;display:flex}.client-actionbar>p{flex:260px;margin:0;font-size:13px}.client-actionbar .client-top-actions{flex:0 auto;margin:0}.secondary.compact{gap:6px;min-height:34px;padding:7px 12px;font-size:13px}.section-heading{letter-spacing:.8px;text-transform:uppercase;color:var(--muted);margin:0;padding:20px 24px 6px;font-size:12px;font-weight:650}.client-panel .item-list{padding:0 24px 4px}.project-card .item-list{padding:4px 20px 8px}.project-card h4{margin:0;font-size:16px}.project-card .project-header p{margin:4px 0 0;font-size:13px}.item-row{border-top:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px 16px;padding:12px 0;display:grid}.item-row:has(.item-icon){grid-template-columns:auto minmax(0,1fr) auto}.item-main{flex-direction:column;gap:3px;min-width:0;display:flex}.item-title{flex-wrap:wrap;align-items:center;gap:4px 8px;display:flex}.item-main small{color:var(--muted);overflow-wrap:anywhere;font-size:12.5px}.item-amount{font-variant-numeric:tabular-nums;flex-direction:column;align-items:flex-end;display:flex}.item-amount small{color:var(--muted);font-size:12px}.item-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;display:flex}.row-menu{position:relative}.row-menu>summary{cursor:pointer;color:var(--muted);border:1px solid #0000;border-radius:8px;padding:7px 10px;font-size:13px;list-style:none}.row-menu>summary::-webkit-details-marker{display:none}.row-menu>summary:hover,.row-menu[open]>summary{background:var(--surface2);color:var(--text)}.row-menu-list{z-index:20;border:1px solid var(--line);background:var(--surface);min-width:220px;box-shadow:var(--shadow);border-radius:10px;flex-direction:column;align-items:stretch;padding:6px;display:flex;position:absolute;top:calc(100% + 4px);right:0}.row-menu-list .text-button{text-align:left;justify-content:flex-start;padding:9px 10px}.client-summary-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,290px),1fr));gap:16px;margin-bottom:20px;display:grid}.client-summary-card{flex-direction:column;align-items:flex-start;gap:12px;padding:18px;display:flex}.client-summary-card h2{margin:0;font-size:17px}.client-summary-card p{margin:2px 0 0;font-size:13px}.summary-amounts{font-variant-numeric:tabular-nums;flex-direction:column;gap:4px;font-size:14px;display:flex}.client-guide{border:1px solid var(--line);background:var(--surface);border-radius:12px;margin:8px 0 24px;padding:0 16px}.client-guide>summary{cursor:pointer;padding:12px 0;font-size:14px;font-weight:600}.client-guide ul{color:var(--muted);gap:8px;margin:0;padding:0 0 14px 18px;font-size:13.5px;line-height:1.5;display:grid}.client-guide li strong{color:var(--text)}.summary-row{border:0;border-top:1px solid var(--line);width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border-radius:0;align-items:center;gap:12px;padding:12px 4px;display:flex}.summary-row:hover{background:var(--field)}.summary-row .row-main{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.summary-row small{color:var(--muted);font-size:12.5px}@media (max-width:720px){.client-actionbar .client-top-actions{grid-template-columns:1fr 1fr;justify-content:stretch;width:100%;display:grid}.client-actionbar .client-top-actions .secondary{justify-content:center}.client-header,.client-financial-row,.valuation-notice,.section-heading,.client-panel .item-list{padding-left:16px;padding-right:16px}.project-card{margin-left:12px;margin-right:12px}:is(.item-row,.item-row:has(.item-icon)){grid-template-columns:1fr;gap:6px}.item-row .item-icon{display:none}.item-amount{flex-direction:row;align-items:baseline;gap:6px}.item-actions{justify-content:flex-start}.row-menu-list{left:0;right:auto}.client-selector-strip{scroll-snap-type:x proximity;margin-right:-4px}}.panel .summary-row{padding-left:24px;padding-right:20px}@media (max-width:720px){.panel .summary-row{padding-left:16px;padding-right:12px}.row-menu[open]{flex-basis:100%}.row-menu-list{min-width:0;box-shadow:none;margin-top:4px;position:static}.client-actionbar .client-top-actions .secondary{white-space:normal;text-align:center;min-width:0}}@media (max-width:400px){.client-actionbar .client-top-actions{grid-template-columns:1fr}}.client-panel>.empty-project-note{margin:0;padding:8px 24px 12px}@media (max-width:720px){.client-panel>.empty-project-note{padding-left:16px;padding-right:16px}}.modal form>.form-field{margin-bottom:16px}.modal form>.form-field .field-label{margin-bottom:6px}.modal form>.muted{margin:0 0 16px}#cf-title{margin-bottom:16px}
