.bs-assistant{--bs-a-ink:#10232d;--bs-a-lime:#d9ef70;--bs-a-muted:#657278;font-family:Inter,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--bs-a-ink);font-size:14px;line-height:1.6}
.bs-assistant *{box-sizing:border-box}
.bs-assistant [hidden]{display:none!important}
.bs-assistant button,.bs-assistant textarea{font:inherit}
.bs-assistant button{cursor:pointer}
.bs-assistant button:disabled{cursor:wait;opacity:.55}
.bs-assistant button:focus-visible,.bs-assistant a:focus-visible,.bs-assistant textarea:focus-visible{outline:3px solid #799621;outline-offset:3px}
.bs-assistant-launch{position:fixed;z-index:1000;right:24px;bottom:24px;display:flex;align-items:center;gap:10px;min-height:50px;border:1px solid #31454e;border-radius:28px;background:var(--bs-a-ink);color:#fff;padding:12px 19px;box-shadow:0 7px 24px #10232d24;font-weight:650;letter-spacing:.02em}
.bs-assistant-launch::before{content:"";width:9px;height:9px;border:2px solid var(--bs-a-lime);border-radius:50%;display:block}
.bs-assistant-launch:hover{background:#203a45}
.bs-assistant-dialog{position:fixed;inset:auto 24px 24px auto;margin:0;width:410px;max-width:calc(100vw - 32px);height:min(690px,calc(100dvh - 48px));max-height:calc(100dvh - 48px);padding:0;border:1px solid #dce3e5;border-radius:20px;background:#fff;color:var(--bs-a-ink);box-shadow:0 18px 70px #10232d35;overflow:hidden;font:inherit}
.bs-assistant-dialog[open]{display:flex;flex-direction:column}
.bs-assistant-dialog::backdrop{background:#10232d2b}
.bs-assistant-header{display:flex;align-items:center;justify-content:space-between;gap:16px;background:var(--bs-a-ink);color:#fff;padding:18px 20px;flex:none}
.bs-assistant-header h2{font-size:21px;line-height:1.4;margin:3px 0 0;font-weight:650;color:#fff}
.bs-assistant-eyebrow{font-size:10px;letter-spacing:.16em;color:var(--bs-a-lime)}
.bs-assistant-close{display:grid;place-items:center;width:42px;height:42px;border:1px solid #ffffff3d;border-radius:50%;background:transparent;color:#fff;font-size:25px;line-height:1;padding:0}
.bs-assistant-close:hover{background:#ffffff16}
.bs-assistant-intro{font-size:12px;line-height:1.7;margin:0;padding:12px 20px;color:var(--bs-a-muted);border-bottom:1px solid #edf0f1;flex:none}
.bs-assistant-messages{min-height:80px;overflow-y:auto;overscroll-behavior:contain;flex:1;padding:16px 18px;background:#f7f9f8}
.bs-assistant-welcome>p{font-size:12px;color:var(--bs-a-muted);margin:0 0 10px}
.bs-assistant-prompts{display:flex;flex-wrap:wrap;gap:7px}
.bs-assistant-prompts button{border:1px solid #dce5e3;border-radius:12px;padding:8px 10px;background:#fff;color:var(--bs-a-ink);font-size:12px;text-align:left}
.bs-assistant-prompts button:hover{background:#edf3e2;border-color:#bdcb94}
.bs-assistant-message{margin-top:16px;padding:12px 14px;border-radius:14px;background:#fff;border:1px solid #e3e9e6;overflow-wrap:anywhere}
.bs-assistant-message-user{margin-left:30px;background:#edf3e2;border-color:#dbe6c9}
.bs-assistant-message-label{display:block;font-size:10px;color:#657278;font-weight:600;letter-spacing:.04em;margin-bottom:5px}
.bs-assistant-message p{margin:0;font-size:13px;white-space:pre-wrap;line-height:1.75}
.bs-assistant-stock-cards{display:grid;gap:8px;margin-top:12px}
.bs-assistant-stock-summary{margin-top:14px;padding-top:12px;border-top:1px solid #e3e9e6}
.bs-assistant-stock-summary h3{margin:0;font-size:14px;line-height:1.6;color:#203b46;font-weight:650}
.bs-assistant-message .bs-assistant-summary-counts{margin-top:3px;font-size:11px;color:#657278}
.bs-assistant-summary-cards{display:grid;gap:9px;margin-top:10px}
.bs-assistant-summary-card{padding:12px;border:1px solid #cad9c4;border-radius:11px;background:#f2f7ec}
.bs-assistant-summary-title{display:block;font-size:13px;color:#203b46}
.bs-assistant-message .bs-assistant-summary-spec{margin-top:3px;font-size:13px;color:#203b46}
.bs-assistant-message .bs-assistant-summary-amount{margin-top:8px;font-size:15px;font-weight:650;color:#274426}
.bs-assistant-message .bs-assistant-summary-batches{margin-top:5px;font-size:11px;color:#657278}
.bs-assistant-stock-card{padding:11px 12px;border:1px solid #dbe3e0;border-radius:10px;background:#fbfcf9}
.bs-assistant-stock-card strong{font-size:13px;color:#203b46;display:block}
.bs-assistant-message .bs-assistant-spec{font-size:12px;margin-top:3px}
.bs-assistant-message .bs-assistant-stock-meta{font-size:11px;line-height:1.6;color:#657278;margin-top:3px}
.bs-assistant-message .bs-assistant-stock-amount{margin-top:8px;font-size:13px;font-weight:650;color:#274426}
.bs-assistant-stock-link{display:inline-block;margin-top:8px;color:#2e5340;text-decoration:none;font-size:12px;font-weight:600}
.bs-assistant-stock-link:hover{text-decoration:underline}
.bs-assistant-message .bs-assistant-inventory-note{font-size:12px;background:#edf3e2;border-radius:8px;padding:8px 10px;margin-top:10px;color:#35532c}
.bs-assistant-message .bs-assistant-asof,.bs-assistant-message .bs-assistant-source-label{font-size:10px;color:#7b8589;margin-top:10px}
.bs-assistant-sources{display:flex;flex-wrap:wrap;gap:5px 12px;margin-top:4px}
.bs-assistant-sources a{color:#4c6650;text-decoration:underline;font-size:11px}
.bs-assistant-status{margin:0;padding:8px 18px 0;min-height:22px;line-height:1.6;color:#617166;font-size:11px;flex:none}
.bs-assistant-retry{align-self:flex-start;margin:6px 18px 0;padding:6px 12px;border:1px solid #becaab;border-radius:8px;background:#edf3e2;color:#35532c;font-size:12px;flex:none}
.bs-assistant-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:10px 18px;flex:none}
.bs-assistant-media-tools{display:flex;flex-wrap:wrap;gap:6px;padding:7px 18px 0;flex:none}
.bs-assistant-media-tools button{min-height:36px;padding:6px 10px;border:1px solid #ccd8cf;border-radius:9px;color:#35532c;background:#f3f7ed;font-size:12px;white-space:nowrap}
.bs-assistant-media-tools .bs-assistant-media-cancel{margin-left:auto;background:#fff;color:#657278}
.bs-assistant-review{margin-top:14px;border:1px solid #cad9c4;border-radius:14px;padding:12px;background:#fff;overflow-wrap:anywhere}
.bs-assistant-review h3{margin:0;font-size:15px;color:#203b46}
.bs-assistant-review-note,.bs-assistant-review-warning{margin:6px 0 10px;font-size:12px;line-height:1.65;color:#657278;white-space:pre-wrap}
.bs-assistant-review-warning{padding:8px;border-radius:8px;background:#fff7d9;color:#755d1b}
.bs-assistant-preview{display:block;max-width:100%;max-height:150px;margin:10px auto;object-fit:contain;border:1px solid #e3e9e6;border-radius:8px}
.bs-assistant-review-rows{display:grid;gap:10px}
.bs-assistant-review-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 6px}
.bs-assistant-review-row label{grid-column:1/-1;font-size:11px;color:#657278}
#bs-assistant-dialog .bs-assistant-review-input{width:100%;resize:vertical;min-height:64px;padding:7px 8px;border:1px solid #d6dfda;border-radius:8px;font-size:16px;line-height:1.5;color:#10232d;background:#fff}
.bs-assistant-review-row button,.bs-assistant-review-actions button{min-height:36px;padding:6px 9px;border:1px solid #ccd8cf;border-radius:8px;background:#f3f7ed;color:#35532c;font-size:12px}
.bs-assistant-review-remove{align-self:center}
.bs-assistant-review-actions{position:sticky;bottom:0;z-index:1;display:flex;justify-content:space-between;gap:8px;margin-top:12px;flex-wrap:wrap;padding:10px 0 2px;background:#fff;border-top:1px solid #e3e9e6}
.bs-assistant-review-actions .bs-assistant-review-confirm{background:#10232d;border-color:#10232d;color:#fff;font-weight:600}
.bs-assistant-input-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.bs-assistant-input{display:block;width:100%;min-height:68px;max-height:120px;resize:vertical;padding:10px 12px;border:1px solid #d6dfda;border-radius:10px;background:#fff;color:var(--bs-a-ink);font-size:13px;line-height:1.6}
.bs-assistant-input::placeholder{color:#87928e}
.bs-assistant-send{align-self:end;min-height:44px;border:1px solid #31454e;background:var(--bs-a-ink);color:#fff;border-radius:10px;padding:10px 14px;font-size:12px;font-weight:600}
.bs-assistant-footer{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;padding:0 18px 12px;flex:none;font-size:10px;color:#87928e}
.bs-assistant-footer a{color:#526c4a;font-size:11px;text-decoration:none}
@media(max-width:640px){.bs-assistant-launch{right:14px;bottom:calc(78px + env(safe-area-inset-bottom));min-height:46px;padding:10px 15px;font-size:13px}.bs-assistant-dialog{inset:auto 8px calc(8px + env(safe-area-inset-bottom)) auto;width:calc(100vw - 16px);max-width:calc(100vw - 16px);height:min(660px,calc(100dvh - 16px - env(safe-area-inset-bottom)));max-height:calc(100dvh - 16px - env(safe-area-inset-bottom));border-radius:16px}.bs-assistant-header{padding:14px 16px}.bs-assistant-intro{padding:10px 16px}.bs-assistant-messages{padding:12px}.bs-assistant-form{padding:9px 12px}.bs-assistant-status{padding-left:12px;padding-right:12px}.bs-assistant-footer{padding-left:12px;padding-right:12px}.bs-assistant-message{padding:10px 11px}.bs-assistant-message-user{margin-left:24px}}
@media(prefers-reduced-motion:reduce){.bs-assistant *{scroll-behavior:auto!important}}

/* Keep the shared widget within the visible screen even when its host page is
   wider than the screen, Safari magnifies an input, or the keyboard is open. */
#bs-site-assistant,#bs-site-assistant *{box-sizing:border-box;min-width:0}
#bs-site-assistant{-webkit-text-size-adjust:100%;text-size-adjust:100%}
#bs-site-assistant .bs-assistant-launch{right:auto;bottom:auto;top:40%;left:calc(100vw - 30px);width:30px;min-width:30px;height:126px;min-height:126px;padding:10px 5px;display:flex;justify-content:center;gap:7px;writing-mode:vertical-rl;text-orientation:upright;border-radius:13px 0 0 13px;font-size:12px;line-height:1.2;letter-spacing:.05em;box-shadow:0 4px 16px #10232d24;transform:none}
#bs-site-assistant .bs-assistant-launch::before{width:7px;height:7px;flex:none}
#bs-assistant-dialog{--bs-a-dialog-width:min(410px,calc(var(--bs-a-vp-width,100vw) - 32px));--bs-a-dialog-height:min(690px,calc(var(--bs-a-vp-height,100dvh) - 48px - env(safe-area-inset-bottom)));inset:auto;left:calc(var(--bs-a-vp-left,0px) + var(--bs-a-vp-width,100vw) - var(--bs-a-dialog-width) - 24px);top:calc(var(--bs-a-vp-top,0px) + var(--bs-a-vp-height,100dvh) - var(--bs-a-dialog-height) - 24px - env(safe-area-inset-bottom));width:var(--bs-a-dialog-width);max-width:var(--bs-a-dialog-width);height:var(--bs-a-dialog-height);max-height:var(--bs-a-dialog-height);min-width:0;min-height:0;margin:0;padding:0;transform:none}
#bs-assistant-dialog .bs-assistant-header>div{min-width:0;overflow-wrap:anywhere}
#bs-assistant-dialog .bs-assistant-close{flex:0 0 42px}
#bs-assistant-dialog .bs-assistant-messages{min-height:0;overflow-x:hidden}
#bs-assistant-dialog .bs-assistant-input{font-size:16px;line-height:1.5;min-width:0;resize:none}
#bs-assistant-dialog .bs-assistant-send{flex:none;white-space:nowrap}
#bs-assistant-dialog .bs-assistant-form{min-width:0;grid-template-columns:minmax(0,1fr) auto}
#bs-assistant-dialog .bs-assistant-footer{overflow-wrap:anywhere}
#bs-assistant-dialog .bs-assistant-more-stock{margin-top:10px;font-size:12px;color:#35532c}
#bs-assistant-dialog .bs-assistant-more-stock summary{cursor:pointer;padding:8px 0;font-weight:600}
#bs-assistant-dialog .bs-assistant-more-stock summary:focus-visible{outline:3px solid #799621;outline-offset:3px}
#bs-assistant-dialog .bs-assistant-batches{margin-top:12px;font-size:12px;color:#35532c}
#bs-assistant-dialog .bs-assistant-batches>summary{cursor:pointer;padding:9px 0;font-weight:600}
#bs-assistant-dialog .bs-assistant-batches>summary:focus-visible{outline:3px solid #799621;outline-offset:3px}
#bs-assistant-dialog .bs-assistant-more-summary{margin-top:8px;font-size:12px;color:#35532c}
#bs-assistant-dialog .bs-assistant-more-summary>summary{cursor:pointer;padding:9px 0;font-weight:600}
#bs-assistant-dialog .bs-assistant-more-summary>summary:focus-visible{outline:3px solid #799621;outline-offset:3px}
#bs-assistant-dialog[data-compact="true"] .bs-assistant-intro{display:none}
#bs-assistant-dialog[data-compact="true"] .bs-assistant-header{padding:8px 12px}
#bs-assistant-dialog[data-compact="true"] .bs-assistant-header h2{font-size:18px}
#bs-assistant-dialog[data-compact="true"] .bs-assistant-form{padding:6px 12px}
#bs-assistant-dialog[data-compact="true"] .bs-assistant-media-tools{padding:4px 12px 0;gap:4px}
#bs-assistant-dialog[data-compact="true"] .bs-assistant-media-tools button{min-height:30px;padding:4px 7px;font-size:11px}
#bs-assistant-dialog[data-compact="true"] .bs-assistant-input{min-height:58px;max-height:70px;padding:6px 8px}
#bs-assistant-dialog[data-compact="true"] .bs-assistant-footer{padding-bottom:7px}
@media(max-width:640px){#bs-assistant-dialog{--bs-a-dialog-width:calc(var(--bs-a-vp-width,100vw) - 16px - env(safe-area-inset-left) - env(safe-area-inset-right));--bs-a-dialog-height:min(660px,calc(var(--bs-a-vp-height,100dvh) - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom)));left:calc(var(--bs-a-vp-left,0px) + 8px + env(safe-area-inset-left));top:calc(var(--bs-a-vp-top,0px) + var(--bs-a-vp-height,100dvh) - var(--bs-a-dialog-height) - 8px - env(safe-area-inset-bottom));border-radius:16px}#bs-assistant-dialog .bs-assistant-header{gap:10px}#bs-assistant-dialog .bs-assistant-intro{font-size:12px}#bs-assistant-dialog .bs-assistant-form{gap:6px}#bs-assistant-dialog .bs-assistant-send{padding:10px 12px}}
