/* A calm everyday home. Forecasts and accounting live in their own screens. */
body:not(.landing-mode){--bg:#f6f8fb;--ink:#142d3a;--muted:#5a6c78;--line:#e5ebef;--green:#0f766e;--deep:#0b5f59;--surface:#fff;background:#f6f8fb;color:#142d3a}
body:not(.landing-mode) .topbar{background:#f6f8fb;border-color:#e5ebef}
body:not(.landing-mode) .breadcrumb strong{color:#142d3a}
body:not(.landing-mode) .sidebar .nav-link{color:#526772;min-height:48px;font-size:14px}
body:not(.landing-mode) .sidebar .nav-link.active{background:#e6f5ef;color:#0b685f}
body:not(.landing-mode) .sidebar-note{background:#eef5f2;color:#546e65}
body:not(.landing-mode) .button-primary{background:#0f766e;border-color:#0f766e;color:#fff}
body:not(.landing-mode) .button-primary:hover{background:#0b625b}
body:not(.landing-mode) .mobile-nav a.active{color:#0b685f}
body:not(.landing-mode) .mobile-nav a.active>span{background:#e5f5ef;color:#0b685f}
body:not(.landing-mode) .mobile-brand{background:#e5f5ef;color:#0b685f}
body:not(.landing-mode) .profile-button{background:#fff;color:#526772;border-color:#e5ebef}
body:not(.landing-mode) .page-heading .eyebrow{display:none}
body:not(.landing-mode) .page-heading h1{font-size:27px;line-height:1.55;letter-spacing:-.5px;color:#142d3a}
body:not(.landing-mode) .page-heading p{font-size:14px;line-height:1.9;color:#5a6c78}
body:not(.landing-mode) .text-button{color:#0b685f}
body:not(.landing-mode) button:focus-visible,body:not(.landing-mode) a:focus-visible{outline:3px solid #0f766e66;outline-offset:3px}
.ez-home{max-width:1000px;margin:auto;--mb-blue:#0f766e}
.ez-welcome{display:flex;justify-content:space-between;align-items:center;margin:4px 0 21px;gap:16px}
.ez-welcome h1{font-size:29px;font-weight:600;letter-spacing:-.7px;line-height:1.5;margin:0;color:#142d3a}
.ez-welcome p{font-size:14px;line-height:1.8;color:#5a6c78;margin:5px 0 0}
.ez-day-mark{width:56px;height:56px;background:#fff2da;color:#966518;display:grid;place-items:center;border-radius:20px;transform:rotate(-8deg)}
.ez-day-mark svg{width:29px;height:29px;stroke-width:1.6;transform:rotate(8deg)}
.ez-demo{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:#526772;margin:-8px 0 12px}
.ez-demo button{border:0;background:none;color:#0b685f;font-size:12px;min-height:36px;padding:0 3px;text-decoration:underline;text-underline-offset:4px}
.ez-home .ez-balance{background:#e4f4ee;background-image:radial-gradient(circle at 0 0,#d4e9e2,transparent 68%);color:#123e37;border:1px solid #d4e9e0;padding:17px 22px 0;border-radius:26px;box-shadow:0 5px 18px #173f3305}
.ez-home .ez-balance::after{width:170px;height:170px;left:-75px;top:-65px;border-color:#fff6;box-shadow:0 0 0 30px #ffffff20,0 0 0 60px #ffffff10}
.ez-balance .mb-balance-head h2{font-size:16px;font-weight:500;color:#305e53;line-height:1.5;margin:0}
.ez-balance .mb-eye{color:#426e61;width:40px;height:40px;min-width:40px}
.ez-balance .mb-balance-value{font-size:44px;color:#103d33;padding:2px 0 5px;min-height:68px;letter-spacing:-1.5px}
.ez-balance .mb-balance-value .currency{color:#426e61;font-size:15px}
.ez-home .ez-balance .mb-balance-value.is-negative{color:#a63732}
.ez-balance-meta{display:flex;align-items:center;gap:5px;position:relative;z-index:1;color:#42675c;font-size:12px;line-height:1.7;margin:0 0 8px}
.ez-balance-meta button{border:0;background:none;color:#42675c;width:36px;height:36px;display:grid;place-items:center}
.ez-balance-meta button svg{width:17px;height:17px}
.ez-payday{display:flex;align-items:center;gap:7px;position:relative;z-index:1;padding:12px 0;color:#42675c;border-top:1px solid #bcd9ce;font-size:12px;line-height:1.8}
.ez-payday>svg{width:16px;height:16px;flex-shrink:0}
.ez-payday small{font-size:11px;margin-right:auto;white-space:nowrap}
.ez-home .ez-actions{display:grid;grid-template-columns:1.3fr 1fr;gap:12px;margin:14px 0 20px}
.ez-home .ez-actions>button{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:9px;min-height:54px;padding:10px 12px;background:#fff;border:1px solid #dce6e6;border-radius:17px;color:#0b685f;font-size:15px;font-weight:500;box-shadow:0 2px 6px #142d3a03}
.ez-home .ez-actions>button:first-child{background:#0f766e;border-color:#0f766e;color:#fff}
.ez-actions>button svg{width:22px;height:22px;flex-shrink:0}
.ez-glance{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 0 18px}
.ez-glance>button{display:flex;align-items:flex-start;flex-direction:column;text-align:right;border:1px solid #e5ebef;background:#fff;border-radius:21px;padding:15px;min-width:0;min-height:157px;color:#142d3a;position:relative}
.ez-glance>button>span:not(.ez-card-symbol){font-size:13px;line-height:1.8;color:#526772;margin:6px 0}
.ez-glance>button>strong{font-size:24px;font-weight:500;line-height:1.5;overflow-wrap:anywhere;max-width:100%}
.ez-glance .currency{font-size:11px;color:#5a6c78;margin-right:4px}
.ez-glance>button small{font-size:12px;color:#5a6c78;line-height:1.7;margin-top:5px;overflow-wrap:anywhere;text-align:right}
.ez-card-symbol{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:#f1edfb;color:#7660a2}
.ez-card-symbol svg{width:18px;height:18px}
.ez-next .ez-card-symbol{background:#fff1db;color:#8b661f}
.ez-glance>button>.ez-no-due{font-size:16px;line-height:1.9}
.ez-home .ez-review{display:flex;align-items:center;gap:9px;width:100%;background:#fff4e4;border:1px solid #f0dfc1;color:#805a24;border-radius:15px;padding:11px 13px;margin:0 0 18px;min-height:48px;font-size:13px;text-align:right}
.ez-review svg{width:19px;height:19px;flex-shrink:0}
.ez-review small{font-size:12px;margin-right:auto;white-space:nowrap}
.ez-home .mb-section-head{margin:0 0 7px;min-height:40px}
.ez-home .mb-section-head h2{font-size:16px;color:#142d3a}
.ez-home .mb-section-head>button{font-size:13px;color:#0b685f}
.ez-home .mb-list{border-radius:20px;background:#fff;border-color:#e5ebef;padding:0 14px}
.ez-home .mb-transaction{min-height:76px;gap:10px;padding:14px 0}
.ez-home .mb-row-copy>strong{font-size:14px}
.ez-home .mb-row-copy>small{font-size:11px}
.ez-home .mb-row-amount{font-size:15px;max-width:34%}
.ez-home .mb-row-amount small{font-size:10px}
.ez-home .mb-row-icon{width:36px;height:36px;border-radius:12px;background:#f3f0fb;color:#78669f}
.ez-home .mb-row-icon.is-income{background:#e6f5ef;color:#0f766e}
.ez-home .mb-row-icon svg{width:19px;height:19px}
.ez-first{display:flex;flex-direction:column;align-items:center;text-align:center;padding:22px 14px}
.ez-first-icon{display:grid;place-items:center;width:54px;height:54px;background:#eaf5ee;color:#3d7a52;border-radius:20px;margin-bottom:10px}
.ez-first-icon svg{width:29px;height:29px}
.ez-first strong{font-size:15px;font-weight:500;color:#294938}
.ez-first p{font-size:13px;line-height:1.8;color:#5a6c78;margin-top:5px}
.ez-home-links{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0 4px}
.ez-home-links>button{border:0;background:transparent;display:flex;align-items:center;gap:9px;padding:12px 3px;min-height:56px;text-align:right;color:#536979;font-size:12px}
.ez-home-links>button>svg{width:21px;height:21px;flex-shrink:0;color:#59736b}
.ez-home-links>button small{display:block;font-size:11px;line-height:1.8;color:#627580;margin-top:3px}
.ez-planning{max-width:900px;margin:auto}
.ez-plan-available{display:flex;align-items:center;justify-content:space-between;gap:15px;width:100%;padding:22px;border:1px solid #d4e8e0;border-radius:22px;background:#e9f5ef;color:#173f33;text-align:right}
.ez-plan-available strong{font-size:16px;font-weight:500;line-height:1.8}
.ez-plan-available small{display:block;font-size:13px;line-height:1.8;color:#466b5d;margin-top:5px}
.ez-plan-available>span:last-child{font-size:27px;line-height:1.5;flex-shrink:0;max-width:50%;overflow-wrap:anywhere}
.ez-plan-available .currency{font-size:12px;margin-right:4px}
.ez-plan-available svg{display:inline-block;width:17px;height:17px;vertical-align:middle;margin-right:7px}
.ez-plan-note{font-size:13px;line-height:1.9;color:#5a6c78;margin:10px 2px 18px}
.ez-plan-metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.ez-plan-metrics>button{border:1px solid #e5ebef;border-radius:18px;background:#fff;padding:18px;text-align:right;color:#142d3a;font:inherit}
.ez-plan-metrics>button span{font-size:14px}
.ez-plan-metrics strong{display:block;font-size:25px;font-weight:500;margin-top:8px}
.ez-plan-metrics .currency{font-size:12px;margin-right:4px}
.ez-plan-actions{display:flex;gap:12px;margin-top:18px}
.ez-plan-actions>button{flex:1;min-height:48px;justify-content:center;font-size:14px;border-radius:14px}
.ez-planning .mb-forecast{padding:20px;border-radius:22px}
.ez-planning .mb-chart{height:220px}
.ez-planning .mb-forecast p{font-size:13px;line-height:1.9}
.ez-plan-notes{background:#fff;border:1px solid #e5ebef;border-radius:18px;padding:16px;margin:18px 0}
.ez-plan-notes summary{cursor:pointer;font-size:15px;min-height:32px}
.ez-plan-notes p{font-size:14px;color:#5a6c78;line-height:1.9;margin:12px 0}
.cl-section-nav{display:flex;align-items:center;gap:8px;min-height:42px;font-size:13px;color:#5a6c78;margin:0 0 8px}
.cl-section-nav>button{font:inherit;color:#0b685f;background:none;border:0;padding:8px 0;min-height:42px;cursor:pointer}
.cl-money-tabs{display:flex;gap:6px;padding:2px 0 12px;margin:0 0 8px}
.cl-money-tabs>button{min-height:42px;padding:8px 13px;font:inherit;font-size:13px;line-height:1.7;white-space:nowrap;border:1px solid #e5ebef;border-radius:12px;background:#fff;color:#526772;cursor:pointer}
.cl-money-tabs>button[aria-current=page]{background:#e6f5ef;color:#0b685f;border-color:#cae7db}
.cl-title-button{display:block;padding:2px 0;border:0;background:none;color:#142d3a;font:inherit;text-align:right;min-height:40px;cursor:pointer}
#detail-dialog{color:#142d3a;width:620px;max-width:calc(100% - 32px)}
#detail-dialog .dialog-top{position:sticky;top:0;z-index:2;background:#fff}
.ez-goal-card{display:flex;flex-direction:column;gap:13px;background:#fff;border:1px solid #e5ebef;border-radius:22px;padding:20px;color:#142d3a;text-align:right;font:inherit;cursor:pointer;min-width:0;width:100%}
.ez-goal-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.ez-goal-top .goal-icon{background:var(--goal-soft);color:var(--goal-color);border-radius:15px;width:44px;height:44px}
.ez-goal-top>small{font-size:12px;line-height:1.8;color:#5a6c78}
.ez-goal-card h2{font-size:18px;font-weight:500;margin:0;color:#142d3a}
.ez-goal-card>p{font-size:13px;color:#5a6c78;line-height:1.8;margin:0}
.ez-goal-card>strong{font-size:25px;font-weight:500;line-height:1.5}
.ez-goal-card .currency{font-size:12px;margin-right:4px;color:#5a6c78}
.ez-goal-card .goal-progress{height:6px;background:#eef1f5;margin:0}
.ez-goal-card .goal-progress span{display:block;height:100%;background:var(--goal-color);border-radius:9px}
.ez-goal-card>small{font-size:12px;color:#526772;line-height:1.8}
.ez-bills-list{display:grid;gap:12px}
.ez-bill-row{display:flex;align-items:center;gap:13px;border:1px solid #e5ebef;border-radius:20px;background:#fff;padding:18px;text-align:right;color:#142d3a;font:inherit;min-width:0;width:100%;cursor:pointer}
.ez-bill-row .payment-icon{background:#fff1db;color:#8b661f;border-radius:14px;flex-shrink:0}
.ez-bill-copy{flex:1;min-width:0}
.ez-bill-copy strong{display:block;font-size:16px;font-weight:500;line-height:1.7;overflow-wrap:anywhere}
.ez-bill-copy small{display:block;font-size:13px;line-height:1.8;color:#5a6c78;margin-top:4px}
.ez-bill-value{font-size:21px;font-weight:500;max-width:45%;overflow-wrap:anywhere;text-align:left}
.ez-bill-value .currency{display:block;font-size:11px;color:#5a6c78}
.ez-list-note{font-size:13px;color:#5a6c78;line-height:1.9;margin:16px 2px}
#editor-dialog .ez-amount-field input{font-size:34px;min-height:78px;font-weight:500;letter-spacing:-1px;background:#edf7f3;border-color:#d2e7de}
#editor-dialog .ez-amount-field input:focus{border-color:#0f766e;box-shadow:0 0 0 3px #0f766e1a}
.ez-form-details{border:1px solid #e5ebef;border-radius:15px;margin-top:18px;padding:0 14px}
.ez-form-details>summary{cursor:pointer;min-height:48px;display:flex;align-items:center;gap:8px;color:#526772;font-size:14px;list-style:none}
.ez-form-details>summary::-webkit-details-marker{display:none}
.ez-form-details>summary svg{width:17px;height:17px}
.ez-form-details>summary small{font-size:12px;color:#5a6c78;margin-right:auto}
.ez-form-details .form-grid{padding:5px 0 15px}
.ez-form-caption{font-size:13px;line-height:1.8;color:#5a6c78;margin-top:12px}
.ez-form-message{display:flex;align-items:center;justify-content:center;gap:8px;border:0;background:none;color:#0b685f;font:inherit;font-size:13px;width:100%;min-height:44px;margin-top:8px}
.ez-form-message svg{width:18px;height:18px}
@media(min-width:1001px){
.ez-home{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);grid-template-areas:'welcome welcome' 'demo demo' 'balance glance' 'actions recent' 'review recent' 'links links';gap:0 26px;align-content:start}
.ez-welcome{grid-area:welcome;margin-bottom:25px}.ez-demo{grid-area:demo;max-width:470px}.ez-balance{grid-area:balance}.ez-home .ez-actions{grid-area:actions;margin:16px 0 0}.ez-glance{grid-area:glance;margin:0;gap:14px}.ez-glance>button{min-height:212px;padding:21px;justify-content:center}.ez-glance>button>strong{font-size:28px}.ez-home .ez-review{grid-area:review;margin-top:15px}.ez-recent{grid-area:recent;margin-top:20px}.ez-home-links{grid-area:links;max-width:600px;margin-top:22px;gap:30px}.ez-balance .mb-balance-value{font-size:50px}.ez-home .ez-balance{padding:20px 25px 0}.ez-home .ez-payday{min-height:48px}.ez-home .mb-list .mb-transaction{min-height:79px}
}
@media(max-width:760px){
.ez-welcome{margin-top:3px;margin-bottom:18px}.ez-welcome h1{font-size:26px}.ez-welcome p{font-size:13px}.ez-day-mark{width:47px;height:47px;border-radius:17px}.ez-day-mark svg{width:25px;height:25px}.ez-home .ez-balance{padding:14px 19px 0;border-radius:23px}.ez-balance .mb-balance-value{font-size:42px}.ez-home .ez-actions{margin:12px 0 16px;gap:10px}.ez-home .ez-actions>button{font-size:14px;min-height:52px;border-radius:15px}.ez-glance{gap:10px;margin-bottom:13px}.ez-glance>button{padding:14px;min-height:151px;border-radius:19px}.ez-recent{margin-top:10px}.ez-home-links{gap:8px;margin-top:12px}.ez-plan-available{flex-direction:column;align-items:flex-start;padding:18px}.ez-plan-available>span:last-child{max-width:100%;font-size:28px}.ez-plan-actions{flex-direction:column}.ez-planning .mb-chart{height:195px}.cl-money-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.cl-money-tabs>button{min-width:0;white-space:normal;padding:9px 4px;font-size:12px}#detail-dialog{position:fixed;right:0;left:0;top:auto;bottom:var(--app-keyboard-inset,0px);width:100%;max-width:none;margin:0;border-radius:24px 24px 0 0}.ez-bill-row{padding:16px 14px;gap:10px}.ez-bill-copy strong{font-size:15px}.ez-bill-value{font-size:20px}
}
@media(prefers-reduced-motion:no-preference){.ez-home>.ez-balance,.ez-glance,.ez-recent{animation:ez-arrive .32s ease-out both}.ez-glance{animation-delay:.04s}.ez-recent{animation-delay:.08s}@keyframes ez-arrive{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}}
@media(max-width:350px){.ez-glance>button{padding:12px}.ez-glance>button>strong{font-size:21px}.ez-payday{font-size:11px}.ez-payday small{font-size:10px}.ez-welcome p{font-size:12px}.ez-home-links>button{font-size:11px;gap:6px}.ez-home-links>button small{font-size:10px}}
:is(#editor-dialog,#extras-dialog,#plan-dialog,#import-dialog,#limit-dialog,#debt-dialog,#detail-dialog) .dialog-actions .button-primary{background:#0f766e;border-color:#0f766e;color:#fff}
:is(#editor-dialog,#extras-dialog,#plan-dialog,#import-dialog,#limit-dialog,#debt-dialog,#detail-dialog) .dialog-actions .button-primary:hover{background:#0b625b;border-color:#0b625b}
:is(#editor-dialog,#extras-dialog,#debt-dialog) .field input:focus,:is(#editor-dialog,#extras-dialog,#debt-dialog) .field select:focus{border-color:#0f766e;box-shadow:0 0 0 3px #0f766e1a}
