/* La Neverita — typography and the optional evening palette. */
body{font-family:'DM Sans','Segoe UI',sans-serif}button,input,select,textarea{font-family:inherit}
h1,h2,.serif,.brand,.recipe-title,.meal-name,.profile-head strong,.discovery-card strong,.discovery-title,.dish-overlay strong,.welcome-story h2,.detail-grid h3,.household-card strong{font-family:'Playfair Display',Georgia,serif;font-weight:500}
.heading h1{font-size:clamp(38px,4.1vw,62px);letter-spacing:-1.5px;line-height:1.14}.section-head h2,.panel h2{font-size:30px;line-height:1.25}.eyebrow{letter-spacing:2.5px;font-size:10px}.sidebar .brand{font-size:35px;letter-spacing:-1px;line-height:1.12;color:#f6e7c7}.brand small,.sidebar .brand small{font-family:'DM Sans',sans-serif;font-size:9px;letter-spacing:3.7px;color:#d3bc87}.login-main>.brand{font-size:44px;letter-spacing:-1.5px}.recipe-title{line-height:1.3}.heading{margin-bottom:32px}.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:8px 12px;border:1px solid #cbd4c7;border-radius:24px;background:#e8edde;color:#345438;font-size:11px;font-weight:600;white-space:nowrap}.theme-symbol{font-size:16px;line-height:1}.theme-symbol:before{content:'☾'}.theme-label:before{content:'Modo oscuro'}.login-main{position:relative}.login-main>.theme-toggle{position:absolute;top:24px;right:24px}
html[data-theme=dark]{--night:#101c19;--surface:#192823;--raised:#21332b;--line:#36483d;--ink:#e7ece2;--muted:#b2bfb0;--gold:#dec28c;--sage:#c6dea6;color-scheme:dark}
html[data-theme=dark] body{background:radial-gradient(ellipse at 75% 0,#283b292b,transparent 60%),var(--night);color:var(--ink)}
html[data-theme=dark] :is(h1,h2,h3,.recipe-title,.meal-name,.profile-head strong,.serif){color:#f6ebd5}
html[data-theme=dark] :is(.heading p,.section-head p,.hint,.muted,small,.field,.meal-label,.dayname,.daybottom,.availability,.card-footer,.footnote,.calendar-help,.privacy,.target-mini,.crumb,.login-note,.login-form>p,.dialog-form p,.receipt-dialog>p,.steps li,.source,.video-idea-grid p,.video-market .section-head p,.video-amount small,.learned-price small,.external-meal small,.welcome-story p,.couple-avatars small,.receipt-card p,.dessert-feature p,.receipt-step p){color:var(--muted)}
html[data-theme=dark] :is(.eyebrow,.link,.plain,.video-market summary,.video-amount b,.video-facts b,.external-note,.steps li:before){color:var(--gold)}
html[data-theme=dark] :is(.panel,.profile-plan,.recipe,.day,.discovery-card,.video-products article,.receipt-row,.empty,dialog){background:var(--surface);border-color:var(--line);color:var(--ink)}
html[data-theme=dark] :is(.welcome-menu,.hero,.dessert-feature,.receipt-card,.video-market){background:linear-gradient(120deg,#23372b,#192723);border:1px solid var(--line)}
html[data-theme=dark] :is(.welcome-story h2 em,.hero-copy h2 em,.dessert-feature em,.receipt-title em){color:var(--gold)}
html[data-theme=dark] :is(.topbar,.daytitle,.profile-head,.meal,.listrow,.card-footer,.ingredient,.price-item,.source,.video-ideas,.record-row,.detail-facts span,.learned-prices article,.photo-box){border-color:var(--line)}
html[data-theme=dark] .topbar{background:#101c19de}
html[data-theme=dark] :is(.field input,.field select,input.control,select.control,.qtyinput,.meal-meta input,.meal-meta select,.schedule-cell select,textarea,.search,.iconbtn){background:#111f1a;color:var(--ink);border:1px solid #465847}
html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#a1ae9e}
html[data-theme=dark] :is(.notice,.planner-note,.stat,.total,.total:nth-child(2),.nutrition>div,.receipt-upload,.receipt-sum,.receipt-dialog details,.receipt-step>b,.receipt-history-icon,.video-facts span,.external-meal,.hero-stamp,.recipe-time,.select-context){background:var(--raised);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] :is(.tag,.tag.white,.tag.warm,.btn.secondary,.recipe-plus,.habitday b){background:#334633;color:#d6e5c6}
html[data-theme=dark] .btn{background:#c9dda9;color:#17281e;border-color:#c9dda9}
html[data-theme=dark] .btn.outline{background:transparent;color:#d8e5cb;border-color:#627558}
html[data-theme=dark] .btn.danger{background:#50372d;color:#ffd6b8;border-color:#73503e}
html[data-theme=dark] :is(.filter,.segmented,.add-meal){background:#1d2e26;border-color:#455a46;color:#c9d4bf}
html[data-theme=dark] :is(.filter.active,.segmented button.active,.day.active){background:#c9dda9;color:#17281e;border-color:#d7e9bd}
html[data-theme=dark] .day.active :is(.dayname,.daybottom){color:#32452e}
html[data-theme=dark] .day:hover{border-color:var(--gold)}
html[data-theme=dark] .segmented button{color:#c5d1bc}
html[data-theme=dark] .meal-actions button{color:#cedcbc}
html[data-theme=dark] :is(.add-meal:hover,.add-meal.selected){background:#314831;border-color:#809b6a}
html[data-theme=dark] .recipe:hover{box-shadow:0 16px 35px #0004;border-color:#70825a}
html[data-theme=dark] .recipe{box-shadow:0 8px 25px #0002}
html[data-theme=dark] .dialog-close{background:#203328ed;color:#f6ebd5}
html[data-theme=dark] dialog::backdrop{background:#030a07bd;backdrop-filter:blur(8px)}
html[data-theme=dark] .sidebar{background:radial-gradient(ellipse at 0 0,#324c2c55,transparent 65%),#101e19;border-right-color:#3e4e37;box-shadow:8px 0 35px #0002}
html[data-theme=dark] .household-card{background:linear-gradient(110deg,#52643a30,#bda37008);border-color:#bda37030}
html[data-theme=dark] .sidebar .navbtn.active{background:linear-gradient(115deg,#dfd0a4,#bccf96);box-shadow:0 8px 22px #0003}
html[data-theme=dark] .sidebar .navbtn.active small{color:#3c502f}
html[data-theme=dark] .theme-toggle{background:#26382b;border-color:#596a49;color:#ead8b5}
html[data-theme=dark] .theme-symbol:before{content:'☀'}html[data-theme=dark] .theme-label:before{content:'Modo claro'}
html[data-theme=dark] .error{color:#ffb697}
html[data-theme=dark] .skip{background:var(--raised);color:var(--ink)}
html[data-theme=dark] :is(button,a,input,select,textarea):focus-visible{outline:3px solid #e6c585;outline-offset:4px}
html[data-theme=dark] .food{background-color:#f8f5eb;border-radius:12px}
html[data-theme=dark] .receipt-stamp{color:#e9c196;border-color:#9a7b51}
html[data-theme=dark] .habitday b.yes{background:#c9dda9;color:#1b2f20}
html[data-theme=dark] .login-main>.brand{color:#f5e2bb}
@media(max-width:760px){.heading h1{font-size:38px}.section-head h2,.panel h2{font-size:26px}.theme-toggle{padding:8px;min-width:36px}.top-right{gap:8px}.theme-label{display:none}.login-main>.brand{font-size:37px}.login-main .theme-label{display:inline}.crumb{font-size:8px;letter-spacing:.6px}html[data-theme=dark] .mobile-nav{background:#17271ff5;border-color:#4a5c40;box-shadow:0 8px 32px #0008;backdrop-filter:blur(18px)}html[data-theme=dark] .mobile-nav .navbtn{color:#d7e0cd}html[data-theme=dark] .mobile-nav .navbtn.active{background:#c9dda9;color:#203521}}
