/* The supplied green / cream / orange design is preserved in styles.css. */
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 12px 20px; background: white; border-radius: 24px; }
.skip-link:focus { top: 12px; }
.initial-loading { text-align: center; margin: 100px 24px; color: var(--surface); }
.people-picker { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 330px; gap: 16px 12px; }
.person-option img { width: 64px; }
.quiz-options { min-width: 0; }
.quiz-option-copy { min-width: 0; }
.btn.primary, .btn.primary:hover { color: #fff; }
.store-options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.store-option { min-height: 66px; padding: 10px 12px; gap: 10px; border-radius: 18px; }
.store-logo { width: 36px; height: 36px; flex: 0 0 36px; object-fit: contain; }
.store-option .quiz-option-title { font-size: 15px; overflow-wrap: anywhere; }
.store-option .quiz-radio { width: 18px; height: 18px; }
.store-option:has(input:checked) .quiz-radio::after { width: 10px; height: 10px; }
body[data-question="store"] .quiz-title { font-size: 25px; }
.menu-options .quiz-option { min-height: 84px; }
.menu-options .quiz-option-title { font-size: 20px; }
body[data-question="soups"] .quiz-title, body[data-question="exclude"] .quiz-title { font-size: 25px; line-height: 1.45; }
.quiz-options:focus-within, .person-option:focus-visible { outline-color: var(--fg); }
.quiz-option:has(input:focus-visible), .quiz-exclusion:has(input:focus-visible) { outline: 3px solid var(--fg); outline-offset: 3px; }
.dish-picture { border: 0; padding: 0; background: var(--soft); border-radius: 16px; overflow: hidden; }
.dish-picture:focus-visible { outline-color: var(--fg); }
.dish-picture img { width: 100%; height: 100%; max-height: none; object-fit: contain; }
.dish-copy { min-width: 0; width: 100%; }
.dish-card { height: 100%; }
.dish-card .dish-copy { display: flex; flex-direction: column; flex: 1; }
.dish-card .dish-actions { margin-top: auto; padding-top: 10px; flex-wrap: wrap; gap: 8px 14px; }
.dish-card h2 { overflow-wrap: anywhere; }
.collection-label { margin: -6px 0 20px; font-size: 14px; color: var(--fg); }
.photo-placeholder { min-height: 100px; padding: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: var(--soft); font-size: 12px; color: var(--muted); text-align: center; }
.photo-placeholder img { width: 74px; height: 74px; object-fit: contain; }
.recipe-modal-photo { max-height: 340px; width: 100%; object-fit: contain; }
.nutrition { background: var(--soft); border-radius: 16px; padding: 14px; font-size: 14px; }
.ingredient-rows li { align-items: start; gap: 20px; }
.ingredient-rows li > :last-child { max-width: 48%; text-align: right; flex-shrink: 0; }
.raw-recipe { white-space: pre-line; }
.empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.restart-button { display: flex; margin: 16px auto; }
.shopping-item { grid-template-columns: 22px minmax(0, 1fr) minmax(55px, auto); }
.shopping-amount { max-width: 170px; overflow-wrap: anywhere; }
.shopping-item:has(input:checked) .shopping-name { text-decoration: line-through; opacity: .55; }
.shopping-item:has(input:checked) .shopping-amount { opacity: .55; }
.retry-button { margin-top: 32px; }
.survey-modal .modal-head h2 { min-width: 0; overflow-wrap: anywhere; }
@media (min-width: 700px) {
  .result-list { align-items: stretch; }
  .dish-card .dish-picture { height: 210px; width: 100%; flex: 0 0 210px; }
}
@media (max-width: 600px) {
  body[data-question="store"] .onboarding-panel-inner { padding-inline: 16px; }
  body[data-question="store"] .quiz-title { font-size: 23px; }
  .store-options { gap: 8px; }
  .store-option { min-height: 68px; padding: 10px 8px; gap: 7px; }
  .store-logo { width: 28px; height: 28px; flex-basis: 28px; }
  .store-option .quiz-option-title { font-size: 12px; }
  .store-option .quiz-radio { width: 15px; height: 15px; }
  .people-picker { max-width: 280px; gap: 12px; }
  .person-option img { width: 56px; }
  body[data-question="soups"] .quiz-title, body[data-question="exclude"] .quiz-title { font-size: 22px; }
  .menu-options .quiz-option { min-height: 76px; padding: 13px; }
  .menu-options .quiz-option-title { font-size: 18px; }
  .collection-label { font-size: 12px; }
  .dish-picture { align-self: start; }
  .dish-card h2 { font-size: 16px; }
  .dish-card .dish-actions { font-size: 12px; }
  .shopping-item { gap: 10px; }
  .shopping-amount { max-width: 110px; }
  .ingredient-rows li { gap: 12px; }
}
@media (max-width: 360px) {
  .store-option { padding-inline: 6px; gap: 6px; }
  .store-logo { width: 24px; height: 24px; flex-basis: 24px; }
  .store-option .quiz-option-title { font-size: 11px; overflow-wrap: normal; }
  .store-option .quiz-radio { display: none; }
}
