:root{--ink:#182522;--muted:#728079;--line:#e3e8e2;--paper:#f4f6f2;--mint:#c2ef93;--green:#315d44;--purple:#bdb9ee;--peach:#edbc9e;--blue:#b6cbdc;--red:#a64437;--shadow:0 6px 28px #13271c05}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #6d9f57;outline-offset:3px}button{border:0}a{color:inherit}h1,h2,h3,p{margin:0}h1{font-size:31px;font-weight:620;letter-spacing:-1.1px;line-height:1.2}h2{font-size:17px;font-weight:620;letter-spacing:-.3px}h3{font-size:14px;font-weight:650}small,.small{font-size:12px}svg{display:block;max-width:100%}.icon{width:18px;height:18px;flex-shrink:0;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}.shell{display:grid;grid-template-columns:222px minmax(0,1fr);min-height:100vh}.sidebar{background:#17251f;color:#a7b4ac;padding:30px 20px 22px;position:fixed;inset:0 auto 0 0;width:222px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;gap:12px;align-items:center;color:#f2f7ed;margin:0 12px 42px}.brand-logo{width:35px;height:35px;border-radius:12px;background:var(--mint);display:grid;place-items:center;color:#17251f;font-size:22px;font-weight:750;transform:rotate(-7deg)}.brand b{font-size:21px;letter-spacing:3px;line-height:1.2;display:block}.brand span{font-size:10px;letter-spacing:2.1px;color:#9eafa3}.nav-caption{font-size:10px;letter-spacing:1.5px;text-transform:uppercase;padding:0 15px;margin:0 0 10px;color:#7f9486}.nav{display:grid;gap:5px}.nav button{display:flex;align-items:center;gap:12px;background:transparent;color:#b1c0b5;padding:13px 15px;border-radius:10px;text-align:left;font-size:13px}.nav button:hover{background:#23382b;color:white}.nav button.active{background:var(--mint);color:#18271c;font-weight:650}.nav .tag{margin-left:auto;background:#2b4533;color:var(--mint);padding:1px 6px;font-size:9px;border-radius:4px}.nav .active .tag{background:#a6d27b;color:#1e3324}.side-note{margin:30px 10px;padding:16px 13px;border:1px solid #334739;border-radius:12px;font-size:11px;color:#9bae9f}.side-note b{display:block;color:#d7e2d5;margin:7px 0 5px}.side-foot{margin-top:auto}.profile{display:flex;align-items:center;gap:10px;padding:17px 10px 0;border-top:1px solid #314437}.avatar{height:34px;width:34px;border-radius:50%;display:grid;place-items:center;background:#3e5142;color:#deebd5;font-size:12px}.profile b{font-size:12px;color:#edf3e9;display:block}.profile span{font-size:10px}.content{grid-column:2;min-width:0}.topbar{height:76px;padding:0 38px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;background:#f9fbf7;gap:15px}.breadcrumbs{display:flex;gap:9px;align-items:center;font-size:12px;color:var(--muted)}.breadcrumbs b{color:var(--ink);font-weight:500}.top-actions{display:flex;align-items:center;gap:16px}.save-state{font-size:11px;color:var(--muted);display:flex;gap:6px;align-items:center}.dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#66965c}.dot.error{background:var(--red)}.date-selector{border:1px solid var(--line);background:white;border-radius:8px;padding:9px 11px;color:var(--ink);font-size:12px}.main{padding:32px 38px 40px;max-width:1600px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}.eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:1.6px;color:var(--muted);margin-bottom:8px}.subtitle{color:var(--muted);margin-top:9px;font-size:12px}.buttons{display:flex;gap:9px;align-items:center}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 16px;border-radius:9px;background:var(--mint);color:#19301e;font-size:12px;font-weight:650;white-space:nowrap}.btn.secondary{background:white;border:1px solid var(--line);color:#48564d}.btn.dark{background:var(--ink);color:white}.btn.small{font-size:11px;padding:7px 11px}.btn.danger{background:#f9e5e0;color:var(--red)}.icon-btn{padding:7px;border-radius:7px;background:transparent;color:var(--muted);display:inline-flex;align-items:center;justify-content:center}.icon-btn:hover{background:#ecf0e9;color:var(--ink)}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.card,.panel{background:white;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}.card{padding:20px 21px;min-width:0}.card-top{display:flex;justify-content:space-between;align-items:center;gap:5px;color:#6f7c73;font-size:12px}.card .number{font-size:28px;letter-spacing:-1.1px;font-weight:600;margin:14px 0 10px;white-space:nowrap;font-variant-numeric:tabular-nums}.card .context{font-size:10px;color:var(--muted);display:flex;gap:5px;align-items:center}.card.primary{background:var(--mint);border-color:#b2df83}.card.primary .card-top,.card.primary .context{color:#3d5f31}.card-icon{width:30px;height:30px;border-radius:9px;background:#f1f4ed;display:grid;place-items:center;color:#70816d}.primary .card-icon{background:#b2df82;color:#375e2d}.grid-main{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(280px,1fr);gap:21px;margin-bottom:21px}.grid-two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:21px;margin-bottom:21px}.panel{padding:23px;min-width:0}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:17px}.panel-heading p{font-size:11px;color:var(--muted);margin-top:4px}.panel-heading .link{font-size:11px;background:none;color:#52664c;display:flex;gap:5px;align-items:center;white-space:nowrap}.legend{display:flex;gap:16px;color:var(--muted);font-size:10px}.legend span{display:flex;gap:5px;align-items:center}.legend i{height:7px;width:7px;border-radius:2px;display:inline-block;background:var(--mint)}.legend i.out{background:#74826e}.chart{width:100%;min-height:210px}.chart svg text{font-size:10px;fill:#819080}.chart .grid-line{stroke:#e8ece5;stroke-dasharray:3 5}.muted{color:var(--muted)}.subtle{font-size:11px;color:var(--muted)}.pill{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:6px;background:#f0f4ec;color:#5d7550;font-size:10px;white-space:nowrap}.pill.amber{color:#946331;background:#fbf0df}.pill.red{color:var(--red);background:#fae8e3}.pill.purple{background:#eeecfa;color:#6a6098}.dark-panel{background:#203229;border-color:#203229;color:#f2f6ed;position:relative;overflow:hidden}.dark-panel .subtle{color:#a6b4a7}.dark-panel:after{content:"";position:absolute;right:-65px;top:60px;width:180px;height:180px;border:1px solid #405743;border-radius:50%;pointer-events:none}.dark-panel .goal-number{font-size:37px;letter-spacing:-1.5px;font-weight:600;margin:18px 0 3px}.progress{height:6px;border-radius:99px;background:#edf0e8;overflow:hidden}.progress span{height:100%;display:block;background:#95bf7b;border-radius:99px;max-width:100%}.dark-panel .progress{background:#41583e;margin:22px 0 10px}.dark-panel .progress span{background:var(--mint)}.progress.red span{background:#c8705f}.progress.purple span{background:#a9a0d3}.goal-labels{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:var(--muted)}.dark-panel .goal-labels{color:#bbc9b5}.dark-panel .btn{position:relative;z-index:1;margin-top:25px;width:100%}.goal-mini{display:flex;gap:10px;align-items:center;border-top:1px solid #3f5340;margin-top:20px;padding-top:17px;font-size:11px;color:#c1cdbb}.goal-mini .icon{color:var(--mint)}.bars{display:grid;gap:16px;margin:20px 0}.bar-label{display:flex;justify-content:space-between;gap:10px;margin-bottom:7px;font-size:11px}.bar-label b{font-weight:600;font-variant-numeric:tabular-nums}.bar-track{height:8px;background:#f0f2ec;border-radius:99px;overflow:hidden}.bar-track span{height:100%;display:block;background:#b8d2a7;border-radius:99px}.bar-rank{background:transparent;padding:0;text-align:left;width:100%;color:var(--ink)}.mini-stat{display:flex;gap:16px;border-top:1px solid var(--line);padding-top:15px;margin-top:20px;font-size:10px}.mini-stat b{display:block;margin-top:3px;font-weight:500;color:#3c4b40;font-size:11px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px}th{font-weight:500;font-size:10px;color:var(--muted);text-align:left;padding:12px 10px;border-bottom:1px solid var(--line);white-space:nowrap}td{padding:13px 10px;border-bottom:1px solid #eef1eb;vertical-align:middle}tr:last-child td{border-bottom:0}.numeric{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.row-title{font-size:12px;line-height:1.4}.row-sub{font-size:10px;color:var(--muted);margin-top:3px}.amount-in{color:#537e45}.amount-out{color:#293a2c}.row-symbol{width:31px;height:31px;border-radius:9px;background:#f0f3ed;color:#74836c;display:grid;place-items:center}.description-cell{display:flex;align-items:center;gap:10px}.description-cell .icon{width:15px;height:15px}.alert-strip{padding:14px 18px;display:flex;gap:12px;align-items:flex-start;border:1px solid #e6e1cf;background:#fbf8ee;border-radius:11px;font-size:11px;color:#7b6e48;margin:18px 0 23px}.alert-strip .icon{width:17px;height:17px;margin-top:1px}.alert-strip b{display:block;font-weight:650;margin-bottom:3px}.alert-strip.good{background:#edf4e8;border-color:#dce9d3;color:#4a6b3d}.alert-strip.error{background:#fcf0ed;border-color:#efd9d3;color:#994b3e}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0;flex-wrap:wrap}.filters{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.field-inline{border:1px solid var(--line);border-radius:8px;background:white;padding:9px 11px;font-size:12px;color:var(--ink)}.search{min-width:240px}.section-note{font-size:11px;color:var(--muted);margin-top:14px}.budget-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:20px}.budget-summary>div{background:#edf1e8;border-radius:10px;padding:18px}.budget-summary span{font-size:11px;color:var(--muted)}.budget-summary b{display:block;font-size:25px;font-weight:550;margin-top:5px;letter-spacing:-.8px}.budget-row .progress{width:130px;height:5px;margin-top:7px}.goal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.goal-card{padding:22px}.goal-card .goal-icon{height:37px;width:37px;border-radius:11px;display:grid;place-items:center;background:#edf4e5;color:#65814d}.goal-card .goal-top{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:18px}.goal-card h2{font-size:15px;margin:10px 0 4px}.goal-card .goal-value{font-size:27px;font-weight:550;letter-spacing:-1px;margin:17px 0 12px}.goal-card .goal-value small{font-weight:400;font-size:12px;letter-spacing:0;color:var(--muted)}.goal-card p{font-size:11px;min-height:34px;color:var(--muted)}.goal-card .progress{margin:16px 0 8px}.goal-card .goal-buttons{display:flex;gap:7px;margin-top:20px}.goal-card .goal-buttons .btn{flex:1}.accounts{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:22px}.account-card{padding:19px;background:white;border:1px solid var(--line);border-radius:11px}.account-card b{display:block;font-size:22px;letter-spacing:-.7px;margin:9px 0}.account-card small{font-size:10px;color:var(--muted)}.insight-list{display:grid;gap:13px}.insight{padding:16px 17px;border-radius:11px;border:1px solid var(--line);background:white;display:flex;gap:13px;align-items:flex-start}.insight .insight-icon{background:#eff3e9;color:#668256;width:30px;height:30px;display:grid;place-items:center;border-radius:9px;flex-shrink:0}.insight.urgent .insight-icon{background:#f9e9e4;color:#a65c4d}.insight.review .insight-icon{background:#fbf1df;color:#9f7944}.insight h3{font-size:12px;margin:1px 0 5px}.insight p{font-size:11px;color:var(--muted);line-height:1.65}.agent-hero{padding:30px;border-radius:15px;background:#e9e8f2;border:1px solid #dddaec;margin-bottom:22px;display:flex;justify-content:space-between;align-items:center;gap:30px}.agent-hero p{color:#787189;font-size:12px;max-width:610px;margin-top:9px}.agent-hero h2{font-size:22px}.agent-hero .icon{height:34px;width:34px;color:#7e72a7;margin-bottom:15px}.code{font:11px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;background:#f3f5f0;border:1px solid var(--line);padding:15px;border-radius:10px;overflow:auto;max-height:300px;white-space:pre-wrap}.data-buttons{display:flex;gap:9px;flex-wrap:wrap;margin:18px 0}.empty{padding:40px 20px;text-align:center;color:var(--muted);font-size:12px}.empty .icon{margin:0 auto 12px;width:29px;height:29px}.tag-tabs{display:flex;gap:5px;background:#edf1e8;border-radius:8px;padding:4px}.tag-tabs button{background:transparent;border-radius:6px;padding:6px 11px;font-size:11px;color:var(--muted)}.tag-tabs button.active{background:white;color:var(--ink);box-shadow:0 1px 4px #00000008}.error-text{color:var(--red)}.footer{font-size:10px;color:#8a968b;display:flex;justify-content:space-between;gap:12px;padding-top:26px}.footer button{font-size:10px;color:#6e7e69;background:transparent;text-decoration:underline}.settlement-input{border:1px solid #e4e8e1;border-radius:5px;padding:7px 8px;width:100%;min-width:65px;background:#fcfdfb;font-size:11px}.settlement-summary{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:20px}.settlement-summary>div{padding:24px;border-radius:13px;background:white;border:1px solid var(--line)}.settlement-summary .balance{background:var(--mint);border-color:#b6df91}.settlement-summary b{display:block;font-size:29px;margin-top:9px;letter-spacing:-1px}.settlement-summary span{font-size:12px;color:#5a6e50}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.settings-grid .panel{padding:23px}.field{display:grid;gap:6px;margin-bottom:15px;min-width:0}.field label{font-size:11px;color:#596b5b;font-weight:600}.field input,.field select,.field textarea{width:100%;border:1px solid #dce3d7;border-radius:8px;background:#fcfdfb;padding:10px 12px;color:var(--ink);font-size:13px}.field textarea{resize:vertical;min-height:65px}.field small{font-size:10px;color:var(--muted)}.fields-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.checkbox{display:flex;gap:9px;align-items:flex-start;font-size:12px;margin:13px 0;color:#536752}.checkbox input{margin-top:4px;accent-color:#61884e}.settings-grid .btn{margin-top:9px}.mobile-brand{display:none}.mobile-nav{display:none}dialog{border:1px solid #d8e0d2;border-radius:16px;padding:0;box-shadow:0 25px 100px #17251f29;width:min(570px,calc(100vw - 28px));max-height:90vh;color:var(--ink);background:white}dialog::backdrop{background:#192c2366;backdrop-filter:blur(3px)}.modal-head{display:flex;justify-content:space-between;align-items:center;padding:23px 25px 15px}.modal-head h2{font-size:20px}.modal-body{padding:0 25px 25px}.modal-body .subtitle{margin:0 0 20px}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:23px;border-top:1px solid var(--line);padding-top:17px}.modal-error{border-radius:8px;background:#fbece6;color:#a25140;padding:10px;font-size:12px;margin:12px 0}.divider{height:1px;background:var(--line);margin:20px 0}.flow-label{font-size:11px;color:var(--muted);display:flex;justify-content:space-between;padding:9px 0;border-bottom:1px solid #edf0e9}.flow-label b{color:#354a38;font-weight:550}#toast{position:fixed;bottom:24px;left:calc(50% + 100px);transform:translateX(-50%);z-index:30;max-width:90vw;padding:12px 19px;background:#20372a;color:#eef6e8;border-radius:10px;font-size:12px;box-shadow:0 10px 40px #0002;display:none}.badge-count{display:inline-grid;place-items:center;min-width:18px;height:18px;font-size:10px;background:#f0e5ce;color:#977139;border-radius:50%;margin-left:5px}.chart-caption{display:flex;justify-content:space-between;gap:20px;font-size:11px;color:var(--muted);margin-top:10px}.trend-total{font-size:22px;letter-spacing:-.7px;color:var(--ink);font-weight:550;margin-top:8px}.import-preview{padding:15px;border:1px solid var(--line);background:#f5f7f1;border-radius:10px;max-height:240px;overflow:auto;font-size:12px}.two-column{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}.form-status{font-size:11px;color:var(--muted);margin-top:10px}.note-card{padding:18px 20px;background:#ecf0e8;border-radius:10px;font-size:12px;color:#566c4c}.note-card b{display:block;margin-bottom:5px;color:#395135}.transaction-count{font-size:11px;color:var(--muted)}.inline-detail{font-size:10px;color:var(--muted);margin-top:4px}.save-state button{background:none;color:inherit;text-decoration:underline;padding:0;font-size:10px}@media(min-width:1500px){.main{padding-top:39px}.cards{gap:21px}.card{padding:24px}.card .number{font-size:31px}.panel{padding:25px}}@media(max-width:1200px){.main{padding:27px 25px}.topbar{padding:0 25px}.cards{gap:11px}.card{padding:17px}.card .number{font-size:24px}.grid-main{grid-template-columns:minmax(0,1.6fr) minmax(250px,1fr)}.goal-grid{grid-template-columns:repeat(2,1fr)}.search{min-width:170px}.grid-two{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)}}@media(max-width:960px){.shell{grid-template-columns:80px minmax(0,1fr)}.sidebar{width:80px;padding:26px 10px}.brand{margin:0 auto 35px}.brand>div:last-child,.nav-caption,.nav button span,.nav button .tag,.side-note,.profile>div:last-child{display:none}.nav button{justify-content:center;padding:15px}.profile{justify-content:center;padding:15px 0 0}.cards{grid-template-columns:repeat(2,1fr)}.grid-main,.grid-two{grid-template-columns:1fr}.dark-panel{min-height:270px}.goal-grid{grid-template-columns:repeat(2,1fr)}#toast{left:calc(50% + 40px)}.main{padding:27px 23px}.topbar{padding:0 23px}.accounts{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.shell{display:block}.sidebar{display:none}.content{width:100%}.topbar{height:65px;padding:0 17px}.breadcrumbs{display:none}.mobile-brand{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:700;letter-spacing:1px}.mobile-brand .brand-logo{width:25px;height:25px;border-radius:8px;font-size:17px}.top-actions{gap:8px}.save-state{font-size:0}.save-state .dot{height:7px;width:7px}.date-selector{padding:7px;font-size:11px;max-width:135px}.main{padding:25px 16px 95px}.page-heading{display:block;margin-bottom:21px}.page-heading .buttons{margin-top:18px}.page-heading h1{font-size:27px}.eyebrow{font-size:9px}.cards{gap:10px;margin-bottom:15px}.card{padding:15px}.card .number{font-size:23px;margin:12px 0 8px;letter-spacing:-.7px}.card-top{font-size:10px}.card-icon{width:25px;height:25px}.card .context{font-size:9px;line-height:1.4;min-height:25px}.panel{padding:18px}.grid-main,.grid-two{gap:15px;margin-bottom:15px}.panel-heading h2{font-size:15px}.legend{gap:9px}.goal-grid,.settings-grid,.two-column,.accounts{grid-template-columns:1fr}.budget-summary{gap:9px}.budget-summary>div{padding:13px 10px}.budget-summary b{font-size:21px}.budget-summary span{font-size:9px}.settlement-summary{grid-template-columns:1fr;gap:11px}.agent-hero{padding:23px;display:block}.agent-hero .btn{margin-top:17px}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fcfdf9f7;backdrop-filter:blur(12px);z-index:10;border-top:1px solid #dce4d6;justify-content:space-around;padding:9px 5px max(9px,env(safe-area-inset-bottom))}.mobile-nav button{background:transparent;color:#8a9881;display:grid;justify-items:center;gap:4px;font-size:9px;padding:5px 6px;border-radius:8px;min-width:48px}.mobile-nav button.active{color:#355c2a;background:#eaf2e1}.mobile-nav .icon{width:19px;height:19px}.search{min-width:150px;max-width:180px}.filters{gap:6px}.field-inline{padding:8px;font-size:11px}.toolbar{gap:8px}.footer{display:block;line-height:2}.fields-two{gap:11px}.modal-head{padding:20px 19px 14px}.modal-body{padding:0 19px 20px}.modal-head h2{font-size:18px}.goal-card{padding:21px}#toast{left:50%;bottom:90px;width:max-content;max-width:calc(100vw - 30px)}.alert-strip{padding:12px;font-size:10px}.table-wrap td{padding:12px 8px}.card .number{white-space:normal}.mini-stat{gap:12px}}
@media print{.sidebar,.topbar,.mobile-nav,.page-heading .buttons,.icon-btn,.footer{display:none}.shell{display:block}.content{display:block}.main{padding:0}.panel,.card{break-inside:avoid}.cards{grid-template-columns:repeat(4,1fr)}.grid-main,.grid-two{display:block}.panel{margin-bottom:20px;box-shadow:none}.dark-panel{background:#f1f4ed;color:#17251f}.dark-panel .subtle{color:#66755e}}

.auth-wrap{max-width:720px;margin:6vh auto;padding:20px}.auth-card{padding:36px}.auth-card h1{margin:16px 0}.auth-card h2{margin:24px 0 12px}.auth-card p{margin:14px 0}.auth-card .field{margin:16px 0}.auth-card .field input{width:100%}.auth-brand{color:var(--ink)}.auth-brand span{color:var(--muted)}.preflight{padding-left:20px}.alert-strip .buttons{margin-top:12px;flex-wrap:wrap}.code{overflow-wrap:anywhere;white-space:pre-wrap}.auth-card .btn{margin-top:12px}
