/*! tailwindcss v4.1.11 | 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}}}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.mx-auto{margin-inline:auto}.flex{display:flex}.grid{display:grid}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.h-full{height:100%}.h-screen{height:100vh}.min-h-screen{min-height:100vh}.w-full{width:100%}.max-w-\[85\%\]{max-width:85%}.flex-1{flex:1}.flex-shrink-0{flex-shrink:0}.scale-\[1\.02\]{scale:1.02}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.resize-none{resize:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded-full{border-radius:3.40282e38px}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-3{border-style:var(--tw-border-style);border-width:3px}.border-4{border-style:var(--tw-border-style);border-width:4px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-t-transparent{border-top-color:#0000}.bg-transparent{background-color:#0000}.bg-gradient-to-br{--tw-gradient-position:to bottom right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.break-words{overflow-wrap:break-word}.whitespace-pre-wrap{white-space:pre-wrap}.uppercase{text-transform:uppercase}.opacity-30{opacity:.3}.opacity-75{opacity:.75}.opacity-80{opacity:.8}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.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,ease);transition-duration:var(--tw-duration,0s)}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.outline-none{--tw-outline-style:none;outline-style:none}@media (hover:hover){.hover\:scale-\[1\.01\]:hover{scale:1.01}.hover\:transform:hover{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.hover\:opacity-90:hover{opacity:.9}}@layer base{:root{--tg-theme-bg-color:#fff;--tg-theme-text-color:#000;--tg-theme-hint-color:#666;--tg-theme-link-color:#007aff;--tg-theme-button-color:#007aff;--tg-theme-button-text-color:#fff;--tg-theme-secondary-bg-color:#f8f9fa;--tg-theme-section-bg-color:#fff;--tg-theme-section-separator-color:#e0e0e0;--tg-theme-accent-text-color:#007aff;--tg-theme-destructive-text-color:#ff3b30;--tg-theme-subtitle-text-color:#8e8e93;--tg-theme-header-bg-color:#f8f9fa;--tg-theme-bottom-bar-bg-color:#f8f9fa}*{box-sizing:border-box}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;min-height:100vh;margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;background-color:var(--tg-theme-bg-color)!important;color:var(--tg-theme-text-color)!important}#root{width:100%;min-height:100vh}.bg-tg-theme-bg{background-color:var(--tg-theme-bg-color)!important}.bg-tg-theme-secondary-bg{background-color:var(--tg-theme-secondary-bg-color)!important}.bg-tg-theme-button{background-color:var(--tg-theme-button-color)!important}.text-tg-theme-text{color:var(--tg-theme-text-color)!important}.text-tg-theme-hint{color:var(--tg-theme-hint-color)!important}.text-tg-theme-link{color:var(--tg-theme-link-color)!important}.text-tg-theme-button-text{color:var(--tg-theme-button-text-color)!important}.flex{display:flex}.flex-col{flex-direction:column}.h-screen{height:100vh}.sticky{position:sticky}.top-0{top:0}.z-50{z-index:50}.border-b{border-bottom:1px solid #0000001a}.px-5{padding-left:1.25rem;padding-right:1.25rem}.py-4{padding-top:1rem;padding-bottom:1rem}.px-2{padding-left:.5rem;padding-right:.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.text-center{text-align:center}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.gap-1{gap:.25rem}.flex-1{flex:1}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.h-full{height:100%}.min-h-screen{min-height:100vh}.p-4{padding:1rem}.items-center{align-items:center}.justify-center{justify-content:center}.max-w-4xl{max-width:56rem}.mx-auto{margin-left:auto;margin-right:auto}.rounded-lg{border-radius:.5rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mt-1{margin-top:.25rem}button{background-color:var(--tg-theme-button-color)!important;color:var(--tg-theme-button-text-color)!important;cursor:pointer!important;border:none!important;border-radius:.5rem!important;padding:.75rem 1.5rem!important;font-weight:500!important;transition:all .2s!important}button:hover{opacity:.9!important;transform:scale(.98)!important}nav button{color:var(--tg-theme-hint-color)!important;background-color:#0000!important;border-radius:.5rem!important;padding:.875rem .75rem!important;font-size:.75rem!important;font-weight:500!important}nav button[aria-selected=true]{color:var(--tg-theme-link-color)!important;background-color:#007aff1a!important;font-weight:600!important}nav button:hover{background-color:#0000000d!important}nav button[aria-selected=true]:hover{background-color:#007aff26!important}header{background-color:var(--tg-theme-secondary-bg-color)!important;border-bottom:1px solid var(--tg-theme-section-separator-color)!important;-webkit-backdrop-filter:blur(10px)!important;backdrop-filter:blur(10px)!important}h1{color:var(--tg-theme-text-color)!important;margin:0!important;font-size:1.25rem!important;font-weight:700!important}.loading-spinner{border:3px solid var(--tg-theme-hint-color)!important;border-top:3px solid var(--tg-theme-button-color)!important;border-radius:50%!important;width:2rem!important;height:2rem!important;animation:1s linear infinite spin!important}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}input[type=text]{color:var(--tg-theme-text-color)!important;background-color:#0000!important;border:none!important;outline:none!important;font-size:.875rem!important}input[type=text]::placeholder{color:var(--tg-theme-hint-color)!important}.border-black\/5,.border-black{border-color:var(--tg-theme-section-separator-color)!important}.border-t{border-top:1px solid var(--tg-theme-section-separator-color)!important}.border{border:1px solid var(--tg-theme-section-separator-color)!important}.rounded-2xl{border-radius:1rem!important}.rounded-xl{border-radius:.75rem!important}.rounded-br-md{border-bottom-right-radius:.375rem!important}.rounded-bl-md{border-bottom-left-radius:.375rem!important}button:disabled{background-color:var(--tg-theme-hint-color)!important;color:var(--tg-theme-secondary-bg-color)!important;opacity:.5!important;cursor:not-allowed!important}.bg-gradient-to-r{background:linear-gradient(to right,var(--tg-theme-button-color),#06c)!important}.shadow-sm{box-shadow:0 1px 2px #0000000d!important}.shadow-md{box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f!important}.shadow-lg{box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d!important}.message-bubble{word-wrap:break-word;overflow-wrap:break-word;transition:all .15s;position:relative;margin:0!important}.message-bubble:hover{transform:translateY(-1px)}.message-content{position:relative;overflow:hidden}.user-message{background:linear-gradient(135deg,var(--tg-theme-button-color),#06c)!important;color:var(--tg-theme-button-text-color)!important;border:none!important;border-radius:1.125rem 1.125rem .25rem!important;box-shadow:0 3px 8px #007aff40!important}.user-message:hover{box-shadow:0 5px 15px #007aff59!important}.assistant-message{background:var(--tg-theme-secondary-bg-color)!important;color:var(--tg-theme-text-color)!important;border:1px solid var(--tg-theme-section-separator-color)!important;border-radius:1.125rem 1.125rem 1.125rem .25rem!important;box-shadow:0 2px 6px #0000000f!important}.assistant-message:hover{box-shadow:0 4px 12px #0000001a!important}.message-text{color:inherit!important;margin:0!important;padding:.75rem 1rem .25rem!important;font-size:.875rem!important;line-height:1.5!important}.message-timestamp{opacity:.65!important;margin:0!important;padding:0 1rem .5rem!important;font-size:.65rem!important;font-weight:400!important}.user-message .message-timestamp{color:#ffffffbf!important}.assistant-message .message-timestamp{color:var(--tg-theme-hint-color)!important}.loading-bubble{position:relative;overflow:hidden;background:var(--tg-theme-secondary-bg-color)!important;border:1px solid var(--tg-theme-section-separator-color)!important;border-radius:1.125rem 1.125rem 1.125rem .25rem!important;padding:.875rem 1.125rem!important;box-shadow:0 2px 6px #0000000f!important}.loading-bubble:before{content:"";background:linear-gradient(90deg,#0000,#ffffff4d,#0000);width:100%;height:100%;animation:2s infinite shimmer;position:absolute;top:0;left:-100%}@keyframes shimmer{0%{left:-100%}to{left:100%}}.typing-dot{animation:1.4s ease-in-out infinite typing-bounce;display:inline-block;background-color:var(--tg-theme-hint-color)!important;border-radius:50%!important;width:.375rem!important;height:.375rem!important}.typing-dot:first-child{animation-delay:-.32s}.typing-dot:nth-child(2){animation-delay:-.16s}.typing-dot:nth-child(3){animation-delay:0s}@keyframes typing-bounce{0%,80%,to{opacity:.4;transform:scale(.8)}40%{opacity:1;transform:scale(1.1)}}.input-container{border:1px solid var(--tg-theme-section-separator-color)!important;background:var(--tg-theme-bg-color)!important}.input-container:focus-within{border-color:var(--tg-theme-button-color)!important;box-shadow:0 0 0 3px #007aff1a!important}.send-button{background:var(--tg-theme-button-color)!important;color:var(--tg-theme-button-text-color)!important;border:none!important;min-width:4rem!important;font-weight:500!important}.send-button:hover:not(:disabled){background:#0056b3!important;transform:translateY(-1px)!important;box-shadow:0 3px 8px #007aff4d!important}.send-button:disabled{background:var(--tg-theme-hint-color)!important;color:var(--tg-theme-secondary-bg-color)!important;opacity:.6!important;cursor:not-allowed!important;transform:none!important}.save-button{background:linear-gradient(135deg,var(--tg-theme-button-color),#06c)!important;color:var(--tg-theme-button-text-color)!important;border:none!important;font-weight:600!important;box-shadow:0 4px 12px #007aff40!important}.save-button:hover:not(:disabled){background:linear-gradient(135deg,#0056b3,#049)!important;transform:translateY(-2px)!important;box-shadow:0 6px 16px #007aff59!important}.save-button:disabled{background:var(--tg-theme-hint-color)!important;color:var(--tg-theme-secondary-bg-color)!important;opacity:.7!important;cursor:not-allowed!important;box-shadow:none!important;transform:none!important}.app-header{background:var(--tg-theme-secondary-bg-color)!important;border-bottom:1px solid var(--tg-theme-section-separator-color)!important;-webkit-backdrop-filter:blur(12px)!important}.tab-navigation{background:var(--tg-theme-secondary-bg-color)!important;border-bottom:1px solid var(--tg-theme-section-separator-color)!important}.tab-button{cursor:pointer!important;background:0 0!important;border:none!important;border-radius:.5rem!important;flex-direction:column!important;flex:1!important;align-items:center!important;gap:.25rem!important;padding:.75rem .5rem!important;font-size:.75rem!important;font-weight:500!important;transition:all .2s!important;display:flex!important}.tab-icon{font-size:1.1rem!important}.tab-label{font-size:.7rem!important;line-height:1!important}.tab-active{color:var(--tg-theme-button-color)!important;background:#007aff14!important;font-weight:600!important}.tab-active .tab-icon{transform:scale(1.1)!important}.tab-inactive{color:var(--tg-theme-hint-color)!important}.tab-inactive:hover{color:var(--tg-theme-text-color)!important;background:#00000008!important}.welcome-container{text-align:center!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;height:100%!important;padding:2rem 1.5rem!important;display:flex!important}.welcome-emoji{margin-bottom:1rem!important;font-size:4rem!important;animation:3s ease-in-out infinite float!important}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.welcome-title{color:var(--tg-theme-text-color)!important;margin-bottom:.5rem!important;font-size:1.25rem!important;font-weight:600!important}.welcome-subtitle{color:var(--tg-theme-hint-color)!important;opacity:.8!important;font-size:.875rem!important}::-webkit-scrollbar{width:4px!important}::-webkit-scrollbar-track{background:0 0!important}::-webkit-scrollbar-thumb{background:var(--tg-theme-hint-color)!important;opacity:.3!important;border-radius:2px!important}::-webkit-scrollbar-thumb:hover{background:var(--tg-theme-button-color)!important;opacity:.5!important}@media (max-width:640px){.message-text{padding:.625rem .875rem .25rem!important;font-size:.8rem!important}.message-timestamp{padding:0 .875rem .5rem!important;font-size:.6rem!important}.input-container{padding:.625rem!important}.send-button{min-width:3.5rem!important;padding:.625rem .875rem!important}.tab-button{padding:.625rem .375rem!important}.tab-icon{font-size:1rem!important}.tab-label{font-size:.65rem!important}.welcome-emoji{font-size:3rem!important}.welcome-title{font-size:1.125rem!important}.welcome-subtitle{font-size:.8rem!important}}.error-container{background:#f8f9fa!important;border:1px solid #dee2e6!important;border-radius:.5rem!important;padding:1.5rem!important}.error-title{color:#dc3545!important;margin-bottom:1rem!important;font-size:1.25rem!important;font-weight:700!important}.error-content{white-space:pre-wrap!important;background:#f8f9fa!important;border-left:4px solid #dc3545!important;border-radius:.25rem!important;margin-bottom:1.5rem!important;padding:1rem!important;font-family:monospace!important;font-size:.875rem!important}}@layer utilities{@keyframes fade-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.animate-fade-in{animation:.3s ease-out fade-in}}@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}
