:root{--bg0:#0c0f13;--bg1:#131820;--bg2:#1a2029;--bg3:#232b35;--bgc:rgba(22,28,37,.82);--bgh:rgba(30,36,45,.9);--bd:rgba(255,255,255,.07);--bdl:rgba(255,255,255,.115);--lineSoft:rgba(255,255,255,.04);--t1:#f5f7fa;--t2:#a7b0bc;--t3:#6e7887;--ac:#c5a06c;--ach:#d7b88b;--acg:rgba(197,160,108,.14);--pu:#8f88b8;--cy:#7fafbe;--gn:#78b792;--panel:linear-gradient(180deg, rgba(26,32,41,.96), rgba(19,24,32,.9));--panelStrong:linear-gradient(180deg, rgba(30,36,45,.98), rgba(19,24,32,.94));--panelSoft:linear-gradient(180deg, rgba(26,32,41,.92), rgba(19,24,32,.86));--panelWarm:linear-gradient(180deg, rgba(39,33,27,.92), rgba(25,22,19,.86));--surface1:rgba(255,255,255,.026);--surface2:rgba(255,255,255,.038);--surface3:rgba(255,255,255,.055);--surface4:rgba(255,255,255,.082);--textOnDark:rgba(245,247,250,.8);--overlayStrong:rgba(8,10,14,.86);--overlaySoft:rgba(8,10,14,.66);--success:#78b792;--successBg:rgba(120,183,146,.12);--successBd:rgba(120,183,146,.24);--warn:#d0a15d;--warnBg:rgba(208,161,93,.12);--warnBd:rgba(208,161,93,.22);--danger:#e28383;--dangerBg:rgba(226,131,131,.12);--dangerBd:rgba(226,131,131,.24);--shadowSm:0 12px 30px rgba(0,0,0,.24);--shadowMd:0 26px 70px rgba(0,0,0,.32);--shadowLg:0 34px 92px rgba(0,0,0,.4);--glass:blur(22px) saturate(122%);--rSm:12px;--rMd:18px;--rLg:26px;--sw:220px;--ui-zoom:1;--z-content:0;--z-header:100;--z-popover:200;--z-drawer-backdrop:490;--z-drawer:500;--z-modal:1000;--z-toast:2000;--safe-top:env(safe-area-inset-top,0px);--safe-right:env(safe-area-inset-right,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px)}@supports (zoom:1){@media(min-width:2560px){:root{--ui-zoom:1.3;--sw:260px}}@media(min-width:3840px){:root{--ui-zoom:1.5;--sw:280px}}}*{margin:0;padding:0;box-sizing:border-box}html{background:var(--page-background)}body{font-family:Inter,system-ui,-apple-system,sans-serif;background:transparent;color:var(--t1);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;min-height:100vh;min-height:100dvh}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}::selection{background:#c6a06a33;color:var(--t1)}#root{--app-viewport-height: calc(100vh / var(--ui-zoom));min-height:var(--app-viewport-height);zoom:var(--ui-zoom)}@supports (height:100dvh){#root{--app-viewport-height:calc(100dvh / var(--ui-zoom))}}::-webkit-scrollbar{width:7px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:rgb(var(--surface-ink) / .12);border-radius:999px}.convo-item:hover .convo-del{opacity:1!important}.app-load-error{display:grid;gap:12px;justify-items:center;padding:32px}.app-load-error button{padding:8px 16px;border:1px solid var(--bd);background:var(--bg2);color:var(--t1);border-radius:8px;cursor:pointer}.app-feedback{position:fixed;z-index:var(--z-toast);top:calc(var(--safe-top) + 14px);right:calc(var(--safe-right) + 14px);width:max-content;max-width:min(360px,calc(100% - var(--safe-left) - var(--safe-right) - 28px));display:flex;align-items:center;gap:12px;padding:10px 12px;color:var(--t1);background:var(--bg1);border:1px solid var(--dangerBd);border-radius:14px;box-shadow:var(--shadowMd);font-size:13px;line-height:1.45;overflow-wrap:anywhere}.app-feedback button{flex:0 0 28px;height:28px;border:0;border-radius:50%;background:var(--surface3);color:var(--t1);cursor:pointer;font-size:18px}:root{color-scheme:dark;--surface-ink: 255 255 255;--on-accent: #0c0f13;--media-foreground: #f5f7fa;--media-accent: #c5a06c;--page-background: radial-gradient(circle at top left, rgba(197,160,108,.08), transparent 24%), radial-gradient(circle at top right, rgba(127,175,190,.05), transparent 18%), linear-gradient(180deg, #151a22 0%, #0f141b 52%, #0a0d12 100%) fixed;--header-surface: rgb(18, 22, 28);--sidebar-surface: linear-gradient(180deg, rgba(23,24,29,.9), rgba(18,20,25,.94));--sidebar-shadow: 18px 0 50px rgba(0,0,0,.16);--workspace-surface: linear-gradient(180deg, rgba(31,33,38,.84), rgba(24,27,32,.78));--workspace-toolbar: linear-gradient(180deg, rgba(255,255,255,.02), rgba(10,11,14,.08));--popover-surface: linear-gradient(180deg, rgba(34,36,41,.96), rgba(24,27,32,.94));--chat-surface: linear-gradient(180deg, rgba(24,29,38,.94), rgba(16,20,27,.92));--chat-shadow: 0 22px 56px rgba(0,0,0,.22);--chat-header-surface: rgba(18,22,29,.78);--chat-history-surface: linear-gradient(180deg, rgba(28,32,39,.88), rgba(20,24,30,.86));--chat-search-surface: rgba(20,24,30,.97);--chat-composer-surface: linear-gradient(180deg, rgba(26,31,39,.96), rgba(20,24,31,.94));--chat-composer-edge: rgba(12,15,19,.24);--chat-menu-surface: linear-gradient(180deg, rgba(34,36,41,.98), rgba(24,27,32,.96));--chat-jump-surface: rgba(24,29,38,.96);--code-surface: rgba(10,12,16,.3);--preview-surface: linear-gradient(180deg, rgba(18,18,22,.98), rgba(10,10,12,.98));--image-card-surface: linear-gradient(180deg, rgba(34,34,38,.82), rgba(20,20,24,.95));--lightbox-panel: var(--surface2);--lightbox-control: var(--surface3);--account-control: rgba(24,27,32,.76);--account-control-hover: rgba(34,36,41,.92);--plan-featured-surface: linear-gradient(180deg, rgba(201,160,107,.13), rgba(28,27,24,.9) 34%, rgba(22,22,26,.86));--prompt-placeholder: #8c98a9}:root[data-theme=light]{color-scheme:light;--surface-ink: 27 38 53;--bg0: #f4f5f7;--bg1: #fff;--bg2: #eef1f5;--bg3: #e8ecf1;--bgc: rgba(255,255,255,.94);--bgh: rgba(245,247,250,.98);--bd: rgba(27,38,53,.16);--bdl: rgba(27,38,53,.24);--lineSoft: rgba(27,38,53,.09);--t1: #202736;--t2: #465363;--t3: #556273;--ac: #78501f;--ach: #875c27;--acg: rgba(136,89,31,.12);--on-accent: #fff;--media-accent: #ebc993;--pu: #61568b;--cy: #326c7a;--gn: #2b6947;--panel: linear-gradient(180deg, #fff, #f8f9fc);--panelStrong: linear-gradient(180deg, #fff, #f3f5f9);--panelSoft: linear-gradient(180deg, #fcfcfe, #f2f4f7);--panelWarm: linear-gradient(180deg, #fcf5ea, #fffdfa);--surface1: rgba(27,38,53,.026);--surface2: rgba(27,38,53,.048);--surface3: rgba(27,38,53,.071);--surface4: rgba(27,38,53,.105);--overlayStrong: rgba(18,24,35,.65);--overlaySoft: rgba(18,24,35,.36);--success: #296541;--successBg: rgba(51,128,82,.1);--successBd: rgba(51,128,82,.25);--warn: #85571f;--warnBg: rgba(168,107,38,.1);--warnBd: rgba(168,107,38,.24);--danger: #a0333e;--dangerBg: rgba(177,54,65,.09);--dangerBd: rgba(177,54,65,.23);--shadowSm: 0 8px 20px rgba(32,43,61,.09);--shadowMd: 0 16px 40px rgba(32,43,61,.13);--shadowLg: 0 24px 64px rgba(32,43,61,.18);--page-background: linear-gradient(165deg, #faf9f5, #eef1f5 68%) fixed;--header-surface: var(--bg1);--sidebar-surface: var(--panelStrong);--sidebar-shadow: 10px 0 30px rgba(32,43,61,.07);--workspace-surface: linear-gradient(180deg, #fff, #f9fafc);--workspace-toolbar: #f0f2f6;--popover-surface: var(--panelStrong);--chat-surface: var(--panel);--chat-shadow: var(--shadowMd);--chat-header-surface: var(--bgc);--chat-history-surface: var(--panelSoft);--chat-search-surface: var(--bg1);--chat-composer-surface: var(--workspace-surface);--chat-composer-edge: var(--surface2);--chat-menu-surface: var(--popover-surface);--chat-jump-surface: var(--bg1);--code-surface: var(--bg2);--preview-surface: var(--panelSoft);--image-card-surface: var(--panelSoft);--lightbox-panel: var(--bg1);--lightbox-control: var(--bg1);--account-control: var(--bgc);--account-control-hover: var(--bgh);--plan-featured-surface: var(--panelWarm);--prompt-placeholder: var(--t3)}:root[data-theme-switching] *,:root[data-theme-switching] *:before,:root[data-theme-switching] *:after{transition-duration:0ms!important}:root{--motion-press: 90ms;--motion-fast: .13s;--motion-enter: .19s;--motion-exit: .14s;--motion-panel: .24s;--motion-ease-out: cubic-bezier(.16, 1, .3, 1);--motion-ease-in: cubic-bezier(.4, 0, .8, .35);--motion-interaction: var(--motion-fast) var(--motion-ease-out);--motion-press-scale: .965}@keyframes motion-fade-in{0%{opacity:0}}@keyframes motion-reveal{0%{opacity:0;transform:translateY(4px)}}@keyframes motion-spin{to{transform:rotate(1turn)}}@keyframes motion-pulse{50%{opacity:.45}}[data-motion=reveal],[data-motion=value]{animation:motion-reveal var(--motion-enter) var(--motion-ease-out)}[data-motion=loading]{animation:motion-fade-in var(--motion-fast) 85ms var(--motion-ease-out) both}[data-motion=switch]{animation:motion-fade-in var(--motion-fast) var(--motion-ease-out)}[data-motion=value]{font-variant-numeric:tabular-nums;animation-duration:var(--motion-fast)}[data-motion=action]:not(:disabled,[aria-disabled=true]):active{scale:var(--motion-press-scale);transition-duration:var(--motion-press)}:where([data-motion=action]){transition:scale var(--motion-fast) var(--motion-ease-out)}[data-motion-state]{transition:opacity var(--motion-enter) var(--motion-ease-out)}[data-motion-panel]{--panel-entry: translateY(6px) scale(.985);transition:opacity var(--motion-enter) var(--motion-ease-out),transform var(--motion-enter) var(--motion-ease-out)}[data-motion-panel=menu]{--panel-entry: translateY(-4px) scale(.985);transform-origin:top left}[data-motion-panel=above]{--panel-entry: translateY(4px) scale(.985);transform-origin:bottom left}[data-motion-state=closing]{opacity:0;pointer-events:none;transition-duration:var(--motion-exit);transition-timing-function:var(--motion-ease-in)}[data-motion-state=closing][data-motion-panel],[data-motion-state=closing] [data-motion-panel]{opacity:0;transform:var(--panel-entry);transition-duration:var(--motion-exit);transition-timing-function:var(--motion-ease-in)}@starting-style{[data-motion-state=open]{opacity:0}[data-motion-state=open][data-motion-panel],[data-motion-state=open] [data-motion-panel]{opacity:0;transform:var(--panel-entry)}}.app-spinner{display:inline-block;width:24px;height:24px;border:3px solid var(--bd);border-top-color:var(--ac);border-radius:50%;animation:motion-spin .9s linear infinite}@media(prefers-reduced-motion:reduce){:root{--motion-press: 0ms;--motion-fast: 0ms;--motion-enter: 0ms;--motion-exit: 0ms;--motion-panel: 0ms;--motion-press-scale: 1}*,*:before,*:after{animation:none!important;scroll-behavior:auto!important}[data-motion-panel]{--panel-entry: none}}
