:root{--font-family:Arial,sans-serif;--font-family-monospace:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--text-xs:0.65rem;--text-sm:0.75rem;--text-md:0.875rem;--text-base:1rem;--radius-sm:4px;--radius-md:8px;--radius-lg:12px;--color-primary:#2A2859;--color-secondary:#5D5A9E;--color-muted:#7F7E9B;--color-muted-brighter:#55537A;--color-muted-dimmer:#AAA9BD;--color-text:#000000;--color-surface:#FFFFFF;--color-primary-hover:rgba(42,40,89,0.85);--color-primary-subtle:rgba(42,40,89,0.08);--color-primary-border:rgba(42,40,89,0.25);--color-secondary-subtle:rgba(93,90,158,0.18);--color-muted-light:#dfdeec;--color-surface-hover:#f8f9fa;--color-surface-subtle:#f0f0f0;--color-border:#d1d5db;--color-border-hover:#9ca3af;--color-divider:#e5e7eb;--color-label:#6b7280;--color-input-text:#374151;--color-track:#dddddd;--color-tooltip-bg:rgba(0,0,0,0.78);--color-warning-bg:#e9d9b1;--color-warning-text:#c9a03d;--color-notification-bg:#abcbc1;--color-notification-text:#2e7d64;--color-error-bg:#e1b5b2;--color-error-text:#b4473e;--color-plot-1:#5D5A9E;--color-plot-2:#E15759;--color-plot-3:#F28E2B;--color-plot-4:#DAA520;--color-plot-5:#59A14F;--color-plot-6:#76B7B2;--color-plot-7:#4E79A7;--color-plot-8:#B07AA1;--color-plot-9:#FF9DA7;--color-plot-10:#8C564B;--color-plot-11:#C55026;--color-plot-12:#D68466;--color-plot-13:#C58526;--color-plot-14:#D6A966;--color-plot-15:#C5BA26;--color-plot-16:#D6CF66;--color-plot-17:#A5C526;--color-plot-18:#C0D666;--color-plot-19:#7BC526;--color-plot-20:#A2D666;--color-plot-21:#5BC526;--color-plot-22:#8BD666;--color-plot-23:#26C53B;--color-plot-24:#66D675;--color-plot-25:#26C570;--color-plot-26:#66D69A;--color-plot-27:#26C59B;--color-plot-28:#66D6B8;--color-plot-29:#26BAC5;--color-plot-30:#66CFD6;--color-plot-31:#269BC5;--color-plot-32:#66B8D6;--color-plot-33:#2650C5;--color-plot-34:#6684D6;--color-plot-35:#2630C5;--color-plot-36:#666DD6;--color-plot-37:#4526C5;--color-plot-38:#7C66D6;--color-plot-39:#7026C5;--color-plot-40:#9A66D6;--color-plot-41:#9B26C5;--color-plot-42:#B866D6;--color-plot-43:#C526C5;--color-plot-44:#D666D6;--color-plot-45:#C5269B;--color-plot-46:#D666B8;--color-plot-47:#C52670;--color-plot-48:#D6669A;--color-plot-49:#C52645;--color-plot-50:#D6667C}body,html{margin:0;padding:0}#__next{height:100%}.authContainer{min-height:100vh;justify-content:center;align-items:center;background-color:var(--color-primary)}.authCard,.authContainer{display:flex;padding:1.5rem;box-sizing:border-box}.authCard{background-color:var(--color-surface);box-shadow:0 8px 32px rgba(0,0,0,.2);width:100%;max-width:320px;flex-direction:column;gap:1rem;border-radius:var(--radius-md)}.authCardWide{max-width:360px}.authTitle{font-size:var(--text-base);font-weight:700;color:var(--color-primary);text-transform:uppercase;letter-spacing:.04em;text-align:center}.authHint,.authTitle{margin:0;font-family:var(--font-family)}.authHint{font-size:var(--text-sm);color:var(--color-muted);line-height:1.4}.authForm{display:flex;flex-direction:column;gap:.75rem}.authSubmit{width:100%;margin-top:.25rem}.authError{margin:0;font-family:var(--font-family);font-size:var(--text-sm);color:var(--color-error-text);text-align:center;line-height:1.4}.authLogo{align-self:center;margin-top:.25rem}.authLogo img{width:auto;max-height:40px}.contentWithSidebar{padding:0;display:flex;flex-direction:column;height:100vh;box-sizing:border-box;overflow:hidden}.contentWithSidebar.navOpen{margin-left:calc(50px + var(--nav-width))}.notFoundWrapper{position:relative;width:100vw;height:100vh;overflow:hidden;display:flex;align-items:center;justify-content:center}.notFoundBackground{position:absolute;inset:0;z-index:0}.notFoundContent{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2rem}.notFoundMainImage{position:relative;width:50vw;max-width:640px;aspect-ratio:4/3}.notFoundText{margin:0;font-size:1.5rem;font-style:italic;color:rgba(210,150,255,.95);text-shadow:0 0 12px rgba(140,60,200,.7);letter-spacing:.04em;text-align:center}@media (max-width:768px){.notFoundMainImage{width:72vw}}@media (max-width:480px){.notFoundMainImage{width:92vw}}.Chat_floatingButton__Ihfgh{position:fixed;top:20px;right:20px;width:48px;height:48px;border-radius:50%;background:white;border:2px dashed #ff6b35;color:white;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 8px rgba(0,0,0,.1);transition:all .3s ease;z-index:1000;padding:8px;opacity:.22}.Chat_floatingButton__Ihfgh:hover{transform:scale(1.08);border-color:#5e35b1;box-shadow:0 4px 12px rgba(94,53,177,.3);opacity:1}.Chat_floatingButton__Ihfgh:active{transform:scale(.95)}.Chat_flagIcon__p5Vl9{width:100%;height:100%;object-fit:contain}.Chat_chatPanel__pUbU6{position:fixed;top:0;right:0;width:380px;height:100vh;background:white;box-shadow:-2px 0 12px rgba(0,0,0,.1);display:flex;flex-direction:column;z-index:999;animation:Chat_slideIn__D0Hhl .3s ease-out}.Chat_resizing__2fRpN{-webkit-user-select:none;-moz-user-select:none;user-select:none}.Chat_resizeHandleLeft__iSoGK{position:absolute;left:0;top:0;bottom:0;width:10px;cursor:ew-resize;z-index:1002;touch-action:none;opacity:.75;background:linear-gradient(90deg,rgba(255,255,255,0),rgba(17,24,39,.08) 40%,rgba(17,24,39,.12) 50%,rgba(17,24,39,.08) 60%,rgba(255,255,255,0))}.Chat_resizeHandleLeft__iSoGK:hover{opacity:1}@keyframes Chat_slideIn__D0Hhl{0%{transform:translateX(100%)}to{transform:translateX(0)}}.Chat_chatHeader__yfUJx{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:linear-gradient(135deg,#5e35b1,#ff6b35);color:white}.Chat_headerContent__PaaB8{display:flex;align-items:center;gap:8px}.Chat_headerActions__BJHzv{display:flex;align-items:center;gap:10px}.Chat_brainToggle__veynw{width:32px;height:32px;border-radius:10px;border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.16);color:#111827;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.Chat_brainToggle__veynw:hover{background:rgba(255,255,255,.22)}.Chat_brainToggle__veynw:active{transform:scale(.95)}.Chat_brainToggleActive__ObxY5{background:rgba(255,255,255,.28);box-shadow:0 0 0 3px rgba(255,255,255,.18)}.Chat_headerContent__PaaB8 h3{margin:0;font-size:16px;font-weight:600}.Chat_statusIndicator__NOxvV{width:10px;height:10px;border-radius:50%;background:#4ade80;box-shadow:0 0 8px rgba(74,222,128,.6);animation:Chat_pulse__djGJ5 2s infinite}@keyframes Chat_pulse__djGJ5{0%,to{opacity:1}50%{opacity:.5}}.Chat_closeButton__gArZh{background:rgba(255,255,255,.2);border:none;color:white;width:32px;height:32px;border-radius:8px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.Chat_closeButton__gArZh:hover{background:rgba(255,255,255,.3)}.Chat_closeButton__gArZh:active{transform:scale(.95)}.Chat_messagesContainer__pcoE0{flex:1 1;overflow-y:auto;padding:20px;display:flex;flex-direction:column;gap:16px;background:#f9fafb}.Chat_messagesContainer__pcoE0::-webkit-scrollbar{width:6px}.Chat_messagesContainer__pcoE0::-webkit-scrollbar-track{background:transparent}.Chat_messagesContainer__pcoE0::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:3px}.Chat_messagesContainer__pcoE0::-webkit-scrollbar-thumb:hover{background:#9ca3af}.Chat_message__fuQgP{display:flex;animation:Chat_fadeIn__UpqYq .3s ease-out}@keyframes Chat_fadeIn__UpqYq{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.Chat_userMessage__ggvDy{justify-content:flex-end}.Chat_botMessage__phGlo{justify-content:flex-start}.Chat_messageContent__GCKBq{max-width:75%;padding:12px 16px;border-radius:12px;display:flex;flex-direction:column;gap:4px}.Chat_userMessage__ggvDy .Chat_messageContent__GCKBq{background:linear-gradient(135deg,#5e35b1,#ff6b35);color:white;border-bottom-right-radius:4px}.Chat_botMessage__phGlo .Chat_messageContent__GCKBq{background:white;color:#1f2937;border-bottom-left-radius:4px;box-shadow:0 1px 3px rgba(0,0,0,.1)}.Chat_messageContent__GCKBq p{margin:0;font-size:14px;line-height:1.5;word-wrap:break-word}.Chat_messageContent__GCKBq h1,.Chat_messageContent__GCKBq h2,.Chat_messageContent__GCKBq h3,.Chat_messageContent__GCKBq h4{margin:6px 0 4px;line-height:1.25}.Chat_messageContent__GCKBq ol,.Chat_messageContent__GCKBq ul{margin:6px 0 6px 18px;padding:0}.Chat_messageContent__GCKBq li{margin:2px 0}.Chat_messageContent__GCKBq code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:12px;padding:2px 6px;border-radius:6px;background:rgba(17,24,39,.08)}.Chat_userMessage__ggvDy .Chat_messageContent__GCKBq code{background:rgba(255,255,255,.18)}.Chat_messageContent__GCKBq pre{margin:6px 0;padding:10px 12px;border-radius:10px;overflow-x:auto;background:rgba(17,24,39,.08)}.Chat_userMessage__ggvDy .Chat_messageContent__GCKBq pre{background:rgba(255,255,255,.18)}.Chat_messageContent__GCKBq pre code{padding:0;background:transparent}.Chat_messageContent__GCKBq table{margin:8px 0;border-collapse:collapse;font-size:12px;display:block;overflow-x:auto;max-width:100%}.Chat_messageContent__GCKBq td,.Chat_messageContent__GCKBq th{border:1px solid rgba(0,0,0,.12);padding:6px 8px;white-space:nowrap}.Chat_messageContent__GCKBq th{font-weight:600;background:rgba(0,0,0,.04)}.Chat_userMessage__ggvDy .Chat_messageContent__GCKBq td,.Chat_userMessage__ggvDy .Chat_messageContent__GCKBq th{border-color:rgba(255,255,255,.35)}.Chat_userMessage__ggvDy .Chat_messageContent__GCKBq th{background:rgba(255,255,255,.12)}.Chat_messageContent__GCKBq hr{border:none;border-top:1px solid rgba(0,0,0,.12);margin:8px 0}.Chat_userMessage__ggvDy .Chat_messageContent__GCKBq hr{border-top-color:rgba(255,255,255,.35)}.Chat_timestamp__stuEn{font-size:11px;opacity:.7;align-self:flex-end}.Chat_typingIndicator__DJp8M{display:flex;gap:4px;padding:4px 0}.Chat_typingIndicator__DJp8M span{width:8px;height:8px;border-radius:50%;background:#9ca3af;animation:Chat_typing__iRz7M 1.4s infinite}.Chat_typingIndicator__DJp8M span:nth-child(2){animation-delay:.2s}.Chat_typingIndicator__DJp8M span:nth-child(3){animation-delay:.4s}@keyframes Chat_typing__iRz7M{0%,60%,to{opacity:.3;transform:translateY(0)}30%{opacity:1;transform:translateY(-8px)}}.Chat_inputContainer__MBMqp{display:flex;gap:8px;padding:16px 20px;background:white;border-top:1px solid #e5e7eb;align-items:flex-end}.Chat_input__Bnzm1{flex:1 1;padding:12px 16px;border:1px solid #e5e7eb;border-radius:24px;font-size:14px;line-height:20px;outline:none;transition:all .2s ease;resize:none;box-sizing:border-box;min-height:44px;max-height:120px;overflow-y:hidden;white-space:pre-wrap}.Chat_input__Bnzm1:focus{border-color:#5e35b1;box-shadow:0 0 0 3px rgba(94,53,177,.1)}.Chat_input__Bnzm1::placeholder{color:#9ca3af}.Chat_sendButton__2s_Q0{background:linear-gradient(135deg,#5e35b1,#ff6b35)}.Chat_sendButton__2s_Q0,.Chat_stopButton__eCjme{width:44px;height:44px;border-radius:50%;border:none;color:white;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;flex-shrink:0}.Chat_stopButton__eCjme{background:linear-gradient(135deg,#ef4444,#fb7185)}.Chat_stopButton__eCjme:hover{transform:scale(1.05);box-shadow:0 4px 8px rgba(239,68,68,.25)}.Chat_stopButton__eCjme:active{transform:scale(.95)}.Chat_micButton__kXfu4{width:44px;height:44px;border-radius:50%;background:#ffffff;border:1px solid #e5e7eb;color:#5e35b1;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;flex-shrink:0}.Chat_micButton__kXfu4:hover:not(:disabled){transform:scale(1.05);box-shadow:0 4px 8px rgba(94,53,177,.18)}.Chat_micButton__kXfu4:active:not(:disabled){transform:scale(.95)}.Chat_micButton__kXfu4:disabled{opacity:.4;cursor:not-allowed}.Chat_micButtonActive__59xXR{background:linear-gradient(135deg,#ef4444,#fb7185);border-color:transparent;color:white;box-shadow:0 0 0 3px rgba(239,68,68,.18)}.Chat_sendButton__2s_Q0:hover:not(:disabled){transform:scale(1.05);box-shadow:0 4px 8px rgba(94,53,177,.3)}.Chat_sendButton__2s_Q0:active:not(:disabled){transform:scale(.95)}.Chat_sendButton__2s_Q0:disabled{opacity:.5;cursor:not-allowed}@media (max-width:768px){.Chat_chatPanel__pUbU6{width:100%}.Chat_resizeHandleLeft__iSoGK{display:none}.Chat_floatingButton__Ihfgh{width:44px;height:44px;bottom:20px;top:auto}}