:root{font-family:Segoe UI,Arial,sans-serif;color:var(--text);background:var(--surface);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}button:disabled{cursor:wait;opacity:.6}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}button,a,input,textarea,select,summary{outline-offset:4px}:focus-visible{outline:3px solid var(--focus)}svg{flex-shrink:0}h1,h2,h3,h4,p{margin:0}h1,h2{font-family:Georgia,Times New Roman,serif;font-weight:500;letter-spacing:-.045em}h1{font-size:clamp(2rem,3.3vw,3rem);line-height:1.14}h2{font-size:1.85rem;line-height:1.2}h3{font-size:1.1rem;line-height:1.4;letter-spacing:-.02em}p{line-height:1.65}small{font-size:.77rem;line-height:1.55}strong{font-weight:600}.app-shell{width:100%;margin:auto;display:grid;grid-template-columns:236px minmax(0,1fr);grid-template-rows:auto 1fr;align-items:start;min-height:100dvh}.sidebar{padding:36px 22px 20px;border-right:1px solid var(--line);background:var(--surface);display:flex;flex-direction:column;position:sticky;top:0;height:calc(100dvh - 94px);overflow-y:auto}.brand{display:flex;align-items:center;gap:10px;font-size:1.7rem;letter-spacing:-.065em;font-weight:650;margin:0 2px 46px}.brand:hover{text-decoration:none}.brand-mark{display:inline-flex;align-items:center;justify-content:center;border-radius:13px;width:43px;height:43px;background:var(--primary-bg);color:var(--on-primary);flex-shrink:0}.brand small{display:block;font-size:.65rem;letter-spacing:.01em;font-weight:400;color:var(--muted);margin-top:3px}.sidebar nav{display:grid;gap:9px}.nav-item{min-height:49px;border-radius:11px;display:flex;align-items:center;padding:12px 14px;gap:12px;font-size:.9rem;color:var(--muted)}.nav-item.active{background:var(--primary-bg);color:var(--on-primary);font-weight:550}.nav-item:hover{background:var(--surface-soft);text-decoration:none;color:var(--green)}.nav-item.active:hover{background:var(--primary-bg);color:var(--on-primary)}.nav-chevron{margin-left:auto}.sidebar-bottom{margin-top:auto;padding-top:50px}.sidebar-tip{background:var(--surface);border-radius:15px;padding:18px 14px;margin-bottom:22px}.sidebar-tip>span{display:flex;color:var(--muted);margin-bottom:12px}.sidebar-tip p{font-size:.9rem;line-height:1.5}.sidebar-tip a{font-size:.68rem;display:flex;gap:5px;align-items:center;margin-top:14px;color:var(--muted)}.sidebar-legal{font-size:.7rem;color:var(--muted);display:block;padding:12px 16px}.main-shell{min-width:0;align-self:stretch;display:flex;flex-direction:column}.topbar{grid-column:1 / -1;min-width:0;height:93px;padding:0 43px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line)}.topbar-caption{font-size:.79rem;color:var(--muted)}.topbar-actions{display:flex;align-items:center;gap:17px}.demo-status{font-size:.7rem;display:inline-flex;align-items:center;gap:7px;white-space:nowrap;color:var(--muted)}.demo-status i{height:6px;width:6px;border-radius:50%;background:var(--surface-soft)}.profile-button{border:0;background:transparent;display:flex;align-items:center;gap:9px;min-height:44px;padding:0;font-size:.8rem}.avatar{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;background:var(--surface-soft);color:var(--danger-text);border-radius:50%;object-fit:cover;flex-shrink:0;font-size:.87rem;font-weight:600}.avatar.large{width:78px;height:78px;font-size:1.7rem}.main-shell main{padding:31px 43px 40px;flex:1;min-width:0;outline:none}.site-footer{margin:0 43px;padding:21px 0 25px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;color:var(--muted);font-size:.67rem}.site-footer div{display:flex;gap:17px}.mobile-nav,.mobile-brand,.mobile-only{display:none!important}.icon-button{display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;width:42px;min-width:42px;height:42px;border-radius:50%;color:inherit}.icon-button:hover{background:var(--surface-soft)}.button{min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:10px;padding:12px 19px;border:1px solid transparent;line-height:1.35;font-size:.82rem;font-weight:600;text-decoration:none}.button:hover{text-decoration:none;filter:brightness(.97)}.button.primary{background:var(--primary-bg);color:var(--on-primary)}.button.secondary{background:var(--surface);border-color:var(--line);color:var(--green)}.button.cream{background:var(--surface-soft);color:var(--green)}.button.destructive{background:var(--destructive);color:var(--on-primary)}.button.full{width:100%}.button-row{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0}.text-button{border:0;background:none;padding:10px 0;display:inline-flex;align-items:center;gap:8px;font-size:.77rem;color:var(--green);line-height:1.3;min-height:40px;text-align:left}.text-button:hover{text-decoration:underline}.text-button.centered{display:flex;justify-content:center;width:100%;margin-top:7px}.muted{color:var(--muted)}.danger{color:var(--danger-text)}.small{font-size:.8rem}.badge{display:inline-flex;align-items:center;gap:4px;padding:5px 9px;background:var(--surface-soft);color:var(--muted);border-radius:6px;font-size:.63rem;font-weight:550;line-height:1.3;letter-spacing:.01em;max-width:100%}.badge.neutral{background:var(--neutral-bg);color:var(--muted)}.badge.white{background:var(--surface);color:var(--muted)}.badge.amber{background:var(--warning-bg);color:var(--danger-text)}.eyebrow{font-size:.6rem;font-weight:650;letter-spacing:.16em;color:var(--muted);line-height:1.6;margin-bottom:8px}.welcome-line{display:flex;align-items:center;justify-content:space-between;margin-bottom:23px;gap:12px}.welcome-line>p{font-size:.84rem}.welcome-line>p span{margin-left:6px;color:var(--danger-text)}.welcome-line>.badge{background:transparent;border:1px solid var(--line);font-weight:400}.hero{display:grid;grid-template-columns:1.15fr 1fr;border-radius:21px;background:var(--primary-bg);color:var(--on-primary);overflow:hidden;min-height:317px;position:relative}.hero-content{padding:36px 0 28px 35px;position:relative;z-index:1}.hero .eyebrow{color:var(--muted);font-size:.56rem;margin-bottom:13px}.hero h1{font-size:clamp(2rem,3.6vw,3.2rem);line-height:1.05;color:var(--on-primary);letter-spacing:-.05em}.hero p:not(.eyebrow){font-size:.81rem;color:var(--on-primary);margin:16px 0 23px;line-height:1.7}.hero-note{display:flex;align-items:center;gap:6px;font-size:.58rem;color:var(--on-primary);margin-top:18px}.hero-art{position:relative;display:flex;align-items:center;justify-content:center;background:var(--primary-bg);border-radius:50% 0 0 50%;margin-left:7px;overflow:hidden}.hero-art>img{width:117%;height:112%;object-fit:cover;transform:rotate(-12deg);position:absolute;filter:drop-shadow(0 10px 16px var(--shadow-ink))}.art-note{position:absolute;bottom:23px;right:18px;transform:rotate(-8deg);background:var(--surface-soft);border-radius:50%;width:105px;height:105px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--text);font-family:Georgia,serif;font-size:.9rem;line-height:1.35;text-align:center;box-shadow:0 6px 18px var(--shadow-ink)}.art-note strong{font-style:italic;font-weight:500}.quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:22px 0 34px}.quick-card{display:flex;align-items:center;flex-direction:column;text-align:center;gap:11px;padding:20px 12px 17px;background:var(--surface);border:1px solid var(--line);border-radius:14px}.quick-card:hover{border-color:var(--line);transform:translateY(-2px)}.quick-icon{width:53px;height:53px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;color:var(--muted);flex-shrink:0}.sage{background:var(--surface-soft)}.peach{background:var(--surface-soft);color:var(--danger-text)}.lavender{background:var(--surface);color:var(--muted)}.yellow{background:var(--warning-bg);color:var(--warning-text)}.quick-card strong{display:block;font-size:.8rem;margin-bottom:5px}.quick-card small{display:block;font-size:.62rem;color:var(--muted);line-height:1.45}.quick-card>svg{display:none}.section{margin:29px 0 34px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.section-heading .eyebrow{margin-bottom:5px}.section-heading h2{font-size:1.72rem}.section-heading>h2{display:flex;align-items:center;gap:9px}.section-heading .text-button{flex-shrink:0}.recipe-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.recipe-card{background:var(--surface);border:1px solid var(--line);border-radius:15px;overflow:hidden;min-width:0}.recipe-picture{height:166px;position:relative;overflow:hidden;background:var(--surface-soft)}.recipe-picture>a{display:block;height:100%}.recipe-picture img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.recipe-card:hover img{transform:scale(1.04)}.recipe-picture>.badge{position:absolute;left:13px;top:13px;pointer-events:none}.favorite{position:absolute;right:11px;top:10px;background:var(--surface);color:var(--muted);width:33px;height:33px;min-width:33px}.recipe-card-body{padding:17px 17px 15px}.recipe-category{font-size:.6rem;display:flex;align-items:center;justify-content:space-between;color:var(--muted);margin-bottom:7px}.recipe-card h3{font-family:Georgia,serif;font-size:1.15rem;font-weight:500;line-height:1.35;min-height:3.1em;letter-spacing:-.02em}.recipe-meta{display:flex;flex-wrap:wrap;align-items:center;gap:16px;font-size:.68rem;color:var(--muted);margin-top:13px}.recipe-meta span{display:inline-flex;align-items:center;gap:5px}.review-label{display:block;font-size:.58rem;color:var(--muted);border-top:1px solid var(--line);padding-top:9px;margin-top:12px}.home-bottom{display:grid;grid-template-columns:1.7fr 1fr;gap:18px;margin:30px 0}.knowledge-teaser{display:flex;gap:20px;background:var(--surface-soft);border-radius:16px;padding:27px}.knowledge-teaser h2{font-size:1.7rem}.knowledge-teaser p:not(.eyebrow){color:var(--muted);font-size:.77rem;margin:11px 0 5px}.mini-icon{display:inline-flex;background:var(--surface-soft);border-radius:50%;width:42px;height:42px;align-items:center;justify-content:center;flex-shrink:0}.shopping-teaser{border:1px solid var(--line);border-radius:16px;padding:25px;background:var(--surface-soft)}.shopping-teaser>svg{color:var(--warning-text);margin-bottom:13px}.shopping-teaser h3{font-family:Georgia,serif;font-size:1.2rem;font-weight:500}.shopping-teaser p{font-size:.75rem;color:var(--muted);margin:8px 0 4px}.notice{display:flex;align-items:flex-start;gap:10px;background:var(--surface);color:var(--muted);border:1px solid var(--line);border-radius:10px;padding:13px 15px;font-size:.74rem;line-height:1.6;margin:17px 0}.notice>svg{margin-top:1px}.notice.warning{background:var(--warning-bg);border-color:var(--warning-border);color:var(--danger-text)}.page-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:10px 0 28px}.page-intro .lead{font-size:.85rem;color:var(--muted);margin-top:13px;max-width:620px}.page-intro>.button{flex-shrink:0}.lead{font-size:.95rem;color:var(--muted);line-height:1.7}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.tabs{display:flex;gap:3px;border-bottom:1px solid var(--line);align-items:center;min-width:0}.tabs button{background:none;border:0;border-bottom:2px solid transparent;display:inline-flex;gap:7px;align-items:center;padding:12px 15px;font-size:.8rem;color:var(--muted);min-height:46px;white-space:nowrap}.tabs button.active{border-color:var(--green);color:var(--green);font-weight:600}.section-tabs{margin:26px 0 25px;flex-wrap:wrap}.search-field{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:10px;background:var(--surface);padding:0 13px;height:45px;color:var(--muted);min-width:0}.search-field input{height:43px;border:0;margin:0;background:transparent;width:100%;min-width:0;outline-offset:1px;font-size:.8rem;padding:0;color:var(--text)}.search-field button{border:0;background:none;color:inherit;display:flex;align-items:center;min-width:32px;justify-content:center}.toolbar>.search-field{width:280px}.filter-line{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin:0 0 25px}.select-label{display:flex;align-items:center;gap:10px;font-size:.72rem;color:var(--muted);margin:0}.select-label select{width:auto;min-width:110px;padding:9px 30px 9px 10px;margin:0;font-size:.75rem}.chip-check{display:flex;align-items:center;gap:6px;margin:0;font-size:.72rem;min-height:43px}.chip-check input{width:14px;height:14px;margin:0}.result-count{margin-left:auto;font-size:.68rem;color:var(--muted)}.empty{text-align:center;padding:48px 25px;color:var(--muted)}.empty>svg{margin-bottom:15px;color:var(--muted)}.empty h3{color:var(--text);font-family:Georgia,serif;font-size:1.5rem;font-weight:500;margin-bottom:10px}.empty p{font-size:.85rem;max-width:500px;margin:0 auto 18px}.empty .button{margin:8px 0}.error-box{border:1px solid var(--danger-border);background:var(--danger-bg);color:var(--danger-text);border-radius:10px;padding:12px 15px;margin:14px 0;font-size:.82rem}.error-box .text-button{color:inherit}.loading{display:flex;align-items:center;justify-content:center;gap:10px;padding:60px 20px;font-size:.85rem;color:var(--muted)}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.back{margin:0 0 14px;min-height:40px}label{display:block;font-size:.79rem;line-height:1.5;margin-bottom:19px;font-weight:500}input:not([type=checkbox]),textarea,select{border:1px solid var(--line);border-radius:8px;display:block;width:100%;background:var(--surface);color:var(--text);padding:12px 13px;margin-top:7px;font-weight:400;line-height:1.45;min-width:0}input::placeholder,textarea::placeholder{color:var(--muted)}textarea{resize:vertical;min-height:75px}label small{display:block;margin-top:8px;color:var(--muted);font-weight:400}input[type=checkbox]{accent-color:var(--green);flex-shrink:0;width:17px;height:17px;margin:3px 0 0}.checkbox-label{display:flex;gap:10px;align-items:flex-start;font-weight:400;line-height:1.55;font-size:.77rem}.form-row{display:flex;gap:15px}.form-row>label{flex:1;min-width:0}.detail-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,1fr);gap:28px;align-items:start}.detail-main{min-width:0}.detail-image{height:280px;overflow:hidden;border-radius:18px;background:var(--surface-soft)}.detail-image img{height:100%;width:100%;object-fit:cover}.detail-heading{padding:23px 0}.detail-heading h1{font-size:2.5rem;margin:13px 0}.detail-heading .recipe-meta{font-size:.8rem;margin-top:20px}.author-line{display:flex;gap:13px;align-items:center;flex-wrap:wrap;margin-top:23px;font-size:.7rem;color:var(--muted)}.ingredient-panel{border:1px solid var(--line);border-radius:17px;background:var(--surface);padding:23px;position:sticky;top:25px}.ingredient-panel .section-heading{margin-bottom:10px}.ingredient-panel h2{font-size:1.65rem}.portion-control{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:10px 0;font-size:.8rem;color:var(--muted)}.portion-control>div{display:flex;align-items:center;gap:9px}.portion-control output{min-width:22px;text-align:center;color:var(--green);font-weight:600}.portion-control .icon-button{width:32px;min-width:32px;height:36px;border:1px solid var(--line);border-radius:8px}.ingredient-list{padding:0;margin:10px 0 22px;list-style:none}.ingredient-list li{display:grid;grid-template-columns:75px 1fr;gap:8px;border-bottom:1px solid var(--line);padding:15px 0;font-size:.78rem;line-height:1.5}.ingredient-list strong{font-size:.76rem;color:var(--muted)}.preparation{border-top:1px solid var(--line);padding-top:23px}.preparation ol{padding:0;list-style:none;margin:25px 0}.preparation li{display:flex;gap:15px;margin:21px 0;align-items:flex-start}.step-number{display:flex;align-items:center;justify-content:center;background:var(--surface-soft);color:var(--muted);border-radius:50%;width:30px;height:30px;flex-shrink:0;font-size:.8rem}.preparation li p{font-size:.85rem;line-height:1.75;color:var(--muted)}.detail-actions{display:flex;gap:20px;flex-wrap:wrap}.editor-form{background:var(--surface);border:1px solid var(--line);border-radius:17px;padding:29px;max-width:1000px}.editor-columns{display:grid;grid-template-columns:1.5fr 1fr;gap:30px}.upload-panel{background:var(--surface);border-radius:12px;padding:20px;text-align:center;align-self:start}.upload-panel>img{width:100%;height:170px;object-fit:cover;border-radius:9px}.upload-placeholder{height:170px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;font-size:.85rem;color:var(--muted)}.upload-button{margin:13px 0;cursor:pointer;position:relative;overflow:hidden}.upload-button input{position:absolute;width:100%;height:100%;inset:0;margin:0;opacity:0;cursor:pointer}.upload-panel>small{display:block;color:var(--muted)}.scanner-progress{display:flex;align-items:center;gap:15px;font-size:.78rem;color:var(--muted);border-bottom:1px solid var(--line);padding-bottom:22px;margin:25px 0}.scanner-progress>span{display:flex;align-items:center;gap:9px}.scanner-progress b{border:1px solid var(--line);border-radius:50%;height:26px;width:26px;display:flex;align-items:center;justify-content:center;font-weight:500;font-size:.7rem}.scanner-progress .active{color:var(--green)}.scanner-progress .active b{color:var(--on-primary);background:var(--primary-bg);border-color:var(--green)}.scanner-layout{display:grid;grid-template-columns:1fr 1fr;gap:27px;align-items:start;margin-bottom:25px}.scan-capture{min-width:0}.capture-frame{position:relative;min-height:330px;display:flex;align-items:center;justify-content:center;flex-direction:column;background:var(--surface-soft);border-radius:18px;overflow:hidden;padding:30px}.capture-frame>img{position:absolute;width:100%;height:100%;object-fit:contain}.scanner-symbol{color:var(--muted);margin-bottom:15px}.capture-frame h2{font-size:1.5rem;text-align:center;margin-bottom:10px}.capture-frame>p{font-size:.75rem;color:var(--muted);text-align:center}.scan-label-art{width:150px;background:var(--surface);box-shadow:0 5px 15px var(--shadow-ink);transform:rotate(-7deg);padding:15px 17px;margin-top:23px;color:var(--muted);border-radius:6px}.scan-label-art small{font-size:.5rem;font-weight:600;letter-spacing:.16em}.scan-label-art i{height:4px;background:var(--surface-soft);display:block;margin-top:6px;width:100%}.scan-label-art i:nth-child(3){width:80%}.scan-label-art i:last-child{width:60%}.corner{position:absolute;width:24px;height:24px;border:2px solid var(--line)}.corner.tl{top:20px;left:20px;border-right:0;border-bottom:0;border-radius:7px 0 0}.corner.tr{top:20px;right:20px;border-left:0;border-bottom:0;border-radius:0 7px 0 0}.corner.bl{bottom:20px;left:20px;border-right:0;border-top:0;border-radius:0 0 0 7px}.corner.br{bottom:20px;right:20px;border-left:0;border-top:0;border-radius:0 0 7px}.capture-actions{display:flex;gap:10px;margin:16px 0}.capture-actions>.button{flex:1;min-width:0;padding:12px 10px}.privacy-note{display:block;font-size:.67rem;line-height:1.65;color:var(--muted);margin-top:13px}.scan-text-panel{background:var(--surface);border:1px solid var(--line);border-radius:17px;padding:23px}.scan-text-panel>p{font-size:.77rem;color:var(--muted);margin:13px 0 20px}.scan-text-panel h2{font-size:1.45rem}.scan-text-panel .section-heading{margin-bottom:0}.scan-text-panel .checkbox-label{font-size:.72rem}.scan-result{scroll-margin-top:20px;background:var(--surface);border:1px solid var(--line);border-radius:17px;padding:27px;margin:30px 0}.result-title{display:flex;align-items:center;gap:17px;margin-bottom:20px}.result-title h2{font-size:1.8rem}.result-icon{width:47px;height:47px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--warning-bg);color:var(--danger-text);flex-shrink:0}.no_match .result-icon{background:var(--success-bg);color:var(--muted)}.scan-result>h3{margin:22px 0 13px}.highlight-text{background:var(--surface);border-radius:10px;padding:18px;font-size:.85rem;line-height:2.1;white-space:pre-wrap;overflow-wrap:anywhere}mark{padding:3px 2px;border-bottom:2px solid var(--warning-border);background:var(--warning-bg);color:inherit}mark.gluten{background:var(--danger-bg);border-color:var(--danger-border)}mark.trace{background:var(--neutral-bg);border-color:var(--line)}mark.claim{background:var(--success-bg);border-color:var(--success-border)}.finding-list{margin:17px 0}.finding{display:grid;grid-template-columns:150px minmax(0,1fr);gap:16px;padding:18px 0;border-bottom:1px solid var(--line);font-size:.8rem;align-items:start}.finding>.badge{justify-self:start}.finding strong{display:block;margin-bottom:7px;overflow-wrap:anywhere}.finding p{color:var(--muted)}.finding small{color:var(--muted);display:block;margin-top:6px}.scan-result details{font-size:.77rem;color:var(--muted);padding-top:9px}.scan-result summary{cursor:pointer;padding:10px 0;color:var(--green)}.scan-result details p{margin:12px 0}.camera-preview{width:100%;max-height:55dvh;background:var(--primary-bg);border-radius:10px;margin:15px 0}.count-bubble{background:var(--surface-soft);border-radius:7px;padding:2px 6px;font-size:.65rem}.shopping-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:25px}.shopping-list-panel{background:var(--surface);border:1px solid var(--line);border-radius:17px;padding:25px}.shopping-list-panel h2{font-size:1.7rem}.add-item-form{display:flex;align-items:flex-end;gap:9px;padding-bottom:20px;border-bottom:1px solid var(--line)}.add-item-form label{width:75px;margin:0;font-size:.67rem}.add-item-form label.item-name{flex:1;width:auto}.add-item-form input,.add-item-form select{padding:10px;font-size:.8rem;height:43px}.add-item-form .button{padding:10px 12px;min-height:43px}.add-item-form .button span{display:none}.shopping-items{list-style:none;margin:0;padding:0}.shopping-items li{display:flex;align-items:center;gap:10px;padding:13px 0;border-bottom:1px solid var(--line)}.item-check{background:var(--surface);border:1px solid var(--line);width:25px;height:25px;min-width:25px;border-radius:7px;display:flex;align-items:center;justify-content:center;padding:0}.checked .item-check{background:var(--primary-bg);border-color:var(--line);color:var(--on-primary)}.item-title{border:0;text-align:left;background:none;padding:4px 0;flex:1;min-width:0;overflow-wrap:anywhere}.item-title strong{font-size:.82rem;display:block}.item-title small{display:block;color:var(--muted);margin-top:4px}.checked .item-title strong{text-decoration:line-through;color:var(--muted)}.shopping-items .icon-button{width:33px;min-width:33px;height:40px;color:var(--muted)}.sage-panel{padding:26px;background:var(--surface-soft);border-radius:17px}.sage-panel>svg{color:var(--muted);margin-bottom:15px}.sage-panel h3{font-family:Georgia,serif;font-size:1.6rem;font-weight:500;line-height:1.2;margin-bottom:14px}.sage-panel p{font-size:.78rem;color:var(--muted);margin-bottom:12px}.sage-panel small{font-size:.68rem;color:var(--muted)}.source-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:26px 0}.source-card{border:1px solid var(--line);background:var(--surface);border-radius:15px;padding:23px;text-align:left}.source-card>.source-icon{display:flex;width:45px;height:45px;align-items:center;justify-content:center;background:var(--surface-soft);color:var(--warning-text);border-radius:12px;margin-bottom:16px}.source-card>.badge{float:right}.source-card>small{display:block;margin:18px 0 8px;color:var(--muted)}.source-card h3{font-family:Georgia,serif;font-size:1.35rem;font-weight:500}.source-card p{font-size:.76rem;color:var(--muted);margin:13px 0}.source-card .text-link{font-size:.72rem;display:flex;align-items:center;gap:7px;margin-top:20px}.source-details{font-size:.8rem;display:grid;grid-template-columns:110px 1fr;gap:15px;margin:24px 0}.source-details dt{color:var(--muted)}.source-details dd{margin:0}.source-details+.button{margin-bottom:15px}.community-layout{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(230px,1fr);gap:25px;align-items:start}.post-card{border:1px solid var(--line);background:var(--surface);border-radius:15px;padding:24px;margin:20px 0}.post-head{display:flex;align-items:center;gap:11px}.post-head>div{flex:1}.post-head strong{font-size:.82rem}.post-head small{display:block;font-size:.65rem;color:var(--muted);margin-top:4px}.post-head .badge{margin-left:auto}.post-body{white-space:pre-wrap;font-size:.86rem;color:var(--muted);margin:20px 0;overflow-wrap:anywhere}.post-actions{border-top:1px solid var(--line);padding-top:7px;display:flex;flex-wrap:wrap;gap:20px}.post-actions .text-button{font-size:.71rem}.comments{border-top:1px solid var(--line);padding-top:17px;margin-top:5px}.comments h4{font-size:.8rem;margin:5px 0 15px}.comments>.muted{font-size:.77rem;margin:14px 0}.comment{background:var(--surface);border-radius:10px;padding:13px 15px;margin-bottom:13px}.comment.is-reply{margin-left:22px;border-left:2px solid var(--line)}.comment-heading{display:flex;align-items:center;gap:10px;font-size:.74rem}.comment-heading small{font-size:.6rem;color:var(--muted)}.comment p{font-size:.77rem;margin-top:7px;white-space:pre-wrap;overflow-wrap:anywhere}.comment-actions{display:flex;gap:14px;margin-top:4px}.comment-actions .text-button{font-size:.65rem;min-height:35px}.comments textarea{font-size:.8rem;margin-bottom:9px}.reply-hint{font-size:.7rem;color:var(--muted);display:flex;align-items:center;justify-content:space-between}.community-note{display:flex;gap:12px;margin-top:22px;padding:0 7px;color:var(--muted)}.community-note p{font-size:.73rem}.member-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:25px 0}.member-card{border:1px solid var(--line);border-radius:15px;background:var(--surface);padding:23px;text-align:center}.member-profile-button{display:block;border:0;background:none;width:100%;padding:0;text-align:center;min-height:230px}.member-profile-button h3{margin:15px 0 10px;font-family:Georgia,serif;font-size:1.5rem;font-weight:500}.member-profile-button p{font-size:.77rem;color:var(--muted);margin:17px 0 21px;overflow-wrap:anywhere}.profile-preview{display:flex;flex-direction:column;gap:16px;align-items:center;margin:20px 0}.profile-preview p{font-size:.9rem;white-space:pre-wrap}.chat-layout{display:grid;grid-template-columns:250px minmax(0,1fr);background:var(--surface);border:1px solid var(--line);border-radius:15px;overflow:hidden;min-height:480px}.chat-list{border-right:1px solid var(--line);padding:22px 12px}.chat-list h2{font-size:1.4rem;margin:0 10px 23px}.chat-list>p{padding:0 10px;font-size:.75rem}.chat-list>button{display:flex;gap:10px;align-items:center;width:100%;text-align:left;border:0;border-radius:10px;padding:12px 10px;background:none}.chat-list>button.active{background:var(--surface-soft)}.chat-list strong{font-size:.78rem}.chat-list small{display:block;font-size:.6rem;color:var(--muted);margin-top:5px}.chat-conversation{display:flex;flex-direction:column;min-width:0;min-height:470px}.chat-conversation>.empty{margin:auto}.chat-heading{padding:19px 22px;display:flex;gap:12px;align-items:center;border-bottom:1px solid var(--line)}.chat-heading strong{font-size:.82rem}.chat-heading small{display:block;font-size:.62rem;color:var(--muted);margin-top:5px}.messages{display:flex;flex-direction:column;gap:15px;padding:23px 20px;min-height:250px;max-height:500px;overflow-y:auto;flex:1;align-items:flex-start}.messages>.empty{margin:auto;padding:40px 10px}.message{max-width:90%;border-radius:12px 12px 12px 0;background:var(--surface);padding:13px 16px;min-width:110px;overflow-wrap:anywhere}.message.own{align-self:flex-end;background:var(--surface-soft);border-radius:12px 12px 0}.message p{font-size:.82rem;white-space:pre-wrap}.message>small{font-size:.58rem;color:var(--muted);margin-top:9px;display:inline-block}.message .text-button{font-size:.57rem;margin-left:16px;min-height:25px;color:var(--muted)}.message-compose{display:flex;gap:10px;padding:17px;border-top:1px solid var(--line);align-items:flex-end}.message-compose textarea{margin:0;font-size:.8rem;min-height:45px}.message-compose .button{height:46px;padding:12px}.chat-conversation>.notice,.chat-conversation>.error-box{margin:12px}.account-layout{display:grid;grid-template-columns:1fr 1fr;gap:55px;max-width:1000px;align-items:start}.account-story{padding:33px;background:var(--surface-soft);border-radius:18px;overflow:hidden;min-height:620px}.account-story>.brand-mark{margin-bottom:45px}.account-story h1{font-size:2.9rem}.account-story>p:not(.eyebrow){font-size:.88rem;color:var(--muted);margin-top:24px}.account-story img{width:calc(100% + 66px);margin:22px -33px -35px;height:250px;object-fit:cover}.account-form-panel{padding-top:10px}.account-form-panel h2{font-size:2rem;margin-bottom:16px}.account-form-panel>p{font-size:.83rem;color:var(--muted);margin-bottom:24px}.account-form-panel form .button{margin:8px 0}.account-switch{display:flex;gap:9px;align-items:center;flex-wrap:wrap;font-size:.78rem;border-top:1px solid var(--line);margin:14px 0 10px;padding-top:14px}.legal-links{display:flex;gap:16px;font-size:.65rem;color:var(--muted)}.narrow-page{max-width:600px;margin:20px auto}.profile-layout{display:grid;grid-template-columns:280px 1fr;gap:27px}.profile-card{padding:30px 24px;border:1px solid var(--line);border-radius:17px;background:var(--surface);align-self:start;text-align:center}.profile-card h2{font-size:1.8rem;margin-top:18px}.profile-card>p{font-size:.72rem;overflow-wrap:anywhere;color:var(--muted);margin:10px 0 13px}.profile-stats{display:flex;justify-content:center;gap:40px;padding:20px 0;margin:15px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.profile-stats span{font-size:.67rem;color:var(--muted)}.profile-stats strong{display:block;font-family:Georgia,serif;font-size:1.6rem;font-weight:500;color:var(--green);margin-bottom:5px}.profile-editor{border:1px solid var(--line);background:var(--surface);border-radius:17px;padding:27px}.profile-editor h2{font-size:1.8rem;margin-bottom:26px}.profile-editor>small{display:block;color:var(--muted);margin:0 0 20px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.settings-card{border:1px solid var(--line);background:var(--surface);border-radius:15px;padding:25px}.settings-card h2{font-size:1.65rem;margin-bottom:19px}.settings-card>p{font-size:.81rem;color:var(--muted);margin:16px 0}.toggle-line{display:flex;align-items:center;gap:20px;margin:22px 0}.toggle-line>span{flex:1}.toggle-line strong{font-size:.8rem}.toggle-line small{margin-top:7px;display:block}.toggle-line input{appearance:none;min-width:40px;width:40px;height:24px;border:1px solid var(--line);border-radius:14px;background:var(--surface-soft);position:relative;cursor:pointer}.toggle-line input:before{content:"";width:16px;height:16px;border-radius:50%;background:var(--surface);position:absolute;left:3px;top:3px;box-shadow:0 1px 4px var(--shadow-ink)}.toggle-line input:checked:before{left:19px}.settings-card>a{display:flex;align-items:center;justify-content:space-between;font-size:.8rem;border-bottom:1px solid var(--line);padding:14px 0}.success{display:flex;align-items:flex-start;gap:9px;color:var(--muted);background:var(--success-bg);border:1px solid var(--success-border);border-radius:9px;font-size:.8rem;padding:15px;margin:17px 0}.success>svg{margin-top:3px}.knowledge-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.knowledge-card{border:1px solid var(--line);background:var(--surface);border-radius:15px;padding:26px}.knowledge-card h2{font-size:1.6rem;margin:22px 0 14px}.knowledge-card p{font-size:.83rem;color:var(--muted)}.knowledge-card a{display:flex;align-items:center;gap:8px;font-size:.7rem;margin-top:20px}.sources-section{border-top:1px solid var(--line);padding-top:28px;margin-top:30px;max-width:800px}.sources-section h2{display:flex;gap:12px;align-items:center;margin-bottom:20px;font-size:1.8rem}.sources-section p,.sources-section li{font-size:.83rem;color:var(--muted)}.sources-section ul{padding-left:19px;margin:20px 0}.sources-section li{padding:8px 0}.sources-section li a{display:inline-flex;gap:9px;align-items:center;color:var(--green)}.legal-page{max-width:800px}.legal-page h2{font-size:1.6rem;margin:33px 0 15px}.legal-page>p{font-size:.86rem;color:var(--muted);margin:14px 0}.legal-page strong{color:var(--warning-text)}dialog{border:1px solid var(--line);border-radius:20px;padding:25px;max-width:570px;width:calc(100% - 32px);max-height:calc(100dvh - 40px);color:var(--text);background:var(--surface);box-shadow:0 25px 80px var(--shadow-ink);overflow:auto}dialog::backdrop{background:var(--backdrop);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:21px}.modal-heading h2{font-size:1.7rem}.modal-heading .icon-button{background:var(--surface)}dialog form>.button{margin-top:8px}dialog>p{font-size:.85rem}.post-card blockquote{margin:18px 0;padding:16px;background:var(--surface);border-left:3px solid var(--line);font-size:.8rem;white-space:pre-wrap;overflow-wrap:anywhere}.post-card>h3{margin-top:18px}.post-card>p{margin-top:12px;font-size:.85rem}.toast{position:fixed;bottom:25px;left:calc(50% + 100px);transform:translate(-50%);border:1px solid var(--line);background:var(--primary-bg);color:var(--on-primary);border-radius:12px;box-shadow:0 8px 30px var(--shadow-ink);padding:9px 10px 9px 17px;display:flex;gap:10px;align-items:center;font-size:.79rem;z-index:100;max-width:calc(100% - 35px);width:max-content}.toast>span{max-width:480px}.toast .icon-button{width:32px;min-width:32px;height:32px}.toast .icon-button:hover{background:var(--primary-bg)}.skip-link{position:fixed;top:-100px;left:20px;z-index:200;background:var(--surface);padding:15px;border:2px solid var(--line);border-radius:10px}.skip-link:focus{top:15px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.ad-placeholder{border:1px dashed var(--line);border-radius:10px;display:flex;justify-content:center;align-items:center;gap:8px;padding:14px;color:var(--muted);font-size:.67rem}.startup-error{max-width:650px;margin:60px auto}.startup-error>p{font-size:.8rem;color:var(--muted)}.search-field input:not([type=checkbox]){border:0;margin:0;padding:0;min-width:0;background:transparent;height:42px}.search-field{margin-bottom:0}@media(min-width:1440px){.main-shell main{padding:36px 55px 45px}.hero{min-height:350px}.hero-content{padding:43px 0 30px 43px}.hero h1{font-size:3.6rem}.hero-art img{width:112%}.recipe-picture{height:200px}.quick-card{flex-direction:row;text-align:left;padding:20px 15px;gap:12px}.quick-card>svg{display:block;margin-left:auto}.quick-icon{width:48px;height:48px}.quick-card small{font-size:.65rem}.quick-card strong{font-size:.82rem}.hero-content>p:not(.eyebrow){font-size:.9rem}}@media(max-width:1100px){.app-shell{grid-template-columns:200px minmax(0,1fr)}.sidebar{padding:30px 15px 20px}.brand{font-size:1.5rem;gap:8px}.brand-mark{width:38px;height:38px}.brand small{font-size:.57rem}.main-shell main{padding:25px}.topbar{padding:0 25px;height:80px}.topbar-caption{display:none}.topbar-actions{margin-left:auto}.site-footer{margin:0 25px}.hero-content{padding:30px 0 25px 27px}.hero{min-height:300px;grid-template-columns:1.25fr 1fr}.hero h1{font-size:2.5rem}.hero .eyebrow{font-size:.49rem}.hero-art img{width:135%;height:115%}.art-note{width:85px;height:85px;font-size:.75rem}.quick-card small{font-size:.6rem}.recipe-grid{gap:13px}.recipe-picture{height:140px}.recipe-card-body{padding:14px 12px}.recipe-card h3{font-size:1.05rem}.recipe-meta{gap:9px;font-size:.61rem}.home-bottom{grid-template-columns:1.4fr 1fr}.knowledge-teaser{padding:23px 18px;gap:13px}.knowledge-teaser h2{font-size:1.4rem}.mini-icon{display:none}.shopping-teaser{padding:22px}.page-intro{align-items:flex-start}.page-intro>.button{font-size:.73rem;padding:11px 12px}.toolbar{flex-direction:column;align-items:stretch;gap:18px}.toolbar>.search-field{width:100%}.tabs{align-self:start}.detail-layout{grid-template-columns:minmax(0,1.35fr) minmax(240px,1fr);gap:20px}.ingredient-panel{padding:18px}.ingredient-list li{grid-template-columns:65px 1fr;gap:4px}.detail-heading h1{font-size:2rem}.detail-image{height:220px}.scanner-layout{gap:18px}.scan-text-panel{padding:19px}.capture-frame{min-height:320px;padding:30px 15px}.capture-frame h2{font-size:1.3rem}.capture-actions{flex-direction:column}.scanner-progress{gap:11px;font-size:.73rem}.community-layout{grid-template-columns:1fr}.community-aside{display:none}.member-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.chat-layout{grid-template-columns:200px minmax(0,1fr)}.chat-list{padding:20px 8px}.chat-heading{padding:17px 13px}.account-layout{gap:25px}.account-story{padding:25px;min-height:610px}.account-story h1{font-size:2.5rem}.profile-layout{grid-template-columns:220px 1fr;gap:20px}.profile-card{padding:25px 18px}.source-grid,.knowledge-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.source-grid .source-card:last-child,.knowledge-grid .knowledge-card:last-child{grid-column:span 2}.editor-columns{gap:20px;grid-template-columns:1.4fr 1fr}.editor-form{padding:23px}.form-row{flex-wrap:wrap;gap:10px}.form-row>label{min-width:75px}}@media(max-width:760px){.app-shell{display:block}.sidebar{display:none}.topbar{height:auto;min-height:72px;padding:calc(10px + env(safe-area-inset-top)) 20px 10px;background:var(--surface);gap:10px}.mobile-brand{display:flex!important;align-items:center;gap:8px;font-size:1.43rem;font-weight:650;letter-spacing:-.05em}.mobile-brand .brand-mark{width:34px;height:34px;border-radius:10px}.topbar-actions{gap:8px}.topbar-actions>.icon-button{width:36px;min-width:36px;height:40px}.profile-button>span:last-child:not(:first-child){display:none}.profile-button .avatar{width:33px;height:33px}.demo-status{font-size:.6rem;gap:5px}.main-shell main{padding:23px 20px 30px}.site-footer{margin:0 20px 85px;flex-direction:column;align-items:flex-start;gap:12px;padding:20px 0;font-size:.63rem}.site-footer div{gap:15px;flex-wrap:wrap}.mobile-nav{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;bottom:0;left:0;right:0;border-top:1px solid var(--line);background:var(--surface);-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);padding:7px 10px calc(7px + env(safe-area-inset-bottom));z-index:20;min-height:72px}.mobile-nav a{display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;font-size:.58rem;color:var(--muted);min-height:55px;text-decoration:none}.mobile-nav a>span{height:31px;width:42px;display:flex;align-items:center;justify-content:center;border-radius:10px}.mobile-nav a.active{color:var(--green);font-weight:650}.mobile-nav a.active>span{background:var(--surface-soft)}.mobile-nav .scanner-nav>span{background:var(--primary-bg);color:var(--on-primary)}.mobile-nav .scanner-nav.active>span{background:var(--primary-bg)}.welcome-line{margin:0 0 18px}.welcome-line>p{font-size:.77rem}.welcome-line>.badge{display:none}.hero{min-height:355px;grid-template-columns:1fr .7fr;border-radius:17px}.hero-content{padding:27px 0 25px 24px}.hero h1{font-size:2.48rem;line-height:1.08;max-width:290px;position:relative}.hero .eyebrow{font-size:.47rem;letter-spacing:.12em;max-width:200px;margin-bottom:18px}.hero p:not(.eyebrow){font-size:.73rem;line-height:1.75;margin:18px 0 20px;position:relative;max-width:210px}.hero .desktop-break{display:none}.hero-art{margin-left:0;border-radius:55% 0 0 50%;background:var(--primary-bg);overflow:visible}.hero-art>img{height:83%;width:210%;right:-48%;top:25px;opacity:.95}.art-note{width:76px;height:76px;right:10px;bottom:19px;font-size:.71rem}.hero-note{font-size:.52rem;margin-top:19px}.hero .button{font-size:.72rem;padding:11px 13px;min-height:43px}.quick-grid{grid-template-columns:1fr 1fr;gap:11px;margin:18px 0 28px}.quick-card{flex-direction:row;text-align:left;gap:12px;padding:15px 13px;border-radius:12px}.quick-icon{width:41px;height:41px}.quick-icon svg{width:21px;height:21px}.quick-card strong{font-size:.76rem;margin-bottom:3px}.quick-card small{font-size:.58rem;line-height:1.5}.section{margin:26px 0}.section-heading{gap:8px;align-items:flex-end;margin-bottom:16px}.section-heading .eyebrow{font-size:.48rem;letter-spacing:.14em}.section-heading h2{font-size:1.54rem}.section-heading .text-button{font-size:.64rem;gap:5px;min-height:30px;white-space:nowrap}.section-heading .text-button svg{width:15px}.home-recipes{grid-template-columns:repeat(3,230px);overflow-x:auto;margin:0 -20px;padding:0 20px 10px;scroll-snap-type:x mandatory;gap:13px}.home-recipes .recipe-card{scroll-snap-align:start}.recipe-grid:not(.home-recipes){grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.recipe-picture{height:155px}.recipe-card-body{padding:15px}.recipe-card h3{font-size:1.15rem;min-height:2.7em}.recipe-meta{font-size:.65rem;gap:13px}.review-label{font-size:.56rem}.home-bottom{grid-template-columns:1fr;gap:13px;margin:24px 0}.knowledge-teaser{padding:24px;gap:15px}.knowledge-teaser h2{font-size:1.6rem}.knowledge-teaser .eyebrow{font-size:.54rem}.mini-icon{display:flex;width:37px;height:37px}.shopping-teaser{padding:21px 24px;display:grid;grid-template-columns:32px 1fr;gap:0 15px;align-items:center}.shopping-teaser>svg{grid-row:span 2;margin:0}.shopping-teaser>p{grid-column:2;margin:8px 0 0}.shopping-teaser>.text-button{grid-column:2;font-size:.7rem}.notice{font-size:.7rem;padding:13px;gap:9px;line-height:1.7}.notice>svg{width:17px}.page-intro{display:block;margin:3px 0 25px}.page-intro .eyebrow{font-size:.53rem}.page-intro h1{font-size:2.2rem;line-height:1.15}.page-intro .lead{font-size:.8rem;line-height:1.75}.page-intro>.button{margin-top:20px;font-size:.77rem}.toolbar{gap:15px;margin-bottom:18px}.tabs{width:100%;overflow:auto;gap:0}.tabs button{font-size:.73rem;padding:12px 13px;gap:6px;flex-shrink:0}.tabs button svg{width:16px}.filter-line{gap:10px;margin-bottom:22px}.filter-line .result-count{display:none}.chip-check{font-size:.68rem;gap:5px;min-height:40px}.select-label{font-size:.68rem;gap:7px;width:100%}.select-label select{min-width:100px;padding:8px 10px;font-size:.69rem}.detail-layout{display:flex;flex-direction:column;gap:25px}.detail-main{display:contents}.detail-image{order:0;width:100%;height:230px}.detail-heading{order:1;padding:0}.detail-heading h1{font-size:2.2rem;line-height:1.17;margin:15px 0}.ingredient-panel{order:2;position:static;width:100%;padding:22px}.preparation{order:3;width:100%;padding-top:24px}.detail-main>.notice{order:4;margin:0}.detail-actions{order:5}.detail-heading .lead{font-size:.85rem}.detail-heading .recipe-meta{font-size:.75rem;gap:18px}.author-line{margin-top:18px;gap:10px}.ingredient-list li{grid-template-columns:85px 1fr;gap:15px;font-size:.82rem}.ingredient-list strong{font-size:.8rem}.preparation h2{font-size:1.8rem}.preparation li p{font-size:.82rem}.editor-form{padding:21px}.editor-columns{display:flex;flex-direction:column;gap:15px}.upload-panel{width:100%;margin-bottom:23px}.upload-placeholder{height:130px}.form-row>label{min-width:65px}.scanner-progress{gap:8px;font-size:.63rem;justify-content:space-between;align-items:center;margin:10px 0 22px}.scanner-progress>svg{width:12px}.scanner-progress>span{gap:5px}.scanner-progress b{width:21px;height:21px;font-size:.6rem;flex-shrink:0}.scanner-layout{grid-template-columns:1fr;gap:23px}.capture-frame{min-height:300px;padding:28px 20px}.capture-frame h2{font-size:1.55rem}.capture-actions{flex-direction:row;gap:10px}.capture-actions .button{font-size:.72rem;gap:6px}.capture-actions .button svg{width:17px}.scan-text-panel{padding:22px}.scan-text-panel .checkbox-label{font-size:.75rem}.scan-result{padding:21px;scroll-margin-top:15px}.result-title{gap:12px;align-items:flex-start}.result-title h2{font-size:1.6rem}.result-title .eyebrow{font-size:.48rem}.result-icon{height:39px;width:39px}.finding{grid-template-columns:1fr;gap:11px;font-size:.8rem}.highlight-text{padding:14px}.shopping-layout{gap:20px}.shopping-list-panel{padding:20px 16px}.shopping-list-panel h2{font-size:1.5rem}.shopping-list-panel .section-heading{align-items:center;gap:6px}.shopping-list-panel .section-heading .badge{font-size:.57rem}.add-item-form{gap:7px;flex-wrap:wrap;justify-content:space-between}.add-item-form label.item-name{flex:0 0 100%;width:100%;margin-bottom:3px}.add-item-form label{width:calc(50% - 30px);flex:1}.add-item-form>.button{flex:0;height:43px;min-width:45px}.shopping-items li{gap:8px;padding:13px 0}.shopping-items .icon-button{width:30px;min-width:30px}.item-title strong{font-size:.8rem}.source-grid{grid-template-columns:1fr;gap:15px}.source-grid .source-card:last-child{grid-column:auto}.source-card{padding:23px}.finder-intro .search-field{margin-bottom:18px}.post-card{padding:19px;margin:17px 0}.post-head small{font-size:.59rem}.post-head .badge{font-size:.6rem}.post-body{font-size:.84rem;line-height:1.8}.post-actions{gap:13px}.member-grid{grid-template-columns:1fr 1fr;gap:12px}.member-card{padding:20px 13px}.member-profile-button{min-height:255px}.member-profile-button p{font-size:.72rem;line-height:1.7}.member-profile-button .badge{font-size:.56rem}.member-card .button{font-size:.71rem;padding:11px 10px;gap:6px}.chat-layout{grid-template-columns:1fr;min-height:440px}.chat-layout .chat-conversation{display:none}.chat-layout.has-active .chat-conversation{display:flex}.chat-layout.has-active .chat-list{display:none}.chat-list{border:0;padding:20px}.chat-list>button{padding:15px 10px}.chat-heading{padding:14px;gap:10px}.chat-heading .mobile-only{display:flex!important;width:28px;min-width:28px;height:40px;padding:0}.chat-heading small{font-size:.58rem}.messages{padding:20px 15px;min-height:280px;max-height:55dvh}.message{max-width:94%}.message-compose{padding:12px}.community-layout{display:block}.community-note{display:none}.account-layout{display:block}.account-story{display:none}.account-form-panel{max-width:500px;margin:auto;padding:0}.account-form-panel h2{font-size:2rem}.account-form-panel .back{margin:0 0 24px}.profile-layout{display:flex;flex-direction:column;gap:20px}.profile-card{width:100%;padding:26px}.profile-editor{padding:23px;width:100%}.settings-grid{grid-template-columns:1fr;gap:17px}.settings-card{padding:23px}.settings-card h2{font-size:1.65rem}.knowledge-grid{grid-template-columns:1fr;gap:15px}.knowledge-grid .knowledge-card:last-child{grid-column:auto}.knowledge-card{padding:25px}.knowledge-card .quick-icon{width:49px;height:49px}.knowledge-card h2{font-size:1.6rem;margin:18px 0 13px}.legal-page h2{font-size:1.5rem}.legal-page>p{font-size:.82rem}.sources-section h2{font-size:1.6rem;gap:10px}.toast{bottom:calc(88px + env(safe-area-inset-bottom));left:50%;font-size:.74rem;width:calc(100% - 32px);padding:10px 10px 10px 14px}.toast>span{flex:1;overflow-wrap:anywhere}dialog{padding:23px 20px;border-radius:17px;max-height:calc(100dvh - 35px)}.modal-heading h2{font-size:1.55rem}.source-details{grid-template-columns:100px 1fr;gap:15px;font-size:.78rem}}@media(max-width:380px){.main-shell main{padding:20px 16px}.topbar{padding-left:16px;padding-right:16px}.mobile-brand{font-size:1.3rem}.topbar-actions{gap:3px}.demo-status{font-size:.53rem}.topbar-actions>.icon-button{width:30px;min-width:30px}.hero{min-height:350px;grid-template-columns:1fr .43fr}.hero-content{padding-left:21px}.hero h1{font-size:2.35rem}.hero-art>img{width:300%;right:-120%;top:33px;height:75%}.art-note{width:69px;height:69px;font-size:.65rem;right:7px;bottom:14px}.quick-card{gap:9px;padding:14px 10px}.quick-card .quick-icon{width:34px;height:34px}.quick-card strong{font-size:.72rem}.quick-card small{font-size:.54rem}.home-recipes{margin:0 -16px;padding:0 16px 10px}.recipe-grid:not(.home-recipes){grid-template-columns:1fr}.recipe-grid:not(.home-recipes) .recipe-picture{height:210px}.recipe-card h3{min-height:0;font-size:1.25rem}.recipe-meta{font-size:.68rem}.scanner-progress{font-size:.57rem;gap:4px}.scanner-progress>span{gap:4px}.scanner-progress b{width:20px;height:20px}.scanner-progress>svg{width:10px}.capture-actions .button{padding:11px 7px;font-size:.66rem}.member-grid{grid-template-columns:1fr}.member-profile-button{min-height:0}.member-profile-button .avatar{width:70px;height:70px}.member-profile-button p{font-size:.8rem}.section-tabs button{padding:12px 9px;font-size:.68rem}.knowledge-teaser{padding:22px 18px;gap:10px}.knowledge-teaser h2{font-size:1.45rem}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}@media(forced-colors:active){.item-check,.button,.nav-item.active,.badge{border:1px solid ButtonText}.quick-icon,.brand-mark{outline:1px solid CanvasText}}.favorite,.portion-control .icon-button,.shopping-items .icon-button{width:44px;min-width:44px;height:44px}.item-check{width:36px;height:44px;min-width:36px}.profile-button{min-width:44px}.search-field button{min-height:40px}@media(max-width:760px){:root{font-size:18px}.hero{display:block;min-height:360px}.hero-content{padding:26px 23px 27px}.hero h1{font-size:2.25rem;max-width:100%;line-height:1.08}.hero .eyebrow{font-size:.48rem;max-width:230px}.hero p:not(.eyebrow){font-size:.75rem;max-width:245px;margin:18px 0 20px}.hero-art{position:absolute;width:125px;height:125px;bottom:-12px;right:-12px;border-radius:50%;overflow:hidden;background:var(--surface-soft)}.hero-art>img{width:150%;height:150%;top:-25%;right:-25%;transform:rotate(-12deg);opacity:1}.art-note{display:none}.hero-note{max-width:180px;font-size:.55rem}.hero .button{font-size:.75rem}.quick-card small{font-size:.63rem}.quick-card strong{font-size:.75rem}.quick-card{padding:15px 11px;gap:10px}.quick-card .quick-icon{width:35px;height:35px}.notice{font-size:.75rem}.recipe-meta{font-size:.7rem}.review-label{font-size:.64rem}.privacy-note{font-size:.74rem}.scan-text-panel .checkbox-label{font-size:.8rem}.scanner-progress{font-size:.59rem;gap:5px}.scanner-progress>span{gap:4px}.scanner-progress b{width:22px;height:22px}.scanner-progress>svg{width:10px}.shopping-items{margin:0 -4px}.shopping-items .icon-button{width:40px;min-width:40px;height:44px}.item-check{width:36px;min-width:36px;height:44px}.capture-actions{flex-wrap:wrap}.capture-actions .button{font-size:.71rem;padding:12px 9px}.toolbar>.tabs{flex-wrap:wrap}.member-card .button{min-height:46px}.mobile-nav a{font-size:.58rem}.topbar{padding-left:16px;padding-right:16px}.topbar-actions{gap:4px}.mobile-brand{font-size:1.3rem}.demo-status{font-size:.52rem}.topbar-actions>.icon-button{min-width:34px;width:34px}.recipe-grid:not(.home-recipes){grid-template-columns:1fr}.recipe-grid:not(.home-recipes) .recipe-picture{height:220px}.recipe-card h3{min-height:0}.recipe-card-body{padding:18px}.home-recipes .recipe-card h3{min-height:2.7em}.section-heading{flex-wrap:wrap}.section-heading .text-button{white-space:normal}.settings-card{overflow-wrap:anywhere}.chat-layout{max-width:100%}}@media(max-width:380px){.hero h1{font-size:2.08rem}.hero-content{padding-left:21px;padding-right:21px}.hero p:not(.eyebrow){max-width:235px}.hero-art{width:102px;height:102px;right:-8px;bottom:-8px}.quick-card{padding:14px 10px;gap:8px}.quick-card strong{font-size:.69rem}.quick-card small{font-size:.58rem}.quick-card .quick-icon{width:32px;height:32px}.mobile-brand{font-size:1.18rem}.demo-status{font-size:.48rem}.scanner-progress{font-size:.54rem}.scanner-progress b{width:20px;height:20px}.scanner-progress>svg{width:8px}.section-tabs button{font-size:.63rem;padding:12px 8px}.section-tabs{flex-wrap:wrap}}main{overflow-wrap:anywhere}.hero-content{min-width:0}.hero h1{overflow-wrap:anywhere}.scanner-progress{flex-wrap:wrap}.mobile-nav a{overflow-wrap:anywhere;text-align:center}.site-footer,.source-details dd,.button{overflow-wrap:anywhere}.topbar{flex-wrap:wrap}.profile-button{max-width:180px;overflow-wrap:anywhere}@media(max-width:760px){.site-footer{margin-bottom:120px}.mobile-nav a{min-width:0}.form-row{flex-wrap:wrap}.toolbar>.tabs{flex-wrap:wrap}.page-intro .button{max-width:100%}.scanner-progress>span{max-width:100%}.post-head,.topbar-actions{flex-wrap:wrap}.quick-card{min-width:0}.quick-card>span:not(.quick-icon){min-width:0}}.account-form-panel h1{font-size:2rem;margin-bottom:16px}.account-story h2{font-size:2.9rem;line-height:1.14}.recipe-card .error-box{font-size:.72rem;padding:10px}[hidden]{display:none!important}.upload-button:focus-within{outline:3px solid var(--focus);outline-offset:4px}@font-face{font-family:Inter;src:url(/fonts/Inter-variable.ttf) format("truetype");font-style:normal;font-weight:100 900;font-display:swap}@font-face{font-family:Inter Tight;src:url(/fonts/InterTight-variable.ttf) format("truetype");font-style:normal;font-weight:100 900;font-display:swap}:root{font-family:Inter,Segoe UI,sans-serif;font-size:16px;color:var(--text);background:var(--surface)}h1,h2{font-family:Inter Tight,Inter,sans-serif;font-weight:600;letter-spacing:-.025em}h3,.brand,.mobile-brand{font-family:Inter Tight,Inter,sans-serif}.app-shell,.sidebar{background:var(--surface)}.brand{color:var(--text);letter-spacing:-.035em}.brand-mark{background:var(--primary-bg);color:var(--on-primary)}.topbar{min-height:94px;height:auto;background:var(--primary-bg);color:var(--on-primary);border-bottom:0;padding-top:calc(15px + env(safe-area-inset-top));padding-bottom:15px;flex-wrap:nowrap}.celis-appbar-home{min-width:0;flex:1;text-decoration:none}.celis-appbar-home:hover{text-decoration:none}.celis-appbar-title{display:inline-block;font-family:Inter Tight,Inter,sans-serif;font-size:2.1875rem;font-weight:600;line-height:1.15;letter-spacing:0;color:var(--muted);background:linear-gradient(90deg,var(--surface-soft) 0%,var(--surface-soft) 45%,var(--surface-soft) 100%);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}.topbar-actions{flex-shrink:0;gap:10px}.topbar .icon-button{color:var(--on-primary)}.topbar .icon-button:hover{background:var(--primary-bg)}.topbar .profile-button{color:var(--on-primary)}.topbar .avatar{color:var(--text);background:var(--surface-soft)}.topbar .demo-status{color:var(--on-primary)}.topbar .demo-status i{background:var(--surface-soft)}.topbar :focus-visible{outline-color:var(--focus)}.mobile-nav{background:var(--surface);border-color:var(--line)}.mobile-nav a.active{color:var(--text)}.mobile-nav .scanner-nav.active>span{background:var(--primary-bg)}.button.primary,.nav-item.active,.button.primary:hover,.nav-item.active:hover{background:var(--primary-bg)}.badge.green,.badge.neutral{background:var(--surface-soft);color:var(--text)}input,textarea,select{color:var(--text)}.celis-home{max-width:680px;margin:0 auto;padding:0 0 16px}.celis-introduction{text-align:center}.celis-introduction h1{font-family:Inter,sans-serif;font-size:1rem;font-weight:500;line-height:1.65;letter-spacing:1px;text-decoration:underline;text-underline-offset:3px;color:var(--text);max-width:580px;margin:0 auto 22px}.celis-search{display:flex;width:min(100%,340px);margin:0 auto;padding:0 4px 0 14px;align-items:center;border:1px solid transparent;background:var(--surface-soft);border-radius:8px}.celis-search:focus-within{border-color:var(--line)}.celis-search input{min-width:0;flex:1;width:100%;padding:12px 0;border:0;outline:none;border-radius:8px;background:transparent;color:var(--text);font-size:.875rem;font-weight:500}.celis-search input::placeholder{color:var(--text);opacity:1}.celis-search button{border:0;background:transparent;min-width:44px;min-height:44px;border-radius:6px;display:grid;place-items:center}.celis-search-results{max-width:530px;text-align:left;margin:12px auto 0;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:12px}.celis-search-results>p{font-size:.78rem;color:var(--muted)}.celis-search-results ul{list-style:none;margin:7px 0 0;padding:0}.celis-search-results li+li{border-top:1px solid var(--line)}.celis-search-results a{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:11px 5px;border-radius:5px;min-height:48px}.celis-search-results a:hover{background:var(--surface-soft);text-decoration:none}.celis-search-results strong{font-size:.85rem;display:block}.celis-search-results small{font-size:.7rem;color:var(--muted);display:block}.celis-ingredients{max-width:560px;margin:30px auto 0}.celis-ingredients h2{color:var(--danger-text);text-align:center;font-family:Inter,sans-serif;font-size:1.125rem;font-weight:600;letter-spacing:0;margin-bottom:18px}.celis-ingredient-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px}.celis-ingredient-columns ul{margin:0;padding:0 0 0 19px}.celis-ingredient-columns li{font-size:.875rem;line-height:1.6;font-weight:500;padding-left:1px;margin-bottom:5px;overflow-wrap:anywhere}.celis-ingredient-exceptions{margin-top:14px;font-size:.71875rem;line-height:1.55;color:var(--muted)}.celis-trace-note{margin-top:16px;color:var(--danger-text);font-size:.8125rem;line-height:1.6}.celis-source-note{margin-top:9px;color:var(--muted);font-size:.65625rem;line-height:1.55}.celis-source-note a{display:inline-block;padding:6px 0;text-decoration:underline;text-underline-offset:3px}.celis-home-shortcuts{display:grid;grid-template-columns:repeat(2,90px);justify-content:center;column-gap:50px;row-gap:24px;margin:26px auto 0;padding:0}.celis-home-shortcut{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;color:var(--text);font-family:Inter Tight,Inter,sans-serif;font-size:.875rem;font-weight:600;line-height:1.4}.celis-home-shortcut:hover{text-decoration:none}.celis-shortcut-circle{width:90px;height:90px;border-radius:50%;display:grid;place-items:center;background:var(--primary-bg);color:var(--on-primary);font-family:"Segoe UI Emoji","Apple Color Emoji",sans-serif;font-size:2.25rem;line-height:1;transition:background .15s,transform .15s}.celis-home-shortcut:hover .celis-shortcut-circle{background:var(--primary-bg);transform:translateY(-2px)}.celis-home-shortcut:focus-visible{outline-offset:8px;border-radius:46px 46px 8px 8px}.celis-recipe-overview{max-width:1120px;margin:0 auto}.celis-all-recipes{display:flex;align-items:center;gap:19px;background:var(--surface-soft);border:1px solid var(--line);border-radius:13px;padding:23px;color:var(--text)}.celis-all-recipes:hover{background:var(--surface-soft);text-decoration:none}.celis-all-recipes>span:nth-child(2){flex:1;min-width:0}.celis-all-recipes strong{display:block;font-family:Inter Tight,Inter,sans-serif;font-size:1.25rem}.celis-all-recipes small{display:block;margin-top:5px;color:var(--muted)}.celis-overview-icon{width:58px;height:58px;background:var(--primary-bg);color:var(--on-primary);border-radius:50%;display:grid;place-items:center;flex-shrink:0}.celis-overview-heading{font-size:1.2rem;margin:32px 0 18px}.celis-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.celis-category-card{display:flex;flex-direction:column;padding:24px 21px 20px;border:1px solid var(--line);border-radius:13px;background:var(--surface);min-width:0}.celis-category-card:hover{border-color:var(--line);background:var(--surface);text-decoration:none}.celis-category-emoji{width:54px;height:54px;border-radius:50%;background:var(--surface-soft);display:grid;place-items:center;font-size:1.6875rem;margin-bottom:16px}.celis-category-card h3{font-size:1rem;color:var(--text)}.celis-category-card p{font-size:.76rem;color:var(--muted);margin-top:5px}.celis-category-count{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:.72rem;margin-top:22px;padding-top:13px;border-top:1px solid var(--line)}.celis-collections{display:grid;grid-template-columns:1fr 1fr;gap:17px;margin-top:27px}.celis-collections a{display:flex;align-items:center;gap:14px;padding:20px;border:1px solid var(--line);border-radius:12px;min-width:0}.celis-collections a:hover{background:var(--surface-soft);text-decoration:none}.celis-collections a>span{flex:1;min-width:0}.celis-collections strong,.celis-collections small{display:block}.celis-collections strong{font-size:.85rem}.celis-collections small{margin-top:4px;color:var(--muted);font-size:.7rem}@media(max-width:1100px){.celis-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.celis-appbar-title{font-size:2rem}.topbar .demo-status{display:none}}@media(max-width:760px){.topbar{padding:calc(16px + env(safe-area-inset-top)) 20px 16px;min-height:92px;gap:10px;background:var(--primary-bg)}.celis-appbar-title{font-size:clamp(1.625rem,6.5vw,2.1875rem);max-width:100%}.topbar-actions{margin-left:0;gap:2px}.topbar .profile-button{min-width:36px}.main-shell main{padding-top:24px}.celis-home{max-width:560px}.celis-introduction h1{max-width:440px;font-size:1rem;line-height:1.6}.celis-ingredient-columns{gap:16px}.celis-ingredients{margin-top:26px}.celis-category-grid{gap:12px}.celis-category-card{padding:19px 14px 16px}.celis-category-card p{font-size:.72rem}.celis-category-card h3{font-size:.95rem}.celis-all-recipes{padding:19px 16px;gap:13px}.celis-all-recipes strong{font-size:1.1rem}.celis-overview-icon{width:48px;height:48px}.celis-collections{grid-template-columns:1fr;gap:12px}.celis-collections a{padding:18px}}@media(max-width:380px){.topbar{padding-left:16px;padding-right:16px}.celis-ingredient-columns{gap:10px}.celis-ingredient-columns li{font-size:.8125rem}.celis-home-shortcuts{column-gap:50px}}@media(prefers-reduced-motion:reduce){.celis-shortcut-circle{transition:none}}@media(forced-colors:active){.celis-appbar-title{background:none;color:LinkText;-webkit-text-fill-color:LinkText}.celis-shortcut-circle{border:2px solid ButtonText}}.celis-appbar-title{overflow-wrap:anywhere}.celis-trace-note{margin:.75rem 0 1rem;line-height:1.5;color:var(--muted)}.celis-appbar-label-mobile{display:none}@media(max-width:760px){.topbar .celis-appbar-home{gap:7px}.topbar .celis-appbar-title{font-size:1.125rem;line-height:1.15;white-space:nowrap;overflow-wrap:normal}.celis-appbar-label-wide{display:none}.celis-appbar-label-mobile{display:inline}}@media(max-width:760px){#root .celis-home-shortcuts{display:none}}:root{--app-header-height: 94px;--app-header-scroll-shift: 8px;--app-header-stuck-height: max(0px, calc(var(--app-header-height) - var(--app-header-scroll-shift)));scroll-padding-top:calc(var(--app-header-stuck-height) + 12px)}.app-shell>.topbar{position:sticky;top:calc(-1 * var(--app-header-scroll-shift));z-index:60}.app-shell>.sidebar{top:var(--app-header-stuck-height);height:calc(100dvh - var(--app-header-stuck-height))}html{scrollbar-gutter:stable}@supports not (scrollbar-gutter: stable){body{overflow-y:scroll}}.app-shell>.topbar{flex-wrap:wrap}.topbar .celis-appbar-home{flex:0 0 auto}.topbar .topbar-actions{margin-left:auto}.app-page-brand{margin:0;padding:16px var(--section-inline-inset) 0;font-size:1.125rem;font-weight:600;line-height:1.3;color:var(--text);text-align:center;overflow-wrap:anywhere}.celis-ingredient-grid-wrap{position:relative;isolation:isolate}.celis-ingredient-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 16px;margin:10px 0 12px;padding:0 0 0 20px;position:relative}.celis-ingredient-grid li{margin:0;padding:0 2px;font-size:.86rem;line-height:1.45;font-weight:600}.celis-ingredient-silhouette{position:absolute;width:72%;height:90%;left:14%;top:5%;opacity:.07;pointer-events:none;stroke-width:1.5;z-index:-1}:root{--canvas: #eff4f0;--text: #183b2c;--muted: #52665b;--accent: #226043;--green: var(--accent);--cream: var(--canvas);--line: #bccdc1;--field-border: #7a9484;--surface: #fcfefc;--surface-soft: #edf4ef;--input: #f9fcf9;--primary-bg: #2e6648;--on-primary: #f3faf5;--focus: #236444;--neutral-bg: #e5ebe7;--danger-text: #9f303a;--danger-bg: #fce9e9;--danger-border: #c4777b;--destructive: #a1353d;--warning-text: #77500e;--warning-bg: #fbefd8;--warning-border: #b58a3b;--success-text: #22603e;--success-bg: #dfefe3;--success-border: #75a185;--shadow-ink: #071b1426;--backdrop: #05110bd9;--header-text: #f0f7f2;--header-muted: #f0f7f2;--nav-surface: #f2f7f3f5;--panel-sheen: linear-gradient(150deg, #ffffffa8, #eef5ef50);--page-gradient: radial-gradient(ellipse at 22% 0%, #ffffffbd, transparent 58%), linear-gradient(180deg, #f4f9f5 0%, #f2f7f3 55%, #ebf2ed 100%);--metallic: radial-gradient(ellipse at 18% 0%, #a8c8b43b, transparent 55%), linear-gradient(112deg, transparent 30%, #d3e4da0f 47%, transparent 62%), linear-gradient(180deg, #326449 0%, #1a402d 65%, #10291c 100%);--primary-metal: linear-gradient( 165deg, #457a59 0%, #2e6648 48%, #244c35 100% );--silver-text: linear-gradient(180deg, #ffffff 0%, #e8f2ec 52%, #c8dfd0 100%);color:var(--text);scrollbar-color:var(--field-border) var(--canvas)}:root[data-theme=dark]{--canvas: #070e0a;--text: #edf4ef;--muted: #b8ccbf;--accent: #b5ddc2;--line: #3b5546;--field-border: #6a8373;--surface: #1c3024;--surface-soft: #2b4535;--input: #112219;--primary-bg: #3d6b4e;--on-primary: #f4faf6;--focus: #b8e7c9;--neutral-bg: #29372f;--danger-text: #ffb8bc;--danger-bg: #3a2025;--danger-border: #bd7a81;--destructive: #923139;--warning-text: #f6d18c;--warning-bg: #342a19;--warning-border: #b59356;--success-text: #b8dfc3;--success-bg: #1c3828;--success-border: #739e82;--shadow-ink: #0000005c;--backdrop: #010704df;--nav-surface: #0b1710f5;--panel-sheen: linear-gradient(150deg, #b7d5c00a, #0000000a);--page-gradient: radial-gradient(ellipse at 24% 0%, #c2dccb16, transparent 46%), linear-gradient(180deg, #29563e 0%, #1c3d2b 25%, #10261a 62%, #040b07 100%);--primary-metal: linear-gradient( 165deg, #4b7a59 0%, #3d6b4e 48%, #2c513b 100% );scrollbar-color:var(--field-border) var(--canvas)}body{min-height:100dvh;color:var(--text);background:var(--page-gradient);background-attachment:fixed}.app-shell{background:transparent}.sidebar{background:var(--panel-sheen);border-color:var(--line)}.brand{color:var(--text)}.brand-mark,.celis-overview-icon{background:var(--primary-metal);color:var(--on-primary);box-shadow:inset 0 1px #e6f2e527}.topbar{background:var(--metallic);color:var(--header-text);border-bottom:1px solid #b9d4c22e;box-shadow:inset 0 1px #e2f1e822,0 8px 28px #010b0514}.celis-appbar-title{color:var(--header-text);background:var(--silver-text);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;text-shadow:0 2px 16px #00000014}.topbar .icon-button,.topbar .profile-button{color:var(--header-text)}.topbar .icon-button:hover{background:#d9eade17}.topbar .avatar{color:var(--primary-bg);background:var(--header-text)}.topbar .demo-status{color:var(--header-muted)}.topbar .demo-status i{background:var(--header-muted)}.topbar :focus-visible{outline-color:var(--header-text)}.nav-item{color:var(--muted)}.nav-item:hover{color:var(--text);background:var(--surface-soft)}.nav-item.active,.nav-item.active:hover{color:var(--on-primary);background:var(--primary-metal);box-shadow:inset 0 0 0 1px #d2e8d536}.mobile-nav{background:var(--nav-surface);border-color:var(--line)}.mobile-nav a{color:var(--muted)}.mobile-nav .scanner-nav>span{background:transparent;color:inherit}.mobile-nav a.active{color:var(--accent)}.mobile-nav a.active>span,.mobile-nav .scanner-nav.active>span{background:var(--primary-metal);color:var(--on-primary);box-shadow:inset 0 0 0 1px #d2e8d549}.button.primary,.celis-shortcut-circle{background:var(--primary-metal);color:var(--on-primary);border:1px solid var(--field-border);box-shadow:inset 0 1px #eef8ee29,0 5px 16px #00000013}.button.primary:hover,.celis-home-shortcut:hover .celis-shortcut-circle{background:var(--primary-metal);filter:brightness(1.12)}.button.secondary{background:var(--surface);color:var(--accent);border-color:var(--field-border)}.button.cream{background:var(--surface-soft);color:var(--text)}.button.destructive{background:var(--destructive);color:#fff}.button:hover{filter:brightness(1.04)}.text-button{color:var(--accent)}.danger,.text-button.danger{color:var(--danger-text)}.favorite{background:var(--surface);color:var(--text);border:1px solid var(--line)}.favorite.is-favorite{color:var(--danger-text)}.celis-home-shortcut{color:var(--text)}.celis-shortcut-circle{font-family:inherit}.celis-introduction h1,.celis-category-card h3{color:var(--text)}.celis-search{background:var(--input);border:1px solid var(--field-border);border-radius:12px;box-shadow:inset 0 1px #cde2d310}.celis-search:focus-within,.search-field:focus-within{border-color:var(--focus);outline:2px solid var(--focus);outline-offset:3px}.celis-search input{background:transparent;color:var(--text)}.celis-search input::placeholder{color:var(--muted)}.celis-search button{color:var(--accent)}.celis-search-results{background:var(--surface);box-shadow:0 12px 28px var(--shadow-ink)}.celis-search-results a:hover{background:var(--surface-soft)}.celis-ingredients h2{color:var(--danger-text)}.celis-trace-note{color:var(--warning-text)}.celis-all-recipes{background:var(--surface-soft);border-color:var(--line);color:var(--text)}.celis-all-recipes:hover{background:var(--surface);border-color:var(--accent)}.celis-category-emoji{color:var(--accent);background:var(--surface-soft)}.celis-category-card:hover{border-color:var(--accent);background:var(--surface)}.celis-collections a{background:var(--surface)}.celis-collections a:hover{background:var(--surface-soft);border-color:var(--accent)}.recipe-card,.ingredient-panel,.profile-card,.profile-editor,.settings-card,.knowledge-card,.post-card,.member-card,.source-card,.shopping-list-panel,.scan-text-panel,.scan-result,.celis-category-card,.account-form-panel,.chat-conversation,.chat-list{background-color:var(--surface);background-image:var(--panel-sheen);box-shadow:0 7px 24px #010a0410}input:not([type=checkbox]):not([type=radio]),textarea,select{background:var(--input);color:var(--text);border-color:var(--field-border)}.celis-search input:not([type=checkbox]),.search-field input:not([type=checkbox]){background:transparent;border:0}input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}input,select,textarea{caret-color:var(--accent);accent-color:var(--accent)}input[type=checkbox]{accent-color:var(--primary-bg)}select option{background:var(--surface);color:var(--text)}.search-field{background:var(--input);color:var(--muted);border-color:var(--field-border)}:focus-visible{outline-color:var(--focus)}.upload-button:focus-within{outline-color:var(--focus)}::selection{background:var(--primary-bg);color:var(--on-primary)}.badge,.badge.green{background:var(--success-bg);color:var(--success-text)}.badge.neutral,.badge.white{background:var(--neutral-bg);color:var(--text)}.badge.amber{background:var(--warning-bg);color:var(--warning-text)}.badge.red{background:var(--danger-bg);color:var(--danger-text)}.notice{background:var(--neutral-bg);color:var(--text);border-color:var(--line)}.notice.warning{background:var(--warning-bg);color:var(--warning-text);border-color:var(--warning-border)}.error-box{display:flex;align-items:flex-start;flex-wrap:wrap;gap:9px;color:var(--danger-text);background:var(--danger-bg);border-color:var(--danger-border)}.error-box>p{flex:1;min-width:0}.error-box>svg{margin-top:3px}.success{color:var(--success-text);background:var(--success-bg);border-color:var(--success-border)}.result-icon{color:var(--warning-text);background:var(--warning-bg)}.gluten .result-icon{color:var(--danger-text);background:var(--danger-bg)}.no_match .result-icon{color:var(--success-text);background:var(--success-bg)}mark{color:var(--warning-text);background:var(--warning-bg);border-color:var(--warning-border)}mark.gluten{color:var(--danger-text);background:var(--danger-bg);border-color:var(--danger-border)}mark.trace{color:var(--text);background:var(--neutral-bg);border-color:var(--field-border)}mark.claim{color:var(--success-text);background:var(--success-bg);border-color:var(--success-border)}.item-check{border-color:var(--field-border)}.checked .item-check{background:var(--primary-bg);color:var(--on-primary)}.camera-preview{background:#020604}.toggle-line input{background:var(--neutral-bg);border-color:var(--field-border)}.toggle-line input:before{background:var(--text)}.toggle-line input:checked{background:var(--primary-bg)}.toggle-line input:checked:before{background:var(--on-primary)}dialog{background:var(--surface);color:var(--text);border-color:var(--field-border);box-shadow:0 28px 90px var(--shadow-ink)}dialog::backdrop{background:var(--backdrop)}.toast{color:var(--on-primary);background:var(--primary-metal);border-color:#b6d5be80}.theme-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0;margin:20px 0 14px;border:0;min-width:0}.theme-option{position:relative;margin:0;min-width:0;cursor:pointer}.theme-option:last-child{grid-column:1 / -1}.theme-option input[type=radio]{position:absolute;opacity:0;width:1px;height:1px;min-width:0;margin:0;padding:0;border:0}.theme-option>span{display:flex;align-items:center;gap:9px;padding:13px;min-height:52px;border-radius:11px;border:1px solid var(--field-border);background:var(--input);color:var(--muted);font-size:.8rem}.theme-option>span:after{content:"";margin-left:auto;border:1px solid currentColor;border-radius:50%;width:12px;height:12px;flex-shrink:0}.theme-option input:checked+span{background:var(--surface-soft);color:var(--accent);border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent);font-weight:600}.theme-option input:checked+span:after{background:currentColor;box-shadow:inset 0 0 0 3px var(--surface-soft)}.theme-option input:focus-visible+span{outline:3px solid var(--focus);outline-offset:4px}.settings-card .theme-status{margin-bottom:0;font-size:.75rem;line-height:1.7}.palette-options{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;max-width:288px;min-width:0;border:0;padding:0;margin:24px 0 14px}.palette-options legend{float:none;width:100%;padding:0;margin:0 0 12px;font-size:.9rem;font-weight:600;color:var(--text)}.palette-option{position:relative;display:grid;place-items:center;min-width:0;min-height:40px;margin:0;cursor:pointer}.palette-option input{position:absolute;opacity:0;width:1px;height:1px;margin:0;padding:0;min-height:0}.palette-option>span{display:grid;place-items:center;width:min(32px,100%);aspect-ratio:1;border:1px solid #ffffff66;border-radius:50%;box-shadow:inset 0 1px 1px #ffffff70;color:#fff}.palette-option input:checked+span{border-color:var(--text);box-shadow:0 0 0 2px var(--surface),0 0 0 4px var(--text),inset 0 1px 1px #ffffff70}.palette-option input:focus-visible+span{outline:3px solid var(--focus);outline-offset:5px}.palette-swatch svg{visibility:hidden;filter:drop-shadow(0 1px 1px #000b)}.palette-option input:checked+.palette-swatch svg{visibility:visible}@media(forced-colors:active){.palette-option input:checked+span{outline:2px solid Highlight}.palette-swatch{background:Canvas!important;color:CanvasText;border-color:CanvasText}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important}}@media(forced-colors:active){body,.topbar,.sidebar,.button,.celis-shortcut-circle{background:Canvas;color:CanvasText}.celis-appbar-title{background:none;color:LinkText;-webkit-text-fill-color:LinkText;text-shadow:none}.theme-option input:checked+span{outline:2px solid Highlight}}.avatar{color:var(--accent);background:var(--surface-soft)}.account-form-panel{background:transparent;box-shadow:none}.global-toolbar{display:flex;align-items:flex-start;gap:16px;padding:24px 43px 0}.global-search{flex:1;min-width:0;max-width:760px;position:relative}.global-search .celis-search{width:100%;margin:0;min-height:48px}.global-search .celis-search-results{position:absolute;top:calc(100% + 9px);left:0;right:0;margin:0;max-width:none;max-height:min(60dvh,460px);overflow:auto;z-index:40}.all-search-results{border-top:1px solid var(--line);margin-top:8px;font-size:.78rem;color:var(--accent)}.direct-add-recipe{min-height:48px;flex-shrink:0}.active-recipe-search{display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:.85rem}@media(max-width:760px){.global-toolbar{padding:18px 20px 0;gap:10px}.direct-add-recipe{max-width:128px;padding:10px 11px;font-size:.75rem;gap:6px}.direct-add-recipe span{max-width:84px;text-align:left}.global-search .celis-search{padding-left:10px}.global-search .celis-search input{font-size:.8rem}.global-search .celis-search button{min-width:34px}.global-search:has(+.direct-add-recipe) .celis-search input{font-size:.74rem}.global-search .celis-search-results{min-width:min(310px,calc(100vw - 40px))}}@media(max-width:380px){.global-toolbar{padding-left:16px;padding-right:16px}.direct-add-recipe{max-width:115px;padding:9px 8px}}
