[hidden]{display:none!important}
.chat-tools{display:flex;gap:12px;justify-content:space-between;align-items:center;padding:12px 24px;border-bottom:1px solid var(--line)}
.chat-tools button,.chat-tools select{font:inherit;font-size:14px;background:white;border:1px solid #e0e4eb;border-radius:6px;padding:8px 10px;color:#4c5665;max-width:55%}
#conversation{max-height:520px;overflow:auto;scroll-behavior:smooth;padding-bottom:6px}
#request-error{margin:16px 24px;padding:14px 16px;background:#fff4eb;border:1px solid #f4d5bd;border-radius:8px;color:#74401d;font-size:14px;line-height:1.6}
#shop-context{margin:10px 24px 16px;padding:12px 16px;background:#f6f8fc;border:1px solid #e7ebf3;border-radius:8px;font-size:14px;color:#536177}
#shop-context strong{font-size:14px;letter-spacing:.06em;text-transform:uppercase}
#shop-facts{display:flex;flex-wrap:wrap;gap:8px;margin-top:7px}#shop-facts span{background:white;border:1px solid #e3e8f1;border-radius:5px;padding:5px 8px;max-width:100%;overflow-wrap:anywhere}
#next-action{margin:6px 24px 18px;padding:16px;background:#f0f5ff;border-radius:8px;display:flex;gap:12px;align-items:center;justify-content:space-between}#next-action[hidden]{display:none}
#get-action{background:#2559e8;color:white;padding:11px 15px;border:0;border-radius:6px;font-weight:650;font-size:14px;cursor:pointer}#next-action small{font-size:14px;max-width:185px;color:#617086;line-height:1.5}
button:disabled{cursor:wait;opacity:.55}#credit-dialog button:disabled{cursor:default}
.message-content p{white-space:pre-wrap}.message-content h3{margin:12px 0;font-size:21px;line-height:1.25}
.action-detail{padding:12px 0;border-bottom:1px solid #e9edf3}.action-detail strong{font-size:14px;letter-spacing:.03em;color:#566276}.action-detail p,.action-detail ol{font-size:14px;line-height:1.65;margin:7px 0 0}.action-detail ol{padding-left:20px}.action-detail li+li{margin-top:6px}
.saved-photo{display:inline-block;width:100px;height:80px;object-fit:cover;border-radius:7px;margin:8px 8px 0 0}.user-bubble{white-space:pre-wrap;overflow-wrap:anywhere}
.mode-development .preview-strip{background:#fff8e8;color:#6e592c}.pending-message{color:#687894;font-size:14px;padding:10px 24px;display:flex;gap:10px;align-items:center}.pending-message::before{content:'';width:7px;height:7px;border-radius:50%;background:#2559e8;animation:pulse 1s ease-in-out infinite alternate}@keyframes pulse{to{opacity:.25}}
.dialog-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.dialog-actions button{font:inherit;font-size:14px;border:1px solid #d6dce6;border-radius:6px;padding:10px 15px;background:white}#confirm-erase{background:#172232;color:white;border-color:#172232}
@media(max-width:600px){.chat-tools{padding:12px 16px;gap:8px}.chat-tools select{max-width:50%;width:50%}#next-action{margin:6px 16px 14px;display:block}#next-action small{display:block;margin-top:8px;max-width:none}#shop-context{margin:10px 16px}#request-error{margin:12px 16px}#conversation{max-height:55vh}.assistant-identity .sample-label{display:none}.workspace-top{gap:6px}}
@media(prefers-reduced-motion:reduce){.pending-message::before{animation:none}#conversation{scroll-behavior:auto}}
