@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-border-style:solid;--tw-outline-style:solid}}}@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;--spacing:.25rem;--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%;-moz-tab-size:4;-o-tab-size:4;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;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}::-moz-placeholder{opacity:1}::placeholder{opacity:1}@supports (not (-webkit-appearance:-apple-pay-button)) or (contain-intrinsic-size:1px){::-moz-placeholder{color:currentColor}::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::-moz-placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}::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]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance: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}.relative{position:relative}.static{position:static}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);margin-top:1.2em;margin-bottom:1.2em;font-size:1.25em;line-height:1.6}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);font-weight:500;text-decoration:underline}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em;list-style-type:decimal}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em;list-style-type:disc}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-counters);font-weight:400}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.25em;font-weight:600}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em;font-style:italic;font-weight:500}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:0;margin-bottom:.888889em;font-size:2.25em;font-weight:800;line-height:1.11111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:900}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:2em;margin-bottom:1em;font-size:1.5em;font-weight:700;line-height:1.33333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:800}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.6em;margin-bottom:.6em;font-size:1.25em;font-weight:600;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:700}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.5em;margin-bottom:.5em;font-weight:600;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:700}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em;display:block}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-kbd);box-shadow:0 0 0 1px var(--tw-prose-kbd-shadows),0 3px 0 var(--tw-prose-kbd-shadows);padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;border-radius:.3125rem;padding-inline-start:.375em;font-family:inherit;font-size:.875em;font-weight:500}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-size:.875em;font-weight:600}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before,.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);padding-top:.857143em;padding-inline-end:1.14286em;padding-bottom:.857143em;border-radius:.375rem;margin-top:1.71429em;margin-bottom:1.71429em;padding-inline-start:1.14286em;font-size:.875em;font-weight:400;line-height:1.71429;overflow-x:auto}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit;background-color:#0000;border-width:0;border-radius:0;padding:0}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before,.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){table-layout:auto;width:100%;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.71429}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);vertical-align:bottom;padding-inline-end:.571429em;padding-bottom:.571429em;padding-inline-start:.571429em;font-weight:600}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);margin-top:.857143em;font-size:.875em;line-height:1.42857}.prose{--tw-prose-body:oklch(37.3% .034 259.733);--tw-prose-headings:oklch(21% .034 264.665);--tw-prose-lead:oklch(44.6% .03 256.802);--tw-prose-links:oklch(21% .034 264.665);--tw-prose-bold:oklch(21% .034 264.665);--tw-prose-counters:oklch(55.1% .027 264.364);--tw-prose-bullets:oklch(87.2% .01 258.338);--tw-prose-hr:oklch(92.8% .006 264.531);--tw-prose-quotes:oklch(21% .034 264.665);--tw-prose-quote-borders:oklch(92.8% .006 264.531);--tw-prose-captions:oklch(55.1% .027 264.364);--tw-prose-kbd:oklch(21% .034 264.665);--tw-prose-kbd-shadows:oklab(21% -.00316127 -.0338527/.1);--tw-prose-code:oklch(21% .034 264.665);--tw-prose-pre-code:oklch(92.8% .006 264.531);--tw-prose-pre-bg:oklch(27.8% .033 256.848);--tw-prose-th-borders:oklch(87.2% .01 258.338);--tw-prose-td-borders:oklch(92.8% .006 264.531);--tw-prose-invert-body:oklch(87.2% .01 258.338);--tw-prose-invert-headings:#fff;--tw-prose-invert-lead:oklch(70.7% .022 261.325);--tw-prose-invert-links:#fff;--tw-prose-invert-bold:#fff;--tw-prose-invert-counters:oklch(70.7% .022 261.325);--tw-prose-invert-bullets:oklch(44.6% .03 256.802);--tw-prose-invert-hr:oklch(37.3% .034 259.733);--tw-prose-invert-quotes:oklch(96.7% .003 264.542);--tw-prose-invert-quote-borders:oklch(37.3% .034 259.733);--tw-prose-invert-captions:oklch(70.7% .022 261.325);--tw-prose-invert-kbd:#fff;--tw-prose-invert-kbd-shadows:#ffffff1a;--tw-prose-invert-code:#fff;--tw-prose-invert-pre-code:oklch(87.2% .01 258.338);--tw-prose-invert-pre-bg:#00000080;--tw-prose-invert-th-borders:oklch(44.6% .03 256.802);--tw-prose-invert-td-borders:oklch(37.3% .034 259.733);font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.571429em;padding-inline-end:.571429em;padding-bottom:.571429em;padding-inline-start:.571429em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.block{display:block}.flex{display:flex}.hidden{display:none}.max-w-none{max-width:none}.border{border-style:var(--tw-border-style);border-width:1px}.capitalize{text-transform:capitalize}.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,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))}.prose-invert{--tw-prose-body:var(--tw-prose-invert-body);--tw-prose-headings:var(--tw-prose-invert-headings);--tw-prose-lead:var(--tw-prose-invert-lead);--tw-prose-links:var(--tw-prose-invert-links);--tw-prose-bold:var(--tw-prose-invert-bold);--tw-prose-counters:var(--tw-prose-invert-counters);--tw-prose-bullets:var(--tw-prose-invert-bullets);--tw-prose-hr:var(--tw-prose-invert-hr);--tw-prose-quotes:var(--tw-prose-invert-quotes);--tw-prose-quote-borders:var(--tw-prose-invert-quote-borders);--tw-prose-captions:var(--tw-prose-invert-captions);--tw-prose-kbd:var(--tw-prose-invert-kbd);--tw-prose-kbd-shadows:var(--tw-prose-invert-kbd-shadows);--tw-prose-code:var(--tw-prose-invert-code);--tw-prose-pre-code:var(--tw-prose-invert-pre-code);--tw-prose-pre-bg:var(--tw-prose-invert-pre-bg);--tw-prose-th-borders:var(--tw-prose-invert-th-borders);--tw-prose-td-borders:var(--tw-prose-invert-td-borders)}}:root{--lexi-primary:#6366f1;--lexi-primary-light:#818cf8;--lexi-primary-dark:#4f46e5;--lexi-accent:#f472b6;--lexi-bg-dark:#0f0f1a;--lexi-bg-light:#1a1a2e;--lexi-bg-card:#16213e;--lexi-text:#e2e8f0;--lexi-text-muted:#94a3b8;--lexi-success:#10b981;--lexi-warning:#f59e0b;--lexi-error:#ef4444;color:var(--lexi-text);background:var(--lexi-bg-dark);font-family:Inter,system-ui,-apple-system,sans-serif;font-weight:400;line-height:1.5}*{box-sizing:border-box;margin:0;padding:0}body{background:linear-gradient(135deg,var(--lexi-bg-dark) 0%,#1a1a3e 50%,var(--lexi-bg-dark) 100%);min-height:100vh}#root{flex-direction:column;min-height:100vh;display:flex}::-webkit-scrollbar{width:8px}::-webkit-scrollbar-track{background:var(--lexi-bg-dark)}::-webkit-scrollbar-thumb{background:var(--lexi-primary-dark);border-radius:4px}::-webkit-scrollbar-thumb:hover{background:var(--lexi-primary)}.app{flex-direction:column;max-width:1200px;min-height:100vh;margin:0 auto;padding:1rem;display:flex}.header{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#16213ecc;border:1px solid #6366f133;border-radius:16px;justify-content:space-between;align-items:center;margin-bottom:1rem;padding:1rem 1.5rem;display:flex}.header-title{align-items:center;gap:.75rem;display:flex}.header-title h1{background:linear-gradient(135deg,var(--lexi-primary-light) 0%,var(--lexi-accent) 100%);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;font-size:1.5rem;font-weight:600}.header-logo{font-size:2rem}.header-status{color:var(--lexi-text-muted);background:#6366f11a;border-radius:9999px;align-items:center;gap:.5rem;padding:.5rem 1rem;font-size:.875rem;display:flex}.status-dot{border-radius:50%;width:8px;height:8px;animation:2s infinite pulse}.status-dot.loading{background:var(--lexi-warning)}.status-dot.ready{background:var(--lexi-success)}.status-dot.offline{background:var(--lexi-text-muted)}@keyframes pulse{50%{opacity:.5}}.error-banner{color:var(--lexi-error);background:#ef444426;border:1px solid #ef44444d;border-radius:12px;margin-bottom:1rem;padding:1rem 1.5rem}.error-banner strong{margin-bottom:.5rem;display:block}.error-banner p{color:var(--lexi-text-muted);word-break:break-word;margin:0;font-size:.875rem}.status-dot.error{background:var(--lexi-error)}.auth-container{flex:1;justify-content:center;align-items:center;padding:1rem;display:flex}.auth-card{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);text-align:center;background:#16213ecc;border:1px solid #6366f133;border-radius:20px;width:100%;max-width:400px;padding:2.5rem}.auth-card h1{background:linear-gradient(135deg,var(--lexi-primary-light) 0%,var(--lexi-accent) 100%);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;margin-bottom:.5rem;font-size:1.5rem}.auth-card>p{color:var(--lexi-text-muted);margin-bottom:1.5rem}.auth-input{width:100%;color:var(--lexi-text);background:#6366f11a;border:1px solid #6366f14d;border-radius:12px;margin-bottom:1rem;padding:1rem;font-size:1rem}.auth-input:focus{border-color:var(--lexi-primary);outline:none}.auth-button{background:linear-gradient(135deg,var(--lexi-primary) 0%,var(--lexi-primary-dark) 100%);color:#fff;cursor:pointer;border:none;border-radius:12px;width:100%;padding:1rem;font-size:1rem;font-weight:600;transition:all .2s}.auth-button:hover{transform:scale(1.02);box-shadow:0 4px 20px #6366f166}.auth-note{color:var(--lexi-text-muted);margin-top:1.5rem;font-size:.75rem}.header-actions{align-items:center;gap:.75rem;display:flex}.icon-button{width:36px;height:36px;color:var(--lexi-text-muted);cursor:pointer;background:#6366f11a;border:1px solid #6366f133;border-radius:8px;justify-content:center;align-items:center;font-size:1rem;transition:all .2s;display:flex}.icon-button:hover{background:#6366f133}.icon-button.active{background:var(--lexi-primary);border-color:var(--lexi-primary);color:#fff}.logout-button{width:36px;height:36px;color:var(--lexi-error);cursor:pointer;background:#ef44441a;border:1px solid #ef444433;border-radius:8px;font-size:1rem;transition:all .2s}.logout-button:hover{background:#ef444433}.voice-button{width:44px;height:44px;color:var(--lexi-accent);cursor:pointer;background:#f472b626;border:1px solid #f472b64d;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;font-size:1.25rem;transition:all .2s;display:flex}.speak-button{cursor:pointer;opacity:0;background:#6366f133;border:none;border-radius:6px;width:28px;height:28px;font-size:.875rem;transition:all .2s;position:absolute;bottom:.5rem;right:.5rem}.message-content{position:relative}.message-content:hover .speak-button{opacity:1}.speak-button:hover{background:var(--lexi-primary)}.model-selector{background:#16213e99;border:1px solid #6366f11a;border-radius:12px;margin-bottom:1rem;padding:1rem 1.5rem}.model-selector h3{color:var(--lexi-text-muted);margin-bottom:.75rem;font-size:.875rem}.model-options{flex-wrap:wrap;gap:.75rem;display:flex}.model-option{color:var(--lexi-text);cursor:pointer;background:#6366f11a;border:1px solid #6366f133;border-radius:8px;padding:.75rem 1.25rem;font-size:.875rem;transition:all .2s}.model-option:hover{border-color:var(--lexi-primary);background:#6366f133}.model-option.active{background:var(--lexi-primary);border-color:var(--lexi-primary)}.model-option.loading{opacity:.7;pointer-events:none}.progress-container{margin-top:1rem}.progress-bar{background:#6366f133;border-radius:2px;height:4px;overflow:hidden}.progress-fill{background:linear-gradient(90deg,var(--lexi-primary) 0%,var(--lexi-accent) 100%);height:100%;transition:width .3s}.progress-text{color:var(--lexi-text-muted);margin-top:.5rem;font-size:.75rem}.chat-container{background:#16213e66;border:1px solid #6366f11a;border-radius:16px;flex-direction:column;flex:1;display:flex;overflow:hidden}.messages{flex-direction:column;flex:1;gap:1rem;padding:1.5rem;display:flex;overflow-y:auto}.message{gap:1rem;max-width:85%;animation:.3s fadeIn;display:flex}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.message.user{flex-direction:row-reverse;align-self:flex-end}.message.assistant{align-self:flex-start}.message-avatar{border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;font-size:1.25rem;display:flex}.message.user .message-avatar{background:linear-gradient(135deg,var(--lexi-primary) 0%,var(--lexi-primary-dark) 100%)}.message.assistant .message-avatar{background:linear-gradient(135deg,var(--lexi-accent) 0%,#ec4899 100%)}.message-content{border-radius:16px;padding:1rem 1.25rem;line-height:1.6}.message.user .message-content{background:var(--lexi-primary);border-bottom-right-radius:4px}.message.assistant .message-content{background:#6366f126;border-bottom-left-radius:4px}.message-content p{margin-bottom:.5rem}.message-content p:last-child{margin-bottom:0}.typing-indicator{gap:4px;padding:.5rem 0;display:flex}.typing-indicator span{background:var(--lexi-text-muted);border-radius:50%;width:8px;height:8px;animation:1.4s infinite bounce}.typing-indicator span:nth-child(2){animation-delay:.2s}.typing-indicator span:nth-child(3){animation-delay:.4s}@keyframes bounce{0%,to{animation-timing-function:cubic-bezier(.8,0,1,1);transform:translateY(-25%)}50%{animation-timing-function:cubic-bezier(0,0,.2,1);transform:none}}.input-area{background:#0f0f1acc;border-top:1px solid #6366f11a;padding:1rem 1.5rem}.input-container{align-items:flex-end;gap:.75rem;display:flex}.input-wrapper{flex:1;position:relative}.input-wrapper textarea{width:100%;color:var(--lexi-text);resize:none;background:#6366f11a;border:1px solid #6366f133;border-radius:12px;min-height:56px;max-height:200px;padding:1rem 1.25rem;font-family:inherit;font-size:1rem;line-height:1.5;transition:border-color .2s}.input-wrapper textarea:focus{border-color:var(--lexi-primary);outline:none}.input-wrapper textarea::-moz-placeholder{color:var(--lexi-text-muted)}.input-wrapper textarea::placeholder{color:var(--lexi-text-muted)}.input-wrapper textarea:disabled{opacity:.5;cursor:not-allowed}.send-button{background:linear-gradient(135deg,var(--lexi-primary) 0%,var(--lexi-primary-dark) 100%);color:#fff;cursor:pointer;border:none;border-radius:12px;justify-content:center;align-items:center;width:56px;height:56px;font-size:1.5rem;transition:all .2s;display:flex}.send-button:hover:not(:disabled){transform:scale(1.05);box-shadow:0 4px 20px #6366f166}.send-button:disabled{opacity:.5;cursor:not-allowed}.voice-button{width:56px;height:56px;color:var(--lexi-accent);cursor:pointer;background:#f472b633;border:1px solid #f472b64d;border-radius:12px;justify-content:center;align-items:center;font-size:1.5rem;transition:all .2s;display:flex}.voice-button:hover{background:#f472b64d}.voice-button.recording{background:var(--lexi-accent);color:#fff;animation:1s infinite pulse}.welcome{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;padding:2rem;display:flex}.welcome-icon{margin-bottom:1.5rem;font-size:4rem}.welcome h2{background:linear-gradient(135deg,var(--lexi-primary-light) 0%,var(--lexi-accent) 100%);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;margin-bottom:.75rem;font-size:1.75rem;font-weight:600}.welcome p{color:var(--lexi-text-muted);max-width:400px;margin-bottom:2rem}.quick-prompts{flex-wrap:wrap;justify-content:center;gap:.75rem;max-width:600px;display:flex}.quick-prompt{color:var(--lexi-text);cursor:pointer;background:#6366f11a;border:1px solid #6366f133;border-radius:9999px;padding:.75rem 1.25rem;font-size:.875rem;transition:all .2s}.quick-prompt:hover{border-color:var(--lexi-primary);background:#6366f133;transform:translateY(-2px)}@media(max-width:768px){html,body{width:100%;overflow-x:hidden}.app{max-width:100%;padding:.5rem;overflow-x:hidden}.header{border-radius:12px;flex-wrap:wrap;gap:.5rem;padding:.75rem 1rem}.header-title h1{font-size:1.1rem}.header-logo{font-size:1.5rem}.header-status{padding:.35rem .75rem;font-size:.75rem}.model-selector{padding:.75rem 1rem}.model-selector h3{font-size:.75rem}.model-options{grid-template-columns:1fr 1fr;gap:.5rem;display:grid}.model-option{text-align:center;white-space:normal;word-break:break-word;padding:.6rem .75rem;font-size:.75rem}.progress-text{word-break:break-all;font-size:.65rem}.chat-container{border-radius:12px;min-height:300px}.messages{padding:.75rem}.message{gap:.5rem;max-width:95%}.message-avatar{width:32px;height:32px;font-size:1rem}.message-content{padding:.75rem 1rem;font-size:.9rem}.input-area{padding:.5rem .75rem}.input-container{gap:.5rem}.input-wrapper textarea{min-height:44px;padding:.75rem 1rem;font-size:.9rem}.send-button{flex-shrink:0;width:44px;height:44px;font-size:1.25rem}.welcome{padding:1rem}.welcome-icon{margin-bottom:1rem;font-size:3rem}.welcome h2{font-size:1.25rem}.welcome p{margin-bottom:1.5rem;font-size:.875rem}.quick-prompts{gap:.5rem}.quick-prompt{padding:.5rem 1rem;font-size:.75rem}}@media(max-width:380px){.app{padding:.25rem}.header{padding:.5rem .75rem}.header-title h1{font-size:.95rem}.model-options{grid-template-columns:1fr}.message-avatar{display:none}.message{max-width:100%}.message-content{padding:.6rem .875rem;font-size:.85rem}}@supports (padding-top:env(safe-area-inset-top)){.app{padding-top:max(.5rem,env(safe-area-inset-top));padding-bottom:max(.5rem,env(safe-area-inset-bottom));padding-left:max(.5rem,env(safe-area-inset-left));padding-right:max(.5rem,env(safe-area-inset-right))}.input-area{padding-bottom:max(.5rem,env(safe-area-inset-bottom))}}.tab-bar{background:#16213e99;border:1px solid #6366f11a;border-radius:12px;gap:.5rem;margin-bottom:1rem;padding:.25rem;display:flex}.tab{color:var(--lexi-text-muted);cursor:pointer;background:0 0;border:none;border-radius:8px;flex:1;padding:.75rem 1rem;font-size:.9rem;font-weight:500;transition:all .2s;position:relative}.tab:hover{color:var(--lexi-text);background:#6366f11a}.tab.active{background:var(--lexi-primary);color:#fff}.tab-badge{background:var(--lexi-accent);color:#fff;border-radius:9999px;padding:.1rem .4rem;font-size:.65rem;font-weight:600;position:absolute;top:.25rem;right:.5rem}.validate-container{flex-direction:column;flex:1;gap:1rem;padding-bottom:1rem;display:flex;overflow-y:auto}.validate-header{text-align:center;padding:1rem}.validate-header h2{background:linear-gradient(135deg,var(--lexi-primary-light) 0%,var(--lexi-accent) 100%);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;margin-bottom:.5rem;font-size:1.5rem}.validate-header p{color:var(--lexi-text-muted);font-size:.9rem}.stats-grid{grid-template-columns:repeat(2,1fr);gap:.75rem;display:grid}.stat-card{text-align:center;background:#16213e99;border:1px solid #6366f133;border-radius:12px;padding:1rem}.stat-value{color:var(--lexi-primary-light);font-size:1.5rem;font-weight:700}.stat-label{color:var(--lexi-text-muted);margin-top:.25rem;font-size:.75rem}.wasm-status{text-align:center;border-radius:8px;padding:.75rem;font-size:.875rem}.wasm-ready{color:var(--lexi-success)}.wasm-loading{color:var(--lexi-warning)}.validation-tasks{background:#16213e66;border:1px solid #6366f11a;border-radius:12px;padding:1rem}.validation-tasks h3{color:var(--lexi-text);margin-bottom:.75rem;font-size:1rem}.no-tasks{color:var(--lexi-text-muted);text-align:center;padding:1rem;font-style:italic}.task-list{flex-direction:column;gap:.75rem;margin-bottom:1rem;display:flex}.task-card{background:#6366f11a;border:1px solid #6366f133;border-radius:8px;padding:.75rem 1rem}.task-citation{color:var(--lexi-text);margin-bottom:.25rem;font-size:.9rem}.task-meta{color:var(--lexi-text-muted);font-size:.75rem}.task-note{color:var(--lexi-accent);margin-top:.5rem;font-size:.75rem}.refresh-button{width:100%;color:var(--lexi-text);cursor:pointer;background:#6366f133;border:1px solid #6366f14d;border-radius:8px;padding:.75rem;font-size:.9rem;transition:all .2s}.refresh-button:hover:not(:disabled){background:#6366f14d}.refresh-button:disabled{opacity:.5;cursor:not-allowed}.validate-info{background:#16213e66;border:1px solid #6366f11a;border-radius:12px;padding:1rem}.validate-info h4{color:var(--lexi-text);margin-bottom:.5rem;font-size:.9rem}.validate-info ol{color:var(--lexi-text-muted);margin:0;padding-left:1.25rem;font-size:.8rem;line-height:1.6}.task-card{text-align:left;cursor:pointer;background:#6366f11a;border:1px solid #6366f133;border-radius:8px;width:100%;padding:.75rem 1rem;transition:all .2s}.task-card:hover:not(:disabled){background:#6366f133;border-color:#6366f166;transform:translateY(-1px)}.task-card:active:not(:disabled){transform:translateY(0)}.task-card:disabled{opacity:.6;cursor:not-allowed}.task-card.validating{background:#fbbf2426;border-color:#fbbf2466;animation:1.5s infinite pulse}.tasks-header{justify-content:space-between;align-items:center;margin-bottom:.75rem;display:flex}.tasks-header h3{margin:0;font-size:1rem}.refresh-btn{cursor:pointer;background:0 0;border:none;padding:.25rem;font-size:1.2rem}.refresh-btn:disabled{opacity:.5}.stat-card.highlight{background:#10b98126;border-color:#10b9814d}.stat-card.highlight .stat-value{color:var(--lexi-success)}.validation-log{background:#16213e66;border:1px solid #6366f11a;border-radius:12px;margin-top:1rem;padding:1rem}.validation-log h4{color:var(--lexi-text);margin:0 0 .75rem;font-size:.9rem}.log-entries{max-height:150px;font-family:SF Mono,Monaco,monospace;font-size:.75rem;overflow-y:auto}.log-entry{color:var(--lexi-text-muted);border-bottom:1px solid #6366f10d;padding:.25rem 0}.log-entry:last-child{border-bottom:none}.log-entry.muted{opacity:.6;font-style:italic}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}.login-overlay{position:fixed;inset:0;background:#000c;display:flex;justify-content:center;align-items:center;z-index:1000;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.login-modal{background:#1e1e1e;padding:2rem;border-radius:12px;width:90%;max-width:320px;text-align:center;border:1px solid rgba(255,255,255,.1);box-shadow:0 4px 20px #00000080}.login-modal h3{margin-bottom:1rem;color:#fff}.login-modal p{margin-bottom:1.5rem;color:#aaa;font-size:.9rem}.login-input{width:100%;padding:.75rem;margin-bottom:1rem;background:#ffffff0d;border:1px solid rgba(255,255,255,.1);border-radius:6px;color:#fff;font-size:1rem;box-sizing:border-box}.login-button{width:100%;padding:.75rem;background:#3a506b;color:#fff;border:none;border-radius:6px;font-size:1rem;cursor:pointer;transition:background .2s}.login-button:hover{background:#0b132b}.swarm-icon{margin-left:8px;margin-right:8px;cursor:help;filter:drop-shadow(0 0 5px rgba(255,215,0,.5));animation:float 3s ease-in-out infinite}@keyframes float{0%{transform:translateY(0)}50%{transform:translateY(-3px)}to{transform:translateY(0)}}.welcome-tutorial-overlay{position:fixed;inset:0;background:radial-gradient(circle at center,#111827,#000);display:flex;justify-content:center;align-items:center;z-index:2000;color:#e5e7eb}.welcome-tutorial-container{width:100%;max-width:600px;padding:2rem}.welcome-tutorial-card{background:#111827b3;border:1px solid rgba(59,130,246,.3);border-radius:16px;padding:3rem;text-align:center;box-shadow:0 0 40px #3b82f61a;animation:fadeIn .8s ease-out forwards}.welcome-tutorial-logo{font-size:4rem;margin-bottom:2rem;animation:pulseGlow 4s infinite alternate}.welcome-tutorial-step h2{font-size:2rem;margin-bottom:1.5rem;color:#fff;font-weight:300;letter-spacing:-.5px}.twinkling-text{background:linear-gradient(90deg,#fff,#93c5fd,#fff);background-size:200% auto;color:transparent;-webkit-background-clip:text;background-clip:text;animation:shine 3s linear infinite}.welcome-tutorial-step p{font-size:1.1rem;line-height:1.6;color:#9ca3af;margin-bottom:2rem}.welcome-tutorial-step strong{color:#60a5fa;font-weight:500}.tutorial-button{background:#2563eb;color:#fff;border:none;padding:1rem 2rem;font-size:1.1rem;border-radius:8px;cursor:pointer;transition:all .3s ease;width:100%;font-weight:500}.tutorial-button:hover{background:#3b82f6;transform:translateY(-2px);box-shadow:0 10px 20px #2563eb33}.tutorial-button.loading{background:#1e3a8a;cursor:wait;animation:pulseGlow 2s infinite}.identity-form input{background:#00000080;border:1px solid rgba(59,130,246,.4);color:#fff;padding:1.2rem;font-size:1.1rem;border-radius:8px;width:100%;margin-bottom:1.5rem;text-align:center;transition:border-color .3s ease}.identity-form input:focus{outline:none;border-color:#60a5fa;box-shadow:0 0 15px #60a5fa33}@keyframes fadeIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes shine{to{background-position:200% center}}@keyframes pulseGlow{0%{filter:drop-shadow(0 0 10px rgba(59,130,246,.2))}to{filter:drop-shadow(0 0 25px rgba(59,130,246,.6))}}.start-journey-container{max-width:800px;margin:0 auto;padding:2rem;color:var(--text-color)}.start-journey-header h2{font-size:2.5rem;font-weight:300;margin-bottom:.5rem}.start-journey-header p{color:#9ca3af;font-size:1.1rem;margin-bottom:2.5rem}.form-group{margin-bottom:2rem}.form-group label{display:block;font-size:.9rem;color:#9ca3af;margin-bottom:.5rem;text-transform:uppercase;letter-spacing:1px}.form-group input,.form-group textarea{width:100%;background:var(--card-bg);border:1px solid var(--border-color);border-radius:8px;padding:1rem;color:#fff;font-size:1.1rem;font-family:inherit;transition:border-color .2s}.form-group input:focus,.form-group textarea:focus{outline:none;border-color:#60a5fa}.form-group textarea{resize:none;line-height:1.5}.journey-submit-btn{background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;border:none;padding:1.2rem 2rem;font-size:1.2rem;font-weight:500;border-radius:8px;cursor:pointer;width:100%;transition:transform .2s,box-shadow .2s}.journey-submit-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 10px 25px #2563eb4d}.journey-submit-btn:disabled{opacity:.7;cursor:not-allowed}.journey-submit-btn.pulsing{animation:pulseButton 2s infinite}@keyframes pulseButton{0%{box-shadow:0 0 #2563eb66}70%{box-shadow:0 0 0 15px #2563eb00}to{box-shadow:0 0 #2563eb00}}.journey-terminal{margin-top:3rem;background:#000;border:1px solid #333;border-radius:8px;overflow:hidden;font-family:JetBrains Mono,Fira Code,monospace}.terminal-header{background:#111;padding:.75rem 1rem;font-size:.8rem;color:#666;border-bottom:1px solid #333;text-transform:uppercase;letter-spacing:1px}.terminal-body{padding:1.5rem;min-height:150px}.terminal-line{color:#10b981;font-size:.95rem;line-height:1.6;margin-bottom:.5rem;animation:typeLine .1s ease-out forwards}@keyframes typeLine{0%{opacity:0;transform:translate(-10px)}to{opacity:1;transform:translate(0)}}
