body.smart-cook-open{overflow:hidden!important}.smart-cook{position:fixed;inset:0;z-index:20000;display:flex;flex-direction:column;gap:12px;padding:max(14px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));background:#fffaf4;color:#29372e;height:100dvh;box-sizing:border-box;overflow:hidden}.smart-cook>*{width:min(100%,850px);margin-left:auto;margin-right:auto;box-sizing:border-box}.smart-cook .smart-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0;flex:none}.smart-head h2{margin:3px 0;font-size:clamp(22px,4vw,32px)}.smart-head small{font-size:12px;color:#876140;font-weight:800}.smart-cook button{min-height:44px;border:1px solid #dce4d7;border-radius:13px;background:#edf3e8;color:#355a40;padding:10px 14px;font:inherit;font-weight:750}.smart-cook button:disabled{opacity:.5;cursor:default}.smart-cook .smart-primary{background:#557e4c;color:#fff;border:0;width:100%}.smart-cook input{min-height:42px;max-width:100%;padding:8px;border:1px solid #d7dfd2;border-radius:10px;background:white;color:#29372e;font:inherit}.smart-cook input[type=number]{width:80px}.smart-cook input[type=checkbox]{width:22px;min-height:22px;accent-color:#557e4c;flex:none}.smart-body{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:3px}.smart-body>p{line-height:1.5}.smart-body>input[type=search]{width:100%}.smart-options{max-height:35dvh;overflow-y:auto;margin:12px 0;border:1px solid #e1e6dc;border-radius:14px;background:white}.smart-options label{display:flex;align-items:center;gap:12px;padding:12px;border-bottom:1px solid #e9ece5;cursor:pointer}.smart-chosen label{display:flex;gap:8px;align-items:center;margin:8px 0}.smart-chosen label>span{flex:1;min-width:0}.smart-kitchen label{display:flex;align-items:center;gap:12px;margin:8px 0}.smart-cook details{padding:12px;margin:10px 0;border:1px solid #e1e6db;border-radius:14px;background:#fff}.smart-cook summary{font-weight:800;cursor:pointer;min-height:24px}.smart-review-task{border-bottom:1px solid #ddd;padding:10px 0}.smart-review-task label{display:inline-flex;align-items:center;gap:8px;margin:6px}.smart-estimate{font-size:24px;font-weight:850;color:#486b40}.smart-cook footer{display:grid;gap:8px;flex:none;padding:0}.smart-cook footer small{text-align:center}.smart-status{display:flex;justify-content:space-between;gap:8px;font-size:13px;flex-wrap:wrap}.smart-timers{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:8px;flex:none;max-height:27dvh;overflow:auto}.smart-timers:empty{display:none}.smart-timers article{padding:10px;border:1px solid #d4decd;border-radius:14px;background:#eaf0e4}.smart-timers strong,.smart-timers span,.smart-timers small{display:block}.smart-timers span{font-size:22px;font-weight:850}.smart-timers small{font-size:12px;line-height:1.3;max-height:2.6em;overflow:hidden}.smart-timers article>div{display:flex;gap:8px;margin-top:8px}.smart-timers button{font-size:12px;padding:7px}.smart-timers .is-due{background:#fff0d0;border:2px solid #bd7734}.smart-recipe-label{display:block;padding:9px 12px;border-radius:12px;background:#eaf0e4;font-size:15px;font-weight:850}.smart-current h3{margin:16px 0 8px;font-size:20px}.smart-instruction{font-size:clamp(21px,4.2vw,29px);line-height:1.5;margin:8px 0;white-space:pre-line}.smart-time-hint{color:#727b70;font-size:13px}.smart-cook [data-message]{color:#984a35}.smart-entry{grid-column:1/-1}.smart-week-entry{margin:10px 0;min-height:46px;border:1px solid #dfc9b2;border-radius:13px;padding:10px 14px;background:#fff2e2;color:#7a4c2e;font:inherit;font-weight:800;width:100%}@media(min-width:900px){.smart-cook{padding-top:24px;padding-bottom:24px}}@media(max-height:550px){.smart-cook{gap:6px}.smart-head h2{font-size:20px}.smart-timers{max-height:25dvh}.smart-instruction{font-size:19px}}


/* Recipe selection shares the photo-card language of the recipe library. */
.smart-picker-body{scrollbar-gutter:stable}.smart-filter-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0;color:#788178;font-size:14px}.smart-picker-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px;border-radius:18px;background:#edf3e8}.smart-picker-filters[hidden]{display:none}.smart-picker-filters label{display:grid;gap:6px;font-size:13px;font-weight:750;min-width:0}.smart-picker-filters select{width:100%;min-width:0;min-height:44px;border:1px solid #d4dfce;border-radius:10px;background:#fff;color:#29372e;padding:8px;font:inherit}.smart-picker-filters .smart-only-chosen{display:flex;align-items:center;gap:10px;grid-column:1/-1}.smart-cook .smart-chosen-panel{background:#f4f7ef;margin:14px 0}.smart-chosen-row{display:flex;gap:10px;align-items:center;padding:10px 0;border-top:1px solid #dfe6d7}.smart-chosen-row>span{flex:1;min-width:0;font-weight:750;overflow-wrap:anywhere}.smart-chosen-row label{display:grid;gap:2px;margin:0;text-align:center}.smart-chosen-row input[type=number]{width:62px}.smart-chosen-row small{font-size:11px}.smart-cook .smart-catalog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;max-height:none;overflow:visible;border:0;border-radius:0;background:transparent;margin:16px 0 24px}.smart-catalog label.smart-recipe-card{position:relative;display:flex;flex-direction:column;gap:0;padding:0;overflow:hidden;min-width:0;border:2px solid #e0e5da;border-radius:22px;background:#fff;box-shadow:0 6px 20px #334d3510;cursor:pointer;transition:border-color .15s,box-shadow .15s}.smart-catalog label.smart-recipe-card.is-selected{border-color:#5d8550;box-shadow:0 0 0 2px #5d855026}.smart-recipe-card:focus-within{outline:3px solid #729962;outline-offset:3px}.smart-card-photo{width:100%;aspect-ratio:16/10;position:relative;flex:none;background:#edf1e6}.smart-card-photo img{width:100%;height:100%;object-fit:cover;display:block}.smart-card-photo img[hidden]{display:none}.smart-photo-fallback{position:absolute;inset:0;display:grid;place-items:center;font-size:64px;background:linear-gradient(135deg,#eff4e8,#e2ebd7)}.smart-photo-fallback[hidden]{display:none}.smart-cook .smart-card-photo input[type=checkbox]{position:absolute;top:14px;right:14px;width:32px;height:32px;min-height:32px;margin:0;cursor:pointer;accent-color:#547a46;box-shadow:0 2px 12px #22362226;border-radius:8px}.smart-card-content{padding:18px;width:100%;display:flex;flex-direction:column;flex:1;gap:12px}.smart-card-content>strong{font-size:20px;line-height:1.3;overflow-wrap:anywhere}.smart-card-tags{display:flex;flex-wrap:wrap;gap:6px}.smart-card-tags>span{font-size:12px;padding:4px 9px;border-radius:999px;background:#edf3e7;color:#42613a;font-weight:700}.smart-card-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;border-top:1px solid #e4e7df;padding-top:12px;margin-top:auto;color:#778074;font-size:13px}.smart-card-state{margin-left:auto;color:#517246;font-weight:850}.smart-picker-empty{grid-column:1/-1;text-align:center;padding:32px 16px;color:#75806e}.smart-picker-empty>span,.smart-picker-empty>strong{display:block}.smart-picker-empty>span{font-size:40px;margin-bottom:10px}.smart-cook [data-selection-count]{font-weight:750;color:#52694a}@media(max-width:540px){.smart-cook .smart-catalog{grid-template-columns:minmax(0,1fr);gap:18px}.smart-card-content>strong{font-size:21px}.smart-card-photo{aspect-ratio:16/10}.smart-picker-filters{gap:10px}.smart-chosen-row{gap:6px}.smart-chosen-row>span{font-size:14px}}


.smart-team{display:grid;gap:18px}.smart-team .smart-current{min-width:0}.smart-team .smart-primary{margin-top:16px;width:100%}.smart-team small[data-team-hint]{display:block;margin-top:8px}.smart-cooks{display:flex;flex-wrap:wrap;align-items:center;gap:12px;font-weight:700}.smart-cooks select{padding:12px;border-radius:12px}@media(min-width:900px){.smart-team{grid-template-columns:repeat(2,minmax(0,1fr))}.smart-team>[data-message]{grid-column:1/-1}}

/* A fixed overview; full instructions remain accessible in the detail sheet. */
.smart-cook.smart-compact{gap:8px;padding-top:max(10px,env(safe-area-inset-top))}.smart-compact .smart-head{gap:8px}.smart-compact .smart-head h2{font-size:22px}.smart-compact .smart-head small{font-size:11px}.smart-compact [data-eta]{font-size:12px;margin-left:auto;white-space:nowrap}.smart-compact .smart-head>button{padding:8px 12px}.smart-team-compact{flex:1;min-height:0;display:grid;grid-auto-rows:minmax(0,1fr);gap:8px;overflow:hidden}.smart-team-compact .smart-current{padding:12px;border:1px solid #dce4d7;border-radius:16px;background:#fff;display:flex;flex-direction:column;gap:7px;overflow:hidden;min-height:0}.smart-team-compact .smart-current>header{display:flex;align-items:center;justify-content:space-between;gap:8px}.smart-team-compact h3{margin:0;font-size:17px}.smart-team-compact header span{font-size:11px;color:#5a725c}.smart-team-compact .smart-dish-name{font-size:13px;line-height:1.35;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.smart-team-compact .smart-instruction{font-size:clamp(15px,2.2vh,19px);line-height:1.4;margin:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;flex-shrink:1}.smart-team-compact .smart-ingredients-inline{font-size:12px;line-height:1.4;color:#55704e;margin:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.smart-mapping-note{font-size:10px;color:#876140}.smart-card-bottom{display:flex;gap:6px;align-items:center;margin-top:auto;flex-shrink:0}.smart-card-bottom>small{flex:1;font-size:11px}.smart-team-compact .smart-card-bottom button{font-size:12px;padding:6px 10px;min-height:44px}.smart-team-compact .smart-card-bottom .smart-primary{width:auto;margin:0}.smart-compact .smart-timers{flex:none;max-height:none;display:grid;gap:4px;margin:0}.smart-compact .smart-timers:empty{display:none}.smart-compact .smart-timers article{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;gap:5px;align-items:center;padding:5px 8px;margin:0}.smart-compact .smart-timers strong{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.smart-compact .smart-timers span{font-size:11px}.smart-compact .smart-timers button{font-size:11px;padding:4px 7px;min-height:44px}.smart-compact footer{flex:none;padding:0;display:grid;gap:4px}.smart-compact footer>small{font-size:11px;text-align:center}.smart-team-dense{grid-template-columns:repeat(2,minmax(0,1fr))}.smart-team-dense .smart-instruction,.smart-team-dense .smart-ingredients-inline,.smart-team-dense .smart-mapping-note,.smart-team-dense .smart-card-bottom>small{display:none}.smart-team-dense .smart-current>header{flex-wrap:wrap;gap:3px}.smart-team-dense .smart-card-bottom{justify-content:space-between}.smart-task-detail{position:absolute;inset:0;z-index:2;width:100%!important;background:#fffaf4;padding:max(16px,env(safe-area-inset-top)) 16px max(16px,env(safe-area-inset-bottom));display:flex;flex-direction:column;box-sizing:border-box}.smart-task-detail>header{display:flex;gap:12px;align-items:center;justify-content:space-between}.smart-task-detail h3{font-size:20px}.smart-detail-body{min-height:0;overflow:auto;line-height:1.5;font-size:17px}.smart-detail-body .smart-step-ingredients{font-size:16px}@media(max-height:700px){.smart-team-compact .smart-current{gap:4px;padding:8px}.smart-team-compact .smart-instruction{-webkit-line-clamp:2}.smart-team-compact .smart-ingredients-inline{-webkit-line-clamp:1}.smart-team-compact .smart-mapping-note{display:none}}@media(min-width:900px){.smart-team-compact{grid-template-columns:repeat(2,minmax(0,1fr))}}

.smart-compact .smart-timers{grid-template-columns:minmax(0,1fr)}


.smart-compact .smart-timers .smart-timer-task{min-width:0;text-align:left;background:transparent;border:0;padding:2px}.smart-timer-task small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:400;font-size:10px}

/* Isolate the cooking cards from global page heading/paragraph spacing. */
.smart-compact .smart-current>header{position:static!important;margin:0!important;padding:0!important;min-height:24px;flex:0 0 auto;background:none;border:0;box-shadow:none}.smart-compact .smart-current h3{margin:0!important;padding:0!important;line-height:1.25;font-size:17px}.smart-compact .smart-head{position:static!important;margin-block:0!important;padding:0!important;min-height:44px;background:none;border:0;box-shadow:none}.smart-compact .smart-head h2{margin:0!important;line-height:1.25}.smart-compact .smart-current{gap:6px;box-sizing:border-box}.smart-card-copy{flex:1 1 auto;min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:5px}.smart-compact .smart-card-copy>*{flex:0 0 auto;margin:0!important;padding:0!important}.smart-compact .smart-dish-name{display:block;font-size:13px;line-height:18px;height:18px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.smart-compact .smart-instruction{font-size:17px;line-height:23px;max-height:69px;-webkit-line-clamp:3}.smart-compact .smart-ingredients-inline{font-size:12px;line-height:17px;max-height:17px;-webkit-line-clamp:1}.smart-compact .smart-mapping-note{font-size:10px;line-height:13px}.smart-compact .smart-card-bottom{flex:0 0 auto;margin:0!important;min-height:44px}.smart-compact .smart-timer-bar{flex:0 0 44px;min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 10px;background:#eaf0e4;font-size:12px}.smart-timer-bar.is-due{background:#fff0d0;border-color:#bd7734}.smart-timer-sheet>header{flex:0 0 auto;margin:0!important;padding:0!important;position:static;min-height:44px;background:none}.smart-timer-sheet .smart-detail-body{display:block;overflow:auto}.smart-timer-sheet article{padding:14px;border:1px solid #dce4d7;border-radius:14px;margin:10px 0;background:#fff}.smart-timer-sheet article p{margin:10px 0;font-size:16px;line-height:1.45}.smart-timer-sheet [data-countdown]{display:block;font-size:24px;font-weight:800}.smart-timer-sheet .is-due{background:#fff0d0}.smart-timer-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.smart-compact .smart-team-dense .smart-card-copy .smart-instruction,.smart-compact .smart-team-dense .smart-card-copy .smart-ingredients-inline,.smart-compact .smart-team-dense .smart-card-copy .smart-mapping-note{display:none}@media(max-height:740px){.smart-compact .smart-current{padding:9px;gap:4px}.smart-card-copy{gap:3px}.smart-compact .smart-instruction{font-size:16px;line-height:21px;max-height:42px;-webkit-line-clamp:2}.smart-compact .smart-mapping-note{display:none}.smart-compact .smart-head h2{font-size:20px}}@media(max-height:600px){.smart-compact .smart-instruction{max-height:21px;-webkit-line-clamp:1}.smart-compact .smart-team-dense .smart-dish-name{display:none}}


.smart-compact .smart-pause{flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;border:1px solid #dce4d7;border-radius:22px;background:#edf3e8;padding:20px;overflow:hidden}.smart-pause>*{margin:0!important;padding:0!important}.smart-pause .smart-pause-icon{font-size:40px}.smart-pause h3{font-size:28px;line-height:1.2}.smart-pause [data-pause-countdown]{font-size:clamp(42px,10vw,76px);line-height:1.1;font-variant-numeric:tabular-nums;color:#355a40}.smart-pause p{font-size:16px;line-height:1.4}.smart-pause small{max-width:380px;font-size:13px;line-height:1.5;color:#5a725c}@media(max-height:450px){.smart-compact .smart-pause{gap:6px;padding:10px}.smart-pause .smart-pause-icon{display:none}.smart-pause h3{font-size:20px}.smart-pause [data-pause-countdown]{font-size:32px}}

/* Keep the easy-to-forget cook count visible while browsing recipes. */
.smart-picker-body .smart-cook-count{position:sticky;top:0;z-index:4;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;margin:4px 0 14px;padding:12px 14px;border:2px solid #8aa57c;border-radius:18px;background:#edf3e8;box-shadow:0 6px 18px rgba(42,69,43,.12)}
.smart-cook-count-icon{font-size:25px}.smart-cook-count label{display:grid;gap:2px;min-width:0}.smart-cook-count label strong{font-size:15px;line-height:1.25}.smart-cook-count label small{font-size:11px;color:#60705d}.smart-cook-count select{min-width:96px;min-height:48px;padding:8px 10px;border:1px solid #bdcbb7;border-radius:13px;background:#fff;color:#29372e;font:inherit;font-weight:800}
.smart-cook .smart-picker-top{position:absolute;z-index:6;right:max(18px,env(safe-area-inset-right));bottom:calc(max(16px,env(safe-area-inset-bottom)) + 92px);width:auto;min-height:46px;padding:9px 14px;border-color:#a9bba2;background:#355a40;color:#fff;box-shadow:0 8px 24px rgba(36,57,40,.25)}
.smart-cook .smart-picker-top[hidden]{display:none}
@media(max-width:540px){.smart-picker-body .smart-cook-count{grid-template-columns:auto minmax(0,1fr) auto;gap:9px;padding:10px}.smart-cook-count label strong{font-size:13px}.smart-cook-count select{min-width:84px}.smart-cook .smart-picker-top{right:16px}.smart-cook .smart-picker-top span{display:none}}
