*{box-sizing:border-box}:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#0f172a;background:#f6f7fb}body{margin:0;min-width:320px;min-height:100vh}button,input{font:inherit}button{cursor:pointer}.shell{min-height:100vh}.shell.is-open .workspace{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;height:100vh;height:100dvh}.workspace{height:100vh;display:grid;grid-template-rows:auto minmax(0,1fr);background:#fff;overflow:hidden}.workspace[hidden]{display:none!important}.assistant-launcher{position:fixed;right:24px;bottom:24px;z-index:30;width:64px;height:64px;border:0;border-radius:50%;color:#fff;background:linear-gradient(135deg,#6366f1,#8b5cf6);box-shadow:0 14px 32px #6366f159;display:grid;place-items:center}.assistant-launcher svg{width:28px;height:28px;display:block}.assistant-launcher.is-open{width:52px;height:52px;background:#111827;box-shadow:0 10px 24px #0f172a47}.header{display:flex;justify-content:space-between;gap:20px;padding:16px 20px;border-bottom:1px solid #eef0f3}.panes{min-height:0;min-width:0;display:flex;overflow:hidden}.pane{min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden}.chat-pane{flex:0 0 28%;width:28%;border-right:1px solid #e6e8ee;display:grid;grid-template-rows:minmax(0,1fr) auto}.products-pane{flex:0 0 52%;width:52%;border-right:1px solid #e6e8ee}.filters-pane{flex:0 0 20%;width:20%;background:#f8fafc}.pane-header{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:16px 16px 12px}.pane-header h2{margin:0;font-size:16px}.pane-header p,.pane-status{margin:0;color:#64748b;font-size:13px}.pane-body{min-height:0;flex:1;overflow:auto;padding:0 16px 16px}.pane-body.is-refining{position:relative;overflow:hidden}.pane-body.is-refining .product-grid,.pane-body.is-refining .load-more{filter:blur(3px);pointer-events:none;-webkit-user-select:none;user-select:none}.refining{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#312e81;font-weight:700}.refining-spinner{width:28px;height:28px;border:3px solid #c7d2fe;border-top-color:#4f46e5;border-radius:50%;animation:refining-spin .7s linear infinite}@keyframes refining-spin{to{transform:rotate(360deg)}}.product-skeleton .product-image,.product-skeleton strong,.product-skeleton em{display:block;background:#e8ebf3;border-radius:8px;animation:skeleton-pulse 1.4s ease-in-out infinite}.product-skeleton .product-image{height:190px}.product-skeleton strong{height:14px;margin-bottom:8px}.product-skeleton em{width:45%;height:12px}@keyframes skeleton-pulse{0%,to{opacity:1}50%{opacity:.45}}.pane-empty{padding:28px 8px;color:#64748b}.pane-empty strong{display:block;margin-bottom:6px;color:#0f172a}.pane-empty p{margin:0;line-height:1.45}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px;min-width:0}.product-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #e6e8ee;border-radius:16px;background:#fff;color:inherit;text-decoration:none}.selected-filters{margin-bottom:16px}.selected-filters p,.filter-group h3{margin:0 0 8px;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#64748b}.selected-filters ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.selected-filters li{display:flex;gap:8px;align-items:baseline;padding:8px 10px;border-radius:10px;background:#fff;border:1px solid #e6e8ee;font-size:13px;line-height:1.4}.selected-filters span{color:#64748b;font-size:11px;text-transform:uppercase}.filter-group{margin-bottom:14px;padding:12px;border:1px solid #e6e8ee;border-radius:12px;background:#fff}.filter-group div{display:flex;flex-wrap:wrap;gap:8px}.filter-group button{border:1px solid #e6e8ee;background:#f8fafc;border-radius:999px;padding:6px 10px;color:#334155}.filter-group button.selected{background:#4f46e5;border-color:#4f46e5;color:#fff}.selected-filters li{background:#eef2ff;border-color:#c7d2fe}.pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.pills button{border:1px solid #c7d2fe;background:#fff;color:#3730a3;border-radius:999px;padding:6px 12px}.starter-pills{justify-content:center;margin-top:0}.dev-meta{margin-top:8px;font-size:12px;color:#64748b}.filter-pills{margin-bottom:14px}.load-more{display:block;width:100%;margin-top:14px;height:42px;border:1px solid #c7d2fe;border-radius:12px;background:#fff;color:#3730a3;font-weight:700}.load-more:disabled{opacity:.5;cursor:default}.eyebrow{font-size:11px;letter-spacing:.15em;font-weight:800;color:#6366f1;margin-bottom:8px}.header-actions{display:flex;flex-direction:column;align-items:flex-end;gap:8px;flex:0 0 auto}.conversation-url{display:flex;gap:8px;align-items:center;max-width:min(460px,48vw)}.conversation-url input{width:280px;max-width:100%;height:38px;border:1px solid #dfe3ea;border-radius:11px;padding:0 10px;color:#475569;background:#f8fafc}.stages{margin-top:8px}.stages summary{cursor:pointer;color:#64748b;font-size:12px;font-weight:700}.stages dl{margin:8px 0 0}.stages div{margin:0 0 8px}.stages dt{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#64748b}.stages pre{margin:4px 0 0;white-space:pre-wrap;word-break:break-word;background:#f8fafc;border:1px solid #e6e8ee;border-radius:8px;padding:8px;max-height:160px;overflow:auto;font-size:12px}.header h1{margin:0;font-size:clamp(24px,4vw,34px);letter-spacing:-.04em}.header p{margin:8px 0 0;color:#64748b;font-size:14px}.ghost{height:38px;padding:0 14px;border-radius:11px;border:1px solid #dfe3ea;background:#fff;color:#475569}.chat-pane{display:grid;grid-template-rows:minmax(0,1fr) auto;overflow:hidden}.conversation{min-height:0;overflow-y:auto;padding:18px 16px}.welcome{max-width:680px;margin:70px auto;text-align:center}.orb{margin:0 auto 16px;width:52px;height:52px;border-radius:17px;display:grid;place-items:center;color:#fff;font-size:22px;background:linear-gradient(135deg,#6366f1,#8b5cf6);box-shadow:0 12px 28px #6366f138}.welcome h2{margin:0;font-size:25px;letter-spacing:-.03em}.welcome p{color:#64748b;margin:8px 0 20px}.message{margin:0 0 22px;max-width:760px}.message.user{margin-left:auto;width:fit-content;max-width:78%}.message.assistant{max-width:100%}.bubble{padding:13px 16px;border-radius:16px;background:#f1f5f9;line-height:1.5;font-size:15px}.user .bubble{color:#fff;background:#111827;border-bottom-right-radius:5px}.assistant .bubble{width:fit-content;max-width:680px;background:#eef2ff;border-bottom-left-radius:5px}.assistant .bubble.streaming:after{content:"";display:inline-block;width:2px;height:1em;margin-left:3px;background:#4f46e5;vertical-align:text-bottom;animation:pulse 1s infinite ease-in-out}.system .bubble{color:#991b1b;background:#fef2f2}.product-image{display:block;height:190px;overflow:hidden;background:#f8fafc}.product-image img{width:100%;height:100%;object-fit:cover;display:block}.product-copy{display:flex;flex-direction:column;gap:6px;padding:10px 12px 12px}.product-copy strong{font-size:13px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-copy em{font-style:normal;font-size:13px;font-weight:700;color:#111827}.product-empty{margin:8px 0 0;color:#64748b;font-size:13px}.loading{display:flex;gap:4px;padding:17px 18px}.loading span{width:6px;height:6px;border-radius:50%;background:#6366f1;animation:pulse 1s infinite ease-in-out}.loading span:nth-child(2){animation-delay:.15s}.loading span:nth-child(3){animation-delay:.3s}@keyframes pulse{0%,70%,to{opacity:.3;transform:translateY(0)}35%{opacity:1;transform:translateY(-3px)}}.composer{display:flex;gap:10px;min-width:0;padding:18px 16px 16px;border-top:1px solid #eef0f3;background:#fff}.composer input{flex:1;min-width:0;height:50px;border:1px solid #dfe3ea;border-radius:14px;padding:0 16px;outline:none;color:#0f172a}.composer input:focus{border-color:#818cf8;box-shadow:0 0 0 4px #6366f117}.composer button{width:88px;border:0;border-radius:14px;background:#4f46e5;color:#fff;font-weight:700}.composer button:disabled{opacity:.45;cursor:default}@media (max-width: 900px){.workspace{height:auto;min-height:100vh;overflow:visible}.shell.is-open .workspace{height:100dvh;overflow:auto}.panes{flex-direction:column;overflow:visible}.chat-pane,.products-pane,.filters-pane{flex:none;width:100%;height:70vh;min-height:70vh;border-right:0;border-bottom:1px solid #e6e8ee}.header p{display:none}}
