/* A serving-time control beside a readable, clock-based prep guide. */
.prep-workspace { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: 36px; align-items: start; margin-top: 26px; }
.prep-planner-controls { position: sticky; top: 104px; padding: 22px; border-radius: 14px; background: #edf5fd; color: #294358; }
.prep-planner-controls h2 { font: 700 1.2rem/1.3 Figtree,sans-serif; margin: 0 0 10px; letter-spacing: -.015em; }
.prep-planner-controls > p { font-size: .9rem; line-height: 1.5; margin: 0 0 22px; color: #52697b; }
.prep-planner-controls > label { display: block; font-size: .86rem; font-weight: 650; margin-bottom: 8px; }
.prep-time-field { display: grid; gap: 10px; }
.prep-time-field input { min-width: 0; width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #aac7df; border-radius: 8px; background: white; color: #294358; font: 650 1.15rem/1.3 Figtree,sans-serif; font-variant-numeric: tabular-nums; }
.prep-time-field input:focus-visible { outline: 2px solid #2868a9; outline-offset: 3px; }
.prep-time-field .button { width: 100%; min-height: 44px; font-size: .9rem; padding: 10px 14px; }
.prep-time-presets { display: flex; gap: 6px; margin-top: 10px; }
.prep-time-presets button { flex: 1; min-height: 44px; padding: 8px 4px; border: 1px solid #c0d5e7; border-radius: 8px; color: #2868a9; background: #fff; font: 600 .8rem/1.3 Figtree,sans-serif; }
.prep-time-presets button[aria-pressed="true"] { color: #fff; background: #2868a9; border-color: #2868a9; }
.prep-time-presets button:hover { background: #e0eefb; color: #20558b; }
.prep-time-presets button[aria-pressed="true"]:hover { background: #2c75c8; color: #fff; }
.prep-planner-controls .prep-time-help { margin: 10px 0 0; font-size: .75rem; }
.prep-plan-summary { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px 12px; padding: 18px 0; margin-top: 18px; border-top: 1px solid #cbddea; font-size: .83rem; line-height: 1.45; font-variant-numeric: tabular-nums; }
.prep-plan-summary strong { text-align: right; font-size: .85rem; max-width: 12ch; }
.prep-planner-controls .back-link { margin: 0; min-height: 44px; display: inline-flex; align-items: center; font-size: .86rem; }
.prep-timetable { min-width: 0; }
.prep-scope { margin-bottom: 20px; }
.prep-scope h2,.prep-menu-review h2 { font: 650 1.2rem/1.3 Figtree,sans-serif; margin: 0 0 6px; }
.prep-scope p,.prep-menu-review > p { color: #52697b; font-size: .9rem; line-height: 1.55; margin: 0; }
.prep-before { border: 1px solid #cbddea; border-radius: 12px; margin-bottom: 26px; background: #fff; overflow: hidden; }
.prep-before > summary,.prep-guidance > summary,.suggested-prep > summary { display: flex; gap: 10px; align-items: center; min-height: 52px; padding: 15px 18px; color: #294358; font: 650 .94rem/1.4 Figtree,sans-serif; cursor: pointer; list-style: none; }
.prep-before > summary::-webkit-details-marker,.prep-guidance > summary::-webkit-details-marker,.suggested-prep > summary::-webkit-details-marker { display: none; }
.prep-before > summary > span { margin-left: auto; white-space: nowrap; color: #52697b; font-size: .8rem; font-weight: 500; }
.prep-before > summary > svg,.prep-guidance > summary > svg,.suggested-prep > summary > svg { width: 18px; height: 18px; min-width: 18px; margin-left: auto; }
.prep-before[open] > summary > svg,.prep-guidance[open] > summary > svg,.suggested-prep[open] > summary > svg { transform: rotate(180deg); }
body[data-edition="thanksgiving"] .prep-timetable .prep-column { padding: 0; border: 0; border-radius: 0; margin-bottom: 0; background: #fff; }
body[data-edition="thanksgiving"] #main .prep-timetable .prep-column > h2 { margin: 0 0 18px; padding: 0; background: transparent; border: 0; color: #294358; font: 650 1.1rem/1.4 Figtree,sans-serif; }
.prep-timetable .prep-item { display: grid; grid-template-columns: 148px minmax(0,1fr); gap: 18px; padding: 0 0 20px; margin: 0 0 20px; border-color: #dce6ee; }
.prep-timetable .prep-item .prep-check { gap: 10px; }
.prep-timetable .prep-item .prep-check strong { font: 650 .91rem/1.5 Figtree,sans-serif; color: #2868a9; }
.prep-timetable .prep-item .prep-check input:checked + strong { color: #52697b; }
.prep-timetable .prep-item p { margin: 0; font-size: .94rem; line-height: 1.65; max-width: 66ch; }
.prep-before[open] > summary { border-bottom: 1px solid #dce6ee; margin-bottom: 18px; }
.prep-before .prep-column { padding: 0 18px 18px !important; }
.prep-before .prep-column > h2 { display: none; }
.prep-before .prep-item { display: block; }
.prep-before .prep-item p { margin-left: 32px; }
.prep-footer-v55 { border-top: 1px solid #dce6ee; margin-top: 24px; padding-top: 18px; }
.prep-footer-v55 > p { margin: 0 0 8px; font-size: .86rem; line-height: 1.5; }
.prep-guidance { margin-bottom: 8px; }
.prep-guidance > summary { padding: 10px 0; font-size: .86rem; }
.prep-guidance p { margin: 0 0 14px; font-size: .86rem; line-height: 1.6; max-width: 70ch; color: #52697b; }
.prep-footer-v55 > button { min-height: 44px; padding-left: 0; font-size: .85rem; }
.prep-menu-review { margin-bottom: 20px; }
.prep-menu-review ul { list-style: none; padding: 0; margin: 18px 0; }
.prep-menu-review li { display: flex; gap: 18px; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #dce6ee; font-size: .9rem; }
.prep-menu-review li span { flex: none; color: #52697b; }
.prep-menu-review li a { font-weight: 600; }
.prep-menu-review .button { min-height: 44px; font-size: .9rem; }
.suggested-prep > summary { padding: 14px 0; }
.suggested-prep[open] > summary { margin-bottom: 16px; }
.menu-page .plan-summary > p { font-size: .9rem; line-height: 1.5; margin: 0 0 16px; color: #52697b; grid-column: 1/-1; }
.recipe-next-panel .recipe-next-path { margin-top: 16px; font-size: .8rem; }
.recipe-next-panel .button svg { transform: rotate(180deg); }
@media(max-width:900px){
 .prep-workspace { grid-template-columns: 240px minmax(0,1fr); gap: 24px; }
 .prep-planner-controls { padding: 18px; top: 126px; }
 .prep-timetable .prep-item { grid-template-columns: 1fr; gap: 0; }
 .prep-timetable .prep-item p { margin-left: 32px; }
}
@media(max-width:700px){
 .prep-workspace { display: block; margin-top: 20px; }
 .prep-planner-controls { position: static; padding: 20px; margin-bottom: 28px; }
 .prep-planner-controls > p { margin-bottom: 16px; }
 .prep-time-field { grid-template-columns: minmax(0,1fr) auto; align-items: center; }
 .prep-time-field .button { padding-inline: 12px; }
 .prep-time-presets { max-width: 280px; }
 .prep-plan-summary { padding-bottom: 10px; }
 .prep-plan-summary strong { max-width: none; }
 .prep-timetable .prep-item { margin-bottom: 18px; padding-bottom: 18px; }
 .prep-before > summary { padding-inline: 14px; }
 .prep-menu-review li { gap: 12px; }
}
@media print {
 .reader-journey,.recipe-next-panel,.prep-time-presets,.prep-time-field,.prep-planner-controls > label,.prep-planner-controls > p,.prep-planner-controls .back-link { display: none !important; }
 .prep-workspace { display: block; }
 .prep-planner-controls { position: static; padding: 0; background: #fff; margin-bottom: 16px; }
 .prep-planner-controls h2 { display: none; }
 .prep-plan-summary { max-width: 400px; margin: 0; padding: 0; border: 0; }
 .prep-timetable .prep-item { break-inside: avoid; }
 .prep-before,.prep-guidance { border: 0; }
 .prep-before > summary,.prep-guidance > summary { padding: 0; }
 .prep-before .prep-column { padding: 0 !important; }
 .prep-timetable .prep-column > h2 { color: #222 !important; }
}

@media screen {
 #main .reader-journey > :is(ol,ul) { width: min(100%,760px); }
 #main .reader-journey a { justify-content: flex-start; }
 #main .reader-journey .journey-number { color: #617d95; font-size: .72rem; font-weight: 600; font-variant-numeric: tabular-nums; }
 #main .reader-journey a[aria-current="step"] .journey-number { color: #2868a9; }
}

@media screen {
 body[data-edition="thanksgiving"] #main .prep-page .app-page-intro { background: transparent; border: 0; border-radius: 0; padding: 4px 0 14px; display: flex; flex-direction: row; align-items: flex-start; gap: 14px; }
 .prep-page .app-page-intro > div { min-width: 0; flex: 1; }
 .prep-page .app-page-intro > .icon-button { flex: none; margin-top: 4px; }
 .prep-page .app-page-intro h1 { margin-top: 0; }
 .prep-planner-controls > label.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
}
@media screen and (max-width:759px) {
 #main .reader-journey > :is(ol,ul) { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 4px; }
 #main .reader-journey a { min-height: 55px; flex-direction: column; align-items: flex-start; gap: 3px; padding: 7px 6px; font-size: .72rem; line-height: 1.2; }
 #main .reader-journey .journey-number { font-size: .65rem; }
 .prep-page .app-page-intro h1 { font-size: 1.8rem; }
 .prep-page .app-page-intro p { font-size: .88rem; line-height: 1.45; }
 .prep-planner-controls { padding: 18px; margin-bottom: 22px; }
 .prep-planner-controls > p { font-size: .83rem; margin-bottom: 14px; }
 .prep-planner-controls h2 { font-size: 1.1rem; margin-bottom: 6px; }
 .prep-plan-summary { margin-top: 12px; padding-top: 12px; padding-bottom: 0; }
 .prep-time-help { font-size: .7rem !important; }
}
@media screen and (max-width:700px) {
 body[data-edition="thanksgiving"] #main .menu-page .plan-summary { order: -1; }
 body[data-edition="thanksgiving"] #main .menu-page .plan-summary h2 { font: 700 1.1rem/1.3 Figtree,sans-serif; margin-bottom: 2px; }
 .menu-page .plan-summary > p { margin-bottom: 6px; font-size: .84rem; }
}

@media screen {
 body[data-edition="thanksgiving"] #main .menu-page .app-page-intro { background: transparent; border: 0; border-radius: 0; padding: 4px 0 14px; display: flex; flex-direction: row; align-items: flex-start; gap: 14px; }
 .menu-page .app-page-intro > div { min-width: 0; flex: 1; }
 .menu-page .app-page-intro > .button { flex: none; margin-top: 4px; min-height: 44px; }
}
@media screen and (max-width:700px) {
 .menu-page .app-page-intro { flex-wrap: wrap; }
 .menu-page .app-page-intro > div { flex-basis: calc(100% - 120px); }
 .menu-page .app-page-intro h1 { font-size: 1.8rem; }
 .menu-page .app-page-intro p { font-size: .84rem; line-height: 1.45; }
 .menu-page .app-page-intro > .button { padding: 10px; font-size: .8rem; }
}
@media screen and (max-width:360px) {
 .prep-time-field { grid-template-columns: 1fr; }
}

body[data-view="prep"] #main { max-height: none; overflow: visible; }
body[data-view="prep"] .preview-cutoff::before { display: none; }
.preview-prep-workspace .prep-example { padding: 18px; border: 1px solid #d5e3ed; border-radius: 12px; margin-bottom: 24px; }
.prep-example h2 { margin: 0 0 10px; font: 700 1.12rem/1.35 Figtree, sans-serif; }
.prep-example ol { list-style: none; margin: 0; padding: 0; }
.prep-example li { display: grid; grid-template-columns: minmax(85px, 24%) minmax(0, 1fr); align-items: baseline; gap: 10px; padding: 9px 0; font-size: .9rem; line-height: 1.4; }
.prep-example li + li { border-top: 1px solid #dce6ee; }
.prep-example li:last-child { color: #244e75; font-weight: 700; }
.prep-example-clock { color: #244e75; font-weight: 700; font-variant-numeric: tabular-nums; }
.prep-example-clock small { display: block; color: #52697b; font-size: .72rem; font-weight: 500; }
.prep-example p { margin: 9px 0 0; color: #52697b; font-size: .84rem; line-height: 1.5; }
.prep-selection-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.prep-selection-header p { margin: 0; color: #52697b; font-size: .85rem; }
.prep-selection-header .back-link { flex: none; }
.prep-selection-header + ul { margin-top: 8px; }
.prep-menu-empty .button-row { margin-top: 12px; }

@media screen {
 .preview-prep-workspace { margin-top: 8px; }
 .preview-prep-workspace .prep-planner-controls h2 { margin-bottom: 12px; }
 .preview-prep-workspace .prep-time-field { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; }
 .preview-prep-workspace .prep-time-field input { padding-inline: 9px; font-size: 1rem; }
 .preview-prep-workspace .prep-time-field .button { min-height: 48px; padding-inline: 12px; }
 .preview-prep-workspace .prep-plan-summary { margin-top: 10px; padding: 10px 0 0; }
}
@media screen and (max-width:700px) {
 .preview-prep-workspace .prep-planner-controls { margin-bottom: 12px; }
 .preview-prep-workspace .prep-example { padding: 14px; }
}
@media print {
 .preview-prep-workspace .prep-example { break-inside: avoid; }
 .prep-selection-header .back-link { display: none; }
}
/* Route focus is for screen-reader orientation; controls retain their focus rings. */
#main:focus { outline: none; }
