
#k2tAiForm>.sr-only,#k2tPantryMic>.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}
#k2tAiConsole .k2t-ai-secondary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:16px}
#k2tAiConsole .k2t-ai-secondary>a,#k2tAiConsole .k2t-ai-secondary>button,#k2tAiConsole #k2tAiReset,#k2tAiConsole #k2tAiSend{box-sizing:border-box;min-height:48px;border:1px solid #cdb8c8;border-radius:999px!important;font:600 14px/1.4 Poppins,Arial,sans-serif!important;text-decoration:none;align-items:center;justify-content:center;cursor:pointer;white-space:normal}
#k2tAiConsole .k2t-ai-secondary>a,#k2tAiConsole .k2t-ai-secondary>button{width:100%;background:#f3eaf0!important;text-align:center;padding:12px 16px!important}
#k2tAiConsole #k2tAiReset{padding:10px 16px!important}
#k2tAiConsole #k2tAiSend{border-color:#792860}
#k2tAiConsole .k2t-ai-secondary>a:focus-visible,#k2tAiConsole .k2t-ai-secondary>button:focus-visible,#k2tAiConsole #k2tAiReset:focus-visible,#k2tAiConsole #k2tAiSend:focus-visible{outline:3px solid #792860;outline-offset:3px}
@media(max-width:620px){#k2tAiConsole .k2t-ai-secondary{grid-template-columns:1fr}#k2tAiConsole .k2t-ai-statusline{flex-wrap:wrap}}
#labBrowseChoices .lab-choice-grid{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
#labBrowseChoices button{display:inline-flex!important;align-items:center;justify-content:center;min-height:36px;min-width:0;width:auto;height:auto;box-sizing:border-box;margin:0!important;padding:9px 13px!important;border:1px solid #cdb8c8!important;border-radius:999px!important;background:#fff!important;color:#542048!important;font:700 .82rem/1.2 Poppins,Arial,sans-serif!important;white-space:normal;text-align:center;cursor:pointer;gap:7px}
#labBrowseChoices .lab-choice-grid>button::before{content:"";width:11px;height:11px;border:2px solid #7b2868;border-radius:50%;box-sizing:border-box;flex:0 0 auto}
#labBrowseChoices button:hover{background:#f6edf3!important;border-color:#792860!important}
#labBrowseChoices button:focus-visible{outline:2px solid #792860;outline-offset:2px}
#labBrowseChoices .lab-choice-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
#k2tAiConsole .k2t-ai-secondary{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
#k2tAiConsole .k2t-ai-secondary>a,#k2tAiConsole .k2t-ai-secondary>button,#k2tAiResults .k2t-ai-secondary-btn{width:auto;min-height:36px;padding:9px 13px!important;border:1px solid #cdb8c8!important;border-radius:999px!important;background:#fff!important;color:#542048!important;font:700 .82rem/1.2 Poppins,Arial,sans-serif!important;text-decoration:none}
#labReportPanel{max-width:1100px;margin:36px auto;padding:24px;background:#fff;color:#291824;border:1px solid #e2d4dd;border-radius:18px;font:16px/1.5 Poppins,Arial,sans-serif}
#labReportPanel button,#labRecipe button{display:inline-block;padding:10px 16px;margin:8px;border-radius:8px;border:1px solid #8a5479;background:#792860;color:white;cursor:pointer}
#labReportPanel pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;max-height:450px;overflow:auto}
#labTestBanner{padding:12px 20px;background:#fff4d1;color:#291824;text-align:center;font:15px/1.5 Arial,sans-serif}
#labTestBanner button{margin-left:12px;padding:8px 12px;cursor:pointer}
#labRecipe{max-width:800px;width:calc(100% - 30px);max-height:90vh;border-radius:18px;border:1px solid #8a5479;padding:24px}
#labRecipe::backdrop{background:#291526aa}#labRecipeText{white-space:pre-wrap}
#labRecipeImage{display:block;width:100%;max-height:320px;object-fit:contain;margin:16px 0;border-radius:12px}#labRecipeImage[hidden]{display:none}
.lab-view-recipe{display:block!important;width:calc(100% - 36px)!important;margin:14px 18px 20px!important;box-sizing:border-box}
#k2tAiConsole [hidden]{display:none!important}
#k2tAiConsole #k2tAiResults{width:auto;max-width:none;margin:0;padding:24px;border-radius:0;border-left:0;border-right:0;box-shadow:none;color:#291824;background:white}
#k2tAiConsole #k2tAiResultsTitle{font-size:clamp(24px,3vw,36px)}
#labContinuation:empty{display:none}
/* One page scrollbar: earlier dialogue must never be trapped in a 300px pane. */
#k2tAiConsole .k2t-ai-conversation,#k2tAiConsole #k2tAiChoices{height:auto!important;max-height:none!important;overflow:visible!important}
#labSelectionNotice{padding:12px;background:#edf6ed;color:#214c2b;border-radius:8px}
html.k2lab-scroll-page,html.k2lab-scroll-page body{height:auto!important;max-height:none!important;overflow-y:visible!important;scroll-behavior:auto!important}
html.k2lab-scroll-page body{padding-bottom:88px!important}
/* Clipping must not create an invisible second scrollbar. */
html.k2lab-scroll-page,html.k2lab-scroll-page body{overflow-x:clip!important}
html.k2lab-scroll-page .k2t-ai-hero,html.k2lab-scroll-page .k2t-ai-console{overflow:clip!important}
#labPageNavigation{position:static;display:flex;flex-wrap:wrap;justify-content:center;gap:10px;padding:0;margin:0;border:0;background:transparent;box-shadow:none}
#labPageNavigation button{margin:0!important;padding:10px 14px!important;border:1px solid #792860!important;border-radius:8px!important;background:#792860!important;color:white!important;cursor:pointer;font:600 14px Arial,sans-serif}
#labCreateCallout{box-sizing:border-box;display:block;width:100%;max-width:740px;margin:24px auto;padding:22px;border:1px solid #a97414;border-radius:16px;background:#fff4d6;color:#38280d}
#labCreateCallout h3{margin:0 0 18px;text-align:center;font:800 1.1rem/1.3 Poppins,Arial,sans-serif}
#labCreateCallout .lab-create-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
#labCreateCallout .lab-create-actions>div{min-width:0}
#labCreateCallout p{box-sizing:border-box;width:100%;margin:10px 0 0;text-align:center;overflow-wrap:break-word;font:500 14px/1.5 Poppins,Arial,sans-serif}
#labCreateCallout #k2tAiRefine,#labCreateCallout #labCreateNewTop{box-sizing:border-box;display:flex!important;align-items:center;justify-content:center;width:100%;height:48px;min-height:48px;min-width:0;margin:0!important;padding:0 14px!important;border:2px solid #6f285f!important;border-radius:999px!important;font:700 15px/1.2 Poppins,Arial,sans-serif!important;white-space:normal;text-align:center;cursor:pointer}
#labCreateCallout #k2tAiRefine{background:#6f285f!important;color:#fff!important}
#labCreateCallout #labCreateNewTop{background:#6f285f!important;color:#fff!important}
#labCreateCallout button:focus-visible{outline:3px solid #2a684f;outline-offset:4px}
#labCreateCallout button:disabled{opacity:.6;cursor:default}
@media(max-width:620px){#labCreateCallout{padding:18px}#labCreateCallout .lab-create-actions{grid-template-columns:1fr;gap:20px}}
.lab-generation-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:20px}
#labGenerationHandoff .lab-generation-actions button{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:11px 22px!important;margin:0!important;border:2px solid #6f285f!important;border-radius:999px!important;background:#6f285f!important;color:#fff!important;font:700 15px/1.2 Poppins,Arial,sans-serif!important;text-align:center;cursor:pointer}
#labGenerationHandoff .lab-generation-actions button[hidden]{display:none!important}
#labGenerationHandoff .lab-generation-actions button:focus-visible{outline:3px solid #2a684f;outline-offset:3px}
#labGenerationHandoff .lab-generation-actions button:disabled{opacity:.6;cursor:default}
@media(max-width:620px){.lab-generation-actions{flex-direction:column;align-items:stretch}.lab-generation-actions button{width:100%}}
#labGeneratedRecipes{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px;margin:16px 0}.lab-generated-card{padding:16px;background:#fff;border:1px solid #dcc5d6;border-radius:12px}.lab-generated-card img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px}.lab-generated-card h3{font-size:1rem;line-height:1.4}

/* Production Signature Gold controls. */
body #k2tAiConsole :is(#k2tAiReset,#k2tAiSend,.k2t-ai-secondary>a,.k2t-ai-secondary>button),body #k2tAiResults :is(.k2t-ai-secondary-btn,.k2t-ai-primary-btn),body #labCreateCallout :is(#k2tAiRefine,#labCreateNewTop),body #labGenerationHandoff button,body #labPageNavigation button{background:#24221e!important;color:#e0be76!important;border-color:#b48c39!important;}
body #labCreateCallout{background:#fff;border-color:#b48c39;color:#24221e;}

/* Private demo: option-one choice preview. No shared homepage rules changed. */
.k2t-pantry-step[hidden]{display:none!important;}
body.k2t-pantry-step-active #k2tAiConsole,
body.k2t-pantry-step-active #k2tAiResults{display:none!important;}
.k2t-pantry-step{box-sizing:border-box;max-width:760px;margin:28px auto;padding:24px;border:1px solid rgba(242,195,93,.45);border-radius:20px;background:rgba(30,20,34,.9);color:#fff;text-align:left;}
.k2t-pantry-step h2{margin:0 0 20px;font-size:clamp(1.25rem,3vw,1.65rem);line-height:1.35;color:#fff;}
.k2t-pantry-step__choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
.k2t-pantry-step__choices button{box-sizing:border-box;min-height:134px;width:100%;padding:20px;border:1px solid #e6b84e;border-radius:16px;background:transparent;color:#fff;text-align:left;font:inherit;cursor:pointer;}
.k2t-pantry-step__choices strong,.k2t-pantry-step__choices span{display:block;}
.k2t-pantry-step__choices strong{font-size:1.05rem;line-height:1.4;color:#f2c35d;}
.k2t-pantry-step__choices span{margin-top:10px;font-size:.9rem;line-height:1.5;}
.k2t-pantry-step__choices button:hover{background:rgba(242,195,93,.1);}
.k2t-pantry-step__choices button[aria-pressed="true"]{background:#f2c35d;color:#251b28;box-shadow:0 0 0 2px #f2c35d;}
.k2t-pantry-step__choices button[aria-pressed="true"] strong{color:#251b28;}
.k2t-pantry-step button:focus-visible{outline:3px solid #fff;outline-offset:4px;}
.k2t-pantry-step__summary{font-weight:600;line-height:1.5;margin:20px 0 12px;}
.k2t-pantry-step__summary:empty{display:none;}
.k2t-pantry-step__notice{font-size:.9rem;line-height:1.6;color:#e7dbe8;margin:20px 0;}
.k2t-pantry-step__back{min-height:44px;padding:10px 14px;border:1px solid #d7bfd8;border-radius:10px;background:transparent;color:#fff;font:inherit;cursor:pointer;}
@media(max-width:600px){.k2t-pantry-step{padding:20px 16px;margin:22px auto;}.k2t-pantry-step__choices{grid-template-columns:1fr;}.k2t-pantry-step__choices button{min-height:112px;}}

/* Keep the demo panel in the live homepage's white-and-gold visual language. */
body #k2tPantryStep{background:#fff;color:#292722;border-color:#c9af66;box-shadow:0 5px 22px rgba(87,65,15,.08);}
body #k2tPantryStep h2{color:#292722;}
body #k2tPantryStep .k2t-pantry-step__choices button{background:#fff!important;color:#292722!important;border:1px solid #a88b32!important;border-radius:16px!important;padding:20px!important;box-shadow:none!important;}
body #k2tPantryStep .k2t-pantry-step__choices button strong{color:#59450d;}
body #k2tPantryStep .k2t-pantry-step__choices button:hover{background:#faf6e7!important;}
body #k2tPantryStep .k2t-pantry-step__choices button[aria-pressed="true"]{background:#f1e6bc!important;border:2px solid #85620d!important;padding:19px!important;}
body #k2tPantryStep .k2t-pantry-step__notice{color:#5e5a50;}
body #k2tPantryStep button:focus-visible{outline:3px solid #85620d!important;outline-offset:4px;}
body #k2tPantryStep .k2t-pantry-step__back{background:#fff!important;color:#292722!important;border:1px solid #a88b32!important;}

/* Demo ingredient entry only; does not alter the shared recipe form. */
#k2tPantryEntry[hidden]{display:none!important;}
#k2tPantryEntry{border-top:1px solid #e4d8b6;margin-top:24px;padding-top:22px;}
#k2tPantryEntry h3{margin:0 0 10px;font-size:1.2rem;color:#292722;}
#k2tPantryEntry p{line-height:1.55;}
#k2tPantryEntry label{display:block;margin:18px 0 8px;font-weight:600;color:#292722;}
#k2tPantryEntryInput{box-sizing:border-box;display:block;width:100%;min-height:272px;padding:14px;border:1px solid #b49a51;border-radius:10px;background:#fff;color:#292722;font:inherit;font-size:1rem;line-height:1.6;resize:vertical;}
#k2tPantryEntryInput:focus-visible{outline:3px solid #85620d;outline-offset:3px;}
#k2tPantryEntryCount,#k2tPantryEntryStatus{font-size:.9rem;color:#5e5a50;}
.k2t-pantry-entry-actions{display:flex;flex-wrap:wrap;gap:12px;}
body #k2tPantryEntry button{min-height:44px;padding:10px 18px!important;border:1px solid #a88b32!important;border-radius:999px!important;background:#fff!important;color:#292722!important;font:inherit;cursor:pointer;}
body #k2tPantryEntry #k2tPantryEntrySave{background:#f1e6bc!important;}

/* Isolated active input stage: earlier choices are replaced, not stacked. */
body.k2t-pantry-step-active .lab-start-paths{display:none!important;}
#k2tPantryStep [hidden]{display:none!important;}
#k2tPantryEntry{border:0;margin-top:10px;padding-top:0;}
#k2tPantryEntryInput{min-height:180px;}
#k2tPantryStep h3{color:#292722;}
/* Index-style text and microphone, with the photo action always on the same row. */
#k2tPantryStep .k2t-pantry-input-methods{display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,210px);align-items:start;gap:12px;margin:16px 0 10px;}
#k2tPantryStep .k2t-pantry-inputbar{display:grid;grid-template-columns:minmax(0,1fr) 48px;align-items:start;gap:12px;min-width:0;background:#fff;}
#k2tPantryStep .k2t-pantry-inputbar>.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;}
#k2tPantryStep .k2t-pantry-inputbar #k2tPantryEntryInput{box-sizing:border-box;width:100%;min-width:0;min-height:64px;max-height:130px;resize:none;margin:0;border:1px solid #cdbec8;border-radius:12px;padding:13px 14px;color:#211820;background:#fff;font:500 1rem/1.4 Poppins,Arial,sans-serif;}
#k2tPantryStep .k2t-pantry-inputbar #k2tPantryEntryInput:focus{border-color:#85620d;outline:3px solid rgba(133,98,13,.18);outline-offset:1px;}
body #k2tPantryEntry .k2t-pantry-input-methods button{box-sizing:border-box;min-width:0;min-height:64px;display:inline-flex;align-items:center;justify-content:center;gap:8px;margin:0!important;padding:10px 14px!important;font-weight:600;line-height:1.35;}
#k2tPantryStep .k2t-pantry-input-methods svg{display:block;flex-shrink:0;width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
body #k2tPantryEntry #k2tPantryMic{width:48px;height:64px;padding:0!important;background:#fff!important;color:#94680c!important;border:2px solid #b88a24!important;border-radius:50%!important;box-shadow:0 3px 12px rgba(139,98,14,.16)!important;}
#k2tPantryStep #k2tPantryMic svg{width:34px;height:34px;}
body #k2tPantryEntry #k2tPantryMic:hover{background:#fff8e5!important;}
body #k2tPantryEntry #k2tPantryMic[aria-pressed=true]{background:#fde0d8!important;color:#9f3220!important;border-color:#9f3220!important;}
#k2tPantryStep #k2tPantryMic .k2t-pantry-stop-icon,#k2tPantryStep #k2tPantryMic[aria-pressed=true] .k2t-pantry-mic-icon{display:none;}
#k2tPantryStep #k2tPantryMic[aria-pressed=true] .k2t-pantry-stop-icon{display:block;fill:currentColor;stroke:none;}
body #k2tPantryEntry #k2tPantryPhotoChoose{width:100%;border-radius:12px!important;background:#fff!important;color:#59450d!important;text-align:center;white-space:normal;}
body #k2tPantryEntry #k2tPantryPhotoChoose:hover{background:#fff8e5!important;}
#k2tPantryStep .k2t-pantry-input-methods button:focus-visible{outline:3px solid #85620d;outline-offset:3px;}
#k2tPantryStep .k2t-pantry-input-methods button:disabled{opacity:.55;cursor:wait;}
@media(max-width:620px){#k2tPantryStep .k2t-pantry-input-methods{grid-template-columns:minmax(0,1fr) 112px;gap:8px;}#k2tPantryStep .k2t-pantry-inputbar{grid-template-columns:minmax(0,1fr) 44px;gap:6px;}body #k2tPantryEntry #k2tPantryMic{width:44px;}body #k2tPantryEntry #k2tPantryPhotoChoose{padding:6px 8px!important;font-size:.82rem;}#k2tPantryStep #k2tPantryPhotoChoose svg{display:none;}#k2tPantryStep .k2t-pantry-inputbar #k2tPantryEntryInput{padding:10px;}}
@media(max-width:360px){#k2tPantryStep .k2t-pantry-input-methods{grid-template-columns:minmax(0,1fr) 96px;gap:6px;}body #k2tPantryEntry #k2tPantryPhotoChoose{font-size:.75rem;padding:6px!important;}}
#k2tPantryStep .k2t-pantry-help{font-size:.88rem;line-height:1.6;color:#625d50;}
#k2tPantryStep .k2t-pantry-details{margin:20px 0;border-top:1px solid #e4d8b6;border-bottom:1px solid #e4d8b6;padding:16px 0;}
#k2tPantryStep summary{cursor:pointer;font-weight:600;}
#k2tPantryStep .k2t-pantry-fields{display:grid;grid-template-columns:1fr 2fr 1fr;gap:14px;}
#k2tPantryStep select,#k2tPantryStep input[type=text]{box-sizing:border-box;display:block;width:100%;margin-top:8px;padding:10px;border:1px solid #b49a51;border-radius:8px;background:#fff;color:#292722;font:inherit;}
body #k2tPantryStep button:disabled{opacity:.6;cursor:wait;}
body #k2tPantryEntry #k2tPantryEntrySave{background:#f1e6bc!important;font-weight:700;}
body #k2tPantryResults button{min-height:44px;padding:10px 18px;border:1px solid #a88b32;border-radius:999px;background:#fff;color:#292722;font:inherit;cursor:pointer;}
#k2tPantryResultGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:20px 0;}
.k2t-pantry-recipe{padding:18px;border:1px solid #d5be80;border-radius:12px;background:#fff;overflow-wrap:anywhere;}
.k2t-pantry-recipe h4{margin:0 0 12px;font-size:1.12rem;line-height:1.5;color:#59450d;}
.k2t-pantry-recipe p,.k2t-pantry-recipe li{font-size:.92rem;line-height:1.65;color:#292722;}
.k2t-pantry-recipe ol,.k2t-pantry-recipe ul{padding-left:22px;}
#k2tPantryMediaStatus,#k2tPantryEntryStatus{line-height:1.6;}
@media(max-width:620px){#k2tPantryStep .k2t-pantry-fields,#k2tPantryResultGrid{grid-template-columns:1fr;}#k2tPantryStep .k2t-pantry-input-methods button{font-size:.95rem;min-height:44px;}#k2tPantryEntry .k2t-pantry-entry-actions{flex-direction:column;}#k2tPantryEntry .k2t-pantry-entry-actions button{width:100%;}}

/* Normal recipe output cards, isolated to the pantry demo. */
#k2tPantryResultGrid .k2t-pantry-recipe{padding:0;overflow:hidden;display:flex;flex-direction:column;}
#k2tPantryResultGrid .k2t-pantry-recipe>img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;background:#f8f4e8;}
#k2tPantryResultGrid .k2t-pantry-card-body{padding:20px;display:flex;flex-direction:column;gap:10px;flex:1;}
#k2tPantryResultGrid .k2t-pantry-card-body p,#k2tPantryResultGrid .k2t-pantry-card-body h4{margin:0;}
#k2tPantryResultGrid .k2t-pantry-origin{font-size:.78rem;color:#765b16;text-transform:uppercase;letter-spacing:.05em;font-weight:600;}
#k2tPantryResultGrid .k2t-pantry-image-status{min-height:130px;display:flex;align-items:center;justify-content:center;padding:20px;background:#faf7ed;color:#625d50;text-align:center;}
#k2tPantryResultGrid .k2t-pantry-card-body button{margin-top:auto;align-self:flex-start;}
#k2tPantryResultGrid .k2t-pantry-card-body ul{margin:0 0 10px;}
#k2tPantryResultsSummary{line-height:1.7;}
#k2tPantryResultGrid .k2t-pantry-recipe-warning{font-size:.85rem;color:#795219;}

/* Per-recipe shopping explanation and grouping, isolated to the admin pantry demo. */
#k2tPantryStep .k2t-pantry-policy-review{padding:14px 16px;border-left:3px solid #a88b32;background:#faf7ed;color:#292722;font-size:.92rem;line-height:1.65;}
#k2tPantryResultGrid .k2t-pantry-ingredient-group{padding-top:10px;border-top:1px solid #e4d8b6;}
#k2tPantryResultGrid .k2t-pantry-ingredient-group h5{margin:0 0 8px;color:#59450d;font-size:.94rem;line-height:1.5;}
#k2tPantryResultGrid .k2t-pantry-ingredients-buy{padding:12px;background:#faf7ed;border:1px solid #e4d8b6;border-radius:8px;}
#k2tPantryResultGrid .k2t-pantry-extra-count{font-size:.85rem;font-weight:600;}

@media(min-width:621px){#k2tPantryStep .k2t-pantry-fields{grid-template-columns:repeat(2,minmax(0,1fr));}}

/* Optional dietary disclosure shared by both pantry choices. */
#k2tPantryStep .k2t-pantry-household{margin:20px 0;}
#k2tPantryStep .k2t-pantry-dietary{margin:14px 0;}
#k2tPantryStep .k2t-pantry-dietary>summary{display:list-item;width:fit-content;max-width:100%;box-sizing:border-box;min-height:44px;padding:10px 18px;border:1px solid #a88b32;border-radius:12px;background:#fff;color:#292722;cursor:pointer;}
#k2tPantryStep .k2t-pantry-dietary>summary:focus-visible{outline:3px solid #85620d;outline-offset:3px;}
#k2tPantryStep .k2t-pantry-dietary[open]{padding-bottom:14px;border-bottom:1px solid #e4d8b6;}
#k2tPantryStep .k2t-pantry-restriction-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;max-height:270px;overflow:auto;padding:6px;border:1px solid #e4d8b6;border-radius:8px;margin:12px 0 16px;}
#k2tPantryStep .k2t-pantry-restriction-choices label{display:flex;align-items:center;gap:9px;min-height:44px;font-size:.9rem;line-height:1.4;cursor:pointer;}
#k2tPantryStep .k2t-pantry-restriction-choices input{flex:0 0 auto;width:18px;height:18px;accent-color:#85620d;}
#k2tPantryStep .k2t-pantry-dietary>label{display:block;margin-top:14px;font-weight:600;}
#k2tPantryCustomRestrictions{display:block;box-sizing:border-box;width:100%;margin-top:8px;padding:10px;border:1px solid #b49a51;border-radius:8px;background:#fff;color:#292722;font:inherit;resize:vertical;}
#k2tPantryStep .k2t-pantry-restriction-review:empty,#k2tPantryRestrictionNotice:empty{display:none;}
#k2tPantryStep .k2t-pantry-restriction-review{padding:12px 14px;border-left:3px solid #a88b32;background:#faf7ed;color:#59450d;line-height:1.6;}
@media(max-width:620px){#k2tPantryStep .k2t-pantry-restriction-choices{grid-template-columns:1fr;}}

/* Required options remain inside the optional dietary disclosure. */
#k2tPantryStep .k2t-pantry-profile{margin:16px 0;padding:12px 14px 14px;border:1px solid #d5be80;border-radius:10px;background:#faf7ed;min-width:0;}
#k2tPantryStep .k2t-pantry-profile legend{padding:0 6px;font-weight:600;color:#59450d;}
#k2tPantryStep .k2t-pantry-profile>label{display:block;margin:10px 0;line-height:1.5;}
#k2tPantryStep .k2t-pantry-profile select{max-width:100%;}

#k2tPantryStep .k2t-pantry-nutrients{margin:16px 0;padding:14px;border:1px solid #d5be80;border-radius:10px;background:#faf7ed;}
#k2tPantryStep input[type=number]{box-sizing:border-box;display:block;width:100%;margin:8px 0 14px;padding:10px;border:1px solid #b49a51;border-radius:8px;background:#fff;color:#292722;font:inherit;}
#k2tPantryStep .k2t-pantry-evidence{max-height:none;overflow:visible;}
#k2tPantryStep .k2t-pantry-evidence label{display:block;margin:12px 0;}
#k2tPantryNutritionStatus,#k2tPantryStep .k2t-pantry-evidence p{font-size:.88rem;line-height:1.6;}

#k2tPantryStep .k2t-pantry-omitted{margin:12px 0;padding:10px 12px;border:1px solid #b49a51;border-radius:8px;background:#fff;}
#k2tPantryStep .k2t-pantry-source-choices h4,#k2tPantryStep .k2t-pantry-omitted h4{margin:8px 0;}
#k2tPantryStep .k2t-pantry-evidence-details{margin-top:16px;}
#k2tPantryStep .k2t-pantry-evidence-details>summary{cursor:pointer;font-weight:600;padding:8px 0;color:#59450d;}
#k2tPantryStep .k2t-pantry-evidence-details>summary:focus-visible{outline:2px solid #94752d;outline-offset:3px;}
#k2tPantryStep .k2t-pantry-evidence-body{max-height:420px;overflow:auto;padding-right:8px;}

body #k2tPantryEntry .k2t-pantry-input-methods .k2t-pantry-help-button{min-height:32px;padding:4px 9px!important;margin-left:6px;font-size:.78rem;font-weight:500;background:#fff!important;}
#k2tPantryStep .k2t-pantry-input-help{position:absolute;z-index:5;pointer-events:none;top:38px;right:12px;box-sizing:border-box;width:340px;max-width:calc(100% - 24px);margin:0;padding:12px 14px;border:1px solid #a88b32;border-radius:8px;background:#fffdf5;color:#292722;font-size:.86rem;line-height:1.55;box-shadow:0 4px 14px #0002;}
#k2tPantryStep .k2t-pantry-input-help[hidden]{display:none;}
#k2tPantryStep .k2t-pantry-help-button:focus-visible{outline:2px solid #94752d;outline-offset:3px;}


.k2t-pantry-poultry-label{font-size:1rem;font-weight:700;color:#243624;background:#f3f7ef;padding:10px;border-radius:6px}

/* Demo privacy links use the same metallic gold as the footer. */
body :is(#k2tPantryPrivacyNotice,#k2tAiVoicePrivacyNotice,#k2tAiPhotoPrivacyNotice) a{color:#946308!important;background:linear-gradient(165deg,#805008 0%,#bd8a1d 28%,#f2d071 48%,#b77c0e 70%,#785008 100%)!important;background-clip:text!important;-webkit-background-clip:text!important;-webkit-text-fill-color:transparent!important;-webkit-text-stroke:.2px #8a5d13!important;text-shadow:none!important;filter:drop-shadow(0 1px 0 rgba(100,65,8,.16))!important;font-weight:700;text-decoration:underline;text-decoration-color:#946308;text-underline-offset:3px;}
body :is(#k2tPantryPrivacyNotice,#k2tAiVoicePrivacyNotice,#k2tAiPhotoPrivacyNotice) a:is(:hover,:focus-visible){background:none!important;color:#171717!important;-webkit-text-fill-color:#171717!important;-webkit-text-stroke:0!important;filter:none!important;}
body :is(#k2tPantryPrivacyNotice,#k2tAiVoicePrivacyNotice,#k2tAiPhotoPrivacyNotice) a:focus-visible{outline:2px solid #96701e;outline-offset:4px;border-radius:2px;}
@media(forced-colors:active),print{body :is(#k2tPantryPrivacyNotice,#k2tAiVoicePrivacyNotice,#k2tAiPhotoPrivacyNotice) a{background:none!important;color:CanvasText!important;-webkit-text-fill-color:CanvasText!important;-webkit-text-stroke:0!important;filter:none!important;text-decoration-color:currentColor;}}

/* Keep photo progress and outcomes visible beside the shared ingredient input. */
#k2tPantryMediaStatus:not(:empty){padding:12px 14px;border:1px solid #94701e;border-left-width:4px;border-radius:8px;background:#fffaf0;color:#342b16;font-weight:600;line-height:1.5}
#k2tPantryMediaStatus[data-state="error"]{border-color:#a53535;background:#fff4f4;color:#752727}
#k2tPantryMediaStatus[data-state="success"]{border-color:#4d7545;background:#f5faf3;color:#294b25}

/* Explicit native camera and existing-image choices, limited to the pantry demo. */
#k2tPantryStep .k2t-pantry-photo-choices{box-sizing:border-box;max-width:100%;margin:12px 0;padding:14px;border:1px solid #a88b32;border-radius:12px;background:#fffaf0;color:#292722;}
#k2tPantryStep .k2t-pantry-photo-choices[hidden]{display:none;}
#k2tPantryStep #k2tPantryPhotoChoicesTitle{margin:0 0 12px;font-weight:600;}
#k2tPantryStep .k2t-pantry-photo-actions{display:flex;flex-wrap:wrap;gap:10px;}
body #k2tPantryEntry .k2t-pantry-photo-actions button{box-sizing:border-box;min-height:44px;max-width:100%;margin:0;padding:10px 16px!important;border:1px solid #a88b32;border-radius:10px!important;background:#fff!important;color:#59450d!important;font:inherit;font-weight:600;line-height:1.4;white-space:normal;cursor:pointer;}
body #k2tPantryEntry .k2t-pantry-photo-actions button:hover{background:#f9edcb!important;}
#k2tPantryStep .k2t-pantry-photo-actions button:focus-visible{outline:3px solid #85620d;outline-offset:3px;}
#k2tPantryStep #k2tPantryCameraHint{margin:12px 0 0;}
@media(max-width:360px){body #k2tPantryEntry .k2t-pantry-photo-actions button{padding:10px 12px!important;}}

/* Cleanup feedback is non-modal: typing, reset and navigation remain available. */
#k2tPantryCleanupOverlay{position:fixed;z-index:10020;left:50%;top:42%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:16px;box-sizing:border-box;width:max-content;max-width:calc(100vw - 32px);padding:20px 24px;border:1px solid #a88b32;border-radius:16px;background:#fffdf5;color:#4e1f43;box-shadow:0 12px 44px #21140f3d;font:600 1rem/1.5 Poppins,Arial,sans-serif;pointer-events:none;}
#k2tPantryCleanupOverlay[hidden]{display:none;}
#k2tPantryCleanupOverlay .k2t-pantry-cleanup-detail{display:block;margin-top:3px;font:400 .82rem/1.5 Poppins,Arial,sans-serif;color:#625642;}
#k2tPantryCleanupOverlay .k2t-pantry-cleanup-spinner{display:block;flex:0 0 30px;width:30px;height:30px;box-sizing:border-box;border:3px solid #eadfc0;border-top-color:#7b336f;border-radius:50%;animation:k2t-pantry-cleanup-spin .9s linear infinite;}
@keyframes k2t-pantry-cleanup-spin{to{transform:rotate(360deg)}}
#k2tPantryEntryStatus[data-state="error"]{padding:14px 16px;border:1px solid #a53535;border-left-width:4px;border-radius:8px;background:#fff4f4;color:#752727;font-weight:600;}
#k2tPantryEntryStatus:empty{display:none;}
@media(prefers-reduced-motion:reduce){#k2tPantryCleanupOverlay .k2t-pantry-cleanup-spinner{animation:none;border-top-color:#7b336f;border-right-color:#7b336f;}}

/* End-of-conversation controls stay inside the gold console border. */
#labConsoleFooter{display:flex;flex-direction:column;align-items:center;gap:16px;padding:24px 16px;box-sizing:border-box;width:100%;}
#labConsoleFooter .k2t-view-switch{position:static;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:100%;margin:0;}
#labConsoleFooter .k2t-view-switch__link{position:static;margin:0;}
#labConsoleFooter #labPageNavigation button{min-height:44px;}

/* Equal-size navigation pills remain side by side at every viewport. */
#labConsoleFooter #labPageNavigation{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:min(100%,360px);align-items:stretch;}
#labConsoleFooter #labPageNavigation button{box-sizing:border-box;display:flex!important;align-items:center;justify-content:center;width:100%!important;min-width:0;min-height:48px;height:100%;padding:10px 8px!important;border-radius:999px!important;white-space:normal;text-align:center;line-height:1.25!important;}

/* Keep both complete navigation labels on one readable line. */
#labConsoleFooter{padding-inline:6px;}
#labConsoleFooter #labPageNavigation{width:min(100%,460px);gap:6px;}
#labConsoleFooter #labPageNavigation button{white-space:nowrap;padding-inline:4px!important;font-size:clamp(11px,3vw,14px)!important;}

#labConsoleFooter{max-width:none!important;}
#labConsoleFooter #labPageNavigation button{font-family:Poppins,Arial,sans-serif!important;}

/* Size the equal pills from their full labels, including enlarged phone text. */
#labConsoleFooter #labPageNavigation{width:max-content;max-width:100%;grid-template-columns:repeat(2,minmax(max-content,1fr));gap:12px;}
#labConsoleFooter #labPageNavigation button{min-width:max-content;padding-inline:8px!important;}

#labConsoleFooter #labPageNavigation{grid-template-columns:repeat(2,1fr);max-width:none;}
#labConsoleFooter #labPageNavigation button{font-family:Arial,sans-serif!important;}

@media(max-width:359px){#labConsoleFooter #labPageNavigation button{padding-inline:4px!important;}}

/* Demo opening screen: search first, existing paths remain available. */
.lab-opening-divider{color:#a57b25;font-weight:600;text-align:center;margin:24px 0 10px;}
.lab-search-first .lab-start-paths{margin:8px auto 20px;}
.lab-search-first #k2tAiForm{margin-top:12px;}
.lab-search-first #k2tAiPhotoPanel{display:none;}

.lab-search-first #k2tAiInput{min-height:72px;}

/* Pantry microphone presentation matches the index; pantry processing stays separate. */
#k2tPantryStep .k2t-pantry-inputbar{grid-template-columns:minmax(0,1fr) 68px;gap:12px;align-items:center}
body #k2tPantryEntry #k2tPantryMic{position:relative;display:inline-grid!important;place-items:center;width:64px;height:64px;min-height:64px;box-sizing:border-box;margin:0!important;padding:0!important;border:2px solid #b88a24!important;border-radius:50%!important;background:#fff!important;color:#94680c!important;box-shadow:0 3px 12px rgba(139,98,14,.16)!important;cursor:pointer;transition:transform .16s ease,background .16s ease,box-shadow .16s ease}
body #k2tPantryEntry #k2tPantryMic:hover{transform:scale(1.07);background:#fff8e5!important;box-shadow:0 4px 16px rgba(139,98,14,.24)!important}
body #k2tPantryEntry #k2tPantryMic:focus-visible{outline:3px solid #94680c!important;outline-offset:4px}
#k2tPantryStep #k2tPantryMic svg{grid-area:1/1;width:34px;height:34px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body #k2tPantryEntry #k2tPantryMic.is-listening{border:3px solid #fff!important;background:#e10600!important;color:#fff!important;box-shadow:0 0 0 4px #a80703,0 0 0 10px rgba(225,6,0,.2),0 9px 26px rgba(225,6,0,.46)!important;animation:k2t-pantry-mic-recording 1.15s ease-in-out infinite}
#k2tPantryStep #k2tPantryMic.is-listening .k2t-pantry-stop-icon{display:block;fill:#fff;stroke:none}
#k2tPantryStep #k2tPantryMic .k2t-pantry-processing-dot{display:none}
body #k2tPantryEntry #k2tPantryMic.is-processing{border:3px solid #fff!important;background:#f5b400!important;color:#2b2108!important;box-shadow:0 0 0 4px #a97900,0 9px 24px rgba(245,180,0,.42)!important;animation:none;opacity:1;cursor:wait}
#k2tPantryStep #k2tPantryMic.is-processing .k2t-pantry-mic-icon,#k2tPantryStep #k2tPantryMic.is-processing .k2t-pantry-stop-icon{display:none}
#k2tPantryStep #k2tPantryMic.is-processing .k2t-pantry-processing-dot{display:block;grid-area:1/1;width:22px;height:22px;box-sizing:content-box;border:4px solid rgba(43,33,8,.25);border-top-color:#2b2108;border-radius:50%;animation:k2t-pantry-mic-spin .7s linear infinite}
#k2tPantryMic:hover .k2t-mic-help,#k2tPantryMic:focus-visible .k2t-mic-help{visibility:visible;opacity:1}
#k2tPantryMic.is-listening .k2t-mic-help-idle,#k2tPantryMic.is-processing .k2t-mic-help-idle{display:none}
#k2tPantryMic.is-listening .k2t-mic-help-recording,#k2tPantryMic.is-processing .k2t-mic-help-processing{display:inline}
@keyframes k2t-pantry-mic-recording{50%{transform:scale(1.06);box-shadow:0 0 0 4px #a80703,0 0 0 16px rgba(225,6,0,.08),0 11px 30px rgba(225,6,0,.52)}}
@keyframes k2t-pantry-mic-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){body #k2tPantryEntry #k2tPantryMic.is-listening,#k2tPantryStep #k2tPantryMic .k2t-pantry-processing-dot{animation:none!important}}

#k2tPantryMic .k2t-mic-help{left:50%;right:auto;transform:translateX(-50%);}


/* Opening search starts directly with the request box, without an assistant heading. */
#k2tAiConsole.lab-search-first > .k2t-ai-statusline{display:none;}
