/* Demonstration first; a compact checklist and independent food clocks. */
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.checklist-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;min-height:38px}
.checklist-count{font-size:.85rem;color:var(--muted);font-variant-numeric:tabular-nums}
.checklist-toolbar .button{font-size:1.45rem;padding:0;min-height:40px;min-width:40px;line-height:1;border-radius:50%}
.checklist-workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:30px;align-items:start}
.checklist-workspace.has-timers{grid-template-columns:minmax(0,1fr) 185px}
.cook-checklist{list-style:none;margin:0;padding:0;min-width:0}
.checklist-row{position:relative;min-width:0}
.checklist-row:not(:last-child):after{content:'';position:absolute;top:35px;left:15px;bottom:0;width:1px;background:var(--line);pointer-events:none}
.completed-row,.future-checklist-row{display:grid;grid-template-columns:32px minmax(0,1fr);gap:14px;align-items:start;padding:8px 0 24px}
.checklist-mark{display:inline-flex;width:30px;height:30px;border:1px solid #819180;border-radius:8px;align-items:center;justify-content:center;flex-shrink:0;font-size:20px;font-weight:500;background:var(--surface);color:var(--ink)}
.completed-row .checklist-mark{border-color:transparent;font-size:22px;color:#668260}
.checklist-label{font-size:1.12rem;line-height:1.5;font-weight:500}
.completed-row .checklist-label{color:var(--muted)}
.future-checklist-row .checklist-label{color:var(--muted)}
.checklist-dependency{display:block;margin-top:3px;font-size:.73rem;line-height:1.5;color:var(--muted)}
.checklist-dependency>span{margin-right:3px}
.current-row{padding-bottom:25px}
.checklist-action,.checklist-current-heading{display:flex;width:100%;align-items:flex-start;gap:14px;padding:5px 0 9px;border:0;background:transparent;color:var(--ink);text-align:left;border-radius:7px;font:inherit}
.checklist-action{cursor:pointer}
.parallel-cook .checklist-action:hover{background:#e6eddf55}
.checklist-action .checklist-mark{border-width:2px;border-color:#5e7753}
.checklist-action:hover .checklist-mark:not(.start-mark):before{content:'✓'}
.checklist-action .start-mark{font-size:12px}
.parallel-cook .guided-label{font-family:inherit;flex:1;min-width:0;font-size:1.4rem;line-height:1.3;font-weight:550;letter-spacing:-.035em;margin:0;padding:0}
.current-indicator{font-size:.68rem;line-height:1.6;color:#59734e;padding-top:6px;flex-shrink:0}
.checklist-detail{margin:8px 0 0 46px;min-width:0}
.checklist-detail.with-video{display:grid;grid-template-columns:minmax(130px,.85fr) minmax(0,1fr);gap:18px;align-items:start}
.parallel-cook .step-text{font-size:1rem;line-height:1.55;margin:0;max-width:none}
.parallel-cook .step-video-panel{position:relative}
.parallel-cook .step-video-media{border-radius:10px;aspect-ratio:16/9}
.waiting-mark{border-color:#a88d56;color:#a88d56;font-size:22px}
.background-rail{border-left:1px solid var(--line);padding-left:22px;min-width:0;margin-top:8px}
.background-cards{display:flex;flex-direction:column;gap:26px}
.background-task{min-width:0;border-bottom:1px solid var(--line);padding-bottom:24px}
.background-task:last-child{border-bottom:0;padding-bottom:0}
.background-task h3{font-size:1rem;line-height:1.3;font-weight:550;margin:0 0 18px}
.timer-axis{display:block;font-size:.7rem;color:var(--muted);margin-bottom:3px}
.parallel-food-time strong{display:block;font-size:2.65rem;line-height:1.1;font-weight:500;letter-spacing:-.045em;font-variant-numeric:tabular-nums}
.timer-goal{font-size:1rem;line-height:1.5;margin-top:7px;color:var(--muted);font-variant-numeric:tabular-nums}
.timer-goal [data-food-target]{color:var(--ink);margin-left:4px}
.parallel-timer-status{font-size:.81rem;line-height:1.4;margin:8px 0 0;font-variant-numeric:tabular-nums}
.background-task .check-button{width:100%;font-size:.87rem;min-height:40px;margin-top:17px;padding:8px 10px;border-radius:22px;background:transparent;border:1px solid #a2b198}
.background-task.is-overdue .parallel-food-time strong,.background-task.is-overdue .parallel-timer-status{color:#b6422c}
.background-task.is-overdue .button{color:#a5321d;border-color:#c77665;background:#fff0eb}
.checkpoint-condition{font-size:1.5rem;line-height:1.4;margin:15px 0 25px}
.checkpoint-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}
.checkpoint-actions .primary{flex:1}
.checkpoint-dialog.is-overdue .parallel-food-time strong,.checkpoint-dialog.is-overdue .parallel-timer-status{color:#b6422c}
.parallel-plan-row{display:flex;gap:15px;padding:14px 0;border-bottom:1px solid var(--line);align-items:start}
.parallel-plan-row>div{flex:1}
.parallel-plan-row strong{font-size:.94rem;font-weight:550}
.parallel-plan-row p{font-size:.8rem;line-height:1.5;color:var(--muted);margin:6px 0 0}
.parallel-plan-row>span:last-child{font-size:.7rem;color:var(--muted);max-width:100px;text-align:right}
@media(max-width:1050px){.checklist-detail.with-video{grid-template-columns:1fr}.checklist-workspace.has-timers{grid-template-columns:minmax(0,1fr) 160px;gap:22px}}
@media(max-width:720px){body:not(.glasses) .checklist-workspace.has-timers{grid-template-columns:1fr}body:not(.glasses) .background-rail{border-left:0;border-top:1px solid var(--line);padding:20px 0 0}body:not(.glasses) .background-cards{flex-direction:row;overflow:auto}body:not(.glasses) .background-task{min-width:155px;flex:1;border-bottom:0}.checklist-detail.with-video{grid-template-columns:1fr 1fr}}
/* The active HUD spends its space on the cook, not on app navigation. */
.glasses.checklist-active .glasses-top,.glasses.checklist-active .recipe-header{display:none}
.glasses.checklist-active #main{padding:20px 24px 24px}
.glasses .checklist-toolbar{margin:0 0 20px;min-height:40px}
.glasses .checklist-count{font-size:18px;color:#aeb6bf;letter-spacing:.02em}
.glasses .checklist-toolbar .button{font-size:27px;width:40px;min-height:40px;padding:0;border-radius:50%;background:#000;box-shadow:none;color:#cfd3d9}
.glasses .checklist-workspace{gap:24px}
.glasses .checklist-workspace.has-timers{grid-template-columns:minmax(0,1fr) 163px}
.glasses .checklist-row:after{left:14px;top:37px;background:#50555b}
.glasses .completed-row,.glasses .future-checklist-row{grid-template-columns:30px minmax(0,1fr);gap:14px;padding:7px 0 23px}
.glasses .checklist-mark{width:29px;height:29px;font-size:21px;border-radius:7px;border-color:#9ca7b3;background:#000;color:#fff}
.glasses .completed-row .checklist-mark{border:0;color:#b8c9be;font-size:24px}
.glasses .checklist-label{font-size:23px;line-height:29px;letter-spacing:-.025em;font-weight:400}
.glasses .completed-row .checklist-label{color:#a6afb7}
.glasses .future-checklist-row .checklist-label{color:#c2cad2}
.glasses .checklist-dependency{font-size:16px;line-height:22px;color:#a6afb7;margin-top:3px}
.glasses .current-row{padding-bottom:25px}
.glasses .parallel-cook .guided-actions{display:block}
.glasses .checklist-action,.glasses .checklist-current-heading{gap:14px;padding:7px 0 7px;border-radius:7px;min-height:44px}
.glasses .checklist-action{background:#000;color:#fff}
.glasses .parallel-cook .checklist-action:hover{background:#000}
.glasses .checklist-action .checklist-mark{border-color:#b5d3ff;border-width:2px}
.glasses .checklist-action .start-mark{font-size:12px}
.glasses .checklist-cook .guided-label{font-size:25px;line-height:30px;font-weight:550;letter-spacing:-.035em;margin:0;flex:1}
.glasses .current-indicator{color:#b5d3ff;font-size:15px;line-height:20px;padding-top:5px}
.glasses .checklist-detail{margin:8px 0 0 44px}
.glasses .checklist-detail.with-video{grid-template-columns:134px minmax(0,1fr);gap:14px}
.glasses .checklist-cook .step-text{font-size:21px;line-height:27px;max-height:135px;overflow:auto;margin:0;letter-spacing:-.018em;color:#e0e5eb}
.glasses .checklist-cook .step-video-media{border-radius:10px;aspect-ratio:16/9}
.glasses .checklist-cook .step-video-controls{position:absolute;left:5px;bottom:5px;margin:0}
.glasses .checklist-cook .step-video-controls .button{width:40px;flex-basis:40px;min-height:40px;background:#171a1fe0;border:1px solid #cfd3d977;box-shadow:0 1px 8px #0004}
.glasses .checklist-cook .step-video-controls [data-video-action=play]:before{font-size:17px}
.glasses .checklist-cook .step-video-controls [aria-label='Pause clip']:before{font-size:23px}
.glasses .waiting-mark{color:#e4c58e;border-color:#e4c58e}
.glasses .background-rail{padding-left:20px;border-color:#646d75;margin-top:8px}
.glasses .background-cards{gap:25px;max-height:482px;overflow:auto;scrollbar-width:thin}
.glasses .background-task{padding-bottom:24px;border-color:#646d75}
.glasses .background-task h3{font-size:21px;line-height:26px;letter-spacing:-.025em;margin:0 0 18px;color:#fff;font-weight:500}
.glasses .timer-axis{font-size:16px;line-height:21px;color:#b5bfc9;margin:0 0 3px}
.glasses .parallel-food-time strong{font-size:39px;line-height:44px;letter-spacing:-.04em;color:#fff;font-weight:500}
.glasses .timer-goal{font-size:20px;line-height:26px;color:#b5bfc9;margin-top:8px}
.glasses .timer-goal [data-food-target]{color:#e0e5eb;margin-left:5px}
.glasses .parallel-timer-status{font-size:17px;line-height:23px;margin:8px 0 0;color:#cfd3d9}
.glasses .background-task .check-button{min-height:40px;font-size:18px;line-height:23px;margin-top:18px;padding:7px 9px;border-radius:22px;border-color:#8b98a6;background:#000;color:#fff;font-weight:400}
.glasses .background-task.is-overdue .parallel-food-time strong,.glasses .background-task.is-overdue .parallel-timer-status{color:#ff9a8e}
.glasses .background-task.is-overdue .check-button{color:#ffb6a9;border-color:#ff9a8e;background:#381613}
.glasses .background-rail.has-multiple .background-cards{gap:20px}
.glasses .background-rail.has-multiple .background-task{padding-bottom:19px}
.glasses .background-rail.has-multiple h3{font-size:20px;line-height:25px;margin-bottom:12px}
.glasses .background-rail.has-multiple .parallel-food-time strong{font-size:35px;line-height:40px}
.glasses .background-rail.has-multiple .timer-goal{margin-top:5px}
.glasses .background-rail.has-multiple .check-button{margin-top:12px}
.glasses .checkpoint-condition{font-size:28px;line-height:35px;margin:15px 0 25px}
.glasses .checkpoint-actions .button{font-size:21px;min-height:50px;border-radius:28px}
.glasses .checkpoint-dialog.is-overdue .parallel-food-time strong,.glasses .checkpoint-dialog.is-overdue .parallel-timer-status{color:#ff9a8e}
.glasses .parallel-plan-row strong{font-size:20px}.glasses .parallel-plan-row p{font-size:17px}.glasses .parallel-plan-row>span:last-child{font-size:15px}
.glasses.checklist-active .demo-bar{border:0;padding:0;margin:0 0 12px;justify-content:space-between}
.glasses.checklist-active .demo-bar strong{font-size:14px;font-weight:400;color:#e4c58e}
.glasses.checklist-active .demo-bar .button{font-size:13px;min-height:28px;padding:4px 10px}
.glasses.glasses-preview.checklist-active .demo-bar{display:none}
/* Keep two timed foods visible, including both overdue checks. */
.glasses .background-rail.has-multiple .background-cards{gap:18px}
.glasses .background-rail.has-multiple .background-task{padding-bottom:12px}
.glasses .background-rail.has-multiple h3{margin-bottom:9px}
.glasses .background-rail.has-multiple .timer-axis{font-size:15px;line-height:18px;margin-bottom:0}
.glasses .background-rail.has-multiple .parallel-food-time strong{font-size:33px;line-height:36px}
.glasses .background-rail.has-multiple .timer-goal{font-size:19px;line-height:24px;margin-top:4px}
.glasses .background-rail.has-multiple .parallel-timer-status{font-size:16px;line-height:21px;margin-top:3px}
.glasses .background-rail.has-multiple .check-button{margin-top:9px}

/* A large demonstration replaces the thumbnail/prose split. Keep the original
   framing: landscape recipe clips must not be cropped into portrait reels. */
.video-first-cook .checklist-workspace{grid-template-columns:minmax(0,1fr)}
.video-first-cook .checklist-workspace.has-timers{grid-template-columns:minmax(0,1fr) 164px}
.video-first-cook .checklist-current-heading{align-items:center;padding:0;margin:0 0 12px}
.video-first-cook .current-mark{border-color:#789268;border-width:2px}
.video-first-cook .current-row:after{display:none}
.video-first-cook .checklist-detail,.video-first-cook .checklist-detail.with-video{display:block;margin:0}
.video-first-cook .step-video-media{width:100%;object-fit:contain}
.video-first-cook .step-text{margin:12px 0 0;max-height:3.1em;overflow:auto}
.video-first-cook .current-controls{display:flex;gap:10px;align-items:center;margin:14px 0 0}
.video-first-cook .current-controls .checklist-action{display:flex;flex:1;width:auto;align-items:center;justify-content:space-between;background:var(--ink);color:var(--surface);padding:12px 20px;border-radius:28px;min-height:46px;font-size:1rem}
.video-first-cook .current-controls .checklist-action:hover{background:#35462f}
.video-first-cook .current-controls .step-details-button{flex:0 0 auto;width:auto;border:1px solid var(--line);border-radius:28px;min-height:46px;padding:10px 17px}
.video-first-cook .current-controls .checklist-action:after{display:none}
.video-first-cook .completed-row{padding:0 0 12px}
.video-first-cook .current-row{padding-bottom:16px}
.video-first-cook .future-checklist-row{padding:6px 0}
.video-first-cook .future-checklist-row .checklist-label{font-size:1rem}
.video-first-cook .completed-row .checklist-label{font-size:.85rem}

.glasses .video-first-cook .checklist-toolbar{margin-bottom:10px;min-height:36px}
.glasses .video-first-cook .checklist-workspace{max-width:380px;gap:24px}
.glasses .video-first-cook .checklist-workspace.has-timers{max-width:none;grid-template-columns:minmax(0,1fr) 148px}
.glasses .video-first-cook .checklist-current-heading{gap:10px;padding:0;margin:0 0 10px;min-height:30px}
.glasses .video-first-cook .guided-label{font-size:25px;line-height:30px;font-weight:550}
.glasses .video-first-cook .current-mark{width:24px;height:24px;border-color:#b5d3ff}
.glasses .video-first-cook .checklist-detail,.glasses .video-first-cook .checklist-detail.with-video{display:block;margin:0}
.glasses .video-first-cook .step-video-media{width:100%;aspect-ratio:16/9;object-fit:contain;border-radius:16px}
.glasses .video-first-cook .step-video-controls{left:12px;bottom:12px}
.glasses .video-first-cook .step-video-controls .button{width:48px;flex-basis:48px;min-height:48px;background:#15191fe8;border:1px solid #ffffffa0}
.glasses .video-first-cook .step-video-controls [data-video-action=play]:before{font-size:20px}
.glasses .video-first-cook .step-text{font-size:20px;line-height:25px;max-height:50px;margin:10px 0 0;color:#d9e0e7}
.glasses .video-first-cook .current-controls{display:flex;gap:10px;margin:12px 0 0}
.glasses .video-first-cook .current-controls .checklist-action{min-height:46px;padding:10px 18px;border-radius:26px;gap:12px;background:#30333a;color:#fff;font-size:21px;line-height:26px;font-weight:500;justify-content:space-between}
.glasses .video-first-cook .current-controls .checklist-action:hover{background:#3b404a}
.glasses .video-first-cook .current-controls .step-details-button{min-height:46px;padding:10px 15px;border-radius:26px;font-size:18px;line-height:26px;color:#cfd7e0;background:#000;border:1px solid #81909e;box-shadow:none}
.glasses .video-first-cook .current-controls .button{width:auto;min-width:0}
.glasses.video-recipe .video-first-cook .current-controls .button:after{display:none}
.glasses .video-first-cook .completed-row{gap:10px;grid-template-columns:24px minmax(0,1fr);padding:0 0 10px;align-items:center}
.glasses .video-first-cook .completed-row .checklist-mark{width:24px;height:22px;font-size:20px}
.glasses .video-first-cook .completed-row .checklist-label{font-size:17px;line-height:22px}
.glasses .video-first-cook .completed-row:after{display:none}
.glasses .video-first-cook .current-row{padding-bottom:14px}
.glasses .video-first-cook .future-checklist-row{grid-template-columns:24px minmax(0,1fr);gap:10px;padding:5px 0;align-items:start}
.glasses .video-first-cook .future-checklist-row .checklist-mark{width:22px;height:22px;border-radius:6px}
.glasses .video-first-cook .future-checklist-row .checklist-label{font-size:19px;line-height:24px}
.glasses .video-first-cook .future-checklist-row:after{left:11px;top:29px}
.glasses .video-first-cook .checklist-dependency{font-size:15px;line-height:20px;margin-top:1px}
.glasses .video-first-cook .background-rail{padding-left:18px;margin-top:0}
.glasses .video-first-cook .background-task h3{font-size:20px;line-height:25px}
.glasses .video-first-cook .background-task .check-button{font-size:18px;padding-left:4px;padding-right:4px}
@media(max-width:720px){body:not(.glasses) .video-first-cook .checklist-workspace.has-timers{grid-template-columns:1fr}}

/* Food is a small status row. Its entire surface is the confirmation target;
   a pointer double-click confirms it without a separate Check button. */
.food-status-button{display:flex;flex-wrap:wrap;align-items:center;gap:3px 10px;width:100%;min-height:44px;padding:7px 0;border:0;border-radius:6px;background:transparent;color:var(--ink);font:inherit;text-align:left;user-select:none;touch-action:manipulation}
.food-status-name{font-size:.85rem;line-height:1.35;font-weight:500;overflow-wrap:anywhere}
.compact-food-time{display:inline-flex;align-items:baseline;gap:3px;font-size:.85rem;line-height:1.35;font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--muted)}
.compact-food-time [data-food-target]{opacity:.7}
.compact-timer-slash{opacity:.5}
.video-first-cook .background-cards{gap:10px}
.video-first-cook .compact-food-task{padding:0;border:0}
.compact-food-task.is-overdue .food-status-button,.compact-food-task.is-overdue .compact-food-time{color:#b6422c}
.food-status-button:hover{background:#82987814}
.glasses .video-first-cook .background-rail{border-left:0;padding-left:8px}
.glasses .video-first-cook .background-cards,.glasses .video-first-cook .background-rail.has-multiple .background-cards{gap:10px}
.glasses .video-first-cook .compact-food-task,.glasses .video-first-cook .background-rail.has-multiple .compact-food-task{padding:0;border:0}
.glasses .food-status-button{min-height:44px;padding:7px 0;color:#d5dde5;background:#000;box-shadow:none}
.glasses .food-status-name{font-size:17px;line-height:22px;font-weight:400;letter-spacing:-.02em}
.glasses .compact-food-time{font-size:17px;line-height:22px;color:#c3ceda}
.glasses .compact-food-task.is-overdue .food-status-button,.glasses .compact-food-task.is-overdue .compact-food-time{color:#ff9a8e}
.glasses .food-status-button:hover{background:#181c21}
.food-status-button:focus-visible{outline:2px solid var(--focus);outline-offset:4px}


/* Source quantities and the readiness cue stay beside the current action.
   The shared scrolling region preserves complete authored instructions. */
.step-context{margin:12px 0 0;min-width:0}
.current-quantities,.current-check{display:flex;gap:10px;align-items:baseline;font-size:14px;line-height:1.5;margin:0 0 8px;color:var(--muted)}
.cue-label{flex:none;min-width:35px;font-size:12px;color:var(--accent);font-weight:500}
.quantity-divider{margin:0 5px;opacity:.55}
.current-quantities>span:last-child{color:var(--ink)}
.current-check{margin:8px 0 0}
.step-context:focus-visible{outline:2px solid var(--focus);outline-offset:4px;border-radius:4px}
.video-first-cook .step-context .step-text{margin:0;max-height:none;overflow:visible}
.checklist-toolbar-actions{display:flex;align-items:center;gap:12px}
.cook-undo.button{display:inline-flex;align-items:center;gap:6px;width:auto;min-height:44px;padding:6px 10px;font-size:14px;border:0;background:transparent;box-shadow:none;color:var(--muted);white-space:nowrap}
.cook-undo.button>span{font-size:22px;line-height:1}
.summary-recovery{display:flex;justify-content:flex-end;margin:0 0 10px}
.summary-recovery:empty{display:none}
.glasses .cook-undo.button{width:auto;min-width:86px;border-radius:22px;min-height:40px;font-size:17px;padding:5px 9px;line-height:24px;border:0;box-shadow:none;background:#000;color:#cfd7e0}
.glasses .checklist-toolbar-actions{gap:7px}
.glasses .video-first-cook .checklist-toolbar{margin-bottom:6px;min-height:40px}
.glasses .video-first-cook .step-context{max-height:144px;overflow-y:auto;scrollbar-width:thin;margin:8px 0 0}
.glasses .current-quantities,.glasses .current-check{font-size:17px;line-height:22px;gap:8px;margin:0 0 6px;color:#cfd7e0}
.glasses .current-check{margin:6px 0 0}
.glasses .cue-label{font-size:15px;min-width:39px;line-height:22px;color:#c5d7ec}
.glasses .quantity-divider{margin:0 3px}
.glasses .video-first-cook .step-context .step-text{margin:0;max-height:none;overflow:visible;font-size:19px;line-height:24px}
.glasses .video-first-cook .current-controls{margin-top:8px}
.glasses .video-first-cook .current-row{padding-bottom:10px}
.glasses .video-first-cook .completed-row{padding-bottom:6px}
.glasses .video-first-cook .checklist-current-heading{margin-bottom:8px}
.glasses .video-first-cook .future-checklist-row{padding:3px 0}
.kitchen .cook-undo.button{background:transparent;color:var(--muted);padding:6px 10px;min-height:44px}

.glasses.checklist-active #main{padding-bottom:12px}


/* Actions are compact controls, independent of the width of the video. */
.video-first-cook .current-controls .checklist-action{flex:0 0 auto;width:auto;min-width:96px;max-width:160px;min-height:44px;height:46px;padding:8px 16px;gap:14px;font-size:18px;line-height:24px;border-radius:24px}
.glasses .video-first-cook .current-controls .checklist-action{flex:0 0 auto;width:auto;min-width:96px;max-width:160px;min-height:44px;height:46px;padding:8px 16px;gap:12px;font-size:19px;line-height:24px;border-radius:24px}
.glasses .video-first-cook .current-controls .step-details-button{min-height:44px;height:46px;padding:8px 14px;font-size:17px;line-height:24px}
.glasses .video-first-cook .current-controls .checklist-action>span:first-child{white-space:nowrap}
.glasses .compact-food-task.foreground-timer .food-status-name{font-size:17px;line-height:22px;display:block;margin-bottom:2px}
.glasses .compact-food-task.foreground-timer.is-overdue .food-status-name,.glasses .compact-food-task.foreground-timer.is-overdue .compact-food-time{color:#ff9a8e}

.step-amount-line{font-size:14px;line-height:21px;color:var(--muted);margin:0 0 7px;overflow-wrap:anywhere}
.glasses .step-amount-line{font-size:17px;line-height:22px;color:#c5cdd6;margin:0 0 7px}
.glasses .video-first-cook .step-context{max-height:130px}

/* One short cue connects a food clock to the next physical action. */
.handoff-next{font-size:14px;line-height:22px;margin:9px 0 0;color:var(--muted)}
.handoff-next [data-handoff-countdown]{white-space:nowrap;font-variant-numeric:tabular-nums}
.handoff-now{margin-left:auto;font-size:13px;line-height:22px;color:#b6422c;font-weight:500}
.glasses .handoff-next{font-size:16px;color:#c5cdd6;line-height:22px;margin-top:8px}
.glasses .handoff-now{font-size:16px;color:#ffb3a7}
.glasses .handoff-due .current-mark{color:#ffb3a7;border-color:#ffb3a7}
.glasses .video-first-cook .current-controls [data-action="guided-handoff"]{max-width:none;gap:8px}
/* A finish button names its confirmation ("Asparagus tender ✓"); it grows to fit rather than clipping it. */
.video-first-cook .current-controls .checklist-action[data-action="guided-finish"],.glasses .video-first-cook .current-controls .checklist-action[data-action="guided-finish"]{max-width:none;gap:8px}
.practice-feedback-categories{border:0;padding:0;margin:0;display:grid;gap:7px}
.practice-feedback-categories legend{padding:0;margin-bottom:10px;font-weight:600}
.practice-feedback-categories label{display:flex;align-items:center;gap:10px;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:12px;cursor:pointer}
.practice-feedback-categories input{width:18px;height:18px;margin:0;accent-color:var(--ink)}
.practice-feedback-context{margin:0;color:var(--muted);font-size:14px}
.practice-feedback-status:empty{display:none}
.glasses .practice-feedback-context{color:#c5cdd6}
.glasses .practice-feedback-categories label{border-color:#69737d}
.glasses .practice-feedback-categories input{accent-color:white}
.practice-feedback-review{display:grid;gap:22px}
.practice-feedback-card{border-bottom:1px solid var(--line);padding-bottom:20px}
.practice-feedback-card:last-child{border-bottom:0;padding-bottom:0}
.practice-feedback-card header{display:flex;justify-content:space-between;gap:12px;align-items:baseline;margin-bottom:8px}
.practice-feedback-card h3{margin:0}
.practice-feedback-card time{font-size:12px;color:var(--muted);white-space:nowrap}
.practice-feedback-category{font-size:13px;font-weight:600;margin:8px 0}
.practice-feedback-note{font-size:14px;line-height:1.5;overflow-wrap:anywhere;margin:10px 0}
.practice-feedback-timers{list-style:none;padding:0;margin:10px 0 0;color:var(--muted);font-size:13px}
.practice-feedback-timers li{display:flex;justify-content:space-between;gap:12px;padding:3px 0}
/* The glasses rail scrolls, which clips an outline drawn outside its button.
   A 2px gutter (offset by margin) keeps the focus ring inside the scroll box. */
.glasses .background-cards{padding:2px;margin:-2px}
.glasses .food-status-button:focus-visible{outline-offset:0}
.food-status-confirm{flex-basis:100%;font-size:15px;line-height:19px;color:var(--muted)}
.glasses .food-status-confirm{font-size:16px;line-height:20px;color:var(--focus)}
.glasses #modal .details-amounts{font-size:17px;line-height:24px}

/* While a clip is expanded over the checklist, overdue food stays visible on
   top of it: the rail's own live timer, pinned in the black band above the
   video, with a red strip. Food that is not yet due stays out of the way. */
.glasses.video-expanded .background-rail{position:fixed;z-index:11;top:0;left:0;right:0;margin:0;padding:10px 24px 0;border:0;background:transparent;pointer-events:none}
/* One transparent line whatever the food count, so it fits the letterbox band
   of a 4:3 clip; long names truncate before the live times do. Selectors out-
   rank the has-multiple rail rule that removes card borders. */
.glasses.video-expanded .background-cards,.glasses.video-expanded .background-rail.has-multiple .background-cards{flex-direction:row;flex-wrap:nowrap;gap:0 20px;max-height:none;overflow:hidden}
.glasses.video-expanded .background-task:not(.is-overdue){display:none}
.glasses.video-expanded .video-first-cook .background-rail .background-task.is-overdue,.glasses.video-expanded .background-task.is-overdue{flex:0 1 auto;min-width:0;border-top:3px solid #ff5a47;padding-top:4px}
.glasses.video-expanded .background-task.is-overdue .food-status-button{flex-wrap:nowrap;min-height:0;padding:4px 0;background:transparent}
.glasses.video-expanded .background-task.is-overdue .food-status-name{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.glasses.video-expanded .background-task.is-overdue .compact-food-time{flex-shrink:0}
.glasses.video-expanded .background-task.is-overdue .food-status-confirm{display:none}

/* Food due: a 2 s red pulse on the timer that just reached its target (app.js
   adds .due-pulse and a negative --due-pulse-offset so a re-render continues
   rather than restarts it). An inset ring survives the expanded rail's
   overflow clip, so the pulse shows above a full-screen clip too. Reduced
   motion: the same red, held steady for the 2 s instead of flashing. */
@keyframes due-pulse{0%,45%,90%{background-color:rgba(255,64,48,.5);box-shadow:inset 0 0 0 3px #ff5a47}22%,68%,100%{background-color:rgba(255,64,48,0);box-shadow:inset 0 0 0 3px rgba(255,90,71,0)}}
.glasses .due-pulse{animation:due-pulse 2s ease-in-out var(--due-pulse-offset,0ms) 1 both;border-radius:6px}
@media (prefers-reduced-motion:reduce){.glasses .due-pulse{animation:none;background-color:rgba(255,64,48,.4);box-shadow:inset 0 0 0 3px #ff5a47}}
.amount-servings-hint{font-size:.78em;color:var(--muted);white-space:nowrap}
.glasses .amount-servings-hint{color:#9aa4ae}
.amount-as-written{font-size:.72em;color:var(--muted);white-space:nowrap}
.glasses .amount-as-written{color:#9aa4ae}

/* Waiting on a timer with nothing else to do (glasses): the clock large, then
   "Up next" and that step's clip as a preview. No paragraphs. */
.waiting-clock{display:flex;align-items:baseline;gap:8px;margin:0 0 8px;font-variant-numeric:tabular-nums;color:var(--ink)}
.waiting-clock strong{font-size:2.6rem;line-height:1;font-weight:500;letter-spacing:-.02em}
.waiting-clock [data-clock-caption],.waiting-clock-name{font-size:1rem;color:var(--muted)}
.waiting-clock.is-overdue,.waiting-clock.is-overdue [data-clock-caption]{color:#b6422c}
.up-next-label{margin:0 0 8px;font-size:1rem;line-height:1.3;overflow-wrap:anywhere}
.up-next-tag{font-size:.8rem;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-right:4px}
.glasses .waiting-clock{color:#fff;margin:0 0 6px}
.glasses .waiting-clock strong{font-size:46px;line-height:48px}
.glasses .waiting-clock [data-clock-caption],.glasses .waiting-clock-name{font-size:18px;line-height:22px;color:#c3ceda}
.glasses .waiting-clock.is-overdue,.glasses .waiting-clock.is-overdue [data-clock-caption]{color:#ff9a8e}
.glasses .up-next-label{font-size:19px;line-height:24px;color:#d9e0e7;margin:0 0 8px}
.glasses .up-next-tag{font-size:14px;color:#9fb0c2}

/* One food rule (owner, 1 Oct): on the glasses a rail row is display only
   (no focus, no pinch; a laptop double-click still confirms it). The rail
   never scrolls there, so it is never a focusable scroll box either. */
.glasses .food-status-display{cursor:default}
.glasses .food-status-display:hover{background:#000}
.glasses .background-cards{overflow:hidden}

/* ↶ Undo beside the main button for a few seconds after an action (glasses):
   one swipe left of it, never focused by the app. */
.glasses .video-first-cook .current-controls .cook-undo.inline-undo{flex:0 0 auto;min-width:0;min-height:44px;height:46px;padding:8px 13px;border-radius:24px;font-size:17px;line-height:24px;color:#cfd7e0;background:#000;border:1px solid #81909e;box-shadow:none;justify-content:center}
.glasses .video-first-cook .current-controls .cook-undo.inline-undo>span[aria-hidden]{font-size:20px}
.glasses .video-first-cook .current-controls .cook-undo.inline-undo.is-compact{width:46px;padding:0}
.glasses .video-first-cook .current-controls .cook-undo.inline-undo.is-compact .inline-undo-text{display:none}

/* "Coming up · in 0:45": a tag that reads as not-the-current-task. */
.up-next-tag{display:inline-block;text-transform:none;letter-spacing:0;font-size:.8rem;line-height:1.4;padding:1px 9px;border:1px solid var(--line);border-radius:999px;color:var(--muted);margin-right:6px;white-space:nowrap}
.up-next-tag .handoff-next{font-size:inherit;line-height:inherit;margin:0;color:inherit}
.glasses .up-next-tag{font-size:15px;line-height:20px;padding:1px 10px;color:#b8c6d4;border-color:#5d6b79}
.glasses .up-next-tag .handoff-next{font-size:inherit;line-height:inherit;margin:0;color:inherit}
/* A food's confirmation ("Water is boiling ✓") grows to fit, like a finish. */
.video-first-cook .current-controls .checklist-action[data-action="guided-food-confirm"],.glasses .video-first-cook .current-controls .checklist-action[data-action="guided-food-confirm"]{max-width:none;gap:8px}
/* A start that names its action ("Oven at 220 °C ▶") grows to fit too. */
.video-first-cook .current-controls .checklist-action[data-action="guided-start"],.glasses .video-first-cook .current-controls .checklist-action[data-action="guided-start"]{max-width:none}
.glasses .video-first-cook .current-controls.is-tight{gap:6px}
.glasses .video-first-cook .current-controls.is-tight .checklist-action{padding-left:12px;padding-right:12px}
.glasses .video-first-cook .current-controls.is-tight .step-details-button{padding-left:10px;padding-right:10px}
.glasses .video-first-cook .current-controls.is-tighter .step-details-button{padding-left:8px;padding-right:8px;font-size:15px}
.glasses .video-first-cook .current-controls.is-tighter .checklist-action{padding-left:10px;padding-right:10px}
/* Review, 1 Oct: one clock per food. On a waiting screen whose only timer is
   the large clock (a started foreground step: sushi soak, the soup simmer),
   the rail is gone, so the preview clip is held to the width it has beside a
   rail and the screen still fits 600×600 without scrolling. */
.glasses .video-first-cook.has-up-next .checklist-workspace:not(.has-timers) .up-next-detail{max-width:400px}
.glasses .details-confirm-row{margin:14px 0 4px}
.glasses .details-confirm-hint{margin:14px 0 0}
.glasses .details-confirm-hint+.details-confirm-row{margin-top:6px}
/* One clock per food: the food the large waiting clock shows hides its rail
   clock (a foreground row hides entirely). Over a full-screen clip the rail
   is the due signal, so there they show as usual. */
.glasses:not(.video-expanded) .background-task.is-big-clock .compact-food-time,
.glasses:not(.video-expanded) .background-task.foreground-timer.is-big-clock,
.glasses:not(.video-expanded) .background-rail.only-big-clock{display:none}
