@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{font-family:'DM Sans',system-ui,-apple-system,sans-serif;color:#37312D;background:#F8F6F2;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}a{color:#6F5E51}svg{flex-shrink:0}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #C8B8AB;outline-offset:2px}h1,h2,h3,h4,p{margin-top:0}.app-loading{padding:36vh 20px;text-align:center;color:#837163;font-size:20px}.app-shell{display:flex;min-height:100vh}.sidebar{width:247px;background:#F1ECE6;border-right:1px solid #E5E0DC;min-height:100vh;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:31px 16px 18px;flex-shrink:0}.brand{display:flex;align-items:center;gap:11px;margin:2px 11px 38px}.brand-icon{width:45px;height:45px;border-radius:15px;background:#E7DCD0;display:grid;place-items:center;color:#746558}.brand-name{font-family:Manrope,sans-serif;font-size:21px;font-weight:800;letter-spacing:-.8px}.brand-sub{font-size:11px;letter-spacing:.07em;text-transform:uppercase;color:#A39386;font-weight:800}.side-caption{padding:0 15px;margin-bottom:11px;color:#AEA094;font-size:10px;font-weight:800;letter-spacing:1.5px}.nav{display:grid;gap:4px}.nav-item{display:flex;width:100%;align-items:center;gap:13px;text-align:left;border:0;background:transparent;padding:12px 14px;color:#7B6A5D;border-radius:12px;font-size:14px;font-weight:700}.nav-item:hover{background:#EAE6E3}.nav-item.active{background:#EAE0D6;color:#4E4136}.nav-item svg{width:19px;height:19px;stroke-width:1.9}.side-bottom{margin-top:auto;display:grid;gap:13px}.family-panel{border-radius:14px;background:#EAE4DD;padding:14px;display:flex;align-items:center;gap:10px}.family-panel svg{color:#7D6C5F}.family-panel strong{display:block;font-size:13px}.family-panel span{display:block;font-size:11px;color:#948171;margin-top:2px}.mode-note{font-size:11px;color:#A59587;line-height:1.5;margin:0 10px}.main{flex:1;min-width:0;padding:32px clamp(22px,4vw,63px) 90px;max-width:1550px;margin:0 auto;width:100%}.topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:32px}.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:1.7px;color:#A19083;font-weight:800;margin-bottom:8px}.page-title{font-family:Manrope,sans-serif;font-size:clamp(27px,3vw,39px);letter-spacing:-1.5px;margin:0;line-height:1.22}.subtitle{margin:8px 0 0;color:#9D8C7E;font-size:14px}.header-right{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.pill{display:inline-flex;align-items:center;gap:6px;background:#EDE9E5;color:#706155;border-radius:999px;font-size:11px;font-weight:800;white-space:nowrap;padding:8px 12px}.pill.local{background:#F3E7D7;color:#8D6D47}.btn{border:1px solid #E7DED6;background:white;padding:11px 15px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:800;color:#5A4E44;font-size:13px;min-height:41px}.btn:hover{background:#F6F2ED}.btn.primary{border-color:#886D58;background:#886D58;color:white}.btn.primary:hover{background:#68584B}.btn.ghost{background:transparent;border-color:transparent}.btn.danger{color:#AE5555}.btn.sm{padding:7px 11px;min-height:34px;font-size:12px}.btn svg{width:16px;height:16px}.cards-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.metric{background:white;border:1px solid #ECE6DF;border-radius:19px;padding:22px 23px;box-shadow:0 3px 18px #3A2A1B08;min-width:0}.metric .metric-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.metric-icon{display:grid;place-items:center;width:38px;height:38px;background:#F2EAE1;border-radius:12px;color:#77675A}.metric-icon.peach{background:#F7EDE4;color:#BB917A}.metric-icon.lavender{background:#EFE8E2;color:#8C7668}.metric-icon.cream{background:#F4E9D8;color:#A58B59}.metric-icon svg{height:19px;width:19px}.metric-name{color:#9B897B;font-size:12px;font-weight:700}.metric-value{font:800 clamp(21px,2vw,27px) Manrope,sans-serif;white-space:nowrap;letter-spacing:-1px}.metric-sub{font-size:11px;color:#AFA196;margin-top:7px}.currency{font-size:.55em;margin-right:3px;font-weight:700;color:#A99A8E;vertical-align:baseline}.content-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(290px,.85fr);gap:18px;margin-top:18px}.panel{background:#FFFEFD;border:1px solid #ECE6DF;border-radius:19px;padding:24px;min-width:0;box-shadow:0 4px 20px #3A2A1B08}.panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:17px}.panel-head h3{font:800 16px Manrope,sans-serif;letter-spacing:-.3px;margin:0}.panel-head p{font-size:12px;color:#AC9D90;margin:5px 0 0}.text-link{border:0;background:transparent;color:#7A6A5C;font-size:12px;font-weight:800;padding:3px}.empty{padding:34px 12px;text-align:center;color:#AD9F93;line-height:1.6;font-size:13px}.empty-icon{margin:0 auto 12px;width:46px;height:46px;border-radius:15px;display:grid;place-items:center;background:#F0EDEB;color:#8E7B6B}.empty svg{width:22px;height:22px}.rows{display:grid;gap:0}.entry{display:flex;align-items:center;gap:13px;padding:13px 0;border-bottom:1px solid #F1EFED}.entry:last-child{border-bottom:0}.entry-icon{width:39px;height:39px;display:grid;place-items:center;background:#F2ECE6;border-radius:13px;color:#8F7C6C}.entry-icon svg{width:18px;height:18px}.entry-copy{min-width:0;flex:1}.entry-name{font-size:13px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.entry-meta{font-size:11px;color:#AC9D90;margin-top:4px}.entry-amount{font-size:13px;font-weight:800;white-space:nowrap}.entry-amount.income{color:#887361}.entry-actions{display:flex;align-items:center;gap:2px}.icon-btn{border:0;background:transparent;width:30px;height:30px;border-radius:8px;display:grid;place-items:center;color:#A08F81}.icon-btn:hover{background:#F2F0EE;color:#6B5C4F}.icon-btn svg{height:16px;width:16px}.notice{background:#F4EAE0;border:1px solid #E9D9CA;border-radius:14px;padding:14px 17px;font-size:12px;color:#8D7759;line-height:1.6;display:flex;gap:10px;align-items:flex-start;margin-bottom:21px}.notice svg{height:18px;width:18px;flex-shrink:0}.toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:0 0 18px;flex-wrap:wrap}.toolbar-left{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.month-select{display:flex;align-items:center;gap:11px;border:1px solid #E9E4E0;background:#FFFEFD;border-radius:12px;padding:5px;white-space:nowrap}.month-select span{min-width:130px;text-align:center;font-size:13px;font-weight:800}.month-select button{border:0;background:none;border-radius:8px;width:29px;height:29px;display:grid;place-items:center;color:#857365}.month-select button:hover{background:#F0ECE9}.month-select svg{width:16px;height:16px}.field{display:grid;gap:6px}.field label{font-size:12px;color:#7F6E60;font-weight:800}.input{height:42px;padding:9px 12px;border:1px solid #E7E2DD;border-radius:11px;background:#FFFEFD;color:#443B33;min-width:0;width:100%;outline-color:#C6BCB3}.input::placeholder{color:#BBAFA6}textarea.input{height:auto;min-height:81px;resize:vertical}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.span-2{grid-column:span 2}.form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px;flex-wrap:wrap}.progress{height:8px;background:#F0EBE6;border-radius:999px;overflow:hidden;margin-top:9px}.progress>div{height:100%;background:#BDA58E;border-radius:999px}.progress>div.over{background:#CF9783}.bud-row{margin:0;padding:17px 0;border-bottom:1px solid #F0EAE4}.bud-row:last-child{border-bottom:0}.bud-head,.bud-foot{display:flex;justify-content:space-between;gap:12px;align-items:center}.bud-head strong{font-size:13px}.bud-head span,.bud-foot{font-size:12px;color:#A9998C}.bud-foot{margin-top:8px;font-size:11px}.budget-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:20px}.summary-tile{background:#F6F2ED;border-radius:13px;padding:17px}.summary-tile small{display:block;color:#A19083;font-size:11px}.summary-tile strong{display:block;margin-top:8px;font:800 21px Manrope,sans-serif}.calendar-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(260px,.7fr);gap:18px}.calendar-wrap{background:white;border:1px solid #ECE6DF;border-radius:19px;padding:23px;min-width:0}.cal-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));text-align:center;color:#AFA195;font-size:11px;font-weight:800;margin-bottom:8px}.cal-week span{padding:7px 1px}.cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-left:1px solid #F0EAE4;border-top:1px solid #F0EAE4}.cal-day{min-height:112px;min-width:0;padding:9px 7px;border-right:1px solid #F0EAE4;border-bottom:1px solid #F0EAE4;background:#FFFEFD;cursor:pointer;transition:background .15s}.cal-day:hover{background:#FBF9F7}.cal-day.outside{background:#FBF8F4;color:#BCB0A7}.cal-day.selected{box-shadow:inset 0 0 0 2px #A59588;position:relative;z-index:1;background:#F9F5EF}.cal-number{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:800;margin-bottom:6px}.cal-day.today .cal-number{background:#8A6F5B;color:white}.cal-item{font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:5px;margin-bottom:4px;padding:4px 5px;background:#EEE9E5;color:#736457;text-align:left}.cal-item.bill{background:#F6EBDE;color:#A57E58}.cal-over{font-size:10px;color:#A08E80;padding-left:4px}.agenda-date{font:800 19px Manrope,sans-serif;margin:0}.agenda-item{padding:13px 0;border-bottom:1px solid #F0EAE4;display:flex;gap:9px}.agenda-item:last-child{border-bottom:0}.agenda-bar{width:4px;border-radius:4px;background:#B7A99D}.agenda-bar.bill{background:#CFB59F}.agenda-copy{flex:1;min-width:0}.agenda-copy strong{font-size:13px;display:block}.agenda-copy small{font-size:11px;color:#A39385;display:block;margin-top:4px}.goal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.goal-card{border:1px solid #ECE9E6;border-radius:17px;padding:23px;background:#FFFEFD}.goal-icon{width:43px;height:43px;display:grid;place-items:center;border-radius:13px;background:#F2EFED;color:#A08E80;margin-bottom:15px}.goal-icon svg{height:21px;width:21px}.goal-card h3{font:800 16px Manrope,sans-serif;margin:0 0 6px}.goal-card p{color:#B0A297;font-size:12px}.goal-values{display:flex;align-items:end;justify-content:space-between;gap:10px;margin:16px 0 13px}.goal-values strong{font:800 20px Manrope,sans-serif}.goal-values small{font-size:11px;color:#A7978A}.goal-card .bottom-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap;margin-top:15px}.data-table{width:100%;border-collapse:collapse;table-layout:auto}.data-table th{text-align:left;color:#B0A296;text-transform:uppercase;letter-spacing:.08em;font-size:10px;font-weight:800;padding:12px;border-bottom:1px solid #F0EBE6}.data-table td{padding:13px 12px;border-bottom:1px solid #F0EAE4;font-size:12px}.data-table tr:last-child td{border-bottom:0}.data-table .right{text-align:right}.tag{display:inline-block;padding:5px 8px;background:#F1EEEB;color:#817062;border-radius:7px;font-size:11px;font-weight:800}.tag.due{background:#F1EAE3;color:#AB8357}.tag.paid{background:#F0EBE7;color:#846F5D}.panel + .panel{margin-top:18px}.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.info-card{background:#F5F0EB;padding:18px;border-radius:13px}.info-card strong{display:block;font-size:13px}.info-card p{font-size:12px;color:#A29184;line-height:1.5;margin:8px 0 0}.settings-section{max-width:850px;display:grid;gap:18px}.code-output{background:#F5F0EB;border:1px dashed #BFB4AB;border-radius:13px;padding:15px;display:flex;justify-content:space-between;gap:12px;align-items:center;word-break:break-all}.code-output code{font-size:13px;color:#69523F}.modal-shade{position:fixed;inset:0;background:#2E241BB0;display:flex;align-items:center;justify-content:center;padding:16px;z-index:100}.modal{background:#FFFEFD;border-radius:20px;width:min(100%,520px);max-height:min(92vh,900px);overflow:auto;box-shadow:0 22px 90px #21150E50}.modal-head{display:flex;justify-content:space-between;gap:15px;align-items:center;border-bottom:1px solid #EFECE9;padding:22px 24px}.modal-head h3{font:800 19px Manrope,sans-serif;margin:0}.modal-body{padding:23px 24px}.auth-screen{min-height:100vh;display:grid;place-items:center;padding:25px;background:radial-gradient(circle at 15% 18%,#F1E6DB,transparent 35%),radial-gradient(circle at 87% 80%,#F1EAE4,transparent 30%),#F8F6F2}.auth-card{background:white;border:1px solid #EBE8E5;box-shadow:0 20px 80px #3D2B2017;border-radius:24px;padding:34px;width:min(100%,460px)}.auth-card .brand{margin:0 0 29px}.auth-card h1{font:800 26px Manrope,sans-serif;letter-spacing:-1px;margin-bottom:9px}.auth-card p{color:#A08F82;line-height:1.6;font-size:13px;margin-bottom:22px}.auth-card .field{margin-bottom:15px}.auth-card .btn.primary{width:100%;margin-top:9px}.auth-footer{font-size:12px;text-align:center;color:#AFA196;margin-top:20px}.auth-error{font-size:12px;border-radius:10px;color:#AC5C56;background:#F7F4F1;padding:12px;margin-bottom:12px}.toast{position:fixed;right:22px;bottom:22px;background:#56453A;color:white;padding:13px 18px;border-radius:11px;font-weight:700;font-size:13px;box-shadow:0 12px 36px #40302554;z-index:300;max-width:min(95vw,420px)}.footer-space{height:20px}.mobile-nav{display:none}.print-hide{}@media(max-width:1100px){.cards-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar{width:205px}.main{padding-inline:26px}.calendar-layout{grid-template-columns:1fr}.cal-day{min-height:106px}}@media(max-width:720px){.sidebar{display:none}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:60;gap:0;align-items:center;justify-content:space-around;background:#FFFEFD;border-top:1px solid #E9E4E0;padding:8px 4px max(8px,env(safe-area-inset-bottom));box-shadow:0 -8px 30px #4030250c}.mobile-item{flex:1;min-width:0;border:0;background:transparent;display:grid;gap:4px;justify-items:center;color:#A8998C;font-size:9px;font-weight:800;min-width:52px;padding:3px}.mobile-item.active{color:#756355}.mobile-item svg{height:20px;width:20px}.main{padding:22px 15px 95px}.topbar{align-items:flex-start;margin-bottom:23px}.page-title{font-size:27px}.topbar .header-right{justify-content:flex-end}.topbar .header-right .pill{font-size:9px;padding:6px 9px}.cards-grid{gap:10px}.metric{padding:15px}.metric-value{font-size:20px}.metric .metric-top{margin-bottom:12px}.metric-name{font-size:11px}.metric-icon{width:32px;height:32px}.metric-sub{font-size:10px}.content-grid{grid-template-columns:1fr;gap:13px;margin-top:13px}.panel,.calendar-wrap{padding:17px;border-radius:15px}.goal-grid{grid-template-columns:1fr}.cal-day{min-height:73px;padding:5px 3px}.cal-number{height:23px;width:23px;font-size:11px}.cal-item{font-size:0;width:7px;height:7px;display:inline-block;padding:0;margin:2px;border-radius:50%}.cal-over{font-size:8px;padding-left:0}.calendar-wrap{padding:11px}.budget-summary{gap:7px}.summary-tile{padding:11px}.summary-tile strong{font-size:15px}.summary-tile small{font-size:10px}.data-table th:nth-child(3),.data-table td:nth-child(3){display:none}.table-scroll{overflow-x:auto}.topbar{gap:8px}.form-grid{grid-template-columns:1fr}.span-2{grid-column:span 1}.info-grid{grid-template-columns:1fr}.modal{border-radius:17px}.modal-head,.modal-body{padding:19px}.mode-note{display:none}}@media(max-width:375px){.metric-value{font-size:18px}.btn{font-size:12px;padding:9px 11px}.month-select span{min-width:100px}}@media print{.sidebar,.mobile-nav,.print-hide,.header-right{display:none!important}.main{padding:0;max-width:none}.panel,.metric,.calendar-wrap{box-shadow:none;break-inside:avoid}.app-shell{display:block}body{background:white}}

/* v2: family finance sections */
.sidebar .nav{overflow-y:auto;min-height:0;scrollbar-width:thin;padding-right:2px}.sidebar .nav-item{padding:10px 12px;font-size:12.5px;gap:9px}.sidebar .brand{margin-bottom:22px}.sidebar .side-bottom{padding-top:12px}.quick-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0}.quick-link{display:flex;align-items:center;justify-content:flex-start;gap:8px;text-align:left;border:1px solid #E8E3DF;border-radius:13px;background:#FFFEFD;color:#78685B;font-size:12px;font-weight:800;padding:12px;min-width:0}.quick-link:hover{background:#F4F2F0}.quick-link span{flex:1}.quick-link svg{height:17px;width:17px}.quick-link svg:last-child{height:14px;width:14px}.fund-history{border-top:1px solid #EFEDEB;margin-top:12px;padding-top:8px;display:grid;gap:5px}.fund-history div{font-size:11px;display:flex;justify-content:space-between;gap:12px;color:#9A887A}.fund-history strong{color:#6E5E51}.calendar-legend{display:flex;flex-wrap:wrap;gap:14px;margin-top:15px;font-size:11px;color:#9E8D7F}.cal-item.installment{background:#F0E5DC;color:#8A6552}.agenda-bar.installment{background:#A9826B}
@media(max-width:1100px){.quick-nav{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.mobile-nav{overflow-x:auto;overflow-y:hidden;justify-content:flex-start;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:none}.mobile-nav::-webkit-scrollbar{display:none}.mobile-item{flex:0 0 71px;scroll-snap-align:center;min-width:71px}.quick-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-link{padding:10px;font-size:11px}.calendar-legend{gap:9px;font-size:10px}.fund-history div{flex-wrap:wrap}}

/* Our Nest warm-neutral palette, preview edition */
:root { color-scheme:light; }
body{background:#F8F6F2;color:#37312D}
.sidebar{background:#F1ECE6}
.nav-item.active{background:#EAE0D6;color:#564537}
.brand-icon{background:#E7DCD0;color:#775D4B}
.brand-sub{color:#8A7A6C}
.pill.local{background:#F3E7D7;color:#896A50}
.metric,.panel,.calendar-wrap,.goal-card{background:#FFFEFD}
.btn.primary{background:#886D58;border-color:#886D58;color:#fff}
.btn.primary:hover{background:#705846}
.metric-icon,.empty-icon{background:#F2EAE1;color:#886D58}
.metric-icon.peach{background:#F3E8DF;color:#A67E60}
.metric-icon.lavender{background:#ECE5DF;color:#867062}
.metric-icon.cream{background:#F7EFDF;color:#A28B70}
.progress>div{background:#BDA58E}


/* OUR NEST · blended signature theme: warm neutral + soft luxury + sage */
:root {
  --nest-ivory:#FAF8F4;
  --nest-oat:#F3EEE7;
  --nest-card:#FFFDF9;
  --nest-champagne:#E9DCCB;
  --nest-taupe:#B5A393;
  --nest-mocha:#483F38;
  --nest-sage:#768A73;
  --nest-sage-dark:#61765F;
  --nest-sage-mist:#E7EEE4;
  --nest-border:#EAE5DC;
}
body{background:var(--nest-ivory);color:var(--nest-mocha)}
.sidebar{background:var(--nest-oat);border-color:#E9E1D5}
.brand-icon{background:var(--nest-champagne);color:var(--nest-mocha)}
.brand-name,.page-title,.panel-head h3,.goal-card h3,.summary-tile strong,.metric-value{color:var(--nest-mocha)}
.brand-sub,.eyebrow{color:#947F6F}
.nav-item{color:#786A5E}
.nav-item:hover{background:#EAE3D8}
.nav-item.active{background:var(--nest-sage-mist);color:#4F654E}
.nav-item.active svg{color:var(--nest-sage-dark)}
.family-panel{background:#EDE6DC}
.family-panel svg{color:var(--nest-sage-dark)}
.metric,.panel,.calendar-wrap,.goal-card,.quick-link{background:var(--nest-card);border-color:var(--nest-border);box-shadow:0 4px 22px #51433408}
.metric-icon{background:#F5ECE2;color:#8B725D}
.metric-icon.peach{background:#F7EDE3;color:#AA8066}
.metric-icon.lavender{background:var(--nest-sage-mist);color:var(--nest-sage-dark)}
.metric-icon.cream{background:#F8F1E6;color:#AE9166}
.btn.primary{background:var(--nest-sage-dark);border-color:var(--nest-sage-dark);color:#FFFDF9}
.btn.primary:hover{background:#52664F;border-color:#52664F}
.btn:not(.primary):hover,.quick-link:hover{background:#F5F0EA}
.btn:focus-visible,.nav-item:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-color:#9CB29A}
.pill{background:#F0EAE2;color:#746253}
.pill.local{background:#F4E9DA;color:#886B52}
.metric-name,.metric-sub,.subtitle,.panel-head p,.entry-meta{color:#8E8277}
.entry-amount.income,.text-link{color:var(--nest-sage-dark)}
.metric .metric-icon svg,.goal-icon svg{stroke-width:1.8}
.empty-icon,.goal-icon{background:var(--nest-sage-mist);color:var(--nest-sage-dark)}
.progress{background:#F0ECE5}
.progress>div{background:var(--nest-sage)}
.summary-tile,.info-card{background:#F5F0E8}
.notice{background:#F6F0E5;border-color:#E8DBC8;color:#866F56}
.cal-day{background:var(--nest-card)}
.cal-day.outside{background:#F9F5EE}
.cal-day:hover{background:#F5F1E9}
.cal-day.selected{background:#F2F5EF;box-shadow:inset 0 0 0 2px #91A38D}
.cal-day.today .cal-number{background:var(--nest-sage-dark);color:white}
.cal-item{background:var(--nest-sage-mist);color:#546951}
.cal-item.bill{background:#F5EBDD;color:#927148}
.cal-item.installment{background:#F2E6DC;color:#946C57}
.agenda-bar{background:var(--nest-sage)}
.agenda-bar.bill{background:#C4A47F}
.agenda-bar.installment{background:#A78169}
.tag.paid{background:var(--nest-sage-mist);color:#566D52}
.tag.due{background:#F5EBDF;color:#97704C}
.month-select,.input{background:var(--nest-card);border-color:var(--nest-border)}
.mobile-nav{background:var(--nest-card);border-color:var(--nest-border)}
.mobile-item.active{color:var(--nest-sage-dark)}
.auth-screen{background:radial-gradient(circle at 10% 20%,#F0E5D8,transparent 34%),radial-gradient(circle at 88% 80%,#E9EFE4,transparent 31%),var(--nest-ivory)}
.auth-card{background:var(--nest-card);border-color:var(--nest-border)}
.toast{background:var(--nest-mocha)}
@media print{body{background:white}}


/* Our Nest signature palette: warm neutral, luxury ivory, sage, dusty rose and mauve */
:root {
  --nest-rose:#BF929A;
  --nest-rose-mist:#F7ECEE;
  --nest-mauve:#977C90;
  --nest-mauve-dark:#745B70;
  --nest-mauve-mist:#F0E8EF;
}
/* Keep neutral surfaces dominant; apply muted pinks only to accents */
.brand-icon{background:#F1E1DF;color:var(--nest-mauve-dark)}
.brand-sub{color:#987E8D}
.nav-item.active{background:var(--nest-mauve-mist);color:var(--nest-mauve-dark)}
.nav-item.active svg{color:var(--nest-mauve-dark)}
.family-panel{background:#F1E9E5}
.family-panel svg{color:var(--nest-mauve-dark)}
.btn.primary{background:var(--nest-mauve-dark);border-color:var(--nest-mauve-dark)}
.btn.primary:hover{background:#624C5F;border-color:#624C5F}
.btn:focus-visible,.nav-item:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-color:#BBA4B6}
.metric-icon.peach{background:var(--nest-rose-mist);color:#A66D7B}
.metric-icon.lavender{background:var(--nest-mauve-mist);color:var(--nest-mauve-dark)}
.metric-icon.cream{background:#F9F1E6;color:#A38A69}
.progress>div{background:var(--nest-sage)}
.progress>div.over{background:var(--nest-rose)}
.empty-icon{background:var(--nest-rose-mist);color:var(--nest-mauve-dark)}
.entry-icon{background:#F8F0EF;color:#927985}
.cal-day.selected{background:#F8F0F3;box-shadow:inset 0 0 0 2px #A88A9D}
.cal-day.today .cal-number{background:var(--nest-mauve-dark)}
.cal-item.bill{background:var(--nest-rose-mist);color:#95646F}
.cal-item.installment{background:var(--nest-mauve-mist);color:var(--nest-mauve-dark)}
.agenda-bar.bill{background:var(--nest-rose)}
.agenda-bar.installment{background:var(--nest-mauve)}
.mobile-item.active{color:var(--nest-mauve-dark)}
.auth-screen{background:radial-gradient(circle at 10% 20%,#F5E8E4,transparent 34%),radial-gradient(circle at 88% 80%,#EFE8EC,transparent 31%),var(--nest-ivory)}


/* Signature edition — inspired by the approved Our Nest concept.
   Warm ivory, dusty rose and mauve dominate; sage is only a tiny accent. */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&display=swap');
:root {
  --nest-ivory:#FCF9F6; --nest-oat:#F6EEEA; --nest-card:#FFFCFA;
  --nest-rose:#BF929A; --nest-mauve:#927183;
  --nest-mauve-dark:#805D70; --nest-sage:#A9B39A;
  --nest-sage-dark:#7F8F75; --nest-sage-mist:#F1F3EC;
  --nest-border:#EADCD7; --nest-mocha:#563E36;
}
body {background:#FCF9F6;color:#563E36}
.sidebar {background:linear-gradient(165deg,#FBF3EF 0%,#F6EAE7 68%,#F8F0EB 100%);border-color:#EADBD6}
.brand {gap:12px}
.brand-icon {background:#F3E0DF;color:#895F70;border-radius:18px}
.brand-name {font-family:'Cormorant Garamond',Georgia,serif;font-size:34px;font-weight:700;letter-spacing:-.6px}
.brand-sub {color:#916E73;font-size:10px;letter-spacing:.16em}
.page-title {font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(35px,3.5vw,49px);font-weight:700;letter-spacing:-.8px;color:#593E35}
.panel-head h3,.goal-card h3 {font-family:'Cormorant Garamond',Georgia,serif;font-size:24px;font-weight:700;color:#613F3E}
.nav-item {color:#775C60;border-radius:12px}
.nav-item.active {background:#9D7784;color:white;box-shadow:0 3px 11px #8D68721A}
.nav-item.active svg {color:white}
.nav-item:hover:not(.active) {background:#F0DEDF}
.main {max-width:1680px}
.eyebrow {color:#A17B82;letter-spacing:.23em}
.subtitle {color:#A08A83}
.metric {background:linear-gradient(125deg,#F9E9EB,#F5E5E5);border-color:#F0E1E1;box-shadow:none}
.metric:nth-child(2) {background:linear-gradient(125deg,#F8EFE9,#F1E3DC)}
.metric:nth-child(3) {background:linear-gradient(125deg,#F5E6EA,#F0DCE1)}
.metric:nth-child(4) {background:linear-gradient(125deg,#F4F0E9,#EBE9DF)}
.metric-name {color:#785F62;font-weight:700}
.metric-value {font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(26px,2.5vw,36px);font-weight:700;letter-spacing:0}
.metric-icon,.metric-icon.peach,.metric-icon.lavender {background:#BB8E9A;color:white;border-radius:15px}
.metric-icon.cream {background:#A9B39A;color:white}
.panel,.calendar-wrap,.goal-card {background:#FFFCFA;border:1px solid #EADCD7;box-shadow:0 5px 20px #7A55500A}
.btn.primary {background:#957080;border-color:#957080}
.btn.primary:hover {background:#805D70;border-color:#805D70}
.progress>div {background:#B88998}
.progress>div.over {background:#B46D78}
.nav-item.active,.cal-day.today .cal-number {background:#9D7784}
.cal-day.selected {background:#FAEDF0;box-shadow:inset 0 0 0 2px #BB8F9D}
.cal-item {background:#F2E7EB;color:#815F73}
.cal-item.bill {background:#F8E7E9;color:#965F6C}
.cal-item.installment {background:#EFE4EB;color:#795B76}
.agenda-bar {background:#B88B98}
.agenda-bar.bill {background:#C98E9A}
.agenda-bar.installment {background:#977C90}
.quick-link {background:linear-gradient(130deg,#FFF8F6,#F6E9E7);border-color:#EBDAD6;color:#75535E}
.quick-link:nth-child(4n+2) {background:linear-gradient(130deg,#F9F0EB,#F2E5E0)}
.quick-link:nth-child(4n+3) {background:linear-gradient(130deg,#F9EDEF,#F2E1E5)}
.quick-link:hover {background:#F2E0E4}
.summary-tile {background:#F8F0EC}
.family-panel {background:#F4E6E4}
.empty-icon {background:#F5E7EA;color:#916D7B}
.entry-amount.income,.text-link {color:#805D70}
.tag.paid {background:#F0F2EC;color:#74866A}
.pill.local {background:#F5E9E2;color:#956F64}
@media(max-width:720px) {
  .page-title {font-size:35px}
  .metric-value {font-size:25px}
  .brand-name {font-size:29px}
}
