html.quiz-is-open { overflow: hidden; }
.meal-quiz { width: min(920px, calc(100% - 40px)); max-width: none; max-height: min(90dvh, 850px); margin: auto; padding: 0; border: 0; border-radius: 5px; background: #f6f2e9; color: #242521; font-family: inherit; overflow: auto; box-shadow: 0 30px 100px #191c164a; }
.meal-quiz, .meal-quiz *, .meal-quiz *::before, .meal-quiz *::after { box-sizing: border-box; }
.meal-quiz::backdrop { background: #252922b3; backdrop-filter: blur(9px); }
.meal-quiz[open] { animation: quiz-in .35s ease both; }
.meal-quiz button, .meal-quiz input, .meal-quiz select { font: inherit; }
.meal-quiz button { cursor: pointer; }
.meal-quiz button:focus-visible, .meal-quiz input:focus-visible, .meal-quiz select:focus-visible, .meal-quiz label:has(input:focus-visible) { outline: 2px solid #bd3427; outline-offset: 4px; }
.quiz-shell { display: grid; grid-template-columns: 30% 70%; min-height: 660px; }
.quiz-aside { background: #bd3427; color: #f6f2e9; padding: 36px 29px 28px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.quiz-brand { font-size: 47px; font-weight: 900; font-stretch: 70%; line-height: .79; letter-spacing: -3px; position: relative; width: min-content; }
.quiz-aside-middle { margin-top: 25px; }
.quiz-aside-middle > p { font-size: 39px; font-weight: 750; letter-spacing: -1.8px; line-height: .95; margin: 32px 0 0; }
.quiz-aside-footer { font-size: 9px; letter-spacing: 1.2px; font-weight: 600; margin-top: 30px; }
.quiz-bowl-art { position: relative; height: 150px; width: 200px; max-width: 100%; transform: rotate(-8deg); margin: 0 auto; }
.quiz-art-bowl { position: absolute; top: 48px; left: 5%; width: 90%; height: 92px; border-radius: 10% 10% 43% 43%; background: #ffdc4a; color: #bd3427; display: flex; align-items: center; justify-content: center; font-weight: 900; font-stretch: 70%; font-size: 20px; letter-spacing: -1px; transform: perspective(200px) rotateX(-8deg); z-index: 2; box-shadow: inset 0 -10px 0 #e4be3036; }
.quiz-art-bowl::before { content: ''; position: absolute; left: 0; top: -13px; width: 100%; height: 28px; background: #e9ba33; border: 5px solid #ffdc4a; box-sizing: border-box; border-radius: 50%; }
.quiz-art-food { position: absolute; left: 14%; width: 72%; height: 57px; top: 13px; z-index: 3; }
.quiz-art-food i { position: absolute; background: #7b3424; width: 28px; height: 22px; border-radius: 7px 14px 8px 10px; transform: rotate(30deg); box-shadow: inset -5px -4px 0 #562a2230; }
.quiz-art-food i:nth-child(1) { left: 0; top: 17px; }
.quiz-art-food i:nth-child(2) { left: 24px; top: 27px; background: #748546; transform: rotate(-20deg); }
.quiz-art-food i:nth-child(3) { left: 47px; top: 12px; width: 35px; height: 24px; }
.quiz-art-food i:nth-child(4) { left: 85px; top: 25px; background: #d98231; }
.quiz-art-food i:nth-child(5) { left: 106px; top: 24px; width: 20px; height: 16px; }
.quiz-art-food i:nth-child(6) { left: 22px; top: 7px; background: #d98231; width: 20px; height: 17px; }
.quiz-art-food i:nth-child(7) { left: 72px; top: 4px; background: #748546; width: 25px; height: 21px; }
.quiz-art-food i:nth-child(8) { left: 60px; top: 35px; background: #d98231; width: 17px; height: 12px; }
.quiz-art-shadow { position: absolute; height: 18px; width: 82%; border-radius: 50%; background: #76271e50; bottom: 0; left: 8%; filter: blur(6px); }
.quiz-main { padding: 38px 42px 32px; position: relative; min-width: 0; }
.quiz-close { position: absolute; right: 20px; top: 17px; width: 33px; height: 33px; border: 1px solid #24252133; border-radius: 50%; background: transparent; display: grid; place-items: center; transition: background .2s, transform .2s; }
.quiz-close:hover { background: #ffdc4a; transform: rotate(90deg); }
.quiz-close > span { position: absolute; width: 12px; height: 1px; background: #242521; transform: rotate(45deg); }
.quiz-close > span:last-child { transform: rotate(-45deg); }
.quiz-progress { display: flex; gap: 13px; align-items: center; font-size: 10px; margin: 2px 0 31px; max-width: calc(100% - 20px); }
.quiz-progress > span:first-child { font-weight: 700; color: #bd3427; white-space: nowrap; }
.quiz-progress > span:nth-child(2) { color: #66685e; white-space: nowrap; }
.quiz-progress-track { flex: 1; height: 2px; background: #24252120; margin-left: 6px; }
.quiz-progress-track > i { display: block; height: 100%; background: #bd3427; transition: width .3s; }
.quiz-eyebrow { font-size: 9px; font-weight: 600; letter-spacing: 1px; margin: 0 0 12px; color: #bd3427; }
.quiz-form h2 { font-size: clamp(31px, 3.7vw, 43px); font-stretch: 85%; letter-spacing: -1.7px; line-height: 1.03; font-weight: 750; margin: 0; overflow-wrap: anywhere; }
.quiz-form h2:focus { outline: none; }
.quiz-intro { font-size: 12px; line-height: 1.65; color: #64655b; max-width: 360px; margin: 14px 0 24px; }
.quiz-field { margin-bottom: 16px; flex: 1; min-width: 0; }
.quiz-field label { font-size: 11px; font-weight: 600; display: flex; justify-content: space-between; margin-bottom: 8px; }
.quiz-field label > span { font-size: 9px; color: #797a70; }
.quiz-field input, .quiz-field select { width: 100%; height: 43px; border: 1px solid #b9b7ac; border-radius: 0; padding: 0 12px; background: transparent; font-size: 13px; color: #242521; box-sizing: border-box; }
.quiz-field input::placeholder { color: #99998e; }
.quiz-field-row { display: flex; gap: 16px; }
.quiz-activity, .quiz-recipes { border: 0; padding: 0; margin: 3px 0 0; min-width: 0; }
.quiz-activity { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.quiz-activity legend { font-size: 11px; font-weight: 600; margin-bottom: 9px; }
.quiz-choice { display: flex; position: relative; cursor: pointer; border: 1px solid #b9b7ac; padding: 13px 8px 12px; flex-direction: column; gap: 9px; transition: background .2s, border .2s; }
.quiz-choice:has(input:checked) { border-color: #bd3427; background: #bd342709; }
.quiz-choice input, .quiz-recipe input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.quiz-radio-mark { width: 13px; height: 13px; flex-shrink: 0; border: 1px solid #9b9c8e; border-radius: 50%; box-sizing: border-box; display: grid; place-items: center; }
input:checked ~ .quiz-radio-mark, .quiz-recipe:has(input:checked) .quiz-radio-mark { border-color: #bd3427; }
input:checked ~ .quiz-radio-mark::after, .quiz-recipe:has(input:checked) .quiz-radio-mark::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #bd3427; }
.quiz-choice strong { font-weight: 650; font-size: 10px; display: block; }
.quiz-choice small { font-size: 9px; display: block; margin-top: 5px; color: #66685e; }
.quiz-note { font-size: 9px; line-height: 1.6; color: #74756a; margin: 12px 0 0; }
.quiz-actions { display: flex; gap: 10px; margin-top: 23px; }
.quiz-button { color: #f6f2e9; background: #bd3427; border: 1px solid #bd3427; min-height: 47px; padding: 12px 17px; width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 12px !important; font-weight: 600 !important; transition: background .2s; }
.quiz-button:hover { background: #9e291e; }
.quiz-button > span { font-size: 19px; font-weight: 400; }
.quiz-back { flex-shrink: 0; width: 47px; background: transparent; border: 1px solid #b9b7ac; color: #242521; font-size: 20px !important; transition: background .2s; }
.quiz-back:hover { background: #e7e1d3; }
.quiz-recipes { display: grid; gap: 12px; margin: 30px 0 25px; }
.quiz-recipe { display: flex; position: relative; align-items: center; gap: 13px; padding: 15px 13px; min-height: 86px; border: 1px solid #b9b7ac; cursor: pointer; transition: background .2s, border .2s; }
.quiz-recipe:has(input:checked) { border-color: #bd3427; background: #fffaf0; }
.quiz-recipe-number { display: flex; align-items: center; justify-content: center; width: 41px; height: 48px; background: var(--recipe-color); font-size: 18px; font-weight: 750; border-radius: 2px 2px 13px 13px; transform: rotate(-5deg); flex-shrink: 0; }
.quiz-recipe-copy { flex: 1; min-width: 0; }
.quiz-recipe-copy > strong { display: block; font-size: 16px; letter-spacing: -.5px; font-weight: 700; }
.quiz-recipe-copy > small { display: block; color: #66685e; font-size: 10px; line-height: 1.5; margin-top: 7px; }
.quiz-recipe-note { display: flex; gap: 13px; align-items: center; }
.quiz-mini-star { color: #bd3427; font-size: 40px; line-height: 1; }
.quiz-recipe-note p { font-size: 11px; line-height: 1.65; margin: 0; }
.quiz-recipe-note p > span { font-size: 9px; color: #74756a; }
.quiz-plan-card { border: 1px solid #24252133; padding: 23px; margin-top: 30px; background: #fffaf0; }
.quiz-plan-head { display: flex; justify-content: space-between; gap: 12px; font-size: 9px; padding-bottom: 18px; border-bottom: 1px solid #24252133; }
.quiz-plan-head > span:first-child { overflow-wrap: anywhere; }
.quiz-plan-head > span:last-child { color: #bd3427; white-space: nowrap; }
.quiz-plan-card h3 { font-size: 25px; font-weight: 700; letter-spacing: -.9px; margin: 23px 0 6px; }
.quiz-plan-card > p { margin: 0; color: #74756a; font-size: 10px; line-height: 1.5; }
.quiz-plan-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 27px 0 0; }
.quiz-plan-card dt { font-size: 9px; line-height: 1.4; color: #74756a; }
.quiz-plan-card dd { font-size: 27px; font-weight: 650; letter-spacing: -1px; margin: 8px 0 0; }
.quiz-plan-card dd small { font-size: 10px; font-weight: 400; letter-spacing: 0; }
.quiz-note-plan { margin-top: 15px; }
.quiz-download { width: 100%; display: flex; justify-content: space-between; color: #242521; border: 0; border-bottom: 1px solid #b9b7ac; background: transparent; font-size: 11px !important; padding: 15px 0 12px; margin-top: 8px; }
.quiz-download:hover { color: #bd3427; }
.quiz-complete { padding-top: 24px; }
.quiz-complete-seal { border-radius: 50%; height: 95px; width: 95px; background: #ffdc4a; color: #bd3427; font-size: 20px; font-weight: 800; letter-spacing: -1px; line-height: .9; display: flex; flex-direction: column; justify-content: center; align-items: center; transform: rotate(-12deg); margin: 0 0 33px; }
.quiz-complete-seal span { margin-top: 6px; font-size: 19px; }
.quiz-saved-summary { border-top: 1px solid #b9b7ac; border-bottom: 1px solid #b9b7ac; padding: 20px 0; margin: 28px 0; display: flex; flex-direction: column; gap: 7px; }
.quiz-saved-summary > strong { font-size: 17px; font-weight: 650; }
.quiz-saved-summary > span { font-size: 12px; color: #74756a; }
.quiz-text-button { border: 0; background: transparent; color: #242521; font-size: 11px !important; display: flex; justify-content: space-between; width: 100%; padding: 20px 0 6px; }
.quiz-text-button:hover { color: #bd3427; }
.quiz-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@keyframes quiz-in { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
@media (max-width: 700px) {
  .meal-quiz { width: calc(100% - 24px); max-height: 93dvh; }
  .quiz-shell { grid-template-columns: 1fr; min-height: 0; }
  .quiz-aside { display: none; }
  .quiz-main { padding: 31px 26px 28px; }
  .quiz-progress { margin-bottom: 31px; padding-right: 20px; }
  .quiz-form h2 { font-size: 37px; }
  .quiz-intro { font-size: 12px; }
  .quiz-complete { padding-top: 14px; }
  .quiz-complete-seal { width: 75px; height: 75px; font-size: 17px; margin-bottom: 25px; }
  .quiz-recipes { margin-top: 25px; }
  .quiz-recipe { min-height: 82px; }
  .quiz-plan-card { padding: 20px; }
}
@media (max-width: 380px) {
  .quiz-main { padding: 28px 20px 24px; }
  .quiz-form h2 { font-size: 32px; }
  .quiz-choice { padding-left: 6px; padding-right: 6px; }
  .quiz-choice strong { font-size: 9px; }
  .quiz-choice small { font-size: 8px; }
  .quiz-recipe-copy > strong { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .meal-quiz[open] { animation: none; }
  .meal-quiz *, .meal-quiz *::before, .meal-quiz *::after { transition: none !important; }
}
