:root{--accent:#71866e;--accent-soft:#e5eee4;--bg:#fbfcfa;--surface:#fff;--ink:#0e1c35;--muted:#586b80;--line:#e8ecec;--track:#e9edee;--sage:#749582;--sage-soft:#e0f2e7;--teal:#3f9d9e;--teal-soft:#e0f3ee;--blue:#72a8d8;--blue-soft:#e2f0fc;--coral:#f18377;--coral-soft:#ffe2dd;--gold:#e4b158;--gold-soft:#fff0cf;--violet:#b18be9;--violet-soft:#f0e2fe;--blush:#cb86a2;--blush-soft:#fbe4ee;--ink-soft:#e3e9f2;--sidebar:220px;--art-opacity:.65;--gradient-angle:135deg;--shadow:0 3px 13px #1b2e4610}
*{box-sizing:border-box}html,body{width:100%;min-width:320px;margin:0;overflow-x:hidden}body{font-family:Inter,'Segoe UI',Arial,sans-serif;font-size:14px;line-height:1.5;color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{color:inherit}a{color:var(--accent);text-decoration:none}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 color-mix(in srgb,var(--accent),#fff 15%);outline-offset:3px}h1,h2,h3,.welcome,.display-money,.metric-value,.inline-total,.donut-label strong{font-family:Georgia,'Times New Roman',serif;font-weight:500;color:var(--ink);letter-spacing:-.03em}h1{font-size:clamp(30px,3.05vw,52px);line-height:1.14;margin:10px 0}h2{font-size:25px;line-height:1.2;margin:0 0 6px}h3{font-size:20px;line-height:1.25;margin:0 0 6px}p{margin:0 0 12px}small{font-size:12px;color:var(--muted)}strong{font-weight:600}hr{border:0;border-top:1px solid var(--line);opacity:1;margin:18px 0}.icon{width:22px;height:22px;flex-shrink:0;vertical-align:middle}.text-sage{color:var(--sage)!important}.text-blue{color:#418bc7!important}.text-coral{color:#d96155!important}.text-gold{color:#be8c35!important}.text-violet{color:#9760d0!important}.text-teal{color:#238786!important}.quiet{color:var(--muted);font-size:13px}.required{color:#c85e59}.eyebrow{font-size:10px;letter-spacing:2.6px;line-height:1.7;text-transform:uppercase;color:var(--muted);margin-top:5px}.tone-sage{--tone:var(--sage);--tone-soft:var(--sage-soft)}.tone-blue{--tone:var(--blue);--tone-soft:var(--blue-soft)}.tone-coral{--tone:var(--coral);--tone-soft:var(--coral-soft)}.tone-gold{--tone:var(--gold);--tone-soft:var(--gold-soft)}.tone-violet{--tone:var(--violet);--tone-soft:var(--violet-soft)}.tone-teal{--tone:var(--teal);--tone-soft:var(--teal-soft)}.tone-blush{--tone:var(--blush);--tone-soft:var(--blush-soft)}.tone-ink{--tone:var(--ink);--tone-soft:var(--ink-soft)}
.sidebar{position:fixed;left:0;top:0;bottom:0;width:var(--sidebar);background:linear-gradient(var(--gradient-angle),color-mix(in srgb,var(--accent-soft),var(--surface) 65%),var(--surface));display:flex;flex-direction:column;z-index:30;padding:22px 12px 0;border-right:1px solid var(--line)}.brand{border:0;background:transparent;display:flex;gap:13px;align-items:center;padding:0 10px 23px;text-align:left;color:var(--ink)}.brand img{width:77px;height:77px;border-radius:12px;object-fit:contain}.brand span{font-size:10px;letter-spacing:2.5px;line-height:1.9;font-weight:700}.sidebar-nav{overflow-y:auto;min-height:0;flex:1;scrollbar-width:thin;padding-bottom:16px}.nav-link-mode{border:0;display:flex;align-items:center;width:100%;gap:21px;min-height:44px;padding:10px 16px;margin:3px 0;border-radius:11px;background:none;text-align:left;color:var(--ink)}.nav-link-mode:hover{background:color-mix(in srgb,var(--accent-soft),transparent 55%)}.nav-link-mode.active{background:var(--accent-soft);color:color-mix(in srgb,var(--accent),var(--ink) 40%);font-weight:650}.nav-link-mode .icon{width:23px;height:23px}.nav-divider{border-top:1px solid var(--line);margin:16px 8px}.sidebar-footer{flex-shrink:0;padding:10px 5px 16px;background:transparent}.sidebar-note{position:relative;overflow:hidden;padding:20px 16px;margin:0 -17px 10px;border-radius:45% 45% 0 0;background:linear-gradient(135deg,var(--coral-soft),var(--accent-soft));font-family:Georgia,serif;font-size:19px;font-style:italic;line-height:1.3;color:var(--ink);min-height:104px}.sidebar-note span{position:relative;z-index:1}.back-planners{display:flex;align-items:center;justify-content:center;gap:8px;font-size:12px;color:var(--muted);min-height:36px}.workspace{margin-left:var(--sidebar);padding:14px 24px 36px;min-width:0;max-width:calc(100% - var(--sidebar))}.topbar{min-height:94px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 18px;padding:0 7px 13px}.welcome{font-size:clamp(27px,2.7vw,43px);line-height:1.16}.greeting-sub{color:var(--muted);font-size:15px;margin-top:6px}.top-tools{display:flex;align-items:center;gap:16px;margin-left:auto}.search-field{display:flex;align-items:center;gap:9px;border-radius:30px;background:color-mix(in srgb,var(--track),transparent 25%);padding:8px 15px;max-width:300px}.search-field .icon{width:17px;height:17px}.search-field input{background:transparent;border:0;outline:none;min-width:0;width:100%;height:23px;padding:0;font-size:13px}.top-tools .search-field{width:280px}.icon-btn{display:inline-flex;align-items:center;justify-content:center;min-width:36px;min-height:36px;padding:7px;background:none;border:1px solid transparent;border-radius:10px}.icon-btn:hover{background:var(--accent-soft)}.profile-button{border:0;background:transparent;display:flex;align-items:center;gap:12px}.profile-circle{width:45px;height:45px;background:var(--accent);border-radius:50%;display:grid;place-items:center;color:white;font-family:Georgia,serif;font-size:20px}.notification-btn{position:relative}.notification-btn:after{content:'';position:absolute;right:7px;top:3px;width:9px;height:9px;border:1px solid var(--surface);background:var(--coral);border-radius:50%}.context-row{width:100%;display:flex;gap:8px;justify-content:flex-end;align-items:center;flex-wrap:wrap}.context-chip{border:0;border-radius:30px;padding:6px 15px;display:inline-flex;align-items:center;gap:7px;background:var(--tone-soft);color:var(--ink);font-size:11px;min-height:30px}.context-chip .icon{width:15px;height:15px}.saved-status{font-size:11px;color:var(--muted);margin-right:auto}.page-content{min-width:0;display:flex;flex-direction:column;gap:14px}.hero{position:relative;isolation:isolate;border-radius:17px;padding:29px 34px;min-height:219px;display:flex;align-items:center;gap:22px;background:linear-gradient(var(--gradient-angle),color-mix(in srgb,var(--accent-soft),var(--surface) 58%),#fff9f3);overflow:hidden}.hero-copy{position:relative;z-index:2;flex:1;min-width:0}.hero-copy p{font-size:19px;line-height:1.45;margin:7px 0 17px;max-width:850px}.hero-copy .eyebrow{color:#526b7d;font-size:10px;margin:0 0 10px}.hero-aside{position:relative;z-index:2;font-family:Georgia,serif;font-style:italic;font-size:21px;line-height:1.28;text-align:center;min-width:100px;max-width:144px;margin-left:auto}.hero-aside strong{font-size:26px;font-style:normal}.hero-art{position:absolute;inset:0;overflow:hidden;z-index:-1;opacity:var(--art-opacity);pointer-events:none}.hero-art i{position:absolute;border-radius:50%;width:420px;height:420px;right:-120px;top:-315px;background:var(--coral)}.hero-art i:nth-child(2){width:360px;height:360px;right:-100px;top:90px;background:var(--gold)}.hero-art i:nth-child(3){width:380px;height:380px;right:70px;top:95px;background:var(--sage)}.hero-art i:nth-child(4){width:430px;height:430px;right:-245px;top:-90px;background:var(--surface)}.hero-blue .hero-art i:first-child{background:var(--blue)}.hero-teal .hero-art i:first-child{background:var(--teal)}.hero-tools{position:relative;z-index:2;display:flex;align-self:flex-end;gap:12px;margin-bottom:0}.hero-tool{width:85px;display:flex;flex-direction:column;align-items:center;gap:8px;border:0;background:transparent;padding:0;font-size:13px;line-height:1.5}.hero-tool .icon-bubble{width:61px;height:61px}.hero-tool span:last-child{max-width:94px}.hero-copy h1{white-space:normal}.hero-tools:empty{display:none}.primary-btn,.soft-btn,.small-btn,.danger-btn,.link-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;line-height:1.35;text-decoration:none}.primary-btn{border:1px solid var(--accent);background:linear-gradient(120deg,var(--accent),color-mix(in srgb,var(--accent),#24352a 13%));color:white;border-radius:30px;padding:10px 23px;min-height:42px;font-weight:500}.primary-btn:hover{filter:brightness(1.06);color:white}.soft-btn{background:color-mix(in srgb,var(--accent-soft),var(--surface) 70%);border:1px solid var(--line);border-radius:13px;padding:8px 16px;min-height:38px;color:var(--ink)}.soft-btn:hover{border-color:var(--accent);background:var(--accent-soft)}.small-btn{background:var(--surface);border:1px solid var(--line);border-radius:9px;padding:5px 10px;min-height:30px;font-size:12px}.link-btn{padding:3px 0;color:color-mix(in srgb,var(--accent),#1c6465 38%);background:none;border:0;font-size:12px;text-align:left}.link-btn .icon{width:17px;height:17px}.danger-btn{padding:8px 14px;min-height:40px;border:1px solid #e8b9b6;background:var(--coral-soft);color:#a53935;border-radius:10px}.panel{border:1px solid var(--line);background:var(--surface);border-radius:14px;padding:18px 20px;box-shadow:var(--shadow);min-width:0;width:100%}.card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px}.card-head h2{margin-bottom:0}.card-head .eyebrow{font-size:9px;letter-spacing:1.7px}.card-head .link-btn{white-space:nowrap;margin-top:4px}.icon-bubble{display:inline-flex;justify-content:center;align-items:center;width:58px;height:58px;border-radius:50%;background:var(--tone-soft,var(--accent-soft));color:color-mix(in srgb,var(--tone,var(--accent)),var(--ink) 38%);flex-shrink:0}.icon-bubble .icon{width:30px;height:30px}.metric-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.metric-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.metric-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.metric{padding:18px 16px;min-height:131px}.metric-link{border:0;background:none;display:flex;align-items:flex-start;gap:12px;position:relative;padding:0;text-align:left;width:100%}.metric .icon-bubble{width:55px;height:55px}.metric-content{display:flex;flex-direction:column;min-width:0;flex:1}.metric-label{font-size:12px;min-height:24px}.metric-value{font-size:33px;line-height:1.16;margin:3px 0 4px;font-weight:500;overflow-wrap:anywhere}.metric-content small{font-size:11px}.metric-chevron{width:13px;position:absolute;right:-5px;top:0}.progress-track{height:11px;border-radius:20px;overflow:hidden;background:var(--track);margin:12px 0 3px}.progress-track span{height:100%;display:block;border-radius:20px;background:linear-gradient(100deg,color-mix(in srgb,var(--tone,var(--accent)),#fff 13%),var(--tone,var(--accent)));transition:width .25s}.event-row{display:flex;align-items:center;gap:10px;padding:12px 0;width:100%;text-align:left;background:none;border:0;border-bottom:1px solid var(--line);font-size:12px;min-height:49px}.event-row:last-of-type{border-bottom:0}.event-row>.icon:first-child{width:21px;height:21px}.event-row>.icon:last-child{width:14px;height:14px}.event-name{flex:1;min-width:0;overflow-wrap:anywhere}.event-row strong{min-width:62px;text-align:right;font-weight:500}.pill{display:inline-flex;align-items:center;justify-content:center;background:var(--tone-soft,var(--accent-soft));color:color-mix(in srgb,var(--tone,var(--accent)),var(--ink) 43%);padding:4px 10px;border-radius:20px;font-size:11px;line-height:1.2}.today-list>.soft-btn{width:100%;margin-top:20px}.inline-total{font-size:28px;margin:4px 0 9px}.inline-total small{font-family:Inter,'Segoe UI',sans-serif;font-size:15px}.spending-donut{display:flex;gap:18px;align-items:center;justify-content:center;padding:10px 0 18px}.donut{position:relative;max-width:100%;flex-shrink:0}.donut svg{width:100%;height:100%;display:block}.donut-label{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;pointer-events:none}.donut-label strong{font-size:30px;line-height:1.3}.donut-label small{max-width:85%;line-height:1.3;font-size:13px}.donut-legend{flex:1;min-width:0}.donut-legend>div{display:flex;align-items:center;gap:8px;margin:9px 0;font-size:11px}.donut-legend i,.chart-legend i{width:11px;height:11px;border-radius:50%;flex-shrink:0}.donut-legend span{flex:1;min-width:0}.donut-legend strong{font-size:11px;white-space:nowrap;font-weight:500}.insight{display:flex;align-items:flex-start;gap:14px;background:color-mix(in srgb,var(--tone-soft,var(--accent-soft)),var(--surface) 35%);border-radius:12px;padding:15px 16px;color:var(--ink);margin-top:12px}.insight>.icon{color:var(--tone,var(--accent));margin-top:1px;width:25px;height:25px}.insight p{margin:0;font-size:13px;line-height:1.55}.insight .link-btn{margin-left:auto;align-self:center;flex-shrink:0}.household-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 8px;text-align:center}.person-tile{background:none;border:0;padding:0;display:flex;align-items:center;flex-direction:column;min-width:0}.avatar{display:inline-flex;align-items:center;justify-content:center;position:relative;width:54px;height:54px;border-radius:50%;background:var(--accent-soft);color:var(--accent);overflow:hidden;flex-shrink:0}.avatar>span{position:absolute;font-size:16px}.avatar img{position:relative;z-index:1;width:100%;height:100%;object-fit:cover}.person-tile strong{font-size:11px;margin-top:5px;line-height:1.2;overflow-wrap:anywhere}.person-tile small{font-size:10px;line-height:1.3;margin-top:3px}.compact .avatar{width:43px;height:43px}.compact{gap:10px 5px}.weekly-row{display:flex;align-items:center;gap:10px;justify-content:space-between}.week-dots{display:flex;flex:1;gap:7px;justify-content:space-between}.week-dots>div{text-align:center;min-width:0}.week-dots small{font-size:10px}.day-dot{display:flex;align-items:center;justify-content:center;width:29px;height:29px;border:1px solid var(--line);border-radius:50%;margin-top:7px}.day-dot.done{background:var(--accent);color:white;border-color:var(--accent)}.day-dot .icon{width:19px;height:19px}.weekly-row .donut{width:88px!important;height:88px!important}.weekly-row .donut-label strong{font-size:24px}.below-fold{margin-top:8px}.note-row{display:flex;gap:12px;width:100%;background:none;border:0;text-align:left;padding:13px 0;border-bottom:1px solid var(--line)}.note-row>span{flex:1;min-width:0}.note-row small{display:block;margin-top:5px}.empty-state{text-align:center;padding:28px 20px}.empty-state h3{margin-top:15px}.empty-state p{font-size:13px;color:var(--muted)}.detail-row{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding:13px 0;border-bottom:1px solid var(--line);font-size:13px}.detail-row strong{text-align:right;overflow-wrap:anywhere;font-weight:500}.detail-row span{min-width:0;color:var(--muted)}.display-money{display:block;font-size:42px;line-height:1.2;margin:8px 0 14px;font-weight:500}.approach{display:flex;gap:18px;align-items:center;width:100%;height:100%;background:var(--surface);border:1px solid var(--line);border-radius:14px;text-align:left;padding:18px;position:relative}.approach.selected{border-color:var(--accent);background:color-mix(in srgb,var(--accent-soft),var(--surface) 65%)}.approach span:nth-child(2){flex:1}.approach p{font-size:13px;color:var(--muted);margin:0}.budget-column{border:1px solid var(--line);border-radius:13px;overflow:hidden;height:100%;display:flex;flex-direction:column}.budget-column header{display:flex;gap:10px;padding:14px 12px;background:var(--tone-soft);align-items:center}.budget-column h3{font-size:17px}.budget-column .icon-bubble{width:45px;height:45px}.budget-column .icon-bubble .icon{width:25px;height:25px}.budget-column small{font-size:10px;line-height:1.35;display:block}.budget-rows{padding:7px 12px;flex:1}.budget-row{padding:8px 0;border:0;background:none;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;font-size:12px}.budget-row span{min-width:0}.budget-row strong{font-weight:500;white-space:nowrap}.budget-column>.soft-btn{margin:8px;min-height:38px;font-size:11px}.summary-pair{display:flex;align-items:center;justify-content:space-around;gap:20px}.summary-pair>div:last-child{min-width:0}.summary-pair .display-money{margin:4px 0;font-size:35px}.summary-pair .detail-row{gap:20px}.wide-link{display:flex;align-items:center;gap:15px;width:100%;background:none;border:0;padding:0;text-align:left}.wide-link>span:not(.icon-bubble){flex:1}.wide-link h3{font-size:21px}.adult-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.adult-row>span:not(.avatar){flex:1;min-width:90px}.adult-row small{display:block}.month-picker{display:flex;gap:5px;align-items:center;white-space:nowrap;font-size:13px;flex-shrink:0}.month-picker .icon-btn{min-width:28px;padding:5px}.month-picker .icon{width:16px;height:16px}.month-picker>span{min-width:100px;text-align:center}.toolbar{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:12px;margin-top:16px}.toolbar>.month-picker:last-child{margin-left:auto}.income-card{display:flex;gap:20px;align-items:center;width:100%;background:none;border:0;padding:0;text-align:left}.income-card>div{flex:1;min-width:0}.income-card h3{font-size:21px}.income-card strong{font-family:Georgia,serif;font-size:26px;font-weight:400}.income-card strong small{font-size:17px}.income-card p{margin:5px 0 0;font-size:12px;color:var(--muted)}.income-card>.icon{width:15px}.calendar-weekdays,.mini-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}.calendar-weekdays{padding:12px 0;color:var(--muted);font-size:12px}.mini-grid{gap:8px 2px}.mini-day{height:35px;display:flex;align-items:center;justify-content:center;border:0;background:none}.mini-day>span{display:flex;align-items:center;justify-content:center;width:35px;height:35px;border-radius:50%}.mini-day .has-event{background:var(--tone-soft);color:var(--ink)}.payday-row{display:flex;align-items:center;gap:15px;text-align:left;background:none;border:0;border-bottom:1px solid var(--line);padding:12px 0;width:100%;font-size:12px}.date-disc{width:45px;height:45px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--tone-soft);font-size:10px;flex-shrink:0}.date-disc b{font-size:14px}.payday-row>span:nth-child(2){flex:1;min-width:0}.payday-row small{display:block;font-size:11px;margin-top:4px}.payday-row>strong{font-size:12px;white-space:nowrap}.household-counts{display:flex;align-items:center;justify-content:space-around;text-align:center}.household-counts strong{font-family:Georgia,serif;font-size:32px}.household-counts small{display:block;font-family:Inter,'Segoe UI',Arial,sans-serif;font-weight:400}.table-wrap{max-width:100%;min-width:0}.data-table{width:100%;border-collapse:collapse;font-size:12px}.data-table th{font-weight:500;color:var(--muted);font-size:10px;text-align:left;letter-spacing:.3px;padding:10px 5px;line-height:1.3;border-bottom:1px solid var(--line)}.data-table td{border-bottom:1px solid var(--line);padding:11px 5px;vertical-align:middle;overflow-wrap:anywhere}.data-table td:last-child{text-align:right}.data-table td small{display:block}.data-table tr:last-child td{border-bottom:0}.row-open{display:flex;align-items:center;gap:7px;background:none;border:0;text-align:left;width:100%;padding:0;font-size:12px;min-width:0}.row-title{min-width:0;flex:1;overflow-wrap:anywhere}.row-open>.icon{width:13px;height:13px;flex-shrink:0}.fund-row{display:flex;gap:12px;align-items:center;padding:11px 0}.fund-row>span{flex:1;min-width:0}.fund-row>.icon{width:20px;height:20px}.fund-row .link-btn{font-size:12px;line-height:1.25}.fund-row>strong{font-size:12px;font-weight:500}.status-large{padding:10px 0;color:var(--ink)}.status-large>.icon-bubble{width:73px;height:73px;margin-bottom:20px;background:var(--accent);color:white}.status-large>.icon-bubble .icon{width:43px;height:43px}.status-large p{font-size:13px}.status-large p .icon{width:16px;height:16px;color:var(--accent)}.filter-pills{display:flex;gap:6px;align-items:center;flex-wrap:wrap;min-width:0;flex:1}.filter-pill{background:none;border:1px solid transparent;border-radius:25px;padding:9px 16px;display:inline-flex;align-items:center;gap:10px;min-height:39px;font-size:13px}.filter-pill .icon{width:22px;height:22px}.filter-pill.active{background:var(--accent-soft);border-color:color-mix(in srgb,var(--accent),transparent 75%);font-weight:600}.spending-toolbar{margin:0}.category-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.category-grid .panel{padding:14px 12px}.category-top{border:0;background:none;padding:0;display:flex;align-items:center;gap:10px;text-align:left;width:100%}.category-top .icon-bubble{width:48px;height:48px}.category-top .icon-bubble .icon{width:25px;height:25px}.category-top>span:not(.icon-bubble){flex:1;font-size:11px;min-width:0}.category-top strong{display:block;font-family:Georgia,serif;font-size:24px;line-height:1.2;margin:4px 0}.category-top small{font-size:11px}.category-top>.icon{width:12px;height:12px}.inline-search{max-width:100%;margin-bottom:15px;display:flex}.inline-search input{min-height:28px}.comparison-totals{display:flex;gap:26px;margin:10px 0 15px}.comparison-totals strong{font-family:Georgia,serif;font-size:31px;font-weight:400}.comparison-totals small{display:block}.bar-chart,.line-chart{display:block;width:100%;height:auto;max-width:100%}.bar-chart text,.line-chart text{font-family:Inter,'Segoe UI',Arial,sans-serif;font-size:11px;fill:var(--muted)}.chart-legend{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:15px;margin:10px 0;color:var(--muted);font-size:11px}.chart-legend>span{display:flex;align-items:center;gap:7px}.insight-row{display:flex;gap:16px;border-bottom:1px solid var(--line);padding:16px 0}.insight-row .icon-bubble{width:47px;height:47px}.insight-row h3{font-size:19px}.insight-row p{font-size:13px;color:var(--muted);margin:0}.calendar-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 10px;flex-wrap:wrap}.calendar-heading h1{font-size:32px;margin:0}.calendar-controls{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.segments{display:flex;padding:3px;background:color-mix(in srgb,var(--track),var(--surface) 40%);border-radius:20px;border:1px solid var(--line);gap:3px}.segment{border:0;background:none;border-radius:16px;padding:6px 12px;font-size:12px;min-height:32px}.segment.active{background:var(--accent-soft);font-weight:600;color:var(--ink)}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-left:1px solid var(--line);border-top:1px solid var(--line)}.calendar-day,.calendar-empty{min-height:103px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:7px;min-width:0}.calendar-day.today{background:color-mix(in srgb,var(--accent-soft),var(--surface) 70%)}.calendar-day-number{display:flex;align-items:center;gap:5px;border:0;background:none;padding:0 3px;min-height:24px;font-family:Georgia,serif;font-size:16px;margin-bottom:5px}.calendar-day-number small{display:none}.calendar-event{background:var(--tone-soft);border:0;border-radius:8px;display:flex;align-items:flex-start;gap:6px;padding:5px 6px;text-align:left;font-size:11px;margin:4px 0;width:100%;min-width:0;line-height:1.4}.calendar-event i{width:9px;height:9px;border-radius:50%;background:var(--tone);margin-top:3px;flex-shrink:0}.calendar-event b{display:block;font-weight:400}.calendar-event span{min-width:0;overflow-wrap:anywhere}.calendar-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:15px}.low-point{background:var(--coral-soft);display:flex;gap:17px;padding:18px;border-radius:13px}.low-point strong{font-family:Georgia,serif;font-size:34px}.low-point p{margin:4px 0 10px}.goal-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}.goal-grid .panel{padding:16px 15px}.goal-top{display:flex;align-items:center;gap:9px;background:none;border:0;padding:0;text-align:left;width:100%}.goal-top .icon-bubble{width:44px;height:44px}.goal-top .icon-bubble .icon{width:26px;height:26px}.goal-top h3{font-size:17px;margin:0;flex:1}.goal-top>.icon{width:12px;height:12px}.goal-amount{display:flex;align-items:center;gap:12px;margin:16px 0 10px}.goal-amount .donut{width:88px!important;height:88px!important}.goal-amount .donut-label strong{font-size:22px}.goal-amount>span{min-width:0}.goal-amount>span strong{font-family:Georgia,serif;font-size:24px;font-weight:400;display:block}.goal-amount>span small{font-size:11px}.goal-caption{text-align:center;color:var(--muted);font-size:12px;line-height:1.5;margin:12px 0}.goal-grid .small-btn{display:flex;margin:0 auto}.transfer-row,.priority-row{display:flex;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line);font-size:13px}.transfer-row>span,.priority-row>span:nth-child(2){flex:1;min-width:0}.transfer-row small,.priority-row small{display:block;font-size:11px}.transfer-row>.icon{width:22px;height:22px}.number-bubble{width:43px;height:43px;background:var(--tone-soft);border-radius:50%;display:flex;align-items:center;justify-content:center;font-family:Georgia,serif;font-size:25px;flex-shrink:0}.strategy{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:13px;padding:18px 12px;margin:10px 0;background:var(--surface);width:100%;text-align:left}.strategy.selected{border-color:var(--accent);background:var(--accent-soft)}.strategy .icon-bubble{width:45px;height:45px}.strategy span:nth-child(2){flex:1}.strategy h3{font-size:19px}.strategy p{font-size:12px;color:var(--muted);margin:0}.radio-mark{width:17px;height:17px;border-radius:50%;border:1px solid var(--muted);display:block;flex-shrink:0}.radio-mark.selected{border:5px solid var(--accent);background:white}.range-label{display:flex;justify-content:space-between;align-items:center;margin:5px 0 10px}.payoff-comparison{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:20px}.payoff-comparison>div{border:1px solid var(--line);border-radius:13px;padding:18px}.payoff-comparison>div.tone-sage{background:color-mix(in srgb,var(--sage-soft),var(--surface) 55%)}.payoff-comparison>div>strong{font-size:30px;font-family:Georgia,serif;font-weight:400;display:block;margin:15px 0}.payoff-comparison .detail-row{display:block;padding:10px 0}.payoff-comparison .detail-row strong{display:block;text-align:left;font-size:19px;font-family:Georgia,serif}.scenario-grid{display:flex;flex-wrap:wrap;gap:12px}.scenario{display:flex;gap:13px;align-items:center;border:1px solid var(--line);border-radius:12px;padding:14px;background:var(--surface);text-align:left;flex:1;min-width:210px}.scenario.selected{border-color:var(--accent);background:var(--accent-soft)}.scenario .icon-bubble{width:42px;height:42px}.scenario small{display:block;font-size:11px;margin-top:4px}.scenario>.icon{width:16px}.assumptions-list p{font-size:12px;border-bottom:1px solid var(--line);padding-bottom:14px;display:flex;align-items:center;gap:9px}.assumptions-list .icon{width:18px;height:18px}.household-roster{display:flex;flex-direction:column}.person-row{display:flex;align-items:center;gap:12px;width:100%;background:none;border:0;text-align:left;padding:10px 0;border-bottom:1px solid var(--line)}.person-row .avatar{width:43px;height:43px}.person-row>span:nth-child(2){flex:1;min-width:0;font-size:13px}.person-row small{display:block;font-size:11px}.licence-rule{display:flex;align-items:flex-start;gap:13px;padding:17px;background:var(--gold-soft);border:1px solid color-mix(in srgb,var(--gold),transparent 65%);border-radius:13px}.licence-rule>.icon{color:#bf8c2d}.licence-rule p{font-size:13px;margin:6px 0 0}.access-checks p{font-size:13px;display:flex;align-items:center;gap:10px}.access-checks .icon{color:var(--accent);width:18px;height:18px}.state-explainer{display:flex;gap:16px;align-items:flex-start}.state-explainer h3{font-size:19px}.state-explainer p{font-size:13px;color:var(--muted);margin:0}.state-explainer .icon-bubble{width:48px;height:48px}.stacked-actions{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0 14px}.report-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.report-tile{display:flex;align-items:flex-start;gap:14px;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:22px;text-align:left}.report-tile.selected{border-color:var(--accent);background:var(--accent-soft)}.report-tile h3{font-size:21px}.report-tile p{font-size:13px;color:var(--muted);margin:0}.report-tile>span{min-width:0}.report-tile .icon-bubble{width:50px;height:50px}.report-tile>.icon{width:16px;align-self:center}.settings-tabs{display:flex;gap:8px;flex-wrap:wrap}.settings-tabs .filter-pill{border:1px solid var(--line);background:var(--surface)}.settings-tabs .filter-pill.active{background:var(--accent-soft);border-color:var(--accent)}label{display:flex;flex-direction:column;font-size:13px;gap:7px;color:var(--ink)}input:not([type=checkbox]):not([type=range]):not([type=file]),select,textarea{width:100%;min-width:0;min-height:42px;border:1px solid var(--line);border-radius:10px;padding:9px 11px;background:var(--surface);color:var(--ink)}textarea{resize:vertical;line-height:1.6}select{appearance:auto}input[type=range]{width:100%;accent-color:var(--accent);min-height:32px}input[type=checkbox]{width:18px;height:18px;accent-color:var(--accent);flex-shrink:0}input[type=file]{padding:12px;border:1px dashed var(--line);border-radius:10px;max-width:100%}.check-label{flex-direction:row;align-items:center;gap:12px;margin:8px 0;font-size:14px}.start-option{display:flex;gap:20px;padding:23px 0;border-bottom:1px solid var(--line)}.start-option:first-of-type{padding-top:5px}.start-option:last-child{border-bottom:0}.start-option p{font-size:14px;color:var(--muted)}.start-option .icon-bubble{width:55px;height:55px}.bubble-editor{border:1px solid var(--line);border-radius:14px;padding:20px;height:100%}.editable-bubbles{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0 20px}.choice-bubble{border:1px solid var(--line);background:color-mix(in srgb,var(--accent-soft),var(--surface) 40%);border-radius:24px;padding:8px 13px;display:flex;align-items:center;gap:8px;font-size:13px;min-height:38px}.choice-bubble .icon{width:13px;height:13px}.bubble-add-form{display:flex;gap:10px}.bubble-add-form input{flex:1}.theme-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.theme-choice{position:relative;display:flex;align-items:center;flex-direction:column;gap:10px;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:18px 12px;font-size:13px}.theme-choice img{width:58px;height:58px;border-radius:10px}.theme-choice.selected{border:2px solid var(--accent);background:color-mix(in srgb,var(--accent-soft),var(--surface) 65%)}.theme-choice>.icon{position:absolute;right:8px;top:8px;width:17px;height:17px;color:var(--accent)}.theme-options{margin-top:20px}.form-error{border:1px solid #edb6ae;background:var(--coral-soft);color:#9a3f35;border-radius:9px;padding:12px 14px;margin:15px 0;font-size:13px}.readonly-note{display:flex;gap:12px;padding:12px 15px;border-radius:10px;background:var(--gold-soft);font-size:13px;margin-bottom:17px}.receipt-field small{display:block;margin:7px 0}.receipt-field a{display:inline-block;margin:10px 0}.modal-open{overflow:hidden}.modal-layer{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:15px}.modal-shade{position:absolute;inset:0;background:#15203266;backdrop-filter:blur(5px)}.theme-modal-layer .modal-shade{background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}.mode-modal{position:relative;background:var(--surface);border:1px solid var(--line);border-radius:20px;max-height:calc(100dvh - 30px);max-width:760px;width:100%;display:flex;flex-direction:column;box-shadow:0 25px 90px #12203b33;overflow:hidden}.modal-head{padding:22px 25px 18px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);flex-shrink:0}.modal-head h2{font-size:27px;margin:0}.modal-head .icon-btn{background:var(--track);flex-shrink:0}.modal-body{padding:24px 26px;overflow:auto;min-height:0}.modal-body>form>label{margin:15px 0}.modal-actions{display:flex;justify-content:flex-end;align-items:center;gap:12px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:19px;margin-top:23px}.modal-actions .danger-btn{margin-right:auto}.confirm-modal{max-width:560px}.confirm-copy{font-size:15px;line-height:1.8}.wide-modal{max-width:1120px}.theme-drawer{position:absolute;right:10px;top:10px;bottom:10px;max-height:calc(100dvh - 20px);width:min(640px,calc(100vw - 20px));border-radius:20px}.theme-drawer .theme-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.theme-drawer .theme-choice{padding:14px 6px}.theme-drawer .theme-choice img{width:48px;height:48px}.theme-drawer .theme-choice span{font-size:11px}.access-intro{display:flex;align-items:flex-start;gap:20px;padding:5px 0 20px}.access-intro p{font-size:15px;line-height:1.8}.search-results{display:flex;flex-direction:column;gap:7px}.search-result{background:none;border:1px solid var(--line);border-radius:11px;display:flex;align-items:center;gap:14px;padding:15px;text-align:left}.search-result>span{flex:1}.search-result small{display:block}.a4-preview{width:100%;height:70dvh;overflow:auto;background:#e4e8e9;padding:12px}.a4-preview iframe{display:block;width:100%;height:100%;min-height:60dvh;border:0;background:white}.loading{padding:80px;text-align:center}.loading strong{font-family:Georgia,serif;font-size:45px;letter-spacing:5px}.mobile-nav,.mobile-menu-btn{display:none}.skip-link{position:fixed;left:20px;top:-80px;background:var(--ink);color:white;padding:12px;z-index:3000}.skip-link:focus{top:10px}#toast{position:fixed;bottom:25px;left:calc(50% + var(--sidebar)/2);transform:translate(-50%,20px);max-width:min(620px,calc(100vw - 30px));padding:13px 22px;border-radius:14px;background:var(--ink);color:var(--surface);box-shadow:0 4px 22px #0d1b3c25;z-index:2100;opacity:0;pointer-events:none;transition:.2s}#toast.show{opacity:1;transform:translate(-50%,0)}#toast.error{background:#954739;color:white}.error-banner{padding:15px 20px;background:var(--coral-soft);color:#9e443c;border-radius:13px;margin-bottom:12px}.page-footer{color:var(--muted);font-size:11px;margin-top:24px;display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap}
[data-appearance=dark]{--bg:#101820;--surface:#18232c;--ink:#eef1f4;--muted:#a9b9c9;--line:#2b3a46;--track:#2c3943;--sage-soft:#243e32;--blue-soft:#223747;--coral-soft:#442e2d;--gold-soft:#403a29;--violet-soft:#352b47;--teal-soft:#233d3c;--blush-soft:#402c37;--ink-soft:#263349;--shadow:0 3px 13px #00000012}[data-appearance=dark] .hero{background:linear-gradient(var(--gradient-angle),#1a2c29,#232c36)}[data-appearance=dark] .hero-copy .eyebrow{color:var(--muted)}[data-appearance=dark] .nav-link-mode.active,[data-appearance=dark] .filter-pill.active,[data-appearance=dark] .approach.selected,[data-appearance=dark] .scenario.selected,[data-appearance=dark] .strategy.selected,[data-appearance=dark] .report-tile.selected{background:color-mix(in srgb,var(--accent),var(--surface) 75%);color:var(--ink)}[data-appearance=dark] .sidebar{background:linear-gradient(var(--gradient-angle),#18282b,#18232c)}[data-appearance=dark] .sidebar-note{background:linear-gradient(135deg,#453332,#273c36)}[data-appearance=dark] .context-chip{color:var(--ink)}[data-appearance=dark] .pill{color:var(--ink)}[data-appearance=dark] .icon-bubble{color:color-mix(in srgb,var(--tone),white 30%)}[data-appearance=dark] .theme-choice.selected{background:color-mix(in srgb,var(--accent),var(--surface) 80%)}[data-appearance=dark] .choice-bubble{background:var(--track)}
@media(min-width:1800px){.hero-copy h1{font-size:52px}.panel{padding:22px 24px}.metric{min-height:143px}.card-head{margin-bottom:18px}.event-row{padding:14px 0}.household-grid.compact .avatar{width:50px;height:50px}.hero-tools{gap:20px}.hero-tool{width:90px}.workspace{padding:18px 30px 40px}}
@media(max-width:1450px){:root{--sidebar:200px}.workspace{padding:15px 18px 30px}.brand img{width:65px;height:65px}.brand{gap:10px}.brand span{font-size:9px;letter-spacing:2px}.welcome{font-size:35px}.hero{padding:25px 28px;gap:16px}.hero h1{font-size:40px}.hero-tools{gap:6px}.hero-tool{width:67px;font-size:11px}.hero-tool .icon-bubble{width:48px;height:48px}.hero-aside{font-size:19px;min-width:82px;max-width:115px}.hero-copy p{font-size:16px}.metric{padding:15px 12px}.metric .icon-bubble{width:44px;height:44px}.metric .icon-bubble .icon{width:24px;height:24px}.metric-link{gap:8px}.metric-value{font-size:27px}.metric-label{font-size:11px}.metric-content small{font-size:10px}.panel{padding:16px}.spending-donut{gap:10px}.spending-donut .donut{width:140px!important;height:140px!important}.donut-legend>div{font-size:10px}.goal-amount{gap:6px}.goal-amount .donut{width:70px!important;height:70px!important}.goal-amount>span strong{font-size:22px}.goal-top h3{font-size:16px}.goal-top .icon-bubble{width:37px;height:37px}.event-row{gap:7px;font-size:11px}.event-row strong{min-width:54px}.event-row .pill{font-size:10px;padding:4px 7px}.category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.category-top .icon-bubble{width:50px;height:50px}.category-grid .panel{padding:15px}.theme-grid{gap:12px}.data-table{font-size:11px}.card-head h2{font-size:23px}.card-head .month-picker{font-size:11px}.month-picker>span{min-width:85px}}
@media(max-width:1199px){.hero-tools{display:none}.hero-aside{min-width:150px}.hero h1{font-size:43px}.metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.metric-grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}.metric{min-height:119px}.metric-value{font-size:32px}.metric .icon-bubble{width:52px;height:52px}.metric-label{font-size:13px}.metric-content small{font-size:12px}.metric-grid>.metric:nth-child(5){grid-column:auto}.metric-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.goal-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.goal-amount .donut{width:90px!important;height:90px!important}.goal-top h3{font-size:20px}.goal-top .icon-bubble{width:44px;height:44px}.report-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.topbar{padding-bottom:16px}.welcome{font-size:34px}.top-tools .search-field{width:170px}.context-row{justify-content:flex-start}.saved-status{width:100%}.card-head .month-picker{font-size:12px}.spending-donut .donut{width:165px!important;height:165px!important}.event-row{font-size:13px;gap:12px}.donut-legend>div{font-size:12px}.donut-legend strong{font-size:12px}.calendar-day{min-height:112px}.data-table{font-size:13px}.data-table th{font-size:11px}.row-open{font-size:13px}.theme-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.context-chip{font-size:10px;padding:6px 11px}.hero-copy{max-width:calc(100% - 175px)}}
@media(max-width:860px){:root{--sidebar:0px}.sidebar{display:none}.workspace{margin-left:0;max-width:100%;padding:14px 16px 110px}.mobile-menu-btn{display:inline-flex}.mobile-nav{position:fixed;display:flex;align-items:center;left:0;right:0;bottom:0;z-index:80;gap:7px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:none;padding:7px max(8px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));background:var(--surface);border-top:1px solid var(--line);box-shadow:0 -3px 15px #13202b08}.mobile-nav::-webkit-scrollbar{display:none}.mobile-nav button{flex:0 0 86px;width:86px;min-width:86px;min-height:59px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;background:none;border:0;border-radius:12px;font-size:11px}.mobile-nav button.active{background:var(--accent-soft);font-weight:600;color:var(--ink)}.mobile-nav .icon{width:23px;height:23px}.welcome{font-size:32px}.top-tools{gap:7px}.top-tools .search-field{display:none}.topbar{padding:0 0 16px;min-height:112px}.topbar>.greeting{max-width:calc(100% - 140px)}.context-row{gap:6px}.context-chip{min-height:27px;padding:5px 10px;font-size:10px}.context-chip.key-chip{display:none}.saved-status{font-size:10px}.greeting-sub{font-size:13px}.hero{min-height:199px}.hero h1{font-size:39px}.hero-aside{font-size:20px}.theme-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.page-footer{padding-bottom:10px}#toast{left:50%;bottom:89px}.card-head h2{font-size:25px}}
@media(max-width:680px){.workspace{padding:12px 12px 106px}.topbar{gap:8px}.topbar>.greeting{max-width:calc(100% - 105px)}.welcome{font-size:27px}.top-tools{gap:0}.profile-circle{width:35px;height:35px;font-size:17px}.profile-button{gap:2px;padding:0}.profile-button>.icon{display:none}.top-tools .notification-btn{display:none}.hero{padding:23px 21px;min-height:0;gap:0;display:block}.hero-copy{max-width:100%}.hero h1{font-size:34px;max-width:100%;line-height:1.14}.hero-copy p{font-size:15px;max-width:100%;margin-bottom:15px}.hero-copy .eyebrow{font-size:9px;letter-spacing:1.8px}.hero-aside{display:none}.hero-art{opacity:calc(var(--art-opacity)*.45)}.hero-art i{right:-280px}.hero-art i:nth-child(3){right:-150px}.hero .primary-btn{font-size:13px;min-height:43px;width:auto;max-width:100%}.metric-grid,.metric-grid.four,.metric-grid.three{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.metric-grid>.metric:nth-child(5){grid-column:1/-1}.metric{padding:14px 12px;min-height:123px}.metric-link{flex-direction:column;gap:7px}.metric .icon-bubble{width:39px;height:39px}.metric .icon-bubble .icon{width:24px;height:24px}.metric-content{width:100%}.metric-label{font-size:12px;line-height:1.4;min-height:0}.metric-value{font-size:28px;margin:4px 0}.metric-content small{font-size:11px}.metric-grid>.metric:nth-child(5) .metric-link{flex-direction:row;gap:15px}.metric-grid>.metric:nth-child(5){min-height:95px}.metric-grid>.metric:nth-child(5) .metric .icon-bubble{width:48px;height:48px}.panel{padding:18px 16px;border-radius:14px}.page-content{gap:12px}.card-head{gap:10px;flex-wrap:wrap}.card-head h2{font-size:24px}.card-head .eyebrow{font-size:9px;letter-spacing:1.3px}.card-head .link-btn{margin-top:0;font-size:12px}.icon-btn{min-height:40px;min-width:40px}.soft-btn,.small-btn{min-height:42px}.primary-btn{min-height:44px}.link-btn{min-height:32px}.event-row{font-size:12px;gap:8px;padding:13px 0;flex-wrap:wrap}.event-row .event-name{min-width:105px}.event-row .pill{font-size:10px}.event-row strong{font-size:12px;min-width:50px}.event-row>.icon:last-child{display:none}.spending-donut{gap:15px;justify-content:flex-start}.spending-donut .donut{width:140px!important;height:140px!important}.donut-legend>div{font-size:11px;gap:6px}.donut-legend strong{font-size:11px}.insight{padding:14px;gap:12px;flex-wrap:wrap}.insight p{font-size:13px;flex:1;min-width:0}.insight .link-btn{margin-left:37px}.household-grid{gap:14px 8px}.person-tile strong{font-size:12px}.person-tile small{font-size:11px}.compact .avatar{width:49px;height:49px}.weekly-row .donut{width:80px!important;height:80px!important}.week-dots{gap:4px}.day-dot{width:25px;height:25px}.week-dots small{font-size:9px}.approach{padding:17px;min-height:120px}.approach .icon-bubble{width:58px;height:58px}.approach h3{font-size:23px}.approach p{font-size:14px}.budget-column header{padding:18px}.budget-column header h3{font-size:23px}.budget-column small{font-size:12px}.budget-rows{padding:8px 18px}.budget-row{font-size:14px;min-height:43px}.budget-column>.soft-btn{font-size:13px;margin:12px}.summary-pair{gap:14px}.summary-pair .donut{width:142px!important;height:142px!important}.summary-pair .display-money{font-size:31px}.summary-pair .donut-label strong{font-size:26px}.wide-link{flex-wrap:wrap}.wide-link .icon-bubble{width:45px;height:45px}.wide-link>strong{margin-left:auto}.income-card{gap:16px}.income-card h3{font-size:22px}.income-card p{font-size:13px}.income-card strong{font-size:29px}.income-card>.icon{display:none}.income-card .icon-bubble{width:53px;height:53px}.mini-calendar .calendar-weekdays{display:grid}.mini-grid{gap:8px 2px}.mini-day{min-height:42px}.payday-row{gap:12px;min-height:69px;font-size:13px}.payday-row small{font-size:11px}.payday-row>strong{font-size:13px}.data-table,.data-table tbody,.data-table tr,.data-table td{display:block;width:100%}.data-table thead{display:none}.data-table tr{padding:12px 0;border-bottom:1px solid var(--line)}.data-table td{border:0;padding:5px 0;display:flex;justify-content:space-between;gap:15px;align-items:flex-start;text-align:right!important;font-size:13px;min-height:27px}.data-table td:first-child{font-weight:600}.data-table td:before{content:attr(data-label);color:var(--muted);text-align:left;flex:0 0 75px;max-width:32%;font-size:12px}.data-table td[data-label=""]:before{display:none}.data-table td .row-open{flex:1;width:auto;text-align:right;justify-content:flex-end;min-width:0;font-size:14px}.row-open .row-title{flex:initial}.data-table td>strong{margin-left:auto}.data-table td small{display:inline;margin-left:6px}.data-table td .pill{font-size:12px}.data-table td .small-btn{margin-left:auto}.spending-toolbar .month-picker{margin-left:0}.filter-pills{gap:5px}.filter-pill{font-size:12px;padding:8px 11px;min-height:42px}.filter-pill .icon{width:19px;height:19px}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.category-top{gap:8px;flex-wrap:wrap}.category-top>span:not(.icon-bubble){flex:1;min-width:66px;font-size:12px}.category-top .icon-bubble{width:35px;height:35px}.category-top .icon-bubble .icon{width:22px;height:22px}.category-top>.icon{display:none}.category-top strong{font-size:24px}.category-top small{font-size:11px}.category-grid .panel{padding:14px 10px}.comparison-totals{gap:20px}.comparison-totals strong{font-size:29px}.calendar-heading{gap:12px}.calendar-heading h1{font-size:29px}.calendar-controls{width:100%;gap:5px}.calendar-controls .segments{margin-left:auto}.calendar-controls .segment{padding:5px 10px;min-height:35px}.calendar-grid{grid-template-columns:repeat(3,minmax(0,1fr));border:0;gap:6px}.calendar-grid .calendar-empty{display:none}.calendar-day{min-height:103px;padding:8px 5px;border:1px solid var(--line);border-radius:10px}.calendar-weekdays{display:none}.calendar-day-number{width:100%;justify-content:space-between;font-size:16px;min-height:31px;padding:0 3px}.calendar-day-number small{display:block;font-size:10px}.calendar-event{font-size:10px;padding:5px 4px;gap:4px;min-height:35px}.calendar-event i{width:6px;height:6px;margin-top:4px}.calendar-footer{flex-direction:column;align-items:stretch}.calendar-footer .soft-btn{width:100%}.low-point{padding:15px}.low-point>.icon-bubble{width:45px;height:45px}.low-point strong{font-size:34px}.goal-grid{grid-template-columns:1fr}.goal-grid .panel{padding:20px}.goal-top h3{font-size:24px}.goal-top .icon-bubble{width:51px;height:51px}.goal-top>.icon{width:18px;height:18px}.goal-amount{justify-content:center;gap:25px;margin:22px 0 15px}.goal-amount .donut{width:123px!important;height:123px!important}.goal-amount .donut-label strong{font-size:32px}.goal-amount>span strong{font-size:38px}.goal-amount>span small{font-size:15px}.goal-caption{font-size:14px}.goal-grid .small-btn{width:100%;font-size:14px}.payoff-comparison{gap:10px}.payoff-comparison>div{padding:13px}.payoff-comparison>div>strong{font-size:27px}.strategy{padding:19px 15px}.strategy h3{font-size:23px}.strategy p{font-size:14px}.strategy .icon-bubble{width:54px;height:54px}.scenario{min-width:100%;padding:17px}.scenario strong{font-size:14px}.scenario small{font-size:12px}.scenario .icon-bubble{width:51px;height:51px}.assumptions-list p{font-size:14px}.detail-row{font-size:13px}.person-row{gap:10px;flex-wrap:wrap}.person-row>.pill{max-width:118px}.person-row .avatar{width:47px;height:47px}.person-row>span:nth-child(2){min-width:106px;font-size:13px}.licence-rule h3{font-size:24px}.licence-rule p{font-size:14px}.access-checks p{font-size:14px}.state-explainer{padding:8px 0}.state-explainer h3{font-size:23px}.state-explainer p{font-size:14px}.report-grid{grid-template-columns:1fr}.report-tile{padding:19px}.report-tile h3{font-size:24px}.report-tile p{font-size:14px}.settings-tabs{gap:6px}.settings-tabs .filter-pill{padding:10px 12px}.start-option{gap:14px}.start-option .icon-bubble{width:44px;height:44px}.start-option h3{font-size:23px}.start-option .soft-btn,.start-option .primary-btn{width:100%}.start-option p{font-size:14px}.bubble-editor{padding:17px}.bubble-editor h3{font-size:24px}.choice-bubble{min-height:42px;font-size:14px}.bubble-add-form{flex-wrap:wrap}.bubble-add-form input{flex:1 1 180px}.bubble-add-form button{flex:1}.theme-grid,.theme-drawer .theme-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.theme-choice,.theme-drawer .theme-choice{padding:18px}.theme-choice img,.theme-drawer .theme-choice img{width:65px;height:65px}.theme-choice span,.theme-drawer .theme-choice span{font-size:14px}.theme-options label{font-size:14px}.toolbar{align-items:stretch}.toolbar .primary-btn,.toolbar .soft-btn{flex:1 1 170px}.modal-layer{padding:7px}.mode-modal{max-height:calc(100dvh - 14px);border-radius:17px;width:100%;max-width:100%}.modal-head{padding:16px 16px 14px}.modal-head h2{font-size:25px}.modal-body{padding:18px 17px}.modal-actions{gap:9px;justify-content:stretch;position:relative}.modal-actions>*{flex:1}.modal-actions .danger-btn{margin:0}.modal-actions .icon{width:18px;height:18px}.modal-body label{font-size:14px}.modal-body input,.modal-body select,.modal-body textarea{font-size:16px}.theme-drawer{left:7px;right:7px;top:7px;bottom:7px;width:calc(100vw - 14px)}.readonly-note{font-size:13px}.access-intro{gap:15px;flex-direction:column}.check-label{font-size:14px}.page-footer{font-size:10px}.insight-row p{font-size:14px}.insight-row h3{font-size:22px}.search-results .search-result{font-size:14px}.month-picker>span{min-width:103px}.table-wrap{overflow:visible}}
@media(max-width:374px){.welcome{font-size:24px}.topbar>.greeting{max-width:calc(100% - 93px)}.hero h1{font-size:30px}.hero{padding:21px 17px}.metric-value{font-size:25px}.spending-donut{gap:9px}.spending-donut .donut{width:118px!important;height:118px!important}.donut-label strong{font-size:25px}.donut-legend>div{font-size:10px}.donut-legend strong{font-size:10px}.donut-legend i{width:8px;height:8px}.summary-pair{flex-wrap:wrap;justify-content:center}.weekly-row .donut{display:none}.calendar-controls .segments{width:100%;justify-content:center}.category-top .icon-bubble{display:none}.context-chip{padding:5px 9px;font-size:9px}.context-chip .icon{width:13px;height:13px}.goal-amount>span strong{font-size:33px}.goal-amount .donut{width:109px!important;height:109px!important}.payoff-comparison{grid-template-columns:1fr}.calendar-day{padding:5px 4px}.calendar-event{font-size:10px}.sidebar-note{display:none}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
@media print{.sidebar,.topbar,.mobile-nav,.page-footer,#modal-root,#toast{display:none!important}.workspace{margin:0;max-width:100%;padding:0}.panel{box-shadow:none;break-inside:avoid}.hero{background:white}.hero-art{display:none}@page{size:A4 portrait;margin:14mm}}

/* Match the approved soft overlapping, money-focused abstract artwork. */
.hero-art i:first-child{right:80px;top:-270px;width:360px;height:400px;transform:rotate(-8deg)}
.hero-art i:nth-child(2){right:-18px;top:110px;width:320px;height:360px}
.hero-art i:nth-child(3){right:132px;top:110px;width:365px;height:360px}
.hero-art i:nth-child(4){right:-162px;top:-155px;width:350px;height:430px;background:var(--surface)}
.debt-order{display:flex;gap:4px}.debt-order .icon-btn{width:30px;height:30px;min-height:30px}.cycle-summary{display:flex;gap:28px;flex-wrap:wrap}.cycle-summary strong{display:block;font-size:24px}

.mobile-brand{display:none}
@media(max-width:860px){.topbar{display:grid;grid-template-columns:1fr auto;gap:12px}.mobile-brand{grid-column:1;grid-row:1;display:flex;align-items:center;gap:10px;border:0;background:none;padding:0;text-align:left;font-size:10px;letter-spacing:2px;font-weight:600}.mobile-brand img{width:46px;height:46px;border-radius:10px}.topbar>.greeting{grid-column:1/-1;grid-row:2;max-width:100%!important}.top-tools{grid-column:2;grid-row:1}.context-row{grid-column:1/-1;grid-row:3}.welcome{font-size:29px}.greeting-sub{font-size:14px}.hero-art i:first-child{right:-40px}.hero-art i:nth-child(3){right:-70px}}

.simple-budget-total{padding:24px 8px}.simple-budget-total>strong{font:34px Georgia,serif}.simple-budget-total p{margin:8px 0 14px;color:var(--muted)}

/* Separate the budget amount, date and explanation control at every width. */
.summary-pair>div>small{display:block;margin:4px 0 10px}.summary-pair>div>.link-btn{display:flex;margin-top:4px}

/* v1.3 final A4, live theme and view-first popup correction */
.inline-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.calendar-day[role="button"]{cursor:pointer;position:relative;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}
.calendar-day[role="button"]:hover{border-color:color-mix(in srgb,var(--accent),var(--line) 45%);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent),transparent 72%)}
.calendar-day[role="button"]:focus-visible{outline:3px solid color-mix(in srgb,var(--accent),transparent 55%);outline-offset:-3px;z-index:2}
.calendar-day[role="button"] .calendar-day-number{cursor:pointer}
.report-download-tile{align-items:center;min-height:118px}
.report-download-tile>span{flex:1}
.report-download-tile>.primary-btn{margin-left:auto;flex:0 0 auto;white-space:nowrap}
.report-all-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:15px;margin-top:18px;border:1px solid var(--line);background:var(--accent-soft)}
.report-all-bar>div{display:flex;align-items:center;gap:12px;min-width:0}.report-all-bar>div>.icon{width:28px;height:28px;flex:0 0 auto}.report-all-bar strong,.report-all-bar small{display:block}.report-all-bar strong{font:22px Georgia,serif}.report-all-bar small{color:var(--muted);margin-top:3px}
.report-month-control{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}.report-month-control input{width:auto;min-width:150px}
@media(max-width:680px){.inline-actions{width:100%;justify-content:stretch}.inline-actions>*{flex:1}.report-download-tile{align-items:flex-start;flex-wrap:wrap}.report-download-tile>.primary-btn{width:100%;margin-left:0}.report-all-bar{align-items:stretch;flex-direction:column}.report-all-bar>.primary-btn{width:100%}.report-month-control{width:100%;justify-content:space-between}.report-month-control input{flex:1;max-width:190px}}

/* MODE Budget v1.3 view-first record dialogs and live theme feedback */
.record-view{display:flex;flex-direction:column;gap:14px}.record-view-title{display:flex;align-items:center;gap:14px;padding:3px 0 14px;border-bottom:1px solid var(--line)}.record-view-title .icon-bubble{width:48px;height:48px}.record-view-title h3{margin:0;font-size:27px}.record-view-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 22px}.record-view-row{display:flex;flex-direction:column;gap:4px;padding:12px 0;border-bottom:1px solid var(--line);min-width:0}.record-view-row>span{font-size:11px;color:var(--muted);letter-spacing:.4px}.record-view-row>strong{font-weight:600;overflow-wrap:anywhere}.record-view-row .record-notes{font-weight:400;line-height:1.55}.record-file-link{display:inline-flex;align-items:center;gap:7px;color:var(--accent)}.record-file-link .icon{width:17px;height:17px}.record-view-actions{border-top:1px solid var(--line);padding-top:16px}.theme-live-note{display:flex;gap:12px;align-items:flex-start;margin-top:18px;padding:14px 16px;border:1px solid color-mix(in srgb,var(--accent),var(--line) 62%);background:color-mix(in srgb,var(--accent-soft),var(--surface) 42%);border-radius:12px}.theme-live-note>.icon{color:var(--accent);margin-top:1px}.theme-live-note p{margin:2px 0 0;color:var(--muted)}.theme-options output{float:right;color:var(--accent);font-weight:650;font-size:12px}.theme-options input[type=range]{accent-color:var(--accent)}
@media(max-width:680px){.record-view-grid{grid-template-columns:1fr}.record-view-actions{flex-direction:column}.record-view-actions>*{width:100%}}

/* MODE Budget v1.4 - theme drawer keeps the planner fully visible during live colour adjustment */
.theme-modal-layer .workspace,.theme-modal-layer~.workspace{filter:none!important}

/* Budget polish: retain the existing layout, improve reading and touch targets. */
.budget-row{min-height:44px;gap:12px}.budget-row>span{min-width:0;overflow-wrap:anywhere}.budget-row>strong{white-space:nowrap}
.budget-row:hover{background:var(--accent-soft);border-radius:6px}
.card-head .eyebrow{font-size:11px;letter-spacing:1.6px}
@media(max-width:680px){.icon-btn,.link-btn,.soft-btn,.small-btn{min-height:44px}.icon-btn{min-width:44px}.card-head .eyebrow,.hero-copy .eyebrow{font-size:10px;letter-spacing:1.3px}.context-chip,.saved-status,.page-footer{font-size:11px}}

.sidebar .nav-link-mode {font-size:1.0625rem;white-space:normal;text-align:start}
.mobile-nav button {font-size:.875rem;min-height:44px;min-width:max-content;padding-inline:.75rem}
.goal-caption,.transfer-row small,.goal-amount small {font-size:.875rem}
