:root{--green:#063e20;--deep:#002512;--gold:#f9d65c;--paper:#fff9ed;--cream:#f4ebd8;--ink:#17231b;--muted:#6d766a;--line:#dfd3bc;--shadow:0 5px 18px #6a4a1517;font-family:Arial,sans-serif;color:var(--ink);background:#f1eadb;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at top,#fff9e9,#ede3ce);font-size:15px}button,input,textarea,select{font:inherit}button,a,label{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #dcb533;outline-offset:3px}a{color:var(--green)}.ci{width:23px;height:23px;flex-shrink:0;vertical-align:middle}button{color:inherit}button svg{pointer-events:none}h1,h2,h3,p{margin-top:0}h2{font-size:23px;letter-spacing:-.5px}h3{font-size:17px;margin-bottom:12px}p{line-height:1.5}img{display:block;max-width:100%}.phone-shell{max-width:480px;min-height:100dvh;margin:0 auto;background:var(--paper);position:relative;box-shadow:0 0 35px #70571f1c}.screen-header{height:85px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px 22px;color:white;background:radial-gradient(ellipse at top right,#486b24aa,transparent 55%),linear-gradient(120deg,#002813,#073c1f 55%,#002a14)}.screen-header>h1{font-size:19px;letter-spacing:-.6px;text-align:center;flex:1;margin:0;font-weight:700}.screen-header>button{width:32px;height:37px;border:0;background:none;color:white;font-size:34px;line-height:1}.header-action{min-width:30px;display:flex;justify-content:end;align-items:center;color:var(--gold)}.header-action>button{border:0;background:none;color:white;width:34px;height:34px;display:grid;place-items:center;font-size:28px}.header-action .ci{width:24px;height:24px}.gold,.header-action button.gold{color:var(--gold)}.header-action .round-gold{color:#143717;background:linear-gradient(#fff49a,#f3cd4b);border:1px solid #ffe6a2;border-radius:50%;width:26px;height:26px;font-size:22px}.home-header{height:113px;padding:24px 21px 10px;align-items:center}.brand{display:flex;align-items:center;gap:12px}.brand>.ci{width:53px;height:53px;color:#ffe570;stroke-width:1.4;transform:rotate(-6deg)}.brand h1{font-size:32px;font-family:Georgia,serif;letter-spacing:-.5px;line-height:1;margin:0 0 6px}.brand small{font-size:11px;display:block;line-height:1}.screen-body{position:relative;margin-top:-14px;border-radius:23px 23px 0 0;min-height:calc(100dvh - 71px);background:linear-gradient(135deg,#fffaf0,#f9f1e1);padding:16px 17px 101px}.bottom-nav{position:fixed;z-index:30;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:480px;min-height:79px;padding:11px 8px calc(11px + env(safe-area-inset-bottom,0px));display:flex;justify-content:space-around;align-items:start;background:linear-gradient(#fffdf5,#f8efdc);border:1px solid #d9c99e;border-bottom:0;border-radius:22px 22px 0 0;box-shadow:0 -5px 15px #5f48151b}.bottom-nav>button{border:0;background:none;position:relative;display:flex;flex-direction:column;align-items:center;gap:5px;min-width:53px;padding:0 4px;color:#27382b;font-size:10px}.bottom-nav .ci{width:23px;height:23px;position:relative;z-index:1}.bottom-nav .active{color:#125b16;font-weight:700}.bottom-nav .active:before{content:'';position:absolute;top:-7px;left:50%;width:48px;height:49px;background:radial-gradient(#ffdf3c88,transparent 70%);transform:translateX(-50%)}.btn{border:1px solid #d3c39e;background:linear-gradient(#fffdf7,#f5eddc);color:#17401f;padding:12px 16px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-size:14px;font-weight:600;line-height:1.2;gap:8px;box-shadow:inset 0 1px 1px #fff}.btn.primary,.chip.active,.detail-tabs .active,.days-toggle .active{color:white;background:radial-gradient(at 10% 0,#7cb72e,transparent 70%),linear-gradient(#347c17,#004e21);border:1px solid #93b948;box-shadow:inset 0 1px 3px #fff6,0 3px 6px #28500d1c}.btn.primary:hover{filter:brightness(1.08)}.btn.danger{color:#bb2117;background:#fff9ef;border-color:#e7b49e}.wide{width:100%}.btn .ci{width:21px;height:21px}.text-button{border:0;background:none;color:var(--green);font-size:13px;padding:7px}.screen-home{background:var(--deep)}.screen-home .screen-body{background:radial-gradient(at 80% 75%,#39682866,transparent 70%),linear-gradient(#06341c,#002a14);margin:0;border-radius:0;padding-top:5px}.home-intro h2{font-size:24px;color:#fff;margin:0 0 18px;line-height:1.2}.home-intro h2 span{font-size:21px}.search-box{display:flex;align-items:center;gap:8px;border:1px solid #d4c9af;border-radius:23px;background:linear-gradient(#fffdf6,#f4ecd9);box-shadow:inset 0 2px 3px #fff8;padding:10px 12px;margin-bottom:15px;min-width:0}.search-box>.ci{width:18px;height:18px;color:#72806b}.search-box input{width:100%;min-width:0;padding:0;border:0;outline:0;background:none;color:var(--ink);font-size:13px}.search-box input::placeholder{color:#7b8276}.category-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.category{min-width:0;position:relative;height:170px;border:1px solid #b9a857;border-radius:20px;overflow:hidden;box-shadow:0 5px 12px #0003,inset 0 0 7px #ffe65a66;color:white;padding:0;background:#123f19}.photo-category img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.photo-category:hover img{transform:scale(1.06)}.photo-category>span{position:absolute;left:0;right:0;bottom:0;padding:35px 8px 12px;background:linear-gradient(transparent,#211a08ef);text-align:center;font-size:20px;font-weight:600;text-shadow:0 1px 3px #000}.icon-category{height:145px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:radial-gradient(at 50% 10%,#52862a66,#003416 80%)}.icon-category>.ci{color:#f6d956;width:43px;height:43px;stroke-width:1.7}.icon-category>span{font-size:19px;font-weight:600;line-height:1.2}.home-shortcuts{display:flex;gap:8px;margin:18px 0 0}.home-shortcuts button{display:flex;flex:1;flex-direction:column;align-items:center;gap:8px;padding:13px 3px;border:1px solid #b8a87477;border-radius:16px;background:#ffffff08;color:#f7e5a5;font-size:11px}.home-shortcuts .ci{width:24px;height:24px}.chips{display:flex;gap:7px;overflow:auto;align-items:center;white-space:nowrap;margin:4px 0 15px;padding:2px 1px;scrollbar-width:none}.chip{display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid #ded1b6;border-radius:18px;background:#fffaf0;padding:8px 12px;font-size:12px;font-weight:500;line-height:1.1;flex-shrink:0}.chip .ci{width:16px;height:16px}.new-chat-chip{margin-left:auto}.selection-count{font-size:12px;color:var(--muted);margin-left:auto}.recipe-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.food-card{border-radius:20px;overflow:hidden;position:relative;min-width:0;background:#21441c;box-shadow:var(--shadow);border:1px solid #ccb678}.food-open{display:block;width:100%;height:214px;border:0;padding:0;position:relative;text-align:left;background:#204323;color:#fff}.food-open>img{width:100%;height:100%;object-fit:cover}.food-shade{position:absolute;bottom:0;left:0;right:0;color:white;padding:35px 10px 11px;background:linear-gradient(transparent,#211809d9 45%,#1b190bf5)}.food-shade h3{color:white;font-size:17px;line-height:1.12;margin:0 0 9px;letter-spacing:-.4px;text-shadow:0 2px 3px #0008}.food-meta{display:flex;gap:12px;align-items:center;font-size:11px;line-height:1.2;flex-wrap:wrap}.food-meta span{display:flex;align-items:center;gap:4px}.food-meta .ci{width:17px;height:17px}.food-heart{position:absolute;right:8px;top:8px;border:1px solid #e8dfbc;border-radius:50%;background:#fffaf4ed;color:#9f1b19;display:grid;place-items:center;width:29px;height:29px;padding:5px;box-shadow:0 1px 6px #0003}.food-heart .ci{width:20px;height:20px}.food-heart.on svg{fill:#c92527;stroke:#c92527}.select-recipe{display:flex;align-items:center;gap:6px;background:linear-gradient(#fffbed,#f0e4c8);padding:8px 10px;color:#234723;font-size:11px}.select-recipe input{accent-color:#267919;width:16px;height:16px;margin:0}.favorite-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}.favorite-actions .btn{font-size:12px;flex-direction:column;gap:8px;padding:14px 8px}.favorite-actions .ci{width:27px;height:27px}.recipe-hero{height:302px;position:relative;margin:-16px -17px 0;overflow:hidden;border-radius:23px 23px 16px 16px;background:#325626}.recipe-hero>img{width:100%;height:100%;object-fit:cover}.recipe-hero .food-shade{padding:42px 17px 16px}.recipe-hero h2{font-size:30px;font-weight:600;margin:0 0 10px;letter-spacing:-.7px;color:#fff;line-height:1.1}.recipe-hero .food-meta{font-size:12px;gap:17px}.detail-tabs{display:flex;background:#f2e9d4;border:1px solid #dfd1b8;border-radius:21px;padding:3px;margin:15px 0 18px}.detail-tabs button{border:1px solid transparent;border-radius:18px;background:none;flex:1;padding:9px 4px;font-size:13px}.section-title{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:10px}.section-title h3{margin:0}.servings-label select{max-width:110px;border-radius:15px;padding:5px 10px;background:#f5edd9;border:1px solid #d9cba8;font-size:12px}.ingredient-row{display:flex;align-items:center;gap:8px;font-size:14px;min-height:34px;border-bottom:1px solid #ddd2b9;padding:5px 0}.ingredient-row>input,.grocery-row>input{width:18px;height:18px;accent-color:#42a325;flex:0 0 18px;margin:0}.ingredient-row>span{flex:1}.ingredient-row>b{font-weight:400;font-size:13px;white-space:nowrap}.ingredient-row:has(input:checked)>span{text-decoration:line-through;color:#86917e}.ingredient-panel>.btn{margin-top:20px}.recipe-actions{display:flex;justify-content:space-around;margin-top:18px;background:linear-gradient(#fffbef,#f0e6ce);border:1px solid #dcccaa;border-radius:17px;padding:11px 5px}.recipe-actions>button{display:flex;flex-direction:column;gap:5px;align-items:center;background:none;border:0;color:#61400f;font-size:11px;flex:1}.recipe-actions>button+button{border-left:1px solid #dccbad}.steps-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}.steps-list li{border:1px solid #dfd0b0;background:#fffaf0;border-radius:17px;overflow:hidden}.steps-list li>div:not(.step-image){padding:12px;display:flex;gap:10px}.step-number{display:grid;place-items:center;flex:0 0 27px;height:27px;border-radius:50%;background:linear-gradient(#5b8d24,#0b4a22);color:#fff}.steps-list p{font-size:14px;margin:0;line-height:1.45}.step-image{position:relative;height:180px;overflow:hidden}.step-image>img{position:absolute;top:0;height:100%;width:500%;max-width:none;object-fit:fill}.step-0>img{left:0}.step-1>img{left:-100%}.step-2>img{left:-200%}.step-3>img{left:-300%}.step-4>img{left:-400%}.cooking-mode{padding:16px}.cooking-mode .step-image{border-radius:12px;margin:15px -4px}.cooking-mode p{font-size:17px;line-height:1.5}.step-controls{display:flex;gap:10px}.step-controls .btn{flex:1}.panel{border:1px solid #dfd0b3;border-radius:19px;padding:18px;background:linear-gradient(130deg,#fffdf5,#f6edda);box-shadow:var(--shadow)}.tips p{font-size:14px}.days-toggle{display:flex;background:#f4ebd8;border:1px solid #ddccaa;padding:4px;border-radius:17px;gap:3px}.days-toggle>button{flex:1;padding:9px 4px;border:1px solid transparent;border-radius:13px;background:none;font-size:14px}.planner-caption{display:flex;align-items:center;justify-content:center;gap:9px;margin:18px 0;color:#755328;font-weight:600;font-size:13px}.planner-caption .ci{width:21px}.menu-day{margin:0 0 16px}.menu-day>h3{margin:0 0 8px;font-size:17px}.meal-list{border:1px solid #dfd2b8;border-radius:19px;overflow:hidden;background:#fffaf0}.meal-row{display:flex;align-items:center;text-align:left;gap:11px;border:0;background:none;width:100%;padding:11px 10px;color:#18231a}.meal-row+button{border-top:1px solid #e4d8bf}.meal-row img{width:64px;height:64px;object-fit:cover;border:1px solid #ead3a1;border-radius:15px}.meal-row span{min-width:0;flex:1}.meal-row b{display:block;font-size:14px;margin-bottom:4px}.meal-row small{display:block;font-size:12px;line-height:1.3}.meal-row time{display:block;margin-top:4px;color:#847b65;font-size:10px}.meal-row i{font-style:normal;font-size:24px;color:#836a3b}.planner-actions{display:grid;gap:10px;margin-top:16px}.shopping-intro{display:flex;align-items:center;gap:15px;padding:13px 0 20px}.basket-illustration{display:grid;place-items:center;width:83px;height:83px;flex:0 0 83px;border-radius:28px;background:radial-gradient(#fff9db,#e2d7a4);border:1px solid #d4b66e;color:#705021;box-shadow:inset 0 0 12px #fff}.basket-illustration .ci{width:54px;height:54px;stroke-width:1.4}.shopping-intro h2{font-size:20px;margin:0 0 4px}.shopping-intro p{font-size:12px;margin:0 0 8px;color:#70694e}.mini-label{font-size:11px;padding:4px 9px;background:#dbe6bd;border:1px solid #becd93;border-radius:14px;color:#3e582e}.shopping-group{border:1px solid #dfd2b8;border-radius:15px;overflow:hidden;margin-bottom:12px;background:#fffaf0}.shopping-group summary{display:flex;align-items:center;gap:7px;padding:10px 12px;background:#f4ebd8;cursor:pointer;font-size:14px;font-weight:700;list-style:none}.shopping-group summary::-webkit-details-marker{display:none}.shopping-group summary span{margin-left:auto;font-size:17px;font-weight:400}.shopping-group summary .ci{width:18px;height:18px;color:#96701d}.grocery-row{display:flex;align-items:center;gap:9px;min-height:36px;margin:0 11px;padding:7px 0;border-top:1px solid #e9dec9;font-size:13px}.grocery-row span{flex:1}.grocery-row b{font-size:12px;font-weight:400;max-width:110px;text-align:right}.grocery-row.checked span{color:#86917d;text-decoration:line-through}.pantry-details{border:1px solid #e1d2b2;border-radius:15px;padding:12px;margin:14px 0;font-size:13px;background:#fff9ed}.pantry-details summary{cursor:pointer;line-height:1.4}.pantry-details .stack{margin-top:13px}.source-row{display:flex;align-items:center;gap:10px;margin-top:12px;justify-content:space-between}.source-row button{border:0;background:none;color:#a74728;font-size:22px}.profile-card{display:flex;align-items:center;gap:13px;padding:12px 0 22px;border-bottom:1px solid var(--line);position:relative}.profile-avatar{flex:0 0 74px;width:74px;height:74px;border-radius:50%;background:radial-gradient(#fff9e9,#dcd1af);border:2px solid #d4b572;font-size:52px;display:grid;place-items:center;box-shadow:var(--shadow)}.profile-card h2{font-size:22px;margin:0 0 6px}.profile-card p{font-size:12px;margin:0;color:#706e60}.edit-profile{position:absolute;left:52px;bottom:20px;border:1px solid #ebcb6f;width:27px;height:27px;border-radius:50%;background:#f9dc83;color:#5c491b}.settings-list{margin:10px 0 18px}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:16px 0;border:0;border-bottom:1px solid #e4d8c2;background:none;font-size:14px;text-align:left}.settings-row>span{display:flex;align-items:center;gap:10px}.settings-row .ci{color:#7c5724;width:22px;height:22px}.settings-row b{font-weight:600;font-size:14px}.settings-row small{display:block;font-size:11px;color:#7c7967;margin-top:5px;max-width:270px}.settings-row i{font-style:normal;font-size:22px;color:#6d613d}.lang{display:flex;border:1px solid #d6c69f;border-radius:17px;background:#f1e8d4;overflow:hidden;flex-shrink:0}.lang button{border:0;background:none;color:#303524;padding:6px 10px;font-size:12px}.lang .on{background:linear-gradient(#ffe578,#efc338);border-radius:16px;color:#213a10;font-weight:700;box-shadow:inset 0 1px 2px #fff}.switch{appearance:none;width:38px;height:23px;border-radius:20px;background:#ccc4b2;border:1px solid #adba9d;position:relative;flex:0 0 38px;cursor:pointer}.switch:after{content:'';position:absolute;top:2px;left:2px;width:17px;height:17px;background:#fffef3;border-radius:50%;box-shadow:0 1px 2px #0003;transition:transform .2s}.switch:checked{background:linear-gradient(#58aa29,#1b771d)}.switch:checked:after{transform:translateX(14px)}.profile-library{border:1px solid var(--line);border-radius:17px;overflow:hidden;margin-bottom:20px}.profile-library button{display:flex;gap:10px;align-items:center;padding:13px 12px;background:#fff9ed;border:0;width:100%;text-align:left;font-size:13px}.profile-library button+button{border-top:1px solid var(--line)}.profile-library button i{font-style:normal;margin-left:auto}.profile-library .ci{width:20px;color:#406323}.admin-entry{display:block;margin:20px auto 0;font-size:11px;color:#7f7a65;border:0;background:none;padding:6px}.smart-hero{position:relative;overflow:hidden;margin:-16px -17px 20px;height:255px;border-radius:23px 23px 22px 22px;color:white;background:#00391a}.smart-hero>img{position:absolute;right:-60px;width:240px;height:255px;object-fit:cover;mask-image:linear-gradient(90deg,transparent,#000 35%);opacity:.85}.smart-hero>div{position:relative;padding:25px 18px;max-width:300px}.smart-hero span{color:#f4d863;font-size:12px}.smart-hero h2{font-size:26px;line-height:1.15;color:#fff;margin:10px 0}.smart-hero p{font-size:12px;max-width:195px;line-height:1.4}.smart-field{display:block;border:1px solid #ddcfb0;background:#fffcf4;border-radius:17px;padding:13px}.smart-field>b{display:flex;align-items:center;gap:8px;margin-bottom:11px;font-size:14px}.smart-field .ci{color:#286421;width:20px;height:20px}.smart-field input,.smart-field select,.smart-field textarea{width:100%;border:1px solid #dfd1b3;border-radius:12px;padding:10px;background:#fbf5e8;color:#243d28;outline-color:#537f33;font-size:13px}.smart-options{display:flex;gap:10px;flex-wrap:wrap;padding:0 3px;font-size:12px}.smart-options input{accent-color:#35851e}.stack{display:grid;gap:15px}.stack label{display:grid;gap:8px;font-size:13px;color:#3e4e37}.stack input:not([type="checkbox"]),.stack textarea,.stack select{width:100%;border:1px solid #d5c5a2;border-radius:12px;background:#fffdf5;padding:11px 12px;color:#1f3323;font-size:14px}.stack textarea{resize:vertical;line-height:1.5}.stack .smart-field{display:block}.stack .smart-field b{margin-bottom:11px}.chat-subbar{display:flex;align-items:center;justify-content:space-between;margin:0 0 15px;gap:10px}.chat-subbar>span{font-size:10px;color:#7d826d}.chat-subbar .chip{font-size:11px}.screen-chat .screen-body{height:calc(100dvh - 71px);display:flex;flex-direction:column;padding-bottom:93px}.chat-feed{flex:1;overflow:auto;min-height:200px;padding:0 0 12px;overscroll-behavior:contain;scroll-behavior:smooth}.message{display:flex;align-items:flex-start;gap:8px;margin:0 0 17px}.message-avatar{flex:0 0 31px;height:31px;display:grid;place-items:center;border:1px solid #b2bd83;border-radius:50%;color:#fff;background:linear-gradient(#6f9e32,#003a1d)}.message-avatar .ci{width:21px;height:21px}.message-content{min-width:0;flex:1}.message-bubble{border:1px solid #e5d8c0;border-radius:17px;padding:12px 13px;background:linear-gradient(#fffaf1,#f4eadb);box-shadow:inset 0 1px 2px #fff;font-size:13px;line-height:1.5;overflow-wrap:anywhere;max-width:100%}.message-bubble p{margin:0 0 8px;white-space:pre-wrap;line-height:1.5}.message-bubble p:last-child{margin:0}.message-bubble h2,.message-bubble h3,.message-bubble h4{font-size:16px;margin:4px 0 9px}.message-bubble ul,.message-bubble ol{padding-left:19px;margin:8px 0}.message.user .message-bubble{background:linear-gradient(#e6efda,#d7e5c8);border-color:#cfddba}.message-actions{display:flex;justify-content:end;gap:14px;padding:7px 9px 0}.message-actions>button{border:0;background:none;color:#9a7d3a;padding:2px}.message-actions .ci{width:18px;height:18px}.chat-welcome{text-align:center;padding:28px 8px}.chef-disc{display:grid;place-items:center;width:65px;height:65px;border:1px solid #c6b575;border-radius:50%;background:linear-gradient(#609828,#03421d);color:#fff6b7;margin:0 auto 18px}.chef-disc .ci{width:40px;height:40px}.chat-welcome h2{margin-bottom:10px;font-size:25px;color:#143a20}.chat-welcome p{font-size:13px;color:#73745f}.suggestion-chips{display:grid;gap:10px;margin:20px 0}.suggestion-chips button{border:1px solid #d6c69e;background:#f6eddb;border-radius:15px;padding:12px 9px;color:#4b4a2e;font-size:12px}.composer{display:flex;align-items:center;gap:7px;flex-shrink:0;padding:5px;border:1px solid #c5c7a8;border-radius:26px;background:#fffdf6;box-shadow:0 2px 7px #7461241a}.attach-button{width:31px;height:31px;display:grid;place-items:center;color:#174f23;border:1px solid #d4c7a5;border-radius:50%;font-size:27px;cursor:pointer;flex-shrink:0}.composer textarea{flex:1;width:100%;min-width:0;max-height:100px;outline:none;border:0;padding:8px 2px;background:none;font-size:13px;resize:none;line-height:1.25}.send-button{border:1px solid #b2c478;display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;border-radius:50%;background:linear-gradient(#5cae25,#00511f);color:#fff}.send-button .ci{width:22px;height:22px}.chat-photo{max-width:100%;max-height:260px;border-radius:12px;margin:0 0 9px}.photo-preview{display:flex;gap:9px;align-items:center;background:#e6eddb;border-radius:12px;padding:6px 10px;margin-bottom:8px;font-size:12px}.photo-preview img{width:43px;height:43px;object-fit:cover;border-radius:9px}.photo-preview button{border:0;background:none;margin-left:auto;font-size:24px}.thinking{color:#567746;font-style:italic;flex:1}.chat-row{display:flex;align-items:center;border-bottom:1px solid #d6ccb7;padding:12px 0;gap:8px}.chat-row>button:first-child{flex:1;min-width:0;display:flex;align-items:center;gap:11px;padding:0;background:none;border:0;text-align:left}.chat-row img{width:65px;height:65px;object-fit:cover;border-radius:15px;border:1px solid #ceb987}.chat-row span{display:block;min-width:0}.chat-row b{display:block;font-size:14px;margin-bottom:5px;line-height:1.2}.chat-row small{font-size:11px;color:#5d6557;display:block}.chat-row time{display:block;font-size:10px;margin-top:5px;color:#8b826c}.pin-chat{background:none;border:0;color:#797b66;padding:5px;font-size:22px}.saved-row{border:1px solid var(--line);background:#fffaf0;border-radius:15px;margin-bottom:10px}.saved-row>button{width:100%;display:flex;gap:12px;align-items:center;background:none;border:0;padding:13px;text-align:left}.saved-row b{display:block;font-size:14px;line-height:1.3}.saved-row small{display:block;font-size:11px;margin-top:5px;color:#7e7865}.saved-row i{margin-left:auto;font-style:normal;font-size:22px}.saved-icon{width:45px;height:45px;border:1px solid #dbceab;border-radius:12px;background:#efe6cd;color:#5b6f36;display:grid;place-items:center;flex-shrink:0}.saved-detail h2{font-size:24px;line-height:1.2}.rendered{font-size:14px;line-height:1.6;overflow-wrap:anywhere}.action-grid{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.action-grid .btn{flex:1}.empty-state{text-align:center;padding:30px 14px;color:#777d69;font-size:13px}.empty-state>.ci{width:50px;height:50px;color:#b3ba8a;margin-bottom:15px;stroke-width:1.3}.empty-state p{line-height:1.6}.empty-state .btn{margin-top:7px}.auth-intro{text-align:center;padding:20px 10px}.auth-intro>.ci{width:66px;height:66px;color:#42792b}.auth-intro h2{font-size:24px;margin-top:15px}.auth-intro p{color:#77806b;font-size:14px}.auth-shell .screen-body{padding-bottom:40px}.dialog-backdrop{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:20px;background:#001d10b3;backdrop-filter:blur(6px);overflow:auto}.dialog{position:relative;border:1px solid #e4ca8b;border-radius:24px;background:linear-gradient(120deg,#fffcf2,#f5ead4);padding:31px 22px 23px;max-width:440px;width:100%;max-height:90dvh;overflow:auto;box-shadow:0 15px 70px #0005}.dialog h2{font-size:22px;padding-right:15px;margin-bottom:15px}.dialog>p{font-size:14px;color:#69735b}.dialog-close{position:absolute;right:12px;top:10px;border:0;background:none;font-size:27px;color:#7d795d;width:30px;height:30px}.dialog .stack{gap:13px}.dialog>.btn,.dialog>a{margin-top:15px}.toast{background:#fffcef;border:1px solid #b5c393;border-left:4px solid #438822;border-radius:14px;color:#244023;padding:14px 16px;box-shadow:0 6px 24px #0002;font-size:13px;max-width:440px;line-height:1.4;overflow-wrap:anywhere}.toast.error{border-left-color:#b8462d;color:#8d2b1d}#toasts{position:fixed;top:14px;left:50%;transform:translateX(-50%);width:calc(100% - 28px);max-width:440px;z-index:200;display:grid;gap:9px;pointer-events:none}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.copy-helper{position:fixed;left:-9999px}.load-error{padding:50px 20px;text-align:center}.loading{padding:60px;text-align:center;color:#30682b}.admin-mode{background:#f7f2e8}.admin-mode #app{max-width:1200px;margin:auto}.admin-mode .container{padding:24px 20px}.admin-mode .screen-header{border-radius:0;height:85px}.admin-mode .page-head{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-bottom:25px}.admin-mode .page-head h1{font-size:29px;margin:5px 0 12px}.admin-tabs,.inline{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.admin-tabs{margin-bottom:20px}.admin-tabs .active{background:#165329;color:white}.metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin-bottom:20px}.metric{padding:20px;background:#fffdf5;border:1px solid var(--line);border-radius:15px}.metric b{display:block;font-size:30px;color:var(--green)}.metric span{font-size:12px;color:#6f765f}.admin-grid,.model-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:18px}.admin-mode .panel{margin-bottom:20px}.table-scroll{overflow:auto}.admin-table{width:100%;border-collapse:collapse;font-size:13px}.admin-table th,.admin-table td{padding:12px 9px;text-align:left;border-bottom:1px solid var(--line)}.field{display:grid;gap:8px;margin:16px 0}.input,.admin-mode select,.admin-mode textarea{width:100%;padding:11px;border:1px solid #d0c29e;border-radius:12px;background:#fffdf6}.auth-wrap{max-width:480px;margin:35px auto;padding:20px}.auth-card{border:1px solid var(--line);padding:25px;border-radius:22px;background:#fffaf0}.auth-card h1{font-size:25px}.eyebrow{font-size:11px;letter-spacing:1.5px;color:#9b852d}.model-answer{border:1px solid var(--line);border-radius:16px;padding:16px;background:#fffdf5;white-space:pre-wrap}.model-list{display:grid;gap:8px;margin:15px 0;max-height:300px;overflow:auto}.model-option{padding:9px;border:1px solid var(--line);border-radius:10px;font-size:13px}.code-pill{display:flex;align-items:center;gap:8px;justify-content:space-between;margin:10px 0;background:#e7ecd9;border:1px solid #c2ceaa;padding:10px;border-radius:12px;overflow-wrap:anywhere}.audit{padding:12px;border-bottom:1px solid var(--line);font-size:13px}.muted,.hint{font-size:13px;color:#79806c}.sm{font-size:12px;padding:8px 12px}.tag{font-size:11px;color:#536238}.model-grid h3{overflow-wrap:anywhere}
@media(min-width:600px){.phone-shell{margin:24px auto;min-height:calc(100dvh - 48px);border:1px solid #cdbc90;border-radius:30px;overflow:hidden;box-shadow:0 15px 55px #74552326,0 0 0 5px #fffbef}.screen-header{border-radius:29px 29px 0 0}.bottom-nav{bottom:24px;border-bottom:1px solid #d8c69c;border-radius:23px;max-width:480px}.screen-body{min-height:calc(100dvh - 119px)}.screen-chat .screen-body{height:calc(100dvh - 119px)}.screen-home .screen-body{min-height:calc(100dvh - 161px)}}
@media(max-width:380px){.screen-body{padding-left:12px;padding-right:12px}.screen-header{padding-left:14px;padding-right:14px}.brand h1{font-size:29px}.brand>.ci{width:48px}.brand small{font-size:10px}.home-intro h2{font-size:21px}.home-intro h2 span{font-size:19px}.category{height:149px}.icon-category{height:125px}.photo-category>span{font-size:18px}.icon-category>span{font-size:17px}.food-open{height:195px}.food-shade h3{font-size:15px}.food-meta{gap:7px;font-size:10px}.recipe-hero,.smart-hero{margin-left:-12px;margin-right:-12px}.recipe-grid{gap:9px}.ingredient-row{font-size:12px}.ingredient-row>b{font-size:12px}.bottom-nav>button{font-size:9px;min-width:49px}.settings-row{font-size:12px}.settings-row b{font-size:12px}.settings-row .ci{width:19px}.smart-hero h2{font-size:24px}.grocery-row{font-size:12px}.grocery-row>b{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media print{body{background:white}.phone-shell{max-width:none;border:0;box-shadow:none;margin:0}.screen-header,.bottom-nav,.recipe-actions,.detail-tabs,.btn,.composer{display:none!important}.screen-body{background:white;padding:0;min-height:0}.recipe-hero{margin:0;height:250px}.ingredient-panel{padding-top:25px}.ingredient-row{font-size:14px;min-height:35px}.steps-list li{break-inside:avoid}.food-shade{print-color-adjust:exact}.dialog-backdrop{display:none}}

.photo-category img{transform:scale(1.12)}.photo-category:hover img{transform:scale(1.17)}.step-image>img{top:50%;height:auto;min-height:100%;transform:translateY(-50%)}

.profile-avatar{overflow:hidden}.profile-avatar img{width:100%;height:100%;object-fit:cover}.smart-options>label{display:flex;align-items:center;gap:6px;border:1px solid #dbccab;border-radius:16px;padding:8px 10px;background:#fbf5e7}.smart-options input{margin:0}.answer-recipe{margin:12px -4px 0;border-top:1px solid #e1d4b9;padding-top:12px}.answer-recipe>button{position:relative;border:1px solid #cfbd87;border-radius:16px;overflow:hidden;padding:0;background:#124622;color:white;text-align:left;width:100%;height:210px}.answer-recipe>button>img{width:100%;height:100%;object-fit:cover}.answer-recipe>button>span{position:absolute;bottom:0;left:0;right:0;padding:25px 12px 12px;background:linear-gradient(transparent,#18210ae8 45%)}.answer-recipe small{display:block;color:#ffdf88;font-size:10px;margin-bottom:5px}.answer-recipe b{display:block;font-size:20px;line-height:1.2}.answer-recipe em{display:block;margin-top:8px;font-size:11px;font-style:normal}.answer-followups{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.answer-followups>button{border:1px solid #d8c69f;border-radius:15px;background:#fff9eb;color:#4b4e2d;padding:7px 10px;font-size:10px}

.profile-avatar>.ci{width:43px;height:43px;color:#476b32;stroke-width:1.3}

.chat-placeholder{flex:0 0 65px;width:65px;height:65px;border:1px solid #d4c69e;border-radius:15px;background:linear-gradient(#f1ecd7,#dce8c8);display:grid!important;place-items:center;color:#48743b}.chat-placeholder>.ci{width:31px;height:31px}.food-card img,.recipe-hero>img{background:#e8e4cf}.btn[aria-busy=true]{opacity:.65}button[aria-busy=true]{cursor:wait}@media(max-width:600px){input:not([type=checkbox]),textarea,select{font-size:16px!important}}

.recipe-hero{aspect-ratio:4/3;height:auto}.recipe-hero>img{position:absolute;inset:0;width:100%;height:100%}.photo-category img{transform:none}.photo-category:hover img{transform:scale(1.04)}

.step-image{height:auto;aspect-ratio:4/3}.step-image>img{position:static;width:100%;height:100%;min-height:0;transform:none;object-fit:cover}.chat-subbar{flex-wrap:wrap}

.screen-header .header-action .round-gold{display:grid;place-items:center;padding:0;line-height:1;flex-shrink:0}.round-gold svg{width:23px;height:23px;display:block}.legal-link{margin-top:20px;text-align:center}.legal-note{font-size:12px;line-height:1.5}.legal-check{font-size:13px;line-height:1.5}.legal-check input{width:18px;height:18px;accent-color:var(--green)}
