.smart-recipe,#smart-kitchen-cart{margin:28px 0;padding:22px;border:1px solid #d6dfcb;border-radius:20px;background:#f3f5ed;color:#283025}.smart-recipe h2,.smart-recipe h3,#smart-kitchen-cart h3{margin:0 0 14px}.smart-heading,.smart-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.smart-heading{justify-content:space-between}.smart-heading h2{margin:0;font-size:1.35rem}.smart-recipe button,.smart-cooking-dialog button,#smart-kitchen-cart button{min-height:44px;padding:10px 16px;border:1px solid #b8c6a8;border-radius:12px;background:#fff;color:#405632;font:inherit;cursor:pointer}.smart-recipe .smart-primary,.smart-cooking-dialog .smart-primary{background:#526642;color:white;border-color:#526642}.smart-recipe button:disabled,.smart-cooking-dialog button:disabled{opacity:.5;cursor:default}.smart-recipe details{border-top:1px solid #d6dfcb;padding:16px 0 0;margin-top:16px}.smart-recipe summary,.smart-cooking-dialog summary{cursor:pointer;min-height:44px;font-weight:700;line-height:1.6}.smart-recipe p.smart-feedback:empty{display:none}.smart-note{font-size:.9rem!important;color:#68745f;line-height:1.6}.smart-form{display:grid;grid-template-columns:2fr 1fr 1fr;gap:14px;margin:12px 0}.smart-form label,.smart-comparison label{display:grid;gap:7px;font-size:.95rem}.smart-form select,.smart-form input,.smart-comparison input,.smart-mode-timer select{box-sizing:border-box;width:100%;min-height:46px;min-width:0;border:1px solid #b8c6a8;border-radius:10px;padding:10px 14px;background:#fff;color:#283025;font:inherit}.smart-form .smart-actions{grid-column:1/-1}.smart-ingredient{display:grid!important;grid-template-columns:22px minmax(0,1fr) auto;gap:10px;align-items:center;min-height:48px;padding:9px 0;border-bottom:1px solid #dce2d4}.smart-ingredient input,.smart-cart-row input,.smart-sub-choice input,.smart-mode-options input{width:20px;height:20px;accent-color:#526642}.smart-ingredient b{font-size:.9rem}.smart-substitution{background:#fff;padding:12px!important;border-radius:12px}.smart-sub-choice{display:flex;align-items:center;gap:10px;padding:14px 0}.smart-comparison>div{padding:14px;border:1px solid #d6dfcb;border-radius:12px;margin:12px 0;background:#fff}.smart-cart-row{display:flex;gap:14px;align-items:center;justify-content:space-between;border-bottom:1px solid #d6dfcb;padding:12px 0}.smart-cart-row label{display:flex;align-items:center;gap:10px}.smart-cart-row a{font-size:.85rem}.smart-cart-sources>div{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:14px 0}.smart-cart-sources button{font-size:.8rem!important}.smart-copy-fallback{display:block;width:100%;min-height:160px;font:inherit;margin-top:12px}.smart-cooking-dialog{box-sizing:border-box;width:min(920px,96vw);max-height:94dvh;margin:auto;padding:24px;border:1px solid #c6d0ba;border-radius:22px;background:#fafbf6;color:#283025;overscroll-behavior:contain}.smart-cooking-dialog::backdrop{background:#142011b3}.smart-mode-header{display:flex;gap:20px;justify-content:space-between;align-items:flex-start}.smart-mode-header h2{margin:0;font-size:1.4rem}.smart-kicker{font-size:.75rem;letter-spacing:.12em;margin:0 0 8px;color:#68745f}.smart-mode-header button{font-size:1.5rem;line-height:1}.smart-progress{display:grid;gap:10px;margin:24px 0}.smart-progress progress{width:100%;height:12px;accent-color:#526642}.smart-step-text{font-size:clamp(1.45rem,4.8vw,2.2rem);line-height:1.65;font-weight:650;margin:20px 0 28px;overflow-wrap:anywhere;outline:none}.smart-mode-timer{border:1px solid #cbd6bc;border-radius:16px;padding:16px;background:#eef3e5}.smart-mode-timer h3{margin:0 0 10px}.smart-mode-timer output{display:block;font:700 2.3rem/1.5 ui-monospace,monospace;font-variant-numeric:tabular-nums}.smart-mode-ingredients{margin:24px 0}.smart-mode-options{display:flex;flex-wrap:wrap;align-items:center;gap:14px;font-size:.85rem}.smart-mode-options label{display:flex;align-items:center;gap:7px}.smart-mode-options [data-wake-status]{font-size:.8rem;color:#68745f}.smart-mode-navigation{position:sticky;bottom:-24px;background:#fafbf6;border-top:1px solid #dce2d4;padding:14px 0;display:flex;justify-content:space-between;gap:14px;margin-top:22px}.smart-mode-navigation button{flex:1}.smart-mode-alert{color:#b84b18;font-weight:700}.smart-recipe :focus-visible,.smart-cooking-dialog :focus-visible,#smart-kitchen-cart :focus-visible{outline:3px solid #f0783c;outline-offset:3px}@media(max-width:600px){.smart-recipe,#smart-kitchen-cart{padding:16px}.smart-heading{align-items:stretch;flex-direction:column}.smart-form{grid-template-columns:1fr 1fr}.smart-form label:first-child{grid-column:1/-1}.smart-cart-row{align-items:flex-start;flex-direction:column;gap:7px}.smart-cart-sources>div{align-items:flex-start;flex-direction:column}.smart-cooking-dialog{width:100%;height:100dvh;max-height:100dvh;border:0;border-radius:0;padding:18px}.smart-mode-navigation{bottom:-18px;padding-bottom:max(14px,env(safe-area-inset-bottom))}.smart-mode-options{align-items:flex-start;flex-direction:column}.smart-actions button{flex:1}.smart-substitution a{display:inline-block;margin:6px 0}}@media print{.smart-recipe,.smart-cooking-dialog,#smart-kitchen-cart{display:none!important}}

body.smart-cooking-open{overflow:hidden}
@media(max-width:600px){.smart-cooking-dialog{max-width:none;margin:0}}
