:root{font-family:Inter,system-ui,-apple-system,"PingFang SC",sans-serif;color:#263d37;background:#f5f7f4;line-height:1.6;font-synthesis:none}
*{box-sizing:border-box}body{margin:0}main{max-width:760px;margin:auto;padding:0 28px 180px}
button,input,select{font:inherit}button{cursor:pointer;background:#fff;border:1px solid #dce4dd;color:#35534a;border-radius:12px;padding:10px 15px}button:hover{background:#edf3ef}button:disabled{opacity:.5;cursor:wait}
input,select{border:1px solid #dce4dd;background:white;border-radius:10px;padding:11px;min-width:0;width:100%;color:inherit}
header{display:flex;align-items:center;justify-content:space-between;padding:24px 0;border-bottom:1px solid #e3e8e1;gap:12px}
.store-identity{display:flex;align-items:center;gap:12px;text-decoration:none;color:inherit}.store-mark{display:grid;place-items:center;background:#294f43;color:white;width:42px;height:42px;border-radius:14px;font-weight:700}.brand{display:block;font-weight:700;font-size:15px;letter-spacing:.03em}header small{display:block;font-size:11px;color:#7b8880}header button{font-size:12px;padding:7px 11px}
.hero{padding:36px 0 26px}.eyebrow{font-size:12px;font-weight:600;color:#789182;margin:0 0 12px}h1{font-size:clamp(28px,5.4vw,40px);letter-spacing:-.04em;line-height:1.3;margin:0 0 12px;font-weight:650}.hero>p:last-of-type{color:#718178;font-size:14px;margin:0}
.agent-link{display:flex;gap:9px;align-items:center;margin-top:24px;font-size:12px;color:#567466}.avatar{display:grid;place-items:center;border-radius:50%;width:26px;height:26px;background:#dfebe2;font-size:11px;font-weight:700}.merchant{background:#e9e5da;color:#827253}.link-line{padding:0 6px;color:#9aaca0}
.conversation{padding:0}.greeting,.bubble{background:#fff;border:1px solid #e3e9e1;border-radius:4px 18px 18px 18px;padding:17px 20px;margin:0 0 12px;max-width:94%;box-shadow:0 3px 14px #23413203}.speaker{font-size:11px;display:block;color:#7f9185;margin-bottom:5px}.greeting p,.bubble p{margin:0;font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere}.bubble.user{background:#e3eee6;border-color:#e3eee6;border-radius:18px 4px 18px 18px;margin-left:auto;max-width:85%}.bubble.user .speaker{color:#6b8574}
.suggestions{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0 24px}.suggestions button{font-size:12px;border-radius:20px;background:transparent;padding:8px 13px}
.negotiation-status{font-size:12px;color:#638271;margin:12px 0}.negotiation-status:empty{display:none}.proposal{border:1px solid #d4e1d5;border-radius:18px;padding:20px;background:#fff;margin:16px 0;box-shadow:0 6px 24px #365a3b06}.proposal h2{font-size:17px;margin:5px 0 15px}.proposal-line{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #edf0e9;font-size:14px}.proposal-line span:last-child{white-space:nowrap}.proposal-total{display:flex;align-items:center;justify-content:space-between;padding-top:15px}.price{font-weight:650;font-size:20px}.proposal .hint{font-size:12px;margin:13px 0;color:#738578}.proposal>button,#approve,#ask{background:#305d4b;color:#fff;border-color:#305d4b}.proposal>button{width:100%;margin-top:5px}.trace{margin:10px 0 20px;font-size:12px;color:#798a7e}.trace p{margin:8px 0}
h2{font-size:18px;margin:0 0 12px}.review,#order-section,#pairing{background:#fff;border:1px solid #d7e2d6;border-radius:18px;padding:20px;margin:16px 0}.review{border:2px solid #7d9b85}.card{padding:16px 0;border-bottom:1px solid #e8ede4}.card:last-child{border:0}.card strong{display:block;font-size:15px}.card p{font-size:13px;margin:6px 0}.actions,.input-row,.section-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0}.section-head{justify-content:space-between}.actions button{font-size:12px}.quantity{width:75px}
#history-section{background:#fff;color:inherit;border:1px solid #d7e2d6;border-radius:18px;padding:20px;width:min(680px,calc(100% - 32px));max-height:80dvh;overflow:auto}#history-section::backdrop{background:#263d3760}#history-section .section-head{margin-top:0}#history-section h2{margin:0}#history-close{font-size:12px}.history-entry summary{display:flex;justify-content:space-between;gap:12px}.history-entry .bubble{box-shadow:none;max-width:100%}.history-entry button{font-size:12px;margin:4px 0 14px}.history-entry .hint{overflow-wrap:anywhere}
details{border-bottom:1px solid #e1e7de}summary{cursor:pointer;font-size:13px;padding:15px 2px;color:#667c6d}.hint,footer{font-size:11px;color:#89958b}footer{text-align:center;padding:20px 0}.session-controls{display:flex;justify-content:center;gap:16px;flex-wrap:wrap}.session-controls button,.voice-controls button{background:transparent;border:0;font-size:11px;padding:4px;color:#718178}.voice-controls{display:flex;justify-content:center}.voice-controls:has(button:not([hidden])){margin-top:6px}#voice-button{background:#e3eee6;border-color:#e3eee6}#voice-button[aria-pressed=true]{background:#305d4b;color:white}
.composer{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(760px,100%);padding:12px 28px max(12px,env(safe-area-inset-bottom));background:#f5f7f4f5;border-top:1px solid #e1e7de;backdrop-filter:blur(16px);z-index:5}.compose-row{display:flex;gap:8px;align-items:center;background:#fff;border:1px solid #d9e3d8;border-radius:16px;padding:6px}.compose-row input{border:0;padding:10px 4px;flex:1;font-size:14px;background:transparent}.compose-row button{flex-shrink:0;font-size:12px;padding:9px 12px}.composer-note{text-align:center;font-size:10px;color:#99a299;margin:8px 0 0}#status,#voice-status{font-size:12px;margin:0 0 8px;overflow-wrap:anywhere}#status:empty,#voice-status:empty{display:none}.error{color:#a13f39}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}[hidden]{display:none!important}
#agent-quotes,#review,#order-section{scroll-margin-bottom:150px;scroll-margin-top:16px}
button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #729982;outline-offset:3px}
@media(max-width:480px){main{padding:0 20px 180px}header{padding:18px 0}.hero{padding-top:28px}.composer{padding-left:14px;padding-right:14px}.greeting,.bubble{padding:15px 17px}.proposal{padding:17px}.agent-link{gap:7px}.actions button{flex-grow:1}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
