/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.uppercase{text-transform:uppercase}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root,[data-theme=dark]{--bg-app:#0e0e0e;--bg-sidebar:#171717;--bg-surface:#242424;--bg-surface-alt:#2a2a2a;--border-color:#374151;--text-primary:#f3f4f6;--text-secondary:#9ca3af;--btn-bg:#fff;--btn-bg-hover:#e5e7eb;--btn-text:#111827;--bubble-user-bg:#374151;--bubble-user-text:#fff}[data-theme=light]{--bg-app:#fff;--bg-sidebar:#f7f7f8;--bg-surface:#f1f1f2;--bg-surface-alt:#e5e5e6;--border-color:#e5e7eb;--text-primary:#111827;--text-secondary:#6b7280;--btn-bg:#111827;--btn-bg-hover:#1f2937;--btn-text:#fff;--bubble-user-bg:#2563eb;--bubble-user-text:#fff}body{background-color:var(--bg-app)}.auth-page{color:#141923;background:radial-gradient(circle at 12% 8%,#ffffffe6,#0000 30%),linear-gradient(135deg,#cad9f0 0%,#e4edf9 48%,#c8d8ef 100%);justify-content:center;align-items:center;min-height:100vh;padding:2rem 1rem;display:flex;overflow:auto}.auth-card{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffffe6;border:1px solid #ffffffc7;border-radius:2rem;width:min(100%,28rem);padding:2.25rem;box-shadow:0 28px 70px -34px #010d2059}.auth-brand{align-items:center;gap:.75rem;margin-bottom:2.5rem;display:flex}.auth-brand-mark{color:#fff;background:#5661f6;border-radius:.9rem;justify-content:center;align-items:center;width:2.75rem;height:2.75rem;font-size:1.25rem;font-weight:800;display:flex;box-shadow:0 10px 24px -10px #5661f6bf}.auth-brand-name{color:#141923;letter-spacing:.08em;font-size:1.15rem;font-weight:800}.auth-title{color:#141923;letter-spacing:-.035em;margin-bottom:.45rem;font-size:1.8rem;font-weight:750}.auth-subtitle{color:#7d8490;margin-bottom:1.75rem;font-size:.9rem}.auth-label{color:#343b48;margin-bottom:.45rem;font-size:.78rem;font-weight:650;display:block}.auth-input{color:#141923;background:#f8faff;border:1px solid #e2e6ee;border-radius:.85rem;outline:none;width:100%;padding:.8rem .95rem;font-size:.9rem;transition:border-color .16s,box-shadow .16s}.auth-submit{color:#fff;background:#5661f6;border:0;border-radius:999px;width:100%;margin-top:.35rem;padding:.85rem 1rem;font-size:.9rem;font-weight:700;transition:transform .16s,box-shadow .16s,opacity .16s,background-color .16s;box-shadow:0 12px 24px -14px #5661f6e6}.auth-submit:hover:not(:disabled){background:#4650e0;transform:translateY(-1px);box-shadow:0 16px 28px -14px #5661f6f2}.auth-switch{color:#969eab;text-align:center;margin-top:1.35rem;font-size:.82rem}.auth-switch a,.auth-link{color:#5661f6;font-weight:700;transition:color .16s}.auth-switch a:hover,.auth-link:hover{color:#4650e0}.auth-error{color:#d34f67;font-size:.8rem}.auth-check.valid{color:#35a47a}@media (width<=480px){.auth-card{border-radius:1.5rem;padding:1.5rem}}.dashboard-shell{background:linear-gradient(135deg,#cad9f0 0%,#e4edf9 48%,#c8d8ef 100%);gap:0;min-height:100vh;padding:clamp(1rem,4vw,3.6rem);display:flex}.dashboard-sidebar{border:1px solid #edf0f6;border-radius:1.5rem 0 0 1.5rem;width:16.5rem;min-height:calc(100vh - 7.2rem);overflow:hidden;box-shadow:0 24px 52px -38px #010d2066;background:#fffffff5!important}.dashboard-main{border-radius:0 1.5rem 1.5rem 0;min-height:calc(100vh - 7.2rem);overflow:hidden;box-shadow:0 24px 52px -38px #010d2066;background:#f5f7fb!important}.dashboard-sidebar input,.dashboard-sidebar .bg-\[\#0b1330\]{color:#303745!important;background:#f8faff!important;border-color:#e6eaf2!important}.dashboard-sidebar .text-slate-200,.dashboard-sidebar .text-white{color:#303745!important}.dashboard-sidebar .text-slate-400,.dashboard-sidebar .text-slate-500{color:#9aa2af!important}.dashboard-sidebar .border-slate-800\/60,.dashboard-sidebar .border-slate-800{border-color:#edf0f6!important}.dashboard-sidebar .bg-\[\#12204a\]{background:#eef0ff!important}.dashboard-sidebar button.bg-white{color:#fff!important;background:#5661f6!important}.dashboard-sidebar button.bg-white:hover{background:#4650e0!important}.dashboard-composer{box-shadow:0 14px 32px -24px #010d2073;background:#fff!important;border-color:#e4e8f0!important}.dashboard-composer button:last-child{color:#fff!important;background:#5661f6!important}.dashboard-composer button:last-child:hover:not(:disabled){background:#4650e0!important}.dashboard-message{box-shadow:0 10px 24px -24px #010d2073;color:#303745!important;background:#fff!important;border-color:#e7ebf2!important}.dashboard-product{background:#fff!important;border-color:#e4e8f0!important}@media (width<=760px){.dashboard-shell{min-height:100vh;padding:.75rem}.dashboard-sidebar{border-radius:1.25rem 0 0 1.25rem;width:13rem;min-height:calc(100vh - 1.5rem)}.dashboard-main{border-radius:0 1.25rem 1.25rem 0;min-height:calc(100vh - 1.5rem)}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}:root,[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--sp-bg:#fff;--sp-sidebar:#f7f7f8;--sp-surface:#fff;--sp-surface-muted:#f4f4f4;--sp-surface-hover:#ececec;--sp-text:#0d0d0d;--sp-text-soft:#5d5d5d;--sp-text-faint:#8f8f8f;--sp-border:#dedede;--sp-border-soft:#ececec;--sp-primary:#0d0d0d;--sp-primary-text:#fff;--sp-danger:#d00e17;--sp-success:#16825d;--sp-overlay:#00000059;--sp-shadow:0 10px 30px #00000017;--sp-shadow-soft:0 1px 4px #00000014}[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--sp-bg:#212121;--sp-sidebar:#171717;--sp-surface:#2f2f2f;--sp-surface-muted:#2a2a2a;--sp-surface-hover:#303030;--sp-text:#ececec;--sp-text-soft:#b4b4b4;--sp-text-faint:#8b8b8b;--sp-border:#454545;--sp-border-soft:#323232;--sp-primary:#fff;--sp-primary-text:#0d0d0d;--sp-danger:#ff676c;--sp-success:#55c69a;--sp-overlay:#0000009e;--sp-shadow:0 14px 40px #00000057;--sp-shadow-soft:0 1px 5px #00000042}*{box-sizing:border-box}html,body,#root{min-width:320px;min-height:100%;margin:0}body{background:var(--sp-bg);color:var(--sp-text);text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif;font-size:14px;line-height:1.5}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--sp-text);outline-offset:2px}.brand-logo{flex:none;align-items:center;display:inline-flex}.brand-logo img{object-fit:contain;width:auto;height:44px;display:block}.brand-logo--compact img{height:32px}.brand-logo__dark,[data-theme=dark] .brand-logo__light{display:none!important}[data-theme=dark] .brand-logo__dark{display:block!important}.icon-button{width:36px;height:36px;color:var(--sp-text-soft);cursor:pointer;background:0 0;border:0;border-radius:10px;flex:none;justify-content:center;align-items:center;transition:background-color .14s,color .14s,opacity .14s;display:inline-flex}.icon-button:hover{background:var(--sp-surface-hover);color:var(--sp-text)}.icon-button:disabled{cursor:not-allowed;opacity:.38}.figma-icon{object-fit:contain;width:11px;height:11px;display:block}[data-theme=dark] .figma-icon{filter:invert()}.app-loading{background:var(--sp-bg);place-items:center;min-height:100vh;display:grid}.app-loading__content{flex-direction:column;align-items:center;gap:16px;display:flex}.app-loading__dot{background:var(--sp-text);width:6px;height:6px;box-shadow:-12px 0 var(--sp-text-faint), 12px 0 var(--sp-text-faint);border-radius:999px;animation:1.1s ease-in-out infinite loading-pulse}@keyframes loading-pulse{50%{opacity:.35;transform:scale(.85)}}.app-shell{background:var(--sp-bg);width:100%;height:100dvh;min-height:560px;color:var(--sp-text);display:flex;overflow:hidden}.app-main{background:var(--sp-bg);flex-direction:column;flex:1;min-width:0;display:flex;position:relative;overflow:hidden}.app-topbar{z-index:20;pointer-events:none;justify-content:space-between;align-items:center;height:58px;padding:8px 14px;display:flex;position:absolute;inset:0 0 auto}.app-topbar>*{pointer-events:auto}.app-topbar__left{align-items:center;gap:4px;display:flex}.app-title-button{min-height:40px;color:var(--sp-text);letter-spacing:-.02em;background:0 0;border:0;border-radius:10px;align-items:center;gap:6px;padding:0 10px;font-size:20px;font-weight:600;display:inline-flex}.mobile-menu-button,.sidebar-backdrop{display:none}.sidebar{z-index:35;background:var(--sp-sidebar);width:260px;min-width:260px;height:100dvh;color:var(--sp-text);flex-direction:column;transition:transform .2s;display:flex;position:relative;overflow:hidden}.sidebar__header{justify-content:space-between;align-items:center;gap:8px;min-height:58px;padding:8px 10px 6px 14px;display:flex}.sidebar__brand{flex:1;justify-content:center;align-items:center;min-width:0;display:flex}.sidebar__close{display:none}.sidebar__actions{padding:2px 10px 8px}.sidebar__new-chat{width:100%;min-height:40px;color:var(--sp-text);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:10px;justify-content:space-between;align-items:center;gap:10px;padding:8px 10px;font-size:14px;font-weight:500;transition:background-color .14s;display:flex}.sidebar__new-chat:hover{background:var(--sp-surface-hover)}.sidebar__new-chat-label{align-items:center;gap:10px;display:flex}.sidebar__search-wrap{padding:2px 10px 10px}.sidebar__search{position:relative}.sidebar__search svg{color:var(--sp-text-faint);position:absolute;top:50%;left:11px;transform:translateY(-50%)}.sidebar__search input{width:100%;height:36px;color:var(--sp-text);background:0 0;border:1px solid #0000;border-radius:10px;outline:0;padding:0 10px 0 34px;transition:background-color .14s,border-color .14s}.sidebar__search input::placeholder{color:var(--sp-text-faint)}.sidebar__search input:focus{border-color:var(--sp-border);background:var(--sp-surface)}.sidebar__section-label{color:var(--sp-text-soft);padding:10px 18px 6px;font-size:12px;font-weight:500}.sidebar__list{scrollbar-color:var(--sp-border) transparent;scrollbar-width:thin;flex:1;min-height:0;padding:0 8px 10px;overflow:hidden auto}.sidebar__empty{color:var(--sp-text-faint);text-align:center;margin:24px 10px;font-size:13px}.conversation-row{min-height:38px;color:var(--sp-text);border-radius:9px;align-items:center;gap:8px;padding:5px 7px 5px 10px;transition:background-color .14s;display:flex;position:relative}.conversation-row:hover,.conversation-row--active{background:var(--sp-surface-hover)}.conversation-row__select{min-width:0;color:inherit;cursor:pointer;text-align:left;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;flex:1;padding:3px 0;overflow:hidden}.conversation-row__menu-trigger{opacity:0}.conversation-row:hover .conversation-row__menu-trigger,.conversation-row--menu .conversation-row__menu-trigger{opacity:1}.conversation-row__edit{flex:1;align-items:center;gap:3px;min-width:0;display:flex}.conversation-row__edit input{border:1px solid var(--sp-border);background:var(--sp-surface);width:100%;min-width:0;height:28px;color:var(--sp-text);border-radius:7px;outline:none;padding:0 8px}.popover-menu{z-index:60;border:1px solid var(--sp-border);background:var(--sp-surface);width:142px;box-shadow:var(--sp-shadow);border-radius:12px;padding:6px;position:absolute;top:calc(100% - 2px);right:4px;overflow:hidden}.popover-menu button{width:100%;min-height:34px;color:var(--sp-text);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:9px;padding:6px 8px;display:flex}.popover-menu button:hover{background:var(--sp-surface-hover)}.popover-menu .popover-menu__danger{color:var(--sp-danger)}.sidebar__footer{border-top:1px solid var(--sp-border-soft);padding:8px}.sidebar__settings{width:100%;min-height:46px;color:var(--sp-text);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:10px;align-items:center;gap:10px;padding:6px 10px;display:flex}.sidebar__settings:hover{background:var(--sp-surface-hover)}.sidebar__settings-copy{flex-direction:column;min-width:0;display:flex}.sidebar__settings-copy small{color:var(--sp-text-faint);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.mini-avatar{border:1px solid var(--sp-border);background:var(--sp-primary);width:28px;height:28px;color:var(--sp-primary-text);border-radius:999px;flex:none;justify-content:center;align-items:center;font-size:11px;font-weight:650;display:inline-flex;overflow:hidden}.chat{flex-direction:column;flex:1;min-width:0;height:100%;display:flex;overflow:hidden}.chat__scroller{scroll-behavior:smooth;scrollbar-color:var(--sp-border) transparent;scrollbar-width:thin;flex:1;min-height:0;padding:76px 20px 24px;overflow-y:auto}.chat__thread{width:min(100%,760px);margin:0 auto}.chat-empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:100%;padding:90px 0 130px;display:flex}.chat-empty__mark{border:1px solid var(--sp-border);background:var(--sp-surface);width:48px;height:48px;box-shadow:var(--sp-shadow-soft);color:var(--sp-text);border-radius:999px;place-items:center;margin-bottom:22px;display:grid}.chat-empty h1{color:var(--sp-text);letter-spacing:-.035em;margin:0;font-size:clamp(24px,3vw,30px);font-weight:500}.chat-empty p{max-width:460px;color:var(--sp-text-soft);margin:8px 0 0;font-size:14px}.message-list{flex-direction:column;gap:30px;display:flex}.message{width:100%;display:flex}.message--user{justify-content:flex-end}.message--assistant{justify-content:flex-start}.message__content{min-width:0;max-width:82%}.message--assistant .message__content{max-width:100%}.message__bubble{color:var(--sp-text);white-space:pre-wrap;word-break:break-word;font-size:15px;line-height:1.65}.message--user .message__bubble{background:var(--sp-surface-muted);border-radius:20px;padding:9px 16px}.message--assistant .message__bubble{padding:0 4px}.message__attachment{object-fit:cover;border-radius:16px;width:min(300px,100%);max-height:300px;margin:0 0 8px auto;display:block}.message-actions{align-items:center;gap:1px;margin-top:7px;padding-left:0;display:flex}.message-actions button{border-radius:8px;width:30px;height:30px}.typing{align-items:center;gap:5px;padding:6px 4px;display:inline-flex}.typing span{background:var(--sp-text-soft);border-radius:999px;width:5px;height:5px;animation:1.2s ease-in-out infinite typing-bounce}.typing span:nth-child(2){animation-delay:.14s}.typing span:nth-child(3){animation-delay:.28s}@keyframes typing-bounce{0%,60%,to{opacity:.35;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}.composer-shell{z-index:12;background:linear-gradient(180deg, transparent 0, var(--sp-bg) 26%);padding:10px 20px 12px;position:relative}.composer{width:min(100%,760px);margin:0 auto}.attachment-chip{border:1px solid var(--sp-border);background:var(--sp-surface);width:fit-content;max-width:100%;color:var(--sp-text);box-shadow:var(--sp-shadow-soft);border-radius:12px;align-items:center;gap:9px;margin-bottom:8px;padding:7px 8px 7px 11px;font-size:12px;display:flex}.attachment-chip span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.attachment-chip button{width:26px;height:26px}.composer__box{border:1px solid var(--sp-border);background:var(--sp-surface);min-height:58px;box-shadow:var(--sp-shadow-soft);border-radius:26px;align-items:flex-end;gap:5px;padding:8px 9px;transition:border-color .14s,box-shadow .14s;display:flex;position:relative}.composer__box:focus-within{border-color:var(--sp-text-faint);box-shadow:var(--sp-shadow-soft), 0 0 0 3px color-mix(in srgb, var(--sp-text) 8%, transparent)}.composer__input{min-width:0;height:40px;color:var(--sp-text);background:0 0;border:0;outline:none;flex:1;padding:0 6px}.composer__input:focus-visible{outline:none}.composer__input::placeholder{color:var(--sp-text-faint)}.composer__send{background:var(--sp-primary);width:36px;height:36px;color:var(--sp-primary-text);cursor:pointer;border:0;border-radius:999px;flex:none;justify-content:center;align-items:center;transition:opacity .14s,transform .14s;display:inline-flex}.composer__send:hover:not(:disabled){transform:scale(1.04)}.composer__send:disabled{cursor:not-allowed;opacity:.28}.composer__menu{z-index:40;border:1px solid var(--sp-border);background:var(--sp-surface);width:210px;box-shadow:var(--sp-shadow);border-radius:14px;padding:6px;position:absolute;bottom:66px;left:0}.composer__menu button{width:100%;min-height:40px;color:var(--sp-text);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:9px;align-items:center;gap:10px;padding:8px 10px;display:flex}.composer__menu button:hover{background:var(--sp-surface-hover)}.composer__fine-print{color:var(--sp-text-faint);text-align:center;margin:7px 0 0;font-size:11px}.chat-error{background:var(--sp-error-bg,#ef44441a);border:1px solid var(--sp-error-border,#ef44444d);max-width:768px;color:var(--sp-error,#ef4444);border-radius:8px;justify-content:space-between;align-items:center;gap:12px;margin:0 auto;padding:10px 16px;font-size:14px;display:flex}.chat-error button{color:inherit;cursor:pointer;background:0 0;border:none;padding:0 4px;font-size:18px;line-height:1}.product-rail{scroll-snap-type:x proximity;scrollbar-color:var(--sp-border) transparent;scrollbar-width:thin;grid-auto-columns:minmax(210px,230px);grid-auto-flow:column;gap:10px;margin:14px -4px 0;padding:4px 4px 10px;display:grid;overflow-x:auto}.product-card{border:1px solid var(--sp-border);background:var(--sp-surface);min-width:0;min-height:320px;color:var(--sp-text);scroll-snap-align:start;border-radius:16px;flex-direction:column;transition:border-color .14s,transform .14s;display:flex;overflow:hidden}.product-card:hover{border-color:var(--sp-text-faint);transform:translateY(-2px)}.product-card__image-wrap{aspect-ratio:4/3;background:var(--sp-surface-muted);position:relative;overflow:hidden}.product-card__image{object-fit:cover;width:100%;height:100%;display:block}.product-card__body{flex-direction:column;flex:1;padding:13px;display:flex}.product-card__brand{color:var(--sp-text-soft);text-transform:uppercase;letter-spacing:.06em;margin:0 0 3px;font-size:11px}.product-card h3{line-clamp:2;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:14px;font-weight:600;line-height:1.35;display:-webkit-box;overflow:hidden}.product-card__price-row{align-items:baseline;gap:7px;margin-top:10px;display:flex}.product-card__price{font-size:15px;font-weight:650}.product-card__original{color:var(--sp-text-faint);font-size:12px;text-decoration:line-through}.product-card__discount{color:var(--sp-success,#22c55e);background:var(--sp-success-bg,#22c55e1a);border-radius:4px;padding:2px 6px;font-size:.75rem;font-weight:600}.product-card__rating{color:var(--sp-text-soft);align-items:center;gap:4px;margin:4px 0 0;font-size:12px;display:flex}.product-card__link{border:1px solid var(--sp-border);min-height:36px;color:var(--sp-text);border-radius:999px;justify-content:center;align-items:center;gap:6px;margin-top:auto;font-size:12px;font-weight:600;text-decoration:none;display:flex}.product-card__link:hover{background:var(--sp-surface-hover)}.profile-avatar{border:1px solid var(--sp-border);background:var(--sp-primary);width:34px;height:34px;color:var(--sp-primary-text);cursor:pointer;border-radius:999px;justify-content:center;align-items:center;font-size:12px;font-weight:650;transition:opacity .14s;display:inline-flex;overflow:hidden}.profile-avatar:hover{opacity:.78}.profile-avatar img{object-fit:cover;width:100%;height:100%}.dialog-backdrop{z-index:100;background:var(--sp-overlay);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.dialog{border:1px solid var(--sp-border);background:var(--sp-surface);width:min(100%,420px);color:var(--sp-text);box-shadow:var(--sp-shadow);border-radius:18px;overflow:hidden}.dialog__header{justify-content:space-between;align-items:center;gap:16px;padding:18px 20px 12px;display:flex}.dialog__header h2,.dialog__header h3{letter-spacing:-.02em;margin:0;font-size:18px;font-weight:600}.dialog__body{padding:8px 20px 20px}.dialog__description{color:var(--sp-text-soft);margin:0 0 18px;font-size:13px}.dialog__actions{justify-content:flex-end;gap:8px;margin-top:18px;display:flex}.settings-section{border-top:1px solid var(--sp-border-soft);padding:15px 0}.settings-section:first-child{border-top:0;padding-top:2px}.settings-section__label{color:var(--sp-text-soft);margin-bottom:8px;font-size:12px;font-weight:500;display:block}.settings-field-row{gap:8px;display:flex}.text-field{border:1px solid var(--sp-border);background:var(--sp-bg);width:100%;height:42px;color:var(--sp-text);border-radius:10px;outline:none;padding:0 12px;transition:border-color .14s,box-shadow .14s}.text-field:focus{border-color:var(--sp-text-faint);box-shadow:0 0 0 3px color-mix(in srgb, var(--sp-text) 8%, transparent)}.button{border:1px solid var(--sp-border);min-height:40px;color:var(--sp-text);cursor:pointer;background:0 0;border-radius:999px;justify-content:center;align-items:center;gap:8px;padding:0 16px;font-weight:600;transition:background-color .14s,opacity .14s;display:inline-flex}.button:hover:not(:disabled){background:var(--sp-surface-hover)}.button--primary{border-color:var(--sp-primary);background:var(--sp-primary);color:var(--sp-primary-text)}.button--primary:hover:not(:disabled){opacity:.82}.button--danger{color:var(--sp-danger)}.button:disabled{cursor:not-allowed;opacity:.45}.settings-toggle{border:1px solid var(--sp-border);width:100%;min-height:48px;color:var(--sp-text);cursor:pointer;text-align:left;background:0 0;border-radius:12px;justify-content:space-between;align-items:center;gap:14px;padding:8px 11px;display:flex}.settings-toggle:hover{background:var(--sp-surface-hover)}.settings-toggle__label{align-items:center;gap:10px;display:flex}.settings-toggle small{color:var(--sp-text-faint)}.saved-message{color:var(--sp-success);margin:7px 0 0;font-size:12px}.auth-screen{background:var(--sp-bg);min-height:100dvh;color:var(--sp-text);grid-template-rows:auto 1fr auto;display:grid}.auth-screen__header{justify-content:space-between;align-items:center;min-height:72px;padding:12px 22px;display:flex}.auth-screen__main{justify-content:center;align-items:center;padding:32px 20px 64px;display:flex}.auth-panel{width:min(100%,400px)}.auth-panel--centered{text-align:center}.auth-panel__mark{border:1px solid var(--sp-border);background:var(--sp-surface);width:48px;height:48px;box-shadow:var(--sp-shadow-soft);border-radius:999px;place-items:center;margin:0 auto 24px;display:grid}.auth-panel h1{letter-spacing:-.035em;margin:0;font-size:30px;font-weight:600;line-height:1.15}.auth-panel__subtitle{color:var(--sp-text-soft);margin:10px 0 28px;font-size:14px}.auth-form{flex-direction:column;gap:17px;display:flex}.auth-field label{color:var(--sp-text);margin-bottom:7px;font-size:13px;font-weight:500;display:block}.auth-input-wrap{position:relative}.auth-input{border:1px solid var(--sp-border);background:var(--sp-bg);width:100%;height:50px;color:var(--sp-text);border-radius:12px;outline:none;padding:0 14px;transition:border-color .14s,box-shadow .14s}.auth-input::placeholder{color:var(--sp-text-faint)}.auth-input:focus{border-color:var(--sp-text-faint);box-shadow:0 0 0 3px color-mix(in srgb, var(--sp-text) 8%, transparent)}.auth-input:disabled{opacity:.5}.auth-input--with-action{padding-right:48px}.auth-input-action{position:absolute;top:50%;right:8px;transform:translateY(-50%)}.auth-submit{border:1px solid var(--sp-primary);background:var(--sp-primary);width:100%;min-height:50px;color:var(--sp-primary-text);cursor:pointer;border-radius:999px;justify-content:center;align-items:center;padding:0 20px;font-weight:600;transition:opacity .14s,transform .14s;display:inline-flex}.auth-submit:hover:not(:disabled){opacity:.84}.auth-submit:active:not(:disabled){transform:scale(.99)}.auth-submit:disabled{cursor:not-allowed;opacity:.45}.auth-error{color:var(--sp-danger);margin:-5px 0 0;font-size:13px}.auth-switch{color:var(--sp-text-soft);text-align:center;margin:24px 0 0;font-size:13px}.auth-switch a,.auth-link{color:var(--sp-text);text-underline-offset:3px;font-weight:600}.auth-checklist{flex-direction:column;gap:5px;margin-top:9px;display:flex}.auth-check{color:var(--sp-text-faint);align-items:center;gap:6px;font-size:11px;display:flex}.auth-check--valid{color:var(--sp-success)}.auth-screen__footer{color:var(--sp-text-faint);text-align:center;padding:18px;font-size:11px}@media (width<=700px){.mobile-menu-button{display:inline-flex}.sidebar{width:min(86vw,290px);min-width:min(86vw,290px);box-shadow:var(--sp-shadow);position:fixed;inset:0 auto 0 0;transform:translate(-105%)}.sidebar--open{transform:translate(0)}.sidebar__close{display:inline-flex}.sidebar-backdrop{z-index:30;background:var(--sp-overlay);opacity:0;pointer-events:none;border:0;transition:opacity .2s;display:block;position:fixed;inset:0}.sidebar-backdrop--open{opacity:1;pointer-events:auto}.app-title-button{font-size:16px}.chat__scroller{padding-left:14px;padding-right:14px}.composer-shell{padding-left:12px;padding-right:12px}}@media (width<=520px){.app-shell{min-height:500px}.app-topbar{height:54px;padding:6px 8px}.app-title-button{padding:0 6px}.chat__scroller{padding-top:68px;padding-bottom:18px}.chat-empty{justify-content:flex-start;padding-top:24vh}.chat-empty__mark{width:42px;height:42px;margin-bottom:16px}.chat-empty h1{font-size:24px}.message-list{gap:24px}.message__content{max-width:90%}.message__bubble{font-size:14px}.composer-shell{padding-bottom:max(8px, env(safe-area-inset-bottom))}.composer__fine-print{display:none}.product-rail{grid-auto-columns:minmax(190px,77vw)}.dialog-backdrop{align-items:flex-end;padding:0}.dialog{border-radius:20px 20px 0 0;width:100%;max-height:88dvh;overflow-y:auto}.auth-screen__header{min-height:64px;padding:10px 16px}.auth-screen__main{align-items:flex-start;padding:9vh 18px 44px}.auth-panel h1{font-size:27px}.brand-logo img{height:38px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
