/* V7 — official cream / emerald / gold mockup, responsive, no external assets. */
:root{--green:#07513d;--gold:#bd872d;--cream:#f8f2e7;--white:#fffaf2;--line:#e6dccb;--ink:#172b24;--muted:#6b756a;--pale:#e1e9d7}body{background:radial-gradient(ellipse at 10% 0%,#fffaf1,transparent 58%),var(--cream);font-feature-settings:'tnum';-webkit-font-smoothing:antialiased}.auth-layout{background:#f9f2e6}.auth-art{background-image:linear-gradient(180deg,#0a3f34aa,#083a2a12 40%,#06362f90),url('mock-dawn.webp');background-size:cover}.auth-content{position:relative;max-width:470px;padding:25px 38px 28px;background:linear-gradient(165deg,#fffaf2,#f8f0e2);overflow:hidden}.login-hero{position:relative;min-height:180px;display:flex;align-items:flex-start;padding:21px 0 0;isolation:isolate}.login-hero:before{content:'';position:absolute;inset:-25px -38px -25px 31%;background:linear-gradient(90deg,#fffaf2 0%,transparent 52%),linear-gradient(0deg,#fffaf2 0%,transparent 45%),url('mock-dawn.webp') right 37%/cover;z-index:-1;opacity:.76;mask-image:linear-gradient(180deg,#000 0% 60%,transparent 100%)}.login-hero .p-brand{display:flex;flex-direction:column;align-items:center;gap:4px;padding-top:5px;width:175px}.login-hero .p-brand svg{width:69px;height:60px}.login-hero .p-brand>span{font-size:30px;letter-spacing:0}.login-hero .p-brand small{display:none}.auth-heading{position:relative;margin:0 0 25px}.auth-heading h1{font-size:35px;color:#192f27;margin:0 0 8px;letter-spacing:-.7px}.auth-heading p{font-size:14px;max-width:300px;line-height:1.55}.auth-field>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.field-wrap{position:relative}.field-wrap>svg{position:absolute;left:15px;top:50%;transform:translateY(-50%);width:20px;height:20px;fill:none;stroke:#255347;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}#gate-form input{padding-left:45px;background:#fff9f0c9;border-color:#dbd1c0;min-height:55px;box-shadow:0 2px 6px #402d1106}.forgot-link{justify-self:center;border:0;background:none;color:#155440;text-decoration:underline;text-underline-offset:3px;font-size:12px;padding:5px;min-height:32px}.p-submit{border:1px solid #d5b16a70;border-radius:100px;background:linear-gradient(170deg,#16704e,#06412f 80%);box-shadow:0 7px 17px #14493230,inset 0 1px 2px #ffffff38;min-height:49px}.auth-footer{color:#8f7953}.auth-content:after{content:'';pointer-events:none;position:absolute;bottom:-80px;right:-90px;width:270px;height:150px;transform:rotate(-18deg);border:1px solid #c5a05c65;background:linear-gradient(180deg,#d9bc7c13,#d6bd9435);border-radius:50%;box-shadow:0 -16px 0 #cfae6310,0 -17px 0 #c5a05c40}.auth-content>*{position:relative;z-index:1}.p-demo-note{font-size:11px;padding:9px 10px}.gate-message:empty{display:none}.p-switch{margin:12px 0}.p-switch button{color:#0a513e}.v7-welcome{background-image:linear-gradient(90deg,#073b32 0%,#073b32c2 46%,#073b3225 100%),url('mock-night.webp')!important;min-height:158px!important;padding:25px 17px 63px!important;background-position:center,right 40%!important}.v7-welcome h1{font-family:Georgia,serif!important;font-size:24px!important;font-weight:600;letter-spacing:-.5px;margin:2px 0 5px!important;max-width:none}.v7-welcome h1 span{color:#e4bd70}.v7-welcome p{font-size:12px;max-width:270px}.v7-welcome .bell{background:#fffaf218;color:#fff4d8;border:1px solid #e8c98450}.v7-budget{margin-top:-43px!important;border-radius:16px;padding:16px 15px 11px!important;box-shadow:0 7px 18px #46351e13,inset 0 1px 0 #fff}.v7-budget .big{font-size:32px!important;margin:2px 0 1px;line-height:1.13;color:var(--ink)}.v7-budget strong{font-size:13px}.v7-budget p{font-size:12px}.v7-budget .bar{height:8px}.v7-budget .ring{width:76px;background:conic-gradient(#c69a43 var(--pct),#e8dbc4 0);box-shadow:inset 0 0 0 1px #a9874820}.v7-budget .p-budget-bottom{padding-top:8px}.p-budget-bottom b{display:inline;margin-left:4px;font-size:13px}.p-section-heading{margin:17px 1px 8px}.p-section-heading h2{font:700 15px/1.35 system-ui,sans-serif!important;letter-spacing:-.25px}.p-section-heading h2 small{font-weight:400;font-size:11px;color:var(--muted)}.v7-pill{background:#e5ead7!important;border-radius:100px!important;color:#285740!important;font-size:11px!important;padding:6px 12px!important;font-weight:650}.v7-continue{min-height:74px!important;padding:0!important;background:linear-gradient(115deg,#fff8eb,#efe0c8)!important;border-color:#dfd1b8!important;box-shadow:0 4px 12px #50391b0a}.v7-continue .food{width:91px;height:74px;border-radius:13px 0 0 13px}.v7-continue>span{padding:8px 0}.v7-tiles{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px!important;margin:0!important}.v7-tiles .tile{position:relative;min-height:82px!important;gap:4px!important;padding:9px 3px!important;border-radius:12px;background:linear-gradient(150deg,#fffaf1,#f2e6d3)!important;box-shadow:0 3px 8px #553c1510,inset 0 1px 0 #fff!important}.v7-tiles .tile .glyph{background:none!important;color:#b78121!important;width:31px!important;height:31px!important}.v7-tiles .tile .glyph svg{width:27px!important;height:27px!important;stroke-width:1.75!important}.v7-tiles .tile strong{font-size:10.5px!important}.v7-tiles .tile-fridge .glyph,.v7-tiles .tile-finance .glyph,.v7-tiles .tile-savings .glyph{color:#167555!important}.v7-tiles .tile-zakat .glyph,.v7-tiles .tile-ramadan .glyph{color:#c14e45!important}.v7-ramadan-card{width:100%;margin-top:14px;display:flex;align-items:center;gap:15px;border:1px solid #bd975067;background:linear-gradient(90deg,#064134,#064134b0 55%,#06372d10),url('mock-night.webp') right 43%/cover;color:#fff4df;text-align:left;border-radius:16px;padding:16px;box-shadow:0 4px 16px #104b3b20;overflow:hidden}.v7-ramadan-card>span{font-size:37px;color:#f8d57e;line-height:1;animation:moonGlow 3s ease-in-out infinite alternate}.v7-ramadan-card div{flex:1}.v7-ramadan-card strong,.v7-ramadan-card small{display:block}.v7-ramadan-card small{font-size:11px;color:#eedfc3}.v7-fridge-banner{position:relative;display:flex;gap:12px;align-items:center;background:linear-gradient(100deg,#14543d,#14543dcc 58%,transparent),url('vegetables.webp') right center/auto 120% no-repeat;background-color:#14543d;color:#fff6e8;border-radius:16px;padding:18px 15px;overflow:hidden;min-height:94px}.v7-fridge-banner svg{flex-shrink:0;width:29px;height:29px;color:#e3c88a}.v7-fridge-banner h2{font-size:21px}.v7-fridge-banner p{max-width:210px;font-size:12px;line-height:1.35}.v7-stock-group{padding:12px;border:1px solid #e9dac7;border-radius:15px;background:#eee8db}.v7-stock-group.urgent{background:#f7dece;color:#8f3f26}.v7-stock-group.freeze{background:#e1ebeb;color:#285764}.v7-stock-group.soon{background:#f4e4cb;color:#86601f}.v7-stock-group h2{font-size:15px;margin-bottom:9px}.v7-stock-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.v7-stock-grid article{min-width:0;background:#fffaf3;border:1px solid #ffffffac;border-radius:10px;padding:8px 4px 5px;display:flex;flex-direction:column;align-items:center;gap:2px;color:#25332a;text-align:center;box-shadow:0 3px 8px #5e4c2910}.v7-stock-grid strong{font-size:12px;overflow-wrap:anywhere}.v7-stock-grid small{font-size:10px}.v7-food-icon{font-size:32px;line-height:1.4}.v7-stock-grid .expiry{font-weight:700;color:#92513c}.v7-remove{background:none;border:0;text-decoration:underline;color:#726450;font-size:11px;padding:5px;min-height:30px}.v7-stock-grid>p{grid-column:1/-1}.v7-tabs{border-radius:100px;padding:4px;background:#eae0cf}.v7-tabs button{border-radius:100px;font-size:12px}.v7-bill-list{padding:4px 10px!important;gap:0!important}.v7-bill{border-bottom:1px solid var(--line);padding:10px 0}.v7-bill:last-child{border-bottom:0}.v7-bill summary{display:flex;align-items:center;gap:8px;list-style:none;cursor:pointer}.v7-bill summary::-webkit-details-marker{display:none}.v7-bill summary>span:nth-child(2){flex:1;min-width:0}.v7-bill summary strong,.v7-bill summary small{display:block}.v7-bill summary strong{font-size:13px}.v7-bill summary small{font-size:10px;color:var(--muted)}.v7-bill summary b{font-size:13px;white-space:nowrap}.bill-icon{width:33px;height:33px;border-radius:50%;background:#f0e3c7;display:grid;place-items:center;color:#ab792c}.bill-icon svg{width:19px;height:19px}.v7-bill .between{padding-top:10px}.v7-report-total{display:flex;justify-content:space-between;align-items:center;gap:8px}.v7-report-total .big{display:block;font-size:28px;margin:2px 0}.v7-history{display:grid;grid-template-columns:repeat(6,1fr);gap:7px;align-items:end}.v7-history>div{display:grid;gap:4px;text-align:center;font-size:10px;min-width:0}.v7-history>div>span{font-size:9px;overflow-wrap:anywhere}.v7-hbar{height:90px;display:flex;align-items:flex-end;justify-content:center}.v7-hbar i{display:block;width:75%;border-radius:6px;background:linear-gradient(0deg,#92b27f,#cbdaba);min-height:2px;animation:barGrow .75s both;transform-origin:bottom}.v7-history>div:last-child i{background:linear-gradient(0deg,#09503c,#24835b)}.v7-recipes{display:grid;grid-template-columns:1fr 1fr;gap:10px}.v7-recipes .recipe-row{background:var(--white);overflow:hidden;box-shadow:0 3px 10px #533e1910}.v7-recipes .recipe-row summary{display:flex;flex-direction:column;align-items:stretch;padding:0;gap:0}.v7-recipes .recipe-row summary .food{width:100%;height:112px;border-radius:0;object-fit:cover}.v7-recipes .recipe-name{padding:9px 9px 5px;font-weight:650;line-height:1.35;min-height:55px}.v7-recipes .recipe-name small{font-size:11px;display:block;margin-top:3px}.v7-recipes summary>span:last-child{align-self:flex-end;margin:0 10px 5px}.v7-recipes .recipe-body{padding:9px;overflow-wrap:anywhere}.v7-recipes .recipe-row[open]{grid-column:1/-1}.v7-recipes .recipe-row[open] .food{height:190px}.budget-chart,.panel,.grocery-group,.profile-list button{box-shadow:0 3px 12px #7153280a,inset 0 1px 0 #ffffff60!important}.top h1{font-family:system-ui,sans-serif!important;font-weight:700!important;font-size:21px!important;letter-spacing:-.6px}.top .back{border-radius:50%;background:transparent}.section .btn:not(.secondary):not(.danger){border-radius:100px!important;background:linear-gradient(175deg,#0d7650,#03432f)!important}.nav button{transition:color .22s,transform .22s}.nav button span{transition:background .28s,border-radius .28s,transform .25s}.nav button.active span{border-radius:100px!important;background:#dce7d7!important;animation:navPop .32s ease-out}.btn,.p-submit,.tile,.meal-today{transition:transform .19s ease,box-shadow .19s ease,filter .19s ease}.btn:active,.p-submit:active{transform:scale(.97);filter:brightness(1.09)}.v5-enter .panel,.v5-enter .v7-stock-group,.v5-enter .budget-chart{animation:cardIn .4s ease both}.v5-enter .tile:nth-child(2n){animation:cardIn .4s .04s both}.v5-enter .bar span,.v5-enter .column i{transform-origin:left center;animation:progressIn .72s cubic-bezier(.15,.8,.25,1) both}.v5-enter .column i{animation:barGrow .7s both;transform-origin:bottom}.glass-launch{background:radial-gradient(ellipse at 25% 35%,#175e4b66,transparent 60%),linear-gradient(170deg,#052e29,#06372f 70%,#072c27)!important}.glass-launch .glass-tile{background:transparent;border:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;width:128px;height:118px}.glass-launch:after{content:'';position:absolute;inset:auto 0 0;height:45%;background:linear-gradient(180deg,#06362f,transparent 42%,#062d2855),url('mock-night.webp') center 62%/cover;opacity:.9;z-index:0;animation:landReveal 1.8s .25s both;pointer-events:none}.glass-pane{border:1px solid #d2e8c44d!important;box-shadow:inset 0 0 20px #c7ffe628,0 0 40px #d4ba6b18!important}.glass-pane-1{border-radius:35% 65% 45% 55%;background:linear-gradient(115deg,transparent 25%,#9ee3c039 48%,#efd48c43 51%,transparent 58%)!important}.glass-pane-2{border-radius:60% 40% 55% 45%;background:linear-gradient(120deg,transparent 30%,#a7f2c52b 50%,#e0c58b29 53%,transparent 75%)!important}.glass-launch .launch-content{transform:translateY(-9vh);z-index:3}.glass-launch .launch-word{font-size:clamp(42px,12vw,66px)}.glass-launch .launch-dedication{z-index:4;text-shadow:0 2px 4px #062e25;color:#fff4d6;bottom:5vh}.glass-launch .launch-skip{z-index:5;right:18px;top:max(18px,env(safe-area-inset-top))}@keyframes navPop{from{transform:scale(.86)}70%{transform:scale(1.09)}to{transform:scale(1)}}@keyframes cardIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes progressIn{from{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes barGrow{from{transform:scaleY(0)}to{transform:scaleY(1)}}@keyframes moonGlow{from{filter:drop-shadow(0 0 2px #f4d18450)}to{filter:drop-shadow(0 0 10px #f4d184aa)}}@keyframes landReveal{from{opacity:0;transform:scale(1.05)}to{opacity:.9;transform:scale(1)}}
html[data-theme=dark]{--cream:#0b2822;--white:#163b30;--line:#305448;--ink:#f6eddb;--muted:#bed0c0;--pale:#274b3a;--green:#93c4a0}html[data-theme=dark] body{background:#0b2822}html[data-theme=dark] .v7-tiles .tile{background:linear-gradient(145deg,#244b3a,#18382e)!important;box-shadow:0 3px 9px #001c1730,inset 0 1px 0 #ffffff12!important}html[data-theme=dark] .v7-tiles .tile .glyph{color:#e6c382!important}html[data-theme=dark] .v7-continue,html[data-theme=dark] .v7-budget{background:var(--white)!important;color:var(--ink)}html[data-theme=dark] .v7-stock-group{background:#233e34;color:#f4e6d0;border-color:var(--line)}html[data-theme=dark] .v7-stock-grid article{background:#18372e;color:#f4e6d0;border-color:#3a5645}html[data-theme=dark] .v7-stock-grid .expiry,html[data-theme=dark] .v7-remove{color:#e9bb93}html[data-theme=dark] .nav button.active span{background:#365542!important}html[data-theme=dark] .v7-pill{background:#355440!important;color:#e8e9d6!important}html[data-theme=dark] .v7-bill .bill-icon{background:#3a4b35;color:#e2bf79}html[data-theme=dark] .v7-tabs{background:#254337}html[data-theme=dark] .panel,html[data-theme=dark] .budget-chart{box-shadow:0 3px 12px #00180e30!important}
@media(max-width:760px){.auth-visual{display:none}.auth-layout{display:block;background:linear-gradient(165deg,#fffaf1,#f6ebd9);min-height:100svh}.auth-content{width:100%;max-width:440px;margin:0 auto;padding:25px 25px 29px;min-height:100svh;background:transparent}.login-hero{min-height:202px;padding-top:34px}.login-hero:before{inset:-25px -25px -16px 22%;background-size:auto,auto,cover;opacity:.8}.login-hero .p-brand{width:166px}.auth-heading h1{font-size:34px}.auth-heading{margin-bottom:20px}.auth-footer{margin-top:18px}.v7-welcome{margin:-10px -15px 0!important;min-height:154px!important;border-radius:0 0 19px 19px}.v7-welcome h1{font-size:23px!important}.v7-budget{margin-left:1px!important;margin-right:1px!important}.main{padding-bottom:95px}.v7-tiles{grid-template-columns:repeat(4,minmax(0,1fr))}.v7-tiles .tile{min-height:78px!important}.v7-stock-grid article{padding-left:3px;padding-right:3px}.v7-recipes .recipe-row summary .food{height:105px}.v7-ramadan-card{min-height:85px}.v7-report-total .big{font-size:27px!important}.footnote{font-size:10px}}
@media(max-width:350px){.v7-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}.v7-budget .big{font-size:27px!important}.v7-welcome h1{font-size:20px!important}.auth-content{padding:18px}.login-hero{min-height:175px}.v7-recipes .recipe-row summary .food{height:90px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-delay:0ms!important;transition:none!important}.saim-launch{display:none!important}}
#v7-add-stock:not([open]),#v7-bill-form:not([open]){display:none}.v7-search summary{cursor:pointer;padding:9px 12px;border:1px solid var(--line);border-radius:100px;background:var(--cream);font-weight:600;font-size:12px;list-style:none}.v7-search form{margin-top:12px}.v7-search summary::-webkit-details-marker{display:none}body[data-page=meals] .section>.panel:has(.v7-search){padding:12px;gap:8px}body[data-page=meals] .section>.panel:has(.v7-search) h2{font:650 15px system-ui!important}body[data-page=meals] .section>.panel:has(.v7-search) p.sub{font-size:10px}.v7-recipes .recipe-row:first-child .food{height:112px}.glass-launch .glass-pane{backdrop-filter:blur(1px)!important;-webkit-backdrop-filter:blur(1px)!important}.glass-launch .launch-dedication{color:#fff8e6;font-weight:600}.v7-enter{animation:cardIn .4s both}@property --v7-ring{syntax:'<percentage>';inherits:false;initial-value:0%}.v7-budget .ring{--v7-ring:var(--pct);background:conic-gradient(#c69a43 var(--v7-ring),#e8dbc4 0);animation:ringReveal .9s cubic-bezier(.15,.8,.25,1) both}@keyframes ringReveal{from{--v7-ring:0%}to{--v7-ring:var(--pct)}}
