:root{--bg:#f6f7f9;--paper:#fff;--ink:#202c34;--muted:#859098;--line:#edf0f2;--green:#15765a;--green-light:#edf7f2;--purple:#9681ce;--shadow:0 3px 18px #20332903}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button,a,select{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button{transition:background .16s,transform .16s}button:active{transform:translateY(1px)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #60b99a;outline-offset:3px}a{color:inherit;text-decoration:none}svg.icon{width:20px;height:20px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round;display:block;flex-shrink:0}button span[data-icon],.month-control span[data-icon]{display:flex}
.app-shell{display:flex;min-height:100vh}.sidebar{width:246px;flex-shrink:0;background:white;border-right:1px solid var(--line);padding:35px 22px 20px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;z-index:5}.brand{display:flex;align-items:center;gap:12px;font-size:24px;font-weight:750;letter-spacing:-1px;margin:0 9px 49px}.brand-mark{background:var(--green);width:42px;height:44px;border-radius:13px;color:white;font-size:38px;line-height:39px;padding-left:10px;position:relative;font-family:Georgia,serif;letter-spacing:-5px}.brand-mark span{font-family:Arial,sans-serif;font-size:24px;position:absolute;right:7px;top:-4px;color:#b8e7c8}.brand-subtitle{display:block;font-size:9px;letter-spacing:2.1px;font-weight:600;color:var(--muted);margin-top:5px}.sidebar-label{font-size:9px;letter-spacing:1.5px;font-weight:700;color:#a0a8ae;margin:0 11px 13px}.space-card{width:100%;border:1px solid var(--line);border-radius:10px;background:#fff;display:flex;align-items:center;gap:9px;padding:12px 8px;text-align:left;margin-bottom:31px}.space-card strong{font-size:11px;display:block}.space-card small{font-size:10px;color:var(--muted);display:block;margin-top:5px}.space-card>.icon,.space-card>span:last-child{margin-left:auto;color:#98a1a7}.space-card .icon{width:14px}.avatar-pair{display:flex;flex-shrink:0;padding-right:1px}.avatar-pair span{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-size:10px;background:#e7efed;color:var(--green);border:2px solid #fff}.avatar-pair span+span{margin-left:-9px;background:#efebf7;color:#8d74b7}nav{display:grid;gap:7px}.nav-item{border:0;background:transparent;padding:13px 13px;border-radius:8px;text-align:left;display:flex;gap:12px;align-items:center;color:#79848c;font-size:12px;font-weight:550}.nav-item.active{background:var(--green-light);color:var(--green)}.nav-item:hover{background:#f4f7f6}.nav-item .icon{width:18px;height:18px}.nav-dot{height:6px;width:6px;background:var(--green);border-radius:50%;margin-left:auto}.nav-item:not(.active) .nav-dot{display:none}.sidebar-note{margin-top:auto;padding:50px 15px 45px}.note-icon{background:#f3f5f4;border-radius:10px;display:grid;place-items:center;width:36px;height:36px;margin-bottom:15px;color:#7d998d}.sidebar-note strong{font-size:12px}.sidebar-note p{font-size:11px;color:var(--muted);line-height:1.9;margin:7px 0 15px}.note-line{display:block;width:28px;height:2px;background:#d6e6dc}.sidebar-bottom{border-top:1px solid var(--line);padding-top:21px;display:flex;align-items:center;gap:10px}.sidebar-bottom strong{font-size:11px;display:block}.sidebar-bottom small{font-size:10px;color:var(--muted);display:block;margin-top:4px}.status-dot{width:6px;height:6px;border-radius:50%;background:#72aa8e;margin-left:auto}.avatar{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;font-size:11px;font-weight:600}.personal{background:#e7efed;color:#4d7866}.wife{background:#eee9f6;color:#8b76af}
.main-shell{margin-left:246px;width:calc(100% - 246px)}.topbar{height:77px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 40px;background:#ffffff90}.breadcrumbs{font-size:11px;color:var(--muted);display:flex;gap:16px}.breadcrumbs strong{color:#53616b;font-weight:500}.topbar-right{display:flex;align-items:center;gap:11px}.demo-badge{font-size:8px;letter-spacing:1px;color:#728375;font-weight:650;display:flex;gap:6px;align-items:center;background:#eff4ef;padding:6px 8px;border-radius:5px}.demo-badge>span{height:4px;width:4px;background:#79a286;border-radius:50%}.icon-button{width:32px;height:32px;display:grid;place-items:center;background:none;border:0;color:#89949b;border-radius:7px}.icon-button:hover{background:#eef2f1}.icon-button .icon{width:18px;height:18px}.topbar-divider{width:1px;height:23px;background:#e4e8eb;margin:0 8px}.topbar-right .avatar+.avatar{margin-left:-6px;border:2px solid white}main{max-width:1510px;margin:auto;padding:37px 40px 0}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:29px}.eyebrow{font-size:9px;font-weight:650;letter-spacing:1.6px;color:#99a2a7;margin-bottom:10px}h1{font-size:29px;font-weight:650;letter-spacing:-1.1px;line-height:1.3;margin:0}h1>span{color:var(--green)}.page-heading p{font-size:12px;color:var(--muted);margin:9px 0 0}.primary-button{border:0;background:var(--green);color:white;border-radius:8px;padding:12px 16px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:11px;font-weight:550;box-shadow:0 3px 7px #15765a15;white-space:nowrap}.primary-button:hover{background:#0c6047}.primary-button .icon{width:15px;height:15px}.secondary-button{border:1px solid #e5e9eb;border-radius:7px;padding:10px 13px;background:white;color:#63717a;font-size:11px}.secondary-button:hover{background:#f5f7f6}.view-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:23px;gap:15px}.profile-tabs{display:flex;padding:4px;border:1px solid #e8eced;border-radius:9px;background:#edeff2;gap:3px}.profile-tabs button{border:0;display:flex;align-items:center;gap:7px;background:none;padding:9px 15px;font-size:11px;font-weight:550;color:#849097;border-radius:6px}.profile-tabs button.selected{background:white;color:var(--green);box-shadow:0 1px 5px #1c30310a}.profile-tabs .icon{width:15px;height:15px}.mini-avatar{display:grid;place-items:center;border-radius:50%;width:18px;height:18px;font-size:8px}.month-control{display:flex;align-items:center;gap:8px;border:1px solid #e6e9ec;background:white;border-radius:8px;padding:10px 12px;color:#7d898f}.month-control .icon{width:15px;height:15px}.month-control select{border:0;background:none;color:#596871;font-size:11px;appearance:none;cursor:pointer;padding-right:3px}.month-control select:focus{outline-offset:6px}
.context-line{display:flex;align-items:center;gap:7px;font-size:10px;color:#929c9f;margin-bottom:16px}.context-line .icon{width:13px;height:13px;color:#7e9b8b}.context-line strong{color:#687c70;font-weight:550}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:23px}.stat-card{background:white;border:1px solid var(--line);border-radius:11px;padding:20px 20px 17px;box-shadow:var(--shadow);position:relative;overflow:hidden}.stat-card.featured{background:var(--green);color:white;border-color:var(--green)}.stat-header{display:flex;align-items:center;justify-content:space-between;color:#818d94;font-size:11px;margin-bottom:15px}.featured .stat-header{color:#dbede6}.stat-header .icon{width:17px;height:17px;opacity:.75}.stat-value{font-size:27px;font-weight:650;letter-spacing:-.9px;white-space:nowrap}.stat-value .currency{font-size:19px;font-weight:450;opacity:.75;margin-left:4px}.stat-caption{font-size:9px;color:#9ca5aa;margin-top:13px;display:flex;align-items:center;gap:5px;line-height:1.5}.featured .stat-caption{color:#c6dfd3}.stat-caption .icon{width:12px;height:12px}.stat-caption .positive{color:var(--green);background:#eff8f3;border-radius:4px;padding:2px 5px}.featured:after{content:"";position:absolute;right:-34px;bottom:-65px;width:165px;height:165px;border-radius:50%;border:27px solid #ffffff06;pointer-events:none}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(290px,1fr);gap:22px}.panel{border:1px solid var(--line);border-radius:11px;background:white;box-shadow:var(--shadow);padding:23px;min-width:0}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:23px}.panel h2{font-size:13px;font-weight:650;letter-spacing:-.15px;margin:0}.panel-subtitle{font-size:10px;color:var(--muted);margin:7px 0 0}.text-button{border:0;background:none;color:var(--green);font-size:10px;padding:2px 0;display:flex;align-items:center;gap:5px;white-space:nowrap}.text-button .icon{width:12px;height:12px}.legend{display:flex;gap:13px;font-size:9px;color:#8d989e;margin-top:2px}.legend span{display:flex;gap:5px;align-items:center}.legend i{width:7px;height:7px;border-radius:2px;background:var(--green)}.legend span+span i{background:#cedcd5}.bar-chart{width:100%;height:auto;max-height:210px;display:block}.bar-chart text{fill:#9ba4aa;font-size:10px;font-family:inherit}.bar-chart .grid-line{stroke:#eff1f3;stroke-dasharray:3 4}.chart-footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);margin-top:11px;padding-top:14px;font-size:10px;color:#87949a}.chart-footer strong{color:var(--green);font-weight:550}.chart-footer .icon{width:14px;height:14px}.chart-footer>span{display:flex;align-items:center;gap:6px}.expense-content{display:flex;gap:20px;align-items:center;justify-content:center;margin-top:29px}.donut{width:140px;height:140px;flex-shrink:0;position:relative}.donut svg{width:100%;height:100%;transform:rotate(-90deg)}.donut-label{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px}.donut-label small{color:#96a1a5;font-size:9px}.donut-label strong{font-size:18px;letter-spacing:-.7px;font-weight:650}.category-legend{display:grid;gap:14px;flex:1}.category-legend>div{display:flex;align-items:center;gap:7px;font-size:10px}.category-legend i{width:6px;height:6px;border-radius:50%;flex-shrink:0}.category-legend span{color:#7c8991}.category-legend strong{margin-left:auto;font-size:10px;font-weight:550}.expense-note{margin-top:29px;background:#f7f9f8;border-radius:6px;padding:11px 10px;font-size:9px;color:#83938a;line-height:1.6;display:flex;align-items:center;gap:7px}.expense-note .icon{width:14px;height:14px;flex-shrink:0}.transaction-panel{padding-bottom:7px}.transaction-panel .panel-heading{margin-bottom:13px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:8px;color:#9ba5aa;font-weight:550;letter-spacing:.8px;padding:11px 0;border-bottom:1px solid var(--line)}td{padding:14px 0;font-size:10px;color:#869198;border-bottom:1px solid #f1f3f5}tr:last-child td{border-bottom:0}td:last-child,th:last-child{text-align:right}.transaction-name{display:flex;gap:10px;align-items:center;color:#43525b;font-weight:550}.transaction-name small{display:block;color:#a3abb0;font-size:9px;font-weight:400;margin-top:4px}.transaction-icon{width:31px;height:31px;border-radius:8px;display:grid;place-items:center;flex-shrink:0}.transaction-icon .icon{width:15px;height:15px}.category-pill{font-size:8px;padding:5px 7px;border-radius:5px;background:#f4f6f7;color:#87949c}.amount{color:#46565f;font-weight:600}.amount.income{color:var(--green)}.empty-state{text-align:center;padding:45px 20px;color:var(--muted);line-height:1.8}.goals-list{display:grid;gap:21px}.goal-top{display:flex;gap:10px;align-items:center;margin-bottom:11px}.goal-icon{width:32px;height:32px;border-radius:8px;display:grid;place-items:center;background:#f3f0fa;color:#9682c5}.goal-icon .icon{width:16px;height:16px}.goal-top strong{font-size:11px;font-weight:550;display:block}.goal-top small{font-size:9px;color:#9aa2a8;display:block;margin-top:4px}.goal-percent{margin-left:auto;color:#879c8c;font-size:10px}.progress-track{height:5px;background:#f0f2f3;border-radius:8px;overflow:hidden}.progress-track span{display:block;height:100%;border-radius:8px;background:#80ab96}.goal-bottom{display:flex;justify-content:space-between;font-size:9px;color:#a1aaae;margin-top:8px}.goal-bottom strong{color:#697b70;font-weight:550}.goals-tip{border-top:1px solid var(--line);padding-top:17px;margin-top:23px;color:#9ba5aa;font-size:9px;line-height:1.6}.bottom-strip{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#eef4ef;border:1px solid #e3ece4;padding:17px 21px;border-radius:10px;margin-top:22px}.bottom-strip>div{display:flex;align-items:center;gap:13px}.bottom-strip .icon{width:19px;height:19px;color:#80a18d}.bottom-strip strong{display:block;font-size:11px;color:#517360;font-weight:550}.bottom-strip p{font-size:10px;color:#89a18f;margin:5px 0 0}.bottom-strip>span{font-size:9px;border:1px solid #dce7dd;border-radius:5px;padding:7px 9px;color:#809788;white-space:nowrap}footer{display:flex;justify-content:space-between;gap:15px;padding:24px 0 20px;font-size:9px;color:#a2aaaf}footer>span:first-child{display:flex;align-items:center;gap:6px}.footer-dot{width:4px;height:4px;border-radius:50%;background:#92b29a}
.filters{display:flex;align-items:center;gap:12px;margin-bottom:16px}.filters input,.filters select{border:1px solid #e4e9eb;border-radius:7px;padding:10px 12px;color:#63717b;background:white;font-size:12px}.filters input{flex:1;min-width:0}.section-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.budget-card .goal-top{margin-bottom:25px}.budget-amount{font-size:25px;font-weight:600;letter-spacing:-.7px;margin-bottom:16px}.budget-amount small{font-size:12px;letter-spacing:0;color:#94a0a5;font-weight:400}.budget-card .progress-track{height:7px}.budget-card p{font-size:11px;color:#86968d;margin:16px 0 0}.budget-card.over p{color:#b26f57}.budget-card.over .progress-track span{background:#c28972}.section-intro{font-size:11px;color:#8b979e;margin:0 0 20px;line-height:1.8}.full-goal .goal-top{margin-bottom:23px}.full-goal .goal-icon{width:44px;height:44px}.full-goal .goal-icon .icon{width:22px;height:22px}.goal-amount{font-size:29px;font-weight:600;letter-spacing:-.8px;margin:16px 0 8px}.goal-target{color:#929ca3;font-size:11px;margin-bottom:22px}.full-goal .progress-track{height:7px}.full-goal .goal-bottom{margin-top:12px}.insight-grid{display:grid;grid-template-columns:1.7fr 1fr;gap:22px}.report-list{display:grid;gap:20px}.report-row{display:flex;justify-content:space-between;font-size:12px;border-bottom:1px solid var(--line);padding-bottom:15px;color:#8b979e}.report-row strong{color:#53695d}.report-warning{font-size:11px;line-height:1.8;color:#8b979e;margin:22px 0 0}
dialog{border:1px solid #e8eeea;border-radius:17px;padding:28px;max-width:470px;width:calc(100% - 32px);box-shadow:0 24px 80px #142d2b30;color:var(--ink)}dialog::backdrop{background:#1d303d55;backdrop-filter:blur(4px)}.dialog-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:13px}.dialog-heading h2{margin:0;font-size:22px;letter-spacing:-.6px}.dialog-description,dialog>p{font-size:12px;color:#7d8b92;line-height:1.8}form>label,.form-row>label{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#65767e;margin-top:16px}form input,form select{width:100%;padding:11px 12px;border:1px solid #e0e7e5;border-radius:7px;color:#42565b;background:#fafcfb;min-width:0}.form-row{display:flex;gap:14px}.form-row>label{width:50%}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:23px}.form-error{color:#b34d40;font-size:11px;line-height:1.6}.form-error:empty{display:none}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);background:#203f32;color:white;border-radius:9px;padding:13px 20px;font-size:12px;box-shadow:0 8px 30px #17352620;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:20}#toast.visible{opacity:1;transform:translate(-50%,0)}
@media(min-width:1550px){main{padding-top:45px}.stat-value{font-size:32px}.bar-chart{max-height:245px}.panel{padding:27px}.expense-content{gap:28px}.donut{width:155px;height:155px}.stat-card{padding:24px}.page-heading{margin-bottom:36px}}
@media(max-width:1200px){.sidebar{width:210px;padding-left:16px;padding-right:16px}.main-shell{margin-left:210px;width:calc(100% - 210px)}main{padding:28px 25px 0}.topbar{padding:0 25px}.brand{font-size:22px}.stats-grid{gap:12px}.stat-card{padding:17px 14px}.stat-value{font-size:23px}.dashboard-grid{gap:16px;grid-template-columns:minmax(0,1.5fr) minmax(270px,1fr)}.panel{padding:19px}.expense-content{gap:12px}.donut{width:115px;height:115px}.donut-label strong{font-size:16px}h1{font-size:25px}.profile-tabs button{padding:9px 11px}.category-legend{gap:13px}.category-legend>div{font-size:9px}.transaction-panel th:nth-child(3),.transaction-panel td:nth-child(3){display:none}.section-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1000px){.sidebar{width:78px;padding:25px 12px}.brand{margin:0 auto 38px}.brand>span:last-child,.sidebar-label,.space-card,.nav-item:not(.active) .nav-dot,.nav-dot,.sidebar-note,.sidebar-bottom>div,.sidebar-bottom>.status-dot{display:none}.nav-item{font-size:0;padding:16px;gap:0;justify-content:center}.nav-item .icon{width:20px;height:20px}.sidebar-bottom{justify-content:center;margin-top:auto}.main-shell{margin-left:78px;width:calc(100% - 78px)}.brand-mark{width:40px}.dashboard-grid{grid-template-columns:minmax(0,1.4fr) minmax(260px,1fr)}.legend{gap:8px}.panel-heading{gap:7px}.profile-tabs button{padding:9px 10px}.topbar{height:65px}.page-heading{align-items:flex-start}.expense-content{flex-direction:column;margin-top:12px;gap:17px}.category-legend{width:100%;gap:8px}.expense-note{margin-top:15px}.donut{width:130px;height:130px}}
@media(max-width:760px){.sidebar{position:sticky;inset:0;top:0;width:100%;height:62px;flex-direction:row;align-items:center;padding:8px 16px;border-right:0;border-bottom:1px solid var(--line)}.app-shell{display:block}.brand{margin:0 22px 0 0}.brand-mark{width:34px;height:36px;font-size:32px;line-height:32px;border-radius:10px;padding-left:8px}.brand-mark span{font-size:20px;right:6px;top:-3px}.sidebar nav{display:flex;margin-left:auto;gap:3px}.nav-item{padding:11px}.sidebar-bottom{display:none}.main-shell{margin:0;width:100%}.topbar{height:54px;padding:0 20px}.breadcrumbs{gap:10px}.topbar-divider,.topbar-right>.avatar{display:none}main{padding:25px 20px 0}.page-heading{gap:12px;flex-wrap:wrap;margin-bottom:22px}h1{font-size:26px;max-width:390px}.page-heading .primary-button{padding:10px 13px}.view-toolbar{align-items:stretch;flex-direction:column;gap:12px}.profile-tabs{width:100%;justify-content:space-between}.profile-tabs button{flex:1;justify-content:center;padding:10px 5px;font-size:10px}.month-control{align-self:flex-end;padding:8px 10px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:16px}.stat-card{padding:18px}.stat-value{font-size:26px}.stat-header{font-size:11px}.stat-caption{font-size:9px}.dashboard-grid{grid-template-columns:1fr}.expense-content{flex-direction:row;gap:30px;margin:20px 0}.donut{width:148px;height:148px}.category-legend{gap:16px}.category-legend>div{font-size:11px}.category-legend strong{font-size:11px}.panel{padding:22px}.transaction-panel th:nth-child(3),.transaction-panel td:nth-child(3){display:table-cell}.bottom-strip{padding:15px}.bottom-strip>span{display:none}footer{flex-direction:column;gap:10px;font-size:9px}.section-grid,.insight-grid{grid-template-columns:1fr}.context-line{font-size:9px;line-height:1.6}.legend{font-size:8px}.filters{flex-wrap:wrap}.filters input{width:100%;flex-basis:100%}}
@media(max-width:400px){main{padding:23px 14px 0}.topbar{padding:0 14px}.nav-item{padding:10px}.brand{margin-right:10px}h1{font-size:24px}.stat-value{font-size:23px}.stat-card{padding:15px}.panel{padding:17px}.transaction-panel th:nth-child(3),.transaction-panel td:nth-child(3){display:none}.expense-content{gap:17px}.donut{width:128px;height:128px}.profile-tabs button{font-size:9px;gap:5px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.profile-home{display:none}.home-view .app-shell{display:none}.home-view .profile-home{display:block;min-height:100vh;background:radial-gradient(ellipse at 50% 10%,#eaf2ec 0,transparent 60%),var(--bg)}.home-header{max-width:1260px;margin:auto;padding:34px 40px;display:flex;justify-content:space-between;align-items:center;gap:15px}.home-header .brand{margin:0}.home-header .brand>span:last-child{display:block}.home-header .demo-badge{border:1px solid #dae6dd;cursor:pointer;font-size:9px;padding:9px 12px}.home-content{max-width:1170px;padding:50px 35px 35px}.home-intro{text-align:center;margin-bottom:44px}.home-intro .eyebrow{color:#8da397;letter-spacing:2px;margin-bottom:18px}.home-intro h1{font-size:43px;letter-spacing:-1.7px;max-width:none}.home-intro p{font-size:14px;color:#82928a;line-height:1.9;margin:17px 0 0}.profile-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.profile-card{display:block;background:white;border:1px solid #e5ebe6;border-radius:19px;padding:28px;box-shadow:0 7px 25px #24412f04;transition:transform .2s,box-shadow .2s,border-color .2s}.profile-card:hover{transform:translateY(-5px);box-shadow:0 16px 30px #24412f0c;border-color:#aac4b5}.profile-card-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:28px}.profile-card-avatar{width:63px;height:63px;border-radius:20px;display:grid;place-items:center;background:#e7efed;color:#4d7866;font-weight:600;font-size:21px}.profile-card.wife .profile-card-avatar{background:#eee9f6;color:#8b76af}.profile-card-avatar .icon{width:29px;height:29px}.profile-kind{font-size:9px;font-weight:550;color:#88978e;border:1px solid #e8eeea;padding:6px 8px;border-radius:6px}.profile-card h2{font-size:23px;letter-spacing:-.7px;margin:0 0 12px;font-weight:650}.profile-card p{color:#8a9891;font-size:12px;line-height:1.9;min-height:69px;margin:0}.profile-card-features{display:grid;gap:12px;padding:24px 0;margin-top:4px;color:#7f9186;font-size:11px}.profile-card-features>span{display:flex;gap:9px;align-items:center}.profile-card-features .icon{width:15px;height:15px}.profile-card-action{border-top:1px solid #edf1ee;margin-top:8px;padding-top:20px;display:flex;align-items:center;justify-content:space-between;font-size:11px;font-weight:600;color:var(--green)}.profile-card-action .icon{width:18px;height:18px}.profile-card.family{background:var(--green);border-color:var(--green);color:white}.profile-card.family .profile-card-avatar{background:#ffffff16;color:#e1f2e8}.profile-card.family .profile-kind{color:#d8eadd;border-color:#ffffff26}.profile-card.family p,.profile-card.family .profile-card-features{color:#bed9ca}.profile-card.family .profile-card-action{color:white;border-color:#ffffff26}.home-note{display:flex;justify-content:center;align-items:center;gap:13px;margin:36px 0 24px;color:#869b8d;font-size:11px;line-height:1.9}.home-note .icon{width:22px;height:22px;color:#99b4a0}.home-disclaimer{text-align:center;font-size:10px;color:#a0aaa4;line-height:1.9}.family.avatar{background:#e3f0e6;color:#24775b}.profile-identity{display:flex;align-items:center;gap:10px}.profile-identity strong{font-size:11px;font-weight:600;display:block}.profile-identity small{font-size:9px;color:var(--muted);display:block;margin-top:4px}h1[tabindex="-1"]:focus{outline:none}.breadcrumbs #home-link{color:var(--green);white-space:nowrap}.breadcrumbs #active-profile-name{color:#637970}
@media(max-width:1000px){.home-content{padding-top:35px}.profile-cards{gap:16px}.profile-card{padding:22px}.profile-card h2{font-size:21px}}
@media(max-width:760px){.home-header{padding:24px 20px}.home-content{padding:25px 20px 30px}.home-intro{margin-bottom:30px}.home-intro h1{font-size:33px}.home-intro p{font-size:12px}.profile-cards{grid-template-columns:1fr;max-width:420px;margin:auto;gap:17px}.profile-card{padding:25px}.profile-card-top{margin-bottom:19px}.profile-card p{min-height:0}.profile-card-features{display:flex;flex-wrap:wrap;gap:15px;padding:18px 0}.profile-card-avatar{width:52px;height:52px;border-radius:16px}.home-note{font-size:10px;align-items:flex-start}.home-header .demo-badge{font-size:7px;letter-spacing:.5px}.breadcrumbs{font-size:9px;gap:7px;flex-wrap:wrap}.topbar{gap:8px}.topbar-right{gap:4px}.topbar-right .demo-badge{display:none}.view-toolbar{flex-direction:row;align-items:center}.profile-identity .avatar{width:29px;height:29px}.home-header .brand{font-size:21px;gap:8px}}
[hidden]{display:none!important}.auth-screen{display:none}.auth-view .app-shell,.auth-view .profile-home{display:none}.auth-view .auth-screen{display:grid;min-height:100vh;place-items:center;padding:25px;background:radial-gradient(ellipse at 50% 15%,#e7f0e8,transparent 65%),var(--bg)}.auth-card{width:100%;max-width:440px;padding:34px;background:white;border:1px solid #e2ebe4;border-radius:20px;box-shadow:0 15px 60px #17382a09}.auth-card>.brand-mark{display:block;margin-bottom:24px}.auth-card h1{font-size:27px;letter-spacing:-.8px}.auth-card>p,.auth-card>small{font-size:12px;line-height:1.8;color:#89998f}.auth-card>small{display:block;margin-top:24px;font-size:10px}.auth-card form>label{display:flex;flex-direction:column;gap:8px}.auth-card form>.primary-button{margin-top:22px;width:100%}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.settings-grid form>.primary-button{margin-top:20px}.settings-grid .section-intro{margin:18px 0}.settings-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:16px 0;border-bottom:1px solid var(--line)}.settings-row strong{font-size:12px}.settings-row small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.row-controls{display:inline-flex;gap:13px;margin-top:8px}.row-controls .text-button{font-size:10px}.danger{color:#b26a57}.budget-summary{display:grid;gap:19px}.budget-summary .budget-amount{font-size:19px;margin-bottom:10px}.budget-summary .goal-top{margin-bottom:8px}.budget-summary .goal-percent{font-size:9px}.dashboard-grid .table-wrap{max-width:100%}.session-actions{display:flex;gap:9px}.month-control input{border:0;background:transparent;color:#596871;font-size:12px;max-width:150px}.nav-item>.icon{width:18px;height:18px}.stat-value{font-size:24px}button:disabled{opacity:.55;cursor:wait}.dashboard-grid+.section-intro{margin-top:20px}.full-goal .row-controls{margin-top:22px}.topbar-right{flex-shrink:0}
@media(max-width:1000px){.nav-item{font-size:0}.nav-item>.icon{width:20px;height:20px}.stat-value{font-size:20px}.settings-grid{gap:16px}.topbar{gap:10px}.breadcrumbs{gap:7px;flex-wrap:wrap}}
@media(max-width:760px){.settings-grid{grid-template-columns:1fr}.home-header{flex-wrap:wrap}.session-actions .secondary-button,.topbar-right .secondary-button{font-size:9px;padding:8px}.topbar{height:auto;min-height:62px;padding-top:10px;padding-bottom:10px;align-items:center;flex-wrap:wrap}.sidebar .brand{margin-right:5px}.nav-item{padding:9px}.sidebar nav{gap:0}.stats-grid{gap:10px}.stat-value{font-size:21px}.stat-header{font-size:10px}.stat-card{padding:15px}.auth-card{padding:28px}.month-control input{font-size:10px;max-width:127px}.breadcrumbs{font-size:9px}.settings-row{flex-wrap:wrap}.view-toolbar{flex-wrap:wrap}.home-header .session-actions{margin-left:auto}}
.period-controls{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.period-controls select{max-width:190px}.period-controls #year-select{width:75px}.category-history-button{margin-top:12px}.source-badge{font-size:9px;color:#7a8f84;white-space:normal}.sync-notice{display:grid;gap:6px;background:#edf5ef;border:1px solid #dce9df;border-radius:9px;padding:15px 18px;margin-bottom:22px;color:#678272;font-size:11px;line-height:1.6}.sync-notice small{font-size:10px;color:#899b90}.sync-warning{background:#fff6e9;border-color:#efddbf;color:#997e50}#history-dialog{max-width:750px}#history-dialog h3{font-size:13px;margin:25px 0 10px}
@media(max-width:760px){.period-controls{justify-content:flex-start;width:100%}.period-controls select{max-width:180px}.view-toolbar{gap:15px}.period-controls .month-control{align-self:auto}}
.contribution-panel{margin-bottom:22px}.contribution-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.contribution-grid>div{display:grid;gap:10px;padding:18px;background:#f2f7f3;border-radius:9px}.contribution-grid strong{font-size:12px}.contribution-grid span{font-size:25px;color:#15765a}.contribution-panel .section-intro{margin-top:20px;margin-bottom:0}
@media(max-width:760px){.sidebar{padding-left:9px;padding-right:9px}.sidebar .brand{margin-right:2px}.sidebar .nav-item{padding:8px}.sidebar .nav-item>.icon{width:17px;height:17px}.contribution-grid{gap:10px}.contribution-grid span{font-size:21px}.contribution-grid>div{padding:13px}}
.closing-reminders{display:grid;gap:10px;margin-bottom:23px}.closing-reminder{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 20px;background:#fff8e9;border:1px solid #efdfba;border-radius:10px}.closing-reminder strong{font-size:12px}.closing-reminder p{font-size:11px;line-height:1.6;margin:7px 0 0}.closing-reminder a{white-space:nowrap}.closing-panel,.closing-history,.annual-expenses,.family-income{margin-bottom:23px}.closing-panel .section-intro,.annual-expenses .section-intro,.family-income .section-intro{line-height:1.8}.closing-panel label,.closing-panel form label,#classification-form label{display:grid;gap:8px;margin-bottom:16px;font-size:12px}.closing-panel input,#classification-form select{width:100%;min-width:0;padding:11px;border:1px solid #dde5e2;border-radius:7px;background:#fff;color:var(--ink)}.closing-month-label{max-width:230px}.closing-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.expense-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 20px}.expense-summary-grid>div{display:grid;gap:10px;padding:16px;background:#f4f7f6;border-radius:8px}.expense-summary-grid span{font-size:12px}.expense-summary-grid strong{font-size:23px}.missing-balance{font-size:20px;white-space:normal}.sidebar{overflow-y:auto}.sidebar-note{padding-top:25px;padding-bottom:25px}.annual-expenses .table-wrap,.closing-history .table-wrap{max-width:100%}
@media(max-width:760px){.closing-reminder{align-items:flex-start;flex-direction:column}.closing-fields{grid-template-columns:1fr}.expense-summary-grid{grid-template-columns:1fr}.expense-summary-grid>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.sidebar{overflow-y:visible}.closing-panel .panel-heading{flex-wrap:wrap;gap:12px}}
.period-arrow{padding:9px;display:grid;place-items:center;min-height:38px}.period-arrow:disabled{opacity:.4;cursor:default}.period-arrow .icon{width:17px;height:17px}.visual-overview{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:20px;margin-bottom:23px}.visual-overview>.panel{min-width:0}.visual-overview>.panel:nth-child(3){grid-column:1/-1}.chart-key{display:flex;gap:20px;font-size:11px;margin-bottom:13px}.chart-key>span{display:flex;align-items:center;gap:7px}.legend-dot{display:inline-block;width:9px;height:9px;border-radius:50%;flex-shrink:0}.income-dot{background:#10b981}.expense-dot{background:#f43f5e}.monthly-chart{display:block;width:100%;height:auto;min-width:500px}.monthly-chart-scroll{overflow-x:auto;max-width:100%}.chart-grid-line{stroke:#e6edf1;stroke-dasharray:3 3}.chart-axis{font-size:10px;fill:#64748b}.chart-legend{list-style:none;margin:0;padding:0;display:grid;gap:13px}.chart-legend li{display:grid;grid-template-columns:9px minmax(0,1fr) auto;gap:6px 10px;align-items:center;font-size:11px}.chart-legend li>span:nth-child(2){overflow-wrap:anywhere}.chart-legend strong{font-size:12px;white-space:nowrap}.chart-legend small{grid-column:3;font-size:10px;color:#697783;text-align:right}.donut-figure{margin:0;display:grid;gap:20px}.donut-figure>svg{width:185px;max-width:100%;height:auto;justify-self:center}.donut-caption{font-size:6px;fill:#64748b;letter-spacing:.7px}.donut-total{font-size:8px;fill:#202c34;font-weight:650}.monthly-chart-data{margin-top:15px}.monthly-chart-data summary{cursor:pointer;color:#15765a;font-size:12px;font-weight:600;padding:8px 0}.monthly-chart-data tfoot{font-weight:650;background:#f5f8f7}.allocation-overview,.allocation-settings{margin-bottom:23px}.allocation-strip{display:flex;height:15px;border-radius:8px;overflow:hidden;margin:20px 0}.allocation-legend{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 30px}.allocation-row{display:grid;grid-template-columns:minmax(0,1fr) 120px auto;align-items:center;gap:15px;margin:18px 0}.allocation-row label{display:grid;gap:8px;font-size:12px}.allocation-row input{padding:10px;border:1px solid #dde5e2;border-radius:7px;width:100%;min-width:0}.allocation-form-tools{display:flex;gap:15px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:20px 0}.allocation-form-tools strong{font-size:12px}.allocation-settings .section-intro,.allocation-overview .section-intro{line-height:1.8}
@media(max-width:1000px){.visual-overview{grid-template-columns:1fr}.visual-overview>.panel:nth-child(3){grid-column:auto}.donut-figure{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);align-items:center}}
@media(max-width:760px){.allocation-row{grid-template-columns:minmax(0,1fr) 95px;gap:10px}.allocation-row>button{grid-column:1/-1;justify-self:end}.allocation-legend{grid-template-columns:1fr}.donut-figure{grid-template-columns:1fr}.visual-overview .panel-heading,.allocation-overview .panel-heading{flex-wrap:wrap;gap:10px}.period-controls{gap:5px}}
.investment-plan,.investment-strategy,.investment-closing,.investment-history{margin-bottom:23px}.investment-plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.investment-plan-grid article{padding:17px;background:#f6f8f7;border-radius:9px;min-width:0}.investment-plan-grid h3{font-size:14px;line-height:1.6}.investment-plan-grid article>strong{display:block;font-size:24px;margin:14px 0 23px}.strategy-group,.investment-position{border:1px solid #e1e8e5;border-radius:9px;padding:17px;margin:22px 0;min-width:0}.strategy-group legend,.investment-position legend{font-size:12px;font-weight:650;max-width:100%;overflow-wrap:anywhere}.investment-position-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.investment-closing label,.investment-strategy form>label{display:grid;gap:8px;font-size:12px;margin:13px 0}.investment-closing input,.investment-strategy select{width:100%;padding:11px;min-width:0;border:1px solid #dde5e2;border-radius:7px;background:#fff}.investment-closing>label{max-width:240px}.investment-strategy summary,.investment-history-month summary,.legacy-investments>summary{cursor:pointer;font-weight:650;font-size:13px;line-height:1.8;padding:12px 0}.investment-history-month{margin:15px 0;border-bottom:1px solid #edf0f2;padding-bottom:15px}.investment-history-month>p{font-size:12px;line-height:1.8}.investment-history .text-button{margin-right:14px}.investment-plan .section-intro,.investment-closing .section-intro,.investment-history .section-intro,.investment-strategy .section-intro{line-height:1.8}.legacy-investments{margin:22px 0}
@media(max-width:1100px){.investment-plan-grid{grid-template-columns:1fr}.investment-position-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.investment-position-fields{grid-template-columns:1fr}.investment-plan .panel-heading{flex-wrap:wrap;gap:10px}.strategy-group,.investment-position{padding:12px}}
