@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@500;600;700&display=swap');
:root{--bg:#f6f7f2;--paper:#fff;--ink:#263d31;--muted:#828b80;--green:#244f3b;--green-soft:#eaf0e6;--line:#e8ebe2;--orange:#cc673c;--cream:#f4eee1;--shadow:0 10px 35px #293e2c06;font-family:Inter,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);font-size:14px;background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,summary,label{ -webkit-tap-highlight-color:transparent}button,a,summary{touch-action:manipulation}button{cursor:pointer}button{color:inherit}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #bc9764;outline-offset:4px}input:focus,textarea:focus{outline:2px solid #66876a;outline-offset:1px}button{border:0;background:none}a{color:inherit;text-decoration:none}input,textarea{min-width:0;border:1px solid var(--line);border-radius:8px;background:white;padding:11px 12px;color:var(--ink)}textarea{resize:vertical;width:100%;line-height:1.7}input::placeholder,textarea::placeholder{color:#a0a69b}input[type=checkbox],input[type=radio]{accent-color:var(--green)}input[type=number]{appearance:textfield;-moz-appearance:textfield}input::-webkit-inner-spin-button{appearance:none}fieldset{border:0;padding:0;margin:0}legend{padding:0;font-weight:600;margin-bottom:12px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.site-header{height:86px;border-bottom:1px solid var(--line);background:#fffdf8;display:flex;align-items:center;padding:0 max(4vw,24px);gap:70px}.brand{display:flex;align-items:center;gap:11px;font-family:"Noto Serif SC",serif;font-weight:700;font-size:26px;letter-spacing:3px;white-space:nowrap}.brand-mark{display:grid;place-items:center;border:1.5px solid #35573c;border-radius:11px 4px 11px 4px;width:38px;height:42px;font-size:24px;line-height:1;background:#eff1e8;transform:rotate(-4deg)}.brand small{display:block;font-family:Arial,sans-serif;letter-spacing:2.3px;font-size:8px;margin-top:2px;color:#7a8878}.site-header nav{align-self:stretch;display:flex;gap:35px}.nav-item{position:relative;font-size:14px;color:#8a9388;padding:0 4px}.nav-item.active{font-weight:600;color:var(--green)}.nav-item.active:after{content:"";height:3px;width:28px;border-radius:5px;background:var(--green);position:absolute;bottom:0;left:50%;transform:translateX(-50%)}#favorite-count{font-size:10px;background:#e9eee3;padding:1px 5px;border-radius:5px;margin-left:4px}.header-actions{margin-left:auto;display:flex;align-items:center;gap:22px}.demo-badge{font-size:11px;border:1px solid #dadfce;color:#89917c;border-radius:5px;padding:4px 7px;white-space:nowrap}.avatar{width:35px;height:35px;border-radius:50%;background:#e8ebdb;font-size:12px;color:#62704c}main{max-width:1440px;margin:auto;padding:36px max(4vw,24px) 0}.page-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}.eyebrow{font-size:9px;letter-spacing:2px;font-weight:600;color:#8a977e}.page-intro h1{font-family:"Noto Serif SC",serif;font-size:31px;letter-spacing:1px;margin:10px 0 10px;font-weight:600}.sun-icon{color:#bf8c40;font-size:30px;margin-left:18px;display:inline-block;transform:rotate(15deg)}.page-intro p{font-size:12px;color:#90978b;margin:0}.health-entry{display:flex;align-items:center;gap:13px;border:1px solid #dee4d5;background:#fafcf6;border-radius:12px;padding:14px 17px;text-align:left}.health-entry strong{display:block;font-size:13px;font-weight:600;margin-bottom:5px}.health-entry small{display:block;font-size:10px;color:#8e9887;max-width:210px;overflow-wrap:anywhere}.health-symbol{font-size:28px;color:#6b8658;line-height:1}.switch{width:32px;height:19px;border-radius:16px;background:#dce1d4;position:relative;margin-left:10px;flex-shrink:0}.switch:after{content:"";position:absolute;left:3px;top:3px;width:13px;height:13px;border-radius:50%;background:white;transition:transform .2s}.switch.on{background:var(--green)}.switch.on:after{transform:translateX(13px)}.hero-banner{position:relative;display:flex;background:#e9eddf;border-radius:18px;overflow:hidden;height:210px;margin-bottom:30px}.hero-copy{padding:29px 34px;width:56%;position:relative;z-index:1}.hero-tag{font-size:10px;color:#637b53;display:flex;gap:8px;align-items:center}.hero-tag i{height:5px;width:5px;border-radius:100%;background:#72925f}.hero-copy h2{font-family:"Noto Serif SC",serif;font-size:30px;font-weight:600;letter-spacing:3px;line-height:1.55;margin:13px 0 8px}.hero-copy p{font-size:11px;color:#839172;margin:0}.hero-photo{position:absolute;right:0;top:0;width:53%;height:100%;background:#e4e4d4 url('assets/meal.png') center 53%/cover}.hero-photo:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#e9eddf 0%,#e9eddf00 34%)}.photo-note{position:absolute;right:18px;bottom:15px;font-size:9px;color:white;background:#243b3190;padding:5px 8px;border-radius:4px;backdrop-filter:blur(5px)}.hero-doodle{position:absolute;left:45%;top:42%;font-size:65px;line-height:1;color:#99aa78;transform:rotate(12deg);z-index:1}.workspace{display:grid;grid-template-columns:345px minmax(0,1fr);gap:28px;align-items:start}.input-column{display:flex;flex-direction:column;gap:19px}.panel{background:white;border:1px solid var(--line);border-radius:14px;padding:22px;box-shadow:var(--shadow)}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:20px}.section-heading h2{font-size:14px;display:flex;align-items:center;gap:10px;margin:0;font-weight:600}.step-number{font-size:11px;color:#889a78;background:#f1f4e9;padding:4px 5px;border-radius:5px;font-family:Georgia,serif}.subtle{font-size:10px;color:var(--muted);line-height:1.7}.input-tabs{display:flex;gap:20px;border-bottom:1px solid var(--line);margin-bottom:16px}.input-tabs button{font-size:12px;color:#92998d;padding:0 1px 11px;position:relative}.input-tabs button.selected{color:var(--green);font-weight:600}.input-tabs button.selected:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background:var(--green)}.upload-zone{border:1px dashed #ccd6c1;background:#fafbf7;border-radius:10px;display:flex;flex-direction:column;align-items:center;padding:20px 8px 17px;cursor:pointer;gap:9px;text-align:center}.upload-icon{display:grid;place-items:center;width:38px;height:38px;background:#edf1e5;border-radius:12px;color:#63834f;margin-bottom:2px}.upload-icon svg{width:21px;height:21px}.upload-zone strong{font-size:11px;font-weight:500}.upload-zone>span:not(.upload-icon):not(.upload-buttons){font-size:9px;color:#a1a894}.upload-buttons{display:flex;gap:6px;margin-top:7px}.mini-button,.camera-button{padding:7px 12px;border-radius:5px;font-size:10px;background:#eef1e6;color:#667955}.camera-button{background:transparent;border:1px solid #dfe5d6}.example-button{border:1px solid #ece8db;border-radius:8px;font-size:10px;padding:11px 9px;background:#fbf9f3;display:flex;width:100%;align-items:center;justify-content:space-between;margin:12px 0 20px;color:#927a51}.example-button>span:first-child{font-size:16px}.list-label{display:flex;align-items:center;justify-content:space-between;margin:12px 0}.list-label strong{font-size:11px;font-weight:500}.list-label span{font-size:9px;color:#a1a899}.ingredient-row{display:flex;gap:7px;align-items:center;margin-bottom:8px;background:#f8f9f4;border:1px solid #edf0e7;border-radius:7px;padding:4px 7px}.ingredient-emoji{font-size:17px;width:24px;text-align:center}.ingredient-row input{background:transparent;border:0;padding:6px 0;border-radius:3px;font-size:11px;flex:1;width:65px}.ingredient-row .amount{width:57px;flex:0 1 60px;color:#8c9684;font-size:10px;text-align:right}.remove-ingredient{font-size:16px;color:#b7beb0;width:22px;height:28px;flex-shrink:0}.add-row{display:flex;gap:5px;border:1px solid var(--line);border-radius:7px;padding:0 6px}.add-row input{border:0;width:100%;font-size:11px;padding:10px 4px}.add-row button{font-size:19px;width:30px;color:#7f946f}.ingredient-empty{padding:10px 0 18px;font-size:10px;color:#a0a796;text-align:center}.ingredient-confirm{font-size:10px;color:#9b814f;margin-top:11px}.inline-note{padding:10px;border-radius:7px;font-size:10px;line-height:1.8;margin:12px 0;background:#fff7e7;color:#96723e}.preference-row{display:flex;align-items:center;justify-content:space-between;padding:0 0 18px;gap:10px}.preference-row label{font-size:11px;white-space:nowrap}.stepper{display:flex;align-items:center;border:1px solid #e5e9dc;border-radius:7px;height:31px}.stepper button{width:29px;height:29px;font-size:14px;color:#8b9b7b}.stepper input{width:28px;border:0;padding:3px 0;text-align:center;font-size:11px}.flavor-options{display:flex;gap:4px;flex-wrap:wrap;justify-content:flex-end}.flavor-button{padding:5px 7px;border:1px solid #e6eade;border-radius:5px;font-size:10px;color:#89937e}.flavor-button.active{color:#54713f;background:#edf2e5;border-color:#d1ddc5}.secondary-settings{border-top:1px solid var(--line);padding-top:14px}.secondary-settings summary{font-size:11px;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:8px}.secondary-settings summary:after{content:"⌄";color:#8f9b84}.secondary-settings summary span{margin-left:auto;color:#9aa291;font-size:10px}.details-body{padding-top:17px;font-size:11px}.radio-line{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:11px 0}.radio-line small{font-size:9px;color:#9ca48e}.radio-line input,.checkbox-line input{margin:0;width:14px;height:14px;flex-shrink:0}.check-grid{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0 17px}.check-chip{font-size:10px;border:1px solid var(--line);padding:5px 7px;border-radius:5px;display:flex;align-items:center;gap:5px}.check-chip input{width:12px;height:12px;margin:0}.field-label{display:block;font-size:11px;margin:16px 0 8px;font-weight:500}#quick-allergies{width:100%;font-size:11px}.checkbox-line{display:flex;align-items:center;gap:7px;font-size:11px;margin:14px 0 9px;line-height:1.6}.button{border:1px solid transparent;padding:12px 17px;border-radius:8px;font-size:12px;font-weight:500;display:inline-flex;align-items:center;justify-content:center;gap:12px;transition:background .15s,transform .15s;min-height:41px}.button:hover{filter:brightness(.97)}.button:active{transform:translateY(1px)}.primary{background:var(--green);color:#fff}.outline{background:#fff;border-color:#d9e0d1;color:#5d7151}.full{width:100%}.small{font-size:11px;padding:9px 12px;min-height:36px}.generate-button{margin-top:22px;justify-content:space-between}.generate-button span{font-size:20px;line-height:1}.privacy-note{text-align:center;color:#a0a895;font-size:9px;line-height:1.8;margin:10px 0 0}.text-button{font-size:10px;color:#788a68;white-space:nowrap;padding:5px 0}.results-heading{display:flex;align-items:center;justify-content:space-between;margin:3px 0 22px}.results-heading h2{font-family:"Noto Serif SC",serif;font-size:22px;font-weight:600;margin:8px 0 0;letter-spacing:1px}.results-heading>.subtle{padding-top:16px}.result-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.segmented{background:#eaf0e2;border-radius:8px;padding:4px;display:flex;gap:3px}.segmented button{border-radius:6px;padding:9px 16px;font-size:11px;color:#89987a}.segmented button.active{background:white;box-shadow:0 2px 8px #34432d0a;color:#3c5c30;font-weight:600}.empty-result{border:1px solid var(--line);border-radius:15px;background:#fff;min-height:445px;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:34px;text-align:center}.empty-plate{position:relative;width:135px;height:135px;border-radius:50%;background:#f2f3e9;border:9px solid #f9faf5;box-shadow:0 0 0 1px #e9edde,0 13px 28px #364d2910;display:grid;place-items:center;font-size:45px;margin:12px 0 28px}.empty-plate:before{position:absolute;content:"✳";font-size:27px;color:#b8c69c;left:-22px;top:-10px}.empty-result h3{font-family:"Noto Serif SC",serif;font-weight:500;font-size:20px;margin:0 0 12px}.empty-result p{font-size:11px;color:#99a18e;line-height:1.9;margin:0}.empty-steps{display:flex;gap:24px;margin-top:31px;font-size:10px;color:#849175;flex-wrap:wrap;justify-content:center}.empty-steps span{display:flex;gap:7px;align-items:center}.empty-steps b{font-family:Georgia,serif;font-weight:normal;background:#eef2e5;border-radius:50%;width:19px;height:19px;display:grid;place-items:center}.count-settings{padding:15px;border-radius:9px;background:#eef1e6;margin-bottom:15px;font-size:10px;color:#7c8e6b}.counts-fields{display:flex;gap:10px;margin:12px 0}.counts-fields label{display:flex;align-items:center;gap:6px;flex:1}.counts-fields input{width:100%;max-width:65px;padding:7px;font-size:11px}.count-settings small{font-size:9px}.result-summary{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin:20px 0 13px}.result-summary strong{font-size:13px;font-weight:500}.result-summary small{font-size:10px;color:#97a189;display:block;margin-top:7px;line-height:1.7}.summary-kcal{font-family:Georgia,serif;color:#9a8059;white-space:nowrap}.summary-kcal b{font-size:23px;font-weight:normal}.summary-kcal span{font-family:sans-serif;font-size:9px;margin-left:4px}.constraint-strip{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0 16px;font-size:9px;color:#879777}.constraint-strip span{padding:4px 7px;background:#eef2e7;border-radius:4px}.result-notice{border:1px solid #eae0c7;background:#fcf9ef;color:#9a8153;border-radius:9px;padding:13px 14px;font-size:11px;line-height:1.9;margin-bottom:16px}.result-notice .button{margin-top:10px}.recipe-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.recipe-card{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden;min-width:0;transition:transform .18s,box-shadow .18s}.recipe-card:hover{transform:translateY(-3px);box-shadow:0 8px 18px #3344260c}.recipe-cover{position:relative;height:156px;overflow:hidden;background:#eef0e4}.food-art{width:100%;height:100%;object-fit:cover;display:block}.favorite-button{position:absolute;right:10px;top:10px;border-radius:50%;background:#fffef7ee;width:29px;height:29px;display:grid;place-items:center;font-size:17px;color:#849175}.favorite-button.saved{color:#be734d}.category-label{position:absolute;bottom:9px;left:10px;background:#fffef5ed;color:#697b55;font-size:9px;padding:4px 7px;border-radius:4px}.recipe-card-body{padding:14px 13px 12px}.recipe-card h3{font-size:13px;line-height:1.6;font-weight:600;margin:0 0 7px}.recipe-card-meta{font-size:9px;color:#98a28d;display:flex;gap:9px;align-items:center;flex-wrap:wrap}.ingredient-match{font-size:9px;margin:13px 0 12px;color:#89967b;line-height:1.8;min-height:33px}.ingredient-match em{font-style:normal;color:#ba8256}.recipe-card-actions{border-top:1px solid #eef1e7;padding-top:10px;display:flex;justify-content:space-between;align-items:center;gap:5px}.recipe-card-actions button{font-size:10px;padding:4px 0;color:#718760}.recipe-card-actions button:last-child{color:var(--green)}.card-nutrition{display:flex;flex-wrap:wrap;gap:4px 8px;font-size:9px;color:#8a987d;margin:8px 0}.result-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:20px;padding:17px;border-radius:10px;background:#eef1e7}.result-footer p{font-size:10px;line-height:1.9;color:#8d9a7d;margin:0}.result-footer strong{display:block;font-size:11px;font-weight:500;color:#627950}.result-footer .button{flex-shrink:0}.result-bottom-note{font-size:9px;color:#9da591;line-height:1.9;margin:15px 0}.browse-controls{display:flex;align-items:center;gap:10px;margin-bottom:14px;justify-content:space-between}.browse-controls .flavor-options{justify-content:flex-start}.shopping-toggle{font-size:10px;color:#8b947e;display:flex;align-items:center;gap:6px}.shopping-toggle input{margin:0}.pagination{display:flex;align-items:center;justify-content:center;gap:20px;margin:22px 0 5px;font-size:10px;color:#8b987b}.pagination button{background:white;border:1px solid var(--line);border-radius:6px;padding:8px 12px}.demo-lab{margin:33px 0 26px;padding:20px 0;border-top:1px solid #e3e7db;display:flex;align-items:center;flex-wrap:wrap;gap:15px}.demo-lab>div:first-child{display:flex;gap:12px;align-items:center}.lab-label{font-size:10px;color:#7b8b6b;letter-spacing:1px}.demo-lab>div:first-child>span:last-child{font-size:10px;color:#a0a894}.scenario-buttons{display:flex;gap:6px;flex-wrap:wrap}.scenario-buttons button{font-size:9px;border:1px solid #dfe5d4;padding:6px 8px;border-radius:5px;color:#8c987d;background:#fcfdf8}.scenario-buttons button:hover{background:#eaf0e0}.reset-button{margin-left:auto;font-size:9px}footer{max-width:1440px;margin:auto;padding:0 max(4vw,24px) 28px;display:flex;justify-content:space-between;gap:15px;font-size:9px;color:#a2aa98;line-height:1.8}.footer-brand{font-family:"Noto Serif SC",serif;color:#7e8b72;font-size:13px}.footer-brand span{font-family:sans-serif;font-size:9px;margin-left:10px;color:#a2aa98}dialog{width:min(720px,calc(100% - 30px));max-height:88dvh;padding:0;border:1px solid #e4e9dc;border-radius:18px;background:#fffdf8;box-shadow:0 30px 100px #182d2840;color:var(--ink);overflow:auto}dialog::backdrop{background:#1d322a65;backdrop-filter:blur(4px)}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:23px 25px 18px;border-bottom:1px solid var(--line);gap:15px}.modal-header h2{font-family:"Noto Serif SC",serif;margin:0;font-size:20px;font-weight:500}.modal-close{font-size:23px;color:#8e9b7e;width:30px;height:30px;flex-shrink:0}.modal-content{padding:23px 25px}.modal-content p{font-size:12px;line-height:1.9;color:#849176}.modal-content .field-label{font-size:12px}.modal-content>input{width:100%}.modal-footer{padding:17px 25px 22px;display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);flex-wrap:wrap}.modal-field-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.modal-field-row input{width:100%}.modal-section-title{font-size:13px;margin:20px 0 12px}.modal-note{font-size:11px;line-height:1.9;color:#a2885f;background:#f8f3e6;padding:12px 14px;border-radius:8px}.condition-options{display:flex;gap:7px;flex-wrap:wrap;margin:17px 0}.condition-chip{font-size:11px;border:1px solid #dee5d4;padding:9px 12px;border-radius:7px}.condition-chip.selected{background:#e8eedf;border-color:#91aa7b;color:#52713b}.condition-entry{display:flex;gap:7px}.condition-entry input{flex:1;width:100%}.condition-match{margin-top:15px;border:1px solid #e0e6d6;border-radius:8px;padding:14px}.condition-match p{margin:0 0 10px;font-size:11px}.matched-condition{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.matched-condition span{font-size:12px;background:#ebf1e3;padding:7px 11px;border-radius:5px}.condition-error{color:#aa7248!important}.health-summary{padding:10px;border-radius:7px;margin-top:13px;background:#edf3e5;color:#6c8456;font-size:10px;line-height:1.8}.health-summary button{font-size:10px;text-decoration:underline;padding:0}.detail-image{height:215px;position:relative;overflow:hidden;background:#edf0e2}.detail-image img{height:100%;width:100%;object-fit:cover}.detail-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:20px}.detail-top span{font-size:11px;color:#8a977b}.detail-ingredients{display:grid;grid-template-columns:1fr 1fr;gap:0 25px}.detail-ingredients div{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:11px 0;gap:8px;font-size:12px}.detail-ingredients span:last-child{color:#94a186}.steps{list-style:none;counter-reset:steps;padding:0;margin:0}.steps li{counter-increment:steps;position:relative;padding:0 0 20px 35px;font-size:12px;line-height:1.9;color:#738468}.steps li:before{content:counter(steps,decimal-leading-zero);position:absolute;left:0;top:1px;font-family:Georgia,serif;color:#a6b394;font-size:18px}.nutrition-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:15px 0}.nutrition-grid div{border-radius:7px;background:#edf2e6;padding:12px 6px;text-align:center;font-size:10px;color:#8b997b}.nutrition-grid b{display:block;font-family:Georgia,serif;font-size:19px;font-weight:normal;color:#5c7547;margin-bottom:5px}.source-link{font-size:11px;text-decoration:underline;color:#788b64}.evidence-list{padding-left:20px;color:#849176;font-size:12px;line-height:2}.modal-recipe-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.loading-card{border:1px solid var(--line);border-radius:14px;min-height:360px;background:white;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px;font-size:12px;color:#849176}.spinner{width:34px;height:34px;border:2px solid #e7ecdf;border-top-color:#718957;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}#toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,15px);opacity:0;transition:.2s;background:#284c3bf5;color:#fff;padding:13px 22px;border-radius:10px;font-size:12px;z-index:20;pointer-events:none;max-width:calc(100% - 32px);text-align:center;line-height:1.7;box-shadow:0 8px 35px #1f382b24}#toast.visible{opacity:1;transform:translate(-50%,0)}#photo-preview{display:flex;gap:10px;align-items:center;margin-top:12px;font-size:10px;color:#8a987a}#photo-preview img{height:54px;width:68px;object-fit:cover;border-radius:7px}.login-illustration{width:65px;height:65px;background:#eaf0e1;border-radius:20px;display:grid;place-items:center;font-size:32px;color:#71925b;margin:0 auto 20px}.login-content{text-align:center;padding:30px}.login-content h3{font-family:"Noto Serif SC",serif;font-size:22px;font-weight:500;margin:0}.login-content .button{margin-top:17px}.login-content .modal-note{margin-top:18px;text-align:left}.favorite-empty{padding:35px;text-align:center}.invalid-field{border-color:#bd885c!important}.amount-warning{font-size:9px;color:#9f916c;line-height:1.8}.compact-notice{font-size:10px;color:#8d9a7e;line-height:1.8;margin:12px 0}.health-badge{background:#edf2e6;border-radius:5px;color:#6d8559;padding:6px 8px;font-size:10px}.error-message{color:#a26f48;font-size:11px;line-height:1.8;margin:10px 0}.inline-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.mobile-only{display:none}
@media(min-width:1450px){main{padding-left:40px;padding-right:40px}.hero-banner{height:230px}.hero-copy{padding-top:33px}.hero-copy h2{font-size:34px}.workspace{grid-template-columns:360px minmax(0,1fr);gap:32px}.recipe-cover{height:175px}}
@media(max-width:1100px){.site-header{gap:35px}.workspace{grid-template-columns:310px minmax(0,1fr);gap:20px}.panel{padding:18px}.recipe-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.recipe-cover{height:165px}.recipe-grid>.recipe-card:last-child:nth-child(odd){grid-column:auto}.hero-copy{width:60%}.hero-doodle{left:46%}.results-heading>.subtle{display:none}.segmented button{padding:9px 12px}.demo-lab>div:first-child{width:100%}.page-intro h1{font-size:28px}.hero-copy h2{font-size:28px}}
@media(max-width:760px){.site-header{height:70px;padding:0 20px;gap:20px}.brand{font-size:22px;gap:8px}.brand-mark{width:32px;height:35px;font-size:21px}.brand small{font-size:6px}.site-header nav{gap:20px;margin-left:auto}.nav-item{font-size:11px}.header-actions{margin-left:0;gap:10px}.demo-badge{display:none}.avatar{width:30px;height:30px}.site-header nav button:first-child{display:none}main{padding:25px 18px 0}.page-intro{margin-bottom:20px;align-items:flex-start}.page-intro h1{font-size:25px;margin:8px 0 8px}.eyebrow{font-size:7px;letter-spacing:1.5px}.page-intro p{font-size:10px}.sun-icon{font-size:24px;margin-left:9px}.health-entry{gap:7px;border:0;background:none;padding:3px 0;align-items:center;flex-wrap:wrap;justify-content:flex-end;max-width:112px}.health-entry strong{font-size:10px;margin:0}.health-entry small{display:none}.health-symbol{font-size:20px}.switch{width:27px;height:17px;margin-left:2px}.switch:after{width:11px;height:11px}.switch.on:after{transform:translateX(10px)}.hero-banner{height:175px;border-radius:13px;margin-bottom:23px}.hero-copy{padding:23px 20px;width:65%}.hero-tag{font-size:8px;gap:5px}.hero-copy h2{font-size:24px;margin-top:12px;letter-spacing:2px}.hero-copy p{font-size:9px}.hero-photo{width:55%;background-position:57% center}.hero-photo:before{background:linear-gradient(90deg,#e9eddf,#e9eddf00 40%)}.hero-doodle{font-size:35px;left:50%;top:50%}.photo-note{font-size:7px;right:9px;bottom:9px;padding:4px}.workspace{grid-template-columns:1fr;gap:28px}.input-column{gap:15px}.panel{padding:20px}.upload-zone{padding:17px 8px}.input-tabs button{font-size:12px}.upload-zone strong{font-size:12px}.upload-zone>span:not(.upload-icon):not(.upload-buttons){font-size:10px}.example-button{font-size:11px}.ingredient-row input{font-size:13px}.ingredient-row .amount{font-size:11px;width:75px;flex-basis:75px}.ingredient-row{padding:4px 10px}.ingredient-emoji{font-size:20px;width:28px}.add-row input{font-size:12px;padding:12px 4px}.remove-ingredient{width:30px;height:35px}.section-heading h2{font-size:14px}.preference-row label{font-size:12px}.flavor-button{font-size:11px;padding:7px 10px}.secondary-settings summary{font-size:12px}.text-button{font-size:11px}.button{font-size:12px;min-height:44px}.generate-button{margin-top:20px}.results-heading{margin-bottom:18px}.results-heading h2{font-size:22px}.result-toolbar{margin-bottom:18px}.segmented button{font-size:12px;padding:10px 16px}.recipe-grid{gap:11px}.recipe-cover{height:155px}.recipe-card-body{padding:13px 11px}.recipe-card h3{font-size:13px}.recipe-card-meta{font-size:9px;gap:5px}.recipe-card-actions button{font-size:11px;min-height:34px}.favorite-button{width:33px;height:33px}.ingredient-match{font-size:10px;min-height:36px}.result-footer{padding:15px;gap:10px}.result-footer p{font-size:10px}.result-footer .button{font-size:11px;padding:10px 13px}.empty-result{min-height:320px;padding:25px}.empty-plate{width:108px;height:108px;font-size:35px;margin:8px 0 24px}.empty-result h3{font-size:18px}.demo-lab{margin-top:28px;gap:13px;padding-bottom:8px}.scenario-buttons button{font-size:10px;min-height:34px;padding:7px 10px}.demo-lab>div:first-child{flex-wrap:wrap;gap:5px 12px}.demo-lab>div:first-child>span:last-child{font-size:9px}.reset-button{min-height:35px}footer{padding:0 18px 20px;flex-direction:column;gap:5px}.footer-brand{font-size:12px}.modal-content{padding:20px}.modal-header{padding:20px}.modal-footer{padding:17px 20px}.modal-field-row{grid-template-columns:1fr;gap:0}.modal-content input:not([type=checkbox]):not([type=radio]),.modal-content textarea{font-size:16px}.modal-recipe-grid .recipe-cover{height:125px}.detail-image{height:180px}.count-settings{font-size:11px}.counts-fields input{max-width:70px}.detail-ingredients{gap:0 18px}.detail-ingredients div{font-size:11px}.checkbox-line,.radio-line{min-height:32px}.check-chip{min-height:32px;font-size:11px}#ingredient-text,#new-ingredient,#quick-allergies{font-size:16px}.shopping-toggle{font-size:9px}.browse-controls{gap:8px;flex-wrap:wrap}.privacy-note{font-size:9px}.result-notice{font-size:12px}.modal-close{width:34px;height:34px}}
@media(max-width:360px){.site-header{padding:0 14px;gap:12px}.site-header nav{gap:10px}main{padding-left:12px;padding-right:12px}.page-intro h1{font-size:22px}.sun-icon{display:none}.hero-copy{padding-left:16px}.hero-copy h2{font-size:23px}.hero-tag{font-size:7px}.panel{padding:16px}.recipe-grid{grid-template-columns:1fr}.recipe-cover{height:190px}.recipe-card-meta{font-size:10px}.ingredient-match{min-height:0}.result-footer{flex-wrap:wrap}.result-footer .button{width:100%}.segmented button{padding:10px 12px}.nutrition-grid{grid-template-columns:repeat(2,1fr)}.modal-recipe-grid{grid-template-columns:1fr}.empty-steps{gap:13px}}
.counts-fields label{white-space:nowrap}.subtle{font-size:11px}.recipe-card-meta,.category-label{font-size:10px}.ingredient-row input{font-size:12px}.ingredient-row .amount{font-size:11px}.recipe-card .ingredient-match{font-size:10px}.recipe-card:only-child .recipe-card-body{min-height:150px}#profile-goal,#profile-flavor{border:1px solid var(--line);border-radius:7px;padding:10px;background:white;color:var(--ink);width:100%}
@media(max-width:760px){.recipe-grid:has(>.recipe-card:only-child){grid-template-columns:1fr}.counts-fields{gap:8px}.counts-fields input{max-width:65px}.mini-button,.camera-button{min-height:36px;font-size:11px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
