@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');:root{--green:#214b3b;--cream:#f8f6f0;--white:#fff;--ink:#20322b;--muted:#718078;--gold:#d3a45d;--line:#e6e7df}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font-family:'DM Sans',system-ui,sans-serif;font-size:15px}h1,h2,h3{font-family:'Playfair Display',Georgia,serif;margin:0}h1{font-size:31px}h2{font-size:24px}h3{font-size:20px}p{line-height:1.55}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}.shell{max-width:1080px;margin:auto;min-height:100vh;padding:22px 20px 110px}.top{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px;gap:12px}.brand{display:flex;align-items:center;gap:12px}.brand img{width:46px;height:46px;border-radius:14px}.sub,.muted{color:var(--muted)}.sub{font-size:12px}.card{background:white;border:1px solid var(--line);border-radius:18px;padding:20px}.hero{background:var(--green);color:white;border-radius:23px;padding:27px;margin-bottom:22px;position:relative;overflow:hidden}.hero p{color:#d9e7de}.hero h1{max-width:560px}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:16px}.recipe-card{cursor:pointer;overflow:hidden;padding:0}.recipe-photo{height:155px;background:linear-gradient(140deg,#e5e8d7,#f7ecd4);display:grid;place-items:center;font-size:58px}.recipe-photo img{width:100%;height:100%;object-fit:cover}.recipe-body{padding:17px}.recipe-body h3{margin:6px 0}.pill{display:inline-block;background:#edf4ee;color:#38624d;border-radius:30px;font-size:12px;padding:5px 10px;margin:3px 4px 3px 0}.btn{border:0;border-radius:12px;background:var(--green);color:white;padding:12px 17px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:8px}.btn.secondary{background:#eaf0e9;color:var(--green)}.btn.ghost{background:transparent;color:var(--green);border:1px solid var(--line)}.btn.danger{background:#fce8e6;color:#9c352d}.btn.small{padding:8px 11px;font-size:13px}.actions{display:flex;flex-wrap:wrap;gap:9px;margin:18px 0}.nav{position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--line);display:flex;justify-content:center;z-index:20;padding-bottom:env(safe-area-inset-bottom)}.nav-inner{width:min(100%,680px);display:flex;justify-content:space-around}.nav button{border:0;background:none;color:#718078;padding:12px 5px;font-size:12px;display:grid;gap:4px;place-items:center;min-width:65px}.nav button.active{color:var(--green);font-weight:700}.nav .emoji{font-size:23px}.search{width:100%;border:1px solid var(--line);border-radius:12px;padding:13px;background:white;margin:10px 0 16px}.row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.between{justify-content:space-between}.section{margin:22px 0 14px}.field{display:grid;gap:6px;margin:12px 0}.field label{font-size:13px;font-weight:700}.field input,.field textarea,.field select{border:1px solid #d9e0d9;border-radius:10px;padding:11px;background:#fff;width:100%}.field textarea{min-height:85px;resize:vertical}.two{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.three{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.step{border:1px solid var(--line);padding:18px;border-radius:15px;margin:12px 0;background:white}.step-num{display:inline-grid;place-items:center;width:31px;height:31px;border-radius:50%;background:var(--green);color:white;margin-right:8px}.ingredient{padding:10px 0;border-bottom:1px solid var(--line);display:flex;gap:10px}.ingredient input{accent-color:var(--green);width:19px}.ingredient:has(input:checked){opacity:.55;text-decoration:line-through}.chatlog{height:min(53vh,540px);overflow:auto;padding:12px 0}.bubble{max-width:92%;padding:13px 16px;border-radius:16px;margin:10px 0;white-space:pre-wrap;line-height:1.55}.bubble.user{background:var(--green);color:white;margin-left:auto}.bubble.ai{background:white;border:1px solid var(--line)}.chatbar{display:flex;gap:8px}.chatbar input{flex:1;min-width:0;border:1px solid var(--line);border-radius:12px;padding:13px}.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.day{border:1px solid var(--line);background:#fff;border-radius:9px;min-height:65px;padding:6px;overflow:hidden;font-size:12px}.day.today{border:2px solid var(--green)}.day small{display:block;color:var(--green);font-size:10px;line-height:1.2;margin-top:5px;overflow-wrap:anywhere}.day.empty{background:transparent;border:0}.day-head{text-align:center;font-size:12px;color:var(--muted);padding:8px 0}.notice{padding:12px;border-radius:12px;background:#fff7df;color:#775b24;margin:12px 0}.good{background:#eaf4eb;color:#295a36}.login{max-width:420px;margin:8vh auto}.login h1{margin:10px 0}.login .card{padding:26px}.loading{text-align:center;padding:20vh 10px;color:var(--muted)}.cook{max-width:720px;margin:auto}.cook .step{min-height:250px}.cook .step h2{margin:14px 0}.cook .instruction{font-size:18px;line-height:1.7}.progress{height:8px;background:#e2e8e2;border-radius:9px;overflow:hidden}.progress>div{background:var(--green);height:100%;transition:width .2s}.timer{font-size:35px;font-weight:700;font-variant-numeric:tabular-nums}.mini{font-size:12px}.divider{height:1px;background:var(--line);margin:20px 0}.empty{text-align:center;padding:35px 15px;color:var(--muted)}.empty strong{display:block;color:var(--ink);margin:8px}.photo-hint{border-radius:12px;background:#edf0e9;padding:15px;font-size:13px;color:#526459;margin:15px 0}@media(max-width:520px){.shell{padding:16px 14px 105px}.hero{padding:22px}.hero h1{font-size:27px}.two,.three{grid-template-columns:1fr}.day{min-height:55px;padding:4px}.day small{font-size:9px}.card{padding:15px}.nav button{font-size:11px}.recipe-photo{height:170px}}/* v2: fotos no modo cozinhar e na ficha */
.cook-photo{width:100%;max-height:350px;object-fit:cover;border-radius:14px;margin:12px 0}
.step-photo{width:112px;height:92px;object-fit:cover;border-radius:10px;float:left;margin:0 12px 8px 0}
.step::after{content:"";display:block;clear:both}
