/* The same saved plan, cookware and reading model as the native cooking view. */
.mc-physical-device{padding:10px 0;border-top:1px solid #f0e8ec}
.mc-physical-device>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:12px}
.mc-physical-device b{font-size:14px;font-weight:600}
.mc-physical-device .mc-burner-toggle{justify-content:space-between}
.mc-physical-device .mc-note{margin:0}
.mc-capacity{font-size:13px;color:#75616d;padding:12px 14px;background:#fbf3f6;border-radius:12px;line-height:1.75}
.mc-pot-choice{min-width:0;border:0;border-top:1px solid #eadfe5;padding:18px 0 0;margin:14px 0}
.mc-pot-choice legend{font-size:14px;font-weight:600;line-height:1.7;padding:0}
.mc-pot-choice label{display:flex;align-items:center;gap:12px;min-height:48px;font-size:14px;cursor:pointer}
.mc-pot-choice input{width:22px;height:22px;accent-color:#b72f59;flex:0 0 22px}
.mc-setup .notice p{margin:0 0 8px}
.mc-setup .notice .text-button{display:block;text-align:left;line-height:1.6}
.mc-setup .mc-resource-control{scroll-margin-top:96px}
.mc-preview-instruction{white-space:pre-line;font-size:19px;line-height:1.85!important}
.mc-live-timers{display:flex;flex-direction:column;gap:10px;max-height:220px;overflow:auto;margin:0 0 18px;scrollbar-width:thin;overscroll-behavior:contain}
.mc-timer-card{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #eadfe5;background:#fff;border-radius:14px;padding:12px 16px}
.mc-timer-card.is-due{background:#fffbf5;border-color:#d8a777}
.mc-timer-card>div{min-width:0}
.mc-timer-card b{font-size:14px;line-height:1.6}
.mc-timer-card p{font-size:12px;color:#75616d;line-height:1.7;margin:4px 0}
.mc-timer-card strong{font-size:22px;font-variant-numeric:tabular-nums;color:#a0294e;line-height:1.4}
.mc-timer-card>div:last-child{flex:0 0 auto;display:flex;gap:4px}
.mc-step-column{min-width:0;min-height:0;display:flex;flex-direction:column;align-self:start}
.mc-live .mc-current{padding:0;overflow:hidden;margin:0;min-height:0;flex:0 0 auto}
.mc-step-reader{box-sizing:border-box;padding:24px;min-height:300px;max-height:min(62dvh,680px);overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;scrollbar-width:thin;outline-offset:-5px;transition:transform .16s ease-out;overflow-wrap:anywhere}
.mc-step-reader>.mc-eyebrow:first-child{margin-top:0}
.mc-step-reader .mc-current-instruction{line-height:1.9}
.mc-step-reader .step-reference{max-width:420px}
.mc-step-reader .step-reference img{max-height:250px;object-fit:contain}
/* A bottom-sticky following sibling can be pulled up over the reader before
   the card ends (Samsung Internet/Safari). Reserve its own flow area instead. */
.mc-step-actions{background:rgba(255,250,252,.98);padding:12px 0 8px;position:relative;bottom:auto;flex:0 0 auto;z-index:5;backdrop-filter:blur(16px)}
.mc-step-navigation{display:grid;grid-template-columns:minmax(88px,.6fr) minmax(0,1.4fr);gap:12px}
.mc-step-navigation button{font-size:15px;line-height:1.6;min-height:52px;padding:10px 12px;white-space:normal}
.mc-swipe-hint{font-size:12px!important;color:#75616d;text-align:center;line-height:1.65!important;margin:7px 0 0}
.mc-step-tools{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}
.mc-step-tools button{font-size:13px}
.mc-step-column>.mc-confirm{margin-top:12px}
.mc-quick-timers{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}
.mc-cancel-dish{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #f0e8ec;padding:8px 0;font-size:14px;line-height:1.7}
.mc-cancel-dish button{flex:0 0 auto;font-size:13px}
.mc-timeline-toolbar{display:flex;justify-content:space-between;gap:8px;margin-bottom:16px}
.mc-timeline-toolbar button,.mc-timeline-paging button{font-size:13px;line-height:1.5;padding:8px 10px}
.mc-timeline-paging{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:16px 0;font-size:12px;color:#75616d}
.mc-chronology{--mc-ruler:44px;--mc-column-width:calc((100% - var(--mc-ruler))/var(--mc-columns));font-variant-numeric:tabular-nums}
.mc-chronology-head{display:grid;grid-template-columns:var(--mc-ruler) repeat(var(--mc-columns),minmax(0,1fr));gap:0;position:sticky;top:72px;background:#fff;z-index:4;border-bottom:1px solid #eadfe5;padding:12px 0}
.mc-chronology-head>span{font-size:10px;color:#75616d;align-self:center}
.mc-chronology-head>b{padding:0 6px;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.mc-chronology-body{position:relative;margin-top:16px;margin-bottom:36px}
.mc-time-line{position:absolute;left:0;right:0;border-top:1px solid #eadfe5;pointer-events:none}
.mc-time-line time{position:absolute;top:-8px;left:0;background:#fff;font-size:10px;color:#75616d;padding-right:4px}
.mc-chronology-step{position:absolute;left:calc(var(--mc-ruler) + var(--mc-column)*var(--mc-column-width) + 5px);width:calc(var(--mc-column-width) - 10px);height:72px;min-height:72px!important;padding:8px 9px!important;border:1px solid #eadfe5;border-radius:10px;background:#fbf7f9;text-align:left;color:#362832;display:flex;flex-direction:column;justify-content:center;gap:4px;z-index:2;overflow:hidden}
.mc-chronology-step b{font-size:12px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mc-chronology-step span{font-size:10px;color:#75616d;line-height:1.5}
.mc-chronology-step.is-wait{background:#f0f7f2;border-color:#b6cfbe}
.mc-chronology-step.is-wait span{color:#316547}
.mc-chronology-step.is-done{opacity:.7;background:#f4f2f3}
.mc-chronology-step.is-current{border:2px solid #b72f59;background:#fff2f7}
.mc-chronology-step:focus-visible{outline-offset:1px}
.mc-wait-connector{position:absolute;left:calc(var(--mc-ruler) + (var(--mc-column) + .5)*var(--mc-column-width));border-left:2px dashed #709a7d;z-index:1;min-height:5px}
.mc-wait-connector:after{content:"";position:absolute;left:-5px;bottom:0;width:8px;height:8px;border-radius:50%;background:#709a7d}
.mc-wait-connector>span{position:absolute;bottom:7px;left:5px;color:#356449;background:#fff;font-size:9px;white-space:nowrap}
.mc-time-compressed{position:absolute;left:var(--mc-ruler);right:0;text-align:center;font-size:10px;line-height:1.5;color:#75616d;background:rgba(255,255,255,.94);z-index:1;pointer-events:none}
.mc-time-end{position:absolute;display:flex;justify-content:space-between;left:0;right:0;border-top:1px solid #eadfe5;padding-top:10px;font-size:11px;color:#75616d}
.mc-timeline-detail{scroll-margin-top:100px}
.mc-timeline-list{padding-top:18px;border-top:1px solid #eadfe5;margin-top:18px}
.mc-timeline-list-row{display:flex;flex-direction:column;align-items:flex-start;gap:7px;width:100%;padding:14px 0;background:transparent;border:0;border-bottom:1px solid #f0e8ec;text-align:left;color:#362832;border-radius:0;line-height:1.7}
.mc-timeline-list-row b{font-size:15px;font-weight:500}
.mc-timeline-list-row span{font-size:12px;color:#75616d}
.mc-inspection{margin-top:20px;max-width:680px;margin-left:auto;margin-right:auto;border-color:#d8a777}
.mc-inspection>article{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #eadfe5;padding:14px 0}
.mc-inspection b{font-size:14px;line-height:1.7}
.mc-inspection article p{font-size:12px;line-height:1.7;color:#75616d;margin:5px 0 0}
.mc-inspection article button{flex-shrink:0;min-height:44px}
.mc-timer-alert{box-sizing:border-box;width:calc(100% - 32px);max-width:420px;padding:24px;border:1px solid #eadfe5;border-radius:20px;color:#362832;background:#fffbfc;max-height:80dvh;overflow:auto;box-shadow:0 24px 80px #36283233}
.mc-timer-alert::backdrop{background:#26171e66}
.mc-timer-alert h2{font-size:21px;line-height:1.6;margin:0 0 18px}
.mc-timer-alert p{font-size:14px;line-height:1.8}
.mc-timer-alert>div{display:flex;flex-direction:column;gap:10px;margin-top:22px}
.mc-timer-alert button{min-height:48px}
.mc-floating-timers{position:fixed;right:16px;bottom:calc(90px + env(safe-area-inset-bottom));z-index:48;width:min(252px,calc(100vw - 32px));filter:drop-shadow(0 5px 16px #36283226)}
.mc-floating-timers>button{width:100%;min-height:64px;display:flex;align-items:center;gap:12px;flex-wrap:wrap;border:1px solid #dcc5d0;background:#fff8fb;border-radius:16px;padding:12px 14px;color:#362832;text-align:left}
.mc-floating-timers>button>span{min-width:0;flex:1}
.mc-floating-timers b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;line-height:1.55;font-weight:600}
.mc-floating-timers small{display:block;font-size:10px;line-height:1.6;color:#75616d;margin-top:3px}
.mc-floating-timers strong{font-size:20px;line-height:1.5;color:#a0294e;font-variant-numeric:tabular-nums;flex:none}
.mc-floating-timers em{width:100%;font-size:11px;line-height:1.5;font-style:normal;color:#75616d;text-align:right;margin-top:-5px}
.mc-timer-list{box-sizing:border-box;width:calc(100% - 24px);max-width:540px;border:1px solid #eadfe5;border-radius:20px;padding:22px;max-height:85dvh;overflow:auto;color:#362832;background:#fffbfc}
.mc-timer-list::backdrop{background:#26171e66}
.mc-timer-list-head{display:flex;justify-content:space-between;align-items:center;gap:12px}
.mc-timer-list-head h2{font-size:21px;line-height:1.5;margin:0}.mc-timer-list-head small{font-size:13px;font-weight:400;color:#75616d}
.mc-timer-list-body{display:grid;gap:12px;margin:18px 0}.mc-timer-list p{line-height:1.8}
.mc-timer-list button{min-height:44px}
@media(max-width:760px){
 .mc-live .mc-page-head{margin-bottom:8px}.mc-live .mc-page-head h1{font-size:21px}
 .mc-live .mc-page-head .mc-back{min-height:36px}.mc-live .mc-page-head .mc-eyebrow{margin-top:0}
 .mc-live progress{margin-bottom:16px}.mc-live .mc-sync-status{margin-bottom:8px}
 .mc-step-reader{padding:22px 18px;min-height:min(310px,42dvh);max-height:53dvh}
 .mc-step-reader h2{font-size:24px;line-height:1.5}.mc-step-reader .mc-current-instruction{font-size:19px}
 .mc-step-actions{margin-bottom:16px}
 .mc-live-timers{max-height:155px;gap:8px;margin-bottom:14px}
 .mc-timer-card{padding:9px 12px}.mc-timer-card>div:last-child{flex-direction:column;gap:0}
 .mc-timer-card>div:last-child button{font-size:12px;padding:5px 10px;min-height:40px}
 .mc-timer-card p{font-size:11px}.mc-timer-card strong{font-size:19px}
 .mc-timeline-panel{padding:16px 12px}.mc-chronology-head{top:60px}
 .mc-timeline-panel h2{font-size:17px}.mc-timeline-panel>.mc-note{font-size:12px}
 .mc-live .mc-step-column>.mc-confirm{position:relative;z-index:6}
}
@media(max-height:540px) and (max-width:900px){.mc-step-reader{min-height:180px;max-height:44dvh}.mc-live-timers{max-height:100px}.mc-step-actions{position:static}.mc-live .mc-page-head h1{font-size:19px}.mc-live .mc-page-head{margin-bottom:0}}
@media(prefers-reduced-motion:reduce){.mc-step-reader{transition:none}}
@media(prefers-color-scheme:dark){
 .mc-page{color:var(--ink,#f4f2f5)}
 .mc-panel,.mc-timer-card,.mc-resume a,.mc-plan-entry,.mc-wait-strip,.mc-chronology-head,.mc-timer-alert{background:var(--surface,#2c2c2e);color:var(--ink,#f4f2f5);border-color:var(--line,#48454c)}
 .mc-note,.mc-source,.mc-subtitle,.mc-panel small,.mc-metrics span,.mc-progress-head,.mc-sync-status,.mc-consent,.mc-resource-dishes,.mc-timer-card p,.mc-inspection article p,.mc-swipe-hint,.mc-timeline-paging,.mc-timeline-list-row span,.mc-chronology-step span,.mc-chronology-head>span,.mc-time-line time,.mc-time-end,.mc-resume small,.mc-next-task small,.mc-ingredients dd,.mc-completed-history>summary{color:var(--muted,#aea8b1)}
 .mc-resume b,.mc-metrics b,.mc-timeline-list-row{color:var(--ink,#f4f2f5)}
 .mc-back,.mc-eyebrow,.mc-clock,.mc-timer-card strong,.mc-resume a,.mc-running strong{color:var(--accent,#ff8cad)}
 .mc-resource-heading>select,.mc-timer-input input{background:#343238;color:var(--ink,#f4f2f5);border-color:var(--line,#48454c)}
 .mc-capacity,.mc-allocations{background:#393037;color:var(--muted,#aea8b1)}
 .mc-step-actions{background:#252527f7}
 .mc-physical-device,.mc-pot-choice,.mc-required-resources .mc-resource-control,.mc-cancel-dish,.mc-timeline-list,.mc-timeline-list-row,.mc-chronology-head,.mc-time-line,.mc-time-end,.mc-task-row,.mc-ingredients,.mc-dish,.mc-metrics,.mc-next-task,.mc-inspection>article{border-color:var(--line,#48454c)}
 .mc-chronology-step{background:#393238;border-color:#62545e;color:var(--ink,#f4f2f5)}
 .mc-chronology-step.is-wait{background:#263c30;border-color:#5b8468}.mc-chronology-step.is-wait span{color:#a0d5b2}
 .mc-chronology-step.is-done{background:#343238;opacity:.78}.mc-chronology-step.is-current{border-color:var(--accent,#ff8cad);background:#442c37}
 .mc-time-line time,.mc-wait-connector>span{background:var(--surface,#2c2c2e)}
 .mc-wait-connector{border-color:#8fbe9d}.mc-wait-connector:after{background:#8fbe9d}.mc-wait-connector>span{color:#a0d5b2}
 .mc-time-compressed{background:#2c2c2ef2;color:var(--muted,#aea8b1)}
 .mc-confirm,.mc-timer-card.is-due,.mc-wait-strip.has-due,.mc-inspection{background:#3d3329;border-color:#ad875e}
 .mc-page .mc-due{color:#ffb4ab!important}
 .mc-task-number{background:#482a36;color:#ff9ab8}.mc-task-row.is-done .mc-task-number,.mc-finish{background:#284331;color:#acd6b7}
 .mc-timer-alert::backdrop{background:#0009}
 .mc-floating-timers>button,.mc-timer-list{background:var(--surface,#2c2c2e);border-color:var(--line,#48454c);color:var(--ink,#f4f2f5)}
 .mc-floating-timers strong{color:var(--accent,#ff8cad)}.mc-floating-timers small,.mc-floating-timers em,.mc-timer-list-head small{color:var(--muted,#aea8b1)}.mc-timer-list::backdrop{background:#0009}
}

/* Current cooking is a bounded viewport, like the native cooking sheet.
   Header/status/timers and actions reserve their own rows; only the step and
   the desktop reference column scroll. No bottom-sticky sibling overlaps it. */
.mc-live{
 position:fixed;inset:0;z-index:40;box-sizing:border-box;
 width:100%;max-width:none;height:100dvh;min-height:0;margin:0;
 padding:max(10px,env(safe-area-inset-top)) max(16px,calc((100vw - 1180px)/2)) max(8px,env(safe-area-inset-bottom));
 display:flex;flex-direction:column;overflow:hidden;background:#f2f2f7;
}
.mc-live>:not(.mc-live-grid){flex:0 0 auto;width:100%;max-width:1180px;margin-left:auto;margin-right:auto}
.mc-live .mc-page-head{display:flex;align-items:center;gap:10px;margin-top:0;margin-bottom:6px;max-height:22dvh;overflow-y:auto;min-height:0}
.mc-live .mc-page-head>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 10px;align-items:center;flex:1;min-width:0}
.mc-live .mc-page-head .mc-back{min-height:34px;font-size:13px;line-height:1.5}
.mc-live .mc-page-head .mc-eyebrow{margin:0;font-size:11px;line-height:1.5;letter-spacing:0}
.mc-live .mc-page-head h1{grid-column:1/-1;font-size:23px;line-height:1.35;margin:2px 0 4px}
.mc-live .mc-page-head>.icon-button{flex:0 0 44px}
.mc-live .mc-view-tabs{margin-top:0;margin-bottom:6px;min-height:44px;max-width:780px}
.mc-live .mc-view-tabs>button{min-height:38px;padding:7px 12px}
.mc-live>.mc-sync-status{min-height:16px;line-height:1.4;margin-top:0;margin-bottom:5px}
.mc-live>.notice{max-height:min(18dvh,120px);overflow-y:auto;margin-top:0;margin-bottom:6px;padding:8px 12px}
.mc-live>.mc-progress-head{font-size:12px;line-height:1.5;margin-top:0}
.mc-live>progress{height:6px;margin-top:5px;margin-bottom:10px}
.mc-live>.mc-live-timers{max-height:min(18dvh,144px);min-height:0;margin-top:0;margin-bottom:8px}
.mc-live>.mc-live-grid{flex:1 1 0;min-height:0;min-width:0;width:100%;max-width:1180px;margin:0 auto;grid-template-rows:minmax(0,1fr);align-items:stretch;overflow:hidden}
.mc-live .mc-step-column{height:100%;min-height:0;align-self:stretch;overflow:hidden}
.mc-live .mc-current{display:flex;flex-direction:column;flex:1 1 0;min-height:0;overflow:hidden}
.mc-live .mc-step-reader{flex:1 1 0;min-height:0;max-height:none;height:auto;overflow-y:auto;overflow-x:hidden;padding:20px}
.mc-live .mc-step-actions{flex:0 0 auto;position:relative;bottom:auto;margin:0;padding:10px 0 0}
.mc-live .mc-step-column>.mc-confirm{flex:0 1 auto;min-height:0;max-height:30dvh;overflow-y:auto;margin:8px 0 0;padding:14px}
.mc-live .mc-live-grid>aside{height:100%;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-right:2px}
.mc-live>.mc-leave-note{font-size:11px;line-height:1.45;margin-top:6px;margin-bottom:0}
body:has(.mc-live) .mc-floating-timers{bottom:calc(156px + env(safe-area-inset-bottom))}
@media(max-width:760px){
 .mc-live>.mc-live-grid{grid-template-columns:minmax(0,1fr);gap:0}
 .mc-live .mc-live-grid>aside{display:none}
 .mc-live .mc-step-reader{padding:18px}
 .mc-live .mc-step-reader h2{margin:12px 0;font-size:24px}
 .mc-live .mc-page-head h1{font-size:21px}
 .mc-live .mc-step-actions{padding-top:8px}
 .mc-live .mc-step-tools{gap:12px}
}
@media(max-height:620px){
 .mc-live{padding-top:max(6px,env(safe-area-inset-top));padding-bottom:max(6px,env(safe-area-inset-bottom))}
 .mc-live .mc-page-head{max-height:15dvh;margin-bottom:3px}
 .mc-live .mc-page-head h1{display:none}
 .mc-live .mc-view-tabs{margin-bottom:4px;min-height:40px}
 .mc-live .mc-view-tabs>button{min-height:34px;padding:5px 10px}
 .mc-live>.mc-sync-status{min-height:14px;font-size:11px;margin-bottom:3px}
 .mc-live>progress{margin-top:3px;margin-bottom:6px}
 .mc-live>.mc-live-timers{max-height:min(16dvh,80px);margin-bottom:6px}
 .mc-live .mc-timer-card{padding:6px 10px}
 .mc-live .mc-timer-card p{margin:1px 0;font-size:10px}
 .mc-live .mc-timer-card strong{font-size:17px}
 .mc-live .mc-step-reader{padding:14px 16px}
 .mc-live .mc-step-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 10px;padding-top:6px}
 .mc-live .mc-step-navigation{grid-column:1/-1}
 .mc-live .mc-step-navigation button{min-height:46px;padding:8px 10px}
 .mc-live .mc-swipe-hint{margin:0;text-align:left;align-self:center;font-size:10px!important}
 .mc-live .mc-step-tools{gap:10px;justify-content:flex-end}
 .mc-live .mc-step-tools button{min-height:34px;padding:4px 0;font-size:12px}
 .mc-live>.mc-leave-note{display:none}
}
@media(max-height:420px){
 .mc-live>.mc-sync-status{display:none}
 .mc-live>.mc-live-timers{max-height:54px}
 .mc-live>.notice{max-height:54px}
 .mc-live .mc-page-head .mc-back{min-height:30px}
 .mc-live .mc-step-navigation button{min-height:44px}
 .mc-live .mc-step-reader h2{font-size:21px;margin:8px 0}
 .mc-live .mc-step-reader .mc-current-instruction{font-size:17px;margin:12px 0 16px}
}
@media(prefers-color-scheme:dark){.mc-live{background:#1c1c1e}}
