*,*:before,*:after{margin:0;padding:0;box-sizing:border-box}:root,[data-theme=light]{--bg: #ffffff;--bg-elevated: #f7f7f5;--bg-card: #ffffff;--text: #1a1a1a;--text-secondary: #6e6e6e;--text-tertiary: #a0a0a0;--accent: #4a7c6f;--accent-light: #e8f0ed;--accent-hover: #3d6a5e;--border: #e6e6e6;--border-light: #f0f0f0;--surface: #f2f2f0;--surface-hover: #eaeae7;--shadow-sm: 0 1px 2px rgba(0,0,0,.04);--shadow-md: 0 4px 12px rgba(0,0,0,.06);--shadow-lg: 0 8px 30px rgba(0,0,0,.08);--error-bg: #fef2f2;--error-border: #fecaca;--error-text: #b91c1c;--timeline-line: #e0e0e0;--logo-gradient-start: #4a7c6f;--logo-gradient-end: #2d5a4e}[data-theme=dark]{--bg: #111111;--bg-elevated: #1a1a1a;--bg-card: #1e1e1e;--text: #e8e8e8;--text-secondary: #999999;--text-tertiary: #666666;--accent: #6bb8a4;--accent-light: #1e2e29;--accent-hover: #7ec9b5;--border: #2a2a2a;--border-light: #222222;--surface: #1e1e1e;--surface-hover: #282828;--shadow-sm: 0 1px 2px rgba(0,0,0,.2);--shadow-md: 0 4px 12px rgba(0,0,0,.3);--shadow-lg: 0 8px 30px rgba(0,0,0,.4);--error-bg: #2d1515;--error-border: #5c2020;--error-text: #f87171;--timeline-line: #333333;--logo-gradient-start: #6bb8a4;--logo-gradient-end: #4a9c87}html{font-size:16px;transition:background-color .3s ease,color .3s ease}body{font-family:Inter,system-ui,-apple-system,sans-serif;background:var(--bg);color:var(--text);line-height:1.6;-webkit-font-smoothing:antialiased}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.section-title{font-family:Inter,system-ui,sans-serif;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--text-tertiary);margin-bottom:1rem}.app{min-height:100vh;display:flex;flex-direction:column}.app-header{display:flex;align-items:center;justify-content:space-between;padding:1.2rem 2rem;border-bottom:1px solid var(--border);background:var(--bg);position:sticky;top:0;z-index:10;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.header-left{display:flex;align-items:center}.header-right{display:flex;align-items:center;gap:.75rem}.nav-link{background:none;border:none;font-family:inherit;font-size:.88rem;font-weight:500;color:var(--text-secondary);cursor:pointer;padding:.35rem .5rem;border-radius:6px;transition:color .15s,background .15s}.nav-link:hover{color:var(--accent);background:var(--accent-light)}.logo{font-family:Inter,system-ui,sans-serif;font-size:1.25rem;font-weight:700;letter-spacing:-.04em;background:linear-gradient(135deg,var(--logo-gradient-start),var(--logo-gradient-end));-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.logo-icon{-webkit-text-fill-color:var(--accent);margin-right:.15rem}.logo-beta{display:inline-block;margin-left:.5rem;padding:.15em .5em;font-size:.6rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--accent);background:var(--accent-light);border-radius:4px;vertical-align:.2em;-webkit-text-fill-color:initial}.app-main{flex:1;width:100%;max-width:920px;margin:0 auto;padding:2rem 1.5rem 4rem}.app-footer{padding:1.5rem 2rem;text-align:center;font-size:.8rem;color:var(--text-tertiary);border-top:1px solid var(--border)}.app-footer-tagline{margin:0}.app-footer-contact{margin:.4rem 0 0}.app-footer-email{color:var(--text-secondary);text-decoration:none;transition:color .15s ease}.app-footer-email:hover{color:var(--accent)}.hero{text-align:center;padding:3rem 1rem .5rem}.hero-title{font-family:"DM Serif Display",Georgia,serif;font-size:2.8rem;font-weight:400;line-height:1.15;letter-spacing:-.02em;margin-bottom:.6rem;color:var(--text)}.hero-subtitle{font-size:1.1rem;color:var(--text-secondary);max-width:400px;margin:0 auto}.error-message{padding:1rem 1.25rem;margin-bottom:2rem;max-width:600px;margin-left:auto;margin-right:auto;background:var(--error-bg);border:1px solid var(--error-border);border-radius:10px;color:var(--error-text);font-size:.93rem}.theme-toggle{display:flex;align-items:center;gap:.5rem;background:var(--surface);border:1px solid var(--border);border-radius:999px;padding:.35rem .85rem .35rem .45rem;cursor:pointer;font-family:inherit;font-size:.78rem;font-weight:500;color:var(--text-secondary);transition:all .2s ease}.theme-toggle:hover{background:var(--surface-hover);color:var(--text)}.theme-toggle-track{width:2rem;height:1.15rem;background:var(--border);border-radius:999px;position:relative;transition:background .2s ease}[data-theme=dark] .theme-toggle-track{background:var(--accent)}.theme-toggle-thumb{position:absolute;top:2px;left:2px;width:.85rem;height:.85rem;background:#fff;border-radius:50%;transition:transform .2s ease;box-shadow:0 1px 3px #00000026}[data-theme=dark] .theme-toggle-thumb{transform:translate(.85rem)}.theme-toggle-icon{-webkit-user-select:none;user-select:none}.search-bar{display:flex;gap:0;margin:1.5rem auto 2.5rem;max-width:600px;background:var(--bg-card);border:1.5px solid var(--border);border-radius:12px;overflow:hidden;box-shadow:var(--shadow-sm);transition:border-color .2s,box-shadow .2s}.search-bar:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-light)}.search-input{flex:1;padding:.9rem 1.2rem;font-size:.95rem;font-family:inherit;background:transparent;border:none;color:var(--text);outline:none}.search-input::placeholder{color:var(--text-tertiary)}.search-button{padding:.9rem 1.5rem;font-size:.9rem;font-family:inherit;font-weight:600;background:var(--accent);color:#fff;border:none;cursor:pointer;transition:background .15s;white-space:nowrap}.search-button:hover:not(:disabled){background:var(--accent-hover)}.search-button:disabled{opacity:.5;cursor:not-allowed}.controls-row{display:flex;align-items:center;gap:1.25rem;flex-wrap:wrap;margin-bottom:1.75rem}.unit-toggle{display:inline-flex;background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:3px;gap:2px}.unit-option{padding:.4rem .9rem;font-size:.82rem;font-family:inherit;font-weight:500;background:none;border:none;border-radius:8px;cursor:pointer;color:var(--text-tertiary);transition:all .15s}.unit-option.active{background:var(--bg-card);color:var(--accent);font-weight:600;box-shadow:var(--shadow-sm)}.unit-option:hover:not(.active){color:var(--text-secondary)}.beta-label{font-size:.52rem;font-weight:600;text-transform:uppercase;letter-spacing:.03em;color:var(--accent);margin-left:.1rem}.language-select{display:inline-flex;align-items:center;gap:.5rem}.language-label{font-size:.82rem;font-weight:500;color:var(--text-secondary)}.language-dropdown{appearance:none;-webkit-appearance:none;padding:.4rem 2rem .4rem .75rem;font-size:.82rem;font-family:inherit;font-weight:500;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:10px;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M3 5l3 3 3-3'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .6rem center;transition:border-color .15s,box-shadow .15s}.language-dropdown:hover{border-color:var(--accent)}.language-dropdown:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 2px rgba(var(--accent-rgb, 99, 102, 241),.15)}.recipe-view{animation:fadeIn .35s ease}.recipe-header{margin-bottom:1.25rem}.recipe-title-row{display:flex;align-items:flex-start;gap:.75rem;flex-wrap:wrap}.recipe-title{font-family:"DM Serif Display",Georgia,serif;font-size:2.2rem;font-weight:400;line-height:1.2;letter-spacing:-.01em;color:var(--text)}.recipe-source{display:inline-block;margin-top:.35rem;font-size:.85rem;color:var(--accent);text-decoration:none;font-weight:500}.recipe-source:hover{text-decoration:underline}.method-badge{flex-shrink:0;font-size:.68rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;padding:.25rem .6rem;background:var(--accent-light);border-radius:6px;color:var(--accent);margin-top:.5rem}.recipe-meta{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.25rem}.meta-pill{font-size:.82rem;padding:.3rem .7rem;background:var(--surface);border:1px solid var(--border-light);border-radius:8px;color:var(--text)}.meta-label{font-weight:600;color:var(--text-secondary);margin-right:.2rem}.recipe-body{display:grid;grid-template-columns:300px 1fr;gap:2rem;align-items:start}.ingredients-card{background:var(--bg-elevated);border:1px solid var(--border);border-radius:14px;padding:1.25rem;position:sticky;top:5rem}.ingredient-list ul{list-style:none}.ingredient-item{display:flex;align-items:flex-start;gap:.6rem;padding:.5rem 0;cursor:pointer;transition:opacity .15s;font-size:.9rem}.ingredient-item+.ingredient-item{border-top:1px solid var(--border-light)}.ingredient-item.checked{opacity:.35}.ingredient-item.checked .ingredient-text{text-decoration:line-through}.ingredient-checkbox{flex-shrink:0;width:1.15rem;height:1.15rem;border:2px solid var(--border);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.6rem;color:transparent;margin-top:.18rem;transition:all .15s}.ingredient-item.checked .ingredient-checkbox{border-color:var(--accent);background:var(--accent);color:#fff}.ingredient-text strong{font-weight:600;color:var(--accent)}.ingredient-notes{color:var(--text-tertiary);font-size:.82rem}.instruction-list ol{list-style:none}.timeline{position:relative;padding-left:2.5rem}.timeline:before{content:"";position:absolute;left:.75rem;top:.5rem;bottom:.5rem;width:2px;background:var(--timeline-line);border-radius:1px}.timeline-item{position:relative;padding-bottom:1.5rem}.timeline-item.last{padding-bottom:0}.timeline-marker{position:absolute;left:-2.5rem;top:0;width:1.6rem;height:1.6rem;display:flex;align-items:center;justify-content:center}.step-number{width:1.6rem;height:1.6rem;display:flex;align-items:center;justify-content:center;font-size:.72rem;font-weight:700;color:var(--accent);background:var(--accent-light);border:2px solid var(--accent);border-radius:50%;position:relative;z-index:1}.step-text{font-size:.93rem;line-height:1.7;color:var(--text)}.recipe-notes{margin-top:2.5rem;padding-top:1.5rem;border-top:1px solid var(--border)}.notes-list{display:flex;flex-direction:column;gap:.5rem}.note-item{font-size:.88rem;color:var(--text-secondary);line-height:1.6;padding-left:1rem;border-left:3px solid var(--accent-light)}.about-page{max-width:640px;margin:0 auto;padding:2rem 0;animation:fadeIn .35s ease}.about-title{font-family:"DM Serif Display",Georgia,serif;font-size:2.2rem;font-weight:400;line-height:1.2;letter-spacing:-.01em;color:var(--text);margin-bottom:1.75rem}.about-body{display:flex;flex-direction:column;gap:1.25rem}.about-body p{font-size:1rem;line-height:1.8;color:var(--text-secondary)}.skeleton{animation:fadeIn .2s ease;max-width:600px;margin:0 auto}.skeleton-line{background:linear-gradient(90deg,var(--surface) 25%,var(--surface-hover) 50%,var(--surface) 75%);background-size:400% 100%;animation:shimmer 1.5s infinite ease-in-out;border-radius:8px}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.skeleton-title{height:2rem;width:55%;margin-bottom:1rem}.skeleton-meta{height:1.1rem;width:35%;margin-bottom:2rem}.skeleton-columns{display:grid;grid-template-columns:300px 1fr;gap:2rem}.skeleton-col{display:flex;flex-direction:column;gap:.75rem}.skeleton-ingredient{height:1rem;width:80%}.skeleton-step{height:3.5rem;width:100%}@media(max-width:720px){.app-header{padding:1rem 1.25rem}.app-main{padding:1.5rem 1rem 3rem}.hero-title{font-size:2rem}.recipe-title{font-size:1.7rem}.recipe-body{grid-template-columns:1fr;gap:1.5rem}.ingredients-card{position:static}.skeleton-columns{grid-template-columns:1fr}.search-bar{margin:1rem auto 2rem}}
