.home-portal,.home-dialog{--ha:#496c53;--ha-soft:#496c5317;--ha-border:#496c5335;--ha-on:#fff;--home-ink:#26302b;--home-muted:#727c75;color:var(--home-ink)}
body.home-session{background:#f6f5f0}.home-session #app{max-width:none;padding:0}.home-portal{display:grid;grid-template-columns:245px minmax(0,1fr);min-height:100dvh;background:#f6f5f0;font-size:15px}.home-portal *{box-sizing:border-box}.home-sidebar{padding:32px 24px;border-right:1px solid var(--ha-border);background:#fbfbf7;position:sticky;top:0;height:100dvh;display:flex;flex-direction:column}.home-sidebar .brand{font-size:23px}.home-sidebar .logo{background:var(--ha-soft);color:var(--ha)}.home-brand-tag{font-size:9px;letter-spacing:2px;margin:20px 0 32px;color:var(--ha)}.home-sidebar nav{display:grid;gap:9px}.home-sidebar nav button{display:flex;gap:13px;align-items:center;text-align:left;border:0;background:transparent;border-radius:14px;padding:15px 16px;color:var(--home-muted);font:inherit;transition:background .25s,transform .25s}.home-sidebar nav button.active{background:var(--ha);color:var(--ha-on);box-shadow:0 7px 18px var(--ha-border)}.home-sidebar nav button:hover{transform:translateX(3px)}.home-sidebar nav button span{font-size:20px}.home-side-note{margin-top:auto;background:var(--ha-soft);border:1px solid var(--ha-border);padding:22px;border-radius:20px;font-size:24px}.home-side-note strong{display:block;font-size:14px;margin-top:10px}.home-side-note p{font-size:12px;line-height:1.7;color:var(--home-muted);margin-bottom:0}.home-main{width:100%;max-width:1320px;margin:auto;padding:26px 44px 50px;min-width:0}.home-top{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-bottom:25px;border-bottom:1px solid var(--ha-border)}.home-top strong{display:block;font-size:19px;margin:6px 0}.home-top small{color:var(--home-muted);font-size:12px}.home-kicker{color:var(--ha);font-size:10px;font-weight:700;letter-spacing:1.8px;display:block}.home-top-actions{display:flex;gap:8px;flex-shrink:0}.home-icon{display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--ha-border);border-radius:13px;background:#fff;color:var(--ha);cursor:pointer;flex-shrink:0}.home-icon svg{width:18px;height:18px}.home-icon .avatar{height:30px;width:30px;font-size:11px;background:var(--ha-soft);color:var(--ha)}.home-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:30px 0 23px}.home-heading h1{font-size:34px;letter-spacing:-1px;margin:7px 0 0}.home-month{color:var(--home-muted);font-size:11px;display:grid;gap:5px}.home-month input{width:166px;padding:9px 12px;border:1px solid var(--ha-border);border-radius:10px;background:#fff;color:var(--home-ink);font:inherit;font-size:13px}.home-hero{position:relative;overflow:hidden;background:var(--ha);color:var(--ha-on);border-radius:27px;display:grid;grid-template-columns:1.4fr 1fr;padding:38px 40px;align-items:center;min-height:310px;box-shadow:0 15px 35px var(--ha-border)}.home-hero .home-kicker{color:inherit;opacity:.8}.home-hero h2{font-size:clamp(26px,3.2vw,42px);line-height:1.15;letter-spacing:-1px;margin:19px 0}.home-hero p{font-size:14px;line-height:1.8;max-width:370px;opacity:.85}.home-btn{border:1px solid transparent;background:var(--ha);color:var(--ha-on);border-radius:12px;padding:12px 17px;font:inherit;font-size:13px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;transition:transform .2s,box-shadow .2s,background .2s;min-height:43px;text-decoration:none}.home-btn svg{width:16px;height:16px}.home-btn:hover{transform:translateY(-2px);box-shadow:0 5px 14px var(--ha-border)}.home-btn:disabled{opacity:.55;cursor:wait;transform:none}.home-btn.secondary{color:var(--ha);background:var(--ha-soft);border-color:var(--ha-border)}.home-btn.light{background:#fff;color:var(--ha)}.home-text-btn{background:none;border:0;color:var(--ha);font:inherit;font-size:12px;cursor:pointer;padding:8px 0;text-align:left}.home-house-art{position:relative;height:235px;display:grid;place-items:center;border-radius:50%;background:#ffffff12;isolation:isolate}.home-art-house{font-size:140px;filter:drop-shadow(0 18px 12px #0002);animation:homeFloat 6s ease-in-out infinite}.home-art-cat{position:absolute;right:1%;bottom:16px;font-size:57px;animation:homeFloat 5s ease-in-out infinite reverse}.home-art-plant{position:absolute;left:5%;bottom:25px;font-size:62px;animation:homeSway 5s ease-in-out infinite}.home-art-sun{position:absolute;right:15px;top:15px;width:60px;height:60px;border-radius:50%;background:#fff7;box-shadow:0 0 0 16px #ffffff0b;animation:homeFloat 8s ease-in-out infinite}.home-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:23px 0 29px}.home-summary article{border:1px solid var(--ha-border);background:#fff;padding:24px;border-radius:19px;display:grid;gap:10px}.home-summary article>span{color:var(--home-muted);font-size:12px}.home-summary strong{font-size:29px;letter-spacing:-.8px;color:var(--ha)}.home-summary small{color:var(--home-muted);font-size:11px}.home-summary .is-warning strong{color:#a44938}.home-section-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:25px 0 18px}.home-section-head h2{margin:0;font-size:21px;letter-spacing:-.4px}.home-section-head h2 small{font-size:11px;font-weight:400;color:var(--home-muted);margin-left:6px}.home-section-head .home-kicker{margin-bottom:8px}.home-section-head p{color:var(--home-muted);font-size:12px;line-height:1.7;max-width:550px}.home-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:26px}.home-category{background:#fff;border:1px solid var(--ha-border);border-radius:21px;padding:21px;display:flex;flex-direction:column;min-width:0;transition:transform .25s,box-shadow .25s}.home-category:hover{transform:translateY(-4px);box-shadow:0 12px 25px var(--ha-soft)}.home-category-top{display:flex;justify-content:space-between;align-items:center}.home-category-emoji{font-size:32px;padding:7px;background:var(--ha-soft);border-radius:14px}.home-category-top .home-icon{border:0;background:transparent;width:30px}.home-category h3{font-size:18px;margin:16px 0 7px}.home-category p{font-size:12px;line-height:1.6;color:var(--home-muted);min-height:40px;margin:0 0 16px}.home-category>strong{font-size:25px;color:var(--ha);margin-top:auto}.home-category>small{font-size:10px;color:var(--home-muted);line-height:1.6;margin:7px 0 15px}.home-category-actions{display:grid;gap:2px}.home-category-actions .home-text-btn{text-align:center;font-size:11px}.home-card{border:1px solid var(--ha-border);background:#fff;border-radius:22px;padding:25px;margin-bottom:22px;min-width:0}.home-card>.home-section-head:first-child{margin-top:0}.home-card h2{font-size:20px;margin:0 0 12px}.home-card p{color:var(--home-muted);line-height:1.8;font-size:13px}.home-limit{display:grid;grid-template-columns:1fr auto;gap:9px;margin-top:20px;padding-top:19px;border-top:1px solid var(--ha-border)}.home-limit>div:first-child{display:grid;gap:5px}.home-limit span,.home-limit small{font-size:11px;color:var(--home-muted)}.home-limit b{font-size:13px}.home-limit .home-text-btn{text-align:right}.home-meter{grid-column:1/-1;background:var(--ha-soft);height:7px;border-radius:8px;overflow:hidden}.home-meter>span{height:100%;background:var(--ha);display:block;border-radius:8px;transition:width .5s}.home-meter.over>span{background:#b56a45}.home-empty{color:var(--home-muted);text-align:center;padding:27px 15px;line-height:1.8;font-size:13px;grid-column:1/-1}.home-empty>span{font-size:34px}.home-empty h3{color:var(--home-ink);font-size:17px}.home-expense-list article{display:flex;gap:13px;align-items:center;padding:17px 0;border-top:1px solid var(--ha-border);min-width:0}.home-expense-list article:first-child{border-top:0}.home-list-emoji{font-size:23px;background:var(--ha-soft);border-radius:12px;padding:10px}.home-expense-list article>div{flex:1;min-width:0}.home-expense-list strong,.home-expense-list small{display:block;overflow-wrap:anywhere}.home-expense-list strong{font-size:14px}.home-expense-list small{font-size:10px;color:var(--home-muted);line-height:1.7;margin-top:3px}.home-expense-list b{font-size:14px;white-space:nowrap;color:var(--ha)}.home-expense-list .home-icon{width:32px;height:32px}.home-filter{display:grid;gap:8px;font-size:12px;max-width:320px;margin-bottom:12px}.home-filter select{padding:11px;background:var(--ha-soft);color:var(--home-ink);border:1px solid var(--ha-border);border-radius:10px}.home-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.home-chart{margin-top:23px}.home-chart-row{display:grid;grid-template-columns:minmax(75px,1fr) 2fr auto;gap:13px;align-items:center;margin:18px 0;font-size:12px}.home-chart-row>span{overflow-wrap:anywhere}.home-chart-row>div{background:var(--ha-soft);height:12px;border-radius:8px;overflow:hidden}.home-chart-row>div>span{display:block;background:var(--ha);height:100%;border-radius:8px;animation:homeBar .7s ease-out}.home-chart-row b{font-size:12px;color:var(--ha)}.home-restaurant{display:flex;gap:13px;align-items:center;padding:15px 0;border-bottom:1px solid var(--ha-border);font-size:12px}.home-restaurant strong{flex:1;overflow-wrap:anywhere}.home-restaurant span{font-size:10px;color:var(--home-muted)}.home-restaurant b{color:var(--ha)}.home-pet-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:23px}.home-pet{padding:20px;border-radius:17px;background:var(--ha-soft);border:1px solid var(--ha-border);min-width:0}.home-pet>span{font-size:30px}.home-pet h3{margin:12px 0}.home-pet strong{font-size:15px;color:var(--ha)}.home-pet small{display:block;font-size:11px;color:var(--home-muted);line-height:1.7}.home-pet details{margin:17px 0;font-size:12px}.home-pet summary{cursor:pointer;color:var(--ha)}.home-pet details p{font-size:11px}.home-pet .home-btn{font-size:12px;background:#fff}.home-pantry-banner{display:flex;justify-content:space-between;align-items:center;background:var(--ha-soft);border:1px solid var(--ha-border);padding:32px;border-radius:23px;overflow:hidden}.home-pantry-banner h2{font-size:30px;line-height:1.2;letter-spacing:-.7px;margin:14px 0}.home-pantry-banner p{max-width:430px;font-size:13px;line-height:1.8;color:var(--home-muted)}.home-pantry-banner>span{font-size:120px;animation:homeSway 7s ease-in-out infinite}.home-pantry-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.home-pantry-item{padding:23px;background:#fff;border:1px solid var(--ha-border);border-radius:20px;display:flex;flex-direction:column;gap:9px;transition:transform .25s,box-shadow .25s;min-width:0}.home-pantry-item:hover{transform:translateY(-4px);box-shadow:0 9px 20px var(--ha-soft)}.home-pantry-item>div{display:flex;justify-content:space-between;align-items:center}.home-pantry-item>div>span{font-size:40px;background:var(--ha-soft);padding:8px;border-radius:15px}.home-pantry-item h3{font-size:18px;margin:10px 0 0}.home-pantry-item>strong{color:var(--ha);font-size:20px}.home-pantry-item small{font-size:11px;color:var(--home-muted)}.home-pantry-item p{font-size:12px;line-height:1.7;color:var(--home-muted);overflow-wrap:anywhere}.home-expiry{font-size:10px;padding:7px 9px;border-radius:8px;background:var(--ha-soft);color:var(--ha)}.home-pantry-item.soon .home-expiry,.home-pantry-item.expired .home-expiry{background:#faeee0;color:#8b5530}.home-pantry-item .home-btn{margin-top:auto;font-size:11px}.home-footnote{color:var(--home-muted);font-size:11px;line-height:1.8;margin-top:22px}.home-ai-hero{display:flex;gap:25px;align-items:center;padding:30px;background:var(--ha-soft);border:1px solid var(--ha-border);border-radius:22px}.home-ai-hero>span{font-size:55px;animation:homeFloat 5s ease-in-out infinite}.home-ai-hero h2{font-size:25px;margin:12px 0}.home-ai-hero p{font-size:13px;color:var(--home-muted);line-height:1.8}.home-ai-actions{display:flex;gap:12px;margin:22px 0;flex-wrap:wrap}.home-ai-report ul{font-size:13px;line-height:1.9;padding-left:20px;color:var(--home-muted)}.home-ai-report .home-section-head small{font-size:10px;color:var(--home-muted)}.home-suggestion{border:1px solid var(--ha-border);border-radius:15px;background:var(--ha-soft);padding:18px;margin-top:15px}.home-suggestion small{font-size:11px;color:var(--home-muted)}.home-suggestion h3{font-size:17px;margin:10px 0}.home-ai-wait{display:flex;gap:17px;align-items:center}.home-ai-wait>span{width:25px;height:25px;border-radius:50%;border:3px solid var(--ha-border);border-top-color:var(--ha);animation:homeSpin 1s linear infinite;flex-shrink:0}.home-loading{padding:40px;text-align:center;color:var(--ha)}.home-bottom{display:none}.home-dialog{border:1px solid var(--ha-border);background:#fbfbf7;max-width:560px;border-radius:24px}.home-dialog h2{color:var(--ha)}.home-dialog .home-form label{font-size:12px;color:var(--home-ink)}.home-dialog input,.home-dialog select,.home-dialog textarea{border:1px solid var(--ha-border);background:#fff;border-radius:11px;color:var(--home-ink);font:inherit;padding:12px;min-width:0;accent-color:var(--ha)}.home-dialog input:focus,.home-dialog select:focus,.home-dialog textarea:focus{outline:2px solid var(--ha-border);border-color:var(--ha)}.home-dialog p{font-size:12px;line-height:1.8;color:var(--home-muted)}.home-dialog .home-form-two{display:grid;grid-template-columns:1fr 1fr;gap:13px}.home-dialog .home-check{display:flex;gap:10px;align-items:center;line-height:1.7}.home-dialog .home-check input{width:17px;height:17px;flex-shrink:0}.home-dialog input[type=color]{height:65px;width:100%;padding:5px}.home-dialog .form-error{color:#a44938}.home-swatches{display:flex;gap:12px;flex-wrap:wrap}.home-swatches button{width:36px;height:36px;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 1px #ddd;cursor:pointer}.home-portal button:focus-visible,.home-dialog button:focus-visible{outline:3px solid var(--ha-border);outline-offset:3px}#home-page{animation:homeEnter .35s ease-out}.home-portal h2,.home-portal h3{overflow-wrap:anywhere}
@keyframes homeFloat{50%{transform:translateY(-9px)}}@keyframes homeSway{50%{transform:rotate(5deg)}}@keyframes homeBar{from{transform:scaleX(0);transform-origin:left}to{transform:scaleX(1);transform-origin:left}}@keyframes homeEnter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes homeSpin{to{transform:rotate(360deg)}}
@media(max-width:1150px){.home-portal{grid-template-columns:205px minmax(0,1fr)}.home-sidebar{padding:25px 17px}.home-main{padding:24px}.home-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-pet-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-pantry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-summary article{padding:18px}.home-summary strong{font-size:25px}.home-hero{padding:30px}.home-two{grid-template-columns:1fr}}
@media(max-width:760px){.home-portal{display:block}.home-sidebar{display:none}.home-main{padding:18px 17px 105px}.home-top{gap:8px;padding-bottom:19px}.home-top strong{font-size:17px}.home-top small{font-size:10px;display:block;max-width:190px;line-height:1.7}.home-top .home-kicker{font-size:8px;letter-spacing:1.2px}.home-top-actions{gap:5px}.home-top-actions .home-icon{width:34px;height:34px;border-radius:11px}.home-heading{padding:25px 0 20px;gap:10px}.home-heading h1{font-size:29px}.home-heading .home-kicker{font-size:8px;letter-spacing:1px}.home-month input{width:130px;font-size:12px;padding:8px}.home-hero{padding:27px 24px;grid-template-columns:1fr;min-height:0;border-radius:23px}.home-hero h2{font-size:32px}.home-hero p{max-width:280px;position:relative;z-index:1}.home-house-art{height:150px;width:190px;margin:-9px 0 -20px auto}.home-art-house{font-size:100px}.home-art-cat{font-size:42px}.home-art-plant{font-size:45px}.home-art-sun{width:42px;height:42px}.home-summary{gap:9px;margin:17px 0 23px}.home-summary article{padding:16px 12px;border-radius:15px;gap:10px}.home-summary article>span{font-size:10px;line-height:1.6;min-height:32px}.home-summary strong{font-size:21px;overflow-wrap:anywhere}.home-summary small{font-size:9px;line-height:1.7}.home-section-head{gap:12px;flex-wrap:wrap}.home-section-head h2{font-size:19px}.home-section-head .home-btn{font-size:11px;padding:10px 12px}.home-category-grid{gap:11px}.home-category{padding:17px 14px;border-radius:17px}.home-category-emoji{font-size:26px}.home-category h3{font-size:16px}.home-category p{font-size:11px;min-height:52px}.home-category>strong{font-size:23px}.home-category .home-btn{font-size:11px;padding:10px 8px}.home-card{padding:21px 17px;border-radius:19px}.home-limit{grid-template-columns:1fr;gap:8px}.home-limit .home-text-btn{text-align:left}.home-expense-list article{gap:8px;flex-wrap:wrap}.home-list-emoji{font-size:20px;padding:7px}.home-expense-list b{font-size:12px}.home-expense-list strong{font-size:12px}.home-expense-list article>div{min-width:130px}.home-expense-list article>.home-icon{width:27px;height:27px;border:0}.home-chart-row{grid-template-columns:75px 1fr auto;gap:10px;font-size:10px}.home-chart-row b{font-size:11px}.home-pet-grid{grid-template-columns:1fr}.home-pantry-banner{padding:24px;position:relative}.home-pantry-banner h2{font-size:25px;position:relative;z-index:1}.home-pantry-banner p{font-size:12px;position:relative;z-index:1}.home-pantry-banner>span{font-size:90px;position:absolute;right:-14px;top:30px;opacity:.2}.home-pantry-grid{gap:11px}.home-pantry-item{padding:15px 13px;gap:9px}.home-pantry-item>div>span{font-size:30px;padding:6px}.home-pantry-item .home-icon{width:28px;height:28px;border:0}.home-pantry-item h3{font-size:16px}.home-pantry-item .home-btn{padding:9px 5px;font-size:10px;line-height:1.6}.home-expiry{font-size:9px}.home-ai-hero{padding:23px 18px;gap:13px}.home-ai-hero>span{font-size:35px}.home-ai-hero h2{font-size:22px}.home-ai-hero .home-kicker{font-size:8px;letter-spacing:1px}.home-ai-actions{display:grid;gap:10px}.home-ai-report .home-section-head{align-items:flex-start}.home-bottom{display:flex;justify-content:space-around;position:fixed;bottom:0;left:0;right:0;background:#fbfbf7f5;backdrop-filter:blur(16px);border-top:1px solid var(--ha-border);padding:10px 5px max(10px,env(safe-area-inset-bottom));z-index:25}.home-bottom button{display:grid;place-items:center;gap:5px;border:0;border-radius:13px;padding:8px 4px;background:transparent;color:var(--home-muted);min-width:55px;cursor:pointer}.home-bottom button>span{font-size:22px}.home-bottom small{font-size:9px}.home-bottom button.active{color:var(--ha);background:var(--ha-soft)}.home-dialog{max-width:calc(100vw - 24px);padding:23px 18px}.home-dialog .home-form-two{gap:10px}.home-dialog .home-form input,.home-dialog .home-form select,.home-dialog .home-form textarea{font-size:16px}.home-dialog .home-form-two label{min-width:0}}
@media(max-width:360px){.home-main{padding-left:12px;padding-right:12px}.home-top-actions{gap:3px}.home-top-actions .home-icon{width:29px;height:32px}.home-top small{max-width:160px}.home-month input{width:115px}.home-heading h1{font-size:25px}.home-summary strong{font-size:18px}.home-summary article{padding:13px 9px}.home-category-grid,.home-pantry-grid{grid-template-columns:1fr}.home-category p{min-height:0}.home-bottom button{min-width:50px}.home-dialog .home-form-two{grid-template-columns:1fr}}
.home-portal{background:color-mix(in srgb,var(--ha) 5%,#f6f5f0)}.home-sidebar,.home-dialog{background:color-mix(in srgb,var(--ha) 3%,#fbfbf7)}.home-consumption article{background:var(--ha-soft);border:1px solid var(--ha-border);padding:17px;border-radius:16px;margin-top:20px}.home-consumption h3{font-size:16px;margin:0}.home-consumption b{color:var(--ha)}.home-dialog .button.primary{background:var(--ha);color:var(--ha-on)}.home-checks{border:1px solid var(--ha-border);border-radius:13px;padding:15px;display:grid;gap:10px}.home-checks legend{font-size:12px;color:var(--ha)}
.home-category{cursor:pointer}.home-category-open{display:flex;flex-direction:column;flex:1;color:var(--home-ink);text-decoration:none;border-radius:12px;margin:0 -3px;padding:0 3px}.home-category-open p{margin-bottom:15px}.home-category-open>strong{color:var(--ha);font-size:25px;margin-top:auto}.home-category-open>small{font-size:10px;color:var(--home-muted);line-height:1.6;margin-top:7px}.home-category-cta{display:flex;align-items:center;gap:5px;font-size:11px;color:var(--ha);margin:12px 0 16px}.home-category-cta svg{width:13px;height:13px;transition:transform .2s}.home-category:hover .home-category-cta svg{transform:translateX(3px)}.home-category-open:focus-visible{outline:3px solid var(--ha-border);outline-offset:4px}.home-period{display:flex;gap:12px;align-items:flex-end}.home-month select{width:190px;padding:9px 12px;border:1px solid var(--ha-border);border-radius:10px;background:#fff;color:var(--home-ink);font:inherit;font-size:12px;min-height:37px}.home-category-breakdown{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:30px;border-radius:23px;border:1px solid var(--ha-border);background:var(--ha-soft)}.home-category-breakdown h2{font-size:28px;margin:13px 0 8px}.home-category-breakdown p{color:var(--home-muted);font-size:13px;line-height:1.7;margin:0}.home-breakdown-total{display:grid;gap:9px;flex-shrink:0}.home-breakdown-total small,.home-breakdown-total span{font-size:11px;color:var(--home-muted)}.home-breakdown-total strong{color:var(--ha);font-size:36px}.home-breakdown-nav{display:flex;justify-content:space-between;gap:16px;margin:13px 0 20px;flex-wrap:wrap}.home-expense-total{display:flex;justify-content:space-between;gap:20px;padding:20px 0 0;border-top:1px solid var(--ha-border);font-size:13px;color:var(--home-muted)}.home-expense-total strong{font-size:19px;color:var(--ha)}
@media(max-width:760px){.home-heading{flex-wrap:wrap;align-items:flex-start}.home-period{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.home-month select,.home-month input{width:100%}.home-category-breakdown{padding:23px;flex-direction:column;align-items:stretch;gap:20px}.home-breakdown-total{border-top:1px solid var(--ha-border);padding-top:18px}.home-breakdown-total strong{font-size:32px}.home-category-open>strong{font-size:23px}.home-expense-total{font-size:11px}.home-expense-total strong{font-size:16px}}
.home-top-actions .home-icon{padding:0;line-height:1}.home-top-actions .home-icon .avatar{display:grid;place-items:center;width:28px;height:28px;margin:0;padding:0;line-height:1;text-align:center;letter-spacing:0;border-radius:50%}.home-top-actions #home-profile{display:flex;align-items:center;justify-content:center}
.home-dialog [hidden],.home-portal [hidden]{display:none!important}
@media(prefers-reduced-motion:reduce){.home-portal *,.home-dialog *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.home-house-art:has(.home-custom-art){height:auto;width:100%;max-width:420px;margin:auto;animation:none;background:none}.home-house-art:has(.home-custom-art)::before,.home-house-art:has(.home-custom-art)::after{display:none}.home-custom-art{display:block;width:100%;height:auto;overflow:visible}.home-cat-tail{transform-box:fill-box;transform-origin:85% 85%;animation:home-tail-sway 5s ease-in-out infinite}.home-cat-small .home-cat-tail{animation-delay:-2s;transform-origin:0% 85%}.home-cat-eyes{transform-box:fill-box;transform-origin:center;animation:home-cat-blink 7s infinite}.home-cat-small .home-cat-eyes{animation-delay:-3s}@keyframes home-tail-sway{0%,100%{transform:rotate(-5deg)}50%{transform:rotate(7deg)}}@keyframes home-cat-blink{0%,44%,48%,100%{transform:scaleY(1)}46%{transform:scaleY(.12)}}.home-recurring-list{margin-bottom:24px;padding-bottom:16px;border-bottom:1px solid var(--ha-border)}.home-recurring-list p{font-size:12px;line-height:1.7;color:var(--home-muted)}@media(max-width:640px){.home-house-art:has(.home-custom-art){width:240px;margin:4px 0 -12px auto}}@media(prefers-reduced-motion:reduce){.home-custom-art:not(.home-art-play) *{animation:none!important}}

/* A single 24 s timeline keeps paw contact, yarn movement and return in sync. */
.home-cat-big .home-cat-tail{transform-origin:15px 5px;transform-box:view-box;animation:home-grown-tail 6s ease-in-out infinite}.home-cat-breathe{animation:home-cat-breathe 6s ease-in-out infinite;transform-origin:0 12px}.home-kitten-trip{animation:home-kitten-trip 24s infinite;transform-box:view-box}.home-kitten-bob{animation:home-kitten-bob 24s infinite;transform-origin:0 9px}.home-kitten-paw{animation:home-kitten-paw 24s infinite;transform-origin:-7px -7px}.home-kitten-head{animation:home-kitten-look 24s infinite;transform-origin:0 -15px}.home-kitten-tail{animation:home-kitten-tail 24s infinite;transform-origin:13px 4px}.home-yarn-travel{animation:home-yarn-travel 24s infinite}.home-yarn-spin{animation:home-yarn-spin 24s infinite;transform-origin:0 -2px}.home-custom-art .home-cat-eyes{transform-box:fill-box;transform-origin:center;animation:home-cat-blink 8s infinite}.home-kitten-head .home-cat-eyes{animation-delay:-3s}
@keyframes home-grown-tail{0%,100%{transform:rotate(-4deg)}50%{transform:rotate(9deg)}}
@keyframes home-cat-breathe{0%,100%{transform:scaleY(1)}50%{transform:scaleY(1.025)}}
@keyframes home-kitten-trip{0%,30%{transform:translateX(0);animation-timing-function:ease-in-out}38%,46%{transform:translateX(-20px)}52%,60%{transform:translateX(-30px)}66%,71%{transform:translateX(-15px);animation-timing-function:ease-in-out}80%,100%{transform:translateX(0)}}
@keyframes home-kitten-bob{0%,30%,38%,46%,52%,60%,66%,71%,80%,100%{transform:translateY(0)}32%,36%,48%,50%,62%,64%,73%,77%{transform:translateY(-2px)}34%,49%,63%,75%{transform:translateY(0)}}
@keyframes home-kitten-look{0%,30%,80%,100%{transform:rotate(0)}38%,60%{transform:rotate(-9deg)}66%,71%{transform:rotate(5deg)}}
@keyframes home-kitten-paw{0%,38%,46%,52%,60%,66%,80%,100%{transform:rotate(0)}40%{transform:rotate(-20deg)}42%{transform:rotate(75deg)}44%{transform:rotate(45deg)}54%{transform:rotate(-20deg)}56%{transform:rotate(75deg)}58%{transform:rotate(45deg)}68%{transform:rotate(-20deg)}70%{transform:rotate(75deg)}72%{transform:rotate(45deg)}}
@keyframes home-kitten-tail{0%,30%,80%,100%{transform:rotate(0)}38%,52%,66%{transform:rotate(-14deg)}45%,59%,73%{transform:rotate(12deg)}}
@keyframes home-yarn-travel{0%,42%{transform:translateX(0)}46%,56%{transform:translateX(-10px)}60%{transform:translateX(-18px)}66%,70%{transform:translateX(5px)}76%,100%{transform:translateX(0)}}
@keyframes home-yarn-spin{0%,42%{transform:rotate(0)}46%,56%{transform:rotate(-72deg)}60%{transform:rotate(-128deg)}66%,70%{transform:rotate(36deg)}76%,100%{transform:rotate(0)}}
@media(prefers-reduced-motion:reduce){.home-custom-art:not(.home-art-play) *{animation:none!important}}

.home-art-motion{display:none}.home-house-art{position:relative}@media(prefers-reduced-motion:reduce){.home-art-motion{display:block;margin:0 auto;border:1px solid #ffffff40;border-radius:20px;padding:6px 12px;background:transparent;color:inherit;font:inherit;font-size:11px;cursor:pointer}}
.home-art-play .home-kitten-trip{animation:home-kitten-trip 24s infinite!important}.home-art-play .home-kitten-bob{animation:home-kitten-bob 24s infinite!important}.home-art-play .home-kitten-paw{animation:home-kitten-paw 24s infinite!important}.home-art-play .home-kitten-head{animation:home-kitten-look 24s infinite!important}.home-art-play .home-kitten-tail{animation:home-kitten-tail 24s infinite!important}.home-art-play .home-yarn-travel{animation:home-yarn-travel 24s infinite!important}.home-art-play .home-yarn-spin{animation:home-yarn-spin 24s infinite!important}.home-art-play .home-cat-breathe{animation:home-cat-breathe 6s ease-in-out infinite!important}.home-art-play .home-cat-big .home-cat-tail{animation:home-grown-tail 6s ease-in-out infinite!important}.home-art-play .home-cat-eyes{animation:home-cat-blink 8s infinite!important}
/* The user explicitly requested these small idle gestures to remain visible. */
.home-portal .home-custom-art .home-cat-big .home-cat-tail{animation:home-grown-tail 6s ease-in-out infinite!important}
.home-portal .home-custom-art .home-kitten-tail{animation:home-kitten-idle-tail 4.8s ease-in-out infinite!important;animation-delay:-1.6s!important}
.home-portal .home-custom-art .home-cat-eyes{animation:home-cat-blink 8s infinite!important}
.home-portal .home-custom-art .home-kitten-head .home-cat-eyes{animation-delay:-3s!important}
@keyframes home-kitten-idle-tail{0%,100%{transform:rotate(-8deg)}50%{transform:rotate(12deg)}}

.home-recipes-banner{display:flex;align-items:center;justify-content:space-between;gap:24px;background:linear-gradient(120deg,var(--ha-soft),#fff)}.home-recipes-banner h2{font-size:30px;letter-spacing:-.7px}.home-recipes-banner p{max-width:570px;line-height:1.8;color:var(--home-muted)}.home-recipe-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}.home-recipe-card{margin:0;min-width:0}.home-recipe-card h2{overflow-wrap:anywhere}.home-recipe-ingredients{list-style:none;margin:16px 0;padding:0}.home-recipe-ingredients li{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid var(--ha-border);padding:10px 0;font-size:13px}.home-recipe-ingredients b{white-space:nowrap;color:var(--ha)}.home-recipe-notes,.home-recipe-text{white-space:pre-wrap;line-height:1.8;font-size:13px}.home-recipe-ai-action{display:grid;gap:10px;margin:20px 0}.home-recipe-ai-action small,.home-recipe-result small{color:var(--home-muted);font-size:11px;line-height:1.7}.home-recipe-card details summary{cursor:pointer;font-weight:600;color:var(--ha);padding:12px 0}.home-recipe-result{background:var(--ha-soft);padding:8px 17px 18px;border:1px solid var(--ha-border);border-radius:16px}.home-recipe-result p,.home-recipe-result li{font-size:13px;line-height:1.9;overflow-wrap:anywhere}.home-recipe-result li{padding-left:5px;margin-bottom:12px}.home-recipe-result ol,.home-recipe-result ul{padding-left:22px}.home-recipe-result h3{font-size:15px;margin-top:22px}.home-recipe-progress,.home-recipe-error{font-size:13px;line-height:1.7}.home-recipe-dialog{width:720px}.home-recipe-fieldset{border:1px solid var(--ha-border);border-radius:15px;padding:16px;min-width:0}.home-recipe-fieldset legend{font-size:13px;padding:0 8px;color:var(--ha)}.home-recipe-ingredient-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr) 32px;gap:9px;align-items:end;margin-bottom:14px}.home-recipe-ingredient-row label{min-width:0}.home-recipe-ingredient-row .home-icon{width:32px;margin-bottom:4px}.home-recipe-ingredient-row input,.home-recipe-ingredient-row select{width:100%;min-width:0}@media(max-width:900px){.home-recipe-grid{grid-template-columns:1fr}}@media(max-width:640px){.home-recipes-banner{display:block}.home-recipes-banner h2{font-size:25px}.home-recipe-ingredient-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 32px}.home-recipe-ingredient-row label:first-child{grid-column:1/4}.home-recipe-fieldset{padding:12px}.home-bottom button{min-width:0;flex:1}.home-bottom small{font-size:8px}.home-bottom button>span{font-size:20px}}

.home-main{padding-top:30px}.home-sidebar nav button{border-radius:15px}.home-card,.home-category{box-shadow:0 4px 18px #233f3210;border-color:var(--ha-border)}.home-card{transition:box-shadow .25s}.home-category{transition:transform .25s,box-shadow .25s}.home-category:hover{transform:translateY(-3px);box-shadow:0 9px 24px #233f3216}.home-section-head h2{letter-spacing:-.4px}.home-heading{padding-bottom:26px}.home-summary article{border:1px solid var(--ha-border)}.home-summary small{line-height:1.6}.home-recipe-search{display:grid;gap:8px;max-width:500px;margin:0 0 22px;font-size:12px;color:var(--home-muted)}.home-recipe-search input{padding:13px 16px;border:1px solid var(--ha-border);border-radius:13px;background:#fff;color:var(--home-ink);font:inherit;font-size:14px}.home-recipe-search input:focus{outline:2px solid var(--ha-border);outline-offset:2px}.home-recipes-banner .home-btn{flex-shrink:0}.home-recipe-grid>.home-empty{grid-column:1/-1}@media(max-width:640px){.home-main{padding-top:18px}.home-top{gap:10px}.home-top strong{font-size:18px}.home-recipe-search input{font-size:16px}.home-recipe-card .home-section-head{flex-wrap:nowrap;align-items:flex-start}.home-recipe-card .home-kicker{font-size:8px;letter-spacing:1px}.home-recipe-card h2{font-size:21px}.home-recipe-result{padding-left:12px;padding-right:12px}}@media(prefers-reduced-motion:reduce){.home-category:hover{transform:none}}
.home-recipe-card:only-child{grid-column:1/-1}.home-recipe-result p,.home-recipe-result li{max-width:78ch}

.home-recipe-ingredient-row{grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1.2fr) 32px}.home-kcal-help{font-size:11px;line-height:1.7;color:var(--home-muted);margin:3px 0 16px}.home-ingredient-kcal{display:block;font-size:11px;font-weight:400;color:var(--home-muted);margin-top:3px;text-align:right}@media(max-width:640px){.home-recipe-ingredient-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 32px}.home-recipe-ingredient-row .home-recipe-kcal{grid-column:1/3}}

.home-kcal-panel{border:1px solid var(--ha-border);border-radius:14px;padding:10px 15px;background:var(--ha-soft);margin:16px 0}.home-kcal-panel summary{cursor:pointer;color:var(--ha);font-weight:600;padding:5px 0;font-size:13px}.home-kcal-panel p{font-size:12px;line-height:1.7;color:var(--home-muted)}.home-kcal-panel .home-check{align-items:flex-start;font-size:12px;line-height:1.6}.home-kcal-estimates h3{font-size:15px}.home-kcal-estimate{display:flex;gap:10px;padding:12px 0;border-top:1px solid var(--ha-border);font-size:12px;line-height:1.7}.home-kcal-estimate input{margin-top:5px;flex-shrink:0}.home-kcal-estimate small{display:block;color:var(--home-muted)}.home-kcal-estimate strong{display:block;color:var(--ha)}

.home-kcal-total{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 16px;background:var(--ha-soft);border:1px solid var(--ha-border);border-radius:13px;margin:10px 0 18px}.home-kcal-total strong{font-size:13px}.home-kcal-total small{display:block;color:var(--home-muted);font-size:11px;line-height:1.6;margin-top:4px}.home-kcal-total b{color:var(--ha);font-size:18px;white-space:nowrap}@media(max-width:640px){.home-kcal-total{align-items:flex-start;flex-wrap:wrap}.home-kcal-total b{font-size:17px}}

.home-recipe-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:start}.home-recipe-tile{display:flex;align-items:center;gap:12px;min-height:88px;padding:15px;border:1px solid var(--ha-border);border-radius:18px;background:#fff;box-shadow:0 4px 16px #233f3209;color:var(--home-ink);font:inherit;font-weight:600;text-align:left;cursor:pointer;transition:transform .2s,box-shadow .2s}.home-recipe-tile:hover{transform:translateY(-3px);box-shadow:0 8px 22px #233f3214}.home-recipe-tile:focus-visible{outline:2px solid var(--ha);outline-offset:3px}.home-recipe-tile img{width:60px;height:60px;object-fit:cover;border-radius:12px;flex-shrink:0}.home-recipe-tile span{flex:1;min-width:0;overflow-wrap:anywhere}.home-recipe-tile>.icon{width:15px;height:15px;flex-shrink:0;color:var(--ha)}.home-recipe-cover{width:180px;height:180px;object-fit:cover;border-radius:20px;float:right;margin:0 0 20px 24px}.home-recipe-detail .home-section-head{display:block}.home-recipe-detail .home-section-head .home-btn{margin-top:12px}.home-recipe-detail .home-recipe-ingredients{clear:both}.home-recipe-photo-editor{padding:16px;border:1px solid var(--ha-border);border-radius:15px;display:grid;gap:12px;background:var(--ha-soft)}.home-recipe-photo-editor img{height:100px;width:100px;object-fit:cover;border-radius:12px}.home-recipe-photo-editor small{color:var(--home-muted);font-size:11px;line-height:1.6}@media(max-width:1000px){.home-recipe-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.home-recipe-tiles{gap:10px}.home-recipe-tile{padding:12px;min-height:90px;gap:8px;flex-wrap:wrap;font-size:13px}.home-recipe-tile img{width:42px;height:42px}.home-recipe-tile>.icon{display:none}.home-recipe-cover{width:90px;height:90px;margin-left:12px;border-radius:14px}}@media(prefers-reduced-motion:reduce){.home-recipe-tile:hover{transform:none}}

/* Mobile household layout: the same personal accent, with thumb-friendly controls. */
.home-quick-expense{display:none}.home-more-actions{display:grid;gap:14px}.home-expense-day{margin:22px 0}.home-expense-day>header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--ha-border)}.home-expense-day h3{font-size:13px;text-transform:capitalize}.home-expense-day>header b{font-size:13px;color:var(--ha)}.home-pantry-filters{display:grid;grid-template-columns:2fr 1fr;gap:14px;margin:20px 0}.home-pantry-filters label{display:grid;gap:8px;font-size:12px;color:var(--home-muted)}.home-pantry-filters input,.home-pantry-filters select{width:100%;min-width:0;padding:13px;border:1px solid var(--ha-border);border-radius:13px;background:white;color:var(--home-ink)}
@media(max-width:760px){
.home-main{padding:18px 16px calc(160px + env(safe-area-inset-bottom))!important;min-width:0}.home-sidebar{display:none!important}.home-portal{display:block!important}.home-top{align-items:center;padding-bottom:18px}.home-top small{max-width:210px;font-size:10px;line-height:1.5}.home-top-actions{gap:4px}.home-top-actions .home-icon{width:40px;height:44px}.home-top .home-kicker{font-size:8px;letter-spacing:1px}.home-heading{gap:14px;flex-wrap:wrap;padding-bottom:18px}.home-heading h1{font-size:28px}.home-period{width:100%;display:flex;gap:10px}.home-month{flex:1;min-width:0}.home-month input,.home-month select{width:100%;min-height:44px;font-size:14px}.home-hero{padding:22px!important;display:grid!important;grid-template-columns:1.3fr 1fr!important;gap:8px!important;min-height:0!important}.home-hero h2{font-size:23px!important;line-height:1.2}.home-hero p{display:none}.home-hero .home-btn{font-size:11px;padding:10px;margin-top:14px;min-height:44px}.home-house-art{width:100%!important;min-width:0}.home-custom-art{width:100%!important;height:auto!important}.home-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin:14px 0 24px!important}.home-summary article{padding:16px!important;min-width:0}.home-summary article:last-child{grid-column:1/-1}.home-summary strong{font-size:25px!important}.home-summary span{font-size:11px}.home-summary small{font-size:10px}.home-summary .home-meter{margin-top:10px}.home-section-head{gap:12px;flex-wrap:wrap;margin-top:20px}.home-section-head h2{font-size:19px}.home-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.home-category{padding:16px!important;border-radius:19px;min-width:0}.home-category h3{font-size:15px}.home-category-open p{display:none}.home-category-open strong{font-size:22px;margin-top:14px}.home-category-open small{font-size:10px;line-height:1.5}.home-category-actions .home-btn{width:100%;padding:10px 4px;font-size:11px;min-height:44px}.home-category-emoji{font-size:25px}.home-card{padding:18px!important;border-radius:20px}.home-limit{min-width:0}.home-limit b{font-size:14px;white-space:normal}.home-expense-list article{gap:10px;flex-wrap:wrap}.home-expense-list article>div{flex:1;min-width:120px}.home-expense-list strong{overflow-wrap:anywhere}.home-expense-list small{line-height:1.6}.home-expense-list button{min-width:44px;min-height:44px}.home-bottom{position:fixed!important;bottom:0;left:0;right:0;display:flex!important;padding:8px 8px calc(8px + env(safe-area-inset-bottom))!important;background:#fffffff5;border-top:1px solid var(--ha-border);z-index:50;box-shadow:0 -6px 24px #233f3209;backdrop-filter:blur(12px)}.home-bottom button{flex:1;min-height:52px;border-radius:14px;min-width:0}.home-bottom small{font-size:10px!important}.home-bottom button.active{background:var(--ha-soft);color:var(--ha)}.home-quick-expense:not([hidden]){display:flex;align-items:center;gap:7px;position:fixed;right:18px;bottom:calc(86px + env(safe-area-inset-bottom));z-index:45;min-height:48px;padding:12px 18px;border-radius:24px;background:var(--ha);color:var(--ha-on);box-shadow:0 6px 22px #233f3233;font:inherit;font-weight:600;font-size:13px}.home-dialog{width:calc(100vw - 20px)!important;max-height:calc(100dvh - 32px);border-radius:22px!important;padding:20px!important}.home-dialog input,.home-dialog textarea,.home-dialog select{font-size:16px!important;min-height:44px}.home-dialog .home-form-two{gap:12px}.home-pantry-filters{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:10px}.home-pantry-filters input,.home-pantry-filters select{font-size:16px;min-height:46px}.home-pantry-banner{padding:20px!important}.home-pantry-banner h2{font-size:25px}.home-pantry-banner p{font-size:12px}.home-pantry-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}.home-pantry-item{padding:14px!important;min-width:0}.home-pantry-item h3{font-size:15px;overflow-wrap:anywhere}.home-pantry-item .home-btn{font-size:11px;padding:10px 5px;min-height:44px}.home-recipes-banner{padding:20px!important}.home-recipes-banner p{font-size:12px;line-height:1.6}.home-recipe-search{position:sticky;top:8px;z-index:4;background:var(--home-bg,#f5f7f1);padding:8px 0}.home-recipe-tile{min-height:100px}.home-filter select{min-height:46px;font-size:16px;width:100%}
#home-page>.home-card,#home-page>.home-summary,#home-page>.home-category-grid{animation:home-mobile-enter .24s ease-out both}
}
@keyframes home-mobile-enter{from{opacity:.5;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){#home-page>*{animation:none!important}.home-category,.home-recipe-tile{transition:none}}
