@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{color-scheme:light}
:root{--accent:#4663ac;--ink:#263247;--muted:#606e83;--line:#dfe4ed;--cream:#f4f6fa;--orange:#4663ac}*{box-sizing:border-box}body{margin:0;background:var(--cream);font:14px 'DM Sans',sans-serif;color:var(--ink)}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #4663ac;outline-offset:3px}a{color:inherit}.sidebar{position:fixed;width:244px;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:34px 24px;display:flex;flex-direction:column}.brand{text-decoration:none;font:800 32px 'Manrope',sans-serif;letter-spacing:-1.8px}.brand span{color:#6e83b6;margin-left:4px}.workspace{display:flex;align-items:center;gap:10px;padding:24px 0 30px;font-weight:600}small{display:block;color:var(--muted);font-size:11px;font-weight:400;margin-top:4px}.avatar{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#e8eef9;color:var(--accent);font-weight:600}.avatar.small{width:30px;height:30px;font-size:12px}.nav-label,.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:700;color:#606e83}.nav-label{font-size:9px;margin-bottom:16px}nav{display:grid;gap:8px}nav button{border:0;background:none;display:flex;gap:14px;align-items:center;padding:13px 14px;text-align:left;color:#606e83;border-radius:8px;font-size:19px}nav button span{font-size:13px}nav button.active{background:#e8eef9;color:var(--accent);font-weight:600}.sidebar-note{margin-top:auto;padding:24px 16px;background:#f0f3f9;border-radius:12px}.sidebar-note>span{font-size:27px;color:#6e83b6}.sidebar-note h3{font-size:14px;line-height:1.6;font-weight:500}.sidebar-note p{font-size:12px;line-height:1.8;color:#606e83}.sidebar-footer{display:flex;align-items:center;gap:10px;margin-top:25px;font-size:12px}.shell{margin-left:244px}header{height:82px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 48px;background:#f8f9fc}.breadcrumb{font-size:12px;color:#606e83}.breadcrumb span{padding:0 14px;color:#c7d0e0}.breadcrumb b{color:#43516b;font-weight:500}.header-right{display:flex;gap:18px;align-items:center}.demo-pill{font-size:10px;color:#52617b;border:1px solid #d6deed;border-radius:20px;padding:6px 12px}main{max-width:1420px;padding:38px 48px 20px;margin:auto}.intro{display:flex;align-items:center;justify-content:space-between;gap:20px}.eyebrow{color:#606e83}h1{font:600 31px 'Manrope',sans-serif;letter-spacing:-1.2px;margin:12px 0}p{line-height:1.6}.intro p{color:var(--muted);margin:0;font-size:13px}.primary{background:var(--accent);color:white;border:0;border-radius:8px;padding:13px 19px;font-size:12px;font-weight:600;white-space:nowrap}.primary:hover{background:#364f91}.preview-note{font-size:10px;color:#606e83;margin:18px 0 24px}.hero{display:grid;grid-template-columns:1.25fr 1fr;min-height:230px;border-radius:15px;overflow:hidden;background:#e8eef9;position:relative}.hero-copy{padding:30px;z-index:1}.badge{font-size:9px;letter-spacing:1.6px;font-weight:600;color:#435a8d;display:inline-flex;gap:6px;align-items:center}.badge:before{content:'';width:6px;height:6px;background:#6a83bd;border-radius:50%}.hero h2{font:600 30px 'Manrope',sans-serif;letter-spacing:-1px;margin:13px 0 8px}.hero p{font-size:12px;color:#52617b;margin:0}.hero-bottom{display:flex;gap:15px;align-items:center;margin-top:24px}.people{display:flex}.people span{width:26px;height:26px;border-radius:50%;background:#fff;border:2px solid #e8eef9;display:grid;place-items:center;font-size:9px}.people span+span{margin-left:-6px;background:#bac9e7}.hero-bottom>span{font-size:11px;color:#52617b}.landscape{position:relative;overflow:hidden;background:linear-gradient(#e8eef9,#e8eef9)}.sun{position:absolute;width:82px;height:82px;background:#d4def3;border-radius:50%;top:25px;right:85px}.mountain{position:absolute;width:280px;height:260px;border-radius:48% 48% 0 0;transform:rotate(25deg);background:#c0cee9;bottom:-140px;right:-30px}.mountain.two{background:#9aafd5;width:210px;height:290px;right:140px;bottom:-150px;transform:rotate(-24deg)}.mountain.three{background:#7d98c5;width:280px;height:180px;right:20px;bottom:-120px;transform:rotate(-15deg)}.landscape-caption{position:absolute;bottom:22px;right:25px;font-size:9px;letter-spacing:2px;color:#435a8d}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:22px 0}.stat{background:white;border:1px solid var(--line);border-radius:11px;padding:21px 23px}.stat-label{font-size:11px;color:#606e83;display:flex;justify-content:space-between}.stat strong{display:block;font:600 27px 'Manrope',sans-serif;margin:12px 0 7px;letter-spacing:-.7px}.stat small{font-size:10px}.stat.highlight{background:var(--accent);border-color:var(--accent);color:#fff}.stat.highlight .stat-label,.stat.highlight small{color:#52617b}.meter{height:5px;background:#e7ecf5;border-radius:5px;overflow:hidden;margin-top:13px}.meter i{display:block;height:100%;background:#7f97cd;border-radius:5px}.stat.highlight .meter{background:#d4def0}.stat.highlight .meter i{background:#4663ac}.columns{display:grid;grid-template-columns:1.4fr 1fr;gap:20px}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:24px;min-width:0}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.section-head h2{font-size:14px;margin:0;font-weight:600}.text-button{border:0;background:none;color:#4663ac;font-size:11px;padding:4px 0}.expense-row{display:flex;align-items:center;padding:14px 0;border-bottom:1px solid #edf0f6;gap:12px}.expense-row:last-child{border:0}.expense-icon{width:35px;height:35px;display:grid;place-items:center;border-radius:9px;background:#eef1fa;color:#526aa0;font-size:17px;flex-shrink:0}.expense-row:nth-child(2n) .expense-icon{background:#edf1f8;color:#526aa0}.expense-detail{min-width:0;flex:1}.expense-detail b{font-weight:500;font-size:12px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.expense-detail small{font-size:10px}.expense-amount{text-align:right}.expense-amount b{font-size:12px;font-weight:600}.expense-amount small{font-size:9px}.chart-area{display:flex;align-items:center;gap:23px;justify-content:center;padding:13px 0 22px}.donut{width:142px;height:142px;border-radius:50%;position:relative;flex-shrink:0}.donut:before{content:'';position:absolute;inset:19px;background:#fff;border-radius:50%}.donut-center{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;font-size:9px;color:#606e83}.donut-center b{font-size:16px;color:var(--ink);margin-top:4px}.legend{display:grid;gap:12px;font-size:10px;flex:1}.legend-row{display:flex;align-items:center;gap:7px}.legend-row i{width:7px;height:7px;border-radius:50%;flex-shrink:0}.legend-row span{flex:1}.legend-row b{font-weight:500}.soft-note{background:#f2f5fa;padding:13px;border-radius:7px;font-size:10px;line-height:1.7;color:#606e83}.budgets-section{margin-top:28px}.budget-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.budget-card{background:#fff;border:1px solid var(--line);border-radius:11px;padding:22px;text-align:left;color:var(--ink);width:100%}.budget-card:hover{border-color:#9cafd1}.budget-card.selected{border-color:#7a94c5}.budget-card .type{font-size:9px;color:#606e83;letter-spacing:1.3px;text-transform:uppercase}.budget-card h3{font-size:14px;font-weight:600;margin:12px 0 18px}.budget-card .budget-values{font-size:12px}.budget-card .budget-values span{color:#606e83;font-size:10px}.budget-card small{margin-top:10px;font-size:10px}.toolbar{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}.toolbar input{flex:1;min-width:160px}.toolbar select{width:auto;max-width:100%}input,select{display:block;width:100%;padding:11px;border:1px solid #b9c5dc;background:#fff;border-radius:7px;color:var(--ink);font-size:12px;min-width:0}input:focus,select:focus{outline:2px solid #4663ac;outline-offset:1px}.empty{padding:40px 10px;text-align:center;color:var(--muted)}.converter-panel{max-width:650px;margin:0 auto}.converter-result{padding:30px;text-align:center;border-radius:10px;background:#eaf0e5;margin:20px 0}.converter-result strong{display:block;font-size:32px;letter-spacing:-1px;margin:10px 0}.rate-note{font-size:11px;color:#606e83;line-height:1.8}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}label{display:block;font-size:11px;font-weight:500;margin-bottom:17px}label input,label select{margin-top:8px}dialog{border:1px solid var(--line);border-radius:16px;padding:27px;width:460px;max-width:calc(100% - 28px);color:var(--ink);box-shadow:0 20px 80px #26324718}dialog::backdrop{background:#26324766;backdrop-filter:blur(3px)}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}.modal-head h2{font:600 22px 'Manrope',sans-serif;margin:9px 0}.icon-button{background:none;border:0;font-size:26px;color:#606e83;padding:0 4px}.full{width:100%}.conversion{font-size:12px;margin:-2px 0 18px;background:#e8eef9;padding:12px;border-radius:7px}.form-hint{font-size:10px;color:#606e83;margin-bottom:18px}.delete-expense{border:0;background:none;color:#9b7468;padding:8px;font-size:16px}footer{display:flex;justify-content:space-between;margin-top:35px;padding-top:20px;border-top:1px solid var(--line);font-size:10px;color:#606e83}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--accent);color:white;padding:13px 24px;border-radius:9px;opacity:0;pointer-events:none;transition:opacity .2s;z-index:10;font-size:12px}#toast.visible{opacity:1}.budget-selector{margin:0 0 20px;max-width:330px}.rate-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:20px}.rate-grid label{margin:0}.rate-grid small{font-size:9px}
@media(min-width:1500px){main{padding-top:48px}.hero{min-height:260px}.hero-copy{padding:38px}.stats{margin:26px 0}.panel{padding:28px}.expense-row{padding:17px 0}}@media(max-width:1150px){.sidebar{width:210px;padding:28px 18px}.shell{margin-left:210px}main{padding:28px}header{padding:0 28px}.chart-area{gap:12px;flex-direction:column}.legend{width:100%}.hero h2{font-size:25px}.stat{padding:18px}.stat strong{font-size:24px}}@media(max-width:760px){.sidebar{position:fixed;inset:auto 0 0;width:100%;height:68px;padding:4px 8px;z-index:5;border-top:1px solid var(--line);border-right:0}.brand,.workspace,.nav-label,.sidebar-note,.sidebar-footer{display:none}nav{display:grid;grid-template-columns:repeat(4,1fr);gap:3px}nav button{display:flex;flex-direction:column;gap:4px;justify-content:center;padding:7px 1px;border-radius:7px;font-size:19px}nav button span{font-size:9px}.shell{margin:0}header{height:59px;padding:0 20px}.breadcrumb{font-size:10px}.demo-pill{padding:5px 8px;font-size:9px}.header-right{gap:9px}main{padding:26px 18px 90px}.intro{align-items:flex-start;gap:12px}.intro h1{font-size:24px;line-height:1.3}.intro .eyebrow{font-size:8px}.intro p{font-size:11px}.intro .primary{font-size:10px;padding:11px 12px;margin-top:22px}.preview-note{line-height:1.7;font-size:9px;margin-bottom:18px}.hero{grid-template-columns:1.5fr 1fr;min-height:210px}.hero-copy{padding:23px 17px}.hero h2{font-size:23px;line-height:1.35}.hero p{font-size:10px}.hero-bottom{gap:6px;margin-top:20px}.hero-bottom>span{font-size:9px}.sun{width:55px;height:55px;right:27px}.mountain.two{right:45px;bottom:-200px}.landscape-caption{font-size:7px;right:13px;bottom:15px}.stats{gap:8px;margin:14px 0}.stat{padding:14px 11px}.stat-label{font-size:9px}.stat-label>span{display:none}.stat strong{font-size:20px;letter-spacing:-.7px}.stat small{font-size:8px;line-height:1.6}.columns{grid-template-columns:1fr;gap:14px}.panel{padding:20px}.chart-area{flex-direction:row;gap:23px}.budget-grid{grid-template-columns:1fr}.budget-card{padding:18px}.budget-card h3{margin:10px 0 14px}.budgets-section{margin-top:24px}footer{font-size:9px;gap:20px;line-height:1.7}footer span{text-align:right}.rate-grid{grid-template-columns:1fr 1fr}.converter-result strong{font-size:28px}}
/* Keep controls visible before hover and on touchscreens. */
button{appearance:none;-webkit-appearance:none;opacity:1;visibility:visible}
.primary{background-color:#4663ac;color:#fff;border:1px solid #4663ac;min-height:44px}
.primary:hover,.primary:focus-visible{background-color:#364f91;color:#fff;border-color:#364f91}
.text-button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 13px;border:1px solid #9badd0;border-radius:7px;background:#eef2fb;color:#4663ac;font-size:12px;font-weight:600;white-space:nowrap}
.text-button:hover{background:#e2eaf9;border-color:#4663ac;color:#4663ac}
nav button{background:#f4f6fa;border:1px solid #d6deed;color:#43516b}
nav button:hover{background:#e8eef9;color:#4663ac;border-color:#9badd0}
nav button.active{background:#e1e9fa;color:#4663ac;border-color:#9badd0}
.icon-button{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;flex-shrink:0;padding:0;border:1px solid #a8b8d6;border-radius:7px;background:#eef2fb;color:#4663ac}
.icon-button:hover{background:#e2eaf9;color:#4663ac}
.delete-expense{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;flex-shrink:0;border:1px solid #d5b9af;border-radius:7px;background:#fff1eb;color:#874532}
.delete-expense:hover{background:#f5ded3;color:#713523}
.budget-card{border-color:#bdc9df}
.budget-card.selected{border-color:#4663ac;box-shadow:inset 0 0 0 1px #4663ac}
@media(max-width:760px){nav button{padding:6px 1px}nav button span{color:inherit}.section-head{flex-wrap:wrap}.text-button{min-height:44px}.icon-button,.delete-expense{width:40px;height:40px}}

.budget-card{position:relative;cursor:default}.budget-card:hover{border-color:#bdc9df}.budget-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.budget-card-body{display:block;background:transparent;color:var(--ink);border:0;padding:0;text-align:left;width:100%;border-radius:4px}.budget-card-body h3{line-height:1.5}.budget-menu{position:relative;flex-shrink:0}.budget-menu summary{display:flex;align-items:center;justify-content:center;list-style:none;cursor:pointer;width:40px;height:40px;border:1px solid #9badd0;border-radius:7px;color:#4663ac;background:#eef2fb;font-size:24px;line-height:1}.budget-menu summary::-webkit-details-marker{display:none}.budget-menu summary:focus-visible{outline:3px solid #4663ac;outline-offset:3px}.budget-menu-items{position:absolute;right:0;top:45px;z-index:7;width:175px;background:#fff;border:1px solid #a8b8d6;border-radius:9px;padding:6px;box-shadow:0 6px 24px #26324718}.budget-menu-items button{display:block;width:100%;min-height:44px;text-align:left;border:0;border-radius:5px;background:#fff;color:#4663ac;padding:10px 12px;font-size:12px}.budget-menu-items button:hover,.budget-menu-items button:focus-visible{background:#eaf0e5}.budget-menu-items .danger-action{color:#874532}.danger-button,.danger-button:hover{background:#874532;color:white;border-color:#874532}.delete-dialog-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}#delete-budget-message{line-height:1.8;font-size:13px}#delete-budget-dialog h2{font-size:21px}

/* Soft blue theme: neutral surfaces, readable labels, restrained accents. */
.stat.highlight{background:#e8eef9;color:#263247;border-color:#ccd8ee}
.stat.highlight .stat-label,.stat.highlight small{color:#52617b}
.stat.highlight .meter{background:#d4def0}.stat.highlight .meter i{background:#4663ac}
.hero{background:#e8eef9}.landscape{background:#e8eef9}
.landscape-caption{display:none}
.panel,.stat,.budget-card{box-shadow:0 2px 8px #26324704}
.sidebar-note{background:#f4f6fa}
.stat-label,.stat small,.expense-detail small,.expense-amount small,.rate-note,.form-hint,.preview-note,.budget-card small,.budget-card .budget-values span{font-size:12px;line-height:1.65}
.expense-detail b,.expense-amount b{font-size:13px}
.nav-label,.eyebrow,.badge,.budget-card .type{font-size:10px}
nav button span{font-size:13px}
.legend{font-size:11px}.soft-note{font-size:12px;color:#52617b}
label{font-size:12px}.intro p{font-size:14px}.hero p{font-size:13px}
.hero-bottom>span{font-size:12px}.hero-bottom{flex-wrap:wrap}
.budget-card-body:hover{color:#364f91}
@media(max-width:760px){nav button span{font-size:10px}.intro p{font-size:12px}.preview-note{font-size:11px}.stat-label,.stat small{font-size:10px}.stat strong{font-size:19px}.hero p,.hero-bottom>span{font-size:11px}.hero{grid-template-columns:1.7fr 1fr}.hero h2{font-size:22px}.intro .primary{font-size:11px}.expense-detail small,.expense-amount small{font-size:10px}.hero-copy{padding-right:12px}}


[hidden]{display:none!important}
#auth-root{min-height:100vh;display:grid;place-items:center;padding:28px;background:radial-gradient(ellipse at top right,#e8eef9,transparent 65%),#f4f6fa}
.auth-card{width:100%;max-width:460px;border:1px solid #dfe4ed;border-radius:20px;padding:38px;background:#fff;box-shadow:0 12px 60px #2632470a}
.auth-card h1{font-size:29px;line-height:1.35;margin:20px 0 14px}.auth-card p{color:#606e83;font-size:14px;line-height:1.8}.auth-card label{margin-top:20px}.auth-illustration{display:grid;place-items:center;width:80px;height:80px;margin:30px 0 24px;border-radius:22px;color:#4663ac;background:#e8eef9;font-size:42px}.google-login{margin-top:22px;font-size:14px}.auth-card .form-hint{font-size:12px}.onboarding-signout{margin-top:24px}.auth-card .text-button{margin-top:12px}
#connection-error{position:fixed;bottom:82px;left:50%;transform:translateX(-50%);z-index:100;max-width:calc(100% - 32px);width:550px;border:1px solid #dbbcb0;border-radius:10px;padding:15px;background:#fff1eb;color:#713523;font-size:13px;box-shadow:0 6px 20px #26324718;overflow-wrap:anywhere}
#toast{max-width:calc(100% - 28px);text-align:center}.primary:disabled,.text-button:disabled{opacity:.65;cursor:wait}.header-right{gap:8px}.expense-edit{min-height:36px;padding:8px;font-size:11px}.expense-detail small{overflow-wrap:anywhere}.delete-dialog-actions .primary{white-space:normal}#workspace-members{border-bottom:1px solid #dfe4ed;margin-bottom:20px}#workspace-members p{font-size:13px}#workspace-title{overflow-wrap:anywhere}#invitation-link{font-size:11px}#workspace-dialog h3{font-size:15px}#workspace-settings{max-width:120px}
@media(max-width:760px){.auth-card{padding:26px;border-radius:16px}.auth-card h1{font-size:26px}.header-right .text-button{padding:7px 9px;font-size:10px;min-height:36px}.breadcrumb{max-width:110px}.breadcrumb span{padding:0 5px}.expense-row{flex-wrap:wrap;gap:8px}.expense-detail{flex-basis:100px}.expense-edit{min-height:40px}.toolbar select{width:100%}header{padding:0 14px}.header-right{gap:5px}}



/* Connected app layout */
[hidden]{display:none!important}
#auth-root{min-height:100vh;display:grid;place-items:center;padding:28px;background:radial-gradient(ellipse at top right,#e8eef9,transparent 65%),#f4f6fa}
.auth-card{width:100%;max-width:460px;border:1px solid #dfe4ed;border-radius:20px;padding:38px;background:#fff;box-shadow:0 12px 60px #2632470a}.auth-card .brand{display:inline-block}
.auth-card h1{font-size:29px;line-height:1.35;margin:20px 0 14px}.auth-card p{color:#606e83;font-size:14px;line-height:1.8}.auth-card label{margin-top:20px}.auth-illustration{display:grid;place-items:center;width:80px;height:80px;margin:30px 0 24px;border-radius:22px;color:#4663ac;background:#e8eef9;font-size:42px}.google-login{margin-top:22px;font-size:14px}.auth-card .form-hint{font-size:12px}.onboarding-signout{margin-top:24px}.auth-card .text-button{margin-top:12px}
#connection-error{position:fixed;bottom:82px;left:50%;transform:translateX(-50%);z-index:100;max-width:calc(100% - 32px);width:550px;border:1px solid #dbbcb0;border-radius:10px;padding:15px;background:#fff1eb;color:#713523;font-size:13px;box-shadow:0 6px 20px #26324718;overflow-wrap:anywhere}
#toast{max-width:calc(100% - 28px);text-align:center}.primary:disabled,.text-button:disabled{opacity:.65;cursor:wait}.header-right{gap:8px}.expense-edit{min-height:36px;padding:8px;font-size:11px}.expense-detail small{overflow-wrap:anywhere}.delete-dialog-actions .primary{white-space:normal}#workspace-members{border-bottom:1px solid #dfe4ed;margin-bottom:20px}#workspace-members p{font-size:13px}#workspace-title{overflow-wrap:anywhere}#invitation-link{font-size:11px}#workspace-dialog h3{font-size:15px}#workspace-settings{max-width:120px}
@media(max-width:760px){.auth-card{padding:26px;border-radius:16px}.auth-card h1{font-size:26px}.header-right .text-button{padding:7px 9px;font-size:10px;min-height:36px}.breadcrumb{max-width:110px}.breadcrumb span{padding:0 5px}.expense-row{flex-wrap:wrap;gap:8px}.expense-detail{flex-basis:100px}.expense-edit{min-height:40px}.toolbar select{width:100%}header{padding:0 14px}.header-right{gap:5px}}
