@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 .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,#171717);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,#171717)}.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:color-mix(in srgb,var(--danger-color) 12%,transparent);border-color:color-mix(in srgb,var(--danger-color) 24%,var(--border-soft));color:var(--text-primary)}.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,#f6f8fa)}.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,#f6f8fa);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,#f6f8fa);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:rgba(175,184,193,.2);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 color-mix(in srgb,var(--danger-color,#ef4444) 72%,#ffffff);background:color-mix(in srgb,var(--danger-color,#ef4444) 10%,#ffffff);color:var(--danger-color,#ef4444);padding:6px 14px;font-size:13px;font-weight:700;line-height:1;white-space:nowrap;cursor:pointer;box-shadow:0 8px 18px rgba(239,68,68,.14),inset 0 0 0 1px hsla(0,0%,100%,.75);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(--danger-color,#ef4444);border-color:var(--danger-color,#ef4444);color:#fff;box-shadow:0 10px 22px rgba(239,68,68,.22);transform:translateY(-1px)}.chat-layout .chat-interface .chat-scroll-area .chat-message .bubble .chat-retry-btn:focus-visible{outline:3px solid rgba(239,68,68,.22);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,rgba(18,16,16,.02),rgba(18,16,16,.04))}.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:#fff;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:hsla(0,0%,100%,.92);color:var(--color-fg);box-shadow:0 8px 24px rgba(18,16,16,.12);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:#fff}.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:rgba(0,0,0,.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:#fff}.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:#fff;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:hsla(0,0%,100%,.7);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 hsla(0,0%,100%,.18);border-radius:999px;background:hsla(0,0%,100%,.1)}.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:hsla(0,0%,100%,.14);color:#fff;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:hsla(0,0%,100%,.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:hsla(0,0%,100%,.14);color:#fff;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}}.ModelSelector_modelSelector__bMfYP{position:relative;z-index:20;flex:0 0 auto}.ModelSelector_selectorTrigger__BVe_X{display:inline-flex;align-items:center;gap:7px;height:38px;max-width:none;padding:0 11px;border:0;border-radius:12px;background:var(--surface-bg-elevated);color:var(--text-primary);cursor:pointer;font:inherit;font-size:14px;font-weight:600;transition:background .18s ease,box-shadow .18s ease}.ModelSelector_selectorTrigger__BVe_X.ModelSelector_openTrigger__xZJGo,.ModelSelector_selectorTrigger__BVe_X:hover{background:color-mix(in srgb,var(--brand-primary) 6%,var(--surface-bg-elevated));box-shadow:0 0 0 2px color-mix(in srgb,var(--brand-primary) 12%,transparent)}.ModelSelector_brandIcon__9K46S,.ModelSelector_checkIcon__ohTvC,.ModelSelector_triggerArrow__abzcm{flex:0 0 auto}.ModelSelector_brandIcon__9K46S{position:relative;display:inline-flex;width:20px;height:20px;align-items:center;justify-content:center}.ModelSelector_brandIcon__9K46S svg{display:block;width:100%;height:100%}.ModelSelector_openAiLogoDark__Myxpa,[data-theme=dark] .ModelSelector_openAiLogoLight__LMHWt{display:none!important}[data-theme=dark] .ModelSelector_openAiLogoDark__Myxpa{display:block!important}.ModelSelector_triggerText__Y774S{white-space:nowrap}.ModelSelector_triggerArrow__abzcm{width:13px;height:13px;transition:transform .18s ease}.ModelSelector_triggerArrow__abzcm.ModelSelector_open__jQS0O{transform:rotate(180deg)}.ModelSelector_dropdownMenu__elAIw{position:absolute;top:calc(100% + 10px);right:0;width:min(360px,100vw - 32px);padding:10px;border:0;border-radius:14px;background:var(--surface-bg-elevated);box-shadow:var(--card-shadow);animation:ModelSelector_menu-in__EU7v6 .16s ease}.prompt-block.is-sticky .ModelSelector_dropdownMenu__elAIw,.unified-input--chat .ModelSelector_dropdownMenu__elAIw{top:auto;bottom:calc(100% + 10px);transform-origin:right bottom;animation-name:ModelSelector_menu-in-up__hmEoh}.ModelSelector_categoryTabs__w41_t{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:4px;border-radius:10px;background:var(--surface-bg-soft)}.ModelSelector_categoryTabs__w41_t button{height:38px;border:1px solid rgba(0,0,0,0);border-radius:8px;background:rgba(0,0,0,0);color:var(--text-secondary);cursor:pointer;font:inherit;font-size:14px;font-weight:600}.ModelSelector_categoryTabs__w41_t .ModelSelector_activeTab__HNPG5{border-color:color-mix(in srgb,var(--brand-primary) 42%,var(--border-soft));background:color-mix(in srgb,var(--brand-primary) 10%,var(--surface-bg-elevated));color:var(--text-primary)}.ModelSelector_sectionLabel__rJD0Z{padding:13px 8px 7px;color:var(--text-muted);font-size:12px;line-height:16px}.ModelSelector_menuItems__zFLBM{display:flex;flex-direction:column;gap:2px}.ModelSelector_menuItem__8GfSo{display:grid;grid-template-columns:22px minmax(0,1fr) 18px;align-items:center;gap:10px;width:100%;min-height:58px;padding:8px 10px;border:1px solid rgba(0,0,0,0);border-radius:10px;background:rgba(0,0,0,0);color:var(--text-primary);cursor:pointer;text-align:left}.ModelSelector_menuItem__8GfSo:hover{background:var(--surface-bg-soft)}.ModelSelector_menuItem__8GfSo.ModelSelector_selected__4dp_F{border-color:color-mix(in srgb,var(--brand-primary) 34%,var(--border-soft));background:color-mix(in srgb,var(--brand-primary) 12%,var(--surface-bg-elevated))}.ModelSelector_itemContent__I7rtf{display:flex;min-width:0;flex-direction:column;gap:2px}.ModelSelector_itemName__ABScP{overflow:hidden;color:var(--text-primary);font-size:15px;font-weight:650;line-height:20px;text-overflow:ellipsis;white-space:nowrap}.ModelSelector_itemSubtitle__wGEx1{color:var(--text-muted);font-size:12px;line-height:16px}.ModelSelector_checkIcon__ohTvC{width:17px;height:17px;color:var(--brand-primary)}@keyframes ModelSelector_menu-in__EU7v6{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}@keyframes ModelSelector_menu-in-up__hmEoh{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media(max-width:767px){.ModelSelector_selectorTrigger__BVe_X{max-width:none;gap:5px;padding:0 8px}.ModelSelector_brandIcon__9K46S{width:18px;height:18px}.ModelSelector_dropdownMenu__elAIw{right:-40px}}.unified-input-shell{position:relative;width:100%;display:flex;flex-direction:column;gap:0}.back-to-latest-row{position:absolute;right:0;bottom:calc(100% + 16px);z-index:2;display:flex;justify-content:flex-end;pointer-events:none}.back-to-latest{display:inline-flex;align-items:center;justify-content:center;width:45px;height:45px;border-radius:999px;border:1px solid var(--border-soft);background:var(--surface-bg);color:var(--text-primary);box-shadow:var(--soft-shadow);cursor:pointer;pointer-events:auto;transition:all .15s ease}.back-to-latest:hover{transform:translateY(-2px);box-shadow:0 6px 18px rgba(0,0,0,.08)}.unified-input{background:rgba(0,0,0,0)}.unified-input .unified-input-container{width:100%;flex:1;border:1px solid var(--border-soft);border-radius:var(--card-radius);padding:18px;background:var(--surface-bg);box-shadow:var(--soft-shadow);transition:border-color .2s ease,box-shadow .2s ease,background .2s ease}.unified-input .unified-input-container:focus-within{border-color:color-mix(in srgb,var(--brand-primary) 48%,var(--border-soft));box-shadow:var(--input-focus-shadow)}.unified-input .unified-input-container .input-reference{display:flex;align-items:center;gap:12px;padding:10px 12px;margin-bottom:16px;border:1px solid var(--border-soft);border-radius:14px;background:var(--surface-bg-soft)}.unified-input .unified-input-container .input-reference__thumb{width:48px;height:48px;flex:0 0 48px;overflow:hidden;border-radius:12px;background:var(--surface-bg-soft)}.unified-input .unified-input-container .input-reference__thumb-image{display:block;width:100%;height:100%;object-fit:cover}.unified-input .unified-input-container .input-reference__meta{min-width:0;flex:1}.unified-input .unified-input-container .input-reference__title{font-size:13px;line-height:1.4;font-weight:600;color:var(--text-primary)}.unified-input .unified-input-container .input-reference__desc{margin-top:4px;font-size:12px;line-height:1.4;color:var(--text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.unified-input .unified-input-container .input-reference__remove{width:28px;height:28px;flex:0 0 28px;border:0;border-radius:999px;background:var(--surface-bg-elevated);color:var(--text-primary);font-size:18px;line-height:1;cursor:pointer;transition:background .18s ease,transform .18s ease}.unified-input .unified-input-container .input-reference__remove:hover{background:rgba(18,16,16,.1);transform:translateY(-1px)}.unified-input .unified-input-container .input-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:minmax(28px,auto) 40px;align-items:end;column-gap:12px;row-gap:18px;margin-bottom:0}.unified-input .unified-input-container .input-row .ui-input{grid-column:1/-1;grid-row:1;min-width:0;width:100%;max-width:100%;border-radius:0;border:none;padding:0;font-size:16px;line-height:24px;background:rgba(0,0,0,0);align-items:center;overflow:hidden}.unified-input .unified-input-container .input-row .ui-input__inner{display:block;width:100%;max-width:100%;box-sizing:border-box;min-height:24px;padding:7px 6px 5px;line-height:24px;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;overflow-x:hidden;overflow-y:hidden;resize:none;scrollbar-width:none}.unified-input .unified-input-container .input-row .ui-input__inner::-webkit-scrollbar{display:none}.unified-input .unified-input-container .input-row .commerce-toggle{grid-column:1;grid-row:2;display:inline-flex;flex:0 0 auto;align-items:center;gap:7px;height:36px;padding:0 10px;border:1px solid var(--border-soft);border-radius:999px;background:var(--surface-bg-elevated);color:var(--text-primary);cursor:pointer;font:inherit;font-size:13px;font-weight:600;white-space:nowrap;transition:border-color .18s ease,background .18s ease}.unified-input .unified-input-container .input-row .commerce-toggle:hover{border-color:color-mix(in srgb,var(--brand-primary) 42%,var(--border-soft))}.unified-input .unified-input-container .input-row .commerce-toggle:disabled{cursor:not-allowed;opacity:.55}.unified-input .unified-input-container .input-row .commerce-toggle.is-active{border-color:color-mix(in srgb,var(--brand-primary) 52%,var(--border-soft));background:color-mix(in srgb,var(--brand-primary) 8%,var(--surface-bg-elevated))}.unified-input .unified-input-container .input-row .commerce-toggle.is-active .commerce-toggle__track{background:var(--brand-primary);box-shadow:none}.unified-input .unified-input-container .input-row .commerce-toggle.is-active .commerce-toggle__thumb{transform:translateX(12px)}.unified-input .unified-input-container .input-row .commerce-toggle__track{position:relative;display:inline-flex;width:28px;height:16px;flex:0 0 auto;align-items:center;padding:2px;border-radius:999px;background:color-mix(in srgb,var(--text-muted) 38%,var(--surface-bg-soft));box-shadow:inset 0 0 0 1px var(--border-soft);transition:background .18s ease}.unified-input .unified-input-container .input-row .commerce-toggle__thumb{width:12px;height:12px;border-radius:50%;background:var(--surface-bg-elevated);box-shadow:0 1px 3px rgba(0,0,0,.2);transition:transform .18s ease}.unified-input .unified-input-container .input-row .tool-menu-anchor{position:relative;flex:0 0 auto}.unified-input .unified-input-container .input-row .plus-tool-trigger{width:40px;height:40px;border:0;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;color:var(--text-primary);background:rgba(0,0,0,0);cursor:pointer;transition:background .18s ease,transform .18s ease,color .18s ease}.unified-input .unified-input-container .input-row .plus-tool-trigger.is-open,.unified-input .unified-input-container .input-row .plus-tool-trigger:hover{background:var(--surface-bg-soft);color:var(--brand-primary)}.unified-input .unified-input-container .input-row .plus-tool-trigger:disabled{cursor:not-allowed;color:var(--text-muted)}.unified-input .unified-input-container .input-row .plus-tool-trigger__icon{width:18px;height:18px}.unified-input .unified-input-container .input-row .tool-menu{position:absolute;left:0;bottom:calc(100% + 12px);min-width:190px;padding:8px;border-radius:14px;border:1px solid var(--border-soft);background:var(--surface-bg-elevated);box-shadow:var(--card-shadow);z-index:12;display:flex;flex-direction:column;gap:5px}.unified-input .unified-input-container .input-row .tool-menu:after{content:"";position:absolute;left:var(--tool-menu-arrow-left,22px);top:calc(100% - 6px);width:12px;height:12px;background:var(--surface-bg-elevated);border-right:1px solid var(--border-soft);border-bottom:1px solid var(--border-soft);transform:translateX(-50%) rotate(45deg)}.unified-input .unified-input-container .input-row .tool-menu-group{position:relative;display:flex}.unified-input .unified-input-container .input-row .tool-menu-group:after{content:"";position:absolute;top:-8px;right:-12px;width:12px;height:calc(100% + 16px)}.unified-input .unified-input-container .input-row .tool-menu-item{width:100%;min-height:40px;border:0;border-radius:10px;background:rgba(0,0,0,0);color:var(--text-primary);display:flex;align-items:center;gap:10px;padding:10px 14px;font-size:13px;font-weight:600;cursor:pointer;text-align:left;transition:background .18s ease,color .18s ease}.unified-input .unified-input-container .input-row .tool-menu-item:hover{background:color-mix(in srgb,var(--brand-primary) 20%,var(--surface-bg));color:var(--text-primary);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--brand-primary) 28%,transparent)}.unified-input .unified-input-container .input-row .tool-menu-item--active{background:color-mix(in srgb,var(--brand-primary) 22%,var(--surface-bg));color:var(--text-primary);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--brand-primary) 42%,transparent)}.unified-input .unified-input-container .input-row .tool-menu-item__icon{width:18px;height:18px;flex:0 0 18px}.unified-input .unified-input-container .input-row .tool-menu-item__arrow{margin-left:auto;color:var(--text-muted);font-size:18px;line-height:1}.unified-input .unified-input-container .input-row .tool-submenu{position:absolute;left:calc(100% + 10px);top:-8px;min-width:190px;padding:8px;border-radius:14px;border:1px solid var(--border-soft);background:var(--surface-bg-elevated);box-shadow:var(--card-shadow);display:flex;flex-direction:column;gap:5px;opacity:0;visibility:hidden;pointer-events:none;transform:translateX(-4px);transition:opacity .16s ease,transform .16s ease,visibility .16s ease}.unified-input .unified-input-container .input-row .tool-menu-group:focus-within .tool-submenu,.unified-input .unified-input-container .input-row .tool-menu-group:hover .tool-submenu{opacity:1;visibility:visible;pointer-events:auto;transform:translateX(0)}.unified-input .unified-input-container .input-row .input-actions{grid-column:3;grid-row:2;display:flex;align-items:center;flex:0 0 auto;gap:10px}.unified-input .unified-input-container .input-row .input-actions .add-btn{color:var(--text-primary);cursor:pointer;border-radius:999px;border:2px solid var(--text-primary);display:flex;align-items:center;justify-content:center}.unified-input .unified-input-container .input-row .input-actions .icon-btn{width:36px;height:36px;min-width:36px}.unified-input .unified-input-container .input-row .input-actions .icon-btn .icon{min-width:24px;width:24px;min-height:24px;height:24px;color:currentColor}.unified-input .unified-input-container .input-row .input-actions .chat-cancel{width:36px;height:36px;border-radius:36px;cursor:pointer;transition:all .36s;display:flex;align-items:center;justify-content:center;background:var(--surface-bg-elevated);position:relative}.unified-input .unified-input-container .input-row .input-actions .chat-cancel .icon{width:14px;height:14px;border-radius:2px;background:var(--brand-primary-solid,var(--brand-primary));background-image:var(--brand-primary-gradient,none)}.unified-input .unified-input-container .input-row .input-actions .chat-cancel:hover{opacity:.8}.unified-input .unified-input-container .input-row .input-actions .ui-button:disabled{opacity:1;background:var(--surface-bg-elevated);border-color:var(--border-soft);box-shadow:none}.unified-input .unified-input-container .input-row .input-actions .ui-button:disabled svg{color:var(--text-muted)}.unified-input .unified-input-container .input-row--expanded .ui-input__inner{padding-top:0;padding-bottom:0}.input-tagline{margin-top:14px;text-align:center;color:var(--text-secondary);font-size:14px;line-height:20px;min-height:20px}.unified-input--home .unified-input-container{min-height:136px;padding:18px 20px 14px;border-radius:28px;background:var(--surface-bg);box-shadow:0 10px 28px color-mix(in srgb,var(--text-primary) 8%,transparent)}.unified-input--home .input-row{min-height:102px}.unified-input--home .input-row .ui-input{align-self:stretch;font-size:17px;line-height:26px}.unified-input--home .input-row .ui-input__inner{min-height:28px;max-height:192px;padding:0 2px;line-height:26px;overflow-y:auto}.unified-input--home .mode-toggles{align-items:flex-end}.unified-input--home .input-actions .icon-btn{background:var(--surface-bg-elevated);border-color:var(--border-soft);box-shadow:none;color:var(--text-primary)}.unified-input--home .input-actions .icon-btn:hover{background:color-mix(in srgb,var(--brand-primary) 16%,var(--surface-bg));border-color:color-mix(in srgb,var(--brand-primary) 34%,var(--border-soft));color:var(--brand-primary-hover)}.unified-input--home .input-actions .icon-btn:disabled{background:var(--surface-bg-elevated);border-color:var(--border-soft);box-shadow:none}[data-color-scheme=downvera-red] .unified-input .input-actions .send-btn.ready{border-color:var(--icon-button-bg);background:var(--icon-button-bg);color:var(--icon-button-color)}[data-color-scheme=downvera-red] .unified-input .input-actions .send-btn.ready:hover{border-color:var(--icon-button-hover-bg);background:var(--icon-button-hover-bg);color:var(--icon-button-color)}.unified-input--chat{padding:0 0 8px;background:var(--color-bg4)}.unified-input--chat .unified-input-container{padding:16px 18px 14px;border-radius:24px}.unified-input--chat .input-tagline{margin-top:10px;font-size:13px;line-height:18px}.unified-input--expanded .unified-input-container{border-radius:24px}@media(max-width:768px){.unified-input .unified-input-container{padding:15px;border-radius:22px}.unified-input .unified-input-container .input-reference{padding:10px}.unified-input .unified-input-container .input-reference__thumb{width:42px;height:42px;flex-basis:42px}.unified-input .unified-input-container .mode-toggles{align-items:stretch;gap:12px}.unified-input .unified-input-container .mode-toggles .mode-pill-box{flex:1;overflow:visible;flex-wrap:nowrap;justify-content:flex-start;scrollbar-width:none}.unified-input .unified-input-container .mode-toggles .mode-pill-box::-webkit-scrollbar{display:none}.unified-input .unified-input-container .mode-toggles .mode-pill-box .ui-button{flex:0 0 auto;white-space:nowrap}.unified-input .unified-input-container .mode-toggles .mode-pill-box .tool-trigger{min-width:72px}.unified-input .unified-input-container .mode-toggles .mode-pill-box .tool-trigger span{display:inline-flex;align-items:center;flex-wrap:nowrap;white-space:nowrap}.unified-input .unified-input-container .mode-toggles .mode-pill-box .tool-menu{z-index:30}.unified-input--home .unified-input-container{min-height:122px;padding:14px;border-radius:22px}.unified-input--home .input-row{min-height:92px;row-gap:14px}.unified-input--home .input-row .ui-input{font-size:16px;line-height:24px}.unified-input--home .input-row .ui-input__inner{min-height:24px;max-height:144px;padding:0 2px;line-height:24px;overflow-y:auto}.unified-input--home .input-row .tool-menu{min-width:176px}.unified-input--home .input-row .tool-submenu{position:static;min-width:0;width:100%;margin-top:5px;padding:6px 0 0 18px;border:0;box-shadow:none;background:rgba(0,0,0,0);opacity:1;visibility:visible;pointer-events:auto;transform:none}.unified-input--home .input-row .tool-submenu .tool-menu-item{width:calc(100% - 6px)}.unified-input--expanded .unified-input-container{border-radius:18px}}.unified-input--with-reference .unified-input-container{border-radius:12px}.chat-layout{--chat-sidebar-width:max(235px,clamp(160px,160px + 96 * (100vw - 430px)/1010,256px));--chat-footer-bottom-gap:0px}html[data-sidebar-collapsed="1"] .chat-layout{--chat-sidebar-width:80px}.chat-layout .chat-interface{flex:1;display:flex;flex-direction:column;width:100%;position:relative;min-height:0;height:auto;overflow:visible}.chat-layout .chat-interface .chat-scroll-area{flex:1;height:auto;min-height:0;overflow:visible;padding:30px 0 18px;position:relative}.chat-layout .chat-interface .chat-scroll-area:after{content:"";display:block;height:var(--chat-footer-clearance,calc(var(--chat-footer-height, 118px) + 24px));flex:0 0 auto}.chat-layout .chat-interface .chat-interface-loading{position:fixed;top:0;inset:0;z-index:2;display:flex;align-items:center;justify-content:center;background:color-mix(in srgb,var(--surface-bg) 18%,transparent);backdrop-filter:blur(2px);pointer-events:none}.chat-layout .chat-interface .chat-interface-loading__sparkle{padding:14px;border:1px solid var(--border-soft);border-radius:999px;background:color-mix(in srgb,var(--surface-bg-elevated) 90%,transparent);box-shadow:var(--card-shadow)}.chat-layout .chat-interface .chat-history-loader{position:sticky;top:12px;z-index:1;display:flex;justify-content:center;height:0;pointer-events:none}.chat-layout .chat-interface .chat-history-loader__sparkle{width:38px;height:38px;padding:7px;border:1px solid color-mix(in srgb,var(--brand-primary) 24%,var(--border-soft));border-radius:999px;background:color-mix(in srgb,var(--surface-bg-elevated) 72%,transparent);box-shadow:var(--soft-shadow);backdrop-filter:blur(14px) saturate(150%);-webkit-backdrop-filter:blur(14px) saturate(150%)}.chat-layout .chat-interface .chat-footer{position:fixed;right:0;bottom:0;left:var(--chat-sidebar-width);z-index:10;width:auto;box-sizing:border-box;padding:0 20px calc(var(--chat-footer-bottom-gap, 0px) + 6px);background:var(--color-bg4);transition:left .16s ease}.chat-layout .chat-interface .chat-footer .input-wrapper-bottom{width:100%;max-width:960px;margin:0 auto;height:auto}@media(max-width:767px){.chat-layout .chat-interface{--chat-sidebar-width:0px;--chat-footer-bottom-gap:env(safe-area-inset-bottom,0px);height:auto;overflow:visible}.chat-layout .chat-interface .chat-scroll-area{flex:1;height:auto;min-height:0;overflow:visible;padding:18px 0}.chat-layout .chat-interface .chat-footer{position:fixed;right:0;bottom:0;left:0;z-index:10;width:auto;padding:0 16px var(--chat-footer-bottom-gap,0);background:var(--color-bg4);transition:none}}.ui-modal.order-modal .ui-modal__box{border-radius:16px;border:1px solid var(--border-color);background:var(--color-bg)}.ui-modal.order-modal .modal-content{display:flex;flex-direction:column;gap:16px;padding:24px}.ui-modal.order-modal .modal-header{display:flex;align-items:center;justify-content:space-between}.ui-modal.order-modal .modal-header h3{font-size:22px;line-height:24px;font-weight:700;color:var(--color-text)}.ui-modal.order-modal .modal-header .close-btn{min-width:32px;width:32px;height:32px;padding:0;border-radius:50%;font-size:18px;line-height:1}.ui-modal.order-modal .product-summary{border:1px solid var(--border-color);background:var(--color-bg2);border-radius:12px;padding:12px 14px;display:flex;flex-direction:column;gap:8px}.ui-modal.order-modal .summary-row{display:flex;align-items:center;justify-content:space-between;font-size:20px}.ui-modal.order-modal .summary-row .label{color:var(--color-li)}.ui-modal.order-modal .summary-row .value{color:var(--color-text);text-align:right}.ui-modal.order-modal .summary-row .value.title{font-weight:600}.ui-modal.order-modal .summary-row .value.price{font-weight:700;color:var(--main-color)}.ui-modal.order-modal .error-tip{color:#d54941;font-size:12px}.ui-modal.order-modal .order-form{display:grid;gap:12px}.ui-modal.order-modal .form-group label{display:block;margin-bottom:8px;font-size:16px;color:var(--color-li)}.ui-modal.order-modal .ui-modal__box{padding:0;max-width:min(92vw,754px);border:1px solid var(--border-soft);border-radius:28px;overflow:hidden;background:radial-gradient(circle at 16% 0,color-mix(in srgb,var(--accent-coral) 24%,transparent),transparent 34%),linear-gradient(180deg,color-mix(in srgb,var(--surface-bg-elevated) 94%,transparent),var(--surface-bg));box-shadow:var(--card-shadow)}.ui-modal.order-modal .modal-content-2{position:relative;display:flex;flex-direction:column;gap:18px;padding:28px;height:min(68vh,680px);min-height:420px;color:var(--text-primary)}.ui-modal.order-modal .modal-content-2 .close-btn{position:absolute;top:18px;right:18px;border:1px solid var(--border-soft);min-width:32px;width:32px;height:32px;padding:0;border-radius:50%;font-size:18px;line-height:1;background:color-mix(in srgb,var(--surface-bg-elevated) 92%,transparent);color:var(--text-secondary);transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease}.ui-modal.order-modal .modal-content-2 .close-btn:hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--brand-primary) 38%,var(--border-soft));background:color-mix(in srgb,var(--brand-primary) 10%,var(--surface-bg));color:var(--brand-primary)}.ui-modal.order-modal .modal-content-2 .search-box{display:flex;align-items:center;min-height:56px;margin-right:42px;padding:0 18px;border:1px solid var(--border-soft);border-radius:999px;background:color-mix(in srgb,var(--surface-bg-soft) 84%,transparent);transition:background .18s ease,border-color .18s ease,box-shadow .18s ease}.ui-modal.order-modal .modal-content-2 .search-box:focus-within{border-color:color-mix(in srgb,var(--brand-primary) 42%,var(--border-soft));background:var(--surface-bg-elevated);box-shadow:0 0 0 4px color-mix(in srgb,var(--brand-primary) 12%,transparent)}.ui-modal.order-modal .modal-content-2 .search-box .sidebar-icon{width:24px;min-width:24px;height:24px;min-height:24px;color:var(--text-muted)}.ui-modal.order-modal .modal-content-2 .search-box .sidebar-icon [stroke]{stroke:currentColor!important}.ui-modal.order-modal .modal-content-2 .search-box .sidebar-icon [fill]:not([fill=none]){fill:currentColor!important}.ui-modal.order-modal .modal-content-2 .search-box .search-input{flex:1;border:none;height:48px;font-size:16px;padding:0 12px;color:var(--text-primary);background:rgba(0,0,0,0)}.ui-modal.order-modal .modal-content-2 .search-box .search-input input{color:var(--text-primary);background:rgba(0,0,0,0)}.ui-modal.order-modal .modal-content-2 .search-box .search-input input::placeholder{color:var(--text-muted)}.ui-modal.order-modal .modal-content-2 .list-box{flex:1;min-height:0;overflow-y:auto;padding-right:4px;scrollbar-color:var(--text-muted) rgba(0,0,0,0)}.ui-modal.order-modal .modal-content-2 .list-box .add-document{display:flex;align-items:center;min-height:52px;padding:12px 16px;border:1px solid rgba(0,0,0,0);border-radius:18px;color:var(--text-primary);cursor:pointer;transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease}.ui-modal.order-modal .modal-content-2 .list-box .add-document .add-document-icon{width:24px;min-width:24px;height:24px;min-height:24px;margin-right:12px;color:var(--text-muted)}.ui-modal.order-modal .modal-content-2 .list-box .add-document .add-document-icon [stroke]{stroke:currentColor!important}.ui-modal.order-modal .modal-content-2 .list-box .add-document .add-document-icon [fill]:not([fill=none]){fill:currentColor!important}.ui-modal.order-modal .modal-content-2 .list-box .add-document span{font-size:16px;line-height:24px;font-weight:500}.ui-modal.order-modal .modal-content-2 .list-box .add-document:hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--brand-primary) 22%,var(--border-soft));background:color-mix(in srgb,var(--brand-primary) 9%,var(--surface-bg-soft));color:var(--brand-primary)}.ui-modal.order-modal .modal-content-2 .list-box .add-document:hover .add-document-icon{color:var(--brand-primary)}.ui-modal.order-modal .modal-content-2 .list-box .histiry .histiry-box{padding:8px 0 12px;border-bottom:1px solid color-mix(in srgb,var(--border-soft) 72%,transparent)}.ui-modal.order-modal .modal-content-2 .list-box .histiry .histiry-box .time{font-size:13px;line-height:20px;color:var(--text-muted);margin:6px 0;padding:0 16px}.ui-modal.order-modal .modal-content-2 .list-box .histiry .histiry-box .history-item{display:flex;align-items:center;min-height:52px;padding:12px 16px;border:1px solid rgba(0,0,0,0);border-radius:18px;color:var(--text-primary);cursor:pointer;transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease}.ui-modal.order-modal .modal-content-2 .list-box .histiry .histiry-box .history-item .bubble-icon{width:24px;min-width:24px;height:24px;min-height:24px;margin-right:12px;color:var(--text-muted)}.ui-modal.order-modal .modal-content-2 .list-box .histiry .histiry-box .history-item .bubble-icon [stroke]{stroke:currentColor!important}.ui-modal.order-modal .modal-content-2 .list-box .histiry .histiry-box .history-item .bubble-icon [fill]:not([fill=none]){fill:currentColor!important}.ui-modal.order-modal .modal-content-2 .list-box .histiry .histiry-box .history-item .histiry-title{font-size:16px;line-height:24px;min-width:0;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ui-modal.order-modal .modal-content-2 .list-box .histiry .histiry-box .history-item:hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--brand-primary) 22%,var(--border-soft));background:color-mix(in srgb,var(--brand-primary) 9%,var(--surface-bg-soft));color:var(--brand-primary)}.ui-modal.order-modal .modal-content-2 .list-box .histiry .histiry-box .history-item:hover .bubble-icon{color:var(--brand-primary)}.ui-modal.order-modal .modal-content-2 .list-box .histiry .histiry-box:last-child{border-bottom:none}.ui-modal.order-modal .modal-content-2 .list-box .no-data{text-align:center;color:var(--text-secondary)}@media(max-width:768px){.ui-modal.order-modal .ui-modal__box{max-width:92vw;border-radius:24px}.ui-modal.order-modal .modal-content-2{gap:14px;height:72vh;min-height:360px;padding:18px}.ui-modal.order-modal .modal-content-2 .close-btn{top:14px;right:14px}.ui-modal.order-modal .modal-content-2 .search-box{min-height:52px;margin-right:40px;padding:0 14px}.ui-modal.order-modal .modal-content-2 .list-box .add-document,.ui-modal.order-modal .modal-content-2 .list-box .histiry .histiry-box .history-item{min-height:48px;padding:10px 12px;border-radius:16px}}.merchant-card{position:relative;display:inline-flex;width:100%;flex-direction:column;overflow:hidden;border:var(--action-button-border);border-radius:calc(var(--card-radius) + 2px);background:var(--surface-bg);color:var(--text-primary);box-shadow:var(--soft-shadow);break-inside:avoid;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.merchant-card:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--brand-primary) 36%,var(--border-soft));box-shadow:var(--card-shadow)}.merchant-card__gallery{position:relative;display:grid;width:100%;aspect-ratio:1.12/1;grid-template-columns:1.62fr 1fr;grid-template-rows:1fr 1fr;gap:2px;overflow:hidden;background:var(--surface-bg-soft)}.merchant-card__image{display:block;width:100%;height:100%;min-width:0;object-fit:cover}.merchant-card__image--1{grid-row:1/3}.merchant-card__badge{position:absolute;top:10px;left:10px;z-index:2;display:inline-flex;min-height:28px;align-items:center;padding:0 12px;border:1px solid color-mix(in srgb,var(--surface-bg) 58%,var(--border-soft));border-radius:999px;background:color-mix(in srgb,var(--surface-bg) 78%,transparent);color:var(--text-primary);font-size:12px;font-weight:700;backdrop-filter:blur(12px)}.merchant-card__content{display:flex;flex-direction:column;gap:16px;padding:16px 14px 14px}.merchant-card__identity{display:flex;min-width:0;align-items:center;gap:11px}.merchant-card__logo{display:inline-flex;width:48px;height:48px;flex:0 0 48px;align-items:center;justify-content:center;border-radius:14px;background:var(--theme-chip-bg,var(--surface-bg-soft));color:var(--theme-chip-color,var(--text-primary));font-size:13px;font-weight:800}.merchant-card__name-wrap{min-width:0}.merchant-card__name{margin:0;overflow:hidden;color:var(--text-primary);font-size:clamp(16px,16px + 2*(100vw - 430px)/1010,18px);font-weight:700;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.merchant-card__verified{display:block;margin-top:2px;color:var(--text-secondary);font-size:10px;letter-spacing:.04em;text-transform:uppercase}.merchant-card__description{display:-webkit-box;margin:0;overflow:hidden;color:var(--text-secondary);font-size:clamp(12px,12px + 2*(100vw - 430px)/1010,14px);line-height:1.55;-webkit-box-orient:vertical;-webkit-line-clamp:2}.merchant-card__stats{display:grid;margin:0;grid-template-columns:repeat(3,minmax(0,1fr))}.merchant-card__stats>div{min-width:0;padding:0 10px;border-left:1px solid var(--border-soft)}.merchant-card__stats>div:first-child{padding-left:0;border-left:0}.merchant-card__stats dt{overflow:hidden;color:var(--text-primary);font-size:18px;font-weight:750;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.merchant-card__stats dd{margin:4px 0 0;color:var(--text-secondary);font-size:10px;line-height:1}.merchant-card__cta{display:inline-flex;width:100%;min-height:38px;align-items:center;justify-content:space-between;padding:0 16px;border:1px solid var(--border-soft);border-radius:999px;background:var(--action-button-bg);color:var(--action-button-color);font-size:12px;font-weight:700;cursor:pointer;transition:background .18s ease,transform .18s ease}.merchant-card__cta:hover{background:var(--action-button-hover-bg);color:var(--action-button-hover-color);transform:translateY(-1px)}@media(max-width:768px){.merchant-card{border-radius:14px}.merchant-card__content{padding:14px 12px 12px}.merchant-card__cta{min-height:44px;font-size:14px}}