.home-page{min-height:100vh;background-color:#343541;color:#ececf1;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;display:flex;align-items:center;justify-content:center;padding:24px}.home-container{max-width:480px;width:100%;text-align:center}.home-title{font-size:28px;font-weight:600;margin:0 0 8px;color:#ececf1}.home-subtitle{font-size:16px;color:#8e8ea0;margin:0 0 40px}.home-buttons{display:flex;flex-direction:column;gap:16px}.home-button{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;padding:18px 24px;border:none;border-radius:12px;font-size:18px;font-weight:500;cursor:pointer;transition:background-color .2s,transform .15s;color:#ececf1;box-shadow:0 2px 8px #0003}.home-button:hover{transform:scale(1.02)}.home-button:active{transform:scale(.98)}.home-button-assessment{background-color:#10a37f}.home-button-assessment:hover{background-color:#0d8f6e}.home-button-translator{background-color:#40414f;border:1px solid #565869}.home-button-translator:hover{background-color:#4b5563}.home-button-translate-text{background-color:#40414f;border:1px solid #565869}.home-button-translate-text:hover{background-color:#4b5563}.home-button-dubbed-file{background-color:#40414f;border:1px solid #565869}.home-button-dubbed-file:hover{background-color:#4b5563}.home-button-icon{font-size:24px}.home-button-label{white-space:nowrap}.home-ui-language{margin-top:32px;display:flex;align-items:center;justify-content:center;gap:10px}.home-ui-language-label{font-size:14px;color:#8e8ea0}.home-ui-language-select{background-color:#40414f;color:#ececf1;border:1px solid #565869;border-radius:6px;padding:8px 12px;font-size:14px;cursor:pointer;min-width:100px}.home-ui-language-select:hover{background-color:#565869}.home-ui-language-select:focus{outline:none;border-color:#8e8ea0}.sidebar{width:250px;height:100vh;background-color:#202123;border-right:1px solid #444654;display:flex;flex-direction:column;padding:20px;box-sizing:border-box}.sidebar-header{margin-bottom:30px}.sidebar-header h2{color:#ececf1;font-size:18px;font-weight:600;margin:0}.sidebar-buttons{display:flex;flex-direction:column;gap:10px}.sidebar-button{width:100%;padding:12px 16px;background-color:transparent;border:1px solid #565869;border-radius:8px;color:#ececf1;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s;text-align:left}.sidebar-button:hover{background-color:#343541;border-color:#8e8ea0}.sidebar-button.active{background-color:#343541;border-color:#10a37f;color:#10a37f}.chat-page{display:flex;height:100vh;background-color:#343541;color:#ececf1;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}.chat-container{flex:1;display:flex;flex-direction:column;overflow:hidden}.chat-header{background-color:#202123;border-bottom:1px solid #444654;padding:16px 24px}.chat-header-content{display:flex;justify-content:space-between;align-items:center;max-width:1200px;margin:0 auto;gap:16px}.nav-back-btn{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border:1px solid #565869;border-radius:8px;background-color:transparent;color:#ececf1;cursor:pointer;transition:background-color .2s,border-color .2s;flex-shrink:0}.nav-back-btn:hover{background-color:#40414f;border-color:#8e8ea0}.nav-back-btn svg{width:20px;height:20px}.chat-header h1{margin:0;font-size:20px;font-weight:600;color:#ececf1}.header-actions{display:flex;align-items:center;gap:20px}.language-selector{display:flex;align-items:center;gap:10px}.profile-dropdown-wrapper{position:relative;padding-left:20px;border-left:1px solid #444654}.ui-language-selector{display:flex;align-items:center;padding-left:20px;border-left:1px solid #444654}.ui-language-dropdown{background-color:#40414f;color:#ececf1;border:1px solid #565869;border-radius:6px;padding:6px 10px;font-size:14px;cursor:pointer;min-width:100px}.ui-language-dropdown:hover{background-color:#565869}.ui-language-dropdown:focus{outline:none;border-color:#8e8ea0}.profile-icon-button{display:flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;background:transparent;border:none;border-radius:8px;color:#8e8ea0;cursor:pointer;transition:color .2s,background-color .2s}.profile-icon-button:hover,.profile-icon-button[aria-expanded=true]{color:#ececf1;background-color:#40414f}.profile-dropdown-menu{position:absolute;top:calc(100% + 8px);right:0;min-width:160px;padding:6px 0;background-color:#202123;border:1px solid #444654;border-radius:8px;box-shadow:0 4px 12px #0006;z-index:100}.profile-dropdown-item{display:block;width:100%;padding:10px 16px;border:none;background:none;color:#ececf1;font-size:14px;text-align:left;cursor:pointer;transition:background-color .15s}.profile-dropdown-item:hover{background-color:#40414f}.profile-dropdown-item:disabled{opacity:.6;cursor:not-allowed}.profile-dropdown-item-logout{color:#f87171}.profile-dropdown-item-logout:hover:not(:disabled){background-color:#ef444426}.language-selector label{color:#8e8ea0;font-size:14px}.language-error{color:#ef4444;font-size:16px;cursor:help}.language-dropdown{background-color:#40414f;border:1px solid #565869;border-radius:6px;color:#ececf1;padding:8px 12px;font-size:14px;cursor:pointer;outline:none;transition:border-color .2s}.language-dropdown:hover{border-color:#8e8ea0}.language-dropdown:focus{border-color:#10a37f}.chat-messages{flex:1;overflow-y:auto;padding:24px;display:flex;flex-direction:column;gap:16px;max-width:1200px;margin:0 auto;width:100%;box-sizing:border-box}.chat-messages::-webkit-scrollbar{width:8px}.chat-messages::-webkit-scrollbar-track{background:#202123}.chat-messages::-webkit-scrollbar-thumb{background:#565869;border-radius:4px}.chat-messages::-webkit-scrollbar-thumb:hover{background:#8e8ea0}.connection-error-banner{background-color:#ef4444;color:#fff;padding:12px 16px;border-radius:8px;display:flex;align-items:center;gap:10px;margin-bottom:16px;animation:slideDown .3s ease-out}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.connection-error-banner .error-icon{font-size:18px;flex-shrink:0}.connection-error-banner .error-message{font-size:14px;font-weight:500;flex:1}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:#8e8ea0;text-align:center}.empty-state p{margin:8px 0;font-size:16px}.empty-state-subtitle{font-size:14px;color:#565869}.message{display:flex;width:100%;padding:16px;border-radius:8px;animation:fadeIn .3s ease-in}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.message.user{background-color:#343541;justify-content:flex-end}.message.assistant{background-color:#444654;justify-content:flex-start}.message-content{max-width:80%;display:flex;flex-direction:column;gap:4px}.message-text{font-size:16px;line-height:1.6;word-wrap:break-word;color:#ececf1}.message-timestamp{font-size:12px;color:#8e8ea0;opacity:.7}.chat-footer{background-color:#202123;border-top:1px solid #444654;padding:16px 24px}.mic-controls{display:flex;flex-direction:column;align-items:center;gap:12px;max-width:1200px;margin:0 auto}.mic-controls-row{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;width:100%;max-width:1200px}.footer-left{flex:1;min-width:0}.footer-right{flex:1;display:flex;align-items:center;justify-content:flex-end;gap:12px;min-width:0}.mic-button{width:56px;height:56px;border-radius:50%;border:none;background-color:#10a37f;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;box-shadow:0 2px 8px #0003}.mic-button:hover:not(:disabled){background-color:#0d8f6e;transform:scale(1.05)}.mic-button:active:not(:disabled){transform:scale(.95)}.mic-button:disabled{background-color:#565869;cursor:not-allowed;opacity:.6}.mic-button.listening{background-color:#ef4444;animation:pulse 2s infinite}@keyframes pulse{0%,to{box-shadow:0 0 #ef4444b3}50%{box-shadow:0 0 0 10px #ef444400}}.clear-chat-button,.generate-pdf-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 20px;border-radius:8px;border:none;background-color:#374151;color:#e5e7eb;font-size:14px;font-weight:500;cursor:pointer;transition:background-color .2s,transform .15s;box-shadow:0 2px 6px #0003}.clear-chat-button:hover:not(:disabled){background-color:#4b5563;transform:scale(1.02)}.clear-chat-button:active:not(:disabled){transform:scale(.98)}.clear-chat-button:disabled{background-color:#565869;cursor:not-allowed;opacity:.7}.clear-chat-label{white-space:nowrap}.generate-pdf-button:hover:not(:disabled){background-color:#4b5563;transform:scale(1.02)}.generate-pdf-button:active:not(:disabled){transform:scale(.98)}.generate-pdf-button:disabled{background-color:#565869;cursor:not-allowed;opacity:.7}.generate-pdf-label{white-space:nowrap}.generate-pdf-spinner{display:inline-block;width:20px;height:20px;border:2px solid rgba(229,231,235,.3);border-top-color:#e5e7eb;border-radius:50%;animation:generate-pdf-spin .8s linear infinite}@keyframes generate-pdf-spin{to{transform:rotate(360deg)}}.mic-status{font-size:14px;color:#8e8ea0;text-align:center}.status-listening{color:#ef4444;font-weight:500}.status-idle{color:#8e8ea0}.status-error{color:#ef4444}.status-document-ready{color:#10a37f;font-weight:500}.generate-pdf-overlay{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;background-color:#202123f2;pointer-events:auto;cursor:wait}.generate-pdf-overlay-content{display:flex;flex-direction:column;align-items:center;gap:20px;padding:32px;max-width:360px;text-align:center}.generate-pdf-overlay-spinner{display:block;width:48px;height:48px;border:4px solid rgba(255,255,255,.15);border-top-color:#10a37f;border-radius:50%;animation:generate-pdf-spin .9s linear infinite}.generate-pdf-overlay-text{font-size:18px;font-weight:600;color:#ececf1;margin:0}.generate-pdf-overlay-subtext{font-size:14px;color:#8e8ea0;margin:0}.thinking-loader{display:inline-flex;align-items:center;gap:4px;padding:8px 0}.thinking-loader .dot{width:8px;height:8px;border-radius:50%;background-color:#8e8ea0;animation:thinkingDot 1.4s infinite ease-in-out}.thinking-loader .dot:nth-child(1){animation-delay:-.32s}.thinking-loader .dot:nth-child(2){animation-delay:-.16s}.thinking-loader .dot:nth-child(3){animation-delay:0s}@keyframes thinkingDot{0%,80%,to{transform:scale(.8);opacity:.5}40%{transform:scale(1.2);opacity:1}}.translator-page{display:flex;height:100vh;background-color:#343541;color:#ececf1;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}.translator-page .chat-header-content{display:flex;justify-content:space-between;align-items:center;gap:24px;width:100%}.translator-page .chat-header h1{flex-shrink:0;margin:0 24px 0 0;font-size:20px;font-weight:600;color:#ececf1}.translator-page .header-actions{flex-shrink:0;display:flex;align-items:center;gap:20px;flex-wrap:wrap;justify-content:flex-end}.translator-page .chat-container{flex:1;display:flex;flex-direction:column;overflow:hidden;width:100%}.translator-page .language-selector{display:flex;flex-direction:column;align-items:flex-start;gap:6px}.translator-page .language-selector label{display:block;margin:0;color:#8e8ea0;font-size:12px;font-weight:500;white-space:nowrap}.translate-text-page{min-height:100vh;background-color:#343541;color:#ececf1;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}.translate-text-container{display:flex;flex-direction:column;min-height:100vh;width:100%}.translate-text-header{background-color:#202123;border-bottom:1px solid #444654;padding:16px 24px;width:100%}.translate-text-header-content{display:flex;justify-content:space-between;align-items:center;max-width:1200px;margin:0 auto;gap:16px}.translate-text-page .nav-back-btn{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border:1px solid #565869;border-radius:8px;background-color:transparent;color:#ececf1;cursor:pointer;transition:background-color .2s,border-color .2s;flex-shrink:0}.translate-text-page .nav-back-btn:hover{background-color:#40414f;border-color:#8e8ea0}.translate-text-page .nav-back-btn svg{width:20px;height:20px}.translate-text-header h1{margin:0;font-size:20px;font-weight:600;color:#ececf1}.translate-text-page .header-actions{display:flex;align-items:center;gap:20px}.translate-text-page .language-selector{display:flex;align-items:center;gap:10px}.translate-text-page .language-selector label{color:#8e8ea0;font-size:14px}.translate-text-page .profile-dropdown-wrapper{position:relative;padding-left:20px;border-left:1px solid #444654}.translate-text-page .ui-language-selector{display:flex;align-items:center;padding-left:20px;border-left:1px solid #444654}.translate-text-page .profile-icon-button{display:flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;background:transparent;border:none;border-radius:8px;color:#8e8ea0;cursor:pointer;transition:color .2s,background-color .2s}.translate-text-page .profile-icon-button:hover,.translate-text-page .profile-icon-button[aria-expanded=true]{color:#ececf1;background-color:#40414f}.translate-text-page .profile-dropdown-menu{position:absolute;top:calc(100% + 8px);right:0;min-width:160px;padding:6px 0;background-color:#202123;border:1px solid #444654;border-radius:8px;box-shadow:0 4px 12px #0006;z-index:100}.translate-text-page .profile-dropdown-item{display:block;width:100%;padding:10px 16px;border:none;background:none;color:#ececf1;font-size:14px;text-align:left;cursor:pointer;transition:background-color .15s}.translate-text-page .profile-dropdown-item:hover{background-color:#40414f}.translate-text-page .profile-dropdown-item-logout{color:#f87171}.translate-text-page .profile-dropdown-item-logout:hover:not(:disabled){background-color:#ef444426}.translate-text-page .language-dropdown{background-color:#40414f;border:1px solid #565869;border-radius:6px;color:#ececf1;padding:8px 12px;font-size:14px;cursor:pointer;outline:none;transition:border-color .2s}.translate-text-page .language-dropdown:hover{border-color:#8e8ea0}.translate-text-page .language-dropdown:focus{border-color:#10a37f}.translate-text-page .ui-language-dropdown{background-color:#40414f;color:#ececf1;border:1px solid #565869;border-radius:6px;padding:6px 10px;font-size:14px;cursor:pointer;min-width:100px}.translate-text-page .ui-language-dropdown:hover{background-color:#565869}.translate-text-page .ui-language-dropdown:focus{outline:none;border-color:#8e8ea0}.translate-text-page .language-error{color:#ef4444;font-size:16px;cursor:help}.translate-text-main{flex:1;padding:32px 24px;display:flex;flex-direction:column;align-items:center;gap:24px}.translate-text-page .connection-error-banner{background-color:#ef444426;color:#f87171;padding:12px 16px;border-radius:8px;width:100%;max-width:560px;display:flex;align-items:center;gap:8px}.translate-text-form{width:100%;max-width:560px;display:flex;flex-direction:column;gap:16px}.translate-text-input{width:100%;min-height:200px;padding:16px;background-color:#40414f;border:1px solid #565869;border-radius:8px;color:#ececf1;font-size:16px;font-family:inherit;resize:vertical;box-sizing:border-box}.translate-text-input::placeholder{color:#8e8ea0}.translate-text-input:focus{outline:none;border-color:#10a37f}.translate-text-input:disabled{opacity:.7;cursor:not-allowed}.translate-text-submit{align-self:center;padding:12px 24px;background-color:#10a37f;color:#fff;border:none;border-radius:8px;font-size:16px;font-weight:500;cursor:pointer;transition:background-color .2s}.translate-text-submit:hover:not(:disabled){background-color:#0d8c6d}.translate-text-submit:disabled{opacity:.5;cursor:not-allowed}.translate-text-error{color:#f87171;font-size:14px;max-width:560px;width:100%}.translate-text-result{max-width:560px;width:100%;padding:20px;background-color:#40414f;border:1px solid #565869;border-radius:8px}.translate-text-result-label{margin:0 0 12px;font-size:14px;font-weight:600;color:#8e8ea0}.translate-text-result-text{margin:0;font-size:16px;line-height:1.5;color:#ececf1;white-space:pre-wrap;word-break:break-word}.translate-text-loading{display:flex;align-items:center;gap:6px;padding:16px 0;min-height:24px}.translate-text-loading-dot{width:8px;height:8px;border-radius:50%;background-color:#8e8ea0;animation:translateTextDot 1.4s infinite ease-in-out}.translate-text-loading-dot:nth-child(1){animation-delay:-.32s}.translate-text-loading-dot:nth-child(2){animation-delay:-.16s}.translate-text-loading-dot:nth-child(3){animation-delay:0s}@keyframes translateTextDot{0%,80%,to{transform:scale(.8);opacity:.5}40%{transform:scale(1.2);opacity:1}}.translate-text-voice-loading{display:flex;align-items:center;gap:8px;margin-top:12px;padding:8px 0;min-height:24px}.translate-text-voice-caption{font-size:.875rem;color:var(--color-text-secondary, #6b7280)}.translate-text-result-streaming{display:inline}.translate-text-cursor{display:inline-block;width:2px;height:1em;margin-left:2px;vertical-align:text-bottom;background-color:#10a37f;animation:translateTextCursor 1s step-end infinite}@keyframes translateTextCursor{0%,to{opacity:1}50%{opacity:0}}.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background-color:#343541;color:#ececf1;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;padding:20px}.login-container{position:relative;background-color:#202123;border:1px solid #444654;border-radius:16px;box-shadow:0 20px 60px #00000080;padding:40px;width:100%;max-width:420px;animation:slideUp .4s ease-out}.login-language-row{position:absolute;top:16px;right:16px}.login-language-select{background-color:#40414f;color:#ececf1;border:1px solid #565869;border-radius:8px;padding:6px 10px;font-size:14px;cursor:pointer;min-width:100px}.login-language-select:hover{background-color:#565869}.login-language-select:focus{outline:none;border-color:#8e8ea0}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.login-header{text-align:center;margin-bottom:32px}.login-header h1{font-size:28px;font-weight:700;color:#ececf1;margin:0 0 8px}.login-header p{font-size:14px;color:#8e8ea0;margin:0}.login-form{display:flex;flex-direction:column;gap:20px}.form-group{display:flex;flex-direction:column;gap:8px}.form-group label{font-size:14px;font-weight:500;color:#ececf1}.form-group input[type=email],.form-group input[type=password],.form-group input[type=text]{padding:12px 16px;border:1px solid #565869;border-radius:8px;font-size:16px;transition:all .2s;background-color:#40414f;color:#ececf1}.form-group input[type=email]:focus,.form-group input[type=password]:focus,.form-group input[type=text]:focus{outline:none;border-color:#10a37f;box-shadow:0 0 0 3px #10a37f1a}.form-group input[type=email]:disabled,.form-group input[type=password]:disabled,.form-group input[type=text]:disabled{background-color:#343541;cursor:not-allowed;opacity:.6}.form-group input[type=email]::placeholder,.form-group input[type=password]::placeholder,.form-group input[type=text]::placeholder{color:#8e8ea0}.auth-link{display:block;text-align:center;margin-top:16px;font-size:14px;color:#10a37f;text-decoration:none}.auth-link:hover{text-decoration:underline}.checkbox-group{flex-direction:row;align-items:center}.checkbox-label{display:flex;align-items:center;gap:8px;cursor:pointer;-webkit-user-select:none;user-select:none}.checkbox-label input[type=checkbox]{width:18px;height:18px;cursor:pointer;accent-color:#10a37f}.checkbox-label span{font-size:14px;color:#ececf1}.error-message{padding:12px 16px;background-color:#ef44441a;border:1px solid #ef4444;border-radius:8px;color:#ef4444;font-size:14px;text-align:center;animation:shake .3s ease-in-out}@keyframes shake{0%,to{transform:translate(0)}25%{transform:translate(-5px)}75%{transform:translate(5px)}}.login-button{padding:14px 24px;background-color:#10a37f;color:#fff;border:none;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s;margin-top:8px}.login-button:hover:not(:disabled){background-color:#0d8f6e;transform:translateY(-1px);box-shadow:0 4px 12px #10a37f4d}.login-button:active:not(:disabled){transform:translateY(0)}.login-button:disabled{background-color:#565869;opacity:.6;cursor:not-allowed;transform:none}.document-preview-page{height:100vh;min-height:0;background-color:#343541;color:#ececf1;display:flex;flex-direction:column;overflow:hidden}.document-preview-header{flex-shrink:0;padding:16px 24px;border-bottom:1px solid #444654;display:flex;align-items:center;gap:20px;background-color:#202123}.document-preview-back{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border:1px solid #565869;border-radius:8px;background-color:transparent;color:#ececf1;font-size:14px;cursor:pointer;transition:background-color .2s,border-color .2s}.document-preview-back:hover{background-color:#40414f;border-color:#8e8ea0}.document-preview-title{margin:0;font-size:20px;font-weight:600}.document-preview-scroll{flex:1;min-height:0;width:100%;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable}.document-preview-scroll::-webkit-scrollbar{width:10px}.document-preview-scroll::-webkit-scrollbar-track{background:#202123}.document-preview-scroll::-webkit-scrollbar-thumb{background:#565869;border-radius:5px}.document-preview-scroll::-webkit-scrollbar-thumb:hover{background:#6e6e80}.document-preview-main{padding:24px;max-width:720px;margin:0 auto;width:100%;box-sizing:border-box}.document-preview-intro{margin:0 0 24px;font-size:14px;color:#8e8ea0}.document-preview-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:24px}.document-preview-item{display:flex;flex-direction:column;gap:8px;padding:16px;border:1px solid #444654;border-radius:8px;background-color:#40414f}.document-preview-question{font-size:15px;font-weight:600;color:#ececf1;line-height:1.4;-webkit-user-select:none;user-select:none}.document-preview-answer-label{font-size:12px;color:#8e8ea0;font-weight:500}.document-preview-answer-input{width:100%;min-height:72px;padding:12px 14px;border:1px solid #565869;border-radius:6px;background-color:#343541;color:#ececf1;font-size:14px;font-family:inherit;line-height:1.5;resize:vertical;box-sizing:border-box}.document-preview-answer-input::placeholder{color:#6e6e80}.document-preview-answer-input:focus{outline:none;border-color:#10a37f;box-shadow:0 0 0 2px #10a37f40}.document-preview-actions{margin-top:32px;padding-top:24px;border-top:1px solid #444654}.document-preview-generate-btn{padding:12px 24px;border:none;border-radius:8px;background-color:#10a37f;color:#fff;font-size:16px;font-weight:600;cursor:pointer;transition:background-color .2s,transform .15s}.document-preview-generate-btn:hover{background-color:#0d8f6e;transform:scale(1.02)}.document-preview-generate-btn:active{transform:scale(.98)}.dubbed-file-page{min-height:100vh;background-color:#343541;color:#ececf1;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;display:flex;flex-direction:column}.dubbed-file-header{background-color:#202123;border-bottom:1px solid #444654;padding:16px 24px;display:flex;align-items:center;gap:16px;flex-shrink:0}.dubbed-file-back{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;background-color:transparent;border:1px solid #565869;border-radius:8px;color:#ececf1;font-size:14px;cursor:pointer;transition:background-color .2s,border-color .2s}.dubbed-file-back:hover{background-color:#40414f;border-color:#8e8ea0}.dubbed-file-title{margin:0;font-size:20px;font-weight:600;color:#ececf1}.dubbed-file-body{display:flex;flex:1;min-height:0}.dubbed-file-sidebar{width:280px;min-width:280px;background-color:#202123;border-right:1px solid #444654;display:flex;flex-direction:column;overflow:hidden}.dubbed-file-sidebar-title{margin:0;padding:16px 20px;font-size:14px;font-weight:600;color:#8e8ea0;text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid #444654}.dubbed-file-sidebar-loading,.dubbed-file-sidebar-empty{padding:20px;margin:0;font-size:14px;color:#8e8ea0}.dubbed-file-list{list-style:none;margin:0;padding:8px 0;overflow-y:auto;flex:1}.dubbed-file-list li{margin:0}.dubbed-file-list-item{display:block;width:100%;padding:12px 20px;text-align:left;background:none;border:none;color:#ececf1;font-size:14px;cursor:pointer;transition:background-color .15s;border-left:3px solid transparent}.dubbed-file-list-item:hover{background-color:#2a2b32}.dubbed-file-list-item-active{background-color:#40414f;border-left-color:#10a37f}.dubbed-file-list-name{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:2px}.dubbed-file-list-meta{display:block;font-size:12px;color:#8e8ea0}.dubbed-file-main{flex:1;padding:24px 32px;overflow-y:auto;display:flex;flex-direction:column;gap:24px;position:relative}.dubbed-file-banner{margin:0 0 16px;padding:12px 16px;border-radius:8px;font-size:14px}.dubbed-file-banner-error{background-color:#ef444426;color:#f87171}.dubbed-file-upload-section{flex-shrink:0}.dubbed-file-intro{margin:0 0 16px;font-size:14px;color:#8e8ea0}.dubbed-file-form{display:flex;flex-direction:column;gap:12px}.dubbed-file-form-row{display:flex;flex-wrap:wrap;align-items:flex-end;gap:16px}.dubbed-file-language-selector,.dubbed-file-file-selector{display:flex;flex-direction:column;gap:6px}.dubbed-file-language-selector label,.dubbed-file-file-label{font-size:14px;color:#8e8ea0}.dubbed-file-dropdown{background-color:#40414f;border:1px solid #565869;border-radius:6px;color:#ececf1;padding:8px 12px;font-size:14px;cursor:pointer;outline:none;transition:border-color .2s;min-width:160px}.dubbed-file-dropdown:hover{border-color:#8e8ea0}.dubbed-file-dropdown:focus{border-color:#10a37f}.dubbed-file-input{padding:8px 12px;background-color:#40414f;border:1px solid #565869;border-radius:6px;color:#ececf1;font-size:14px;cursor:pointer;max-width:280px}.dubbed-file-input:disabled{opacity:.6;cursor:not-allowed}.dubbed-file-input::file-selector-button{margin-right:12px;padding:4px 8px;background-color:#565869;border:none;border-radius:4px;color:#ececf1;font-size:13px;cursor:pointer}.dubbed-file-submit{padding:8px 20px;background-color:#10a37f;border:none;border-radius:8px;color:#fff;font-size:14px;font-weight:500;cursor:pointer;transition:background-color .2s}.dubbed-file-submit:hover:not(:disabled){background-color:#0d8c6d}.dubbed-file-submit:disabled{opacity:.5;cursor:not-allowed}.dubbed-file-selected{margin:0;font-size:13px;color:#8e8ea0}.dubbed-file-error{margin:0;padding:10px 14px;background-color:#ef444426;border-radius:8px;color:#f87171;font-size:14px}.dubbed-file-loader-overlay{position:absolute;inset:0;background-color:#202123d9;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;z-index:10;border-radius:8px}.dubbed-file-loader-spinner{width:48px;height:48px;border:4px solid #444654;border-top-color:#10a37f;border-radius:50%;animation:dubbed-file-spin .8s linear infinite}@keyframes dubbed-file-spin{to{transform:rotate(360deg)}}.dubbed-file-loader-text{margin:0;font-size:14px;color:#8e8ea0}.dubbed-file-player-section{flex:1;min-height:200px;display:flex;flex-direction:column;gap:16px;background-color:#202123;border:1px solid #444654;border-radius:12px;padding:20px}.dubbed-file-media{max-width:100%;max-height:70vh;width:auto;height:auto;display:block}.dubbed-file-player-placeholder{flex:1;display:flex;align-items:center;justify-content:center;min-height:200px;background-color:#2a2b32;border-radius:8px;border:1px dashed #444654}.dubbed-file-player-placeholder p{margin:0;font-size:14px;color:#8e8ea0}.dubbed-file-toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%);padding:14px 24px;border-radius:8px;font-size:14px;font-weight:500;box-shadow:0 4px 20px #0006;z-index:1000;max-width:90vw;animation:dubbed-file-toast-in .25s ease-out}@keyframes dubbed-file-toast-in{0%{opacity:0;transform:translate(-50%) translateY(12px)}to{opacity:1;transform:translate(-50%) translateY(0)}}.dubbed-file-toast-success{background-color:#10a37f;color:#fff}.dubbed-file-toast-error{background-color:#dc2626;color:#fff}.settings-page{min-height:100vh;background-color:#343541;color:#ececf1;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;padding:24px}.settings-container{max-width:520px;margin:0 auto;background-color:#202123;border:1px solid #444654;border-radius:16px;padding:32px;box-shadow:0 20px 60px #0000004d}.settings-title{font-size:24px;font-weight:700;color:#ececf1;margin:0 0 8px}.settings-subtitle{font-size:14px;color:#8e8ea0;margin:0 0 24px}.settings-loading,.settings-error{text-align:center;color:#8e8ea0;margin:0 0 16px}.settings-error{color:#f87171}.settings-back{display:block;margin:0 auto;padding:10px 20px;background-color:#40414f;color:#ececf1;border:1px solid #565869;border-radius:8px;font-size:14px;cursor:pointer;transition:background-color .2s}.settings-back:hover{background-color:#565869}.settings-message{padding:12px 16px;border-radius:8px;margin-bottom:20px;font-size:14px}.settings-message-error{background-color:#ef444426;border:1px solid rgba(239,68,68,.4);color:#f87171}.settings-message-success{background-color:#22c55e26;border:1px solid rgba(34,197,94,.4);color:#4ade80}.settings-form{display:flex;flex-direction:column;gap:20px}.settings-form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.settings-form-group{display:flex;flex-direction:column;gap:8px}.settings-form-group label{font-size:14px;font-weight:500;color:#ececf1}.settings-input{padding:12px 16px;border:1px solid #565869;border-radius:8px;font-size:16px;background-color:#40414f;color:#ececf1;transition:border-color .2s}.settings-input:focus{outline:none;border-color:#8e8ea0}.settings-input-readonly{background-color:#2d2d30;color:#8e8ea0;cursor:not-allowed}.settings-form-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:8px}.settings-button{padding:10px 20px;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:background-color .2s,opacity .2s}.settings-button:disabled{opacity:.6;cursor:not-allowed}.settings-button-primary{background-color:#10a37f;color:#fff;border:none}.settings-button-primary:hover:not(:disabled){background-color:#0d8c6d}.settings-button-secondary{background-color:transparent;color:#ececf1;border:1px solid #565869}.settings-button-secondary:hover{background-color:#40414f}*{margin:0;padding:0;box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#343541;color:#ececf1;overflow:hidden}#root{width:100%;height:100vh;overflow:hidden}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}
