/* V52: one checked-row stroke, and blue cooking controls on white paper. */
@media screen {
  .shopping-page .shopping-check .shopping-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(72px, 42%);
    column-gap: 14px;
    row-gap: 2px;
    align-items: start;
    position: relative;
    text-decoration: none;
  }
  .shopping-page .shopping-copy > span:first-child { display: contents; }
  .shopping-page .shopping-copy strong { grid-column: 1; grid-row: 1; min-width: 0; line-height: 1.45; }
  .shopping-page .shopping-copy .amount {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    min-width: 0;
    max-width: none;
    line-height: 1.45;
  }
  .shopping-page .shopping-copy .shopping-sub {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0;
    text-decoration: none;
  }
  .shopping-page .shopping-check input:checked ~ .shopping-copy,
  .shopping-page .shopping-check input:checked ~ .shopping-copy :is(strong, .amount, .shopping-sub) {
    color: #536a7c;
    opacity: 1;
    text-decoration: none;
  }
  .shopping-page .shopping-check input:checked ~ .shopping-copy::after {
    content: "";
    grid-column: 1 / -1;
    grid-row: 1;
    align-self: start;
    height: 0;
    margin-top: .725em;
    border-top: 1.5px solid #819caf;
    pointer-events: none;
  }

  /* Explicit route colors also cover the standalone public sample's cook mode. */
  body[data-edition="thanksgiving"] :is(.recipe-page, .focus-page) {
    --action: #315e85;
    --action-dark: #244967;
    --reader-cook: #315e85;
    --reader-cook-dark: #244967;
    --reader-cook-wash: #eaf3fa;
    --ink: #283f52;
    --muted: #536a7c;
    --pale: #eaf3fa;
    --panel: #f3f7fb;
    --line: #d5e2ec;
    --cloth: #edf4fa;
    --cloth-check: transparent;
    --recipe-paper: #fff;
    --recipe-rule: #d5e2ec;
  }
  body[data-edition="thanksgiving"] :is(.focus-page, .focus-head, .focus-layout) { background: #fff; }
  body[data-edition="thanksgiving"] .focus-page .step-sheet {
    background: #edf4fa;
    box-shadow: 0 8px 22px -15px rgb(36 73 103 / .28);
  }
  body[data-edition="thanksgiving"] .focus-page :is(.step-sheet-inner, .focus-ingredients) { background: #fff; }
  body[data-edition="thanksgiving"] :is(.ingredients-panel > .recipe-section-heading, .focus-ingredients > summary) {
    background: #315e85;
    border-color: #315e85;
    color: #fff;
  }
  body[data-edition="thanksgiving"] :is(.ingredients-panel > .recipe-section-heading, .focus-ingredients > summary) :is(h2, span) { color: #fff; }
  body[data-edition="thanksgiving"] .focus-page :is(.focus-head, .step-navigation, .focus-ingredients, .ingredient-list li) { border-color: #d5e2ec; }
  body[data-edition="thanksgiving"] .focus-page :is(.focus-chapter, .focus-recipe-note, .ingredient-group h3, .ingredient-footer span) { color: #536a7c; }
  body[data-edition="thanksgiving"] .focus-page :is(.cook-ingredients-link, .ingredient-footer .text-button) { color: #315e85; }
  body[data-edition="thanksgiving"] .focus-page .button.primary,
  body[data-edition="thanksgiving"] .focus-page .step-dots button[aria-current="step"] {
    background: #315e85;
    border-color: #315e85;
    color: #fff;
  }
  body[data-edition="thanksgiving"] .focus-page .button.primary:hover,
  body[data-edition="thanksgiving"] .focus-page .step-dots button[aria-current="step"]:hover {
    background: #244967;
    border-color: #244967;
  }
  body[data-edition="thanksgiving"] .focus-page .button.outline,
  body[data-edition="thanksgiving"] .focus-page .step-dots button:not([aria-current="step"]) { background: #fff; border-color: #b9cede; color: #315e85; }
  body[data-edition="thanksgiving"] .focus-page .button.outline:hover,
  body[data-edition="thanksgiving"] .focus-page .step-dots button:not([aria-current="step"]):hover { background: #eaf3fa; }
  body[data-edition="thanksgiving"] .focus-page .ingredient-list input { accent-color: #315e85; border-color: #9cb5c9; }
  body[data-edition="thanksgiving"] .focus-page .ingredient-list input:checked { background: #315e85; border-color: #315e85; }
  body[data-edition="thanksgiving"] .focus-page .ingredient-list input:checked + span { color: #536a7c; text-decoration-color: #819caf; }
  body[data-edition="thanksgiving"] .focus-page .ingredient-list label:hover,
  body[data-edition="thanksgiving"] .focus-page .ingredient-list label:has(input:checked) { background: #f0f6fb; }
  body[data-edition="thanksgiving"] .focus-page :is(.cook-progress, .ingredient-meter) { background: #dce8f1; color: #315e85; }
  body[data-edition="thanksgiving"] .focus-page .cook-progress::-webkit-progress-bar,
  body[data-edition="thanksgiving"] .focus-page .ingredient-meter::-webkit-progress-bar { background: #dce8f1; }
  body[data-edition="thanksgiving"] .focus-page .cook-progress::-webkit-progress-value,
  body[data-edition="thanksgiving"] .focus-page .ingredient-meter::-webkit-progress-value { background: #315e85; }
  body[data-edition="thanksgiving"] .focus-page .cook-progress::-moz-progress-bar,
  body[data-edition="thanksgiving"] .focus-page .ingredient-meter::-moz-progress-bar { background: #315e85; }

  @media (forced-colors: active) {
    .shopping-page .shopping-check input:checked ~ .shopping-copy::after { border-color: CanvasText; }
  }
}
