/* Photo → reviewed ingredients → meal and matching picture. */
body.bb-cook-studio-page{background:radial-gradient(ellipse at 90% 0,#f0e9d7 0,transparent 38%),#faf8f1!important;color:#183f30}
body.bb-cook-studio-page .shell{max-width:780px;padding-top:8px;padding-bottom:110px}
body.bb-cook-studio-page .bb17513-meal-topbar{background:transparent!important;border:0!important;box-shadow:none!important;margin:0 0 9px!important;padding:9px 4px!important;gap:8px!important}
body.bb-cook-studio-page .bb17513-meal-brand{width:auto!important;margin-right:auto}
body.bb-cook-studio-page .bb17513-meal-brand-copy strong{font-size:22px!important;color:#183f30!important}
body.bb-cook-studio-page .bb17513-meal-brand-copy small{display:none!important}
body.bb-cook-studio-page .bb17513-meal-mark{width:39px!important;height:39px!important;border:0!important;background:transparent!important}
body.bb-cook-studio-page .bb17513-meal-topbar .back{font-size:11px!important;min-height:38px!important;padding:8px 11px!important}
body.bb-photo-meal-page .bb-meal-dashboard,body.bb-photo-meal-page #bb82MealWorkspace,body.bb-photo-meal-page #bb74MealPeek{display:none!important}
body.bb-photo-meal-page #bb15AiPremiumHub{display:block!important;position:relative;isolation:isolate;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important}
body.bb-photo-meal-page #bb15AiPremiumHub *{box-sizing:border-box}
.bbpm-intro{position:relative;isolation:isolate;overflow:hidden;margin:16px 0 20px;padding:20px 21px 22px;border:1px solid #8d98644a;border-radius:26px;background:radial-gradient(ellipse at 95% 0,#54755055,transparent 65%),linear-gradient(130deg,#123c2d,#24563e);box-shadow:0 15px 36px #17392919;animation:bbpm-arrive .6s ease-out}
.bbpm-kicker{font-size:10px!important;letter-spacing:.16em;font-weight:800;color:#49644d!important;margin-bottom:12px!important}
#bb15AiPremiumHub .bbpm-intro h1{font-size:clamp(32px,7vw,46px)!important;line-height:1.1!important;letter-spacing:-1.3px!important;color:#fffdf2!important;margin:18px 0 12px!important;position:relative;z-index:1}
.bbpm-intro>p:not(.bbpm-kicker){max-width:450px;color:#e1e9d8!important;line-height:1.65!important;font-size:14px!important;margin:0!important;position:relative;z-index:1}
.bbpm-steps{display:flex;justify-content:space-between;gap:8px;list-style:none;padding:0;margin:0 0 23px;font-size:11px;font-weight:750;color:#536650}
.bbpm-steps li{display:flex;flex:1;align-items:center;justify-content:center;gap:6px;min-width:0;padding:9px 5px;border:1px solid #e2e5d7;border-radius:30px;background:#fffdf6;transition:background-color .2s,color .2s}.bbpm-steps span{display:grid;place-items:center;width:24px;height:24px;flex:none;background:#e9f0e2;border:1px solid #d6e1cd;border-radius:50%;color:#28563d}
body.bb-photo-meal-page #bbToolStage,body.bb-photo-meal-page #bbToolStage.bb-ai-native-visible{display:block!important;position:static!important;inset:auto!important;width:100%!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;overflow:visible!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;z-index:auto!important}
body.bb-photo-meal-page #bbToolStage>[hidden],body.bb-photo-meal-page #bbToolStage [hidden],body.bb-photo-meal-page #bbToolStage .bb-tool-close{display:none!important}
body.bb-photo-meal-page #bbToolStage>.ai-feature{background:#fff!important;border:1px solid #dce5d7!important;border-radius:22px!important;padding:clamp(18px,4vw,28px)!important;margin:0 0 18px!important;box-shadow:0 9px 30px #193d2810!important}
#bbToolStage .ai-feature-heading .feature-label{color:#68846b;font-size:10px;letter-spacing:.12em;font-weight:800}
body.bb-photo-meal-page #bbToolStage h2{font-size:25px!important;line-height:1.2!important;color:#194f39!important;margin:8px 0 10px!important}
body.bb-photo-meal-page #bbToolStage .ai-feature-heading p{color:#647669!important;font-size:14px!important;line-height:1.55!important}
body.bb-photo-meal-page #bbToolStage .scan-upload-label{position:relative;display:flex!important;flex-direction:column;justify-content:center;align-items:center;gap:7px;width:100%!important;min-height:194px!important;padding:18px!important;margin:22px 0 12px!important;border:1.5px dashed #a6b392!important;border-radius:20px!important;color:#255a3e!important;background:radial-gradient(circle at 50% 28%,#fffef7,#f0f4e8 85%)!important;font-size:17px!important;font-weight:800!important;cursor:pointer;touch-action:manipulation;transition:transform .2s,border-color .2s}
body.bb-photo-meal-page #ai-photo-input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;overflow:hidden!important}
body.bb-photo-meal-page #bbToolStage .scan-upload-label:focus-within{outline:3px solid #977125;outline-offset:3px}
body.bb-photo-meal-page #photoPreview.show{display:block!important;width:100%!important;max-height:260px!important;height:auto!important;object-fit:contain!important;background:#f4f6f0;border-radius:14px!important;margin:0 auto 14px!important}
body.bb-photo-meal-page #photoPreview:not(.show){display:none!important}
body.bb-photo-meal-page #bbToolStage .ai-primary-button{display:block;width:100%;min-height:54px!important;border:0!important;border-radius:13px!important;background:#236543!important;color:#fff!important;padding:14px 18px!important;font:800 16px/1.4 system-ui!important;cursor:pointer;touch-action:manipulation}
body.bb-photo-meal-page #bbToolStage button:disabled{opacity:.55;cursor:wait}
body.bb-photo-meal-page #bbToolStage button:focus-visible,body.bb-photo-meal-page #bbToolStage label[for]:focus-visible,body.bb-photo-meal-page #bbToolStage input:focus-visible{outline:3px solid #977125!important;outline-offset:3px}
body.bb-photo-meal-page #bbToolStage .disclosure,.bbpm-limits{color:#606b58!important;font-size:11px!important;line-height:1.6!important;margin:15px 2px 0!important}
.bbpm-limits{text-align:center;margin:19px 0!important}
.bb-photo-review{margin-top:24px;border-top:1px solid #e4eadf;padding-top:20px}.bb-photo-review h3{font-size:21px;margin:0 0 8px;color:#22533d}.bb-photo-review>p{font-size:13px;line-height:1.5;color:#687a6b}
.bb-photo-food-row{display:flex;gap:11px;align-items:center;margin:9px 0;background:#f7f9f2;border:1px solid #dfe6d7;border-radius:12px;padding:11px}
.bb-photo-food-row>input[type=checkbox]{width:22px;height:22px;accent-color:#236543;flex:none}.bb-photo-food-row>label{flex:1;min-width:0;font-size:10px;color:#66755f}
body.bb-photo-meal-page #bbToolStage .bb-photo-food-row input[type=text]{display:block;width:100%;min-height:40px;border:1px solid transparent;border-bottom-color:#d4dfcc;border-radius:5px;background:transparent;color:#254c37;font:700 16px system-ui;padding:7px 2px}
.bb-photo-review .ai-primary-button{margin-top:19px}.bb-photo-empty{padding:16px;background:#f5f7ee;border-radius:12px}
body.bb-photo-meal-page #aiMeal>#aiStatus{font-size:12px;color:#657b6b}
body.bb-photo-meal-page #aiSecurityBox{margin:0 0 16px!important;background:#f6f8f0!important;padding:15px!important;border-radius:14px!important}
@media(max-width:390px){.bbpm-steps{font-size:10px;gap:5px}.bbpm-steps span{width:21px;height:21px}.bbpm-steps li{gap:4px}}

/* BasketBoss signature details stay decorative and never intercept the camera gesture. */
.bbpm-intro>.bbpm-kicker{color:#f0d89d!important}.bbpm-brandline{font-family:system-ui,sans-serif;display:flex;align-items:center;justify-content:space-between;gap:10px;position:relative;z-index:1}.bbpm-brand{display:inline-flex;align-items:center;gap:8px;color:#f0d89d;font-size:9px;font-weight:800;letter-spacing:.14em}.bbpm-brand img{width:30px;height:30px;border-radius:9px;border:1px solid #cfb46a66;box-shadow:0 2px 10px #08251c24}.bbpm-premium{font-family:system-ui,sans-serif;padding:6px 9px;flex:none;border:1px solid #e8d2974d;border-radius:24px;color:#f3dda4;font-size:9px;letter-spacing:.015em;background:#fff4d90b}
#bb15AiPremiumHub .bbpm-intro h1 em{font:italic 500 1.08em/1.1 Georgia,'Times New Roman',serif;color:#f0d49a;letter-spacing:-1.3px}
.bbpm-intro:before{content:'';position:absolute;right:-102px;top:35px;width:230px;height:230px;border:1px solid #e2ce8e1c;border-radius:50%;box-shadow:0 0 0 28px #e2ce8e07,0 0 0 60px #e2ce8e05;pointer-events:none}
.bbpm-hero-spark{position:absolute;right:26px;bottom:28px;color:#f0d49a;font-size:36px;opacity:.5;pointer-events:none;animation:bbpm-spark 2.8s ease-in-out 1}
.bbpm-steps li[data-state=current]{border-color:#315d3f;background:#214f37;color:#fffdf1;box-shadow:0 3px 8px #173d2620}.bbpm-steps li[data-state=current] span{background:#e5cd94;border-color:#e5cd94;color:#244431}.bbpm-steps li[data-state=done]{background:#edf2e4;border-color:#cfdbc3;color:#315c3f}
body.bb-photo-meal-page #bbToolStage .scan-upload-label strong{font:800 17px/1.4 system-ui;letter-spacing:-.2px}.scan-upload-label small{font:500 12px/1.5 system-ui;color:#5c715c}.scan-upload-label small span{margin-left:4px;color:#8b7136}.bbpm-camera-art{position:relative;display:grid;place-items:center;width:106px;height:94px;margin:0 0 7px;pointer-events:none}
.bbpm-camera-art:before{content:'';position:absolute;width:88px;height:88px;border-radius:50%;background:#e6edda;border:1px solid #d6dfc7}.bbpm-camera-art svg{position:relative;z-index:1;width:88px;height:77px;fill:none;stroke:#315e40;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.bbpm-camera-crown{fill:#dfc07a;stroke:#a08039;transform-box:fill-box;transform-origin:center bottom;animation:bbpm-crown-settle 1.9s ease-out 1}.bbpm-scan-line{position:absolute;z-index:2;top:20px;left:15px;width:76px;height:1px;background:#c49a48;opacity:0;pointer-events:none;box-shadow:0 1px 5px #ba914c66}
body.bb-photo-meal-page #bbToolStage .scan-upload-label:hover{border-color:#82995d!important;transform:translateY(-2px)}body.bb-photo-meal-page #bbToolStage .scan-upload-label:active{transform:translateY(0)}
body.bb-photo-meal-page #aiScanner:has(#ai-photo-input:focus-visible) .scan-upload-label{outline:3px solid #977125!important;outline-offset:4px}
body.bb-photo-meal-page #aiScanner:has(#photoPreview.show) .scan-upload-label{flex-direction:row;min-height:68px!important;padding:12px!important;gap:10px}.bb-photo-meal-page #aiScanner:has(#photoPreview.show) .bbpm-camera-art{width:42px;height:37px;margin:0;flex:none}.bb-photo-meal-page #aiScanner:has(#photoPreview.show) .bbpm-camera-art:before{width:38px;height:38px}.bb-photo-meal-page #aiScanner:has(#photoPreview.show) .bbpm-camera-art svg{width:39px;height:34px}.bb-photo-meal-page #aiScanner:has(#photoPreview.show) .scan-upload-label small{display:none}
#bb15AiPremiumHub[data-phase=scanning] .bbpm-scan-line{animation:bbpm-scan 1.6s ease-in-out infinite}#bb15AiPremiumHub[data-phase=scanning] .scan-upload-label{border-color:#aa8b46!important}#bb15AiPremiumHub[data-phase=scanning] #photoPreview{opacity:.8}
.bb-photo-food-row{animation:bbpm-row-arrive .3s ease-out both;transition:background-color .2s,border-color .2s}.bb-photo-food-row:nth-of-type(2){animation-delay:35ms}.bb-photo-food-row:nth-of-type(3){animation-delay:70ms}.bb-photo-food-row:nth-of-type(4){animation-delay:105ms}.bb-photo-food-row:nth-of-type(5){animation-delay:140ms}.bb-photo-food-row:has(input:checked){background:#eff5e8;border-color:#cfdcc1}
body.bb-photo-meal-page #generated>.notice{position:relative;min-height:145px;padding:76px 20px 25px;text-align:center;overflow:hidden;background:#f0f4e8;border:1px solid #d8e1ca;border-radius:18px;color:#335c40}
body.bb-photo-meal-page #generated>.notice:before{content:'';position:absolute;top:18px;left:calc(50% - 24px);width:48px;height:48px;background:url('icons/basketboss-crowned-v1766-192.png') center/contain no-repeat;border-radius:13px;animation:bbpm-basket-stir 1.6s ease-in-out infinite}
body.bb-photo-meal-page #generated>.notice:after{content:'';position:absolute;bottom:0;left:-40%;height:3px;width:40%;background:linear-gradient(90deg,transparent,#bb9550,transparent);animation:bbpm-loading 1.9s ease-in-out infinite}
body.bb-photo-meal-page .bb-cook-result{animation:bbpm-arrive .45s ease-out;box-shadow:0 12px 30px #264a3210}body.bb-photo-meal-page .bbmi-photo{animation:bbpm-image-reveal .55s ease-out}
#bb15AiPremiumHub[data-paused=true] *,#bb15AiPremiumHub[data-paused=true] *:before,#bb15AiPremiumHub[data-paused=true] *:after{animation-play-state:paused!important}
@keyframes bbpm-arrive{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@keyframes bbpm-row-arrive{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@keyframes bbpm-image-reveal{from{opacity:0;transform:scale(1.025)}to{opacity:1;transform:scale(1)}}
@keyframes bbpm-crown-settle{0%{transform:translateY(-6px) rotate(-9deg);opacity:0}55%{transform:translateY(1px) rotate(3deg);opacity:1}100%{transform:translateY(0) rotate(0);opacity:1}}
@keyframes bbpm-spark{0%,100%{opacity:.5;transform:scale(1)}45%{opacity:.9;transform:scale(1.15) rotate(12deg)}}
@keyframes bbpm-scan{0%,100%{opacity:0;transform:translateY(0)}20%{opacity:.8}80%{opacity:.8;transform:translateY(var(--bbpm-scan-distance,43px))}}
@keyframes bbpm-basket-stir{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-4px) rotate(3deg)}}
@keyframes bbpm-loading{to{transform:translateX(350%)}}
@media(max-width:390px){.bbpm-intro{padding:19px 18px 21px}.bbpm-brand{font-size:8px;letter-spacing:.1em}.bbpm-premium{font-size:8px;padding:6px 7px}.bbpm-brand img{width:27px;height:27px}.bbpm-steps{gap:6px}.bbpm-steps li{font-size:10px;padding:8px 4px}}
@media(prefers-reduced-motion:reduce){body.bb-photo-meal-page #bb15AiPremiumHub *,body.bb-photo-meal-page #bb15AiPremiumHub *:before,body.bb-photo-meal-page #bb15AiPremiumHub *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.bbpm-scan-line{opacity:0!important}body.bb-photo-meal-page #bbToolStage .scan-upload-label:hover{transform:none}}

.bb-photo-meal-page #aiScanner:has(#photoPreview.show) .bbpm-scan-line{top:6px;left:4px;width:34px;--bbpm-scan-distance:20px}
