/*! tailwindcss v4.3.1 | 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-border-style:solid;--tw-outline-style:solid;--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;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, 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;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--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,ui-sans-serif, system-ui, 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{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{.collapse{visibility:collapse}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.flex-shrink{flex-shrink:1}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.flex-wrap{flex-wrap:wrap}.rounded{border-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.break-all{word-break:break-all}.uppercase{text-transform:uppercase}.underline{text-decoration-line:underline}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);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,)}.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,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}}[data-style=classic][data-mode=dark],[data-style=classic]:not([data-mode]){--surface-deepest:#0c0c0f;--surface-raised:#121216;--surface-card:#18181d;--surface-card-light:#3a3a45;--border-subtle:#1e1e24;--border-hover:#2a2a32;--text-primary:#ecedee;--text-secondary:#7f8087;--text-tertiary:#56575e;--accent:#6c5ce7;--accent-hover:#7c6df2;--accent-glow:#6c5ce726;--green:#40c466;--yellow:#e8b339;--red:#e5484d;--glass-bg:transparent;--glass-blur:0px;--card-shadow:none;--card-border-hover:var(--border-hover);--radius-xs:4px;--radius-sm:6px;--radius-md:8px;--radius-lg:12px;--radius-xl:16px;--radius-2xl:20px;--chat-user-bg:#2b2a3733;--chat-user-border:1px solid #9390ad4d;--chat-user-radius:16px 16px 4px 16px;--chat-assistant-bg:transparent;--chat-assistant-border:none;--chat-assistant-radius:16px;--scrollbar-width:6px;--scrollbar-thumb:#2a2a32;--scrollbar-thumb-hover:#3a3a42;--scrollbar-radius:3px}[data-style=classic] .glass-card,[data-style=classic] .glass-panel{border:1px solid var(--border-subtle)}[data-style=classic][data-mode=light]{--surface-deepest:#f2f2f5;--surface-raised:#eaeaef;--surface-card:#fff;--surface-card-light:#e0e0e6;--border-subtle:#d4d4dc;--border-hover:#b0b0ba;--text-primary:#1c1c1e;--text-secondary:#6c6c70;--text-tertiary:#aeaeb2;--accent:#6c5ce7;--accent-hover:#5a4bd4;--accent-glow:#6c5ce71f;--green:#34a853;--yellow:#d4a02b;--red:#dc3545;--glass-bg:transparent;--glass-blur:0px;--card-shadow:0 1px 3px #0000000f, 0 1px 2px #0000000a;--card-border-hover:var(--border-hover);--radius-xs:4px;--radius-sm:6px;--radius-md:8px;--radius-lg:12px;--radius-xl:16px;--radius-2xl:20px;--chat-user-bg:#6c5ce714;--chat-user-border:1px solid #6c5ce733;--chat-user-radius:16px 16px 4px 16px;--chat-assistant-bg:transparent;--chat-assistant-border:none;--chat-assistant-radius:16px;--scrollbar-width:6px;--scrollbar-thumb:#c4c4ce;--scrollbar-thumb-hover:#b0b0ba;--scrollbar-radius:3px}[data-style=classic][data-mode=light] .glass-card,[data-style=classic][data-mode=light] .glass-panel{border:1px solid var(--border-subtle)}[data-style=glassy][data-mode=dark]{--surface-deepest:#08080b;--surface-raised:#14141ab8;--surface-card:#18181ebd;--surface-card-light:#2a2a32a3;--border-subtle:#ffffff0a;--border-hover:#ffffff1f;--text-primary:#ecedee;--text-secondary:#8a8a92;--text-tertiary:#5e5e66;--accent:#6c5ce7;--accent-hover:#8b7cf7;--accent-glow:#6c5ce740;--green:#40c466;--yellow:#e8b339;--red:#e5484d;--glass-bg:#18181ead;--glass-blur:30px;--card-shadow:0 3px 6px #0003;--card-border-hover:#ffffff4d;--radius-xs:8px;--radius-sm:10px;--radius-md:12px;--radius-lg:16px;--radius-xl:20px;--radius-2xl:24px;--chat-user-bg:#6c5ce71f;--chat-user-border:1px solid #6c5ce726;--chat-user-radius:18px 18px 6px 18px;--chat-assistant-bg:#ffffff0a;--chat-assistant-border:1px solid #ffffff0d;--chat-assistant-radius:18px;--scrollbar-width:8px;--scrollbar-thumb:#ffffffe0;--scrollbar-thumb-hover:#ffffff2e;--scrollbar-radius:9999px}[data-style=glassy][data-mode=light]{--surface-deepest:#e8eaf0;--surface-raised:#ffffffb3;--surface-card:#ffffffb3;--surface-card-light:#ffffffd9;--border-subtle:#6c5ce726;--border-hover:#6c5ce759;--text-primary:#1c1c1e;--text-secondary:#58586a;--text-tertiary:#8a8a9a;--accent:#6c5ce7;--accent-hover:#5a4bd4;--accent-glow:#6c5ce733;--green:#34a853;--yellow:#d4a02b;--red:#dc3545;--glass-bg:#ffffffe6;--glass-blur:30px;--card-shadow:0 8px 32px #6c5ce71a;--card-border-hover:#6c5ce766;--radius-xs:8px;--radius-sm:10px;--radius-md:12px;--radius-lg:16px;--radius-xl:20px;--radius-2xl:24px;--chat-user-bg:#6c5ce71a;--chat-user-border:1px solid #6c5ce733;--chat-user-radius:18px 18px 6px 18px;--chat-assistant-bg:#ffffff80;--chat-assistant-border:1px solid #6c5ce71a;--chat-assistant-radius:18px;--scrollbar-width:8px;--scrollbar-thumb:#6c5ce733;--scrollbar-thumb-hover:#6c5ce759;--scrollbar-radius:9999px}[data-style=neon][data-mode=dark]{--surface-deepest:#06060a;--surface-raised:#0c0c14;--surface-card:#11111a;--surface-card-light:#1a1a28;--border-subtle:#6c5ce726;--border-hover:#6c5ce759;--text-primary:#ecedee;--text-secondary:#8888a0;--text-tertiary:#5a5a70;--accent:#6c5ce7;--accent-hover:#8b7cf7;--accent-glow:#6c5ce740;--green:#40c466;--yellow:#e8b339;--red:#e5484d;--glass-bg:transparent;--glass-blur:0px;--card-shadow:0 0 20px #6c5ce714;--card-border-hover:var(--accent);--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:10px;--radius-2xl:12px;--chat-user-bg:#6c5ce714;--chat-user-border:1px solid #6c5ce733;--chat-user-radius:8px 8px 2px 8px;--chat-assistant-bg:var(--surface-card);--chat-assistant-border:1px solid var(--border-subtle);--chat-assistant-radius:8px;--scrollbar-width:5px;--scrollbar-thumb:#6c5ce740;--scrollbar-thumb-hover:#6c5ce766;--scrollbar-radius:2px}[data-style=neon][data-mode=light]{--surface-deepest:#f0f0f8;--surface-raised:#e8e5f5;--surface-card:#fff;--surface-card-light:#e8e5f5;--border-subtle:#6c5ce733;--border-hover:#6c5ce773;--text-primary:#0a0a14;--text-secondary:#4a4a6a;--text-tertiary:#7a7a9a;--accent:#6c5ce7;--accent-hover:#5849c7;--accent-glow:#6c5ce72e;--green:#16a34a;--yellow:#d4a02b;--red:#dc2f52;--glass-bg:transparent;--glass-blur:0px;--card-shadow:0 0 20px #6c5ce714;--card-border-hover:var(--accent);--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:10px;--radius-2xl:12px;--chat-user-bg:#6c5ce714;--chat-user-border:1px solid #6c5ce738;--chat-user-radius:8px 8px 2px 8px;--chat-assistant-bg:#fff;--chat-assistant-border:1px solid #6c5ce726;--chat-assistant-radius:8px;--scrollbar-width:5px;--scrollbar-thumb:#6c5ce740;--scrollbar-thumb-hover:#6c5ce766;--scrollbar-radius:2px}[data-style=neon] .glass-card,[data-style=neon] .glass-panel{border:1px solid var(--border-subtle);box-shadow:var(--card-shadow)}[data-style=neon] .glass-card:hover,[data-style=neon] .glass-panel:hover{border-color:var(--border-hover);box-shadow:0 0 30px #6c5ce733}[data-style=glassy] #root:before{content:"";z-index:-1;pointer-events:none;background:radial-gradient(600px 400px at 15% 25%,#6c5ce71a 0%,#0000 60%),radial-gradient(500px 500px at 75% 20%,#6c5ce712 0%,#0000 60%),radial-gradient(400px 500px at 85% 70%,#a29bfe0f 0%,#0000 60%),radial-gradient(500px 400px at 20% 75%,#6c5ce70d 0%,#0000 60%);animation:12s ease-in-out infinite alternate glass-bg-drift;position:fixed;inset:0}[data-style=glassy][data-mode=light] #root:before{background:radial-gradient(600px 400px at 15% 25%,#6c5ce714 0%,#0000 60%),radial-gradient(500px 500px at 75% 20%,#6c5ce70d 0%,#0000 60%),radial-gradient(400px 500px at 85% 70%,#a29bfe0a 0%,#0000 60%),radial-gradient(500px 400px at 20% 75%,#6c5ce70a 0%,#0000 60%)}@keyframes glass-bg-drift{0%{transform:translate(0)scale(1)}to{transform:translate(2%,1%)scale(1.03)}}[data-style=glassy] .glass-panel,[data-style=glassy] .glass-card{isolation:isolate;position:relative}[data-style=glassy] .glass-panel:before,[data-style=glassy] .glass-card:before{content:"";border-radius:inherit;pointer-events:none;z-index:1;background:linear-gradient(160deg,#ffffff0f 0%,#ffffff05 30%,#0000 60%);position:absolute;inset:0}[data-style=glassy][data-mode=light] .glass-panel:before,[data-style=glassy][data-mode=light] .glass-card:before{background:linear-gradient(160deg,#ffffff26 0%,#ffffff0d 30%,#0000 60%)}*{box-sizing:border-box}body{background:var(--surface-deepest);color:var(--text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;overscroll-behavior:none;margin:0;font-family:-apple-system,BlinkMacSystemFont,SF Pro Display,SF Pro Text,Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow-x:hidden}html,body,#root{width:100%;height:100%;margin:0;padding:0}html{overscroll-behavior:none;overflow:hidden}#root{z-index:0;overscroll-behavior:none;height:100dvh;position:relative;overflow:hidden}code,pre,.mono{font-family:JetBrains Mono,monospace}textarea,input,select,button{font-family:inherit}.glass-panel{-webkit-backdrop-filter:blur(var(--glass-blur,0px)) saturate(1.4);transition:background .3s,-webkit-backdrop-filter .3s,backdrop-filter .3s,box-shadow .3s,border-color .3s}.glass-card{background:var(--surface-card)}[data-style=glassy] .glass-panel{background:var(--glass-bg)!important}[data-style=glassy] .glass-card{-webkit-backdrop-filter:blur(var(--glass-blur,0px)) saturate(1.4);background:var(--glass-bg)!important}[data-style=glassy] [style*="border-radius: 4px"]{border-radius:var(--radius-xs)!important}[data-style=glassy] [style*="border-radius: 6px"]{border-radius:var(--radius-sm)!important}[data-style=glassy] [style*="border-radius: 8px"]{border-radius:var(--radius-md)!important}[data-style=glassy] [style*="border-radius: 10px"]{border-radius:14px!important}[data-style=glassy] [style*="border-radius: 12px"]{border-radius:var(--radius-lg)!important}[data-style=glassy] [style*="border-radius: 14px"]{border-radius:18px!important}[data-style=glassy] [style*="border-radius: 16px"]{border-radius:var(--radius-xl)!important}[data-style=glassy] [style*="border-radius: 20px"]{border-radius:var(--radius-2xl)!important}[data-style=glassy] [style*="border: 1px solid"]{border-style:solid!important;border-width:1px!important}[data-style=neon] [style*="border-radius: 8px"]{border-radius:var(--radius-md)!important}[data-style=neon] [style*="border-radius: 10px"]{border-radius:6px!important}[data-style=neon] [style*="border-radius: 12px"]{border-radius:var(--radius-lg)!important}[data-style=neon] [style*="border-radius: 14px"]{border-radius:8px!important}[data-style=neon] [style*="border-radius: 16px"]{border-radius:var(--radius-xl)!important}[data-style=neon] [style*="border-radius: 20px"]{border-radius:var(--radius-2xl)!important}[data-style=neon] [style*="border-radius: 24px"]{border-radius:12px!important}body,.glass-panel,.glass-card{transition:background-color .35s,border-color .35s,color .35s,-webkit-backdrop-filter .35s,backdrop-filter .35s,box-shadow .35s,border-radius .35s}@keyframes pulse-glow{0%,to{opacity:.5;transform:scale(1)}50%{opacity:1;transform:scale(1.05)}}@keyframes float-orb{0%,to{transform:translateY(0)scale(1)}50%{transform:translateY(-20px)scale(1.05)}}@keyframes bounce-soft{0%,to{transform:translateY(0)}50%{transform:translateY(6px)}}::-webkit-scrollbar{width:var(--scrollbar-width,6px);height:var(--scrollbar-width,6px)}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{border-radius:var(--scrollbar-radius,3px);background:0 0}body.scrolling ::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb-hover,#3a3a42)}::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-thumb-hover,#3a3a42)}*{scrollbar-width:thin;scrollbar-color:transparent transparent}body.scrolling *{scrollbar-color:var(--scrollbar-thumb,#2a2a32) transparent}@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-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@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}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}.route-main{height:calc(100%-40px);margin-top:40px}.shared-chat-page{box-sizing:border-box;flex-direction:column;gap:1rem;width:min(100%,960px);height:100%;margin:0 auto;padding:1.5rem clamp(1rem,3vw,2.5rem);display:flex}.shared-chat-header{border-bottom:1px solid var(--border-subtle);padding:.25rem 0 1rem}.shared-chat-header h1{margin:.2rem 0;font-size:1.35rem}.shared-chat-header>p{color:var(--text-secondary);margin:.35rem 0 0;font-size:.9rem}.shared-chat-eyebrow{color:var(--accent);margin:0;font-size:.78rem;font-weight:600}.shared-chat-messages{flex:1;min-height:0;padding:.5rem 0;overflow-y:auto}.shared-message{margin:.85rem 0;display:flex}.shared-message.user{justify-content:flex-end}.shared-message .bubble{white-space:pre-wrap;max-width:min(78%,720px)}.shared-chat-composer{border:1px solid var(--border-subtle);border-radius:var(--radius-md);justify-content:space-between;align-items:center;gap:.75rem;padding:.8rem 1rem;display:flex}.shared-chat-composer p{color:var(--text-secondary);margin:0;font-size:.9rem}.shared-chat-continue{border:1px solid var(--accent-hover);background:var(--accent);color:#fff;font:inherit;cursor:pointer;white-space:nowrap;box-shadow:0 2px 8px color-mix(in srgb, var(--accent) 35%, transparent);border-radius:8px;padding:.65rem 1rem;font-weight:600}.shared-chat-continue:hover{background:var(--accent-hover)}.shared-chat-state{color:var(--text-secondary);margin:auto}@media (width<=600px){.shared-chat-page{padding:1rem}.shared-chat-composer{flex-direction:column;align-items:stretch}.shared-message .bubble{max-width:90%}}.messages-container{scrollbar-gutter:stable;overflow-anchor:none;flex-direction:column;gap:1.5rem;min-width:0;height:100%;padding-left:.75rem;padding-right:.75rem;display:flex;overflow-y:scroll}.message-row{gap:.75rem;min-width:0;max-width:80%;margin:0 10%;display:flex}.message-row>*{min-width:0}.message-row.user{flex-direction:row-reverse}.message-row.assistant{flex-direction:row}.msg-content{flex-direction:column;align-items:flex-start;max-width:100%;display:flex}.msg-content.user{align-items:flex-end}.message-row:hover .message-actions{opacity:1!important}@media (hover:none){.message-row .message-actions{opacity:1!important}}.chat-bottom-spacer{max-height:0}@media (width<=768px){.chat-bottom-spacer{min-height:60px;max-height:60px}}.avatar{border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;display:flex}.avatar.user{background:var(--accent)}.avatar.assistant{background:var(--border-subtle);border:1px solid var(--border-subtle)}.bubble{white-space:normal;word-break:break-word;overflow-wrap:anywhere;border-radius:16px;min-width:0;max-width:100%;padding:.75rem 1rem;font-size:.9375rem;line-height:1.625}.bubble>:first-child{margin-top:0}.bubble>:last-child{margin-bottom:0}.bubble p,.bubble ul,.bubble ol{margin:.5em 0}.bubble li{margin:.15em 0}.bubble li>p{margin:0}.bubble h1,.bubble h2,.bubble h3,.bubble h4,.bubble h5,.bubble h6{color:var(--text-primary);margin:.75em 0 .35em;font-weight:600;line-height:1.3}.bubble h1{font-size:1.5rem}.bubble h2{font-size:1.3rem}.bubble h3{font-size:1.125rem}.bubble h4{font-size:1rem}.bubble h5{font-size:.9375rem}.bubble h6{font-size:.875rem}.bubble.user{background:var(--chat-user-bg,#2b2a3733);border:var(--chat-user-border,1px solid #9390ad4d);color:var(--text-primary);border-radius:var(--chat-user-radius,16px 16px 4px 16px)}.bubble.assistant{background:var(--chat-assistant-bg,transparent);border:var(--chat-assistant-border,none);color:var(--text-primary);border-radius:var(--chat-assistant-radius,16px)}.bubble.thinking{opacity:.6;font-style:italic}.bubble blockquote{border-left:3px solid var(--border-subtle);color:var(--text-secondary);margin:.5em 0;padding:0 0 0 .75rem}.bubble blockquote>:first-child{margin-top:0}.bubble blockquote>:last-child{margin-bottom:0}.bubble hr{border:none;border-top:1px solid var(--border-subtle);margin:1em 0}.bubble table{border-collapse:collapse;width:auto;max-width:100%;margin:.5em 0;font-size:.875rem;display:block;overflow-x:auto}.bubble th,.bubble td{border:1px solid var(--border-subtle);text-align:left;vertical-align:top;padding:.4rem .6rem}.bubble th{background:var(--surface-raised);color:var(--text-primary);font-weight:600}.bubble pre{background:var(--surface-raised);border-radius:8px;margin:.5em 0;padding:.75rem 1rem;font-size:.8125rem;line-height:1.5;overflow-x:auto}.bubble code{font-family:JetBrains Mono,ui-monospace,monospace;font-size:.8125rem}.bubble p>code,.bubble li>code,.bubble td>code,.bubble th>code{background:var(--surface-raised);word-break:break-all;border-radius:4px;padding:.1em .35em}.bubble pre code{white-space:pre;background:0 0;padding:0}.bubble .contains-task-list{padding-left:0;list-style:none}.bubble .task-list-item{align-items:flex-start;gap:.4em;display:flex}.bubble .task-list-item input[type=checkbox]{accent-color:var(--accent);margin-top:.3em}.bubble .footnotes{border-top:1px solid var(--border-subtle);color:var(--text-tertiary);margin-top:1.5em;padding-top:.75em;font-size:.8125rem}.bubble .footnotes ol{margin:0;padding-left:1.2rem}.bubble .footnotes li{margin:.3em 0}.bubble .footnotes :target{background:color-mix(in srgb, var(--accent) 10%, transparent);border-radius:4px}.bubble .sr-only{clip:rect(0,0,0,0);width:1px;height:1px;position:absolute;overflow:hidden}.bubble .katex-display{margin:.5em 0;overflow:auto hidden}.bubble details{background:var(--surface-raised);border-radius:8px;margin:.5em 0;padding:.5rem .75rem}.bubble details summary{cursor:pointer;color:var(--text-primary);font-weight:600}.bubble details>:not(summary){margin-top:.5em}.input-area{background-color:var(--surface-deepest);pointer-events:none;box-sizing:border-box;z-index:10;flex-direction:column;align-items:center;padding:.75rem 1.5rem 1.25rem;display:flex;position:absolute;bottom:0;left:0;right:0}.input-area-start{pointer-events:none;box-sizing:border-box;z-index:10;flex-direction:column;align-items:center;width:100%;padding:.75rem 1.5rem 1.25rem;display:flex;position:relative}.input-inner{pointer-events:auto;width:80%}.input-container{background:var(--surface-card);border:1px solid var(--border-subtle);padding:0;transition:border-color .2s}.input-container:focus-within{border-color:var(--border-hover)}.input-textarea{width:100%;color:var(--text-primary);box-sizing:border-box;resize:none;background:0 0;border:none;border-radius:16px;outline:none;max-height:400px;padding:.85rem 3.5rem .85rem 3rem;font-size:.9375rem;line-height:1.5;overflow-y:auto}@media (width<=768px){.input-textarea{font-size:16px}}.input-textarea::placeholder{color:var(--text-tertiary)}.input-actions{gap:.25rem;display:flex;position:absolute;bottom:.5rem;right:.5rem}.input-file{gap:.25rem;display:flex;position:absolute;bottom:.5rem;left:.5rem}.input-btn{width:32px;height:32px;color:var(--text-secondary);cursor:pointer;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;transition:all .15s;display:flex}.input-btn:hover{color:var(--text-primary);background:#ffffff0d}.input-btn.send{color:var(--text-tertiary)}.input-btn.send.active{cursor:pointer}.input-btn.send.active:hover{background:var(--accent);color:#fff}.input-btn.send:disabled{cursor:not-allowed}.empty-state{height:100%;color:var(--text-secondary);flex-direction:column;justify-content:center;align-items:center;gap:1rem;animation:.4s ease-out fade-in;display:flex}.empty-icon{border-radius:1rem;justify-content:center;align-items:center;width:4rem;height:4rem;display:flex}@keyframes fade-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes spin{to{transform:rotate(360deg)}}.typing-dots{vertical-align:bottom;align-items:center;gap:4px;margin-left:2px;display:inline-flex}.typing-dots span{background:var(--text-secondary);opacity:.35;border-radius:50%;width:6px;height:6px;animation:1.2s ease-in-out infinite typing-dot}.typing-dots span:nth-child(2){animation-delay:.15s}.typing-dots span:nth-child(3){animation-delay:.3s}@keyframes typing-dot{0%,60%,to{opacity:.35;transform:translateY(0)}30%{opacity:1;transform:translateY(-4px)}}.generating-placeholder{position:relative;overflow:hidden}.generating-placeholder:after{content:"";background:linear-gradient(90deg,#0000,#6c5ce71f,#0000);animation:1.6s infinite placeholder-shimmer;position:absolute;inset:0;transform:translate(-100%)}@keyframes placeholder-shimmer{to{transform:translate(100%)}}.custom-slider{cursor:pointer;width:100%;height:4px;position:relative}.custom-slider-track{background:var(--border-subtle);border-radius:9999px;width:100%;height:4px;position:absolute;top:50%;transform:translateY(-50%)}.custom-slider-fill{background:var(--accent);border-radius:9999px;height:100%;position:absolute;top:0;left:0}.custom-slider-thumb{z-index:2;background:#ecedee;border-radius:50%;width:14px;height:14px;transition:width .15s,height .15s;position:absolute;top:50%;transform:translate(-50%,-50%)}.custom-slider:hover .custom-slider-thumb,.custom-slider.dragging .custom-slider-thumb{width:16px;height:16px}.custom-slider input[type=range]{opacity:0;cursor:pointer;z-index:3;width:100%;height:100%;margin:0;position:absolute;top:0;left:0}.toggle{width:var(--toggle-width,36px);height:var(--toggle-height,20px);cursor:pointer;border-radius:9999px;flex-shrink:0;padding:2px;transition:background-color .2s;position:relative}.toggle.on{background:var(--accent)}.toggle.off{background:var(--toggle-off-bg,var(--border-subtle))}.toggle-knob{width:var(--toggle-knob-size,16px);height:var(--toggle-knob-size,16px);background:var(--toggle-knob-color,#ecedee);border-radius:50%;transition:transform .2s}.toggle.on .toggle-knob{transform:translate(16px)}.toggle.off .toggle-knob{transform:translate(0)}.chat-nav-item:hover .chat-delete-btn{display:flex!important}@media (width<=1023px){.messages-container{gap:1rem;min-width:0;height:100%;padding-left:.75rem;padding-right:.75rem}.message-row{max-width:100%;margin:0}.bubble{max-width:100%}.input-area,.input-area-start{padding:.75rem 1rem 1rem}.input-inner{width:min(100%,48rem)}.input-textarea{padding-right:3.2rem}.message-row .message-actions{opacity:1!important}.chat-nav-item .chat-delete-btn{display:flex!important}.empty-state>p{text-align:center;padding:0 .5rem;line-height:1.05;font-size:clamp(2rem,7vw,3.5rem)!important}}@media (width<=767px){.route-main{height:calc(100%-60px);margin-top:60px}.messages-container{gap:.85rem;height:100%;padding-left:.75rem;padding-right:.75rem}.message-row{gap:.5rem;max-width:100%;margin:0}.bubble{border-radius:14px;padding:.7rem .85rem;font-size:.9rem}.input-area,.input-area-start{padding:.5rem .75rem .85rem}.input-inner{width:100%}.input-textarea{max-height:280px;padding:.8rem 3rem .8rem 2.6rem;font-size:.9rem}.input-actions{bottom:.35rem;right:.35rem}.input-btn{width:30px;height:30px}.empty-state{flex-direction:column;justify-content:center;align-items:center;min-height:calc(100dvh - 120px);padding-bottom:0;display:flex}.empty-state>p{text-align:center;line-height:1.05;font-size:clamp(1.5rem,6vw,2.5rem)!important}.input-area-start{width:100%;position:relative}.message-row .bubble video,.message-row .bubble img{width:100%!important;max-height:50vh!important}.artifacts-page{padding:1rem .85rem 1.5rem}.artifacts-header{align-items:stretch;display:grid}.artifacts-search{box-sizing:border-box;width:100%;min-width:0}.artifacts-grid{grid-template-columns:1fr}.artifact-library-body{padding-right:0}.artifact-library-actions{grid-column:1/-1;justify-content:flex-end;position:static}}.assistant-inspection{gap:.45rem;margin:0 0 .75rem;display:grid}.assistant-inspection details{border:1px solid var(--border-subtle);background:var(--surface-raised);border-radius:8px;overflow:hidden}.assistant-inspection summary{cursor:pointer;color:var(--text-secondary);-webkit-user-select:none;user-select:none;padding:.45rem .65rem;font-size:.78rem}.assistant-inspection pre{white-space:pre-wrap;overflow-wrap:anywhere;border-top:1px solid var(--border-subtle);max-height:16rem;font:.75rem/1.45 var(--font-mono,monospace);color:var(--text-secondary);margin:0;padding:.65rem;overflow:auto}.message-artifacts{gap:.5rem;margin-top:.85rem;display:grid}.artifact-card{border:1px solid var(--border-subtle);min-width:0;color:inherit;background:color-mix(in srgb, var(--surface-raised) 72%, transparent);border-radius:10px;align-items:center;gap:.4rem;padding:.7rem .8rem;transition:background .16s,border-color .16s,transform .16s;display:flex}.artifact-card:hover{background:var(--surface-raised);border-color:var(--border-color,var(--border-subtle));transform:translateY(-1px)}.artifact-open{min-width:0;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;flex:1;align-items:center;gap:.8rem;padding:0;display:flex}.artifact-icon{width:2.35rem;height:2.6rem;color:var(--text-secondary);border:1px solid var(--border-subtle);background:var(--surface);border-radius:7px 7px 4px 4px;flex:none;place-items:center;display:grid}.artifact-info{flex:1;gap:.2rem;min-width:0;display:grid}.artifact-info strong{text-overflow:ellipsis;white-space:nowrap;font-size:.84rem;font-weight:550;overflow:hidden}.artifact-info small{color:var(--text-secondary);font-size:.73rem}.artifact-info i{opacity:.55;font-style:normal}.artifact-download{background:var(--surface);color:var(--text-secondary);border-radius:6px;flex:none;align-items:center;gap:.35rem;padding:.38rem .55rem;font-size:.75rem;text-decoration:none;display:inline-flex}.artifact-card:hover .artifact-download{color:var(--text-primary)}.artifact-preview-panel{z-index:100;border-left:1px solid var(--border-subtle);background:var(--surface-card);flex-direction:column;min-width:340px;max-width:calc(100vw - 280px);display:flex;position:fixed;top:0;bottom:0;right:0;overflow:hidden;box-shadow:-12px 0 36px #00000038}.artifact-preview-resizer{z-index:2;cursor:col-resize;touch-action:none;width:10px;position:absolute;top:0;bottom:0;left:-5px}.artifact-preview-resizer:after{content:"";background:0 0;width:2px;transition:background .15s;position:absolute;top:0;bottom:0;left:4px}.artifact-preview-resizer:hover:after{background:var(--accent)}.artifact-preview-header{border-bottom:1px solid var(--border-subtle);justify-content:space-between;align-items:center;gap:.8rem;padding:.75rem .85rem;display:flex}.artifact-preview-header>div:first-child{gap:.15rem;min-width:0;display:grid}.artifact-preview-header strong{text-overflow:ellipsis;white-space:nowrap;font-size:.86rem;overflow:hidden}.artifact-preview-header span{color:var(--text-secondary);font:.7rem var(--font-mono,monospace);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.artifact-preview-actions{gap:.4rem;display:flex}.artifact-preview-actions button{border:1px solid var(--border-subtle);min-height:30px;color:var(--text-primary);background:var(--surface-raised);cursor:pointer;border-radius:6px;justify-content:center;align-items:center;padding:.35rem .55rem;font-size:.76rem;display:inline-flex}.artifact-preview-actions button:disabled{cursor:default;opacity:.55}.artifact-preview-editor{flex:1;min-height:0}.artifacts-page{box-sizing:border-box;width:min(1220px,100%);height:100%;margin:0 auto;padding:1.5rem clamp(1rem,2.5vw,2rem) 2.5rem;overflow:auto}.artifacts-header{justify-content:space-between;align-items:flex-end;gap:1rem;margin-bottom:1rem;display:flex}.artifacts-header p{color:var(--accent);text-transform:uppercase;margin:0 0 .25rem;font-size:.78rem;font-weight:650}.artifacts-header h1{letter-spacing:0;margin:0;font-size:clamp(1.65rem,3vw,2.35rem);line-height:1.05}.artifacts-header span{max-width:680px;color:var(--text-secondary);margin-top:.45rem;font-size:.92rem;line-height:1.5;display:block}.artifacts-search{border:1px solid var(--border-subtle);background:var(--surface-card);min-width:min(360px,100%);color:var(--text-secondary);border-radius:8px;align-items:center;gap:.5rem;padding:.68rem .78rem;display:flex}.artifacts-search input{width:100%;min-width:0;color:var(--text-primary);font:inherit;background:0 0;border:0;outline:0;font-size:.88rem}.artifacts-tabs{flex-wrap:wrap;gap:.45rem;margin-bottom:1rem;display:flex}.artifacts-tabs button{border:1px solid var(--border-subtle);background:var(--surface-card);min-height:34px;color:var(--text-secondary);cursor:pointer;font:inherit;border-radius:7px;align-items:center;gap:.45rem;padding:.45rem .65rem;font-size:.82rem;display:inline-flex}.artifacts-tabs button.active{border-color:var(--accent);color:var(--text-primary);background:color-mix(in srgb, var(--accent) 12%, var(--surface-card))}.artifacts-tabs small{background:var(--surface-raised);min-width:1.25rem;height:1.25rem;color:var(--text-secondary);border-radius:999px;justify-content:center;align-items:center;font-size:.68rem;display:inline-flex}.artifacts-grid{grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:.7rem;display:grid}.artifact-library-card{border:1px solid var(--border-subtle);background:var(--surface-card);border-radius:8px;grid-template-columns:auto minmax(0,1fr);gap:.8rem;min-width:0;padding:.9rem;display:grid;position:relative}.artifact-library-card.image{grid-template-columns:minmax(0,1fr);overflow:hidden}.artifact-library-image{object-fit:cover;border:1px solid var(--border-subtle);background:var(--surface);border-radius:6px;width:100%;height:156px}.artifact-library-card.image .artifact-library-icon{display:none}.artifact-library-card.image .artifact-library-body{padding-right:4.6rem}.artifact-library-card:hover{border-color:color-mix(in srgb, var(--accent) 42%, var(--border-subtle));background:color-mix(in srgb, var(--surface-raised) 58%, var(--surface-card))}.artifact-library-icon{border:1px solid var(--border-subtle);background:var(--surface);width:2.6rem;height:2.9rem;color:var(--accent);border-radius:7px 7px 4px 4px;place-items:center;display:grid}.artifact-library-body{min-width:0;padding-right:4.6rem}.artifact-library-title{gap:.25rem;min-width:0;display:grid}.artifact-library-title strong{text-overflow:ellipsis;white-space:nowrap;color:var(--text-primary);font-size:.9rem;font-weight:620;overflow:hidden}.artifact-library-title span{background:var(--surface-raised);width:fit-content;color:var(--text-secondary);border-radius:5px;padding:.14rem .38rem;font-size:.68rem}.artifact-library-body p{text-overflow:ellipsis;white-space:nowrap;color:var(--text-secondary);margin:.5rem 0 .25rem;font-size:.8rem;overflow:hidden}.artifact-library-body small{color:var(--text-tertiary);font-size:.72rem}.artifact-library-actions{gap:.3rem;display:flex;position:absolute;top:.7rem;right:.7rem}.artifact-library-actions a,.artifact-library-actions button{border:1px solid var(--border-subtle);background:var(--surface);width:30px;height:30px;color:var(--text-secondary);cursor:pointer;border-radius:6px;justify-content:center;align-items:center;text-decoration:none;display:inline-flex}.artifact-library-actions a:hover,.artifact-library-actions button:hover{color:var(--text-primary);border-color:var(--accent)}.artifacts-state{min-height:240px;color:var(--text-secondary);border:1px dashed var(--border-subtle);background:color-mix(in srgb, var(--surface-card) 55%, transparent);border-radius:8px;justify-content:center;align-items:center;gap:.5rem;display:flex}.artifacts-state.error{color:var(--red)}.project-artifact-upload{cursor:pointer;position:relative;overflow:hidden}.project-artifact-upload input{opacity:0;cursor:pointer;position:absolute;inset:0}.project-artifact-note{color:var(--text-secondary);margin:-.3rem 0 .65rem;font-size:.75rem;line-height:1.45}.project-artifact-note code{color:var(--accent);font:.75rem var(--font-mono,monospace)}.project-artifact-list{gap:.35rem;max-height:230px;display:grid;overflow:auto}.project-artifact-list>p{color:var(--text-secondary);margin:0;font-size:.8rem}.project-artifact-row{border:1px solid var(--border-subtle);min-width:0;color:var(--text-primary);background:var(--surface-raised);border-radius:6px;align-items:center;gap:.55rem;padding:.48rem;text-decoration:none;display:flex}.project-artifact-row:hover{border-color:var(--accent)}.project-artifact-row svg{color:var(--accent);flex:none}.project-artifact-row img{object-fit:cover;border-radius:4px;flex:none;width:30px;height:30px}.project-artifact-row span{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.78rem;display:grid;overflow:hidden}.project-artifact-row small{color:var(--text-secondary);font-size:.67rem}.projects-page{box-sizing:border-box;width:min(1240px,100%);height:100%;margin:0 auto;padding:1.5rem clamp(1rem,2.5vw,2rem) 2.5rem;overflow:auto}.workflow-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.8rem;margin-bottom:1rem;display:grid}.workflow-card{text-align:left;border:1px solid var(--border-subtle);background:var(--surface-card);color:var(--text-primary);cursor:pointer;border-radius:8px;gap:.45rem;padding:1rem;display:grid}.workflow-card.active{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.workflow-card span{color:var(--text-secondary);font-size:.8rem;line-height:1.45}.workflow-runner textarea,.workflow-runner select{border:1px solid var(--border-subtle);background:var(--surface-raised);width:100%;color:var(--text-primary);font:inherit;border-radius:6px;margin:.6rem 0;padding:.7rem}.workflow-controls{flex-wrap:wrap;align-items:end;gap:.7rem;display:flex}.workflow-controls label{color:var(--text-secondary);flex:160px;font-size:.78rem}.workflow-controls select{margin:.3rem 0 0}.workflow-results{gap:.8rem;margin-top:1rem;display:grid}.workflow-results article{border:1px solid var(--border-subtle);border-radius:8px;padding:.8rem}.workflow-results img,.workflow-results video{border-radius:6px;max-width:100%;max-height:360px;margin-top:.6rem;display:block}.workflow-results pre{white-space:pre-wrap;font:inherit;color:var(--text-secondary);line-height:1.55}.projects-hero,.project-detail-hero{border-bottom:1px solid var(--border-subtle);justify-content:space-between;align-items:flex-start;gap:1.25rem;margin-bottom:1.25rem;padding-bottom:1.25rem;display:flex}.projects-hero p,.project-detail-hero p,.project-section-head p{color:var(--accent);letter-spacing:.04em;margin:0;font-size:.72rem;font-weight:700}.projects-hero h1,.project-detail-hero h1{margin:.2rem 0 .3rem;font-size:clamp(1.7rem,3vw,2.35rem);line-height:1.1}.projects-hero span,.project-detail-hero span{color:var(--text-secondary);line-height:1.5}.primary-button,.secondary-button,.danger-button,.icon-button{border:1px solid var(--border-subtle);color:var(--text-primary);cursor:pointer;font:inherit;border-radius:8px;justify-content:center;align-items:center;gap:.45rem;font-weight:600;display:inline-flex}.primary-button{border-color:color-mix(in srgb, var(--accent) 65%, var(--border-subtle));background:var(--accent);color:#fff;padding:.65rem .9rem}.secondary-button{background:var(--surface-raised);padding:.6rem .8rem}.danger-button{border-color:color-mix(in srgb, var(--red) 52%, var(--border-subtle));background:color-mix(in srgb, var(--red) 12%, var(--surface-raised));color:var(--red);padding:.6rem .8rem}.icon-button{background:var(--surface-raised);width:2.25rem;height:2.25rem;padding:0}.primary-button:disabled,.secondary-button:disabled,.danger-button:disabled{opacity:.6;cursor:default}.project-grid{grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:1rem;display:grid}.project-card{border:1px solid var(--border-subtle);min-height:190px;color:inherit;background:color-mix(in srgb, var(--surface-card) 86%, transparent);border-radius:8px;gap:.85rem;padding:1rem;text-decoration:none;transition:border-color .16s,transform .16s,background .16s;display:grid}.project-card:hover{border-color:color-mix(in srgb, var(--accent) 70%, var(--border-subtle));background:var(--surface-card);transform:translateY(-1px)}.project-card-top,.project-card-meta,.project-actions,.project-side-actions,.project-back-link,.project-section-head,.project-title-block,.project-avatars{align-items:center;gap:.65rem;display:flex}.project-card-top{justify-content:space-between}.project-card-top>span,.project-card-meta span{color:var(--text-secondary);font-size:.78rem}.project-card h2{margin:.15rem 0 0;font-size:1.05rem}.project-card p{color:var(--text-secondary);margin:0;line-height:1.5}.project-card-meta{flex-wrap:wrap;margin-top:auto}.project-icon{border:1px solid var(--border-subtle);background:var(--surface-raised);width:2.4rem;height:2.4rem;color:var(--accent);border-radius:8px;flex:none;place-items:center;font-weight:800;display:inline-grid;overflow:hidden}.project-icon-lg{width:4.4rem;height:4.4rem;font-size:1.45rem}.project-icon img{object-fit:cover;width:100%;height:100%}.project-empty{border:1px dashed var(--border-subtle);min-height:260px;color:var(--text-secondary);text-align:center;background:color-mix(in srgb, var(--surface-raised) 40%, transparent);border-radius:8px;align-content:center;place-items:center;gap:.65rem;padding:2rem;display:grid}.project-empty h2,.project-empty p{margin:0}.project-error{color:var(--red);margin:.5rem 0}.project-back-link{width:fit-content;color:var(--text-secondary);margin-bottom:1rem;text-decoration:none}.project-title-block{align-items:flex-start;min-width:0}.project-title-block>div{min-width:0}.project-avatars{margin-top:.75rem}.project-avatars i,.project-member i{border:1px solid var(--border-subtle);background:var(--surface-raised);width:1.8rem;height:1.8rem;color:var(--text-secondary);border-radius:999px;place-items:center;margin-right:-.35rem;font-size:.75rem;font-style:normal;font-weight:700;display:inline-grid}.project-avatars small{color:var(--text-secondary);margin-left:.45rem}.project-stat-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;margin-bottom:1rem;display:grid}.project-stat-row article{border:1px solid var(--border-subtle);background:var(--surface-card);border-radius:8px;gap:.25rem;padding:.9rem;display:grid}.project-stat-row strong{font-size:1rem}.project-stat-row span{color:var(--text-secondary);font-size:.78rem}.project-task-board{border:1px solid var(--border-subtle);background:var(--surface-card);border-radius:8px;gap:.85rem;margin-bottom:1rem;padding:1rem;display:grid}.project-task-form{border:1px solid var(--border-subtle);background:var(--surface-raised);border-radius:8px;grid-template-columns:minmax(150px,1.3fr) minmax(180px,1.7fr) minmax(120px,.8fr) minmax(125px,.75fr) auto;align-items:end;gap:.65rem;padding:.8rem;display:grid}.project-task-form label,.project-task-status{min-width:0;color:var(--text-secondary);gap:.35rem;font-size:.76rem;display:grid}.project-task-form input,.project-task-form select,.project-task-status select{box-sizing:border-box;border:1px solid var(--border-subtle);background:var(--surface-card);width:100%;min-width:0;color:var(--text-primary);font:inherit;border-radius:6px;padding:.58rem .65rem}.project-task-columns{grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;display:grid}.project-task-column{border:1px solid var(--border-subtle);background:color-mix(in srgb, var(--surface-raised) 55%, transparent);border-radius:8px;align-content:start;gap:.6rem;min-height:195px;padding:.7rem;display:grid}.project-task-column>header{color:var(--text-secondary);justify-content:space-between;align-items:center;gap:.5rem;padding:0 .1rem;font-size:.8rem;font-weight:700;display:flex}.project-task-column>header small{background:var(--surface-card);min-width:1.35rem;height:1.35rem;color:var(--text-secondary);border-radius:999px;place-items:center;font-size:.7rem;display:inline-grid}.project-task-column-doing>header{color:var(--accent)}.project-task-column-done>header{color:var(--green)}.project-task-list{gap:.55rem;display:grid}.project-task-card{border:1px solid var(--border-subtle);background:var(--surface-card);border-radius:7px;gap:.6rem;padding:.75rem;display:grid}.project-task-card h3,.project-task-card p{margin:0}.project-task-card h3{font-size:.88rem;line-height:1.35}.project-task-card p{color:var(--text-secondary);font-size:.77rem;line-height:1.45}.project-task-meta{color:var(--text-secondary);flex-wrap:wrap;gap:.35rem .65rem;font-size:.7rem;display:flex}.project-task-meta span{align-items:center;gap:.25rem;display:inline-flex}.project-task-status{grid-template-columns:1fr}.project-task-status select{cursor:pointer;padding:.45rem .55rem;font-size:.75rem}.project-task-empty{color:var(--text-secondary);margin:.2rem 0;font-size:.76rem}.deep-research-control{position:relative}.deep-research-toggle{border:1px solid var(--border-subtle);background:var(--surface-card);min-height:1.75rem;color:var(--text-tertiary);cursor:pointer;font:inherit;border-radius:7px;align-items:center;gap:.3rem;padding:.3rem .6rem;font-size:11px;display:inline-flex}.deep-research-toggle:hover,.deep-research-toggle.active{border-color:color-mix(in srgb, var(--accent) 55%, var(--border-subtle));background:color-mix(in srgb, var(--accent) 15%, var(--surface-raised));color:var(--text-primary)}.deep-research-picker{z-index:100;border:1px solid var(--border-subtle);background:var(--surface-card);width:min(390px,100vw - 2rem);color:var(--text-secondary);border-radius:8px;gap:.7rem;padding:.85rem;font-size:.78rem;display:grid;position:absolute;bottom:calc(100% + .5rem);left:0;box-shadow:0 18px 48px #00000052}.deep-research-picker header,.deep-research-picker footer{justify-content:space-between;align-items:center;gap:.7rem;display:flex}.deep-research-picker header>div{color:var(--text-primary);align-items:center;gap:.45rem;font-size:.92rem;font-weight:700;display:inline-flex}.deep-research-picker>p{margin:-.15rem 0 0;line-height:1.45}.deep-research-search{border:1px solid var(--border-subtle);background:var(--surface-deepest);color:var(--text-tertiary);border-radius:7px;align-items:center;gap:.45rem;padding:.5rem .6rem;display:flex}.deep-research-search input{min-width:0;color:var(--text-primary);font:inherit;background:0 0;border:0;outline:0;flex:1}.deep-research-budget{color:var(--text-secondary);justify-content:space-between;align-items:center;gap:.7rem;font-size:.75rem;display:flex}.deep-research-budget select{border:1px solid var(--border-subtle);background:var(--surface-raised);color:var(--text-primary);font:inherit;border-radius:6px;padding:.38rem .45rem}.deep-research-model-list{gap:.35rem;max-height:218px;display:grid;overflow:auto}.deep-research-model-list button{width:100%;min-width:0;color:var(--text-secondary);cursor:pointer;font:inherit;text-align:left;background:0 0;border:1px solid #0000;border-radius:7px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.55rem;padding:.55rem .6rem;display:grid}.deep-research-model-list button:hover{background:var(--surface-raised)}.deep-research-model-list button.selected{border-color:color-mix(in srgb, var(--accent) 55%, var(--border-subtle));background:color-mix(in srgb, var(--accent) 12%, var(--surface-raised));color:var(--text-primary)}.deep-research-model-check{border:1px solid var(--border-subtle);width:1.7rem;height:1.7rem;color:var(--text-tertiary);border-radius:6px;place-items:center;display:inline-grid}.deep-research-model-list button.selected .deep-research-model-check{color:var(--accent)}.deep-research-model-list button>span:last-child{gap:.12rem;min-width:0;display:grid}.deep-research-model-list strong,.deep-research-model-list small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.deep-research-model-list strong{font-size:.79rem;font-weight:600}.deep-research-model-list small{color:var(--text-tertiary);font-size:.68rem}.deep-research-picker footer{padding-top:.15rem}.deep-research-picker footer>span{color:var(--text-tertiary);font-size:.72rem}.deep-research-picker footer .primary-button{min-height:2rem;padding:.4rem .7rem;font-size:.76rem}.deep-research-no-models{text-align:center;color:var(--text-tertiary);margin:.6rem 0}.deep-research-report-actions{border-bottom:1px solid var(--border-subtle);flex-wrap:wrap;align-items:center;gap:.45rem;margin-bottom:.7rem;padding-bottom:.7rem;display:flex}.deep-research-report-actions span,.deep-research-report-actions button{align-items:center;gap:.3rem;font-size:.74rem;display:inline-flex}.deep-research-report-actions span{color:var(--text-secondary);margin-right:auto}.deep-research-report-actions button{border:1px solid var(--border-subtle);background:var(--surface-raised);color:var(--text-primary);cursor:pointer;border-radius:6px;padding:.35rem .45rem;font-family:inherit}.project-main-grid{grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:1rem;display:grid}.project-docs,.project-side,.project-side section{gap:.85rem;display:grid}.project-section-head{justify-content:space-between;margin-top:.3rem}.project-section-head h2{align-items:center;gap:.45rem;margin:.1rem 0 0;font-size:1rem;display:inline-flex}.project-section-head.compact{margin-top:0}.project-markdown,.project-side section{border:1px solid var(--border-subtle);background:var(--surface-card);border-radius:8px}.project-markdown{padding:1rem 1.1rem;line-height:1.62}.project-markdown h1,.project-markdown h2,.project-markdown h3{margin:.85rem 0 .4rem}.project-markdown>:first-child,.project-markdown h1:first-child,.project-markdown h2:first-child,.project-markdown h3:first-child{margin-top:0}.project-markdown p,.project-markdown ul,.project-markdown ol{margin:.45rem 0}.project-markdown li{margin:.15rem 0}.project-doc-empty{min-height:160px;color:var(--text-secondary);text-align:center;place-items:center;gap:.45rem;display:grid}.project-doc-empty h3,.project-doc-empty p{margin:0}.project-side section{padding:.85rem}.project-member-list,.project-chat-list,.attach-chat-list{gap:.45rem;display:grid}.project-member{grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:.55rem;display:grid}.project-member i{margin-right:0}.project-member span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.project-member small{color:var(--text-secondary);font-size:.72rem}.project-member-kick{border:1px solid color-mix(in srgb, var(--red) 36%, var(--border-subtle));background:color-mix(in srgb, var(--red) 10%, transparent);width:1.75rem;height:1.75rem;color:var(--red);cursor:pointer;border-radius:999px;justify-content:center;align-items:center;display:inline-flex}.project-member-kick:hover{background:color-mix(in srgb, var(--red) 18%, transparent)}.project-chat-row,.project-chat-list a,.attach-chat-list button{border:1px solid var(--border-subtle);background:var(--surface-raised);min-height:2.5rem;color:inherit;border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.55rem;padding:.55rem .65rem;text-decoration:none;display:grid}.project-chat-row{grid-template-columns:minmax(0,1fr) auto;padding:0}.project-chat-row a{min-width:0;min-height:2.5rem;color:inherit;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.55rem;padding:.55rem .65rem;text-decoration:none;display:grid}.project-chat-row span{min-width:0}.project-chat-row small{color:var(--text-secondary);margin-top:.12rem;font-size:.68rem;display:block}.project-chat-delete{border:1px solid color-mix(in srgb, var(--red) 36%, var(--border-subtle));width:2rem;height:2rem;color:var(--red);background:color-mix(in srgb, var(--red) 10%, transparent);cursor:pointer;border-radius:6px;justify-content:center;align-items:center;margin-right:.3rem;display:inline-flex}.project-chat-delete:hover{background:color-mix(in srgb, var(--red) 18%, transparent)}.attach-chat-list button{cursor:pointer;width:100%;font:inherit;text-align:left}.project-chat-list span,.attach-chat-list span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.project-modal-backdrop{z-index:500;background:#0000007a;place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.project-modal{border:1px solid var(--border-subtle);background:var(--surface-card);border-radius:10px;flex-direction:column;width:min(560px,100%);max-height:min(760px,92vh);display:flex;overflow:hidden;box-shadow:0 20px 70px #00000059}.project-modal>header,.project-modal>footer{border-bottom:1px solid var(--border-subtle);justify-content:space-between;align-items:center;gap:.75rem;padding:.9rem 1rem;display:flex}.project-modal>footer{border-top:1px solid var(--border-subtle);border-bottom:0;justify-content:flex-end}.project-modal h2{margin:0;font-size:1rem}.project-modal-body{min-height:0;padding:1rem;overflow:auto}.project-form{gap:.85rem;display:grid}.project-form label{color:var(--text-secondary);gap:.35rem;font-size:.82rem;display:grid}.project-form input,.project-form textarea,.project-search input{box-sizing:border-box;border:1px solid var(--border-subtle);background:var(--surface-raised);width:100%;color:var(--text-primary);font:inherit;border-radius:8px;padding:.7rem .75rem}.project-form textarea{resize:vertical}.project-danger-copy{color:var(--text-secondary);margin:0;line-height:1.5}.project-icon-editor{border:1px solid var(--border-subtle);background:color-mix(in srgb, var(--surface-raised) 55%, transparent);border-radius:8px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:1rem;padding:.85rem;display:grid}.project-icon-editor>div{gap:.65rem;display:grid}.project-search{align-items:center;gap:.55rem;margin-bottom:.75rem;display:flex}.spin{animation:1s linear infinite spin}@media (width<=900px){.project-main-grid{grid-template-columns:1fr}.project-stat-row,.project-task-form{grid-template-columns:repeat(2,minmax(0,1fr))}.project-task-form .primary-button{justify-self:start}}@media (width<=700px){.projects-page{padding:1rem}.projects-hero,.project-detail-hero{flex-direction:column}.project-actions{flex-wrap:wrap;width:100%}.project-actions .primary-button,.project-actions .secondary-button,.project-actions .danger-button{flex:1}.project-stat-row,.project-icon-editor{grid-template-columns:1fr}.project-task-board{padding:.85rem}.project-task-form,.project-task-columns{grid-template-columns:1fr}.artifact-preview-panel{min-width:0;max-width:100vw;width:100vw!important}.artifact-preview-resizer{display:none}}
