.commerceAgentPage{--commerce-line:#dbe4ea;--commerce-ink:#132235;--commerce-muted:#637184;--commerce-soft:#edf3f6;--commerce-accent:#087f98;--commerce-accent-soft:#e4f5f6;--commerce-warm:#b46b3d;height:calc(100vh - 64px);min-height:0;color:var(--commerce-ink);background:#f3f7f9;grid-template-rows:58px minmax(0,1fr);display:grid}.commerceAgentHeader{border-bottom:1px solid var(--commerce-line);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:rgba(255,255,255,.88);justify-content:space-between;align-items:center;gap:16px;min-width:0;padding:8px 18px;display:flex;box-shadow:0 1px rgba(19,34,53,.03)}.commerceProjectSwitcher,.commerceAgentHeaderActions,.commerceProjectSwitcher label{align-items:center;display:flex}.commerceProjectSwitcher{gap:8px;min-width:0}.commerceProjectSwitcher>svg{color:var(--commerce-accent)}.commerceProjectSwitcher label{min-width:0;position:relative}.commerceProjectSwitcher select{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:min(42vw,340px);min-height:40px;color:var(--commerce-ink);font:inherit;background:0 0;border:0;padding:0 28px 0 4px;font-size:14px}.commerceProjectSwitcher label svg{pointer-events:none;color:var(--commerce-muted);position:absolute;right:7px}.commerceProjectSwitcher>button,.commerceContextToggle,.commerceContextClose{border:1px solid var(--commerce-line);width:40px;height:40px;color:var(--commerce-ink);background:#fff;border-radius:8px;place-items:center;display:grid}.commerceAgentHeaderActions{gap:8px}.commerceAgentWorkspace{background-color:#f7fafb;grid-template-columns:minmax(0,1fr);min-width:0;min-height:0;display:grid}.commerceConversation{grid-template-rows:minmax(0,1fr) auto;min-width:0;min-height:0;display:grid}.commerceMessageList{overscroll-behavior:contain;background-image:linear-gradient(rgba(111,141,158,.075) 1px,transparent 1px),linear-gradient(90deg,rgba(111,141,158,.075) 1px,transparent 1px);background-position:top;background-size:36px 36px;min-height:0;position:relative;overflow-x:hidden;overflow-y:auto}.commerceMessageList:before{z-index:0;pointer-events:none;content:"";background:linear-gradient(105deg,transparent 12%,rgba(79,179,194,.08) 42%,transparent 72%) 0 0/220% 100%;animation:20s ease-in-out infinite commerceAmbientSweep;position:absolute;top:0;bottom:0;left:0;right:0}.commerceMessageList>*{z-index:1;position:relative}.commerceConversationInner{box-sizing:border-box;width:min(100%,1040px);max-width:100%;margin:0 auto;padding:38px 28px 28px}.commerceAgentEmpty{box-sizing:border-box;text-align:center;align-content:start;justify-items:center;gap:16px;width:min(100%,960px);max-width:100%;min-height:100%;margin:0 auto;padding:max(74px,min(13vh,132px)) 28px 148px;display:grid}.commerceAgentMark{width:62px;height:62px;color:var(--commerce-accent);background:#132b3a;border:1px solid #9ccdd3;border-radius:18px;place-items:center;animation:5s ease-in-out infinite commerceMarkFloat;display:grid;box-shadow:0 16px 34px rgba(19,52,67,.16),inset 0 0 0 6px rgba(228,245,246,.08)}.commerceAgentMark svg{filter:drop-shadow(0 0 7px rgba(102,220,224,.42))}.commerceAgentEmpty h1{color:var(--commerce-ink);letter-spacing:0;margin:2px 0 0;font-size:max(28px,min(3vw,32px));line-height:1.25}.commerceAgentEmpty>p{max-width:560px;color:var(--commerce-muted);margin:0;font-size:15px;line-height:24px}.commercePrefillSource{color:#276044;background:#f3faf5;border:1px solid #c8dfcf;border-radius:8px;align-items:center;gap:7px;max-width:min(100%,620px);margin-top:2px;padding:7px 8px 7px 10px;font-size:12px;line-height:18px;display:inline-flex}.commercePrefillSource span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.commercePrefillSource button{color:#5e7967;background:0 0;border:0;border-left:1px solid #c8dfcf;min-height:26px;padding:0 3px 0 9px;font-size:11px;font-weight:700}.commercePrefillSource button:hover{color:#176b4a}.commerceTaskTemplates{text-align:left;gap:9px;width:min(100%,620px);margin-top:6px;display:grid}.commerceTaskTemplates>span{color:#596a60;font-size:11px;font-weight:750}.commerceTaskTemplates>div{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.commerceTaskTemplates button{color:#315343;background:#fff;border:1px solid #d6e2da;border-radius:8px;align-items:center;gap:6px;min-height:36px;padding:0 10px;font-size:12px;font-weight:650;display:inline-flex}.commerceTaskTemplates button:hover{color:#176b4a;background:#f4faf5;border-color:#9bc7ab}.commerceAgentStage{opacity:.85;gap:9px;width:min(100%,510px);margin-top:26px;display:grid}.commerceAgentStageLine{background:#d6e2e8;border-radius:999px;height:1px;display:block;position:relative;overflow:hidden}.commerceAgentStageLine:after{content:"";background:var(--commerce-accent);width:24%;height:100%;animation:4.6s cubic-bezier(.4,0,.2,1) infinite commerceSignal;position:absolute;top:0;left:-24%;box-shadow:0 0 12px rgba(8,127,152,.45)}.commerceAgentStageLine--short{width:42%}.commerceAgentStageLine--long{width:86%;margin-left:14%}.commerceAgentStageLine--long:after{animation-delay:.7s}.commerceAgentStageLine--medium{width:62%;margin-left:4%}.commerceAgentStageLine--medium:after{animation-delay:1.4s}.commerceMessage{border-bottom:1px solid #edf0ee;grid-template-columns:42px minmax(0,1fr);gap:12px;padding:18px 0;display:grid}.commerceMessage>span{color:#455149;background:#edf1ef;border-radius:7px;place-items:center;width:34px;height:34px;font-size:12px;font-weight:700;display:grid}.commerceMessage--assistant>span{background:var(--commerce-accent-soft);color:var(--commerce-accent)}.commerceMessage>div{white-space:pre-wrap;overflow-wrap:anywhere;min-width:0;padding-top:5px;font-size:15px;line-height:25px}.commerceMessage.isFallback>div{color:#7b5418}.commerceMessageTools{justify-content:flex-start;margin-top:7px;display:flex}.commerceMessageTools button{width:32px;height:32px;color:var(--commerce-muted);background:0 0;border:0;border-radius:6px;place-items:center;display:grid}.commerceMessageTools button:hover{background:var(--commerce-soft);color:var(--commerce-ink)}.commerceMessageTools button:focus-visible{outline-offset:1px;outline:3px solid rgba(22,114,74,.16)}.commerceNextAction{background:#f8fbf9;border:1px solid #bfd5c8;border-radius:8px;gap:14px;margin:18px 0 8px 54px;padding:16px;display:grid;box-shadow:0 6px 18px rgba(26,69,48,.06)}.commerceNextActionHead{grid-template-columns:34px minmax(0,1fr);align-items:start;gap:10px;display:grid}.commerceNextActionHead>span{background:var(--commerce-accent-soft);width:34px;height:34px;color:var(--commerce-accent);border-radius:7px;place-items:center;display:grid}.commerceNextActionHead strong{font-size:15px;line-height:22px;display:block}.commerceNextActionHead p{color:var(--commerce-muted);margin:3px 0 0;font-size:12px;line-height:19px}.commerceNextActionButtons{flex-wrap:wrap;gap:8px;padding-left:44px;display:flex}.commerceNextActionButtons button,.commerceContextPrimary{color:#334039;background:#fff;border:1px solid #cfd7d2;border-radius:8px;justify-content:center;align-items:center;gap:7px;min-height:40px;padding:0 12px;font-size:12px;font-weight:650;display:inline-flex}.commerceNextActionButtons button:hover,.commerceContextPrimary:hover{background:#f4faf7;border-color:#91bba3;transform:translateY(-1px)}.commerceNextActionButtons .is-primary,.commerceContextPrimary{border-color:var(--commerce-accent);background:var(--commerce-accent);color:#fff}.commerceNextActionButtons .is-primary:hover,.commerceContextPrimary:hover{color:#fff;background:#125f3e}.commerceNextActionButtons button:disabled,.commerceContextPrimary:disabled,.commerceContextSecondary:disabled{opacity:.5;cursor:not-allowed}.commerceNextActionButtons .lucide-loader-circle{animation:1s linear infinite commerceSpin}.commerceGenerationPanel{border-top:1px solid var(--commerce-line);border-bottom:1px solid var(--commerce-line);gap:14px;margin:18px 0 8px 54px;padding:18px 0;animation:.24s ease-out both commerceReveal;display:grid}.commerceVideoPromptCard{border:1px solid var(--commerce-line);background:#f8faf9;border-radius:8px;gap:10px;margin-top:12px;padding:12px;display:grid}.commerceVideoPromptCard>header,.commerceVideoPromptCard>footer{justify-content:space-between;align-items:center;gap:10px;display:flex}.commerceVideoPromptCard>header>div,.commerceVideoPromptCard>footer>small{align-items:center;gap:7px;display:inline-flex}.commerceVideoPromptCard>header strong{font-size:13px}.commerceVideoPromptCard>header span,.commerceVideoPromptCard>footer small{color:var(--commerce-muted);font-size:11px}.commerceVideoPromptCard>p{color:var(--commerce-ink);white-space:pre-wrap;margin:0;font-size:13px;line-height:1.7}.commerceVideoPromptCard>footer{align-items:flex-end}.commerceVideoPromptCard>footer button{border:1px solid var(--commerce-accent);background:var(--commerce-accent);color:#fff;white-space:nowrap;border-radius:7px;justify-content:center;align-items:center;gap:6px;min-height:38px;padding:0 11px;font-size:12px;font-weight:700;display:inline-flex}.commerceGenerationPanel>header,.commerceGenerationPanel>header>div,.commerceGenerationPanel>footer,.commerceGenerationRecovery{align-items:center;display:flex}.commerceGenerationPanel>header{justify-content:space-between;gap:12px}.commerceGenerationPanel>header>div{gap:10px;min-width:0}.commerceGenerationPanel>header>div>span{background:var(--commerce-accent-soft);width:34px;height:34px;color:var(--commerce-accent);border-radius:8px;flex:0 0 34px;place-items:center;display:grid}.commerceGenerationPanel.is-failed>header>div>span{color:#a13f32;background:#fff0ed}.commerceGenerationPanel.is-running>header svg,.commerceGenerationGrid .is-pending svg{animation:1s linear infinite commerceSpin}.commerceGenerationPanel>header strong{font-size:14px;line-height:20px;display:block}.commerceGenerationPanel>header p{color:var(--commerce-muted);margin:3px 0 0;font-size:12px;line-height:18px}.commerceGenerationPanel>header>button,.commerceGenerationPanel>footer button,.commerceGenerationRecovery button{color:#39473f;background:#fff;border:1px solid #cfd7d2;border-radius:8px;justify-content:center;align-items:center;gap:6px;min-height:40px;padding:0 11px;font-size:12px;font-weight:650;display:inline-flex}.commerceGenerationRecovery{flex-wrap:wrap;gap:8px}.commerceGenerationRecovery .is-primary{border-color:var(--commerce-accent);background:var(--commerce-accent);color:#fff}.commerceGenerationGrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.commerceGenerationGrid article{aspect-ratio:1;border:1px solid var(--commerce-line);background:#f3f5f4;border-radius:8px;min-width:0;position:relative;overflow:hidden}.commerceGenerationGrid img{object-fit:contain;background:#fff;width:100%;height:100%}.commerceGenerationGrid article>span{color:#89928c;place-content:center;justify-items:center;gap:7px;width:100%;height:100%;display:grid}.commerceGenerationGrid small{font-size:11px}.commerceGenerationRole{max-width:calc(100% - 12px);color:var(--commerce-ink);background:rgba(255,255,255,.94);border:1px solid rgba(34,45,39,.12);border-radius:6px;gap:1px;padding:4px 7px;line-height:15px;display:grid;position:absolute;top:6px;left:6px}.commerceGenerationRole strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.commerceGenerationRole small{color:var(--commerce-muted);font-size:10px}.commerceGenerationGrid article>button{width:36px;height:36px;color:var(--commerce-ink);background:rgba(255,255,255,.94);border:1px solid rgba(34,45,39,.16);border-radius:8px;place-items:center;display:grid;position:absolute;bottom:6px;right:6px}.commerceGenerationPanel>footer{flex-wrap:wrap;gap:8px}.commerceGenerationPanel>footer button:hover{color:#176b4a;background:#f4faf5;border-color:#9db9a7}.commerceComposerWrap{z-index:4;box-sizing:border-box;width:min(100%,1180px);padding:14px 20px max(22px, env(safe-area-inset-bottom));background:linear-gradient(rgba(247,250,251,0),#f7fafb 26px,#f7fafb);margin:0 auto;position:relative}.commerceComposer{background:#fff;border:1px solid #c6d6de;border-radius:14px;grid-template-columns:48px minmax(0,1fr) 48px;align-items:end;gap:8px;min-height:108px;padding:12px;display:grid;box-shadow:0 18px 40px rgba(32,64,78,.11),inset 0 2px rgba(255,255,255,.92)}.commerceComposer:focus-within{border-color:#6bb5c1;box-shadow:0 0 0 4px rgba(8,127,152,.11),0 18px 40px rgba(32,64,78,.13),inset 0 2px rgba(255,255,255,.92)}.commerceComposer textarea{resize:vertical;width:100%;min-height:60px;max-height:240px;color:var(--commerce-ink);font:inherit;background:0 0;border:0;outline:0;padding:15px 4px 11px;font-size:16px;line-height:22px}.commerceUploadButton,.commerceSendButton{border:0;border-radius:8px;place-items:center;width:48px;height:48px;display:grid}.commerceUploadButton{background:var(--commerce-soft);color:#4e5a53}.commerceSendButton{color:#dff8f7;background:#132b3a;box-shadow:0 8px 18px rgba(19,43,58,.2)}.commerceUploadButton:disabled,.commerceSendButton:disabled{opacity:.45;cursor:not-allowed}.commerceUploadButton svg,.commerceSendButton svg,.commerceAgentLoading svg{animation:none}.commerceAgentLoading svg{animation:1s linear infinite commerceSpin}.commerceUploadButton:has(.lucide-loader-circle) svg{animation:1s linear infinite commerceSpin}.commerceSendButton:has(.lucide-loader-circle) svg{animation:1s linear infinite commerceSpin}.commerceComposerMeta{color:#818a84;justify-content:space-between;gap:12px;padding:7px 4px 0;font-size:11px;display:flex}.commerceComposerMeta strong{color:var(--commerce-accent);font-weight:600}.commerceComposerNotice{color:#9a5b16;margin:0 0 7px;font-size:12px}.commerceAttachmentList{gap:7px;padding-bottom:7px;display:flex;overflow-x:auto}.commerceAttachmentList>span{border:1px solid var(--commerce-line);background:#fff;border-radius:6px;grid-template-columns:32px minmax(0,1fr) 28px;align-items:center;gap:7px;min-width:0;max-width:220px;padding:5px;display:grid}.commerceAttachmentList img{object-fit:cover;border-radius:4px;width:32px;height:32px}.commerceAttachmentList strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.commerceAttachmentList button{width:28px;height:28px;color:var(--commerce-muted);background:0 0;border:0;place-items:center;display:grid}.commerceAttachmentList .commerceAttachmentClear{align-items:center;width:auto;min-width:-webkit-max-content;min-width:-moz-max-content;min-width:max-content;padding:0 8px;font-size:12px;font-weight:800;display:inline-flex}.commerceAttachmentList>span{grid-template-columns:32px minmax(0,1fr) 28px;position:relative}.commerceAttachmentList>span>strong{grid-column:2}.commerceAttachmentList>span>small{color:var(--commerce-muted);text-overflow:ellipsis;white-space:nowrap;grid-column:2;font-size:10px;line-height:1.15;overflow:hidden}.commerceAttachmentList>span.is-uploading img{opacity:.62}.commerceAttachmentList>span.is-failed,.commerceAttachmentList>span.is-retry_waiting{border-color:#e1a7a7}.commerceAttachmentList>span.is-failed img,.commerceAttachmentList>span.is-retry_waiting img{opacity:.72}.commerceAttachmentList .commerceAttachmentRetry{color:#b42318;cursor:pointer;background:#fff8f8;border:1px solid #e3b8b8;border-radius:50%;place-items:center;width:24px;height:24px;display:grid;position:absolute;top:7px;right:34px}.commerceAttachmentList .commerceAttachmentRetryAll{color:#b42318;white-space:nowrap;cursor:pointer;background:#fff8f8;border:1px solid #e3b8b8;border-radius:6px;align-items:center;gap:4px;min-width:-webkit-max-content;min-width:-moz-max-content;min-width:max-content;padding:0 8px;font-size:12px;font-weight:800;display:inline-flex}.commerceAttachmentList .commerceAttachmentRetry:hover,.commerceAttachmentList .commerceAttachmentRetryAll:hover{background:#fff1f1;border-color:#c76d6d}.commerceAttachmentList .commerceAttachmentRetry:focus-visible{background:#fff1f1;border-color:#c76d6d}.commerceAttachmentList .commerceAttachmentRetryAll:focus-visible{background:#fff1f1;border-color:#c76d6d}.commerceContextPanel{z-index:91;border-left:1px solid var(--commerce-line);visibility:hidden;clip-path:inset(0 0 0 100%);pointer-events:none;background:#fbfcfb;width:min(390px,100vw);transition:clip-path .2s,visibility .2s;position:fixed;top:64px;bottom:0;right:0;overflow-y:auto;box-shadow:-16px 0 40px rgba(23,33,28,.12)}.commerceAgentPage.contextOpen .commerceContextPanel{visibility:visible;clip-path:inset(0);pointer-events:auto}.commerceContextScrim{z-index:90;opacity:0;visibility:hidden;pointer-events:none;background:rgba(23,33,28,.18);border:0;transition:opacity .2s,visibility .2s;position:fixed;top:64px;bottom:0;left:0;right:0}.commerceAgentPage.contextOpen .commerceContextScrim{opacity:1;visibility:visible;pointer-events:auto}.commerceContextPanel>header{z-index:3;border-bottom:1px solid var(--commerce-line);background:rgba(251,252,251,.96);justify-content:space-between;align-items:center;gap:12px;min-height:66px;padding:12px 16px;display:flex;position:-webkit-sticky;position:sticky;top:0}.commerceContextPanel>header div{min-width:0}.commerceContextPanel>header span{color:var(--commerce-muted);font-size:11px;display:block}.commerceContextPanel>header strong{text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:14px;display:block;overflow:hidden}.commerceContextClose{display:grid}.commerceContextTabs{z-index:2;border-bottom:1px solid var(--commerce-line);background:rgba(251,252,251,.98);grid-template-columns:repeat(3,minmax(0,1fr));padding:0 10px;display:grid;position:-webkit-sticky;position:sticky;top:66px}.commerceContextTabs button{color:#6c766f;white-space:nowrap;background:0 0;border:0;border-bottom:2px solid transparent;justify-content:center;align-items:center;gap:4px;min-width:0;min-height:44px;font-size:12px;font-weight:650;display:flex;position:relative}.commerceContextTabs button.active{border-bottom-color:var(--commerce-accent);color:var(--commerce-accent)}.commerceContextTabs em{background:#edf1ef;border-radius:4px;padding:1px 4px;font-size:10px;font-style:normal}.commerceContextSection{border-bottom:1px solid var(--commerce-line);padding:18px 16px}.commerceContextSectionHead{justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;display:flex}.commerceContextSectionHead>div{align-items:center;gap:7px;display:flex}.commerceContextSectionHead span{font-size:13px;font-weight:700}.commerceContextSectionHead em{color:var(--commerce-muted);background:#edf1ef;border-radius:5px;padding:2px 6px;font-size:11px;font-style:normal}.commerceContextSectionHead button{min-height:32px;color:var(--commerce-accent);background:0 0;border:0;font-size:12px;font-weight:650}.commerceContextEmpty{color:#8a938d;margin:0;font-size:12px;line-height:19px}.commerceTodoSection{gap:12px;display:grid}.commerceFactProgress{background:#fff;border:1px solid #e3e8e5;border-radius:8px;grid-template-columns:repeat(3,minmax(0,1fr));display:grid;overflow:hidden}.commerceFactProgress div{text-align:center;min-width:0;padding:10px 4px}.commerceFactProgress div+div{border-left:1px solid #e3e8e5}.commerceFactProgress strong{color:var(--commerce-ink);font-size:18px;line-height:22px;display:block}.commerceFactProgress span{color:var(--commerce-muted);margin-top:2px;font-size:10px;display:block}.commerceOptionalSummary{color:var(--commerce-muted);margin:0 0 10px;font-size:11px;line-height:18px}.commerceSafeToGenerate{color:#356348;background:#edf7f0;border-radius:8px;align-items:flex-start;gap:7px;margin:0 0 12px;padding:9px 10px;font-size:11px;line-height:18px;display:flex}.commerceSafeToGenerate svg{flex:none;margin-top:1px}.commerceBlockingQuestions{background:#fff9ed;border:1px solid #ead7ad;border-radius:9px;gap:10px;margin-bottom:12px;padding:11px;display:grid}.commerceBlockingQuestions>div{color:#97641a;align-items:center;gap:7px;display:flex}.commerceBlockingQuestions strong{color:#6c4a17;font-size:12px}.commerceBlockingQuestions .commerceContextPrimary{margin-top:0}.commerceAutoFactBox{border-bottom:1px solid #e7ebe8;gap:8px;padding:4px 0 12px;display:grid}.commerceAutoFactBox>div{color:var(--commerce-accent);align-items:center;gap:7px;display:flex}.commerceAutoFactBox>div strong{color:var(--commerce-ink);font-size:13px}.commerceAutoFactBox p,.commerceContextHint{color:var(--commerce-muted);margin:0;font-size:11px;line-height:18px}.commerceTodoList{border-top:1px solid #e7ebe8;gap:0;margin:0;display:grid}.commerceTodoList>div{border-bottom:1px solid #e7ebe8;padding:11px 0}.commerceTodoList dt{color:#3b4740;font-size:12px;line-height:18px}.commerceTodoList dd{color:#93631e;margin:3px 0 0;font-size:11px}.commerceTodoSection .commerceQuestionList{border-top:1px solid #e7ebe8;padding-top:12px}.commerceContextPrimary{width:100%;margin-top:4px}.commerceContextSecondary{color:#46534b;background:#fff;border:1px solid #cfd7d2;border-radius:8px;justify-content:center;align-items:center;gap:7px;width:100%;min-height:40px;font-size:12px;font-weight:650;display:inline-flex}.commercePlanActions{gap:8px;margin-top:12px;display:grid}.commerceQuickFactEditor{gap:10px;display:grid}.commerceQuickFactEditorHead{justify-content:space-between;align-items:center;gap:8px;display:flex}.commerceQuickFactEditorHead>span{color:#4d5a52;font-size:11px;font-weight:650}.commerceQuickFactAutoFill{min-height:34px;color:var(--commerce-accent);font:inherit;white-space:nowrap;background:#f1f8f3;border:1px solid #b9d6c4;border-radius:7px;justify-content:center;align-items:center;gap:5px;padding:0 9px;font-size:11px;font-weight:700;transition:background .16s,border-color .16s,transform .16s;display:inline-flex}.commerceQuickFactAutoFill:hover:not(:disabled){background:#e5f3e9;border-color:#8fbea1}.commerceQuickFactAutoFill:active:not(:disabled){transform:translateY(1px)}.commerceQuickFactAutoFill:disabled{cursor:wait;opacity:.58}.commerceQuickFactEditor label,.commerceFactEditor label:not(.is-new){grid-template-columns:minmax(0,1fr);gap:5px;display:grid}.commerceQuickFactEditor label>span,.commerceFactEditor label>span{color:#4d5a52;font-size:11px;line-height:17px}.commerceQuickFactEditor input{min-height:44px;color:var(--commerce-ink);font:inherit;background:#fff;border:1px solid #d6ddd9;border-radius:8px;padding:8px 10px;font-size:13px;transition:border-color .16s,box-shadow .16s}.commerceQuickFactEditor input:focus{border-color:#7fb292;outline:0;box-shadow:0 0 0 3px rgba(22,114,74,.09)}.commerceFactList{gap:11px;margin:0;display:grid}.commerceFactList div{min-width:0}.commerceFactList dt{color:#59655e;justify-content:space-between;align-items:center;gap:8px;font-size:11px;display:flex}.commerceFactList dt span{background:#edf1ef;border-radius:4px;flex:none;padding:2px 5px;font-size:10px}.commerceFactList dt span.is-confirmed{background:var(--commerce-accent-soft);color:var(--commerce-accent)}.commerceFactList dt span.is-inferred{color:#4d6484;background:#eef2f9}.commerceFactList dt span.is-missing{color:#915f18;background:#fff4df}.commerceFactList dd{color:var(--commerce-ink);overflow-wrap:anywhere;margin:3px 0 0;font-size:13px;line-height:19px}.commercePlanList{gap:12px;margin:0;padding:0;list-style:none;display:grid}.commercePlanList li{grid-template-columns:26px minmax(0,1fr);gap:9px;display:grid}.commercePlanList li>span{width:26px;height:26px;color:var(--commerce-muted);background:#fff;border:1px solid #cfd7d2;border-radius:5px;place-items:center;font-size:11px;display:grid}.commercePlanList strong{padding-top:2px;font-size:13px;display:block}.commercePlanList p{color:var(--commerce-muted);margin:3px 0 0;font-size:12px;line-height:18px}.commerceQuestionList{color:#5d5140;gap:8px;margin:0;padding-left:18px;font-size:12px;line-height:19px;display:grid}.commerceQuestionList--optional{color:var(--commerce-muted);margin-top:12px}.commerceFactEditor,.commercePlanEditor{gap:8px;display:grid}.commerceFactEditor label.is-new{grid-template-columns:minmax(90px,.7fr) minmax(0,1.3fr);gap:6px;display:grid}.commerceFactEditor input,.commercePlanEditor input,.commercePlanEditor select,.commercePlanEditor textarea{min-width:0;min-height:38px;color:var(--commerce-ink);font:inherit;background:#fff;border:1px solid #d6ddd9;border-radius:8px;padding:7px 8px;font-size:12px}.commercePlanEditor>div{grid-template-columns:minmax(88px,1fr) 62px;gap:6px;display:grid}.commercePlanEditor textarea{resize:vertical;grid-column:1/-1}.commerceAddRow,.commerceSaveButton{border-radius:8px;justify-content:center;align-items:center;gap:6px;min-height:38px;font-size:12px;font-weight:650;display:inline-flex}.commerceAddRow{color:#526158;background:0 0;border:1px dashed #bfc9c3}.commerceSaveButton{background:var(--commerce-accent);color:#fff;border:0}.commerceAgentLoading{min-height:calc(100vh - 120px);color:var(--commerce-muted);justify-content:center;align-items:center;gap:9px;font-size:13px;display:flex}.commerceInlineError{color:#9d3e32;align-items:center;gap:8px;width:min(100%,760px);margin:24px auto;font-size:13px;display:flex}body:has(.commerceAgentPage) .siteLegalFooter{display:none!important}body:has(.commerceAgentPage) .floatingSupport{display:none!important}@keyframes commerceSpin{to{transform:rotate(360deg)}}@keyframes commerceTypingDot{0%,60%,to{opacity:.3;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}@keyframes commerceAmbientSweep{0%,to{opacity:.25;background-position:100% 0}50%{opacity:.65;background-position:0 0}}@keyframes commerceSignal{0%{opacity:0;transform:translate(0)}18%{opacity:1}72%,to{opacity:0;transform:translate(520%)}}@keyframes commerceMarkFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-4px)}}@keyframes commerceReveal{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.commerceAgentPage button,.commerceAgentPage summary{transition:border-color .16s,background-color .16s,color .16s,box-shadow .16s,transform .16s,opacity .16s}.commerceAgentPage button:not(:disabled):active,.commerceAgentPage summary:active{transform:scale(.98)}@media (max-width:900px){.commerceAgentPage{grid-template-rows:54px minmax(0,1fr);height:calc(100dvh - 58px);min-height:0}.commerceAgentHeader{padding:7px 10px}.commerceProjectSwitcher select{width:min(52vw,260px)}.commerceAgentWorkspace{grid-template-columns:minmax(0,1fr)}.commerceContextPanel{top:58px}.commerceContextScrim{top:58px;bottom:0;left:0;right:0}.commerceConversationInner{padding:24px 16px 22px}.commerceNextAction,.commerceGenerationPanel{margin-left:41px}.commerceAgentEmpty{padding:32px 16px 112px}.commerceAgentEmpty h1{font-size:25px}.commerceMessage{grid-template-columns:36px minmax(0,1fr);gap:9px}.commerceMessage>span{width:32px;height:32px}.commerceComposerWrap{padding:8px 10px max(12px, env(safe-area-inset-bottom))}.commerceComposer{grid-template-columns:48px minmax(0,1fr) 48px}.commerceComposerMeta{padding-left:2px;padding-right:2px}}@media (prefers-reduced-motion:reduce){.commerceAgentPage *,.commerceAgentPage :before,.commerceAgentPage :after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@media (max-width:430px){.commerceProjectSwitcher>svg{display:none}.commerceProjectSwitcher select{width:min(58vw,220px)}.commerceProjectSwitcher>button{width:44px;height:44px}.commerceAgentEmpty h1{font-size:23px}.commerceAgentEmpty>p{font-size:13px}.commerceNextAction{margin-left:0;padding:14px}.commerceGenerationPanel{margin-left:0}.commerceGenerationPanel>header{align-items:flex-start}.commerceVideoPromptCard>footer{flex-direction:column;align-items:stretch}.commerceVideoPromptCard>footer button{min-height:44px}.commerceGenerationPanel>header>button{min-width:44px;min-height:44px;padding:0 10px}.commerceGenerationGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.commerceGenerationPanel>footer{grid-template-columns:minmax(0,1fr);display:grid}.commerceGenerationPanel>footer button,.commerceGenerationRecovery button,.commerceContextPrimary,.commerceContextSecondary{min-height:44px}.commerceNextActionButtons{grid-template-columns:minmax(0,1fr);padding-left:0;display:grid}.commerceNextActionButtons button{min-height:44px}.commerceComposerMeta span{display:none}.commerceComposerMeta{justify-content:flex-end}}.commerceAgentPage{--commerce-canvas:#f6f8f7;--commerce-surface:#fff;--commerce-line:#e1e7e3;--commerce-ink:#17211c;--commerce-muted:#66726b;--commerce-accent:#176b4a;--commerce-accent-soft:#e9f4ee;background:var(--commerce-canvas)}.commerceAgentWorkspace{grid-template-columns:minmax(0,1fr)}.commerceConversation{background:var(--commerce-surface)}.commerceConversationInner{width:min(100%,1040px);padding:30px 24px 34px}.commerceMessage{border-bottom-color:#edf1ee}.commerceMessageBody{min-width:0}.commerceMessageBody>p{margin:0}.commerceMessage--user{border-bottom:0;grid-template-columns:minmax(0,min(82%,820px)) 34px;justify-content:end;gap:10px;padding:12px 0 8px}.commerceMessage--user>span{grid-area:1/2}.commerceMessage--user .commerceMessageBody{background:#f3f5f3;border:1px solid #e1e6e3;border-radius:14px;grid-area:1/1;align-self:center;padding:11px 14px}.commerceMessage--user .commerceMessageBody>p{color:#26352d;font-size:14px;line-height:23px}.commerceMessageAttachments{flex-wrap:wrap;gap:8px;margin-bottom:10px;display:flex}.commerceMessageAttachment{color:#65756b;background:#edf3ef;border:1px solid #d9e2dc;border-radius:9px;place-items:center;width:96px;height:96px;display:grid;overflow:hidden}.commerceMessageAttachment img{object-fit:cover;width:100%;height:100%;display:block}.commerceMessage--assistant{padding:15px 0}.commerceMessage--assistant .commerceMessageBody{padding-top:4px}.commerceMessage--assistant .commerceMessageBody>p{font-size:16px;line-height:27px}.commerceMessage.isStreaming{animation:.2s ease-out both commerceReveal}.commerceMessage.isStreaming .commerceMessageBody{padding-top:0}.commerceAssistantTyping{box-sizing:border-box;color:#1f625f;background:#f2fbfb;border:1px solid #b8dce0;border-radius:12px;align-items:flex-start;gap:9px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;max-width:100%;min-height:44px;padding:9px 12px;display:flex;box-shadow:0 5px 16px rgba(8,127,152,.08)}.commerceAssistantTypingIndicator{width:20px;height:24px;color:var(--commerce-accent);flex:0 0 20px;justify-content:center;align-items:center;display:inline-flex}.commerceAssistantTypingIndicator svg{animation:1s linear infinite commerceSpin}.commerceAssistantTypingText{color:#245552;overflow-wrap:anywhere;white-space:pre-wrap;min-width:0;margin:0;font-size:14px;line-height:24px}.commerceAssistantTypingDots{flex:none;align-items:center;gap:3px;height:24px;padding:0 2px;display:inline-flex}.commerceAssistantTypingDots i{background:var(--commerce-accent);border-radius:50%;width:5px;height:5px;animation:1.15s ease-in-out infinite commerceTypingDot;display:block}.commerceAssistantTypingDots i:nth-child(2){animation-delay:.16s}.commerceAssistantTypingDots i:nth-child(3){animation-delay:.32s}.commerceMessage.isFallback{background:#fffaf0;border:1px solid #ead8af;border-radius:10px;margin:10px 0;padding:13px 14px}.commerceMessage.isFallback>span{color:#946116;background:#fff0ce}.commerceMessage.isFallback .commerceMessageBody{padding-top:3px}.commerceMessage.isFallback .commerceMessageBody>p{color:#704f1d;font-size:14px;line-height:22px}.commerceFallbackRecovery{color:#85621f;border-top:1px solid #f0e3c7;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:9px;margin-top:11px;padding-top:10px;font-size:12px;display:flex}.commerceFallbackRecovery>span{align-items:center;gap:6px;display:inline-flex}.commerceFallbackRecovery button{color:#805919;background:#fff;border:1px solid #d7bd7b;border-radius:8px;align-items:center;gap:6px;min-height:34px;padding:0 10px;font-size:12px;font-weight:650;display:inline-flex}.commerceFallbackRecovery button:hover{background:#fff7e8;border-color:#b7954e}.commerceFallbackRecovery button:disabled{opacity:.55;cursor:not-allowed}.commerceNextAction{background:#f8fbf9;border-color:#b9d5c5;border-radius:10px;box-shadow:0 5px 16px rgba(26,69,48,.05)}.commerceNextActionHead>span.is-warning{color:#97641a;background:#fff2d4}.commerceComposerWrap{width:min(100%,1080px);padding-left:24px;padding-right:24px}.commerceComposer{background:#fff;border-radius:16px;box-shadow:0 7px 24px rgba(23,33,28,.07)}.commerceComposer textarea{resize:none}.commerceComposerNotice{color:#805919;background:#fffaf0;border-left:3px solid #d4a244;padding:7px 10px;line-height:18px}.commerceContextPanel{background:#f8faf8}.commerceContextPanel>header{background:rgba(248,250,248,.97)}.commerceContextTabs{background:rgba(248,250,248,.98)}@media (max-width:900px){.commerceAgentWorkspace{grid-template-columns:minmax(0,1fr)}.commerceConversationInner{padding:24px 16px 26px}.commerceComposerWrap{padding-left:8px;padding-right:8px}.commerceMessage--user{grid-template-columns:minmax(0,88%) 32px}}@media (max-width:430px){.commerceMessage--user{grid-template-columns:minmax(0,90%) 32px}.commerceMessage--user .commerceMessageBody{border-radius:12px;padding:10px 12px}.commerceMessageAttachment{border-radius:7px;width:72px;height:72px}.commerceFallbackRecovery{align-items:stretch}.commerceFallbackRecovery button{justify-content:center}}body:has(.commerceAgentPage) #root .commerceAgentPage .commerceConversation .commerceConversationInner{width:min(100%,1080px)!important}body:has(.commerceAgentPage) #root .commerceAgentPage .commerceConversation .commerceComposerWrap{width:min(100%,1080px)!important}body:has(.commerceAgentPage) #root .commerceAgentPage .commerceConversation .commerceComposer{grid-template-columns:48px minmax(0,1fr) 48px!important;min-height:148px!important;padding:12px!important}body:has(.commerceAgentPage) #root .commerceAgentPage .commerceConversation .commerceComposer textarea{min-height:112px!important;max-height:260px!important;padding:14px 6px 12px!important;font-size:16px!important;line-height:24px!important}body:has(.commerceAgentPage) #root .commerceAgentPage .commerceComposer .commerceProgressivePromptField{align-self:stretch!important}@media (min-width:1181px){body:has(.commerceAgentPage) #root .commerceAgentPage .commerceConversation .commerceComposer{min-height:180px!important}body:has(.commerceAgentPage) #root .commerceAgentPage .commerceConversation .commerceComposer textarea{min-height:150px!important}}
