/* Guided shopping planner prototype — no API or personal data transfer */
.sb-agent{background:#F3F7EF;padding-block:clamp(44px,6vw,80px)}
.sb-agent .sb-agent-shell{max-width:880px;margin:0 auto;background:#fff;border:1px solid #C6DEC8;border-radius:24px;box-shadow:0 22px 60px -42px rgba(10,75,44,.32);overflow:hidden}
.sb-agent .sb-agent-head{padding:24px clamp(20px,4vw,40px);background:#0F6B3F;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:16px}
.sb-agent .sb-agent-head h2{color:#fff;margin:0;font-size:clamp(23px,3vw,32px)}
.sb-agent .sb-agent-head p{color:#E6F2E7;margin:6px 0 0;font-size:14px}
.sb-agent .sb-agent-body{padding:clamp(20px,4vw,40px)}
.sb-agent .sb-agent-progress{font-size:13px;font-weight:700;color:#0F6B3F;margin-bottom:14px}
.sb-agent .sb-agent-track{height:7px;background:#E4EEE2;border-radius:8px;overflow:hidden;margin-bottom:24px}
.sb-agent .sb-agent-fill{height:100%;background:#0F6B3F;width:0;transition:width .2s}
.sb-agent .sb-agent-question{font-size:clamp(20px,2.6vw,27px);line-height:1.3;color:#1F2937;margin:0 0 20px}
.sb-agent .sb-agent-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.sb-agent .sb-agent-option{background:#FFFDF9;color:#1F2937;border:1.5px solid #C6D9C7;border-radius:14px;padding:15px;text-align:left;font:inherit;cursor:pointer;min-height:56px}
.sb-agent .sb-agent-option:hover,.sb-agent .sb-agent-option:focus-visible{border-color:#0F6B3F;background:#F0F8EE}
.sb-agent .sb-agent-option[aria-pressed="true"]{border-color:#0F6B3F;background:#E2F2DD;box-shadow:inset 0 0 0 1px #0F6B3F;font-weight:700}
.sb-agent .sb-agent-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:24px}
.sb-agent .sb-agent-btn{background:#0F6B3F;color:white;border:0;border-radius:12px;padding:12px 20px;min-height:46px;font:inherit;font-weight:700;cursor:pointer}
.sb-agent .sb-agent-btn:disabled{opacity:.4;cursor:not-allowed}
.sb-agent .sb-agent-back{background:transparent;border:1px solid #B7D0BC;color:#0F6B3F}
.sb-agent .sb-agent-summary{background:#F4F8F1;border-radius:16px;padding:20px;margin:16px 0}
.sb-agent .sb-agent-summary dl{display:grid;grid-template-columns:minmax(130px,1fr) 2fr;gap:12px;margin:0}
.sb-agent .sb-agent-summary dt{font-weight:700;color:#305540}
.sb-agent .sb-agent-summary dd{margin:0;color:#1F2937}
.sb-agent .sb-agent-note{font-size:14px;color:#4C6255;line-height:1.6}
.sb-agent .sb-agent-live{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:600px){.sb-agent .sb-agent-options{grid-template-columns:1fr}.sb-agent .sb-agent-summary dl{grid-template-columns:1fr;gap:4px}.sb-agent .sb-agent-summary dd{margin-bottom:12px}.sb-agent .sb-agent-head{align-items:flex-start;flex-direction:column}}
@media(prefers-reduced-motion:reduce){.sb-agent .sb-agent-fill{transition:none}}

/* CSP-safe progress states */
.sb-agent .sb-agent-fill-0{width:0%}
.sb-agent .sb-agent-fill-1{width:16.67%}
.sb-agent .sb-agent-fill-2{width:33.33%}
.sb-agent .sb-agent-fill-3{width:50%}
.sb-agent .sb-agent-fill-4{width:66.67%}
.sb-agent .sb-agent-fill-5{width:83.33%}
.sb-agent .sb-agent-fill-6{width:100%}

/* Embedded existing demo: same shopping calculation, one unified journey */
.sb-agent #sb-agent-demo[hidden]{display:none!important}
.sb-agent .sb-agent-embedded{margin:18px auto 0;max-width:1100px;background:#fff;border:1px solid #C6DEC8;border-radius:24px;padding:clamp(16px,3vw,32px);box-shadow:0 22px 60px -42px rgba(10,75,44,.25)}
.sb-agent .sb-agent-embedded>.intro{margin-bottom:24px}
.sb-agent .sb-agent-embedded>.intro h2{font-size:clamp(23px,3vw,30px)}
.sb-agent .sb-agent-embedded>.intro .lead{font-size:16px;line-height:1.55}
.sb-agent .sb-agent-embedded .demo{max-width:100%;min-width:0}
.sb-agent .sb-agent-embedded .demo-col{min-width:0}
.sb-agent .sb-agent-embedded #sb-list{overflow-wrap:anywhere}
.sb-agent .sb-agent-shell{max-width:1100px}
@media(max-width:767px){.sb-agent .sb-agent-embedded{padding:16px;border-radius:18px}.sb-agent .sb-agent-embedded .demo{display:grid;grid-template-columns:minmax(0,1fr)}}

/* Conversation-first presentation inspired by reference; original SmartBasket palette */
.sb-agent{background:#F5F0E9}
.sb-agent .sb-agent-head{background:#FFFDF8;color:#1F2937;border-bottom:1px solid #E4DFD5}
.sb-agent .sb-agent-head h2{color:#173D2B}
.sb-agent .sb-agent-head p{color:#60756A}
.sb-agent .sb-agent-shell{border-color:#E3DDD3;box-shadow:0 16px 38px rgba(53,43,28,.08)}
.sb-agent .sb-agent-conversation{display:flex;flex-direction:column;gap:12px;margin-bottom:14px}
.sb-agent .sb-agent-user-bubble{align-self:flex-end;max-width:85%;background:#0F6B3F;color:#fff;padding:12px 18px;border-radius:18px 18px 5px 18px;font-size:16px;line-height:1.5}
.sb-agent .sb-agent-question{display:block;background:#EEECE7;border-radius:6px 20px 20px 20px;padding:18px 20px;margin:0 0 24px 32px;max-width:90%;font-size:clamp(17px,2.3vw,23px);font-weight:500}
.sb-agent .sb-agent-options{display:flex;flex-wrap:wrap;gap:12px}
.sb-agent .sb-agent-option{border-radius:999px;min-height:50px;padding:12px 19px;width:auto;background:#FFFEFB}
.sb-agent .sb-agent-actions{border-top:1px solid #EAE6DE;padding-top:20px}
.sb-agent .sb-agent-btn:not(.sb-agent-back){background:#0F6B3F;border-radius:14px}
.sb-agent .sb-agent-back{border:0;background:transparent}
.sb-agent .sb-agent-embedded .item.excluded{opacity:.56}
.sb-agent .sb-agent-embedded .item.excluded .names{text-decoration:line-through}
@media(max-width:600px){.sb-agent .sb-agent-options{display:flex;flex-wrap:wrap}.sb-agent .sb-agent-option{max-width:100%}.sb-agent .sb-agent-question{margin-left:14px;max-width:calc(100% - 14px)}}

/* Exact household size and seven-day multi-select */
.sb-agent .sb-agent-counter{display:flex;align-items:center;gap:14px;border:1px solid #DADDD5;border-radius:15px;padding:12px 16px;width:100%;background:#fff}
.sb-agent .sb-agent-counter strong{flex:1;color:#1F2937}
.sb-agent .sb-agent-counter output{font-weight:750;min-width:2ch;text-align:center;color:#1F2937;font-variant-numeric:tabular-nums}
.sb-agent .sb-agent-count-btn{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border:1px solid #C8D1C9;border-radius:50%;background:#FFFDF8;color:#173D2B;font:inherit;font-size:24px;cursor:pointer}
.sb-agent .sb-agent-count-btn:disabled{opacity:.3;cursor:not-allowed}
.sb-agent .sb-agent-options:has(.sb-agent-counter){display:flex;flex-direction:column}
.sb-agent .sb-agent-option[aria-pressed="true"]{background:#E1EEE8;border-color:#477F68}
@media(max-width:420px){.sb-agent .sb-agent-counter{gap:9px;padding:10px}.sb-agent .sb-agent-count-btn{width:40px;height:40px}}

/* Approved SmartBasket guided-planner visual system, scoped to wizard only. */
.sb-agent{background:#F5F0E9}
.sb-agent #sb-agent-wizard{max-width:760px;margin:0 auto}
.sb-agent #sb-agent-wizard .sb-agent-shell{max-width:760px;background:#FFFEFC;border:1px solid #E1DCD4;border-radius:25px;box-shadow:0 18px 44px rgba(48,41,32,.09);overflow:hidden}
.sb-agent #sb-agent-wizard .sb-agent-head{background:#FFFBF5;color:#173D2B;border-bottom:1px solid #E9E2D8;padding:19px clamp(20px,4vw,36px)}
.sb-agent #sb-agent-wizard .sb-agent-brand{display:flex;align-items:center;gap:11px}
.sb-agent #sb-agent-wizard .sb-agent-brand-icon{display:grid;place-items:center;font-size:29px;width:42px;height:42px;border-radius:13px;background:#FFF0DD}
.sb-agent #sb-agent-wizard .sb-agent-brand-title{font-size:clamp(23px,3vw,30px);font-weight:800;letter-spacing:-.8px;color:#0F6B3F}
.sb-agent #sb-agent-wizard .sb-agent-head-step{color:#698076;font-size:14px;font-weight:700;white-space:nowrap}
.sb-agent #sb-agent-wizard .sb-agent-body{padding:clamp(22px,4vw,38px)}
.sb-agent #sb-agent-wizard .sb-agent-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}
.sb-agent #sb-agent-wizard .sb-agent-eyebrow{font-size:12px;letter-spacing:.13em;font-weight:800;color:#6C8A7E}
.sb-agent #sb-agent-wizard .sb-agent-progress{font-size:13px;color:#8A8985;margin:0;white-space:nowrap}
.sb-agent #sb-agent-wizard .sb-agent-track{height:5px;background:#E9E5DD;border-radius:99px;margin-bottom:31px}
.sb-agent #sb-agent-wizard .sb-agent-fill{background:#0F6B3F;border-radius:99px;transition:width .25s}
.sb-agent #sb-agent-wizard .sb-agent-prompt{display:flex;gap:12px;align-items:flex-start;margin-bottom:27px}
.sb-agent #sb-agent-wizard .sb-agent-prompt[hidden]{display:none}
.sb-agent #sb-agent-wizard .sb-agent-avatar{width:42px;height:42px;flex:none;display:grid;place-items:center;background:#F7EFE1;border-radius:50%;font-size:23px;margin-top:5px}
.sb-agent #sb-agent-wizard .sb-agent-question{margin:0;max-width:none;flex:1;border-radius:9px 23px 23px 23px;background:#ECE9E3;color:#282B27;font-size:clamp(17px,2.2vw,22px);line-height:1.55;font-weight:500;padding:18px 22px}
.sb-agent #sb-agent-wizard .sb-agent-conversation{margin:0 0 15px;min-height:0}
.sb-agent #sb-agent-wizard .sb-agent-user-bubble{background:#5B8073;color:#fff;border-radius:19px 19px 6px 19px;font-size:16px;padding:12px 19px;max-width:90%}
.sb-agent #sb-agent-wizard .sb-agent-options{display:flex;flex-wrap:wrap;gap:11px}
.sb-agent #sb-agent-wizard .sb-agent-option{border-radius:999px;border:1px solid #D6D1C8;background:#FFFEFB;color:#272B28;padding:13px 20px;min-height:51px;font-size:16px;font-weight:600;box-shadow:none;transition:background .15s,border-color .15s}
.sb-agent #sb-agent-wizard .sb-agent-option[aria-pressed=true]{background:#E2EFEB;border-color:#628B7B;color:#173D2B;box-shadow:none}
.sb-agent #sb-agent-wizard .sb-agent-option[aria-pressed=true]::after{content:' ✓';color:#0F6B3F}
.sb-agent #sb-agent-wizard .sb-agent-counter{border:1px solid #DEDAD2;background:#fff;border-radius:15px;min-height:86px;padding:16px 19px;gap:14px}
.sb-agent #sb-agent-wizard .sb-agent-counter strong{font-size:17px}
.sb-agent #sb-agent-wizard .sb-agent-count-btn{width:48px;height:48px;border-color:#D8D5CE;background:#FCFAF6;font-size:24px}
.sb-agent #sb-agent-wizard .sb-agent-counter output{font-size:20px;min-width:2ch}
.sb-agent #sb-agent-wizard .sb-agent-field{display:flex;flex-direction:column;gap:9px;width:100%;margin-top:10px;font-weight:650;color:#29322B}
.sb-agent #sb-agent-wizard .sb-agent-input{width:100%;border:1px solid #DAD6CE;background:#fff;border-radius:13px;padding:15px 17px;font:inherit;color:#1F2937;min-height:53px;resize:vertical}
.sb-agent #sb-agent-wizard .sb-agent-input:focus-visible{outline:2px solid #0F6B3F;outline-offset:2px}
.sb-agent #sb-agent-wizard .sb-agent-actions{border-top:1px solid #E9E6E0;margin-top:32px;padding-top:22px}
.sb-agent #sb-agent-wizard .sb-agent-back{background:transparent;border:0;color:#656C66;font-size:16px;font-weight:600;padding:12px 0}
.sb-agent #sb-agent-wizard .sb-agent-back:disabled{visibility:hidden}
.sb-agent #sb-agent-wizard .sb-agent-next{display:grid;place-items:center;background:#C7774C!important;color:#fff;border:0;border-radius:14px!important;width:59px;height:56px;padding:0;font-size:30px;line-height:1;box-shadow:0 5px 12px rgba(152,82,46,.12)}
.sb-agent #sb-agent-wizard .sb-agent-next:disabled{opacity:.4}
.sb-agent #sb-agent-wizard .sb-agent-summary{background:#F8F6F0;border:1px solid #E8E3D8}
.sb-agent #sb-agent-wizard .sb-agent-summary h3{margin:0 0 18px;color:#173D2B}
.sb-agent #sb-agent-wizard .sb-agent-demo-link{display:inline-block;margin-top:12px;padding:15px 20px;border-radius:13px;background:#0F6B3F;color:#fff;font-weight:700;text-decoration:none}
.sb-agent #sb-agent-wizard .sb-agent-option:focus-visible,.sb-agent #sb-agent-wizard button:focus-visible{outline:3px solid #C7774C;outline-offset:3px}
@media(max-width:600px){.sb-agent #sb-agent-wizard .sb-agent-shell{border-radius:20px}.sb-agent #sb-agent-wizard .sb-agent-body{padding:22px 18px}.sb-agent #sb-agent-wizard .sb-agent-question{padding:16px;font-size:18px}.sb-agent #sb-agent-wizard .sb-agent-avatar{width:32px;height:32px;font-size:19px}.sb-agent #sb-agent-wizard .sb-agent-prompt{gap:8px}.sb-agent #sb-agent-wizard .sb-agent-option{font-size:15px;padding:12px 17px}.sb-agent #sb-agent-wizard .sb-agent-counter{padding:12px;gap:9px}}
@media(prefers-reduced-motion:reduce){.sb-agent #sb-agent-wizard .sb-agent-fill,.sb-agent #sb-agent-wizard .sb-agent-option{transition:none}}

/* Seven-step progress indicator (no inline styles required). */
.sb-agent #sb-agent-wizard .sb-agent-fill-1{width:14.2857%}
.sb-agent #sb-agent-wizard .sb-agent-fill-2{width:28.5714%}
.sb-agent #sb-agent-wizard .sb-agent-fill-3{width:42.8571%}
.sb-agent #sb-agent-wizard .sb-agent-fill-4{width:57.1429%}
.sb-agent #sb-agent-wizard .sb-agent-fill-5{width:71.4286%}
.sb-agent #sb-agent-wizard .sb-agent-fill-6{width:85.7143%}
.sb-agent #sb-agent-wizard .sb-agent-fill-7{width:100%}
