/* Figma C01–C11 mapped onto the existing resumable customer app. */
:root{--rose:var(--action);--muted:#626774;--line:#e7e9ef}
body{padding:16px;background:#e9edf3;font-family:"Noto Sans SC","Microsoft YaHei UI",sans-serif}.chat-shell{width:min(390px,100%);max-width:390px;height:calc(100dvh - 32px);min-height:0;margin:0 auto;border:0;border-radius:24px;box-shadow:0 8px 32px #171b260a}.store-header{height:68px;padding:12px;gap:8px;background:var(--paper)}.store-header .icon-button{width:36px;min-width:36px}.store-logo{display:grid!important;width:32px;height:32px;min-width:32px;border:0;border-radius:12px;background:var(--soft);color:var(--action);font-size:14px}.store-identity{gap:8px}.store-identity h1{font-size:16px;line-height:1.5;margin:0;font-weight:700;letter-spacing:0;white-space:nowrap}.store-identity p{font-size:12px;line-height:1.5;color:var(--green)}.store-identity i{display:none}.store-button{border:1px solid var(--line);border-radius:12px;width:64px;padding:8px;min-height:44px;background:var(--paper);font-size:14px}.store-header #moreButton{display:none}.service-strip{height:28px;padding:0 20px;background:var(--paper);border:0;font-size:12px;color:var(--muted)}.service-strip span{gap:8px}.chat-stream{padding:16px}.day-divider{font-size:12px;color:var(--muted);line-height:20px;margin-bottom:12px}.message{gap:8px;margin-bottom:16px}.message-avatar{width:32px;height:32px;background:var(--soft);border:0;border-radius:12px;color:var(--action);font-size:14px}.message-content{max-width:calc(100% - 40px);min-width:0}.welcome-message .message-content{width:calc(100% - 40px)}.bubble{padding:16px;border-radius:16px;font-size:14px;line-height:1.5}.welcome-message .message-caption{display:none}.welcome-hint{font-size:12px;color:var(--muted);margin-top:12px;line-height:1.6}.message.user .message-avatar{display:none}.message.user .bubble{background:var(--soft);border-radius:16px}.message.user .message-content{max-width:90%}.message-caption{font-size:11px;color:var(--muted)}.chat-bottom{padding:12px;background:var(--cloud)}.quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding-bottom:8px}.quick-actions button{font-size:14px;border:1px solid var(--line);border-radius:12px;padding:8px;min-height:44px}.quick-actions svg{display:none}.composer{background:#fff;border-radius:24px;gap:8px;padding:0 8px;align-items:center;min-height:44px}.composer .round{width:28px;min-width:28px;height:44px;min-height:44px;padding:0;background:transparent;border:0}.composer textarea{padding:11px 0;line-height:22px;font-size:14px;background:transparent;min-height:44px;height:44px;border-radius:0}.composer #shopButton{display:none}.composer #toolsButton{width:44px;min-width:44px;border-radius:12px;background:var(--cloud)}.composer #sendButton{width:52px;min-width:52px;height:44px;border-radius:12px;font-size:12px;padding:8px}.composer #sendButton svg{display:none}.condition-summary{background:white;border-radius:12px;padding:10px;font-size:12px;flex-wrap:wrap;margin-bottom:8px}.condition-summary strong{padding:0;margin-right:auto}.condition-summary>div{width:100%}.condition-summary span{background:var(--cloud);color:var(--muted);border-radius:999px}.condition-edit{border:0;background:transparent;color:var(--action);padding:0 4px;font-size:12px;min-height:28px}.run-progress{background:white;border:1px solid var(--line);border-radius:12px;padding:12px;margin:0 0 8px;font-size:12px}.product-in-chat{background:white;border:1px solid var(--line);padding:12px;border-radius:12px}.product-in-chat h3{font-size:14px;margin-bottom:4px}.product-in-chat footer{gap:8px;flex-wrap:wrap}.product-in-chat b{color:var(--action);font-size:18px}.product-in-chat button{min-height:44px;border-radius:12px;background:var(--soft);color:var(--action);font-size:12px;padding:8px 10px}.product-pack{float:left;margin:0 12px 8px 0;width:64px;min-height:64px;background:#eee6d4;border-radius:8px;display:grid;place-items:center;font-size:14px;color:#626774;text-align:center}.product-pack small{display:block;font-size:10px}.product-in-chat .product-evidence{clear:both}.product-detail-button{background:var(--cloud)!important;color:var(--ink)!important}.answer-feedback{gap:6px}.answer-feedback button{min-height:36px;color:var(--muted)}.follow-up-actions button{min-height:44px;font-size:12px}.condition-form{display:grid;gap:12px}.condition-form label{font-size:12px;color:var(--muted);display:grid;gap:6px}.condition-form input,.condition-form select{width:100%;border:1px solid var(--line);border-radius:12px;min-height:44px;padding:10px;background:var(--cloud);font-size:14px}.condition-form p{font-size:12px;color:var(--muted)}.service-sheet{border-radius:20px}.tool-tray{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:600px){body{padding:0}.chat-shell{width:100%;max-width:100%;height:100dvh;border-radius:0}.chat-bottom{padding:12px 12px max(12px,env(safe-area-inset-bottom))}.store-identity h1{font-size:16px}.chat-stream{padding:16px}.quick-actions button{font-size:13px}.service-sheet{width:100%;border-radius:20px 20px 0 0}}
@media(max-width:350px){.store-identity h1{font-size:14px}.store-identity p{font-size:10px}.store-logo{display:none!important}}
.chat-stream>.condition-summary{margin:0 0 12px 40px;width:calc(100% - 40px)}.recommendation-full{margin-top:10px;font-size:12px;color:var(--muted)}.recommendation-full summary{cursor:pointer;min-height:44px;display:flex;align-items:center;color:var(--action)}.recommendation-full p{margin:8px 0 0;font-size:12px;line-height:1.7}
