/*! tailwindcss v4.3.1 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-outline-style:solid;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--ease-out:cubic-bezier(0, 0, .2, 1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.border{border-style:var(--tw-border-style);border-width:1px}.uppercase{text-transform:uppercase}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}}:root{--surface-deepest:#252529;--surface-raised:#2a2a2e;--surface-card:#28282b;--surface-card-light:#48484d;--border-subtle:#4b4b4c;--border-hover:#555559;--text-primary:#fff;--text-secondary:#ababac;--text-tertiary:#7f8087;--accent:#6c5ce7;--accent-glow:#6c5ce726;--green:#40c466;--yellow:#e8b339;--red:#e5484d}[data-theme=dark]{--surface-deepest:#0c0c0f;--surface-raised:#18181d;--surface-card:#121216;--surface-card-light:#2a2a32;--border-subtle:#1e1e24;--border-hover:#2a2a32;--text-primary:#ecedee;--text-secondary:#7f8087;--text-tertiary:#56575e;--accent:#6c5ce7;--accent-glow:#6c5ce726;--green:#40c466;--yellow:#e8b339;--red:#e5484d}*{box-sizing:border-box}body{background:var(--surface-deepest);color:var(--text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0;font-family:-apple-system,BlinkMacSystemFont,SF Pro,SF Pro Display,SF Pro Text,Helvetica Neue,sans-serif}#root{min-height:100vh}code,pre,.mono{font-family:JetBrains Mono,monospace}textarea,input,select,button{font-family:inherit}::-webkit-scrollbar{width:6px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:#2a2a32;border-radius:3px}::-webkit-scrollbar-thumb:hover{background:#3a3a42}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-ease{syntax:"*";inherits:false}.messages-container{scroll-behavior:smooth;flex-direction:column;gap:1.5rem;height:calc(100% + 200px);padding:1.5rem;display:flex;overflow-y:auto}.message-row{gap:.75rem;width:100%;max-width:80%;margin:0 10%;display:flex}.message-row.user{flex-direction:row-reverse}.message-row.assistant{flex-direction:row}.avatar{border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;display:flex}.avatar.user{background:var(--accent)}.avatar.assistant{background:var(--border-subtle);border:1px solid var(--border-subtle)}.bubble{white-space:pre-wrap;word-break:break-word;border-radius:16px;max-width:100%;padding:.75rem 1rem;font-size:.9375rem;line-height:1.625}.bubble.user{color:var(--text-primary);background:#2b2a3733;border:1px solid #9390ad4d}.bubble.assistant{color:var(--text-primary)}.bubble.thinking{opacity:.6;font-style:italic}.input-area{pointer-events:none;box-sizing:border-box;z-index:10;flex-direction:column;align-items:center;padding:.75rem 1.5rem 1.25rem;display:flex;position:absolute;bottom:0;left:0;right:0}.input-area-start{pointer-events:none;box-sizing:border-box;z-index:10;flex-direction:column;align-items:center;width:100%;padding:.75rem 1.5rem 1.25rem;display:flex;position:relative}.input-inner{pointer-events:auto;width:80%}.input-container{background:var(--surface-card);border:1px solid var(--border-subtle);padding:0;transition:border-color .2s}.input-container:focus-within{border-color:var(--border-hover)}.input-textarea{width:100%;color:var(--text-primary);box-sizing:border-box;resize:none;background:0 0;border:none;border-radius:16px;outline:none;max-height:400px;padding:.85rem 3.5rem .85rem 1.4rem;font-size:.9375rem;line-height:1.5;overflow-y:auto}.input-textarea::placeholder{color:var(--text-tertiary)}.input-actions{gap:.25rem;display:flex;position:absolute;bottom:.5rem;right:.5rem}.input-btn{width:32px;height:32px;color:var(--text-secondary);cursor:pointer;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;transition:all .15s;display:flex}.input-btn:hover{color:var(--text-primary);background:#ffffff0d}.input-btn.send{color:var(--text-tertiary)}.input-btn.send.active{cursor:pointer}.input-btn.send.active:hover{background:var(--accent);color:#fff}.input-btn.send:disabled{cursor:not-allowed}.empty-state{height:100%;color:var(--text-secondary);flex-direction:column;justify-content:center;align-items:center;gap:1rem;animation:.4s ease-out fade-in;display:flex}.empty-icon{border-radius:1rem;justify-content:center;align-items:center;width:4rem;height:4rem;display:flex}@keyframes fade-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes spin{to{transform:rotate(360deg)}}.custom-slider{cursor:pointer;width:100%;height:4px;position:relative}.custom-slider-track{background:var(--border-subtle);border-radius:9999px;width:100%;height:4px;position:absolute;top:50%;transform:translateY(-50%)}.custom-slider-fill{background:var(--accent);border-radius:9999px;height:100%;position:absolute;top:0;left:0}.custom-slider-thumb{z-index:2;background:#ecedee;border-radius:50%;width:14px;height:14px;transition:width .15s,height .15s;position:absolute;top:50%;transform:translate(-50%,-50%)}.custom-slider:hover .custom-slider-thumb,.custom-slider.dragging .custom-slider-thumb{width:16px;height:16px}.custom-slider input[type=range]{opacity:0;cursor:pointer;z-index:3;width:100%;height:100%;margin:0;position:absolute;top:0;left:0}.toggle{cursor:pointer;border-radius:9999px;flex-shrink:0;width:36px;height:20px;padding:2px;transition:background-color .2s;position:relative}.toggle.on{background:var(--accent)}.toggle.off{background:var(--border-subtle)}.toggle-knob{background:#ecedee;border-radius:50%;width:16px;height:16px;transition:transform .2s}.toggle.on .toggle-knob{transform:translate(16px)}.toggle.off .toggle-knob{transform:translate(0)}pre code.hljs{padding:1em;display:block;overflow-x:auto}code.hljs{padding:3px 5px}.hljs{color:#c9d1d9;background:#0d1117}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#ff7b72}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#d2a8ff}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-variable,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id{color:#79c0ff}.hljs-regexp,.hljs-string,.hljs-meta .hljs-string{color:#a5d6ff}.hljs-built_in,.hljs-symbol{color:#ffa657}.hljs-comment,.hljs-code,.hljs-formula{color:#8b949e}.hljs-name,.hljs-quote,.hljs-selector-tag,.hljs-selector-pseudo{color:#7ee787}.hljs-subst{color:#c9d1d9}.hljs-section{color:#1f6feb;font-weight:700}.hljs-bullet{color:#f2cc60}.hljs-emphasis{color:#c9d1d9;font-style:italic}.hljs-strong{color:#c9d1d9;font-weight:700}.hljs-addition{color:#aff5b4;background-color:#033a16}.hljs-deletion{color:#ffdcd7;background-color:#67060c}
