:root{color-scheme:light;--ink:#202631;--muted:#818996;--line:#e9ecf1;--accent:#416be4}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;color:var(--ink);background:#fff;font:14px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif}button,textarea{font:inherit}button{cursor:pointer;border:0}button:disabled{cursor:default;opacity:.4}button:focus-visible,a:focus-visible,summary:focus-visible,textarea:focus-visible{outline:3px solid #b7cbff;outline-offset:3px}a{color:var(--accent);text-decoration:none}svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.app-header{height:72px;padding:0 30px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:11px;color:var(--ink)}.brand img{border-radius:10px;object-fit:contain}.brand strong{font-size:20px;letter-spacing:1px}.brand>span{margin-left:12px;padding-left:22px;border-left:1px solid #e2e6ed;color:var(--muted);font-size:12px;letter-spacing:1px}.header-end{display:flex;align-items:center;gap:12px}.demo-badge{background:#f2f5fa;color:#6b778a;border:1px solid #e8edf5;font-size:11px;border-radius:6px;padding:4px 9px}.workspace{display:grid;grid-template-columns:340px minmax(0,1fr);height:calc(100vh - 72px);height:calc(100dvh - 72px);min-height:440px}.merchant-panel{background:#f8f9fb;border-right:1px solid var(--line);display:flex;flex-direction:column;min-width:0;min-height:0;padding:28px 22px 14px}.side-heading{display:flex;align-items:center;justify-content:space-between}.eyebrow{font-size:11px;letter-spacing:2px;color:#9199a7}.side-heading h2{font-size:20px;letter-spacing:.5px;margin:3px 0 0;font-weight:650}.side-description{color:var(--muted);font-size:12px;margin:8px 0 22px}.location-line{display:flex;align-items:center;gap:8px;color:#5e6d83;font-size:12px;padding:12px;background:#fff;border:1px solid var(--line);border-radius:10px;margin-bottom:24px}.location-line svg{width:17px;height:17px;color:#7e8faa}.side-scroll{flex:1;min-height:0;overflow:auto;scrollbar-width:thin}.section-label{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#8b93a0;margin:0 2px 16px}.section-label>span:first-child{color:#596576;font-weight:600}.empty-state{text-align:center;padding:52px 4px}.empty-symbol{display:grid;place-items:center;width:56px;height:56px;border-radius:18px;background:#edf0f6;color:#aab5c7;font-size:26px;margin:0 auto 18px}.empty-state h3{font-size:13px;color:#718098;font-weight:500;margin:0 0 8px}.empty-state p{font-size:12px;line-height:1.9;color:#9ba3af;margin:0}.side-footnote{text-align:center;color:#939caa;font-size:10px;margin:15px 0 0}
#candidates>h3{font-size:12px;color:#69788f;margin:24px 2px 9px;font-weight:500}#candidates>h3:first-child{margin-top:0}.card{border:1px solid #e6eaf0;background:#fff;border-radius:12px;padding:14px;margin:0 0 10px}.card.selected{border-color:#acc0f4;box-shadow:0 0 0 1px #dce6ff}.card-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.card-index{display:grid;place-items:center;width:23px;height:23px;border-radius:6px;background:#f1f4f9;color:#8c98ac;font-size:11px}.card.selected .card-index{background:#e9efff;color:#416be4}.selected-label{font-size:10px;color:var(--accent)}.card strong{display:block;font-size:13px;line-height:1.7;margin:9px 0 2px;font-weight:600}.card .store-name{color:#8992a0;font-size:11px;margin:0 0 10px}.card .price-line{display:flex;align-items:baseline;justify-content:space-between;margin:0}.card .price{font-size:17px;font-weight:650}.card .delivery{font-size:11px;color:#8992a0}.card .distance{font-size:11px;color:#8390a4;margin:5px 0 0}.card .options{font-size:10px;margin:10px 0 0;padding-top:8px;border-top:1px solid #f1f3f7;color:#527e70}.card .options.unverified{color:#ae8357}.summary-card{margin-top:12px;padding:16px;background:#fff;border:1px solid #dae3f5;border-radius:12px}.summary-line{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:#8490a3;margin:0 0 7px}.summary-total{display:flex;justify-content:space-between;align-items:baseline;border-top:1px solid var(--line);padding-top:10px;font-size:12px}.summary-total strong{font-size:24px;letter-spacing:-.5px}.summary-eta{font-size:10px;color:#7d8ca2;margin:6px 0 0}
.chat-panel{display:flex;flex-direction:column;min-width:0;min-height:0;background:#fff}.chat-heading{height:70px;flex:0 0 70px;display:flex;align-items:center;justify-content:space-between;padding:0 38px}.chat-heading h1{font-size:14px;font-weight:600;margin:0}.chat-heading h1 span{font-size:11px;font-weight:400;color:#9aa3b1;margin-left:12px}.stage{font-size:11px;color:#8a95a5}.messages{flex:1;min-height:0;overflow:auto;padding:10px max(30px,calc((100% - 750px)/2));overscroll-behavior:contain;scrollbar-width:thin}.welcome{text-align:center;margin:clamp(12px,6vh,72px) auto 20px;padding:15px 0}.welcome img{border-radius:19px;box-shadow:0 9px 30px #dce4f155}.welcome-kicker{font-size:12px;letter-spacing:2px;color:#8e9bb0;margin:22px 0 7px}.welcome h2{font-size:clamp(25px,2.8vw,36px);letter-spacing:1px;line-height:1.5;margin:0 0 17px;font-weight:650}.welcome>p:not(.welcome-kicker){font-size:14px;line-height:1.95;color:#8a94a3;margin:0}.welcome-note{display:inline-block;font-size:11px;color:#a2aab7;margin-top:25px}.message{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.85;max-width:90%;padding:10px 2px;margin:14px 0 24px}.message:not(.user)::before{content:'比斯乐';display:block;font-size:10px;font-weight:600;letter-spacing:1px;color:#8190a8;margin-bottom:8px}.message.user{max-width:82%;width:fit-content;background:#eff3fb;border-radius:16px 4px 16px 16px;padding:12px 17px;margin-left:auto;color:#3e5379}.message button{display:inline-flex;margin-top:12px;background:var(--accent);color:#fff;border-radius:9px;padding:9px 15px;font-size:12px}.composer-wrap{width:min(100%,810px);align-self:center;padding:12px 30px 18px;flex-shrink:0}.demo-menu{display:flex;align-items:center;gap:12px;margin:0 2px 12px}.suggestion-label{font-size:10px;white-space:nowrap;color:#9ba4b2}.chips{display:flex;align-items:center;gap:7px;overflow-x:auto;scrollbar-width:none;min-width:0;padding:2px 0}.chips::-webkit-scrollbar{display:none}.chips button{flex:0 0 auto;white-space:nowrap;border:1px solid #e9edf4;background:#fff;color:#6b7a90;border-radius:8px;font-size:11px;padding:7px 10px}.chips button:hover:not(:disabled){border-color:#bacbf1;background:#f5f8ff}.chips button>span{font-size:9px;color:#a3aec0;margin-right:5px;font-variant-numeric:tabular-nums}.composer{border:1px solid #e0e6f1;border-radius:20px;background:#fff;padding:11px 12px 7px;box-shadow:0 4px 20px #263f6c08}.input-row{display:flex;align-items:center;gap:10px}.mode-button{width:43px;height:46px;flex:0 0 43px;display:grid;place-items:center;color:#718198;background:#f4f6fa;border-radius:12px}.hold-to-talk{flex:1;min-width:0;display:flex;align-items:center;justify-content:center;gap:11px;min-height:52px;background:#edf2ff;color:#4267c6;border-radius:12px;touch-action:none;user-select:none;-webkit-user-select:none;font-size:14px;font-weight:600}.hold-to-talk small{font-size:10px;color:#91a5d1;font-weight:400;margin-left:1px}.hold-to-talk.listening{background:#416be4;color:#fff}.hold-to-talk.listening small{display:none}.voice-bars{display:flex;align-items:center;gap:3px;height:20px}.voice-bars i{display:block;width:2px;background:currentColor;border-radius:2px;height:8px}.voice-bars i:nth-child(2),.voice-bars i:nth-child(4){height:14px}.voice-bars i:nth-child(3){height:20px}.listening .voice-bars i{animation:voice-pulse .7s ease-in-out infinite alternate}.listening .voice-bars i:nth-child(2n){animation-delay:.3s}@keyframes voice-pulse{to{transform:scaleY(.45)}}.input-row textarea{min-width:0;flex:1;border:0;background:transparent;resize:none;height:52px;max-height:120px;padding:14px 4px;font-size:14px;color:var(--ink)}textarea::placeholder{color:#a1aaba}.send-button{flex-shrink:0;background:var(--accent);color:#fff;font-size:12px;border-radius:11px;padding:11px 14px}.voice-status{margin:7px 3px 0;min-height:16px;font-size:10px;color:#9aa4b3;line-height:1.6}.demo-notice{text-align:center;margin-top:12px;color:#a4acb9;font-size:10px}.demo-notice summary{cursor:pointer;list-style:none}.demo-notice summary::after{content:' ⌄';margin-left:4px}.demo-notice p{margin:6px 0 0;line-height:1.8}.reply-status{display:flex;align-items:center;gap:8px;margin:0 2px 12px;font-size:11px;color:#8392ac}.thinking-dot{width:6px;height:6px;border-radius:50%;background:#7d9ceb;animation:voice-pulse .8s ease-in-out infinite alternate}.outline-button{background:white;border:1px solid #e1e7f0;color:#657792;padding:7px 10px;border-radius:8px;font-size:11px}.icon-button{background:#eff2f7;color:#69778d;border-radius:8px;font-size:23px;width:34px;height:34px;line-height:1}#open-merchants,#close-merchants{display:none}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
 dialog{width:min(680px,95vw);height:min(820px,92dvh);padding:0;border:1px solid var(--line);border-radius:18px}dialog::backdrop{background:#17233866;backdrop-filter:blur(3px)}.modal-top{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-bottom:1px solid var(--line)}.modal-top button{background:#f1f4f8;color:#5f6e85;padding:7px 12px;border-radius:8px}iframe{width:100%;height:calc(100% - 60px);border:0}.merchant-dialog{width:min(420px,calc(100vw - 24px));height:min(760px,88dvh)}.merchant-dialog .merchant-panel{height:100%;border:0}.merchant-dialog #close-merchants{display:block}
.messages:has(.welcome:not([hidden])){display:flex;align-items:center;justify-content:center}.messages .welcome{margin:0 auto;padding:12px 0}.side-description,.side-footnote,.voice-status,.demo-notice,.welcome>p:not(.welcome-kicker),.welcome-note{color:#7b8798}
@media(min-width:1500px){.workspace{grid-template-columns:370px minmax(0,1fr)}.merchant-panel{padding:32px 28px 18px}.messages{padding-inline:max(45px,calc((100% - 750px)/2))}}@media(max-width:900px){.workspace{grid-template-columns:290px minmax(0,1fr)}.merchant-panel{padding:24px 16px 14px}.chat-heading{padding-inline:24px}.messages{padding-inline:24px}.composer-wrap{padding-inline:20px}.demo-menu{display:block}.suggestion-label{display:none}.chat-heading h1 span{display:none}}@media(max-width:680px){.app-header{height:60px;padding:0 16px}.brand img{width:31px;height:31px}.brand strong{font-size:18px}.brand>span{display:none}.demo-badge{font-size:10px;padding:3px 7px}.header-end{gap:7px}.workspace{display:flex;height:calc(100vh - 60px);height:calc(100dvh - 60px);min-height:380px}.workspace>.merchant-panel{display:none}.chat-panel{width:100%}.chat-heading{height:52px;flex-basis:52px;padding:0 20px}.chat-heading h1{font-size:13px}.messages{padding:0 20px}.welcome img{width:54px;height:54px}.welcome h2{font-size:27px}.welcome-note{margin-top:18px}.composer-wrap{padding:10px 14px max(12px,env(safe-area-inset-bottom))}.composer{border-radius:16px;padding:9px 10px 7px}.demo-menu{margin-bottom:9px}.chips{gap:6px}.chips button{font-size:10px;padding:6px 8px}.chips button>span{display:none}.demo-notice{margin-top:9px;font-size:9px}.hold-to-talk{min-height:49px}.hold-to-talk small{display:none}.input-row{gap:8px}.send-button{padding:10px}.message{max-width:94%;font-size:13px}#open-merchants{display:block}}@media(max-height:660px){.welcome img{width:44px;height:44px}.welcome-kicker{margin-top:10px}.welcome-note{margin-top:10px}.welcome h2{margin-bottom:9px;font-size:26px}.chat-heading{height:50px;flex-basis:50px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}

.speech-tools{display:flex;align-items:center;flex-wrap:wrap;gap:6px 13px;margin:9px 3px 0;font-size:11px;color:#718198}.speech-tools label{display:inline-flex;align-items:center;gap:4px;cursor:pointer}.speech-tools input{accent-color:var(--accent);margin:0}.speech-tools button{background:transparent;color:var(--accent);font-size:11px;padding:3px 0}.speech-tools button:hover{text-decoration:underline}#multi-speech-play{border:1px solid #c8d6f7;border-radius:6px;padding:3px 8px}

.speech-toggle{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#f5f7fa;color:#6c7d96}.speech-toggle:hover{background:#eaf0fb;color:var(--accent)}.speech-toggle .speaker-muted{display:none}.speech-toggle[aria-pressed="false"] .speaker-wave{display:none}.speech-toggle[aria-pressed="false"] .speaker-muted{display:block}.speech-recover{border:0;background:#edf2ff;color:var(--accent);border-radius:10px;width:36px;height:36px;flex-shrink:0}.composer{padding-bottom:11px}.voice-status.sr-only{margin:0;min-height:0}
