:root { color-scheme: light; font-family: Arial, sans-serif; color: #573c32; background: #fff9ef; line-height: 1.65; }
* { box-sizing: border-box; }
body { margin: 0; }
header, main, .prototype, footer { width: min(960px, calc(100% - 32px)); margin-inline: auto; }
header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding-block: 24px 16px; font-size: 14px; }
.brand { font-size: 26px; font-weight: 800; color: #b94f39; }
.prototype { padding: 8px 14px; border-radius: 12px; background: #f7ead9; font-size: 13px; }
.heading { padding-block: 24px; }
h1 { font-size: clamp(26px, 4vw, 40px); line-height: 1.3; color: #762f27; margin: 6px 0 16px; overflow-wrap: anywhere; }
.eyebrow { color: #a84b36; margin: 0; font-size: 14px; }
.chip { background: #f9e3d3; padding: 6px 16px; border-radius: 24px; display: inline-block; }
.recipe-metadata { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: 100%; }
.recipe-tag { color: #762f27; background: #f8dfd0; border: 1px solid #edc7b2; font-size: 14px; line-height: 1.4; }
.content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 20px; align-items: start; }
.card { border: 1px solid #eed9c8; border-radius: 22px; background: #fffdf7; overflow: hidden; box-shadow: 0 4px 16px #8c503309; }
h2 { margin: 0; padding: 12px 22px; font-size: 21px; background: #fbe9dc; color: #873b2c; }
.recipe-text { padding: 20px 22px; white-space: pre-wrap; overflow-wrap: anywhere; text-align: start; font-size: 18px; line-height: 1.9; }
.notes { grid-column: 1 / -1; }
.shopping-items { list-style: none; margin: 0; padding: 8px 22px; }
.shopping-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid #eed9c8; }
.shopping-item:last-child { border-bottom: 0; }
.shopping-amount { direction: rtl; color: #755a50; }
.shopping-note { grid-column: 1 / -1; color: #755a50; }
.state { text-align: center; margin-block: 32px; padding: 32px 20px; }
.state h1 { font-size: 27px; }
button { min-height: 48px; padding: 10px 24px; border: 0; border-radius: 24px; color: white; background: #b84f38; font: inherit; cursor: pointer; }
button:focus-visible { outline: 3px solid #762f27; outline-offset: 4px; }
footer { text-align: center; padding-block: 28px; font-size: 13px; }
@media (max-width: 600px) { .content { grid-template-columns: minmax(0, 1fr); gap: 16px; } .heading { padding-block: 20px; } .recipe-text { padding: 16px; } }
