@keyframes bounce{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}@keyframes typing-sparkle-star{0%,to{opacity:.32;transform:scale(.7) rotate(0deg)}50%{opacity:1;transform:scale(1) rotate(12deg)}}@media(prefers-reduced-motion:reduce){.typing-indicator__orb,.typing-indicator__star{animation:none!important}}.chat-box.custom-scrollbar{padding-bottom:24px}.chat-layout .chat-interface .chat-scroll-area .chat-message{display:flex;flex-direction:column;width:100%;max-width:880px;margin:0 auto clamp(18px,18px + 14*(100vw - 430px)/1010,32px)}.chat-layout .chat-interface .chat-scroll-area .chat-message.assistant{max-width:950px}.chat-layout .chat-interface .chat-scroll-area .chat-message .message-frame{display:flex;flex-direction:column;width:100%;min-width:0}.chat-layout .chat-interface .chat-scroll-area .chat-message .message-frame--start{align-items:flex-start}.chat-layout .chat-interface .chat-scroll-area .chat-message .message-frame--end{align-items:flex-end}.chat-layout .chat-interface .chat-scroll-area .chat-message .message-speaker{--message-speaker-accent:var(--text-secondary);--message-speaker-avatar-bg:var(--surface-bg-soft);--message-speaker-avatar-color:var(--text-secondary);display:inline-flex;align-items:center;gap:10px;max-width:min(100%,520px);margin-bottom:10px;color:var(--text-primary)}.chat-layout .chat-interface .chat-scroll-area .chat-message .message-speaker--end{flex-direction:row-reverse}.chat-layout .chat-interface .chat-scroll-area .chat-message .message-speaker--end .message-speaker__identity{align-items:flex-end}.chat-layout .chat-interface .chat-scroll-area .chat-message .message-speaker--ai,.chat-layout .chat-interface .chat-scroll-area .chat-message .message-speaker--buyer-agent,.chat-layout .chat-interface .chat-scroll-area .chat-message .message-speaker--user{--message-speaker-accent:var(--brand-primary);--message-speaker-avatar-bg:var(--brand-primary-gradient);--message-speaker-avatar-color:var(--theme-button-text)}.chat-layout .chat-interface .chat-scroll-area .chat-message .message-speaker--ai .message-speaker__avatar,.chat-layout .chat-interface .chat-scroll-area .chat-message .message-speaker--buyer-agent .message-speaker__avatar,.chat-layout .chat-interface .chat-scroll-area .chat-message .message-speaker--user .message-speaker__avatar{border-color:rgba(0,0,0,0)}.chat-layout .chat-interface .chat-scroll-area .chat-message .message-speaker--seller-agent{--message-speaker-accent:var(--brand-primary);--message-speaker-avatar-bg:var(--brand-primary-gradient);--message-speaker-avatar-color:var(--theme-button-text)}.chat-layout .chat-interface .chat-scroll-area .chat-message .message-speaker__avatar{display:inline-flex;flex:0 0 36px;align-items:center;justify-content:center;width:36px;height:36px;overflow:hidden;border:1px solid color-mix(in srgb,var(--message-speaker-accent) 34%,var(--border-soft));border-radius:12px;background:var(--message-speaker-avatar-bg);color:var(--message-speaker-avatar-color);box-shadow:0 8px 20px color-mix(in srgb,var(--message-speaker-accent) 10%,transparent)}.chat-layout .chat-interface .chat-scroll-area .chat-message .message-speaker__avatar>svg{display:block;width:24px;height:24px}.chat-layout .chat-interface .chat-scroll-area .chat-message .message-speaker__user-initial{display:inline-block;font-family:Georgia,Times New Roman,serif;font-size:21px;font-style:italic;font-weight:700;line-height:1;letter-spacing:-.08em;text-shadow:0 2px 8px color-mix(in srgb,var(--text-primary) 24%,transparent);transform:translateX(-1px) rotate(-6deg)}.chat-layout .chat-interface .chat-scroll-area .chat-message .message-speaker__initials{max-width:30px;overflow:hidden;font-size:12px;font-weight:800;line-height:1;letter-spacing:.02em;text-overflow:clip;white-space:nowrap}.chat-layout .chat-interface .chat-scroll-area .chat-message .message-speaker__identity{display:inline-flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:3px;min-width:0}.chat-layout .chat-interface .chat-scroll-area .chat-message .message-speaker__name{min-width:0;max-width:280px;overflow:hidden;color:var(--text-primary);font-size:13px;font-weight:750;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.chat-layout .chat-interface .chat-scroll-area .chat-message .message-speaker__role{display:inline-flex;align-items:center;min-height:22px;padding:0 8px;border:1px solid color-mix(in srgb,var(--message-speaker-accent) 26%,var(--border-soft));border-radius:999px;background:color-mix(in srgb,var(--message-speaker-accent) 8%,var(--surface-bg));color:color-mix(in srgb,var(--message-speaker-accent) 66%,var(--text-primary));font-size:11px;font-weight:700;line-height:1;white-space:nowrap}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble{max-width:100%;font-size:16px;line-height:1.7;color:var(--color-text,var(--color-fg))}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace{margin:0 0 16px;padding:20px;border-radius:18px;border:1px solid color-mix(in srgb,var(--border-soft) 72%,transparent);background:radial-gradient(circle at 0 0,color-mix(in srgb,var(--brand-primary) 8%,transparent),transparent 32%),color-mix(in srgb,var(--surface-bg) 96%,transparent);box-shadow:0 16px 40px color-mix(in srgb,var(--text-primary) 6%,transparent)}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__header-actions{display:inline-flex;align-items:center;gap:6px;flex-shrink:0;padding:3px;border:1px solid color-mix(in srgb,var(--border-soft) 64%,transparent);border-radius:999px;background:color-mix(in srgb,var(--surface-bg-elevated) 84%,transparent)}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__header-main{min-width:0}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__eyebrow{display:inline-block;margin-bottom:4px;font-size:11px;line-height:1.3;letter-spacing:0;text-transform:uppercase;color:var(--text-muted);font-weight:800}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__title{margin:0;font-size:16px;line-height:1.4;color:var(--text-primary)}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__summary{margin:6px 0 0;font-size:13px;line-height:1.5;color:var(--text-secondary)}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__totals{display:none;flex-wrap:wrap;gap:8px;margin-bottom:12px}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__trust{display:none;flex-wrap:wrap;gap:10px;margin-bottom:12px}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__trust-group{display:inline-flex;align-items:center;gap:8px;min-width:0;max-width:100%;padding:8px;border:1px solid var(--border-soft);border-radius:14px;background:color-mix(in srgb,var(--surface-bg-soft) 72%,transparent)}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__trust-label{flex-shrink:0;font-size:11px;line-height:1;font-weight:800;letter-spacing:0;text-transform:uppercase;color:var(--text-muted)}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__trust-chips{display:flex;flex-wrap:wrap;gap:6px;min-width:0}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__trust-chip{display:inline-flex;align-items:center;gap:6px;min-height:24px;padding:0 10px;border:1px solid color-mix(in srgb,var(--brand-primary) 38%,var(--border-soft));border-radius:999px;background:var(--theme-chip-bg,var(--brand-primary-gradient));color:var(--theme-chip-color);font-size:12px;line-height:1;white-space:nowrap}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__trust-chip strong{font-size:12px;font-weight:800;color:var(--theme-chip-color)}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__trust-chip--signal,.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__trust-chip--source{background:var(--theme-chip-bg,var(--brand-primary-gradient))}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__duration,.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__status,.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__total-pill{display:inline-flex;align-items:center;gap:6px;min-height:24px;padding:0 10px;border-radius:999px;font-size:12px;font-weight:700;line-height:1;white-space:nowrap}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__duration,.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__total-pill{background:color-mix(in srgb,var(--text-muted) 9%,transparent);color:var(--text-secondary)}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__status{min-height:30px;padding:0 12px;border:0;background:rgba(0,0,0,0);color:var(--text-secondary)}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__status:before{content:"";width:6px;height:6px;border-radius:999px;background:currentColor;opacity:.75}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__status--completed{background:color-mix(in srgb,var(--brand-primary) 8%,transparent);color:color-mix(in srgb,var(--brand-primary) 42%,var(--text-primary))}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__status--skipped{background:var(--surface-bg-soft);border-color:var(--border-soft);color:var(--text-secondary)}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__status--failed{background:var(--status-danger-bg);border-color:var(--status-danger-border);color:var(--status-danger-text)}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__status--pending,.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__status--running{background:color-mix(in srgb,var(--brand-primary) 12%,var(--surface-bg));border-color:color-mix(in srgb,var(--brand-primary) 48%,var(--border-soft));color:color-mix(in srgb,var(--brand-primary) 42%,var(--text-primary))}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__steps{display:grid;gap:10px}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__toggle{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 12px;border:0;border-radius:999px;background:rgba(0,0,0,0);color:var(--text-secondary);font-size:12px;font-weight:700;cursor:pointer;transition:all .18s ease}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__toggle svg{width:14px;height:14px;transition:transform .18s ease}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__toggle:hover{background:color-mix(in srgb,var(--text-primary) 7%,transparent);color:var(--text-primary)}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace.shop-trace--collapsed .shop-trace__header{margin-bottom:0}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace.shop-trace--collapsed .shop-trace__toggle svg{transform:rotate(-90deg)}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace.shop-trace--static .shop-trace__step{animation:none}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__step{padding:12px 14px;border-radius:14px;border:1px solid color-mix(in srgb,var(--border-soft) 58%,transparent);background:color-mix(in srgb,var(--surface-bg-elevated) 78%,transparent);box-shadow:0 8px 22px color-mix(in srgb,var(--text-primary) 4%,transparent);animation:shop-trace-step-in .26s ease both}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__step-main{display:flex;align-items:flex-start;gap:12px;min-width:0;flex:1}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__step-index{display:inline-flex;align-items:center;justify-content:center;min-width:72px;height:26px;padding:0 10px;border-radius:999px;border:1px solid color-mix(in srgb,var(--brand-primary) 18%,var(--border-soft));flex-shrink:0;font-size:11px;font-weight:800;color:color-mix(in srgb,var(--brand-primary) 42%,var(--text-primary));background:color-mix(in srgb,var(--brand-primary) 9%,var(--surface-bg))}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__step-copy{min-width:0;display:flex;flex-direction:column;gap:6px;flex:1}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__step-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__step-title{font-size:14px;line-height:1.45;font-weight:750;color:var(--text-primary)}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__step-summary{margin:0;font-size:13px;line-height:1.6;color:var(--text-secondary)}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__step-meta{display:inline-flex;align-items:center;gap:8px;flex-shrink:0}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__status--inline{min-height:22px;padding:0 9px;border:1px solid color-mix(in srgb,var(--border-soft) 70%,transparent)}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__duration{min-height:22px}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__collapsed-note{margin-top:10px;font-size:12px;line-height:1.5;color:var(--text-secondary)}@media(max-width:768px){.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace{padding:12px}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__header{flex-direction:column}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__header-actions{width:100%;justify-content:space-between}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__trust{flex-wrap:nowrap;margin-right:-12px;padding-bottom:2px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__trust::-webkit-scrollbar{display:none}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__trust-chip,.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__trust-group{flex-shrink:0}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__trust-group{min-width:min(300px,100vw - 72px);scroll-snap-align:start}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__trust-chips{flex-wrap:nowrap;overflow:hidden}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__step-head{flex-direction:column}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .shop-trace .shop-trace__step-meta{width:100%;justify-content:flex-start;flex-wrap:wrap}}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .markdown-body{width:100%;overflow-x:auto}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .markdown-body p{display:block;margin-top:0;margin-bottom:1.25em!important}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .markdown-body>:last-child{margin-bottom:0!important}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .markdown-body h1,.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .markdown-body h2,.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .markdown-body h3,.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .markdown-body h4,.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .markdown-body h5,.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .markdown-body h6{margin-top:1.5em!important;margin-bottom:1em!important;font-weight:700;line-height:1.3;color:var(--color-fg)}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .markdown-body h1,.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .markdown-body h2{padding-bottom:.3em;border-bottom:1px solid var(--border-color)}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .markdown-body ol,.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .markdown-body ul{padding-left:2em!important;margin-bottom:1.25em!important}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .markdown-body ul{list-style:disc outside!important}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .markdown-body ol{list-style:decimal outside!important}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .markdown-body li{margin-bottom:.25em}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .markdown-body table{width:100%!important;display:table;border-collapse:collapse;margin-bottom:1.25em!important;border:1px solid var(--border-color)}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .markdown-body table tr{background:var(--color-bg);border-top:1px solid var(--border-color)}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .markdown-body table tr:nth-child(2n){background:var(--ant-table-header-bg)}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .markdown-body table td,.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .markdown-body table th{padding:10px 14px;border:1px solid var(--border-color);text-align:left;word-break:break-word}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .markdown-body table th{font-weight:600;background:var(--ant-table-header-bg);white-space:nowrap}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .markdown-body pre{padding:16px;margin-bottom:1.25em!important;background:var(--color-icon-bg);border-radius:6px;overflow:auto}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .markdown-body code{font-family:monospace;font-size:85%;background:color-mix(in srgb,var(--text-muted) 20%,transparent);padding:.2em .4em;border-radius:6px}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .markdown-body pre code{background:rgba(0,0,0,0);padding:0}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .markdown-body blockquote{padding:0 1em;margin-bottom:1.25em!important;color:var(--color-li);border-left:.25em solid var(--border-color)}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .markdown-body b,.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .markdown-body strong{font-weight:700}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .markdown-body a{color:var(--text-primary,var(--color-text));text-decoration:none;font-weight:600}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .markdown-body a:hover{text-decoration:underline}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .analysis-card{margin:0 0 20px;padding:18px;border:1px solid var(--border-soft);border-radius:var(--card-radius);background:linear-gradient(180deg,color-mix(in srgb,var(--accent-coral) 10%,var(--surface-bg)),var(--surface-bg));box-shadow:var(--soft-shadow)}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .analysis-card__header{display:flex;flex-direction:column;gap:4px;margin-bottom:10px}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .analysis-card__eyebrow{display:inline-flex;align-items:center;width:fit-content;min-height:24px;padding:0 10px;border-radius:999px;background:color-mix(in srgb,var(--brand-primary) 12%,var(--surface-bg));border:1px solid color-mix(in srgb,var(--brand-primary) 42%,var(--border-soft));color:color-mix(in srgb,var(--brand-primary) 42%,var(--text-primary));font-size:11px;font-weight:800;letter-spacing:0;text-transform:uppercase}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .analysis-card__title{margin:0;font-size:17px;line-height:1.35;color:var(--text-primary)}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .analysis-card__body{min-width:0}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .analysis-card__body .markdown-body{color:var(--text-primary)}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .analysis-card__body .markdown-body a{color:var(--text-highlight,var(--brand-primary,var(--text-primary)))}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .analysis-card__body .markdown-body>:last-child{margin-bottom:0!important}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .error-inline{display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .error-inline .markdown-body{display:inline;width:auto}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .error-inline .markdown-body p{display:inline;margin:0!important}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .chat-retry-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:76px;min-height:34px;border-radius:999px;border:1.5px solid var(--status-danger-border);background:var(--status-danger-bg);color:var(--status-danger-text);padding:6px 14px;font-size:13px;font-weight:700;line-height:1;white-space:nowrap;cursor:pointer;box-shadow:0 8px 18px color-mix(in srgb,var(--status-danger-solid) 14%,transparent),0 0 0 1px rgb(var(--color-static-white-rgb)/75%) inset;transition:all .18s ease}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .chat-retry-btn .icon{width:14px;height:14px;flex:0 0 14px}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .chat-retry-btn span{display:inline-flex;align-items:center;color:currentColor;line-height:1}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .chat-retry-btn:hover{background:var(--status-danger-solid);border-color:var(--status-danger-solid);color:var(--color-static-white);box-shadow:0 10px 22px color-mix(in srgb,var(--status-danger-solid) 22%,transparent);transform:translateY(-1px)}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .chat-retry-btn:focus-visible{outline:3px solid color-mix(in srgb,var(--status-danger-solid) 22%,transparent);outline-offset:2px}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .typing-indicator{position:relative;display:flex;align-items:center;gap:7px;width:max-content;min-height:42px;padding:10px 18px;border:1px solid var(--border-soft);border-radius:999px;background:color-mix(in srgb,var(--surface-bg-elevated) 92%,transparent);box-shadow:0 10px 24px color-mix(in srgb,var(--brand-primary) 10%,transparent);overflow:hidden}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .typing-indicator:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 18% 15%,color-mix(in srgb,var(--accent-coral) 18%,transparent),transparent 46%);pointer-events:none}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .typing-indicator .typing-indicator__orb{position:relative;z-index:1;width:8px;height:8px;display:inline-block;border-radius:50%;background:var(--brand-primary-solid,var(--brand-primary));background-image:var(--brand-primary-gradient,none);animation:bounce 1.35s ease-in-out infinite both}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .typing-indicator .typing-indicator__orb:first-child{animation-delay:-.32s}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .typing-indicator .typing-indicator__orb:nth-child(2){background:var(--accent-mint);animation-delay:-.16s}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .typing-indicator .typing-indicator__orb:nth-child(3){background:var(--accent-yellow)}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .typing-indicator .typing-indicator__star{position:absolute;z-index:1;width:8px;height:8px;color:var(--brand-primary);animation:typing-sparkle-star 1.6s ease-in-out infinite}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .typing-indicator .typing-indicator__star:after,.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .typing-indicator .typing-indicator__star:before{content:"";position:absolute;inset:0;margin:auto;width:100%;height:2px;border-radius:999px;background:currentColor}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .typing-indicator .typing-indicator__star:after{transform:rotate(90deg)}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .typing-indicator .typing-indicator__star--one{top:8px;right:10px}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .typing-indicator .typing-indicator__star--two{left:10px;bottom:8px;color:var(--accent-coral);transform:scale(.72);animation-delay:.2s}.chat-layout .chat-interface .chat-scroll-area .chat-message.user{align-items:flex-end}.chat-layout .chat-interface .chat-scroll-area .chat-message.user .bubble{max-width:85%;padding:14px 20px;background:var(--color-bg);border-radius:12px;text-align:left}.chat-layout .chat-interface .chat-scroll-area .chat-message .message-frame--buyer-agent>.bubble:has(>.product-list-box){width:100%;max-width:100%;padding:0;border-radius:0;background:rgba(0,0,0,0)}.chat-layout .chat-interface .chat-scroll-area .chat-message.assistant{align-items:flex-start}.chat-layout .chat-interface .chat-scroll-area .chat-message.assistant .bubble{width:100%;padding-bottom:20px}@media(max-width:768px){.chat-layout .chat-interface .chat-scroll-area .chat-message .message-speaker{gap:8px;margin-bottom:8px}.chat-layout .chat-interface .chat-scroll-area .chat-message .message-speaker__avatar{flex-basis:32px;width:32px;height:32px;border-radius:10px}.chat-layout .chat-interface .chat-scroll-area .chat-message .message-speaker__avatar>svg{width:20px;height:20px}.chat-layout .chat-interface .chat-scroll-area .chat-message .message-speaker__user-initial{font-size:19px}.chat-layout .chat-interface .chat-scroll-area .chat-message .message-speaker__name{max-width:min(42vw,190px);font-size:12px}.chat-layout .chat-interface .chat-scroll-area .chat-message .message-speaker__role{min-height:20px;padding:0 7px;font-size:10px}.chat-layout .chat-interface .chat-scroll-area .chat-message .analysis-card{padding:14px;margin-bottom:16px}.chat-layout .chat-interface .chat-scroll-area .chat-message .analysis-card__title{font-size:15px}}@keyframes shop-trace-step-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.product-list-box{background:var(--surface-bg);border:1px solid var(--border-soft);border-radius:var(--card-radius);box-shadow:var(--soft-shadow);padding:20px clamp(10px,10px + 8*(100vw - 430px)/1010,18px)}.product-list-box.product-list-box--reveal{opacity:0;transform:translateY(8px);animation:product-list-reveal .36s ease forwards}.product-list-box .product-list{width:100%;margin:18px 0 12px}.product-list-box .product-list .explore-grid{display:grid;grid-auto-flow:row;grid-auto-columns:unset;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(10px,10px + 6*(100vw - 430px)/1010,16px);margin-top:12px;padding:0;width:100%;overflow-x:visible;overscroll-behavior-x:auto;scroll-snap-type:none;scrollbar-width:auto}@media(max-width:1080px){.product-list-box .product-list .explore-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:871px){.product-list-box .product-list .explore-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:420px){.product-list-box .product-list .explore-grid{grid-template-columns:repeat(1,minmax(0,1fr))}}.product-list-box .product-list .explore-grid .explore-card{margin-bottom:0!important}.product-list-box .product-list .selection-hint{margin-top:12px;padding:10px;background:color-mix(in srgb,var(--accent-green) 18%,var(--surface-bg));border:1px solid color-mix(in srgb,var(--accent-green) 36%,var(--border-soft));border-radius:12px;color:var(--text-primary);text-align:center;font-size:14px}.product-list-box.product-list-box--travel .product-list .explore-grid{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:980px){.product-list-box.product-list-box--travel .product-list .explore-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.product-list-box.product-list-box--travel .product-list .explore-grid{grid-template-columns:repeat(1,minmax(0,1fr))}}.image-generate-card{display:flex;flex-direction:column;gap:16px}.image-generate-card .image-generate-card__preview{position:relative;width:min(100%,520px);align-self:flex-start;overflow:hidden;border-radius:24px;border:1px solid var(--border-color);background:linear-gradient(180deg,color-mix(in srgb,var(--text-primary) 2%,transparent),color-mix(in srgb,var(--text-primary) 4%,transparent))}.image-generate-card .image-generate-card__image-button{display:block;width:100%;padding:0;border:0;background:rgba(0,0,0,0);cursor:zoom-in;text-align:left}.image-generate-card .image-generate-card__skeleton{display:block;min-height:360px}.image-generate-card .image-generate-card__image{display:block;width:100%;height:auto;max-height:none;object-fit:cover;background:var(--surface-bg-elevated);border-radius:20px}.image-generate-card .image-generate-card__action{position:absolute;top:16px;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:0;border-radius:999px;background:color-mix(in srgb,var(--surface-bg-elevated) 92%,transparent);color:var(--color-fg);box-shadow:0 8px 24px color-mix(in srgb,var(--text-primary) 12%,transparent);cursor:pointer;transition:transform .18s ease,background .18s ease;z-index:1}.image-generate-card .image-generate-card__action svg{width:18px;height:18px}.image-generate-card .image-generate-card__action:hover{transform:translateY(-1px);background:var(--surface-bg-elevated)}.image-generate-card .image-generate-card__action--edit{left:16px}.image-generate-card .image-generate-card__action--download{right:16px}.image-generate-preview-modal.product-gallery-modal .ui-modal__mask{background:rgb(var(--color-static-black-rgb)/78%);backdrop-filter:blur(10px)}.image-generate-preview-modal.product-gallery-modal .ui-modal__box{width:min(1120px,100vw - 32px)!important;max-height:calc(100vh - 32px);overflow:visible;padding:0;border-radius:0;background:rgba(0,0,0,0);box-shadow:none}.image-generate-preview-modal.product-gallery-modal .ui-modal__body{padding:0}.image-generate-preview-modal.product-gallery-modal .product-gallery-modal__content{color:var(--color-static-white)}.image-generate-preview-modal.product-gallery-modal .product-gallery-modal__toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.image-generate-preview-modal.product-gallery-modal .product-gallery-modal__title-wrap{min-width:0}.image-generate-preview-modal.product-gallery-modal .product-gallery-modal__title{overflow:hidden;color:var(--color-static-white);font-size:18px;font-weight:600;line-height:24px;text-overflow:ellipsis;white-space:nowrap}.image-generate-preview-modal.product-gallery-modal .product-gallery-modal__count{margin-top:4px;color:rgb(var(--color-static-white-rgb)/70%);font-size:13px;line-height:18px}.image-generate-preview-modal.product-gallery-modal .product-gallery-modal__zoom-controls{display:flex;flex:0 0 auto;align-items:center;gap:8px;padding:6px;border:1px solid rgb(var(--color-static-white-rgb)/18%);border-radius:999px;background:rgb(var(--color-static-white-rgb)/10%)}.image-generate-preview-modal.product-gallery-modal .product-gallery-modal__zoom-controls button{min-width:34px;height:34px;padding:0 12px;border:0;border-radius:999px;background:rgb(var(--color-static-white-rgb)/14%);color:var(--color-static-white);cursor:pointer;font-size:13px;font-weight:600}.image-generate-preview-modal.product-gallery-modal .product-gallery-modal__zoom-controls button:disabled{cursor:not-allowed;opacity:.38}.image-generate-preview-modal.product-gallery-modal .product-gallery-modal__zoom-controls span{min-width:48px;color:rgb(var(--color-static-white-rgb)/82%);font-size:13px;font-weight:600;line-height:18px;text-align:center}.image-generate-preview-modal.product-gallery-modal .product-gallery-modal__close{flex:0 0 auto;width:36px;height:36px;border:0;border-radius:999px;background:rgb(var(--color-static-white-rgb)/14%);color:var(--color-static-white);cursor:pointer;font-size:18px;line-height:1}.image-generate-preview-modal.product-gallery-modal .product-gallery-modal__stage-wrap{position:relative;min-height:min(680px,100vh - 132px)}.image-generate-preview-modal.product-gallery-modal .product-gallery-modal__stage{display:flex;align-items:center;justify-content:center;min-height:min(680px,100vh - 132px);max-height:calc(100vh - 132px);padding:20px 64px;overflow:auto}.image-generate-preview-modal.product-gallery-modal .product-gallery-modal__stage img{width:auto;max-width:100%;max-height:calc(100vh - 172px);object-fit:contain;transform-origin:center;transition:transform .18s ease}@media(max-width:590px){.image-generate-preview-modal.product-gallery-modal .ui-modal__box{width:calc(100vw - 20px)!important}.image-generate-preview-modal.product-gallery-modal .product-gallery-modal__toolbar{align-items:flex-start;flex-wrap:wrap}.image-generate-preview-modal.product-gallery-modal .product-gallery-modal__zoom-controls{order:3;width:100%;justify-content:center}.image-generate-preview-modal.product-gallery-modal .product-gallery-modal__stage{min-height:calc(100vh - 190px);max-height:calc(100vh - 190px);padding:12px}}@media(max-width:768px){.product-list-box{padding:16px 12px}.product-list-box .product-list .explore-grid{gap:12px}.image-generate-card .image-generate-card__preview{width:100%}.image-generate-card .image-generate-card__skeleton{min-height:280px}}@keyframes product-list-reveal{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.product-list-box.product-list-box--reveal{animation:none;opacity:1;transform:none}}