@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-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--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;--color-red-400:#ff6568;--color-red-500:#fb2c36;--spacing:.25rem;--container-md:28rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--font-weight-semibold:600;--radius-lg:.5rem;--radius-2xl:1rem;--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)}@supports (color:lab(0% 0 0)){:root,:host{--color-red-400:lab(63.7053% 60.745 31.3109);--color-red-500:lab(55.4814% 75.0732 48.8528)}}}@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{.pointer-events-none{pointer-events:none}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.top-1\/2{top:50%}.right-2\.5{right:calc(var(--spacing) * 2.5)}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.mt-1{margin-top:var(--spacing)}.mt-2{margin-top:calc(var(--spacing) * 2)}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.table{display:table}.h-9{height:calc(var(--spacing) * 9)}.min-h-screen{min-height:100vh}.w-full{width:100%}.max-w-md{max-width:var(--container-md)}.min-w-0{min-width:0}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.cursor-pointer{cursor:pointer}.resize{resize:both}.appearance-none{appearance:none}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}:where(.space-y-5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 5) * calc(1 - var(--tw-space-y-reverse)))}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-lg{border-radius:var(--radius-lg)}.border{border-style:var(--tw-border-style);border-width:1px}.border-\[var\(--border\)\]{border-color:var(--border)}.bg-\[var\(--surface\)\]{background-color:var(--surface)}.bg-transparent{background-color:#0000}.object-contain{object-fit:contain}.p-6{padding:calc(var(--spacing) * 6)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-6{padding-inline:calc(var(--spacing) * 6)}.py-2{padding-block:calc(var(--spacing) * 2)}.pr-8{padding-right:calc(var(--spacing) * 8)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[15px\]{font-size:15px}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-\[-0\.01em\]{--tw-tracking:-.01em;letter-spacing:-.01em}.whitespace-nowrap{white-space:nowrap}.text-\[var\(--text\)\]{color:var(--text)}.text-\[var\(--text-muted\)\]{color:var(--text-muted)}.text-\[var\(--text-secondary\)\]{color:var(--text-secondary)}.text-red-400{color:var(--color-red-400)}.text-red-500{color:var(--color-red-500)}.opacity-70{opacity:.7}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.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,)}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.outline-none{--tw-outline-style:none;outline-style:none}@media (hover:hover){.hover\:bg-\[var\(--surface-hover\)\]:hover{background-color:var(--surface-hover)}}.focus\:border-\[var\(--accent\)\]:focus{border-color:var(--accent)}.disabled\:opacity-50:disabled{opacity:.5}}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#080b14;--surface:#0e1424;--surface-muted:#0b1020;--surface-elevated:#141d32;--surface-hover:#1b2740;--border:#263653;--border-strong:#344b70;--text:#f5f9ff;--text-secondary:#b8c7da;--text-muted:#7e91aa;--accent:#1746b8;--accent-hover:#123b9d;--accent-soft:#1746b829;--user-bubble:#15214a;--assistant-text:#dce8f5;--header-bg:#080b14f0;--composer-bg:#0e1424fa;--send-disabled:#354158;--backdrop:#00000080;--focus-ring:#1746b86b;--shadow-composer:0 8px 28px #00000052;--sidebar-width:304px;--sidebar-collapsed-width:64px;--header-height:64px;--composer-max:880px}html[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#fff;--surface:#fff;--surface-muted:#f7f8fb;--surface-elevated:#fff;--surface-hover:#eef3ff;--border:#e1e6ef;--border-strong:#c8d5ee;--text:#101a36;--text-secondary:#273653;--text-muted:#7b879f;--accent:#1746b8;--accent-hover:#123b9d;--accent-soft:#1746b817;--user-bubble:#eaf0ff;--assistant-text:#273653;--header-bg:#fffffff5;--composer-bg:#fffffffc;--send-disabled:#d5dce9;--backdrop:#101a363d;--focus-ring:#1746b847;--shadow-composer:0 8px 28px #101a3614}html{background:var(--bg);-webkit-text-size-adjust:100%}body{background:var(--bg);color:var(--text);touch-action:pan-x pan-y;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,textarea,select{font:inherit}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.app-shell{width:100%;max-width:100vw;height:var(--app-viewport-height,100dvh);max-height:var(--app-viewport-height,100dvh);background:var(--bg);box-sizing:border-box;min-height:0;display:flex;position:fixed;inset:0;overflow:hidden}.chat-shell{min-width:0;width:calc(100% - var(--sidebar-width));height:var(--app-viewport-height,100dvh);max-height:var(--app-viewport-height,100dvh);margin-left:var(--sidebar-width);background:var(--bg);box-sizing:border-box;flex-direction:column;min-height:0;transition:width .18s,margin-left .18s;display:flex;position:relative;overflow:hidden}.app-shell.sidebar-collapsed .chat-shell{width:calc(100% - var(--sidebar-collapsed-width));margin-left:var(--sidebar-collapsed-width)}@media (max-width:900px){:root{--sidebar-width:248px}.chat-shell{width:calc(100% - var(--sidebar-width));margin-left:var(--sidebar-width)}.app-shell.sidebar-collapsed .chat-shell{width:calc(100% - var(--sidebar-collapsed-width));margin-left:var(--sidebar-collapsed-width)}}@media (max-width:700px){.chat-shell,.app-shell.sidebar-collapsed .chat-shell{width:100%;height:var(--app-viewport-height,100dvh);max-height:var(--app-viewport-height,100dvh);margin-left:0}}@media (prefers-reduced-motion:reduce){.chat-shell{transition:none}}.sidebar{z-index:40;width:var(--sidebar-width);background:var(--surface);border-right:1px solid var(--border);flex-direction:column;height:100dvh;max-height:100dvh;padding:12px;transition:width .18s,transform .18s;display:flex;position:fixed;inset:0 auto 0 0;overflow:hidden}.sidebar-backdrop{display:none}.sidebar-brand{min-height:48px;color:var(--text);white-space:nowrap;flex-shrink:0;align-items:center;gap:10px;padding:0 8px;font-size:15px;font-weight:600;display:flex;position:relative}.sidebar-brand img{width:40px!important;height:40px!important}.brand-mark{background:var(--accent);color:#fff;border-radius:8px;flex:0 0 28px;place-items:center;width:28px;height:28px;font-size:13px;font-weight:700;display:grid}.sidebar-toggle{display:none}.sidebar-search-button{border:1px solid var(--border);background:var(--surface-elevated);width:34px;height:34px;color:var(--text-secondary);cursor:pointer;border-radius:9px;flex:0 0 34px;place-items:center;margin-left:auto;transition:background .12s,color .12s,border-color .12s;display:grid}.sidebar-search-button:hover,.sidebar-search-button:focus-visible{background:var(--accent-soft);border-color:var(--accent);color:var(--text)}.sidebar-search-button svg{width:19px;height:19px}.new-chat-button{border:1px solid var(--border);background:var(--surface-elevated);width:100%;min-height:42px;color:var(--text);cursor:pointer;border-radius:9px;flex-shrink:0;align-items:center;gap:10px;margin-top:12px;padding:0 11px;transition:background .12s,border-color .12s;display:flex}.new-chat-button span{text-align:left;flex:1;font-size:13px;font-weight:500}.new-chat-button kbd{color:var(--text-muted);font-family:inherit;font-size:10px}.sidebar-scroll{flex-direction:column;flex:auto;min-height:0;margin-top:14px;padding-right:1px;display:flex;overflow:hidden}.sidebar-primary-scroll{scrollbar-width:thin;scrollbar-color:var(--border) transparent;flex:0 auto;min-height:0;max-height:48%;overflow:hidden auto}.sidebar-primary-scroll::-webkit-scrollbar{width:6px}.recent-scroll::-webkit-scrollbar{width:6px}.sidebar-primary-scroll::-webkit-scrollbar-track{background:0 0}.recent-scroll::-webkit-scrollbar-track{background:0 0}.sidebar-primary-scroll::-webkit-scrollbar-thumb{background:var(--border);border-radius:999px}.recent-scroll::-webkit-scrollbar-thumb{background:var(--border);border-radius:999px}.sidebar-nav{flex-direction:column;gap:3px;display:flex}.nav-item{width:100%;min-height:40px;color:var(--text-secondary);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:11px;padding:0 10px;font-size:13px;transition:background .12s,color .12s;display:flex}.nav-item:hover{background:var(--surface-hover);color:var(--text)}.nav-item-active{background:var(--accent-soft);color:var(--text)}.nav-item svg{flex:0 0 18px;width:18px;height:18px}.sidebar-section{flex-direction:column;flex:auto;min-height:0;margin-top:14px;padding-bottom:10px;display:flex}.sidebar-chat-section{overflow:hidden}.sidebar-section-label{color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em;flex-shrink:0;padding:0 10px 8px;font-size:11px;font-weight:600}.recent-heading{margin-top:12px}.recent-scroll{scrollbar-width:thin;scrollbar-color:var(--border) transparent;flex:50%;min-height:0;overflow:hidden auto}.pinned-scroll{border-bottom:1px solid var(--border);flex:0 38%;padding-bottom:7px}.recent-list{flex-direction:column;gap:2px;display:flex}.recent-item-wrap{align-items:center;min-width:0;display:flex;position:relative}.recent-item-wrap-active{background:var(--surface-muted);border-radius:8px}.recent-item{min-width:0;min-height:36px;color:var(--text-secondary);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;flex:1;align-items:center;gap:6px;padding:0 4px 0 10px;font-size:12px;transition:background .12s,color .12s;display:flex}.recent-item:hover{background:var(--surface-hover);color:var(--text)}.recent-item-active{color:var(--text)}.recent-item span{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.recent-pin-icon{color:var(--accent);flex:0 0 14px}.recent-more{width:28px;height:28px;color:var(--text-muted);cursor:pointer;opacity:0;background:0 0;border:0;border-radius:7px;flex:0 0 28px;place-items:center;margin-right:3px;display:grid}.recent-item-wrap:hover .recent-more,.recent-more:focus-visible{opacity:1}.recent-more:hover{background:var(--surface-hover);color:var(--text)}.chat-context-menu{z-index:80;border:1px solid var(--border);background:var(--surface-elevated);border-radius:9px;min-width:120px;padding:4px;position:absolute;top:calc(100% - 2px);right:4px;box-shadow:0 10px 28px #00000047}.chat-context-menu button{width:100%;min-height:32px;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:8px;padding:0 9px;font-size:12px;display:flex}.chat-context-menu button:hover{background:var(--surface-hover)}.chat-context-menu svg{width:14px;height:14px}.chat-context-menu .chat-delete-action{color:#ff8f8f}.recent-load-more{border:1px solid var(--border);background:var(--surface-elevated);width:calc(100% - 20px);min-height:34px;color:var(--text-secondary);font:inherit;cursor:pointer;border-radius:8px;margin:6px 10px 4px;font-size:12px}.recent-load-more:hover{background:var(--surface-hover);color:var(--text);border-color:var(--border-strong)}.recent-empty{color:var(--text-muted);padding:8px 10px;font-size:11px}.sidebar-footer{padding-top:8px;padding-bottom:max(0px, env(safe-area-inset-bottom));border-top:1px solid var(--border);flex-shrink:0;margin-top:8px}.account{background:var(--surface-muted);border-radius:9px;align-items:center;gap:10px;min-height:44px;padding:6px 8px;display:flex}.avatar{background:var(--surface-elevated);border:1px solid var(--border);width:30px;height:30px;color:var(--text);border-radius:50%;flex:0 0 30px;place-items:center;font-size:12px;font-weight:600;display:grid}.account-copy{flex-direction:column;flex:1;gap:1px;min-width:0;display:flex}.account-copy strong{color:var(--text);font-size:12px;font-weight:600}.account-copy span{color:var(--text-muted);font-size:10px}.settings-quick-button{width:32px;height:32px;color:var(--text-secondary);cursor:pointer;background:0 0;border:0;border-radius:8px;flex:0 0 32px;place-items:center;display:grid}.settings-quick-button:hover{background:var(--surface-hover);color:var(--text)}.settings-quick-button svg{width:18px;height:18px}.app-shell.sidebar-collapsed .sidebar{width:var(--sidebar-collapsed-width);padding-inline:8px}.app-shell.sidebar-collapsed .sidebar-brand{flex-direction:column;justify-content:flex-start;gap:8px;min-height:86px;padding-inline:0}.app-shell.sidebar-collapsed .sidebar-brand .sidebar-search-button{flex-basis:42px;width:42px;height:42px;margin:0 auto}.app-shell.sidebar-collapsed .new-chat-button{justify-content:center;width:42px;height:42px;min-height:42px;margin-inline:auto;padding-inline:0}.app-shell.sidebar-collapsed .new-chat-button span,.app-shell.sidebar-collapsed .new-chat-button kbd{display:none}.app-shell.sidebar-collapsed .nav-item{justify-content:center;padding-inline:0}.app-shell.sidebar-collapsed .nav-item span,.app-shell.sidebar-collapsed .sidebar-section{display:none}.app-shell.sidebar-collapsed .account{background:0 0;justify-content:center;padding-inline:0}.app-shell.sidebar-collapsed .account-copy,.app-shell.sidebar-collapsed .settings-quick-button{display:none}@media (max-width:700px){.sidebar{transform:translate(-100%);box-shadow:0 12px 32px #00000040}.app-shell.sidebar-open .sidebar{transform:translate(0)}.sidebar-backdrop{z-index:35;background:var(--backdrop);border:0;width:100%;height:100%;padding:0;display:block;position:fixed;inset:0}.sidebar-brand{min-height:48px}.sidebar-primary-scroll{max-height:48%}}@media (prefers-reduced-motion:reduce){.sidebar{transition:none}}.chat-header{z-index:10;min-height:var(--header-height);border-bottom:1px solid var(--border);background:var(--header-bg);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);flex:none;justify-content:space-between;align-items:center;padding:0 22px;display:flex;position:relative}.header-chat-title{min-width:0;color:var(--text-secondary);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.header-controls,.mobile-header-left{align-items:center;gap:8px;display:flex}.header-menu{position:relative}.intent-suggestion{border:1px solid var(--border);background:var(--surface);max-width:430px;color:var(--text-secondary);white-space:nowrap;border-radius:9px;align-items:center;gap:6px;padding:5px 7px 5px 9px;font-size:11px;display:inline-flex}.intent-suggestion button{min-height:25px;color:var(--text-secondary);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;padding:0 7px;font-size:11px}.intent-suggestion button:first-of-type{background:var(--surface-hover);color:var(--text);font-weight:600}.intent-suggestion button:hover{border-color:var(--border);color:var(--text)}.select-button,.depth-button,.model-button,.icon-button{cursor:pointer;background:0 0;border:1px solid #0000;justify-content:center;align-items:center;display:inline-flex}.select-button,.depth-button,.model-button{min-height:36px;color:var(--text);border-radius:9px;gap:6px;padding:0 10px;font-size:13px;font-weight:600}.select-button:hover,.select-button[aria-expanded=true],.depth-button:hover,.depth-button[aria-expanded=true],.model-button:hover,.model-button[aria-expanded=true]{border-color:var(--border);background:var(--surface-hover)}.depth-button,.model-button{color:var(--text-secondary);font-weight:500}.header-dropdown{z-index:30;border:1px solid var(--border);background:var(--surface-elevated);width:210px;box-shadow:var(--shadow-composer);border-radius:10px;padding:6px;position:absolute;top:calc(100% + 8px);right:0}.model-dropdown,.depth-dropdown{width:190px}.header-dropdown-label{color:var(--text-muted);letter-spacing:.04em;text-transform:uppercase;padding:7px 9px 6px;font-size:11px;font-weight:700}.header-dropdown-item{width:100%;min-height:34px;color:var(--text-secondary);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:7px;justify-content:space-between;align-items:center;gap:12px;padding:0 9px;font-size:13px;display:flex}.header-dropdown-item:hover,.header-dropdown-item.is-selected{background:var(--surface-hover);color:var(--text)}.header-dropdown-item.is-selected{font-weight:600}.icon-button{width:36px;height:36px;color:var(--text-secondary);border-radius:9px}.icon-button:hover{background:var(--surface-hover);color:var(--text)}.mobile-header-left{display:none}.mobile-brand{color:var(--text)}@media (max-width:900px){.header-chat-title{display:none}.mobile-header-left{display:flex}.chat-header{padding:0 14px}.intent-suggestion{max-width:300px}}@media (max-width:700px){.chat-header{min-height:58px}.mobile-brand{font-size:14px;font-weight:700}.select-button,.depth-button{display:none}.model-button{text-overflow:ellipsis;white-space:nowrap;max-width:145px;overflow:hidden}.header-dropdown{right:-4px}.intent-suggestion{gap:3px;max-width:150px;padding-left:6px;overflow:hidden}.intent-suggestion span{text-overflow:ellipsis;overflow:hidden}.intent-suggestion button:last-of-type{display:none}}@media (prefers-reduced-motion:reduce){.select-button,.depth-button,.model-button,.icon-button,.intent-suggestion button{transition:none}}.chat-content{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:var(--border) transparent;flex:auto;min-height:0;overflow:hidden auto}.conversation{width:min(100%, var(--composer-max));min-height:100%;margin:0 auto;padding:32px 24px 28px}.conversation-empty{min-height:calc(100% - 1px);color:var(--text-secondary);text-align:center;justify-content:center;align-items:center;gap:14px;display:flex}.conversation-empty>div{flex-direction:column;gap:4px;display:flex}.conversation-empty strong{color:var(--text);font-size:18px;font-weight:600}.conversation-empty span{color:var(--text-muted);font-size:14px}.conversation-messages{flex-direction:column;gap:28px;padding-bottom:8px;display:flex}.conversation-bottom-anchor{flex:0 0 1px;width:1px;height:1px;scroll-margin-bottom:24px}.chat-content::-webkit-scrollbar{width:7px}.chat-content::-webkit-scrollbar-track{background:0 0}.chat-content::-webkit-scrollbar-thumb{background:var(--border);border-radius:999px}@media (max-width:900px){.conversation{padding:24px 20px}.conversation-messages{gap:24px}}@media (max-width:700px){.conversation{width:100%;padding:20px 14px}.conversation-messages{gap:20px;padding-bottom:4px}.conversation-empty{padding-inline:12px}}@media (prefers-reduced-motion:reduce){.chat-content{scroll-behavior:auto}}.message-row{width:100%;display:flex}.message-row-user{justify-content:flex-end}.user-message{background:var(--user-bubble);max-width:min(78%,720px);color:var(--text);overflow-wrap:anywhere;border-radius:16px 16px 4px;padding:10px 14px;font-size:15px;line-height:1.55}.user-message>span:first-child{white-space:pre-wrap}.user-message-actions{justify-content:flex-end;margin-top:5px}.user-message-actions .message-icon-action{width:auto;min-width:0;padding:0 7px}.user-message-edit{min-width:min(100%,520px)}.user-message-edit textarea{resize:vertical;border:1px solid var(--border);background:var(--surface);width:100%;min-height:76px;color:var(--text);border-radius:9px;padding:9px 10px;line-height:1.5;display:block}.user-message-edit-actions{justify-content:flex-end;gap:6px;margin-top:7px;display:flex}.user-message-edit-actions button{border:1px solid var(--border);background:var(--surface);min-height:30px;color:var(--text);cursor:pointer;border-radius:7px;padding:0 9px;font-size:12px}.user-message-edit-actions button:last-child{border-color:var(--accent);background:var(--accent);color:var(--accent-contrast,#fff)}.user-message-edit-actions button:disabled{opacity:.5;cursor:default}.message-time{color:var(--text-muted);white-space:nowrap;margin-left:8px;font-size:11px;display:inline-block}.message-row-assistant{align-items:flex-start;gap:12px}.assistant-avatar{border:1px solid var(--border);background:var(--surface-elevated);border-radius:8px;flex:0 0 30px;place-items:center;width:30px;height:30px;margin-top:1px;display:grid;overflow:hidden}.assistant-avatar img{object-fit:contain;width:24px;height:24px}.assistant-content{min-width:0;max-width:760px}.assistant-heading{align-items:baseline;gap:8px;margin-bottom:6px;display:flex}.assistant-heading strong{color:var(--text);font-size:14px;font-weight:600}.assistant-heading span{color:var(--text-muted);font-size:11px}.assistant-text{color:var(--assistant-text);overflow-wrap:anywhere;font-size:15px;line-height:1.65}.assistant-rich-content,.assistant-text-segment{width:100%}.assistant-text-segment>:first-child{margin-top:0}.assistant-text-segment>:last-child{margin-bottom:0}.assistant-text p{margin:0 0 12px}.assistant-text strong{color:var(--text);font-weight:700}.assistant-text em{font-style:italic}.assistant-text u{text-underline-offset:2px;text-decoration:underline;text-decoration-thickness:1px}.assistant-text del{color:var(--text-muted)}.assistant-text h1,.assistant-text h2,.assistant-text h3,.assistant-text h4,.assistant-text h5,.assistant-text h6{color:var(--text);margin:18px 0 9px;font-weight:700;line-height:1.25}.assistant-text h1{font-size:1.55em}.assistant-text h2{font-size:1.35em}.assistant-text h3{font-size:1.2em}.assistant-text h4{font-size:1.08em}.assistant-text h5{font-size:1em}.assistant-text h6{color:var(--text-muted);font-size:.92em}.assistant-text blockquote{border-left:3px solid var(--accent);background:var(--accent-soft);color:var(--text-muted);border-radius:0 7px 7px 0;margin:12px 0;padding:8px 14px;font-style:italic}.assistant-text hr{border:0;border-top:1px solid var(--border);margin:16px 0}.assistant-text ol,.assistant-text ul{margin:8px 0 14px;padding-left:24px}.assistant-text li{margin:5px 0;padding-left:2px}.assistant-text li::marker{color:var(--accent)}.assistant-text a{color:var(--accent);text-underline-offset:2px;text-decoration:underline}.assistant-text a:hover{opacity:.85}.assistant-inline-code{border:1px solid var(--border);background:var(--surface-elevated);color:var(--accent);border-radius:5px;padding:2px 5px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:.9em}.assistant-code-block{border:1px solid var(--border);background:#0b1020;border-radius:10px;width:100%;margin:14px 0;overflow:hidden;box-shadow:0 8px 24px #00000029}.assistant-code-header{min-height:34px;color:var(--text-muted);text-transform:lowercase;background:#ffffff09;border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;padding:0 10px 0 13px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:11px;display:flex}.assistant-code-header button{min-height:26px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:5px;padding:0 7px;font-size:11px;display:inline-flex}.assistant-code-header button:hover{background:var(--surface-hover);color:var(--text)}.assistant-code-block pre{color:#d9e2f2;tab-size:2;-webkit-overflow-scrolling:touch;max-width:100%;margin:0;padding:11px 0;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:13px;line-height:1.6;overflow:auto}.assistant-code-block code{min-width:max-content;display:block}.assistant-code-line{white-space:pre;min-height:21px;padding-right:16px;display:block}.assistant-code-line:hover{background:#ffffff09}.assistant-code-number{color:#66748b;text-align:right;-webkit-user-select:none;user-select:none;border-right:1px solid #ffffff12;width:42px;margin-right:12px;padding-right:10px;display:inline-block}.assistant-code-token-comment{color:#6a9955}.assistant-code-token-string{color:#ce9178}.assistant-code-token-keyword{color:#c586c0}.assistant-code-token-number{color:#b5cea8}.assistant-code-token-type{color:#4ec9b0}.assistant-code-token-function{color:#dcdcaa}.assistant-code-token-operator{color:#d4d4d4}.assistant-code-token-punctuation,.assistant-code-token-property{color:#9cdcfe}.message-actions{flex-wrap:wrap;align-items:center;gap:3px;margin-top:10px;display:flex}.message-actions button,.message-action-button{min-height:30px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:7px;padding:0 8px;font-size:12px;transition:background .12s,color .12s}.message-actions .message-icon-action{place-items:center;width:32px;min-width:32px;height:30px;padding:0;display:grid}.message-actions button:hover,.message-action-button:hover:not(:disabled){background:var(--surface-hover);color:var(--text)}.message-actions button:disabled,.message-action-button:disabled{opacity:.5;cursor:default}.message-more{position:relative}.message-more summary{width:32px;min-width:32px;height:30px;min-height:30px;color:var(--text-muted);cursor:pointer;border-radius:7px;place-items:center;padding:0;list-style:none;display:grid}.message-more summary::-webkit-details-marker{display:none}.message-more summary:hover{background:var(--surface-hover);color:var(--text)}.message-more-menu{z-index:20;border:1px solid var(--border);background:var(--surface-elevated);border-radius:9px;min-width:168px;padding:5px;position:absolute;bottom:calc(100% + 6px);right:0;box-shadow:0 10px 30px #0000003d}.message-more-menu button{text-align:left;align-items:center;gap:9px;width:100%;min-height:32px;padding:0 9px;display:flex}.message-more-menu button svg{flex:0 0 17px}.message-action-status{color:var(--text-muted);margin-left:4px;font-size:11px;display:inline-block}.message-row-assistant.streaming .assistant-text:after{content:"";vertical-align:-3px;background:var(--accent);width:6px;height:16px;margin-left:3px;animation:.9s step-end infinite message-cursor;display:inline-block}@keyframes message-cursor{50%{opacity:0}}.message-row-assistant.error .assistant-text{color:var(--error)}@media (max-width:700px){.user-message{max-width:88%}.user-message-edit{min-width:min(100%,420px)}.user-message-edit-actions{flex-wrap:wrap}.assistant-content{max-width:calc(100% - 42px)}.assistant-text{font-size:14px;line-height:1.6}.assistant-code-block{border-radius:8px}.assistant-code-block pre{font-size:12px}.assistant-code-number{width:34px;margin-right:9px;padding-right:7px}}@media (prefers-reduced-motion:reduce){.message-row-assistant.streaming .assistant-text:after{animation:none}.message-actions button,.message-action-button{transition:none}}.composer-wrap{z-index:20;width:100%;padding:10px 24px max(12px, env(safe-area-inset-bottom));background:var(--bg);flex:none;position:relative}.composer{width:min(100%, var(--composer-max));border:1px solid var(--border);background:var(--composer-bg);box-shadow:var(--shadow-composer);border-radius:16px;margin:0 auto;position:relative;overflow:visible}.composer textarea{resize:none;width:100%;min-height:52px;max-height:180px;color:var(--text);background:0 0;border:0;outline:0;padding:15px 155px 8px 16px;font-size:15px;line-height:1.5;display:block}.composer textarea::placeholder{color:var(--text-muted)}.composer textarea:focus{outline:none}.composer-attachment-previews{flex-wrap:wrap;gap:8px;padding:10px 12px 0;display:flex}.composer-attachment-preview{border:1px solid var(--border);background:var(--surface-elevated);border-radius:10px;align-items:center;gap:10px;width:min(100%,280px);min-height:58px;padding:7px 34px 7px 8px;display:flex;position:relative;overflow:hidden}.composer-attachment-preview>svg{width:28px;height:28px;color:var(--accent);flex:0 0 28px}.composer-attachment-preview.is-image{padding-left:7px}.composer-attachment-preview img{object-fit:cover;border-radius:7px;flex:0 0 46px;width:46px;height:46px}.composer-attachment-copy{flex-direction:column;gap:2px;min-width:0;display:flex}.composer-attachment-copy strong{text-overflow:ellipsis;white-space:nowrap;color:var(--text);font-size:12px;overflow:hidden}.composer-attachment-copy span{color:var(--text-muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:10px;line-height:14px;display:-webkit-box;overflow:hidden}.composer-attachment-remove{width:24px;height:24px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:7px;place-items:center;font-size:17px;display:grid;position:absolute;top:6px;right:6px}.composer-attachment-remove:hover{background:var(--surface-hover);color:var(--text)}.composer-voice-waveform{min-height:52px;color:var(--accent);align-items:center;gap:12px;padding:8px 16px;display:flex}.composer-voice-wave-label{color:var(--text-secondary);flex:none;font-size:12px;font-weight:600}.composer-voice-bars{flex:1;justify-content:center;align-items:center;gap:3px;min-width:0;height:32px;display:flex;overflow:hidden}.composer-voice-bars i{background:var(--accent);opacity:.85;border-radius:99px;width:3px;min-height:6px;animation:.72s ease-in-out infinite alternate composer-voice-pulse;display:block}.composer-voice-bars i:nth-child(2n){animation-delay:-180ms}.composer-voice-bars i:nth-child(3n){animation-delay:-360ms}.composer-voice-bars i:nth-child(4n){animation-delay:-520ms}@keyframes composer-voice-pulse{0%{opacity:.45;transform:scaleY(.55)}to{opacity:1;transform:scaleY(1.2)}}.composer-toolbar{justify-content:space-between;align-items:center;min-height:50px;padding:4px 6px 8px;display:flex}.composer-tools{align-items:center;gap:1px;min-width:0;display:flex}.composer-actions{grid-template-rows:40px;grid-template-columns:40px 40px;place-items:center end;column-gap:1px;min-width:81px;display:grid}.composer-icon-button{width:38px;height:38px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:9px;flex:0 0 38px;place-items:center;padding:0;transition:background .12s,color .12s;display:grid}.composer-icon-button svg{width:21px;height:21px}.composer-icon-button:hover{background:var(--surface-hover);color:var(--text)}.composer-icon-button:active{background:var(--surface-elevated)}.composer-icon-button:disabled{opacity:.55;cursor:default}.composer-voice-active{background:var(--accent-soft);color:var(--accent)}.composer-voice-stop{background:var(--accent-soft);color:var(--accent);font-size:12px;font-weight:700}.composer-voice-stop:hover{background:var(--surface-hover);color:var(--text)}.composer-action-menu{align-items:center;display:flex;position:relative}.composer-dropdown{z-index:60;border:1px solid var(--border);background:var(--surface-elevated);border-radius:12px;width:235px;padding:7px;position:absolute;bottom:calc(100% + 8px);left:0;box-shadow:0 14px 34px #0000002e}.composer-dropdown-label{display:none}.composer-dropdown-item{width:100%;min-height:40px;color:var(--text-secondary);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:11px;padding:0 10px;font-size:13px;display:flex}.composer-dropdown-item svg{flex:0 0 19px;width:19px;height:19px}.composer-dropdown-item span:nth-child(2){flex:1}.composer-dropdown-item:hover,.composer-dropdown-item.is-selected{background:var(--surface-hover);color:var(--text)}.composer-smart-search{width:38px;height:38px;color:var(--text-muted);cursor:pointer;font:inherit;white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:9px;flex:0 0 38px;place-items:center;padding:0;font-size:12px;font-weight:600;display:inline-grid}.composer-smart-search svg{width:19px;height:19px}.composer-smart-search:hover{background:var(--surface-hover);color:var(--text)}.composer-smart-search.is-active{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.composer-profile-button{height:38px;color:var(--text-secondary);cursor:pointer;font:inherit;white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:9px;align-items:center;gap:5px;padding:0 6px;font-size:12px;font-weight:600;display:inline-flex}.composer-profile-button svg{width:19px;height:19px}.composer-profile-button:hover{background:var(--surface-hover);color:var(--text)}.composer-profile-dropdown{width:220px}.composer-model-control{z-index:3;justify-content:flex-end;align-items:center;width:auto;min-width:0;height:34px;display:inline-flex;position:absolute;top:8px;right:8px}.composer-model-select{width:auto;min-width:0;max-width:155px;height:30px;min-height:30px;color:var(--text-secondary);cursor:pointer;text-align:right;background:0 0;border:0;border-radius:0;outline:0;padding:0 2px;font-size:12px;font-weight:600}.composer-model-select:hover{color:var(--text)}.composer-model-select:focus{outline:none}.composer-model-select:disabled{cursor:default;opacity:.65}.composer-model-select option{background:var(--surface-elevated);color:var(--text)}.composer-actions>.composer-icon-button{grid-area:1/1}.send-button{background:var(--send-disabled);width:38px;height:38px;color:var(--text-muted);cursor:default;border:0;border-radius:9px;flex:0 0 38px;grid-area:1/2;place-items:center;padding:0;display:grid}.send-button svg{width:21px;height:21px}.send-button-active{background:var(--accent);color:#fff;cursor:pointer}.composer-stop-button{font-size:14px;line-height:1}.composer-note{width:min(100%, var(--composer-max));color:var(--text-muted);text-align:center;margin:7px auto 0;font-size:11px;line-height:16px}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (max-width:900px){.composer-wrap{padding-inline:18px}}@media (max-width:700px){.composer-wrap{padding:7px 10px max(10px, env(safe-area-inset-bottom))}.composer{border-radius:14px}.composer textarea{min-height:48px;max-height:160px;padding:12px 132px 7px 13px;font-size:16px}.composer-voice-waveform{gap:8px;min-height:48px;padding:7px 13px}.composer-voice-wave-label{font-size:11px}.composer-toolbar{min-height:54px;padding:2px 5px 5px}.composer-tools{gap:0}.composer-actions{grid-template-rows:36px;grid-template-columns:36px 36px;column-gap:0;min-width:72px}.composer-icon-button,.send-button{flex-basis:36px;width:36px;height:36px}.composer-profile-button{gap:3px;height:36px;padding-inline:4px}.composer-smart-search{flex-basis:36px;width:36px;height:36px}.composer-model-control{height:30px;top:7px;right:5px}.composer-model-select{max-width:132px;height:28px;min-height:28px;font-size:11px}.composer-dropdown{width:220px}.composer-smart-search span{display:none}.composer-profile-button span{text-overflow:ellipsis;max-width:74px;overflow:hidden}.composer-note{margin-top:5px;font-size:10px;line-height:14px}}@media (max-width:380px){.composer-wrap{padding-inline:7px}.composer-toolbar{padding-inline:3px}.composer-actions{grid-template-rows:34px;grid-template-columns:34px 34px;min-width:68px}.composer-icon-button,.send-button{flex-basis:34px;width:34px;height:34px}.composer-profile-button{height:34px}.composer-smart-search{flex-basis:34px;width:34px;height:34px}.composer-model-control{height:28px;top:6px;right:3px}.composer-model-select{max-width:112px;height:26px;min-height:26px}}@media (prefers-reduced-motion:reduce){.composer-icon-button,.composer-voice-bars i{transition:none;animation:none}}.workspace-panel{z-index:40;top:0;left:var(--sidebar-width);width:min(420px,92vw);height:var(--app-viewport-height,100dvh);background:var(--surface);border-right:1px solid var(--border);border-left:0;padding:24px;position:fixed;right:auto;overflow-y:auto;box-shadow:18px 0 48px #0000003d}.workspace-panel-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:24px;display:flex}.workspace-eyebrow{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;margin-bottom:4px;font-size:12px;display:block}.workspace-panel h2{margin:0;font-size:24px}.workspace-close{border:1px solid var(--border);cursor:pointer;background:0 0;border-radius:10px;width:34px;height:34px;font-size:22px}.workspace-form{gap:10px;margin-bottom:18px;display:grid}.workspace-form input,.workspace-form textarea{box-sizing:border-box;border:1px solid var(--border);background:var(--bg);width:100%;min-width:0;max-width:100%;color:var(--text);resize:vertical;border-radius:10px;padding:11px 12px}.workspace-form input[type=datetime-local]{width:100%;min-width:0;max-width:100%;font-size:16px;display:block}.workspace-form button{background:var(--accent);color:#061018;cursor:pointer;border:0;border-radius:10px;min-height:40px;font-weight:700}.workspace-form button:disabled{opacity:.45;cursor:default}.workspace-list{gap:8px;display:grid}.workspace-list-item{text-align:left;border:1px solid var(--border);background:var(--surface-2);width:100%;color:var(--text);cursor:pointer;border-radius:12px;gap:4px;padding:13px;display:grid}.workspace-list-item:hover,.workspace-list-item-active{border-color:var(--accent);background:var(--accent-soft)}.workspace-list-item strong{font-size:14px}.workspace-list-item span{color:var(--muted);font-size:12px;line-height:1.4}.workspace-empty,.workspace-context-note{color:var(--muted);font-size:13px;line-height:1.5}.workspace-context-note{border:1px solid var(--border);border-radius:10px;margin:4px 0 14px;padding:10px 12px}.workspace-add-source{border:1px solid var(--border);background:var(--surface-2);width:100%;min-height:40px;color:var(--text);cursor:pointer;border-radius:10px;margin-bottom:14px;font-weight:700}.workspace-project-card{border:1px solid #0000;border-radius:14px;gap:7px;padding:8px;display:grid}.workspace-project-card.workspace-list-item-active{border-color:var(--accent);background:var(--accent-soft)}.workspace-project-card .workspace-list-item{background:0 0;border:0;padding:8px}.workspace-project-meta{color:var(--muted);justify-content:space-between;gap:8px;padding:0 8px;font-size:11px;display:flex}.workspace-source-list{flex-wrap:wrap;gap:5px;padding:0 8px 5px;display:flex}.workspace-source-chip{text-overflow:ellipsis;white-space:nowrap;border:1px solid var(--border);max-width:100%;color:var(--muted);border-radius:999px;padding:4px 7px;font-size:10px;overflow:hidden}.beta-panel,.launch-panel{gap:18px;display:grid}.beta-status-card,.beta-health-card{border:1px solid var(--border);background:var(--surface-2);border-radius:14px;grid-template-columns:1fr auto;align-items:center;gap:12px;padding:14px;display:grid}.beta-status-card>div,.beta-health-card>div{gap:4px;display:grid}.beta-status-card span:not(.settings-status-badge),.beta-health-card span:not(.settings-status-badge){color:var(--muted);font-size:12px;line-height:1.4}.beta-checklist,.launch-checklist{gap:6px;display:grid}.beta-check,.launch-check{border:1px solid var(--border);background:var(--surface-2);width:100%;color:var(--text);text-align:left;cursor:pointer;border-radius:11px;align-items:center;gap:10px;padding:11px 12px;display:flex}.beta-check:hover,.launch-check:hover{border-color:var(--accent)}.beta-check-icon{border:1px solid var(--muted);border-radius:6px;flex:0 0 19px;place-items:center;width:19px;height:19px;font-size:12px;display:grid}.beta-check-icon.done{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.launch-check-copy{flex:1;gap:3px;min-width:0;display:grid}.launch-check-copy span{color:var(--muted);font-size:11px;line-height:1.4}.launch-ready{border-color:var(--accent);color:var(--accent)}.beta-feedback{resize:vertical;border:1px solid var(--border);background:var(--bg);width:100%;min-height:110px;color:var(--text);font:inherit;border-radius:12px;padding:12px}.beta-actions{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.beta-primary-button,.beta-secondary-button{cursor:pointer;border-radius:10px;min-height:38px;padding:0 13px;font-weight:700}.beta-primary-button{background:var(--accent);color:#061018;border:0}.beta-secondary-button{border:1px solid var(--border);background:var(--surface-2);color:var(--text)}.beta-primary-button:disabled,.beta-secondary-button:disabled{opacity:.45;cursor:default}.beta-badge-error{color:#ff8f8f;border-color:#ff505059}.beta-request-id,.beta-note{color:var(--muted);margin:8px 0 0;font-size:11px;line-height:1.5}.beta-links{flex-wrap:wrap;gap:8px;display:flex}.beta-links a{color:var(--accent);text-decoration:none}.beta-links a:hover{text-decoration:underline}.beta-links button{color:var(--accent);cursor:pointer;background:0 0;border:0;padding:0}.app-shell.sidebar-collapsed .workspace-panel{left:var(--sidebar-collapsed-width)}.library-panel-full{width:calc(100vw - var(--sidebar-width));max-width:none;padding:22px}.app-shell.sidebar-collapsed .library-panel-full{width:calc(100vw - var(--sidebar-collapsed-width))}.library-toolbar,.library-filters,.library-folder-create,.library-folders,.library-move,.library-breadcrumb{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:12px;display:flex}.library-toolbar button,.library-filters button,.library-folder-create button,.library-move button,.library-breadcrumb button{border:1px solid var(--border);background:var(--surface-2);min-height:34px;color:var(--text);cursor:pointer;border-radius:9px;padding:0 11px}.library-toolbar button:first-child{background:var(--accent);color:#061018;border-color:#0000;font-weight:700}.library-toolbar button:disabled,.library-move button:disabled{opacity:.5;cursor:default}.library-filters input,.library-folder-create input,.library-move select{border:1px solid var(--border);background:var(--bg);min-width:180px;min-height:34px;color:var(--text);border-radius:9px;flex:1;padding:0 10px}.library-move{border:1px solid var(--border);background:var(--surface-2);border-radius:11px;padding:10px}.library-move select{max-width:420px}.library-filters button.is-active,.library-view-toggle button.is-active{border-color:var(--accent);background:var(--accent-soft);color:var(--text)}.library-view-toggle{gap:4px;margin-left:auto;display:flex}.library-view-toggle button{min-width:34px;padding:0}.library-error{color:#ff8f8f;margin:8px 0;font-size:12px}.library-breadcrumb button{background:0 0}.library-breadcrumb span{color:var(--muted)}.library-breadcrumb strong{font-size:13px}.library-folders{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));width:100%;display:grid}.library-folder-card{border:1px solid var(--border);background:var(--surface-2);min-height:58px;color:var(--text);text-align:left;cursor:pointer;border-radius:12px;align-items:center;gap:10px;padding:10px 12px;display:flex}.library-folder-card:hover{border-color:var(--accent);background:var(--accent-soft)}.library-folder-icon{font-size:25px;line-height:1}.library-files.is-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:10px;display:grid}.library-files.is-list{gap:7px;display:grid}.library-file{border:1px solid var(--border);background:var(--surface-2);border-radius:12px;gap:8px;min-width:0;padding:10px;display:flex;position:relative}.library-file.is-selected{border-color:var(--accent);background:var(--accent-soft)}.library-file-select{padding-top:3px}.library-file-main{min-width:0;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;flex:1;align-items:center;gap:10px;display:flex}.library-file-main>div:last-child{gap:3px;min-width:0;display:grid}.library-file-main strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.library-file-main span{color:var(--muted);font-size:11px}.library-file-icon,.library-file-thumbnail{background:var(--accent-soft);border-radius:10px;flex:0 0 38px;place-items:center;width:38px;height:38px;font-size:20px;display:grid}.library-file-thumbnail{object-fit:cover}.library-preview{z-index:60;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#00000073;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.library-preview-card{border:1px solid var(--border);background:var(--surface);border-radius:16px;width:min(760px,94vw);max-height:86vh;padding:22px;position:relative;overflow:auto;box-shadow:0 24px 80px #00000059}.library-preview-card>button{border:1px solid var(--border);width:32px;height:32px;color:var(--text);cursor:pointer;background:0 0;border-radius:8px;position:absolute;top:12px;right:12px}.library-preview-card pre{background:var(--bg);white-space:pre-wrap;border-radius:10px;margin-top:16px;padding:14px;font-size:12px;line-height:1.5;overflow:auto}.message-attachments{gap:7px;margin-bottom:8px;display:grid}.message-attachment{border:1px solid var(--border);background:var(--surface-2);border-radius:10px;align-items:center;gap:9px;max-width:360px;padding:8px;display:flex}.message-attachment.is-image{padding:4px;display:block;overflow:hidden}.message-attachment img{object-fit:contain;border-radius:8px;max-width:100%;max-height:240px;display:block}.message-attachment-icon,.message-attachment-file-icon{background:var(--accent-soft);border-radius:9px;flex:0 0 42px;place-items:center;width:42px;height:42px;display:grid}.message-attachment-file-icon span{font-size:9px;font-weight:800}.message-attachment-info{gap:2px;min-width:0;display:grid}.message-attachment-info strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.message-attachment-info span{color:var(--muted);font-size:10px}.camera-capture-backdrop{z-index:100;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#000000b8;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.camera-capture{border:1px solid var(--border);background:var(--surface);border-radius:18px;width:min(720px,96vw);overflow:hidden;box-shadow:0 28px 100px #00000080}.camera-capture-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:12px 16px;display:flex}.camera-capture-header button{border:1px solid var(--border);width:32px;height:32px;color:var(--text);cursor:pointer;background:0 0;border-radius:8px;font-size:20px}.camera-capture-view{background:#05070b;place-items:center;min-height:min(62vh,520px);display:grid;position:relative}.camera-capture-view video{object-fit:cover;aspect-ratio:4/3;width:100%;max-height:62vh;display:block}.camera-capture-message{color:#fff;text-align:center;place-items:center;padding:24px;display:grid;position:absolute;inset:0}.camera-capture-error{color:#ffb0b0;max-width:420px;margin:auto}.camera-capture-actions{justify-content:space-between;align-items:center;padding:14px 18px;display:flex}.camera-capture-actions>button:first-child{border:1px solid var(--border);min-height:38px;color:var(--text);cursor:pointer;background:0 0;border-radius:10px;padding:0 14px}.camera-capture-button{border:4px solid var(--text);background:var(--accent);color:#061018;cursor:pointer;border-radius:50%;width:58px;height:58px;font-size:28px;line-height:1}.camera-capture-button:disabled{opacity:.45;cursor:default}@media (max-width:900px){.workspace-panel{left:248px}.library-panel-full{width:calc(100vw - 248px)}.app-shell.sidebar-collapsed .library-panel-full{width:calc(100vw - var(--sidebar-collapsed-width))}}@media (max-width:700px){.workspace-panel{border-right:0;width:100vw;padding:18px;left:0}.library-panel-full,.app-shell.sidebar-collapsed .library-panel-full{width:100vw}.launch-check{align-items:flex-start}.launch-check .settings-status-badge{display:none}.library-files.is-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.library-toolbar,.library-filters{align-items:stretch}.library-filters input{min-width:140px}.library-view-toggle{margin-left:0}.camera-capture{border-radius:0;width:100vw}.camera-capture-view{min-height:58vh}}.tasks-panel{flex-direction:column;display:flex}.task-summary{flex-wrap:wrap;gap:8px;margin-bottom:18px;display:flex}.task-summary span{border:1px solid var(--border);color:var(--muted);background:var(--surface-2);border-radius:999px;padding:7px 9px;font-size:12px}.task-summary strong{color:var(--text);margin-left:3px}.task-list{gap:10px;display:grid}.task-card{border:1px solid var(--border);background:var(--surface-2);border-radius:12px;gap:12px;padding:13px;display:grid}.task-card.task-status-done{opacity:.72}.task-card-main{min-width:0}.task-card-main strong{font-size:14px;line-height:1.35;display:block}.task-card-main p{color:var(--muted);white-space:pre-wrap;max-height:120px;margin:6px 0 0;font-size:12px;line-height:1.45;overflow:auto}.task-meta{color:var(--muted);margin-top:8px;font-size:11px;display:block}.task-due-field{gap:7px;min-width:0;display:grid}.task-due-field>span{color:var(--muted);font-size:12px;font-weight:600}.task-due-field small{font-weight:400}.task-date-time{grid-template-columns:minmax(0,1.35fr) minmax(0,.85fr);gap:8px;width:100%;min-width:0;display:grid}.task-date-time input{box-sizing:border-box;border:1px solid var(--border);background:var(--bg);width:100%;min-width:0;max-width:100%;min-height:42px;color:var(--text);appearance:none;border-radius:10px;padding:0 9px;font-family:inherit;font-size:16px;display:block}.task-date-time input::-webkit-date-and-time-value{text-align:left}.task-card-actions{align-items:center;gap:8px;display:flex}.task-card-actions select{border:1px solid var(--border);background:var(--bg);min-width:0;color:var(--text);border-radius:8px;flex:1;padding:7px 8px}.task-card-actions button,.task-clear-button{border:1px solid var(--border);color:var(--muted);cursor:pointer;background:0 0;border-radius:8px;padding:7px 9px}.task-card-actions button:hover,.task-clear-button:hover{color:var(--text);border-color:var(--accent)}.task-clear-button{width:100%;margin-top:12px}@media (max-width:720px){.task-card-actions{align-items:stretch}}@media (max-width:420px){.task-date-time{grid-template-columns:1fr}}.agent-approval-panel{z-index:60;width:min(440px,100vw - 32px);max-height:calc(var(--app-viewport-height,100dvh) - 32px);border:1px solid var(--border);background:var(--surface);box-sizing:border-box;border-radius:20px;padding:18px;position:absolute;top:16px;right:16px;overflow:auto;box-shadow:0 20px 60px #00000052}.agent-approval-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.agent-approval-header h2{letter-spacing:-.02em;margin:4px 0 0;font-size:20px}.agent-approval-list{gap:12px;margin-top:16px;display:grid}.agent-approval-card{border:1px solid var(--border);background:var(--surface-2);box-sizing:border-box;border-radius:16px;min-width:0;padding:16px}.agent-approval-step{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;align-items:center;gap:7px;margin-bottom:15px;font-size:10px;font-weight:700;display:flex}.agent-approval-step>span:not(.agent-approval-step-line):first-child,.agent-approval-step>span:not(.agent-approval-step-line):nth-child(4){border:1px solid var(--border);background:var(--surface);width:22px;height:22px;color:var(--text);border-radius:999px;place-items:center;display:grid}.agent-approval-step>span:first-child{border-color:var(--accent)!important;color:var(--accent)!important}.agent-approval-step-line{background:var(--border);width:28px;height:1px}.agent-approval-tool{color:var(--accent);margin-bottom:7px;font-size:11px;font-weight:700}.agent-approval-card h3{overflow-wrap:anywhere;margin:0;font-size:17px;line-height:1.3}.agent-approval-card>p{color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere;max-height:130px;margin:8px 0 14px;font-size:13px;line-height:1.5;overflow:auto}.agent-approval-due-field{gap:7px;min-width:0;margin-top:14px;display:grid}.agent-approval-due-field>span{color:var(--muted);font-size:12px;font-weight:600}.agent-approval-due-field small{font-weight:400}.agent-approval-date-time{grid-template-columns:minmax(0,1.35fr) minmax(0,.85fr);gap:8px;width:100%;min-width:0;display:grid}.agent-approval-date-time input{box-sizing:border-box;border:1px solid var(--border);background:var(--surface);width:100%;min-width:0;max-width:100%;min-height:42px;color:var(--text);appearance:none;border-radius:10px;padding:0 9px;font-family:inherit;font-size:16px;display:block}.agent-approval-date-time input::-webkit-date-and-time-value{text-align:left}.agent-approval-existing{border:1px solid var(--accent);gap:5px;margin-top:14px;padding:12px;display:grid}@supports (color:color-mix(in lab, red, red)){.agent-approval-existing{border:1px solid color-mix(in srgb, var(--accent) 35%, var(--border))}}.agent-approval-existing{background:var(--accent-soft);border-radius:11px}.agent-approval-existing strong{font-size:13px}.agent-approval-existing span,.agent-approval-existing small{color:var(--muted);font-size:11px;line-height:1.45}.agent-approval-existing button{border:1px solid var(--border);background:var(--surface);min-height:34px;color:var(--text);cursor:pointer;border-radius:9px;justify-self:start;margin-top:4px;padding:0 10px;font-weight:700}.agent-approval-explainer{border:1px solid var(--border);background:var(--surface);border-radius:11px;gap:4px;margin:14px 0 16px;padding:11px 12px;display:grid}.agent-approval-explainer strong{font-size:12px}.agent-approval-explainer span{color:var(--muted);font-size:11px;line-height:1.45}.agent-approval-actions{justify-content:flex-end;gap:8px;display:flex}.agent-approval-actions button,.agent-approval-view-tasks{border:1px solid var(--border);min-height:40px;color:var(--text);cursor:pointer;background:0 0;border-radius:10px;padding:0 14px;font-weight:600}.agent-approval-actions .agent-approval-secondary{color:var(--muted)}.agent-approval-actions .agent-approval-approve{border-color:var(--accent);background:var(--accent);color:#041018;font-weight:800}.agent-approval-actions .agent-approval-approve:disabled{opacity:.55;cursor:default}.agent-approval-view-tasks{border-color:var(--accent);width:100%;color:var(--accent);margin-top:12px}.agent-run-status{border:1px solid var(--border);background:var(--surface-2);border-radius:13px;margin:16px 0 0;padding:14px}.agent-run-status-row{justify-content:space-between;align-items:center;gap:12px;font-size:12px;display:flex}.agent-run-status-row strong{color:var(--accent)}.agent-run-status p{margin:8px 0 0;font-size:13px;line-height:1.5}.agent-run-status-completed{border-color:var(--accent)}@supports (color:color-mix(in lab, red, red)){.agent-run-status-completed{border-color:color-mix(in srgb, var(--accent) 35%, var(--border))}}.agent-approval-result{color:var(--muted);margin:12px 0 0;font-size:12px;line-height:1.45}.agent-approval-result-error{color:var(--text)}@media (max-width:640px){.agent-approval-panel{width:calc(100vw - 20px);max-height:calc(var(--app-viewport-height,100dvh) - 20px);top:10px;right:10px}.agent-approval-card{padding:14px}.agent-approval-actions{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);display:grid}.agent-approval-actions button{width:100%}}@media (max-width:420px){.agent-approval-date-time{grid-template-columns:1fr}}.settings-overlay{z-index:90;background:var(--surface);color:var(--text);display:flex;position:fixed;inset:0}.settings-backdrop{background:var(--surface);cursor:default;border:0;position:absolute;inset:0}.settings-window{z-index:1;background:var(--surface);width:100%;min-width:0;height:100%;display:flex;position:relative}.settings-nav{background:var(--surface-2);border-right:1px solid var(--border);flex-direction:column;width:340px;min-width:280px;height:100%;display:flex}.settings-nav-top{border-bottom:1px solid var(--border);flex:none;padding:12px 12px 10px}.settings-back-button{background:var(--surface-hover);width:100%;min-height:40px;color:var(--text-secondary);font:inherit;cursor:pointer;text-align:left;border:0;border-radius:9px;align-items:center;gap:8px;padding:0 12px;font-size:13px;display:flex}.settings-back-button:hover{color:var(--text);background:var(--surface-muted)}.settings-search{border:1px solid var(--border-strong);background:var(--surface);height:40px;color:var(--text-muted);border-radius:999px;align-items:center;gap:8px;margin-top:10px;padding:0 10px;display:flex}.settings-search span{font-size:20px;line-height:1}.settings-search input{min-width:0;color:var(--text);font:inherit;background:0 0;border:0;outline:0;flex:1;font-size:13px}.settings-search input::placeholder{color:var(--text-muted)}.settings-menu{scrollbar-width:thin;scrollbar-color:var(--border) transparent;flex:1;min-height:0;padding:8px 10px 24px;overflow:hidden auto}.settings-menu::-webkit-scrollbar{width:6px}.settings-menu::-webkit-scrollbar-track{background:0 0}.settings-menu::-webkit-scrollbar-thumb{background:var(--border);border-radius:999px}.settings-menu-group{padding:10px 0 4px}.settings-menu-heading{color:var(--text-muted);padding:0 10px 7px;font-size:12px;font-weight:600}.settings-menu-item{width:100%;min-height:38px;color:var(--text-secondary);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:9px;align-items:center;gap:10px;padding:0 10px;font-size:13px;display:flex}.settings-menu-item:hover{background:var(--surface-hover);color:var(--text)}.settings-menu-item.active{background:var(--surface-muted);color:var(--text)}.settings-menu-icon{width:18px;color:var(--text-muted);text-align:center;flex:0 0 18px}.settings-menu-item.active .settings-menu-icon{color:var(--accent)}.settings-main{background:var(--surface);flex-direction:column;flex:1;min-width:0;height:100%;display:flex}.settings-main-header{border-bottom:1px solid var(--border);flex:none;justify-content:space-between;align-items:center;gap:16px;min-width:0;padding:28px 44px 22px;display:flex}.settings-main-header>div{min-width:0}.settings-main-header h2{color:var(--text);overflow-wrap:anywhere;margin:0;font-size:24px;line-height:1.2}.settings-main-content{scrollbar-width:thin;scrollbar-color:var(--border) transparent;flex:1;min-width:0;min-height:0;padding:28px 44px 56px;overflow:hidden auto}.settings-main-content::-webkit-scrollbar{width:7px}.settings-main-content::-webkit-scrollbar-track{background:0 0}.settings-main-content::-webkit-scrollbar-thumb{background:var(--border);border-radius:999px}.settings-main-content>.settings-section,.settings-main-content>.control-panel,.settings-main-content>.workspace-panel{width:min(860px,100%);max-width:100%;margin:0 auto}.settings-main-content>.settings-section+.settings-section{margin-top:22px}.settings-main-content .control-panel,.settings-main-content .workspace-panel{width:min(860px,100%);max-width:100%;height:auto;max-height:none;box-shadow:none;background:0 0;border:0;position:static;inset:auto;overflow:visible}.settings-main-content .control-header,.settings-main-content .workspace-panel-header{border-bottom:1px solid var(--border);padding:0 0 20px}.settings-main-content .workspace-close{display:none}.settings-main-content .control-list,.settings-main-content .settings-content{overflow:visible}.settings-main-content .connection-form{max-width:860px}.settings-main-content .settings-section>*,.settings-main-content .settings-section>*>*{min-width:0;max-width:100%}.settings-main-content .settings-section p,.settings-main-content .settings-section span,.settings-main-content .settings-section strong,.settings-main-content .settings-section summary{overflow-wrap:anywhere;word-break:break-word}.settings-main-content .settings-section button{min-width:0;max-width:100%}.settings-eyebrow{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;margin-bottom:4px;font-size:11px;font-weight:600;display:block}.settings-mobile-back{display:none}.settings-close{border:1px solid var(--border);width:36px;height:36px;color:var(--muted);cursor:pointer;background:0 0;border-radius:10px;flex:0 0 36px;font-size:24px;line-height:1}.settings-close:hover{color:var(--text);border-color:var(--accent)}.settings-section{border-bottom:1px solid var(--border);gap:14px;min-width:0;padding-bottom:22px;display:grid}.settings-section-heading{gap:4px;min-width:0;display:grid}.settings-section-heading strong{color:var(--text);font-size:14px}.settings-section-heading span,.settings-row>div span,.settings-info-card span{color:var(--muted);overflow-wrap:anywhere;word-break:break-word;font-size:12px;line-height:1.45}.settings-row{border:1px solid var(--border);background:var(--surface-2);border-radius:12px;justify-content:space-between;align-items:center;gap:16px;min-width:0;padding:13px;display:flex}.settings-row>div{gap:3px;min-width:0;display:grid}.settings-row>div strong{color:var(--text);overflow-wrap:anywhere;font-size:13px}.settings-row-stack{align-items:flex-start}.settings-select{border:1px solid var(--border);background:var(--surface);min-width:0;max-width:100%;height:36px;color:var(--text);cursor:pointer;border-radius:9px;outline:none;flex:0 160px;padding:0 30px 0 10px}.settings-select:hover,.settings-select:focus{border-color:var(--accent)}.settings-info-card{border:1px solid var(--border);background:var(--surface-2);border-radius:12px;justify-content:space-between;align-items:center;gap:14px;min-width:0;max-width:100%;padding:13px;display:flex}.settings-info-card>div{gap:5px;min-width:0;max-width:100%;display:grid}.settings-info-card strong{color:var(--text);overflow-wrap:anywhere;font-size:13px}.settings-status-badge{border:1px solid var(--border);color:var(--accent);white-space:nowrap;border-radius:999px;flex:none;padding:4px 8px;font-weight:600;font-size:11px!important}.settings-action-button,.settings-secondary-action-button{border:1px solid var(--border);background:var(--surface);max-width:100%;min-height:36px;color:var(--text);font:inherit;cursor:pointer;white-space:normal;overflow-wrap:anywhere;border-radius:9px;padding:7px 12px;font-size:12px;font-weight:600}.settings-action-button{border-color:var(--accent)}@supports (color:color-mix(in lab, red, red)){.settings-action-button{border-color:color-mix(in srgb, var(--accent) 45%, var(--border))}}.settings-action-button{color:var(--accent)}.settings-action-button:hover,.settings-secondary-action-button:hover{border-color:var(--accent)}.settings-action-button:disabled,.settings-secondary-action-button:disabled{opacity:.5;cursor:not-allowed}.settings-feedback{border:1px solid var(--border);background:var(--surface-2);color:var(--muted);overflow-wrap:anywhere;border-radius:10px;padding:10px 12px;font-size:12px}.settings-feedback.error{border-color:#ef4444}@supports (color:color-mix(in lab, red, red)){.settings-feedback.error{border-color:color-mix(in srgb, #ef4444 40%, var(--border))}}.settings-feedback.error{color:var(--text)}.improvement-cycle-list{gap:12px;min-width:0;display:grid}.improvement-cycle-card{align-items:stretch;gap:12px;display:grid}.improvement-cycle-card-heading{justify-content:space-between;align-items:flex-start;gap:12px;min-width:0;display:flex}.improvement-cycle-title{gap:4px;min-width:0;display:grid}.improvement-cycle-title span,.improvement-cycle-note{overflow-wrap:anywhere;word-break:break-word;min-width:0}.improvement-cycle-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;min-width:0;display:grid}.improvement-cycle-metric{border:1px solid var(--border);background:var(--surface);border-radius:9px;gap:3px;min-width:0;padding:10px;display:grid}.improvement-cycle-metric strong,.improvement-cycle-metric span{overflow-wrap:anywhere;word-break:break-word;min-width:0}.improvement-cycle-metric strong{font-size:11px}.improvement-cycle-metric span{color:var(--muted);font-size:12px}.improvement-cycle-actions{flex-wrap:wrap;gap:8px;min-width:0;display:flex}.improvement-cycle-canary-note{grid-template-columns:minmax(0,auto) minmax(0,1fr);align-items:baseline;gap:3px 5px;min-width:0;display:grid}.improvement-cycle-canary-note strong,.improvement-cycle-canary-note span{overflow-wrap:anywhere;word-break:break-word;min-width:0}.improvement-cycle-history{min-width:0;color:var(--muted);overflow-wrap:anywhere;font-size:11px}.improvement-cycle-history summary{cursor:pointer;color:var(--text-secondary)}.improvement-cycle-history>div{gap:4px;margin-top:8px;display:grid}.learning-review-panel{min-width:0}.learning-review-message{text-align:center;color:var(--muted);overflow-wrap:anywhere;margin:0;padding:32px 12px;font-size:12px}.learning-review-list{gap:8px;min-width:0;display:grid}.learning-review-item{border:1px solid var(--border);background:var(--surface-2);width:100%;min-width:0;color:var(--text);text-align:left;cursor:pointer;border-radius:12px;padding:12px;display:block}.learning-review-item:hover{background:var(--surface-hover)}.learning-review-item-heading{justify-content:space-between;align-items:flex-start;gap:12px;min-width:0;display:flex}.learning-review-prompt{-webkit-line-clamp:3;overflow-wrap:anywhere;word-break:break-word;-webkit-box-orient:vertical;flex:auto;min-width:0;font-size:12px;line-height:1.45;display:-webkit-box;overflow:hidden}.learning-review-eligibility{max-width:40%;color:var(--muted);overflow-wrap:anywhere;word-break:break-word;flex:none;font-size:11px}.learning-review-meta{min-width:0;color:var(--muted);overflow-wrap:anywhere;word-break:break-word;margin-top:5px;font-size:11px}.learning-review-detail{border:1px solid var(--border);background:var(--surface-2);border-radius:12px;min-width:0;padding:14px}.learning-review-label{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;margin:0;font-size:10px;font-weight:600}.learning-review-body{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;min-width:0;max-width:100%;margin:4px 0 0;font-size:12px;line-height:1.5}.learning-review-response{max-height:192px;color:var(--text-secondary);overflow:auto}.learning-review-actions{flex-wrap:wrap;gap:8px;min-width:0;margin-top:14px;display:flex}@media (max-width:900px){.settings-nav{width:280px;min-width:240px}.settings-main-header,.settings-main-content{padding-inline:28px}.improvement-cycle-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:700px){.settings-window{display:block}.settings-window.settings-mobile-detail .settings-nav,.settings-window:not(.settings-mobile-detail) .settings-main{display:none}.settings-window.settings-mobile-detail .settings-main{width:100%;height:100%;display:flex}.settings-nav{border-right:0;width:100%;min-width:0;height:100%}.settings-nav-top{padding:10px 12px}.settings-main-header{gap:10px;padding:14px 12px 12px}.settings-main-header h2{font-size:20px}.settings-main-content{padding:16px 12px 36px}.settings-mobile-back{min-height:32px;color:var(--text-secondary);font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;margin-right:8px;padding:0;font-size:12px;display:inline-flex}.settings-main-header>div{align-items:center;min-width:0;display:flex}.settings-main-header .settings-eyebrow{display:none}.settings-info-card,.settings-row{flex-direction:column;align-items:flex-start}.settings-status-badge{align-self:flex-start}.settings-select{flex-basis:36px;width:100%}.improvement-cycle-grid{grid-template-columns:1fr}.improvement-cycle-card-heading{flex-direction:column}.improvement-cycle-canary-note{grid-template-columns:1fr}.improvement-cycle-actions>button,.learning-review-actions>button{width:100%}.learning-review-item-heading{flex-direction:column;gap:6px}.learning-review-eligibility{max-width:100%}}.settings-nav-footer{padding:10px 12px max(12px,env(safe-area-inset-bottom));border-top:1px solid var(--border);background:var(--surface-2);flex:none}.settings-signout-button{border:1px solid var(--border);background:var(--surface);width:100%;min-height:42px;color:var(--text-secondary);font:inherit;text-align:left;cursor:pointer;border-radius:10px;align-items:center;gap:10px;padding:0 12px;font-size:13px;transition:background .12s,border-color .12s,color .12s;display:flex}.settings-signout-button span{color:var(--text-muted);margin-left:auto}.settings-signout-button:hover{border-color:var(--border-strong);background:var(--surface-hover);color:var(--text)}.settings-signout-button:disabled{opacity:.6;cursor:wait}.settings-signout-button svg{color:var(--text-muted);flex:0 0 18px}.developer-api{gap:16px}.developer-api-toolbar,.developer-api-card-heading,.developer-api-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.developer-api-field{min-width:0;color:var(--text-secondary);gap:7px;font-size:12px;display:grid}.developer-api-field input,.developer-api-field textarea,.developer-api-field select{border:1px solid var(--border-strong);background:var(--surface);width:100%;min-width:0;color:var(--text);font:inherit;border-radius:9px;padding:10px 12px;font-size:13px}.developer-api-field textarea{resize:vertical}.developer-api-card{border:1px solid var(--border);background:var(--surface-2);border-radius:14px;gap:14px;min-width:0;padding:18px;display:grid}.developer-api-card h3{color:var(--text);margin:0;font-size:15px}.developer-api-card p{color:var(--muted);overflow-wrap:anywhere;margin:0;font-size:12px;line-height:1.5}.developer-api-card-heading>div{gap:5px;min-width:0;display:grid}.developer-api-card-heading p{overflow-wrap:anywhere}.developer-api-button{border:1px solid var(--border-strong);background:var(--surface);min-height:36px;color:var(--text);font:inherit;cursor:pointer;border-radius:9px;padding:8px 12px;font-size:12px;font-weight:600}.developer-api-button:disabled{opacity:.55;cursor:not-allowed}.developer-api-button-primary{border-color:var(--accent);background:var(--accent);color:#fff}.developer-api-button-danger{border-color:#dc2626}@supports (color:color-mix(in lab, red, red)){.developer-api-button-danger{border-color:color-mix(in srgb, #dc2626 40%, var(--border))}}.developer-api-button-danger{color:#dc2626}.developer-api-form{gap:13px}.developer-api-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.developer-api-stats>div{background:var(--surface);border-radius:9px;gap:5px;min-width:0;padding:12px;display:grid}.developer-api-stats span,.developer-api-docs>div>span{color:var(--muted);font-size:11px}.developer-api-stats strong{color:var(--text);overflow-wrap:anywhere;font-size:13px}.developer-api-status{border:1px solid var(--border);text-transform:capitalize;border-radius:999px;align-items:center;width:fit-content;padding:4px 8px;font-size:11px;display:inline-flex}.developer-api-status-active{color:#15803d}.developer-api-status-suspended,.developer-api-status-revoked{color:#b91c1c}.developer-api-alert{border:1px solid var(--border);background:var(--surface-2);color:var(--text);overflow-wrap:anywhere;border-radius:10px;padding:11px 13px;font-size:12px}.developer-api-alert-error{color:#dc2626;border-color:#dc2626}.developer-api-muted{color:var(--muted);overflow-wrap:anywhere;font-size:12px;line-height:1.5}.developer-api-secret{border-color:var(--accent)}.developer-api-secret textarea{overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.developer-api-scope{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;font-size:12px;display:flex}.developer-api-docs>div{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:12px;display:flex}.developer-api-docs code,.developer-api-scope code{overflow-wrap:anywhere;color:var(--text);font-size:12px}.developer-api-table-wrap{width:100%;overflow-x:auto}.developer-api-table{border-collapse:collapse;text-align:left;width:100%;font-size:12px}.developer-api-table th,.developer-api-table td{border-bottom:1px solid var(--border);white-space:nowrap;padding:10px 8px}.developer-api-table th{color:var(--muted);font-size:11px;font-weight:600}.developer-api-table td{color:var(--text-secondary)}.developer-api-table td:first-child{white-space:normal}.developer-api-table td strong,.developer-api-table td small{display:block}.developer-api-table td small{color:var(--muted);margin-top:4px;font-family:ui-monospace,monospace;font-size:10px}.developer-api-usage{gap:8px;margin:0;display:grid}.developer-api-usage>div{border-bottom:1px solid var(--border);justify-content:space-between;gap:16px;padding-bottom:8px;display:flex}.developer-api-usage dt{color:var(--muted);text-transform:capitalize;font-size:12px}.developer-api-usage dd{color:var(--text);text-align:right;overflow-wrap:anywhere;margin:0;font-size:12px}@media (max-width:640px){.developer-api-toolbar{align-items:stretch}.developer-api-toolbar>*{flex:100%}.developer-api-stats{grid-template-columns:1fr}.developer-api-card{padding:14px}}.project-source-overlay{z-index:80;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.project-source-backdrop{background:#00000094;border:0;position:absolute;inset:0}.project-source-picker{border:1px solid var(--border);background:var(--surface);border-radius:18px;width:min(760px,100%);max-height:min(760px,100dvh - 40px);padding:20px;position:relative;overflow:auto;box-shadow:0 24px 80px #0006}.project-source-header{justify-content:space-between;align-items:flex-start;display:flex}.project-source-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0;display:grid}.project-source-option{text-align:left;border:1px solid var(--border);background:var(--surface-2);cursor:pointer;border-radius:12px;flex-direction:column;gap:6px;min-height:86px;padding:12px;display:flex}.project-source-option.is-selected{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent-soft)}.project-source-option span,.project-source-note{color:var(--muted);font-size:12px;line-height:1.45}.project-source-form{gap:14px;display:grid}.project-source-form label{gap:7px;font-size:13px;font-weight:600;display:grid}.project-source-form input,.project-source-form textarea,.project-source-form select{border:1px solid var(--border);background:var(--surface-2);width:100%;color:var(--text);border-radius:10px;padding:10px 12px}.project-source-form textarea{resize:vertical;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.project-source-footer{justify-content:flex-end;gap:10px;margin-top:18px;display:flex}.settings-secondary-button,.settings-primary-button{border:1px solid var(--border);cursor:pointer;border-radius:10px;padding:9px 14px}.settings-primary-button{background:var(--accent);color:var(--bg);border-color:var(--accent)}.settings-secondary-button{background:var(--surface-2)}@media (max-width:700px){.project-source-options{grid-template-columns:repeat(2,minmax(0,1fr))}.project-source-picker{padding:16px}}.project-policy-panel{border:1px solid var(--border);background:var(--surface-2);border-radius:12px;margin-top:14px;padding:12px}.project-policy-heading{gap:3px;margin-bottom:10px;display:grid}.project-policy-heading span{color:var(--muted);font-size:11px}.project-policy-grid{gap:5px;display:grid}.project-policy-row{color:var(--text);justify-content:space-between;align-items:center;gap:10px;padding:6px 0;font-size:12px;display:flex}.project-policy-row select,.project-policy-plugin select{border:1px solid var(--border);background:var(--bg);color:var(--text);border-radius:7px;padding:5px 7px;font-size:11px}.project-policy-plugin{border-top:1px solid var(--border);gap:6px;margin-top:10px;padding-top:10px;font-size:12px;display:grid}.project-policy-plugin label{color:var(--muted);justify-content:space-between;align-items:center;display:flex}.library-panel h3,.connections-panel h3{margin:0 0 10px;font-size:14px}.library-summary{border:1px solid var(--border);background:var(--surface-2);border-radius:12px;grid-template-columns:auto 1fr auto 1fr;align-items:baseline;gap:4px 10px;margin-bottom:16px;padding:14px;display:grid}.library-summary strong{font-size:20px}.library-summary span{color:var(--muted);font-size:11px}.library-section{margin-top:20px}.library-item{border:1px solid var(--border);background:var(--surface-2);border-radius:12px;gap:4px;padding:12px;display:grid}.library-item strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.library-item span,.library-item small{color:var(--muted);font-size:11px}.library-item em{color:var(--accent);text-transform:uppercase;font-size:10px;font-style:normal}.connection-card{border:1px solid var(--border);background:var(--surface-2);border-radius:14px;grid-template-columns:40px 1fr auto;align-items:center;gap:12px;margin-bottom:12px;padding:14px;display:grid}.connection-active{border-color:var(--accent)}@supports (color:color-mix(in lab, red, red)){.connection-active{border-color:color-mix(in srgb, var(--accent) 45%, var(--border))}}.connection-icon{background:var(--accent-soft);width:40px;height:40px;color:var(--accent);border-radius:10px;place-items:center;font-size:11px;font-weight:800;display:grid}.connection-copy{gap:3px;min-width:0;display:grid}.connection-copy strong{font-size:14px}.connection-copy span{color:var(--muted);font-size:11px;line-height:1.4}.connection-status{color:var(--muted);white-space:nowrap;font-size:10px}.connection-form{gap:10px;margin:16px 0;display:grid}.connection-form label{color:var(--muted);gap:6px;font-size:11px;display:grid}.connection-form input{border:1px solid var(--border);background:var(--bg);width:100%;color:var(--text);border-radius:10px;padding:11px 12px}.connection-form button{cursor:pointer;border:0;border-radius:10px;min-height:40px;font-weight:700}.connection-form button:disabled{opacity:.5;cursor:default}.connection-note{color:var(--muted);margin:0 0 18px;font-size:11px;line-height:1.5}.connection-status-message{border:1px solid var(--border);background:var(--accent-soft);color:var(--text);border-radius:10px;margin:10px 0 18px;padding:10px 12px;font-size:11px;line-height:1.5}.control-panel{z-index:60;background:var(--surface);border-left:1px solid var(--border);width:min(560px,100vw);padding:22px;position:fixed;inset:0 0 0 auto;overflow:auto;box-shadow:-18px 0 50px #0000003d}.control-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px;display:flex}.control-header h2{margin:3px 0 0;font-size:22px}.control-summary{grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:18px;display:grid}.control-summary>div,.control-card,.engineering-project,.system-status-card{border:1px solid var(--border);background:var(--surface-2);border-radius:14px;padding:13px}.control-summary strong{font-size:22px;display:block}.control-summary span,.control-row span,.engineering-project span,.system-status-card span,.intel-grid span,.plan-step small{color:var(--muted);margin-top:3px;font-size:12px;display:block}.control-section{margin:20px 0}.control-section-title{text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin-bottom:9px;font-size:12px;font-weight:700}.control-list{gap:8px;display:grid}.control-row{border:1px solid var(--border);background:var(--surface-2);border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:11px 12px;display:flex}.control-row strong{font-size:13px}.control-row b{white-space:nowrap;text-transform:capitalize;font-size:11px}.control-row b[data-state=failed],.control-row b[data-state=error]{color:#ff6b7a}.control-row b[data-state=waiting_approval]{color:#f3c969}.control-row b[data-state=completed],.control-row b[data-state=ready]{color:#63d69f}.control-row b[data-state=running],.control-row b[data-state=planning],.control-row b[data-state=indexing]{color:#72b7ff}.control-empty{border:1px dashed var(--border);color:var(--muted);border-radius:12px;padding:18px;font-size:13px}.control-attention{border-color:var(--accent)}.control-card p{color:var(--muted);margin:6px 0 0;font-size:13px;line-height:1.5}.control-card button,.control-refresh{border:1px solid var(--border);background:var(--surface);cursor:pointer;border-radius:9px;margin-top:12px;padding:8px 11px}.control-tabs{border-bottom:1px solid var(--border);gap:4px;margin:0 -2px 18px;display:flex}.control-tabs button{color:var(--muted);cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;padding:9px 12px}.control-tabs button.active{color:var(--text);border-bottom-color:var(--accent)}.engineering-project{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.engineering-project strong{margin-top:3px;display:block}.status-pill{border:1px solid var(--border);border-radius:999px;padding:5px 8px!important}.intel-grid{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px;display:grid}.intel-grid>div{border:1px solid var(--border);background:var(--surface-2);border-radius:10px;padding:10px}.intel-grid strong{word-break:break-word;margin-top:4px;font-size:13px;display:block}.control-label{color:var(--muted);margin-bottom:7px;font-size:12px;display:block}.control-panel textarea{resize:vertical;border:1px solid var(--border);background:var(--surface-2);width:100%;color:var(--text);border-radius:10px;min-height:80px;padding:10px}.plan-list{gap:8px;margin-top:12px;display:grid}.plan-step{border:1px solid var(--border);background:var(--surface-2);border-radius:12px;gap:10px;padding:12px;display:flex}.plan-step>span{background:var(--accent-soft);width:24px;height:24px;color:var(--accent);border-radius:50%;place-items:center;font-weight:700;display:grid}.plan-step strong{font-size:13px}.plan-step p{color:var(--muted);margin:5px 0;font-size:12px;line-height:1.45}.system-status-grid{gap:10px;margin-bottom:20px;display:grid}.system-status-card{align-items:flex-start;gap:12px;display:flex}.system-status-card strong,.system-status-card>div>span{display:block}.system-status-card p{color:var(--muted);margin:5px 0 0;font-size:12px}.status-dot{background:var(--muted);border-radius:50%;flex:none;width:9px;height:9px;margin-top:6px}.status-dot.ok{background:#63d69f}.status-dot.error{background:#ff6b7a}.status-dot.loading{background:#f3c969}@media (max-width:700px){.control-panel{width:100%;padding:16px}.control-summary{gap:7px}.control-summary strong{font-size:18px}}.search-panel{background:var(--bg);width:100%;height:100%;color:var(--text);flex-direction:column;display:flex}.search-panel-header{border-bottom:1px solid var(--border);background:var(--header-bg);flex:none;justify-content:space-between;align-items:center;gap:16px;min-height:68px;padding:0 28px;display:flex}.search-panel-title{align-items:center;gap:12px;display:flex}.search-panel-title>svg{color:var(--accent)}.search-panel-title div{gap:1px;display:grid}.search-panel-title span{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;font-size:10px}.search-panel-title h1{margin:0;font-size:20px}.search-close-button{border:1px solid var(--border);background:var(--surface);min-height:34px;color:var(--text-secondary);cursor:pointer;border-radius:9px;padding:0 12px}.search-close-button:hover{border-color:var(--accent);color:var(--text)}.search-input-wrap{border:1px solid var(--border-strong);background:var(--surface);border-radius:12px;align-items:center;gap:10px;width:min(900px,100% - 48px);min-height:52px;margin:24px auto 18px;padding:0 14px;display:flex;box-shadow:0 8px 28px #00000014}.search-input-wrap:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.search-input-wrap>svg{color:var(--muted);flex:none}.search-input-wrap input{min-width:0;color:var(--text);font:inherit;background:0 0;border:0;outline:0;flex:1;font-size:15px}.search-input-wrap input::placeholder{color:var(--muted)}.search-input-wrap button{width:28px;height:28px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:7px;font-size:20px}.search-results{flex:1;width:min(900px,100% - 48px);min-height:0;margin:0 auto;padding:0 0 40px;overflow-y:auto}.search-result-count{color:var(--muted);margin:2px 0 8px;font-size:11px}.search-result{border:1px solid var(--border);background:var(--surface);width:100%;color:var(--text);text-align:left;cursor:pointer;border-radius:12px;gap:7px;margin-bottom:8px;padding:14px;display:grid}.search-result:hover{border-color:var(--accent);background:var(--surface-hover)}.search-result-top{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.search-result-top strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:13px;overflow:hidden}.search-result-top span{color:var(--muted);flex:none;font-size:10px}.search-result p{color:var(--text-secondary);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:13px;line-height:1.5}.search-result mark{background:var(--accent-soft);color:var(--text);border-radius:3px;padding:0 2px}.search-empty{min-height:280px;color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;display:flex}.search-empty svg{color:var(--accent);opacity:.75;margin-bottom:4px}.search-empty strong{color:var(--text);font-size:15px}.search-empty span{font-size:12px}@media (max-width:700px){.search-panel-header{padding-inline:14px}.search-input-wrap,.search-results{width:calc(100% - 20px)}.search-input-wrap{margin-top:14px}.search-result-top{flex-direction:column;align-items:flex-start;gap:3px}}.auth-page{background:radial-gradient(circle at 50% -10%, var(--accent), transparent 42%), radial-gradient(circle at 0% 100%, var(--surface-2), transparent 36%), var(--bg);place-items:center;height:100dvh;min-height:100dvh;padding:32px 20px;display:grid;overflow:auto}@supports (color:color-mix(in lab, red, red)){.auth-page{background:radial-gradient(circle at 50% -10%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 42%), radial-gradient(circle at 0% 100%, color-mix(in srgb, var(--surface-2) 70%, transparent), transparent 36%), var(--bg)}}.auth-card{border:1px solid var(--border);width:min(100%,460px);padding:36px}@supports (color:color-mix(in lab, red, red)){.auth-card{border:1px solid color-mix(in srgb, var(--border) 90%, var(--accent) 10%)}}.auth-card{background:var(--surface);border-radius:28px}@supports (color:color-mix(in lab, red, red)){.auth-card{background:color-mix(in srgb, var(--surface) 96%, transparent)}}.auth-card{box-shadow:0 30px 100px #00000052,inset 0 0 0 1px #ffffff05}.auth-brand{letter-spacing:-.02em;align-items:center;gap:12px;font-size:20px;font-weight:750;display:flex}.auth-brand-mark{background:var(--accent);width:40px;height:40px;color:var(--bg);box-shadow:0 8px 24px var(--accent);border-radius:12px;place-items:center;font-size:20px;font-weight:850;display:grid}@supports (color:color-mix(in lab, red, red)){.auth-brand-mark{box-shadow:0 8px 24px color-mix(in srgb, var(--accent) 22%, transparent)}}.auth-heading{margin:38px 0 24px}.auth-eyebrow{color:var(--accent);letter-spacing:.18em;font-size:12px;font-weight:800}.auth-heading h1{letter-spacing:-.035em;margin:7px 0 8px;font-size:clamp(30px,6vw,36px);line-height:1.08}.auth-heading p{color:var(--muted);margin:0;font-size:14px;line-height:1.55}.auth-socials{gap:10px;display:grid}.auth-socials button{border:1px solid var(--border);background:var(--surface-2);width:100%;min-height:46px;color:var(--text);cursor:pointer;border-radius:13px;justify-content:center;align-items:center;font-size:14px;font-weight:650;transition:border-color .15s,background .15s,transform .15s;display:flex}.auth-socials button:hover:not(:disabled){border-color:var(--accent)}@supports (color:color-mix(in lab, red, red)){.auth-socials button:hover:not(:disabled){border-color:color-mix(in srgb, var(--accent) 45%, var(--border))}}.auth-socials button:hover:not(:disabled){background:var(--surface-2)}@supports (color:color-mix(in lab, red, red)){.auth-socials button:hover:not(:disabled){background:color-mix(in srgb, var(--surface-2) 88%, var(--accent) 12%)}}.auth-socials button:hover:not(:disabled){transform:translateY(-1px)}.auth-socials button:disabled{opacity:.6;cursor:wait}.auth-divider{color:var(--muted);align-items:center;gap:12px;margin:5px 0 2px;font-size:12px;display:flex}.auth-divider:before,.auth-divider:after{content:"";background:var(--border);flex:1;height:1px}.auth-divider span{padding:0 2px}.auth-form{gap:15px;display:grid}.auth-form label{gap:7px;font-size:13px;font-weight:650;display:grid}.auth-form input{border:1px solid var(--border);background:var(--surface-2);width:100%;min-height:46px;color:var(--text);border-radius:13px;outline:none;padding:11px 13px;transition:border-color .15s,box-shadow .15s}.auth-form input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent)}@supports (color:color-mix(in lab, red, red)){.auth-form input:focus{box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent)}}.auth-submit{background:var(--accent);min-height:48px;color:var(--bg);cursor:pointer;border:0;border-radius:13px;margin-top:4px;font-weight:800;transition:filter .15s,transform .15s}.auth-submit:hover:not(:disabled){filter:brightness(1.06);transform:translateY(-1px)}.auth-submit:disabled{opacity:.65;cursor:wait}.auth-alert{border-radius:11px;padding:11px 12px;font-size:13px;line-height:1.4}.auth-alert-error{background:#ff505014;border:1px solid #ff505059}.auth-alert-success{background:#50dc9614;border:1px solid #50dc9659}.auth-links{flex-wrap:wrap;justify-content:center;gap:10px 20px;margin-top:22px;display:flex}.auth-links button{color:var(--accent);cursor:pointer;background:0 0;border:0;padding:0;font-size:13px}.auth-links button:hover{text-decoration:underline}@media (max-width:520px){.auth-page{padding:18px 14px;place-items:start center;padding-top:6vh}.auth-card{border-radius:22px;padding:28px 20px}.auth-heading{margin-top:30px}}.sidebar{background:var(--surface);padding:14px 12px 10px}.new-chat-button{border-color:var(--accent);background:var(--accent);color:#fff;border-radius:13px;min-height:46px;margin-top:12px}.new-chat-button:hover{background:var(--accent-hover);border-color:var(--accent-hover)}.new-chat-button span{font-weight:600}.new-chat-button kbd{color:#ffffffc7}.sidebar-scroll{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--border) transparent;flex:auto;min-height:0;margin-top:14px;padding:0 1px 12px 0;display:block;overflow:hidden auto}.sidebar-primary-scroll{max-height:none;overflow:visible}.sidebar-nav{border-bottom:1px solid var(--border);gap:3px;padding-bottom:12px}.nav-item{border-radius:10px;min-height:41px}.nav-item-active{background:var(--accent-soft);color:var(--accent);font-weight:600}.sidebar-section{flex:none;min-height:auto;margin-top:14px;padding-bottom:2px;display:block;overflow:visible}.sidebar-section-heading{justify-content:space-between;align-items:center;gap:8px;padding:0 9px 7px;display:flex}.sidebar-section-label{color:var(--text-secondary);letter-spacing:0;text-transform:none;padding:0;font-size:12px}.sidebar-section-count{color:var(--text-muted);font-size:11px}.recent-scroll,.pinned-scroll{display:contents}.recent-list{flex-direction:column;gap:3px;display:flex;overflow:visible}.recent-item-wrap{border-radius:10px;min-height:39px}.recent-item{min-height:39px;padding-left:10px}.recent-item-active{color:var(--accent);font-weight:600}.recent-item-wrap-active{background:var(--accent-soft)}.recent-more{opacity:.65}.recent-load-more{background:var(--accent-soft);width:calc(100% - 8px);min-height:34px;color:var(--accent);border:0;border-radius:10px;justify-content:center;align-items:center;gap:7px;margin:7px 4px 2px;font-size:12px;font-weight:600;display:flex}.recent-load-more:hover{background:var(--accent);color:#fff}.sidebar-footer{background:var(--surface);margin-top:0;padding-top:10px}.account{border:1px solid var(--border);background:var(--surface-muted);border-radius:12px}.app-shell.sidebar-collapsed .sidebar-scroll{overflow:hidden}.app-shell.sidebar-collapsed .sidebar-section-heading,.app-shell.sidebar-collapsed .sidebar-section .recent-list,.app-shell.sidebar-collapsed .recent-load-more{display:none}.app-shell.sidebar-collapsed .sidebar-nav{border-bottom:0}.app-shell.sidebar-collapsed .sidebar-section{margin-top:8px}.app-shell.sidebar-collapsed .sidebar-section-label,.app-shell.sidebar-collapsed .sidebar-section-count,.app-shell.sidebar-collapsed .account-copy,.app-shell.sidebar-collapsed .sidebar-logout-button{display:none}.app-shell.sidebar-collapsed .account{background:0 0;border:0;justify-content:center;padding-inline:0}.app-shell.sidebar-collapsed .settings-quick-button{display:none}.chat-header{background:var(--surface)}.header-chat-title{color:var(--text);font-size:15px;font-weight:600}.depth-button{background:var(--surface-muted);border-radius:999px}.depth-button:hover,.depth-button[aria-expanded=true]{color:var(--accent);background:var(--accent-soft)}.composer{border-radius:20px}.composer:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft),var(--shadow-composer)}.send-button-active{background:var(--accent);border-radius:50%}.send-button-active:hover{background:var(--accent-hover)}@media (max-height:760px){.sidebar{padding-top:8px}.sidebar-brand{min-height:42px}.sidebar-scroll{margin-top:8px}.nav-item{min-height:36px}.sidebar-section{margin-top:10px}}:root{--app-viewport-height:100dvh}*{box-sizing:border-box}html,body{overscroll-behavior:none;width:100%;height:100%;min-height:100%;margin:0;overflow:hidden}body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.app-shell,.chat-shell,.sidebar{height:var(--app-viewport-height,100dvh);max-height:var(--app-viewport-height,100dvh)}button,textarea,input,select{font:inherit}button{color:inherit}button:focus-visible,textarea:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}::selection{background:var(--accent-soft)}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@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-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@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}
