@font-face{font-family:LocalThai;src:local('Leelawadee UI')}*{box-sizing:border-box} :root{--cream:#FFF7EE;--white:#FFFCF8;--red:#F05B5B;--red-dark:#c43742;--soft-red:#FFE7E7;--yellow:#FFD76A;--blue:#91C7FF;--green:#8ED7BA;--pink:#F7A7C1;--purple:#A99AF7;--text:#302B3D;--muted:#746d80;--line:#ece3db;--shadow:0 12px 40px #4b30240a}body{margin:0;background:var(--cream);color:var(--text);font:15px/1.65 LocalThai,'Leelawadee UI',Tahoma,sans-serif;overflow-wrap:anywhere}body:before{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;background-image:radial-gradient(#c5ab91 1px,transparent 1px);background-size:24px 24px;opacity:.14}button,input,textarea{font:inherit}button,a,input,textarea{ -webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;border:0;background:none;min-height:44px;transition:transform .16s,background .16s,box-shadow .16s}button:active{transform:scale(.97)}button:disabled{cursor:wait;opacity:.58}button:focus-visible,a:focus-visible{outline:3px solid #ac78d5;outline-offset:4px}a{color:inherit;text-decoration:none}input,textarea{width:100%;min-width:0;background:#fffdfa;border:1px solid #e6dfd8;border-radius:14px;padding:12px 14px;color:var(--text);outline:none;min-height:48px;font-size:16px}input:focus,textarea:focus{border-color:var(--red);box-shadow:0 0 0 3px #f05b5b14}textarea{resize:vertical}label{display:block;font-weight:600;margin-bottom:7px;font-size:14px}form>label,form>.form-row{margin-top:18px}h1,h2,h3,p{margin-top:0}h1{font-size:32px;line-height:1.45;letter-spacing:-.8px;margin-bottom:8px}h2{font-size:24px;line-height:1.5;margin-bottom:8px;letter-spacing:-.5px}h3{font-size:18px;line-height:1.5;margin-bottom:5px}.muted{color:var(--muted)}.tiny{font-size:12px;color:var(--muted)}.center{text-align:center}.red{color:var(--red)}.eyebrow,.mini-label{display:block;font-size:10px;font-weight:700;letter-spacing:2px;color:var(--muted);margin-bottom:12px}.eyebrow span{color:var(--red)}.primary{background:var(--red);border:1px solid var(--red);color:white;border-radius:15px;font-weight:700;padding:14px 22px;box-shadow:0 5px 0 #d9484930}.primary:hover{background:#e54e53}.primary span{float:right}.full{width:100%}.soft-button{background:var(--soft-red);border:1px solid #f6d1ce;border-radius:14px;padding:10px 18px;color:#a63943;font-weight:600}.outline-button{border:1px solid var(--line);background:var(--white);border-radius:14px;padding:11px 18px;font-weight:600}.icon-button{display:grid;place-items:center;height:46px;width:46px;border-radius:14px;background:var(--soft-red);color:var(--red-dark);font-size:28px;flex-shrink:0}.brand{display:flex;align-items:center;gap:12px;font-weight:800;font-size:21px;line-height:1.4}.brand small{display:block;font-size:10px;letter-spacing:1.1px;color:var(--muted);font-weight:400;margin-top:4px}.brand-mark{display:grid;place-items:center;position:relative;background:var(--red);color:var(--cream);border:1px solid #d4464d;border-radius:15px;width:47px;height:47px;font-size:29px;transform:rotate(-6deg)}.brand-mark i{position:absolute;right:-4px;top:-10px;font-size:21px;color:var(--yellow);font-style:normal;text-shadow:0 1px #c76b51}.auth-shell{max-width:1160px;margin:auto;padding:38px 42px 20px}.auth-layout{display:grid;grid-template-columns:1.12fr 1fr;gap:80px;align-items:center;padding:64px 0 42px}.welcome h1{font-size:43px;line-height:1.5;letter-spacing:-1.5px}.welcome p{color:var(--muted);font-size:15px}.welcome-art{position:relative;width:min(100%,350px);margin:-10px auto 12px}.welcome-art img{display:block;width:100%;height:auto;mix-blend-mode:multiply}.sticker{position:absolute;z-index:1;background:var(--white);box-shadow:0 5px 18px #78554112;border:1px solid #eaded3;padding:8px 13px;border-radius:12px;font-size:12px;font-weight:600;white-space:nowrap}.sticker-one{left:-35px;top:20%;transform:rotate(-8deg)}.sticker-two{right:-35px;bottom:14%;transform:rotate(7deg);background:#fff2c7}.welcome-steps{display:flex;justify-content:space-between;gap:8px;font-size:12px}.welcome-steps b{display:inline-grid;place-items:center;font-size:11px;width:27px;height:27px;border-radius:50%;background:#f6eadd;color:#ad8766;margin-right:4px}.auth-card{border:1px solid var(--line);border-radius:28px;background:var(--white);padding:35px;box-shadow:var(--shadow);position:relative}.auth-card:before{content:'✦';position:absolute;right:22px;top:-29px;font-size:47px;color:var(--yellow);transform:rotate(15deg)}.auth-card h2{font-size:25px}.auth-card p{font-size:13px}.auth-tabs{margin:26px 0 22px}.segmented{display:flex;gap:5px;padding:5px;background:#f3ede6;border-radius:14px}.segmented button{flex:1;border-radius:10px;padding:8px 12px;white-space:nowrap;color:var(--muted);font-size:14px;font-weight:600}.segmented button.active{background:var(--white);color:var(--red-dark);box-shadow:0 2px 7px #472a1d0b}.password-field{position:relative}.password-field input{padding-right:65px}.password-field button{position:absolute;right:5px;top:3px;font-size:12px;color:var(--muted);width:55px}.inline-error{color:#b92f39;font-size:13px;margin:8px 0;min-height:12px}.inline-error:empty{margin:4px 0}.auth-note{display:flex;align-items:center;gap:12px;background:#f4f5ed;padding:14px;border-radius:14px;margin:26px 0 20px}.auth-note>span{font-size:25px;color:#668974}.auth-note p{margin:0}.auth-note small{color:var(--muted);font-size:11px}.auth-footer{border-top:1px solid var(--line);padding-top:20px;font-size:12px;color:var(--muted);display:flex;justify-content:space-between;gap:10px}.auth-footer span{font-size:9px;letter-spacing:1.6px}.topbar{position:sticky;top:0;z-index:20;background:#fffcf8ed;backdrop-filter:blur(16px);border-bottom:1px solid var(--line)}.topbar-inner{max-width:1080px;padding:17px 30px;display:flex;align-items:center;gap:22px;margin:auto}.topbar .brand{font-size:19px}.topbar .brand small{font-size:11px;letter-spacing:0}.header-goal{margin-left:auto;text-align:right;max-width:40%}.header-goal small{display:block;color:var(--muted);font-size:10px}.header-goal strong{font-size:13px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.app-main{max-width:1080px;padding:32px 30px 120px;margin:auto;min-height:80vh}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.section-heading p{margin:0;font-size:13px}.section-heading .eyebrow{margin-bottom:6px}.greeting{font-size:25px;margin-bottom:6px}.date-tag{color:var(--muted);font-size:12px;background:var(--white);border:1px solid var(--line);padding:8px 14px;border-radius:100px}.hero-card{background:#fff1e2;border:1px solid #eddac6;border-radius:26px;padding:32px 34px;display:grid;grid-template-columns:1.15fr 1fr;position:relative;overflow:hidden}.hero-copy{position:relative;z-index:1;align-self:center}.goal-badge{display:inline-block;padding:5px 10px;border-radius:8px;background:#fff9f0;border:1px solid #eddfcb;font-size:12px;margin-bottom:22px;max-width:100%}.hero-label{color:#827061;font-size:13px;margin-bottom:2px}.hero-amount{font-size:49px;font-weight:800;line-height:1.4;letter-spacing:-1.8px;font-variant-numeric:tabular-nums}.hero-amount small{font-size:16px;font-weight:500;letter-spacing:0;margin-left:6px}.hero-target{font-size:13px;color:#827061;margin:3px 0 20px}.progress-labels{display:flex;justify-content:space-between;font-size:12px;margin-bottom:7px}.progress-labels b{color:#bd4b49}.progress-track{height:11px;border-radius:10px;background:#e9dccc;overflow:hidden}.progress-track span{display:block;height:100%;background:var(--red);border-radius:10px;transition:width .5s}.motivation{font-size:12px;margin:12px 0 0;color:#94684c}.hero-art{position:relative;display:flex;align-items:center;justify-content:center}.hero-art img{width:90%;max-width:290px;height:auto;mix-blend-mode:multiply;transform:rotate(3deg)}.hero-bubble{position:absolute;right:0;top:3px;background:#fffcf8;border:1px solid #e9d9c6;border-radius:14px 14px 14px 2px;padding:8px 12px;font-size:11px;transform:rotate(5deg)}.progress-ring{position:absolute;bottom:0;right:0;display:grid;place-items:center;border-radius:50%;width:65px;height:65px;background:conic-gradient(var(--red) var(--progress),#eedfd0 0);box-shadow:0 3px 10px #6434210b}.progress-ring span{display:grid;place-items:center;border-radius:50%;width:53px;height:53px;background:#fff8ee;font-size:13px;font-weight:700}.summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:18px 0 30px}.summary-card{border-radius:18px;border:1px solid #00000008;padding:18px;text-align:left;display:flex;align-items:center;gap:13px;min-width:0}.summary-card:nth-child(1){background:#e5f3e9}.summary-card:nth-child(2){background:#eaf1fc}.summary-card:nth-child(3){background:#fff0d2}.summary-icon{font-size:24px;width:43px;height:43px;display:grid;place-items:center;border-radius:12px;background:#ffffff77}.summary-card small{display:block;font-size:12px;color:#656578}.summary-card strong{font-size:23px;line-height:1.4;white-space:nowrap;font-variant-numeric:tabular-nums}.summary-card em{font-size:11px;font-style:normal;margin-left:4px}.home-lower{display:grid;grid-template-columns:1.1fr 1fr;gap:24px}.subheading{display:flex;justify-content:space-between;align-items:center;margin:0 0 12px}.subheading h2{font-size:18px;margin:0}.subheading small{font-size:11px;color:var(--muted)}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.quick-action{text-align:left;border:1px solid #efcecc;border-radius:19px;padding:20px;background:#ffe5e4;position:relative}.quick-action:nth-child(2){background:#e6f1e8;border-color:#ccdfd0}.quick-action .quick-icon{font-size:30px;display:block;margin-bottom:12px}.quick-action b{font-size:15px;display:block}.quick-action small{font-size:11px;color:var(--muted);display:block;margin-top:4px}.quick-arrow{position:absolute;right:15px;top:18px;color:#856566}.denomination-summary{display:flex;overflow-x:auto;gap:10px;padding-bottom:8px;scrollbar-width:thin;scroll-snap-type:x proximity}.denom-card{min-width:108px;flex:1;border:1px solid #0000000d;border-radius:17px;padding:17px 13px;scroll-snap-align:start;text-align:left}.denom-card b{display:block;font-size:20px;margin-bottom:9px}.denom-card small{display:block;font-size:10px;white-space:nowrap;color:#61586b}.denom-line{height:4px;background:#ffffff9c;border-radius:8px;margin-top:12px;overflow:hidden}.denom-line span{display:block;background:currentColor;height:100%;opacity:.45}.bill-20{--bill:#dff0e2;--ink:#44735a;background:var(--bill);color:var(--ink)}.bill-50{--bill:#e0edfc;--ink:#3a6c99;background:var(--bill);color:var(--ink)}.bill-100{--bill:#fbe1e9;--ink:#a64e72;background:var(--bill);color:var(--ink)}.bill-500{--bill:#ece5fc;--ink:#7858a5;background:var(--bill);color:var(--ink)}.bill-1000{--bill:#fff0c7;--ink:#916b25;background:var(--bill);color:var(--ink)}.tip-card{margin-top:14px;background:var(--white);padding:13px 16px;border:1px dashed #dfd3c7;border-radius:13px;color:var(--muted);font-size:12px}.recent-card{margin-top:27px}.text-button{color:var(--red-dark);font-size:12px;padding:8px}.activity-row{display:flex;align-items:center;gap:13px;background:var(--white);border:1px solid var(--line);border-radius:17px;padding:16px 18px;margin-bottom:10px;position:relative}.activity-icon{flex-shrink:0;display:grid;place-items:center;width:43px;height:43px;border-radius:13px;background:#e4f2e9;color:#438365;font-size:20px}.activity-row.undo .activity-icon{background:#ffe9dc;color:#b87749}.activity-row.reset .activity-icon{background:#eee8fa;color:#8762a6}.activity-row.create .activity-icon{background:#e6eefd;color:#5b79a7}.activity-body{flex:1;min-width:0}.activity-body b{font-size:14px}.activity-body small{display:block;color:var(--muted);font-size:11px}.activity-body p{margin:5px 0 0;font-size:12px;color:var(--muted);white-space:pre-wrap}.activity-amount{font-size:16px;color:#428060;font-weight:700;white-space:nowrap}.activity-row.undo .activity-amount,.activity-row.reset .activity-amount{color:#ab685b}.history-group{font-size:12px;color:var(--muted);margin:23px 0 12px}.bottom-nav{position:fixed;bottom:max(16px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(460px,calc(100% - 32px));display:grid;grid-template-columns:repeat(4,1fr);gap:6px;background:#fffdf9f5;border:1px solid #e7ded4;box-shadow:0 8px 35px #543b2817;backdrop-filter:blur(16px);border-radius:23px;padding:8px;z-index:30}.bottom-nav button{display:flex;align-items:center;flex-direction:column;gap:0;justify-content:center;min-height:57px;font-size:11px;border-radius:15px;color:var(--muted)}.bottom-nav button>span{font-size:25px;line-height:1.2;margin-bottom:4px}.bottom-nav button.active{background:var(--soft-red);color:var(--red-dark);font-weight:700}.app-footer{font-size:11px;color:var(--muted);text-align:center;margin-top:35px}.app-footer span{color:var(--red);margin-left:5px}.filters{position:sticky;top:82px;z-index:10;background:#fff7eef5;backdrop-filter:blur(12px);padding:8px 0 15px;margin-bottom:8px}.filters .segmented{max-width:380px}.bill-filters{display:flex;gap:8px;overflow:auto;margin-top:12px;scrollbar-width:none}.bill-filters button{flex-shrink:0;padding:7px 15px;border:1px solid var(--line);border-radius:30px;background:var(--white);font-size:12px;min-height:44px}.bill-filters button.active{background:var(--text);color:var(--white);border-color:var(--text)}.envelope-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.envelope{position:relative;min-width:0;isolation:isolate;overflow:hidden;border:1px solid color-mix(in srgb,var(--ink) 20%,transparent);border-radius:13px 13px 18px 18px;text-align:center;padding:18px 12px 16px;min-height:185px;box-shadow:0 3px 0 #6c4b2810;scroll-margin-top:250px}.envelope:before{content:'';position:absolute;z-index:-1;left:0;right:0;top:-1px;height:68px;background:#ffffff45;clip-path:polygon(0 0,100% 0,50% 100%)}.envelope:after{content:'';position:absolute;left:0;right:0;bottom:0;height:72px;background:#ffffff17;clip-path:polygon(0 0,50% 65%,100% 0,100% 100%,0 100%);z-index:-1}.envelope small{display:block;font-size:11px;margin-bottom:21px}.envelope strong{display:block;font-size:29px;letter-spacing:-.7px;line-height:1.25;font-variant-numeric:tabular-nums}.envelope .bill-caption{font-size:10px;opacity:.85;margin:4px 0 13px}.envelope-status{display:inline-block;font-size:10px;background:#ffffff8a;padding:3px 11px;border-radius:20px}.envelope.saved{--bill:#dff0e2;--ink:#3d7758;background:var(--bill)}.envelope.saved:before{background:#c9e4d1}.envelope .checkmark{position:absolute;right:10px;top:10px;background:#488662;color:#fff;border-radius:50%;width:20px;height:20px;line-height:20px;font-size:12px}.envelope.highlight{animation:envelope-pop .65s ease 2;outline:3px solid var(--red);outline-offset:3px}.empty-state{grid-column:1/-1;text-align:center;border:1px dashed #e4d8cc;border-radius:24px;background:var(--white);padding:30px 22px}.empty-state img{display:block;width:190px;height:auto;margin:0 auto 14px;mix-blend-mode:multiply}.empty-state p{font-size:13px;color:var(--muted);margin-bottom:20px}.empty-state .empty-icon{display:block;font-size:45px;margin:15px 0}.celebration-card{background:#fff0c7;border:1px solid #e9d598;border-radius:18px;padding:18px;margin-bottom:20px;display:flex;align-items:center;gap:14px}.celebration-card>span{font-size:35px}.celebration-card h2{font-size:20px;margin:0}.celebration-card p{margin:0;font-size:13px;color:#84703f}.settings-card{background:var(--white);border:1px solid var(--line);border-radius:20px;padding:23px;margin-bottom:22px}.profile-row{display:flex;align-items:center;gap:14px}.profile-avatar{width:49px;height:49px;border-radius:15px;background:var(--soft-red);display:grid;place-items:center;font-size:23px}.profile-row div:nth-child(2){flex:1}.profile-row h3{margin:0}.profile-row p{margin:0;font-size:12px;color:var(--muted)}.current-goal{background:#fff0dd;border:1px solid #ebd7be;border-radius:20px;padding:23px;margin-bottom:20px}.current-goal p{font-size:13px;color:var(--muted)}.challenge-card{width:100%;background:var(--white);border:1px solid var(--line);border-radius:17px;padding:18px;display:flex;align-items:center;justify-content:space-between;text-align:left;gap:12px;margin-bottom:12px}.challenge-card.selected{border-color:#ecacac;background:#fff4ef}.challenge-card b{display:block;font-size:15px}.challenge-card small{font-size:12px;color:var(--muted)}.badge{border-radius:20px;padding:4px 10px;font-size:10px;background:#eeeae5;color:var(--muted);white-space:nowrap}.badge.active{background:var(--soft-red);color:var(--red-dark)}.badge.complete{background:#ddefdf;color:#467358}.danger-zone{margin-top:28px;border-top:1px dashed #e4d6c9;padding-top:20px}.danger-zone button{color:#ad4b4b}.sheet{border:1px solid #e9dfd4;border-radius:27px;background:var(--white);color:var(--text);width:min(500px,calc(100% - 32px));max-height:calc(100dvh - 48px);padding:28px;overflow:auto;overscroll-behavior:contain;box-shadow:0 18px 80px #3825212e}.sheet::backdrop{background:#302b3d66;backdrop-filter:blur(4px)}.sheet[open]{animation:sheet-in .24s ease-out}.sheet h2{font-size:23px;padding-right:20px}.sheet>p{font-size:13px}.sheet-close{position:absolute;right:14px;top:14px;background:#f3ece5;width:44px;height:44px;font-size:25px}.sheet-handle{display:none}.sheet .eyebrow{font-size:9px;margin-top:14px;padding-right:30px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-row>div{min-width:0}fieldset{border:0;padding:0;margin:20px 0}legend{font-weight:600;font-size:14px;margin-bottom:10px}legend small{font-weight:400;color:var(--muted);font-size:11px;margin-left:5px}.denomination-picker{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}.denomination-picker label{margin:0;display:flex;align-items:center;justify-content:center;gap:4px;min-height:46px;border-radius:11px;font-size:12px;border:1px solid #00000010;cursor:pointer}.denomination-picker input,.mode-picker input{width:15px;height:15px;min-height:0;margin:0;accent-color:var(--red);flex-shrink:0}.mode-picker{display:grid;grid-template-columns:1fr 1fr;gap:10px}.mode-picker label{display:flex;align-items:center;gap:9px;padding:12px 10px;border:1px solid var(--line);border-radius:13px;margin:0;cursor:pointer}.mode-picker label:has(input:checked){background:#fff0e9;border-color:#f1aaa4}.mode-picker small{display:block;font-size:9px;color:var(--muted);font-weight:400;margin-top:3px}.preview-card{background:#f3f1ea;border:1px dashed #dcd3c7;border-radius:15px;padding:14px;margin:16px 0;font-size:12px}.preview-numbers{display:flex;justify-content:space-between;gap:10px;margin-bottom:8px}.preview-numbers b{display:block;font-size:18px}.preview-numbers small{color:var(--muted);font-size:10px}.preview-card p{margin:0;color:var(--muted);font-size:11px}.sheet-envelope{max-width:220px;margin:25px auto 18px;min-height:150px;border-radius:15px;padding:20px;text-align:center;position:relative;overflow:hidden}.sheet-envelope:before{content:'';position:absolute;top:0;left:0;right:0;height:55px;background:#ffffff66;clip-path:polygon(0 0,100% 0,50% 100%)}.sheet-envelope small{display:block;font-size:12px;position:relative}.sheet-envelope strong{display:block;font-size:43px;margin-top:15px;line-height:1.4}.envelope-question{text-align:center;font-size:15px;margin:0 0 15px}.random-label{text-align:center;color:var(--red-dark);font-size:14px;margin:26px 0 0}.toast{position:fixed;left:50%;bottom:110px;transform:translateX(-50%);width:max-content;max-width:calc(100% - 36px);background:var(--text);color:#fffaf5;padding:13px 21px;border-radius:15px;box-shadow:0 10px 30px #302b3d30;z-index:200;font-size:13px;text-align:center}.toast.error{background:#a33b46}.loading{position:fixed;inset:0;background:var(--cream);z-index:300;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:17px}.loading-coin{font-size:35px;background:var(--yellow);color:#8a692a;width:76px;height:76px;display:grid;place-items:center;border-radius:50%;border:6px double #cfa33c;animation:wobble 1.2s ease-in-out infinite}.spinner{width:22px;height:22px;border:3px solid #f3d6cd;border-top-color:var(--red);border-radius:50%;animation:spin 1s linear infinite}.loading strong{font-size:15px}.noscript{text-align:center;position:fixed;inset:45% 10%;z-index:500;background:var(--white);padding:25px}.confetti-piece{position:fixed;top:-20px;width:9px;height:16px;z-index:220;pointer-events:none;animation:fall 1.9s ease-in forwards}body.modal-open{overflow:hidden}[hidden]{display:none!important}@keyframes spin{to{transform:rotate(360deg)}}@keyframes wobble{50%{transform:rotate(12deg) translateY(-5px)}}@keyframes sheet-in{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:translateY(0)}}@keyframes envelope-pop{50%{transform:translateY(-7px) rotate(2deg)}}@keyframes fall{to{transform:translateY(110vh) rotate(650deg);opacity:0}}@media(min-width:1200px){.auth-layout{padding-top:60px}.welcome-art{width:340px}}@media(max-width:900px){.auth-layout{gap:36px}.auth-shell{padding:30px}.auth-card{padding:26px}.welcome h1{font-size:35px}.sticker-one{left:-10px}.sticker-two{right:-10px}.home-lower{grid-template-columns:1fr}.denom-card{min-width:110px}.envelope-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.summary-card{padding:14px;gap:9px}.summary-icon{display:none}.hero-amount{font-size:42px}}@media(max-width:600px){body{font-size:14px}.auth-shell{padding:23px 22px}.auth-shell>.brand{font-size:19px}.auth-layout{display:flex;flex-direction:column;gap:20px;padding:33px 0 25px}.welcome{width:100%;text-align:center}.welcome h1{font-size:31px;letter-spacing:-.8px;line-height:1.5}.welcome .eyebrow{font-size:8px;letter-spacing:1.8px}.welcome p{font-size:12px;margin-bottom:0}.welcome-art{width:220px;margin:-2px auto -2px}.sticker{font-size:9px;padding:6px 9px}.sticker-one{left:-38px}.sticker-two{right:-34px}.welcome-steps{font-size:10px;margin-top:7px;justify-content:center;gap:15px}.welcome-steps b{width:22px;height:22px;font-size:9px}.auth-card{width:100%;padding:25px 22px;border-radius:23px}.auth-card .mini-label{font-size:8px}.auth-card h2{font-size:22px}.auth-card>p{font-size:12px}.auth-tabs{margin:20px 0}.auth-footer{font-size:10px;justify-content:center;text-align:center}.auth-footer span{display:none}.topbar-inner{padding:13px 18px;gap:10px}.topbar .brand{font-size:17px;gap:9px}.brand-mark{width:41px;height:41px;border-radius:12px;font-size:26px}.topbar .brand small{font-size:9px}.header-goal{display:none}.add-goal{margin-left:auto;width:44px;height:44px;border-radius:13px}.app-main{padding:25px 18px 120px}.section-heading{gap:10px;margin-bottom:19px}.section-heading h1{font-size:25px}.section-heading .eyebrow{font-size:8px;letter-spacing:1.4px}.section-heading .soft-button{padding:9px 12px;font-size:12px}.section-heading p{font-size:11px}.date-tag{display:none}.greeting{font-size:23px}.hero-card{padding:21px 19px;grid-template-columns:1.3fr 1fr;border-radius:22px;gap:0}.goal-badge{font-size:10px;padding:4px 8px;margin-bottom:15px}.hero-label{font-size:11px}.hero-amount{font-size:33px;letter-spacing:-1.3px}.hero-amount small{font-size:11px;display:block;margin:0;line-height:1.3}.hero-target{font-size:10px;margin-top:5px;margin-bottom:16px}.hero-art{align-self:start;margin-top:48px;margin-left:-8px}.hero-art img{width:150px;max-width:115%;transform:rotate(4deg)}.hero-bubble{font-size:8px;padding:6px 7px;top:-25px;right:-3px}.progress-ring{width:49px;height:49px;right:0;bottom:-48px}.progress-ring span{width:39px;height:39px;font-size:10px}.progress-labels{font-size:10px}.progress-track{height:8px}.motivation{font-size:10px;margin-top:10px}.summary-grid{gap:8px;margin:12px 0 25px}.summary-card{padding:12px 9px;border-radius:15px;display:block}.summary-card small{font-size:10px;white-space:nowrap}.summary-card strong{font-size:20px}.summary-card em{display:block;font-size:9px;margin:0}.summary-card:last-child strong{font-size:18px;letter-spacing:-.5px}.quick-action{padding:17px 15px;border-radius:17px}.quick-action b{font-size:13px}.quick-action small{font-size:10px}.quick-action .quick-icon{font-size:27px;margin-bottom:10px}.home-lower{gap:23px}.subheading h2{font-size:16px}.subheading small{font-size:10px}.denom-card{min-width:99px;padding:13px 12px}.denom-card b{font-size:19px}.tip-card{font-size:11px}.filters{top:70px;margin-left:-2px;margin-right:-2px}.filters .segmented{max-width:none}.bill-filters{gap:6px}.bill-filters button{padding:6px 13px;font-size:11px}.envelope-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.envelope{min-height:179px;padding:17px 9px 14px}.envelope strong{font-size:28px}.activity-row{padding:13px;gap:10px}.activity-body b{font-size:12px}.activity-amount{font-size:13px}.activity-icon{width:35px;height:35px;font-size:17px}.sheet{position:fixed;bottom:0;top:auto;margin:0;width:100%;max-width:100%;border-radius:25px 25px 0 0;max-height:calc(100dvh - 25px);padding:23px 23px max(25px,env(safe-area-inset-bottom));border-bottom:0}.sheet-handle{display:block;width:35px;height:4px;border-radius:5px;background:#ded6cd;margin:-11px auto 22px}.sheet h2{font-size:21px}.sheet-close{top:18px;right:13px}.sheet .eyebrow{margin-top:0;font-size:8px}.form-row{gap:10px}.denomination-picker{gap:5px}.denomination-picker label{font-size:11px;gap:3px}.denomination-picker input{width:13px;height:13px}.mode-picker label{padding:12px 9px;font-size:12px;gap:6px}.mode-picker small{font-size:8px}.profile-row h3{font-size:16px}.profile-row button{font-size:11px;padding:7px 10px}.current-goal,.settings-card{padding:19px}.challenge-card{padding:15px}.challenge-card b{font-size:13px}.challenge-card small{font-size:10px}.badge{font-size:9px;padding:4px 8px}.empty-state{padding:24px 18px}.empty-state img{width:170px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Keep scrollable bill strips inside their grid track on narrow screens. */
.home-lower>*,.hero-card>*,.quick-grid>*{min-width:0}.home-lower{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}.welcome-art img,.hero-art img,.empty-state img{mask-image:radial-gradient(ellipse at center,#000 57%,transparent 73%);-webkit-mask-image:radial-gradient(ellipse at center,#000 57%,transparent 73%)}@media(max-width:900px){.home-lower{grid-template-columns:minmax(0,1fr)}}

input[readonly]{background:#f1eee7;color:#6b826d;font-weight:700;border-style:dashed}.preview-bills{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}.preview-bills>span{flex:1;text-align:center;padding:8px 6px;border-radius:10px;min-width:50px}.preview-bills b{font-size:12px}.preview-bills small{display:block;font-size:10px;margin-top:2px}.preview-warning{color:#a94e46!important}.success-sheet{text-align:center;max-width:390px;padding:27px}.success-sheet img{width:210px;max-width:70%;height:auto;display:block;margin:0 auto;animation:happy-bounce .6s ease-in-out 2}.success-badge{display:inline-block;background:#e1f0e3;color:#4c7d5a;font-size:11px;padding:5px 12px;border-radius:30px;margin:12px 0}.success-sheet h2{padding:0;font-size:23px}.success-sheet p{font-size:13px;color:var(--muted);margin-bottom:23px}.sound-setting{display:flex;align-items:center;gap:12px;margin-top:25px}.sound-setting>div{flex:1}.sound-setting h3{font-size:14px}.sound-setting p{margin:0}.sound-toggle{width:64px;border-radius:30px;background:#eee8df;font-size:13px;font-weight:600}.sound-toggle.on{background:#dff0e2;color:#44735a}@keyframes happy-bounce{50%{transform:translateY(-9px) rotate(4deg)}}@media(max-width:600px){.success-sheet{max-width:100%}.success-sheet img{width:180px}.success-sheet h2{font-size:22px}}

.welcome-art img,.hero-art img,.empty-state img{mask-image:none;-webkit-mask-image:none;mix-blend-mode:normal}
