/* V45: shared blue utilities, Thanksgiving cooking accents. Print rules stay intact. */
@media screen {
  body[data-edition="thanksgiving"] {
    --ink: #283f52;
    --muted: #536a7c;
    --blue: #315e85;
    --action: #315e85;
    --action-dark: #244967;
    --pale: #eaf3fa;
    --panel: #f3f7fb;
    --line: #d5e2ec;
    --edition-accent: #315e85;
    --edition-wash: #eaf3fa;
    --check: #315e85;
    --reader-cook: #a94d24;
    --reader-cook-dark: #823918;
    --reader-cook-wash: #fff1e6;
    --radius: 12px;
  }

  body[data-edition="thanksgiving"] ::selection { background: #d4e7f6; color: #244967; }
  .site-header { border-bottom-color: #d5e2ec; box-shadow: 0 5px 16px -14px #24496750; }
  .site-header .main-nav { background: #eaf3fa !important; }
  .site-header .main-nav a { color: #315e85 !important; }
  .site-header .main-nav a[aria-current="page"] {
    background: #fff !important;
    color: #244967 !important;
    box-shadow: 0 3px 8px -5px #24496745;
  }
  .site-header .main-nav a:hover:not([aria-current="page"]) { background: #dcebf6 !important; color: #244967 !important; }
  .site-header .nav-count,
  .site-header .main-nav a[aria-current="page"] .nav-count { background: #315e85; color: #fff; }
  .header-menu-shortcut { background: #eaf3fa; }
  .site-header a:focus-visible { outline-color: #315e85; }

  .category-tabs { background: #edf3f7; }
  .category-tabs button { color: #3c5b73; }
  .category-tabs button[aria-pressed="true"] { background: #315e85; color: #fff; box-shadow: none; }
  .category-tabs button:hover:not([aria-pressed="true"]) { background: #fff; color: #244967; }
  .category-tabs button small { background: #dce8f1; color: #315e85; }
  .category-tabs button[aria-pressed="true"] small { background: #fff; color: #315e85; }
  .favorite-filter:hover,
  .favorite-filter[aria-pressed="true"] { background: #eaf3fa; color: #315e85; }
  .favorite-button[aria-pressed="true"],
  .favorite-inline[aria-pressed="true"] { color: #315e85; }
  .menu-button { background: #eaf3fa; color: #315e85; border-radius: 8px; }
  .menu-button:hover { background: #dcebf6; }
  .menu-button[aria-pressed="true"],
  .button[data-action="menu-toggle"][aria-pressed="true"] { background: #315e85; border-color: #315e85; color: #fff; }
  .menu-button[aria-pressed="true"]:hover,
  .button[data-action="menu-toggle"][aria-pressed="true"]:hover { background: #244967; border-color: #244967; }
  .welcome-actions .button.primary { background: #315e85; color: #fff; }
  .welcome-actions .button.primary:hover { background: #244967; }
  .recipe-card { border: 0; border-radius: 12px; box-shadow: 0 7px 18px -12px #24496755; }
  .recipe-card h3 { line-height: 1.35; }
  .card-meta { color: #536a7c; line-height: 1.45; }

  .app-page-intro,
  .plan-summary,
  .shopping-toolbar,
  .shopping-group,
  .prep-column,
  .ingredients-panel,
  .focus-ingredients,
  .recipe-cover,
  .step-sheet { border-radius: 12px; }
  .app-page-intro { padding: 20px 24px; margin-block: 24px 20px; background: #eaf3fa; }
  .app-page-intro h1 { margin-bottom: 6px; line-height: 1.18; color: #283f52; }
  .app-page-intro p { color: #536a7c; line-height: 1.5; }
  .plan-summary { padding: 20px; background: #eaf3fa; }
  .plan-summary h2 { margin-bottom: 16px; line-height: 1.2; }
  .menu-row { padding-block: 16px; border-color: #d5e2ec; }
  .menu-row:first-child { padding-top: 0; }
  .menu-row img { padding: 0; border-radius: 10px; box-shadow: none; }
  .menu-row h2 { line-height: 1.35; }
  .menu-row p { color: #536a7c; line-height: 1.5; }
  .menu-explainer p,
  .shopping-explainer p,
  .prep-assumptions p { color: #536a7c; line-height: 1.6; }
  .shopping-toolbar { padding: 14px 18px; background: #f0f6fb; border: 0; }
  .shopping-group,
  .prep-column { background: #fff; border-color: #d5e2ec; box-shadow: none; }
  .shopping-group h2,
  .prep-column > h2 { background: #eaf3fa; color: #283f52; border-color: #d5e2ec; line-height: 1.25; font-weight: 400; }
  .shopping-group h2 > span { color: #536a7c; }
  .shopping-check { min-height: 64px; padding-block: 14px; border-color: #e2ebf2; }
  .shopping-check strong { line-height: 1.45; }
  .shopping-check .amount { color: #315e85; line-height: 1.45; }
  .shopping-check:has(input:checked) { background: #f0f6fb; }
  .shopping-check input,
  .prep-check input { accent-color: #315e85; }
  .shopping-check input:checked ~ .shopping-copy,
  .prep-check input:checked + strong { color: #536a7c; text-decoration-color: #819caf; }
  .prep-time { color: #315e85; }
  .prep-check strong,
  .prep-item p { line-height: 1.55; }
  .prep-footer,
  .notice { background: #f0f6fb; border-color: #d5e2ec; border-radius: 12px; }

  .ingredients-panel,
  .focus-ingredients,
  .step-sheet {
    --action: var(--reader-cook);
    --action-dark: var(--reader-cook-dark);
    --pale: var(--reader-cook-wash);
    --panel: #fff8f2;
    --line: #e7d8cb;
    --muted: #715b4d;
    --ink: #352e29;
  }
  .recipe-title-sheet .button.primary,
  .step-navigation .button.primary { background: var(--reader-cook); color: #fff; }
  .recipe-title-sheet .button.primary:hover,
  .step-navigation .button.primary:hover { background: var(--reader-cook-dark); }
  .ingredients-panel > .recipe-section-heading,
  .focus-ingredients > summary { background: var(--reader-cook); color: #fff; border-color: var(--reader-cook); }
  .ingredients-panel > .recipe-section-heading h2,
  .ingredients-panel > .recipe-section-heading > span,
  .focus-ingredients > summary span { color: #fff; }
  .ingredients-panel > .recipe-section-heading h2 { font-family: Figtree, Arial, sans-serif; font-size: 1.1rem; line-height: 1.35; font-weight: 700; }
  .ingredient-list label { line-height: 1.5; min-height: 48px; padding-block: 11px; }
  .ingredient-group h3 { color: #715b4d; line-height: 1.4; }
  .ingredient-list input { accent-color: var(--reader-cook); }
  .ingredient-list input:checked { background: var(--reader-cook); border-color: var(--reader-cook); }
  .recipe-description,
  .recipe-title-sheet .timing { line-height: 1.55; }
  .steps-list li { line-height: 1.65; }
  .cook-step-link { color: var(--reader-cook); }
  .recipe-cover,
  .step-sheet { border: 0; box-shadow: 0 8px 22px -15px #6e4c3450; }
  .step-text { line-height: 1.65; }
  .step-dots button[aria-current="step"] { background: var(--reader-cook); border-color: var(--reader-cook); color: #fff; }
  .step-dots button[aria-current="step"]:hover { background: var(--reader-cook-dark); }

  @media (min-width: 701px) {
    .recipe-cover { padding: 10px; }
    .recipe-cover-grid {
      grid-template-columns: minmax(200px, .78fr) minmax(0, 1.22fr);
      gap: 24px;
      padding: 16px;
      align-items: center;
    }
    .recipe-image { min-height: 0; height: 240px; max-height: 240px; align-self: center; }
    .recipe-image img { min-height: 0; max-height: 232px; object-fit: cover; }
    .recipe-title-sheet { padding: 0; }
    .recipe-title-sheet h1 { font-size: 2rem; line-height: 1.08; max-width: none; }
    .recipe-chapter { margin: 6px 0 10px; padding-bottom: 8px; line-height: 1.4; }
    .recipe-description { font-size: .9rem; line-height: 1.5; margin-bottom: 12px; }
    .recipe-title-sheet .yield,
    .recipe-title-sheet .timing { font-size: .85rem; line-height: 1.45; margin-bottom: 7px; }
    .recipe-title-sheet .button-row { margin-top: 6px; }
  }

  @media (max-width: 700px) {
    .site-header .main-nav a { font-size: 11px !important; }
    .site-header .main-nav { border-top-color: #d5e2ec; box-shadow: 0 -7px 20px -15px #24496750; }
    .app-page-intro { padding: 16px; margin-block: 16px 18px; }
    .app-page-intro h1 { font-size: 1.7rem; }
    .plan-summary { padding: 18px; }
    .menu-row { padding-block: 14px; }
    .shopping-toolbar { padding: 12px; }
    .shopping-check { padding-block: 12px; }
    .shopping-check strong { font-size: .94rem; }
    .shopping-check .amount { font-size: .88rem; }
    .shopping-group h2,
    .prep-column > h2 { font-size: 1.4rem; }
    .focus-ingredients > summary { font-size: 1.45rem; }
  }
}
