:root{color-scheme:light;--bg: #f7f3ee;--surface: #fffdf9;--ink: #2a241f;--muted: #5a524a;--line: #e4dbd1;--accent: #b85c38;--accent-press: #9a4c2e;--spice: #5c6b4a;--danger: #8a3b32;--radius: 16px;--font: "SF Pro Text", "Segoe UI", system-ui, sans-serif;--safe-top: env(safe-area-inset-top, 0px);--safe-bottom: env(safe-area-inset-bottom, 0px)}*{box-sizing:border-box}html,body,#root{margin:0;min-height:100%;background:var(--bg);color:var(--ink);font-family:var(--font);font-size:17px;line-height:1.4}button,input,select,textarea{font:inherit}button{color:inherit}body{-webkit-text-size-adjust:100%}.app-shell{min-height:100dvh;max-width:430px;margin:0 auto;background:var(--bg);display:flex;flex-direction:column;padding-top:var(--safe-top)}.app-header{display:flex;align-items:center;justify-content:space-between;min-height:52px;padding:8px 16px 4px;gap:12px}.app-header h1,.app-title{margin:0;font-size:1.2rem;font-weight:650;letter-spacing:-.02em;text-align:center;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.back-btn{min-width:44px;min-height:44px;border:0;background:transparent;border-radius:12px;display:flex;align-items:center;gap:2px;padding:0 6px 0 0;color:var(--accent);font-weight:600;font-size:.95rem}.back-btn:active,.icon-btn:active{background:var(--line)}.icon-btn{width:44px;height:44px;border:0;background:transparent;border-radius:12px;display:grid;place-items:center;flex-shrink:0}.app-main{flex:1;padding:8px 16px 24px;padding-bottom:calc(88px + var(--safe-bottom));overflow:auto;-webkit-overflow-scrolling:touch}.app-main.overlay{padding-bottom:calc(8px + var(--safe-bottom))}.lead{color:var(--muted);margin:0 0 16px}.primary-btn{width:100%;min-height:52px;border:0;border-radius:14px;background:var(--accent);color:#fff;font-weight:600;padding:12px 16px}.primary-btn:active{background:var(--accent-press)}.primary-btn:disabled{opacity:.55}.ghost-btn{min-height:44px;border:0;background:transparent;color:var(--accent);font-weight:600;padding:8px 0}.recipe-list,.stack{display:flex;flex-direction:column;gap:10px}.recipe-row,.list-row{width:100%;text-align:left;border:0;background:var(--surface);border-radius:var(--radius);padding:14px 16px;min-height:56px}.recipe-row{display:flex;flex-direction:column;align-items:flex-start;gap:4px}.recipe-row-meta{font-size:.88rem}.meta-quiet{color:var(--muted);font-weight:400}.recipe-row strong,.list-row strong{font-weight:600}.meta{color:var(--muted);font-size:.92rem}.empty{padding:28px 8px;color:var(--muted);text-align:center}.bottom-nav{position:fixed;left:50%;transform:translate(-50%);bottom:0;width:min(430px,100%);display:grid;grid-template-columns:1fr 1fr 1fr;background:var(--surface);border-top:1px solid var(--line);padding-bottom:var(--safe-bottom)}.bottom-nav button{min-height:56px;border:0;background:transparent;color:var(--muted);font-size:.8rem;font-weight:600;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}.bottom-nav button.active{color:var(--ink)}.segmented{display:grid;grid-template-columns:1fr 1fr;background:#efe8df;border-radius:12px;padding:3px;margin-bottom:14px}.segmented button{min-height:44px;border:0;background:transparent;border-radius:10px;color:var(--muted);font-weight:600}.segmented button.active{background:var(--surface);color:var(--ink)}.search-wrap{position:sticky;top:0;z-index:1;background:var(--bg);padding-bottom:8px}.search{width:100%;min-height:48px;border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:12px 14px;font-size:17px;margin-bottom:0}.inventory-row{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;background:var(--surface);border-radius:var(--radius);padding:10px 12px 10px 16px;min-height:56px}.empty-guide{margin-top:20px}.guide-steps{color:var(--ink);margin:8px 0 4px;padding-left:1.2rem}.guide-steps li{margin-bottom:6px}.search-results{display:flex;flex-direction:column;gap:6px;margin-bottom:16px}.search-results button,.remove-btn{min-height:44px}.hint{color:var(--muted);font-size:.9rem;margin:0 0 12px}.spice-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:8px 0;border-bottom:1px solid var(--line)}.spice-row input{width:28px;height:28px;flex-shrink:0;accent-color:var(--spice)}.field{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}.field label{font-size:.92rem;color:var(--muted)}.field input,.field select{min-height:48px;border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:10px 12px}.disclaimer{color:var(--muted);font-size:.84rem;margin:8px 0 0}.nutrition-line,.nutrition-quiet{color:var(--muted);font-size:.92rem;margin:4px 0 16px}.section-label{font-size:.95rem;font-weight:650;margin:20px 0 8px}.recipe-title{font-size:1.25rem;margin:0 0 4px;line-height:1.25}.ingredient-line{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--line);min-height:44px;align-items:center}.ingredient-line span:first-child{flex:1;min-width:0}.recipe-actions{position:sticky;bottom:0;background:var(--bg);padding:12px 0 calc(12px + var(--safe-bottom));margin-top:12px}.steps{padding-left:1.3rem;margin:0 0 12px}.steps li{margin-bottom:10px;line-height:1.45}.servings{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0}.servings-ctrl{display:flex;align-items:center;gap:10px}.servings-ctrl button{width:44px;height:44px;border:1px solid var(--line);background:var(--surface);border-radius:12px}.coach{margin:0 16px 8px;background:var(--ink);color:#f7f3ee;border-radius:14px;padding:12px 14px}.coach p{margin:6px 0 8px;font-size:.92rem;color:#e8dfd4}.coach button{min-height:44px;border:0;background:transparent;color:#fff;font-weight:650;padding:0}.today-summary{margin-bottom:18px}.today-summary strong{font-size:1.15rem}
