:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#202522;background:#dde3de;font-synthesis:none;--green:#256346;--chat:#ededed;--muted:#737c75;--user:#b7e79d}
*{box-sizing:border-box}body{margin:0;min-height:100vh;min-height:100dvh;display:grid;place-items:center;background:radial-gradient(ellipse at 35% 0%,#eff1e9 0,transparent 65%),#dde3de}button,textarea{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{cursor:default}button:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--green);outline-offset:3px}button{touch-action:manipulation}button svg{width:24px;height:24px}svg,img{display:block}img{max-width:100%}[hidden]{display:none!important}.sr-only{position:absolute;top:0;left:0;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.chat-shell{width:min(100%,560px);height:min(950px,calc(100dvh - 48px));min-height:440px;display:flex;flex-direction:column;position:relative;background:var(--chat);border:1px solid #d5dcd5;border-radius:18px;overflow:hidden;box-shadow:0 18px 70px #23372b12}
.chat-header{display:flex;align-items:center;gap:11px;padding:16px 20px 14px;background:#f7f8f5;border-bottom:1px solid #e2e5df;flex-shrink:0}.store-mark{border-radius:13px}.store-name{flex:1;min-width:0}.store-name h1{font-size:18px;line-height:1.4;margin:0;font-weight:650;letter-spacing:.03em}.store-name span{display:block;color:#7a827b;font-size:11px;letter-spacing:.08em;margin-top:2px}.icon-button{width:44px;height:44px;display:grid;place-items:center;border:0;background:transparent;color:#36413a;border-radius:8px;flex-shrink:0}.icon-button:hover{background:#233c3110}.icon-button svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.more-button svg{fill:currentColor;stroke:none}
.demo-strip{min-height:32px;display:flex;align-items:center;justify-content:space-between;gap:4px;padding:5px 18px;background:#e8ede6;color:#687767;font-size:10px;flex-shrink:0}.demo-strip button{border:0;background:none;color:#366245;font-size:11px;padding:5px 0 5px 7px;white-space:nowrap}
.conversation{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#ced4cd transparent;padding:22px 20px 26px;scroll-behavior:smooth}.date-line{text-align:center;color:#8b908b;font-size:11px;margin:0 0 22px;line-height:1.7}.date-line:not(:first-child){margin:24px 0 20px}.message{display:flex;align-items:flex-start;gap:9px;margin:0 0 15px}.message-avatar{width:34px;height:34px;border-radius:10px;flex-shrink:0}.message-avatar.empty{visibility:hidden}.message-content{max-width:calc(100% - 58px);min-width:0;position:relative}.bubble{padding:12px 15px;background:white;border-radius:4px 12px 12px 12px;font-size:15px;line-height:1.7;box-shadow:0 1px 1px #23312505;overflow-wrap:anywhere}.bubble:before{content:"";position:absolute;top:13px;left:-5px;width:10px;height:10px;background:white;transform:rotate(45deg);border-radius:1px}.bubble p{margin:0;white-space:pre-line;position:relative}.bubble .minor{font-size:12px;color:var(--muted);margin-top:8px}.message.user{justify-content:flex-end;gap:9px}.user .message-content{max-width:calc(100% - 58px)}.user .bubble{background:var(--user);border-radius:12px 4px 12px 12px}.user .bubble:before{left:auto;right:-5px;background:var(--user)}.user-avatar{width:34px;height:34px;border-radius:10px;background:#d8e1d7;display:grid;place-items:center;font-size:12px;color:#63745e;flex-shrink:0}.user-avatar svg{width:24px;height:24px;stroke:#758370;fill:#eaf0e7;stroke-width:1.3}.system-message{font-size:11px;color:#7e877e;text-align:center;margin:20px 18px;line-height:1.8;white-space:pre-line}
.fruit-card{width:330px;max-width:100%;background:white;border-radius:4px 12px 12px 12px;overflow:hidden;box-shadow:0 1px 1px #23312508}.fruit-hero{padding:18px 16px 16px;position:relative;min-height:131px;background:#f6f3e8}.fruit-hero h2{margin:0 0 4px;font-size:18px;line-height:1.5;position:relative;z-index:1}.fruit-hero .sub{color:#7c806e;font-size:11px;position:relative;z-index:1}.fruit-hero img{width:130px;height:108px;object-fit:contain;position:absolute;right:3px;bottom:5px}.fruit-price{font-size:27px;font-weight:600;letter-spacing:-.03em;color:#344d35;margin-top:15px;line-height:1;position:relative;z-index:1}.fruit-price small{font-weight:400;font-size:11px;color:#767d6d;letter-spacing:0;margin-left:5px}.fruit-info{padding:14px 16px 0}.info-row{display:flex;align-items:flex-start;gap:8px;font-size:12px;line-height:1.8;margin-bottom:7px}.info-row svg{width:15px;height:15px;flex-shrink:0;fill:none;stroke:#798874;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;margin-top:3px}.info-row strong{font-weight:500;color:#313e32}.info-row span{color:#777f75}.fruit-rules{font-size:12px;line-height:1.8;color:#687260;border-top:1px solid #edf0e9;margin:9px 16px 0;padding-top:10px}.fruit-action{padding:12px 16px 16px}.primary-button{border:0;border-radius:7px;background:var(--green);color:white;min-height:43px;padding:10px 16px;font-size:14px;font-weight:550;width:100%}.primary-button:hover{background:#1e553b}.primary-button:disabled{color:#798679;background:#edf1e9}.chat-actions{display:flex;flex-direction:column;gap:0;border-top:1px solid #edf0ea;margin:11px -15px -12px}.reply-button{border:0;background:none;color:var(--green);font-size:14px;text-align:center;min-height:44px;padding:10px 14px;line-height:1.6}.reply-button+.reply-button{border-top:1px solid #edf0ea}.reply-button:hover{background:#f4f8f0}.reply-button:disabled{color:#8b9388;background:none}.chat-actions .reply-button:last-child{border-radius:0 0 12px 12px}.receipt{margin-top:10px;padding-top:10px;border-top:1px solid #edf0ea;font-size:12px;line-height:1.9;color:#6c786b}.receipt strong{color:#40553e;font-weight:500;display:block}.receipt .fruit-number{display:flex;justify-content:space-between;gap:15px;font-size:11px;color:#889181;margin-top:5px}.open-picture{height:132px;width:100%;object-fit:contain;background:#f7f4e9;border-radius:7px;margin:0 0 12px}.record{font-size:12px;line-height:1.9;margin:10px 0 0;padding-left:14px;border-left:2px solid #d8e6d2;color:#6e7d69}.record strong{color:#476143;font-weight:500}.waiting-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#829576;margin-right:3px;animation:pulse 1s infinite}.waiting-dot:nth-child(2){animation-delay:.2s}.waiting-dot:nth-child(3){animation-delay:.4s}.pending-note{font-size:11px;color:#839078;display:flex;align-items:center;gap:7px;margin-top:7px}
.composer{display:flex;align-items:flex-end;gap:8px;padding:12px 13px max(12px,env(safe-area-inset-bottom));background:#f6f7f4;border-top:1px solid #dfe4dc;flex-shrink:0}.plus-button{width:36px}.plus-button svg{width:26px;height:26px;stroke:#687568;stroke-width:1.5}textarea{width:100%;min-width:0;resize:none;min-height:44px;max-height:102px;line-height:24px;padding:10px 12px;border:0;border-radius:7px;color:#27332a;background:#fff;font-size:16px;outline-offset:0!important}textarea::placeholder{color:#a0a69d}.send-button{min-height:44px;border:0;border-radius:7px;background:var(--green);color:#fff;white-space:nowrap;padding:10px 14px;font-size:14px;flex-shrink:0}.send-button:disabled{background:#e8ece4;color:#929c8c}.new-messages{position:absolute;bottom:84px;right:22px;background:white;color:var(--green);box-shadow:0 2px 14px #1c352c20;border:1px solid #e5eadf;border-radius:18px;padding:9px 13px;font-size:12px;z-index:3}
dialog{border:1px solid #e1e6dd;border-radius:16px;width:calc(100% - 32px);max-width:440px;padding:0;background:#fafbf7;color:#28362c;box-shadow:0 20px 80px #10271830}dialog::backdrop{background:#1c29265c;backdrop-filter:blur(2px)}.menu-heading{display:flex;align-items:center;justify-content:space-between;padding:11px 14px 8px 21px;border-bottom:1px solid #e8ece3}.menu-heading h2{font-size:16px;font-weight:550;margin:0}.menu-option{display:flex;align-items:center;justify-content:space-between;border:0;background:transparent;min-height:53px;padding:13px 22px;width:100%;text-align:left;color:#36523d;font-size:14px;border-bottom:1px solid #e8ece3}.menu-option:hover{background:#f0f4eb}.menu-option:disabled{color:#9ba396}.menu-option span{font-size:11px;color:#8a9484}.menu-note{font-size:11px;line-height:1.8;color:#8b9485;padding:13px 22px 17px;margin:0}.menu-section{font-size:11px;color:#7a8874;background:#f0f4eb;padding:10px 22px}
@keyframes appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@keyframes pulse{50%{opacity:.3}}@media(min-width:760px){.conversation{padding-left:25px;padding-right:25px}.chat-header{padding-left:25px;padding-right:21px}}
@media(max-width:600px){body{display:block;background:var(--chat)}.chat-shell{width:100%;height:100vh;height:100dvh;min-height:0;max-height:none;border:0;border-radius:0;box-shadow:none}.chat-header{padding:12px 15px 11px;gap:10px}.store-mark{height:38px;width:38px}.store-name h1{font-size:17px}.store-name span{font-size:10px}.demo-strip{padding-left:15px;padding-right:15px;font-size:10px;min-height:30px}.conversation{padding:20px 13px 24px}.message{gap:8px}.message-avatar,.user-avatar{width:33px;height:33px;border-radius:9px}.message-content,.user .message-content{max-width:calc(100% - 50px)}.bubble{font-size:15px;padding:11px 13px}.chat-actions{margin:10px -13px -11px}.composer{gap:6px;padding:9px 10px max(9px,env(safe-area-inset-bottom))}.plus-button{width:31px}.send-button{padding-left:12px;padding-right:12px}.fruit-hero{padding:16px 14px;min-height:125px}.fruit-hero h2{font-size:17px}.fruit-hero img{width:118px;height:98px;right:1px}.fruit-info{padding-left:14px;padding-right:14px}.fruit-action{padding-left:14px;padding-right:14px}.fruit-rules{margin-left:14px;margin-right:14px}.info-row{font-size:12px}.fruit-price{font-size:26px}.new-messages{bottom:78px}dialog{margin:auto auto 16px;border-radius:14px;max-height:calc(100dvh - 40px);overflow:auto}}
@media(max-width:350px){.conversation{padding-left:10px;padding-right:10px}.message-content,.user .message-content{max-width:calc(100% - 44px)}.fruit-hero img{width:94px;height:82px}.fruit-hero h2{font-size:16px}.fruit-rules{font-size:10px}.demo-strip{padding-left:12px;padding-right:12px}.demo-strip button{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important}}
.fruit-hero{min-height:106px;padding-top:14px;padding-bottom:14px}.fruit-hero img{width:110px;height:90px}.spec-intro{font-size:12px;color:#596b4e;margin-top:10px;position:relative;z-index:1}.spec-picker{padding:12px 14px 0}.spec-label{font-size:13px;font-weight:550;display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.spec-label span{font-size:11px;font-weight:400;color:#808a78}.spec-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.spec-option{border:1px solid #dde5d6;border-radius:7px;background:#f9faf6;min-height:42px;padding:9px 10px;font-size:13px;text-align:left;position:relative;display:flex;align-items:center;justify-content:space-between;gap:3px;color:#40513b;white-space:nowrap}.spec-option:hover{border-color:#78976b;background:#f1f6eb}.spec-option.selected{border-color:#256346;background:#edf5e7;color:#235637;box-shadow:inset 0 0 0 .5px #256346}.spec-option:disabled:not(.selected){color:#939b8c;background:#f3f5ef;border-color:#e5e9df}.spec-option small{font-size:10px;font-weight:400}.spec-check{font-size:13px;color:#256346}.spec-price{font-size:11px;color:#808874;margin-top:9px}.fruit-binding{font-size:11px;color:#75856b;margin-top:3px;overflow-wrap:anywhere}.fruit-info{padding-top:10px}.fruit-rules{margin-top:6px;padding-top:8px}.fruit-action{padding-top:10px;padding-bottom:13px}
@media(max-width:600px){.fruit-hero{min-height:100px;padding-top:12px;padding-bottom:12px}.fruit-hero img{width:107px;height:88px}.spec-option{font-size:12px;padding:9px 9px}.fruit-info{padding-top:9px}.info-row{font-size:11px;margin-bottom:5px}.fruit-rules{font-size:11px}.date-line{margin-bottom:16px}.conversation{padding-top:16px}.message{margin-bottom:12px}}
@media(max-width:350px){.spec-option{font-size:11px;padding:9px 6px}.spec-check{font-size:11px}.spec-option small{font-size:9px}}
.track-shortcut{border:0;background:transparent;color:var(--green);min-height:44px;padding:8px 5px;font-size:13px;white-space:nowrap}.track-shortcut:hover{background:#eaf2e4;border-radius:7px}.trace-card{width:330px;max-width:100%;border-radius:4px 12px 12px 12px;overflow:hidden;background:#fff;box-shadow:0 1px 2px #17362308}.trace-top{background:#e9f1e4;padding:16px 16px 14px;color:#285339}.trace-eyebrow{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:10px;letter-spacing:.03em;color:#6e8464}.trace-demo{border:1px solid #cdddc3;border-radius:4px;padding:1px 5px;font-size:9px}.trace-top h2{font-size:19px;line-height:1.5;margin:8px 0 2px;font-weight:650}.trace-last-time{font-size:12px;line-height:1.7;color:#5f7754}.trace-top p{font-size:11px;line-height:1.8;margin:8px 0 0;color:#667a5b}.trace-scope{display:flex;align-items:center;justify-content:space-between;padding:12px 16px 0;gap:8px;font-size:11px;color:#89917f}.trace-scope strong{font-weight:500;color:#617258}.trace-notice{margin:10px 16px 0;padding:9px 11px;background:#fbf4e7;border-radius:6px;color:#8c6a35;font-size:11px;line-height:1.8}.trace-list{list-style:none;margin:16px 16px 0;padding:0}.trace-step{display:flex;gap:11px;position:relative;min-height:67px;padding:0 0 16px}.trace-step:before{content:"";position:absolute;left:7px;top:17px;bottom:0;border-left:1px solid #e0e7da}.trace-step:last-child{min-height:0;padding-bottom:0}.trace-step:last-child:before{display:none}.trace-dot{width:15px;height:15px;flex-shrink:0;margin-top:2px;background:#fff;border:1px solid #d5dfcc;border-radius:50%;color:white;position:relative;z-index:1;display:grid;place-items:center;font-size:10px}.trace-step.done .trace-dot{background:#4d8056;border-color:#4d8056}.trace-step.current .trace-dot{box-shadow:0 0 0 4px #edf4e7}.trace-step-main{flex:1;min-width:0}.trace-row-heading{display:flex;align-items:baseline;justify-content:space-between;gap:5px}.trace-row-heading strong{font-size:13px;line-height:1.6;font-weight:550;color:#354c32}.trace-row-heading span{font-size:9px;color:#8a9582;white-space:nowrap}.trace-step.current .trace-row-heading strong{color:#245b38}.trace-time{display:block;font-size:12px;line-height:1.7;color:#465c3f;margin-top:2px}.trace-time.missing{color:#899280}.trace-estimate,.trace-row-note{display:block;font-size:10px;line-height:1.7;color:#8b947f;margin-top:2px}.trace-step.pending .trace-row-heading strong{color:#7c8871}.trace-gap{font-size:10px;line-height:1.8;color:#8d7450;margin:13px 16px 0;padding:8px 10px;border-radius:5px;background:#f8f4eb}.trace-foot{padding:12px 16px 11px;color:#929985;font-size:9px;line-height:1.8}.trace-foot p{font-size:10px;color:#78866f;margin:0 0 5px;overflow-wrap:anywhere}.trace-foot span{display:block}.trace-sources{border-top:1px solid #edf0e7}.trace-sources summary{padding:12px 16px;font-size:11px;color:#6c7f5f;cursor:pointer;min-height:42px}.trace-source-list{padding:0 16px 12px}.trace-source{padding:10px 0;border-top:1px solid #edf1e7;overflow-wrap:anywhere}.trace-source strong{font-size:11px;font-weight:550;color:#4b6543;display:block}.trace-source span{display:block;color:#829178;font-size:10px;line-height:1.8}.trace-source-list>p{font-size:10px;line-height:1.8;color:#929b86;margin:10px 0 0}.trace-card>.chat-actions{margin:0;border-top:1px solid #eaf0e4}.trace-card .reply-button{font-size:13px}.trace-card .reply-button:last-child{border-radius:0}
@media(max-width:600px){.chat-header{gap:8px}.track-shortcut{font-size:12px;padding-left:3px;padding-right:3px}.trace-top{padding:13px 14px 12px}.trace-top h2{font-size:18px}.trace-scope{padding-left:14px;padding-right:14px}.trace-list{margin-left:14px;margin-right:14px;margin-top:14px}.trace-step{min-height:61px;padding-bottom:13px}.trace-top p{margin-top:5px}.trace-foot{padding:10px 14px}.trace-sources summary{padding:10px 14px}.trace-row-heading strong{font-size:12px}.trace-time{font-size:12px}}

.home-link{width:28px;min-width:28px;height:44px;display:grid;place-items:center;color:#256346;border-radius:7px;text-decoration:none}.home-link svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.home-link:focus-visible{outline:2px solid #256346;outline-offset:2px}.home-link:hover{background:#eaf2e4}
