:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;min-width:320px;min-height:100vh;background-color:#fff}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}#root{margin:0;padding:0;min-height:100vh;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.loading-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:#f5f5f5}.loading-spinner{text-align:center}.spinner{width:40px;height:40px;border:4px solid #f3f3f3;border-top:4px solid #667eea;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 20px}.loading-spinner p{color:#666;font-size:14px}.type-card{background:#fff;border-radius:16px;padding:2rem;box-shadow:0 8px 32px #0000001a;transition:all .3s ease;cursor:pointer;position:relative;overflow:hidden}.type-card:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#667eea,#764ba2);transform:scaleX(0);transition:transform .3s ease}.type-card:hover{transform:translateY(-8px);box-shadow:0 16px 48px #00000026}.type-card:hover:before{transform:scaleX(1)}.type-card-header{display:flex;align-items:center;gap:1rem;margin-bottom:1.5rem;position:relative}.like-topic-button{position:absolute;right:0;top:0;background:none;border:none;font-size:1.2rem;cursor:pointer;padding:8px;border-radius:50%;transition:all .3s ease;width:40px;height:40px;display:flex;align-items:center;justify-content:center;background-color:#fffc;box-shadow:0 2px 8px #0000001a}.like-topic-button:hover{background-color:#fff;transform:scale(1.1);box-shadow:0 4px 12px #00000026}.like-topic-button.liked{background-color:#ff4757;color:#fff}.like-topic-button.liked:hover{background-color:#ff3838}.like-topic-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.type-icon{font-size:3rem;display:flex;align-items:center;justify-content:center;width:60px;height:60px;border-radius:12px;background:linear-gradient(135deg,#667eea20,#764ba220)}.type-title{font-size:1.5rem;font-weight:700;margin:0;color:#2d3748;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.type-card-body{margin-bottom:2rem}.type-description{color:#718096;font-size:1rem;line-height:1.6;margin:0}.type-card-footer{display:flex;justify-content:flex-end;align-items:center}.type-link{color:#667eea;font-weight:600;font-size:.9rem;transition:color .3s ease}.type-card:hover .type-link{color:#764ba2}@media (max-width: 768px){.type-card{padding:1.5rem}.type-icon{font-size:2.5rem;width:50px;height:50px}.type-title{font-size:1.3rem}.type-description{font-size:.9rem}}.homepage{min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);padding:2rem;width:100vw}.homepage-header{text-align:center;margin-bottom:3rem;color:#fff}.homepage-title{font-size:3rem;font-weight:700;margin-bottom:1rem;text-shadow:2px 2px 4px rgba(0,0,0,.3)}.homepage-subtitle{font-size:1.2rem;opacity:.9;margin-bottom:1.5rem}.view-mode-selector{display:flex;justify-content:center;gap:.5rem;margin-bottom:1.5rem}.mode-button{padding:.75rem 1.5rem;border:2px solid rgba(255,255,255,.3);background:#ffffff1a;color:#fff;border-radius:25px;font-size:1rem;font-weight:500;cursor:pointer;transition:all .3s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.mode-button:hover{background:#fff3;border-color:#ffffff80;transform:translateY(-2px)}.mode-button.active{background:#ffffffe6;color:#667eea;border-color:#ffffffe6;font-weight:600}.mode-button.active:hover{background:#fff;transform:translateY(-2px)}.error-notice{display:inline-flex;align-items:center;gap:.5rem;background:#ffffff1a;padding:.75rem 1.5rem;border-radius:8px;border:1px solid rgba(255,255,255,.2);margin-top:1rem}.error-icon{font-size:1.2rem}.error-text{font-size:.9rem}.homepage-main{max-width:1200px;margin:0 auto}.types-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem;margin-bottom:3rem}.no-topics-message{grid-column:1 / -1;text-align:center;padding:3rem;color:#fff}.no-topics-message p{font-size:1.1rem;opacity:.8;background:#ffffff1a;padding:2rem;border-radius:12px;border:1px solid rgba(255,255,255,.2);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.homepage-footer{text-align:center;color:#fff;opacity:.8}.footer-text{font-size:1rem;margin:0}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:50vh;color:#fff}.loading-spinner{width:50px;height:50px;border:4px solid rgba(255,255,255,.3);border-top:4px solid white;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:1rem}.loading-text{font-size:1.1rem;opacity:.9}@media (max-width: 768px){.homepage{padding:1rem}.homepage-title{font-size:2.5rem}.types-grid{grid-template-columns:1fr;gap:1.5rem}.view-mode-selector{flex-direction:column;align-items:center;gap:.75rem}.mode-button{width:200px;padding:.875rem 1.5rem}}.question-collection{max-width:100vw;margin:0 auto;padding:20px;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;line-height:1.6;color:#333}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;gap:20px}.loading-spinner{width:40px;height:40px;border:4px solid #f3f3f3;border-top:4px solid #3498db;border-radius:50%;animation:spin 1s linear infinite}.loading-text{font-size:18px;color:#666;margin:0}.error-container{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;gap:15px;text-align:center}.error-icon{font-size:48px}.error-title{color:#e74c3c;margin:0;font-size:24px}.error-message{color:#666;font-size:16px;margin:0}.retry-button{background-color:#3498db;color:#fff;border:none;padding:12px 24px;border-radius:8px;cursor:pointer;font-size:16px;transition:background-color .3s ease}.retry-button:hover{background-color:#2980b9}.collection-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:40px;border-radius:12px;margin-bottom:30px;text-align:center;position:relative}.back-button{position:absolute;left:40px;top:50%;transform:translateY(-50%);background:#fff3;color:#fff;border:1px solid rgba(255,255,255,.3);padding:12px 20px;border-radius:8px;cursor:pointer;font-size:14px;font-weight:500;transition:all .3s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.back-button:hover{background:#ffffff4d;border-color:#ffffff80;transform:translateY(-50%) translate(-2px)}.collection-title{font-size:2.5rem;margin:0 0 20px;font-weight:700}.collection-stats{display:flex;justify-content:center;gap:30px;font-size:18px}.question-count{background-color:#fff3;padding:8px 16px;border-radius:20px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.collection-type{background-color:#fff3;padding:8px 16px;border-radius:20px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);text-transform:uppercase;font-weight:600}.type-selector{background-color:#f8f9fa;padding:25px;border-radius:12px;margin-bottom:30px}.selector-title{margin:0 0 20px;color:#2c3e50;font-size:1.2rem}.type-buttons{display:flex;gap:15px;flex-wrap:wrap}.type-button{background-color:#fff;color:#666;border:2px solid #ddd;padding:12px 24px;border-radius:25px;cursor:pointer;font-size:16px;font-weight:600;transition:all .3s ease;text-transform:uppercase}.type-button:hover{background-color:#f0f0f0;border-color:#bbb}.type-button.active{background-color:#3498db;color:#fff;border-color:#3498db}.search-section{background-color:#f8f9fa;padding:25px;border-radius:12px;margin-bottom:20px}.search-title{margin:0 0 20px;color:#2c3e50;font-size:1.2rem}.search-bar{display:flex;flex-direction:column;gap:10px}.search-input-container{position:relative;display:flex;align-items:center;background-color:#fff;border:2px solid #ddd;border-radius:25px;padding:12px 20px;transition:all .3s ease}.search-input-container:focus-within{border-color:#3498db;box-shadow:0 0 0 3px #3498db1a}.search-icon{font-size:18px;margin-right:10px;color:#666}.search-input{flex:1;border:none;outline:none;font-size:16px;background:transparent;color:#333}.search-input::placeholder{color:#999}.clear-search-button{background:none;border:none;font-size:16px;color:#999;cursor:pointer;padding:0;margin-left:10px;width:20px;height:20px;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:all .3s ease}.clear-search-button:hover{background-color:#e74c3c;color:#fff}.search-results-info{font-size:14px;color:#666;background-color:#e8f4f8;padding:8px 16px;border-radius:15px;display:inline-block}.clear-search-button-empty{background-color:#3498db;color:#fff;border:none;padding:12px 24px;border-radius:8px;cursor:pointer;font-size:16px;transition:background-color .3s ease;margin-top:10px}.clear-search-button-empty:hover{background-color:#2980b9}.filter-section{background-color:#f8f9fa;padding:25px;border-radius:12px;margin-bottom:30px}.filter-title{margin:0 0 20px;color:#2c3e50;font-size:1.2rem}.filter-buttons{display:flex;gap:15px;flex-wrap:wrap}.filter-button{background-color:#fff;color:#666;border:2px solid #ddd;padding:12px 20px;border-radius:25px;cursor:pointer;font-size:16px;font-weight:600;transition:all .3s ease;display:flex;align-items:center;gap:8px;min-width:120px}.filter-button:hover{background-color:#f0f0f0;border-color:#bbb;transform:translateY(-2px)}.filter-button.active{background-color:#3498db;color:#fff;border-color:#3498db;box-shadow:0 4px 12px #3498db4d}.filter-icon{font-size:18px}.filter-text{flex:1;white-space:nowrap}.filter-count{background-color:#0000001a;padding:2px 8px;border-radius:12px;font-size:12px;font-weight:500}.filter-button.active .filter-count{background-color:#fff3}.questions-container{min-height:400px}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;gap:20px;text-align:center}.empty-icon{font-size:64px;opacity:.5}.empty-title{color:#666;margin:0;font-size:24px}.empty-message{color:#999;margin:0;font-size:16px}.questions-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(400px,1fr));gap:25px}.question-card{background:#fff;border-radius:12px;box-shadow:0 4px 6px #0000001a;overflow:hidden;transition:transform .3s ease,box-shadow .3s ease;border:1px solid #e1e8ed}.question-card:hover{transform:translateY(-5px);box-shadow:0 8px 25px #00000026}.question-header{display:flex;justify-content:space-between;align-items:center;padding:15px 20px;background-color:#f8f9fa;border-bottom:1px solid #e1e8ed}.question-number{font-weight:700;color:#2c3e50;font-size:16px}.question-badges{display:flex;gap:8px;align-items:center}.question-type-badge{background-color:#3498db;color:#fff;padding:4px 12px;border-radius:12px;font-size:12px;font-weight:600;text-transform:uppercase}.faq-badge{background-color:#ff6b6b;color:#fff;padding:4px 8px;border-radius:12px;font-size:11px;font-weight:600;box-shadow:0 2px 4px #ff6b6b4d}.question-content{padding:20px}.question-title{color:#2c3e50;margin:0 0 15px;font-size:18px;font-weight:600;line-height:1.4}.question-answer{background-color:#f0f8ff;padding:15px;border-radius:8px;margin-top:15px;border-left:4px solid #3498db}.answer-label{color:#2980b9;margin:0 0 8px;font-size:14px;font-weight:600}.answer-text-container{max-height:120px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#3498db #f0f8ff}.answer-text-container::-webkit-scrollbar{width:6px}.answer-text-container::-webkit-scrollbar-track{background:#f0f8ff;border-radius:3px}.answer-text-container::-webkit-scrollbar-thumb{background:#3498db;border-radius:3px}.answer-text-container::-webkit-scrollbar-thumb:hover{background:#2980b9}.answer-text{color:#34495e;margin:0;font-size:14px;line-height:1.5}.question-recording{display:flex;align-items:center;gap:8px;margin-top:15px;padding:10px;background-color:#fff5f5;border-radius:6px;border:1px solid #fed7d7}.recording-icon{font-size:16px}.recording-text{color:#e53e3e;font-size:14px;font-weight:500}.question-footer{display:flex;justify-content:space-between;align-items:center;padding:15px 20px;background-color:#f8f9fa;border-top:1px solid #e1e8ed}.question-id{font-size:12px;color:#999;font-family:Courier New,monospace}.action-button{background:none;border:1px solid #ddd;padding:6px 12px;border-radius:6px;cursor:pointer;font-size:12px;color:#666;transition:all .3s ease;display:flex;align-items:center;gap:4px}.action-button:hover{background-color:#f0f0f0;border-color:#bbb}.action-button.like{border-color:#ff4757;color:#ff4757;background-color:#fff}.action-button.like:hover{background-color:#ff4757;color:#fff;transform:scale(1.05)}.action-button.like.liked{background-color:#ff4757;color:#fff;border-color:#ff4757}.action-button.like.liked:hover{background-color:#ff3838;border-color:#ff3838}.action-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.collection-footer{background-color:#2c3e50;color:#fff;padding:30px;border-radius:12px;margin-top:40px;text-align:center}.footer-info{max-width:600px;margin:0 auto}.footer-text{font-size:18px;margin:0 0 10px;font-weight:600}.cached-indicator{color:#27ae60;font-weight:700;font-size:.9rem}.filter-indicator{color:#7f8c8d;font-size:14px;font-weight:400}.footer-subtitle{font-size:14px;margin:0;opacity:.8}@media (max-width: 768px){.question-collection{padding:15px}.collection-title{font-size:2rem}.collection-stats{flex-direction:column;gap:15px}.questions-grid{grid-template-columns:1fr;gap:20px}.type-buttons{justify-content:center}.filter-buttons{justify-content:center;gap:10px}.filter-button{min-width:100px;padding:10px 16px;font-size:14px}.question-footer{flex-direction:column;gap:10px;text-align:center}}@media (max-width: 480px){.collection-header{padding:25px 20px}.back-button{left:20px;padding:8px 12px;font-size:12px}.collection-title{font-size:1.5rem}.type-selector,.search-section{padding:20px}.search-input-container{padding:10px 16px}.search-input{font-size:14px}.filter-section{padding:20px}.filter-buttons{gap:8px}.filter-button{min-width:80px;padding:8px 12px;font-size:12px}.filter-text{display:none}.filter-count{font-size:10px}.question-content{padding:15px}}.question-interview{display:flex;width:100vw;margin:0 auto;gap:24px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.question-interview__main{flex:1;min-width:0}.question-interview__sidebar{width:280px;flex-shrink:0}.question-interview__header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;padding-bottom:20px;border-bottom:2px solid #e0e0e0}.question-interview__title-section{display:flex;align-items:center;gap:16px}.question-interview__title{font-size:28px;font-weight:600;color:#333;margin:0}.like-button{display:flex;align-items:center;gap:6px;padding:8px 12px;background:#fff;border:2px solid #e1e5e9;border-radius:20px;cursor:pointer;font-size:14px;font-weight:500;color:#666;transition:all .3s ease;white-space:nowrap}.like-button:hover:not(:disabled){border-color:#ff6b6b;background:#fff5f5;color:#ff6b6b}.like-button.liked{border-color:#ff6b6b;background:#ff6b6b;color:#fff}.like-button.liked:hover:not(:disabled){background:#ff5252;border-color:#ff5252}.like-button:disabled{opacity:.6;cursor:not-allowed}.like-button__text{font-size:12px}.mode-toggle{display:flex;align-items:center;gap:10px}.mode-toggle__label{font-size:14px;color:#666;font-weight:500}.mode-toggle__switch{position:relative;width:60px;height:30px;background:#ddd;border-radius:15px;cursor:pointer;transition:background-color .3s ease}.mode-toggle__switch.active{background:#4caf50}.mode-toggle__slider{position:absolute;top:2px;left:2px;width:26px;height:26px;background:#fff;border-radius:50%;transition:transform .3s ease;box-shadow:0 2px 4px #0003}.mode-toggle__switch.active .mode-toggle__slider{transform:translate(30px)}.loading-state,.error-state{text-align:center;padding:40px 20px;font-size:16px}.loading-state{color:#666}.error-state{color:#e74c3c}.question-content{background:#fff;border-radius:12px;box-shadow:0 2px 12px #0000001a;overflow:hidden}.question-section{padding:24px;border-bottom:1px solid #f0f0f0}.question-section:last-child{border-bottom:none}.question-section__title{font-size:1.8rem;color:var(--color-text-primary);margin-bottom:1rem;border-bottom:2px solid var(--color-primary);padding-bottom:.5rem}.question-section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}.question-meta{display:flex;align-items:center;gap:1rem}.meta-badge{padding:.3rem .8rem;border-radius:1rem;font-size:.8rem;font-weight:600;color:#fff;white-space:nowrap}.faq-badge{background-color:var(--color-accent-orange)}.meta-accuracy{display:flex;align-items:center;gap:.5rem}.accuracy-badge{background-color:var(--color-accent-blue)}.accuracy-details{font-size:.8rem;color:var(--color-text-secondary)}.question-section__content{background-color:var(--color-background-light);padding:1.5rem;border-radius:var(--border-radius);font-size:16px;line-height:1.6;color:#555}.collapsible-section{border-top:1px solid #f0f0f0}.collapsible-section__header{padding:20px 24px;background:#fafafa;cursor:pointer;display:flex;justify-content:space-between;align-items:center;transition:background-color .2s ease}.collapsible-section__header:hover{background:#f0f0f0}.collapsible-section__title{font-size:16px;font-weight:600;color:#333;margin:0}.collapsible-section__icon{font-size:12px;color:#666;transition:transform .3s ease}.collapsible-section__icon.expanded{transform:rotate(180deg)}.collapsible-section__content{padding:20px 24px;background:#fff}.collapsible-section__content.hidden{display:none}.audio-player{margin-top:20px}.audio-player__title{font-size:14px;font-weight:600;color:#666;margin-bottom:12px}.audio-player__controls{background:#f8f9fa;border:1px solid #e9ecef;border-radius:8px;padding:16px}.audio-player__controls audio{width:100%;height:40px}.mode-indicator{position:absolute;top:-8px;right:-8px;background:#4caf50;color:#fff;font-size:12px;padding:4px 8px;border-radius:12px;font-weight:500}.mode-indicator.practice-mode{background:#2196f3}.sidebar{background:#fff;border-radius:12px;box-shadow:0 2px 12px #0000001a;overflow:hidden;height:fit-content;position:sticky;top:20px}.sidebar__header{padding:20px;background:#f8f9fa;border-bottom:1px solid #e9ecef}.sidebar__title{font-size:16px;font-weight:600;color:#333;margin:0}.sidebar__subtitle{font-size:12px;color:#666;margin:4px 0 0}.sidebar__list{max-height:500px;overflow-y:auto}.sidebar__item{display:block;padding:12px 20px;border-bottom:1px solid #f0f0f0;text-decoration:none;color:#555;transition:all .2s ease;cursor:pointer}.sidebar__item:hover{background:#f8f9fa;color:#333}.sidebar__item.active{background:#e3f2fd;color:#1976d2;border-left:3px solid #1976d2}.sidebar__item:last-child{border-bottom:none}.sidebar__item-title{font-size:14px;font-weight:500;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.sidebar__item-index{font-size:12px;color:#999;margin-bottom:4px}.sidebar__loading{padding:20px;text-align:center;color:#666;font-size:14px}.sidebar__empty{padding:20px;text-align:center;color:#999;font-size:14px}@media (max-width: 768px){.question-interview{flex-direction:column;padding:16px}.question-interview__sidebar{width:100%;order:-1;margin-bottom:16px}.sidebar{position:static}.sidebar__list{max-height:200px}.question-interview__header{flex-direction:column;gap:16px;align-items:flex-start}.question-interview__title{font-size:24px}.question-section{padding:20px}.collapsible-section__header,.collapsible-section__content{padding:16px 20px}}.button{width:120px;height:40px;display:flex;justify-content:center;align-items:center;border-radius:4px;cursor:pointer;border:1px solid grey;background-color:#fff}.button.recording{background-color:red;color:#fff;border-color:red}.button:disabled{cursor:not-allowed;opacity:.6}.question-upload{min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);padding:2rem;width:100vw}.upload-container{max-width:800px;margin:0 auto;background:#fffffff2;border-radius:20px;padding:2rem;box-shadow:0 20px 40px #0000001a}.upload-header{text-align:center;margin-bottom:2rem}.upload-title{font-size:2.5rem;font-weight:700;color:#4a5568;margin-bottom:1.5rem}.step-indicator{display:flex;justify-content:center;align-items:center;margin-bottom:2rem;gap:1rem}.step{display:flex;flex-direction:column;align-items:center;gap:.5rem;position:relative}.step:not(:last-child):after{content:"";position:absolute;top:15px;left:50px;width:50px;height:2px;background:#e2e8f0;z-index:1}.step.active:not(:last-child):after{background:#667eea}.step-number{width:30px;height:30px;border-radius:50%;background:#e2e8f0;color:#a0aec0;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.9rem;z-index:2;position:relative}.step.active .step-number{background:#667eea;color:#fff}.step.current .step-number{background:#764ba2;color:#fff;transform:scale(1.1)}.step-title{font-size:.8rem;color:#a0aec0;font-weight:500}.step.active .step-title{color:#4a5568}.message{display:flex;align-items:center;gap:.5rem;padding:1rem;border-radius:8px;margin-bottom:1.5rem;font-weight:500}.error-message{background:#fed7d7;color:#c53030;border:1px solid #feb2b2}.success-message{background:#c6f6d5;color:#2f855a;border:1px solid #9ae6b4}.message-icon{font-size:1.1rem}.step-content{background:#fff;border-radius:12px;padding:2rem;box-shadow:0 4px 6px #0000000d}.step-content h2{color:#2d3748;margin-bottom:.5rem;font-size:1.5rem}.step-description{color:#718096;margin-bottom:1.5rem}.form-group{margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:600;color:#4a5568}.form-input{width:100%;padding:.75rem;border:2px solid #e2e8f0;border-radius:8px;font-size:1rem;transition:border-color .2s,box-shadow .2s;background:#fff}.form-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.file-input{padding:.5rem}.file-help{font-size:.8rem;color:#718096;margin-top:.25rem;margin-bottom:0}.selected-file{display:flex;align-items:center;gap:.5rem;margin-top:.5rem;padding:.5rem;background:#f7fafc;border-radius:6px;border:1px solid #e2e8f0}.file-icon{font-size:1.2rem}.file-name{font-weight:500;color:#4a5568}.questions-list{margin-bottom:1.5rem}.question-item{background:#f8f9fa;border:1px solid #e9ecef;border-radius:8px;padding:1rem;margin-bottom:1rem}.question-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.question-number{font-weight:600;color:#495057}.answer-status{background:#d4edda;color:#155724;padding:.25rem .5rem;border-radius:4px;font-size:.8rem;font-weight:500;border:1px solid #c3e6cb}.qa-content{margin-top:.5rem}.question-section,.answer-section{margin-bottom:1rem}.question-section:last-child,.answer-section:last-child{margin-bottom:0}.question-section label,.answer-section label{display:block;margin-bottom:.5rem;font-weight:600;color:#4a5568;font-size:.9rem}.answer-textarea{width:100%;padding:.75rem;border:1px solid #ced4da;border-radius:6px;font-size:.9rem;font-family:inherit;resize:vertical;min-height:100px;background:#f8f9fa}.answer-textarea:focus{outline:none;border-color:#28a745;box-shadow:0 0 0 2px #28a7451a;background:#fff}.question-textarea{width:100%;padding:.75rem;border:1px solid #ced4da;border-radius:6px;font-size:.9rem;font-family:inherit;resize:vertical;min-height:80px}.question-textarea:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 2px #667eea1a}.question-actions{text-align:center;margin-bottom:1.5rem}.summary{background:#f8f9fa;border:1px solid #e9ecef;border-radius:8px;padding:1rem;margin-bottom:1.5rem}.summary h3{margin-top:0;margin-bottom:.5rem;color:#495057}.summary p{margin:.25rem 0;color:#6c757d}.btn{padding:.75rem 1.5rem;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:.5rem}.btn:disabled{opacity:.6;cursor:not-allowed}.btn-primary{background:#667eea;color:#fff}.btn-primary:hover:not(:disabled){background:#5a67d8;transform:translateY(-1px);box-shadow:0 4px 12px #667eea4d}.btn-secondary{background:#e2e8f0;color:#4a5568}.btn-secondary:hover:not(:disabled){background:#cbd5e0;transform:translateY(-1px)}.btn-danger{background:#f56565;color:#fff}.btn-danger:hover:not(:disabled){background:#e53e3e}.btn-small{padding:.5rem 1rem;font-size:.9rem}.step-navigation{display:flex;justify-content:space-between;align-items:center;margin-top:2rem;padding-top:1.5rem;border-top:1px solid #e2e8f0}@media (max-width: 768px){.question-upload{padding:1rem}.upload-container{padding:1.5rem}.upload-title{font-size:2rem}.step-indicator{flex-direction:column;gap:.5rem}.step:not(:last-child):after{display:none}.step-navigation{flex-direction:column;gap:1rem}.step-navigation .btn{width:100%}}.progress-container{margin:1rem 0;text-align:center}.progress-bar{width:100%;height:8px;background:#e2e8f0;border-radius:4px;overflow:hidden;margin-bottom:.5rem}.progress-fill{height:100%;background:linear-gradient(90deg,#667eea,#764ba2);transition:width .3s ease}.progress-text{font-size:.9rem;color:#4a5568;font-weight:600}.loading-spinner{width:16px;height:16px;border:2px solid transparent;border-top:2px solid currentColor;border-radius:50%;animation:spin 1s linear infinite;display:inline-block}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.btn-outline{background:transparent;color:#667eea;border:2px solid #667eea}.btn-outline:hover:not(:disabled){background:#667eea;color:#fff;transform:translateY(-1px);box-shadow:0 4px 12px #667eea4d}.form-input select{appearance:none;background-image:url("data:image/svg+xml;charset=US-ASCII,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'><path fill='%23666' d='M2 0L0 2h4zm0 5L0 3h4z'/></svg>");background-repeat:no-repeat;background-position:right 12px center;background-size:12px;padding-right:40px}.step-indicator{display:flex;justify-content:center;align-items:center;margin-bottom:2rem;gap:2rem;position:relative}.step{display:flex;flex-direction:column;align-items:center;gap:.5rem;position:relative;min-width:80px}.step:not(:last-child):after{content:"";position:absolute;top:15px;left:calc(100% + 10px);width:calc(2rem - 20px);height:2px;background:#e2e8f0;z-index:1}.step.active:not(:last-child):after{background:linear-gradient(90deg,#667eea,#764ba2)}.file-upload-area{border:2px dashed #cbd5e0;border-radius:12px;padding:2rem;text-align:center;transition:all .3s ease;cursor:pointer}.file-upload-area:hover{border-color:#667eea;background:#f7fafc}.file-upload-area.dragover{border-color:#667eea;background:#ebf4ff;transform:scale(1.02)}.summary{background:linear-gradient(135deg,#f8f9fa,#fff);border:1px solid #e9ecef;border-radius:12px;padding:1.5rem;margin-bottom:1.5rem;box-shadow:0 2px 4px #0000000d}.summary h3{margin-top:0;margin-bottom:1rem;color:#2d3748;font-size:1.1rem;font-weight:600}.summary p{margin:.5rem 0;color:#4a5568;display:flex;justify-content:space-between;align-items:center}.summary p strong{color:#2d3748}.step-content{animation:slideIn .3s ease-out}@keyframes slideIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.message{animation:fadeIn .3s ease-out}@keyframes fadeIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@media (max-width: 480px){.upload-container,.step-content{padding:1rem}.step-indicator{gap:1rem}.step:not(:last-child):after{width:calc(1rem - 20px)}}.debug-toggle{position:fixed;bottom:20px;right:20px;background:#667eea;color:#fff;border:none;padding:12px 20px;border-radius:25px;cursor:pointer;font-size:14px;font-weight:600;box-shadow:0 4px 12px #00000026;transition:all .3s ease;z-index:1000}.debug-toggle:hover{background:#764ba2;transform:translateY(-2px);box-shadow:0 6px 20px #0003}.debug-panel{position:fixed;bottom:20px;right:20px;width:400px;max-height:500px;background:#fff;border-radius:12px;box-shadow:0 8px 32px #00000026;border:1px solid #e1e8ed;overflow:hidden;z-index:1000}.debug-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:15px 20px;display:flex;justify-content:space-between;align-items:center}.debug-header h3{margin:0;font-size:16px;font-weight:600}.debug-close{background:none;border:none;color:#fff;cursor:pointer;font-size:18px;font-weight:700;padding:5px;border-radius:4px;transition:background-color .3s ease}.debug-close:hover{background:#fff3}.debug-content{max-height:400px;overflow-y:auto;padding:20px}.debug-section{margin-bottom:20px}.debug-section:last-child{margin-bottom:0}.debug-section h4{margin:0 0 12px;font-size:14px;color:#2c3e50;font-weight:600}.debug-empty{color:#999;font-size:13px;margin:0;font-style:italic}.debug-cache-list,.debug-loading-list,.debug-error-list{display:flex;flex-direction:column;gap:8px}.debug-cache-item,.debug-loading-item,.debug-error-item{display:flex;align-items:center;gap:12px;padding:10px;background:#f8f9fa;border-radius:6px;border-left:3px solid #ddd}.debug-cache-item{border-left-color:#27ae60}.debug-loading-item{border-left-color:#f39c12}.debug-error-item{border-left-color:#e74c3c}.debug-type{font-weight:600;font-size:12px;color:#2c3e50;min-width:60px}.debug-count{font-size:12px;color:#666;flex:1}.debug-status{font-size:11px;padding:4px 8px;border-radius:12px;font-weight:600;text-transform:uppercase}.debug-status.cached{background:#d4edda;color:#155724}.debug-status.loading{background:#fff3cd;color:#856404}.debug-status.error{background:#f8d7da;color:#721c24}@media (max-width: 768px){.debug-panel{width:calc(100vw - 40px);right:20px;left:20px}.debug-toggle{right:20px}}.app-header{background:linear-gradient(135deg,#667eea,#764ba2);box-shadow:0 2px 10px #0000001a;position:sticky;top:0;z-index:1000}.header-content{max-width:1200px;margin:0 auto;padding:0 20px;display:flex;justify-content:space-between;align-items:center;height:60px}.header-left .app-title-link{text-decoration:none;color:inherit}.header-left .app-title{color:#fff;margin:0;font-size:20px;font-weight:600}.header-right{display:flex;align-items:center;gap:20px}.header-nav{display:flex;gap:15px}.nav-link{color:#fff;text-decoration:none;font-size:14px;font-weight:500;padding:6px 12px;border-radius:4px;transition:background-color .3s ease}.nav-link:hover{background-color:#ffffff1a}.nav-link.disabled{opacity:.5;cursor:not-allowed;pointer-events:none}.nav-link.disabled:hover{background-color:transparent}.header-right .user-info{display:flex;align-items:center;gap:15px}.welcome-text{color:#fff;font-size:14px;font-weight:500}.logout-button{background:#fff3;color:#fff;border:1px solid rgba(255,255,255,.3);padding:6px 12px;border-radius:6px;font-size:12px;cursor:pointer;transition:all .3s ease}.logout-button:hover{background:#ffffff4d;border-color:#ffffff80;transform:translateY(-1px)}.logout-button:active{transform:translateY(0)}.login-container{min-height:100vh;width:100vw;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2);padding:20px}.login-card{background:#fff;border-radius:12px;box-shadow:0 15px 35px #0000001a;padding:40px;height:40vh;width:40vw;text-align:center}.login-card h1{color:#333;margin-bottom:8px;font-size:28px;font-weight:600}.login-subtitle{color:#666;margin-bottom:30px;font-size:14px}.login-form{text-align:left}.form-group{margin-bottom:20px}.form-group label{display:block;margin-bottom:8px;color:#333;font-weight:500;font-size:14px}.form-group input{width:100%;padding:12px 16px;border:2px solid #e1e5e9;border-radius:8px;font-size:16px;transition:border-color .3s ease;box-sizing:border-box}.form-group input:focus{outline:none;border-color:#667eea}.form-group input:disabled{background-color:#f5f5f5;cursor:not-allowed}.login-button{width:100%;padding:14px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}.login-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 25px #667eea4d}.login-button:active:not(:disabled){transform:translateY(0)}.login-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.error-message{background-color:#fef2f2;color:#dc2626;padding:12px 16px;border-radius:8px;margin-bottom:20px;font-size:14px;border:1px solid #fecaca;border-left:4px solid #dc2626;display:flex;align-items:center;gap:8px;animation:shake .3s ease-in-out;box-shadow:0 2px 8px #dc26261a}.error-message:before{content:"⚠️";font-size:16px}@keyframes shake{0%,to{transform:translate(0)}25%{transform:translate(-5px)}75%{transform:translate(5px)}}.success-message{background-color:#f0fdf4;color:#166534;padding:12px 16px;border-radius:8px;margin-bottom:20px;font-size:14px;border:1px solid #bbf7d0;border-left:4px solid #16a34a;display:flex;align-items:center;gap:8px;animation:slideIn .3s ease-in-out;box-shadow:0 2px 8px #16a34a1a}.success-message:before{content:"✅";font-size:16px}@keyframes slideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.login-info{margin-top:30px;padding-top:20px;border-top:1px solid #eee}.login-info p{color:#666;font-size:12px;margin:0;background-color:#f8f9fa;padding:12px;border-radius:6px}.user-profile{max-width:800px;margin:20px auto;padding:20px;background:#fff;border-radius:12px;box-shadow:0 4px 6px #0000001a}.profile-header{border-bottom:1px solid #e1e5e9;padding-bottom:20px;margin-bottom:30px}.profile-header h2{color:#333;margin-bottom:15px;font-size:24px}.user-info{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px}.user-info p{margin:5px 0;color:#666;font-size:14px}.user-info strong{color:#333}.update-section{margin-bottom:30px;padding:20px;background:#f8f9fa;border-radius:8px;border-left:4px solid #667eea}.update-section h3{color:#333;margin-bottom:15px;font-size:18px}.update-form{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.update-input{flex:1;min-width:200px;padding:10px 14px;border:2px solid #e1e5e9;border-radius:6px;font-size:14px;transition:border-color .3s ease}.update-input:focus{outline:none;border-color:#667eea}.update-input:disabled{background-color:#f5f5f5;cursor:not-allowed}.update-button{padding:10px 20px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .3s ease;white-space:nowrap}.update-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #667eea4d}.update-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.action-buttons{display:flex;gap:12px;flex-wrap:wrap}.action-button{padding:8px 16px;border:2px solid #e1e5e9;background:#fff;color:#333;border-radius:6px;font-size:14px;cursor:pointer;transition:all .3s ease}.action-button:hover:not(:disabled){border-color:#667eea;background:#f8f9ff}.action-button.liked{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-color:#667eea}.action-button.liked:hover:not(:disabled){background:linear-gradient(135deg,#5a6fd8,#6a4190)}.action-button:disabled{opacity:.6;cursor:not-allowed}.message{margin-top:20px;padding:12px 16px;border-radius:6px;font-size:14px;font-weight:500}.message.success{background-color:#d4edda;color:#155724;border:1px solid #c3e6cb}.message.error{background-color:#f8d7da;color:#721c24;border:1px solid #f5c6cb}.liked-questions-list{margin-top:15px}.liked-questions-list ul{list-style-type:none;padding-left:0}.liked-question-item{background-color:#fff;padding:10px 15px;border-radius:6px;margin-bottom:8px;border:1px solid #e1e5e9;font-size:14px;color:#333;cursor:pointer;transition:all .2s ease-in-out}.liked-question-item:hover{border-color:#667eea;background-color:#f8f9ff;transform:translateY(-2px);box-shadow:0 4px 8px #0000000d}@media (max-width: 768px){.user-profile{margin:10px;padding:15px}.update-form{flex-direction:column;align-items:stretch}.update-input{min-width:unset}.action-buttons{flex-direction:column}.user-info{grid-template-columns:1fr}}.admin-panel{max-width:1200px;margin:0 auto;padding:20px;background-color:#f9f9f9;min-height:100vh}.admin-header{background:#fff;padding:30px;border-radius:12px;box-shadow:0 2px 10px #0000001a;margin-bottom:30px;text-align:center}.admin-header h1{color:#2c3e50;margin:0 0 10px;font-size:2.5rem;font-weight:600}.admin-header p{color:#7f8c8d;margin:0;font-size:1.1rem}.alert{padding:15px;border-radius:8px;margin-bottom:20px;font-weight:500;border-left:4px solid}.alert-error{background-color:#fee;color:#c53030;border-left-color:#e53e3e}.alert-success{background-color:#f0fff4;color:#38a169;border-left-color:#48bb78}.topic-filter{background:#fff;padding:25px;border-radius:12px;box-shadow:0 2px 10px #0000001a;margin-bottom:30px;display:flex;align-items:center;gap:15px;flex-wrap:wrap}.topic-filter label{font-weight:600;color:#2c3e50;font-size:1.1rem}.topic-select{padding:12px 16px;border:2px solid #e1e8ed;border-radius:8px;font-size:1rem;background:#fff;color:#2c3e50;cursor:pointer;transition:all .3s ease;min-width:200px}.topic-select:focus{outline:none;border-color:#3498db;box-shadow:0 0 0 3px #3498db1a}.clear-filter-btn{padding:10px 20px;background:#e74c3c;color:#fff;border:none;border-radius:6px;font-weight:500;cursor:pointer;transition:all .3s ease}.clear-filter-btn:hover{background:#c0392b;transform:translateY(-1px)}.questions-container{display:flex;flex-direction:column;gap:20px}.loading{text-align:center;padding:40px;font-size:1.2rem;color:#7f8c8d}.no-questions{text-align:center;padding:60px;background:#fff;border-radius:12px;color:#7f8c8d;font-size:1.2rem;box-shadow:0 2px 10px #0000001a}.question-card{background:#fff;border-radius:12px;box-shadow:0 2px 10px #0000001a;overflow:hidden;transition:all .3s ease}.question-card:hover{box-shadow:0 4px 20px #00000026;transform:translateY(-2px)}.question-header{display:flex;justify-content:space-between;align-items:center;padding:20px 25px;background:#f8f9fa;border-bottom:1px solid #e9ecef}.question-topic{background:#3498db;color:#fff;padding:8px 16px;border-radius:20px;font-size:.9rem;font-weight:500}.question-actions{display:flex;gap:10px}.edit-btn,.delete-btn,.save-btn{padding:8px 16px;border:none;border-radius:6px;font-weight:500;cursor:pointer;transition:all .3s ease;font-size:.9rem}.edit-btn{background:#f39c12;color:#fff}.edit-btn:hover{background:#e67e22;transform:translateY(-1px)}.delete-btn{background:#e74c3c;color:#fff}.delete-btn:hover{background:#c0392b;transform:translateY(-1px)}.delete-btn:disabled{background:#bdc3c7;cursor:not-allowed;transform:none}.save-btn{background:#27ae60;color:#fff;padding:12px 24px;font-size:1rem}.save-btn:hover{background:#229954;transform:translateY(-1px)}.save-btn:disabled{background:#bdc3c7;cursor:not-allowed;transform:none}.question-content{padding:25px}.view-mode{display:flex;flex-direction:column;gap:20px}.question-text strong,.answer-section strong,.accuracy-stats strong{color:#2c3e50;font-size:1.1rem;display:block;margin-bottom:8px}.question-text p,.answer-section p{color:#5a6c7d;line-height:1.6;margin:0 0 15px;padding:15px;background:#f8f9fa;border-radius:8px;border-left:4px solid #3498db}.accuracy-stats{display:flex;align-items:center;gap:10px}.accuracy-stats span{background:#e8f4fd;color:#2980b9;padding:8px 16px;border-radius:20px;font-weight:600}.faq-badge{background:#9b59b6;color:#fff;padding:6px 12px;border-radius:15px;font-size:.8rem;font-weight:600;align-self:flex-start;text-transform:uppercase}.edit-form{display:flex;flex-direction:column;gap:25px}.form-group{display:flex;flex-direction:column;gap:8px}.form-group label{font-weight:600;color:#2c3e50;font-size:1rem}.form-textarea,.form-select{padding:12px 16px;border:2px solid #e1e8ed;border-radius:8px;font-size:1rem;font-family:inherit;background:#fff;transition:all .3s ease;resize:vertical}.form-textarea:focus,.form-select:focus{outline:none;border-color:#3498db;box-shadow:0 0 0 3px #3498db1a}.form-textarea{min-height:100px;line-height:1.5}.checkbox-label{display:flex!important;flex-direction:row!important;align-items:center;gap:10px;cursor:pointer;font-weight:500!important}.checkbox-label input[type=checkbox]{width:18px;height:18px;cursor:pointer}.form-actions{padding-top:20px;border-top:1px solid #e9ecef}@media (max-width: 768px){.admin-panel{padding:15px}.admin-header{padding:20px}.admin-header h1{font-size:2rem}.topic-filter{flex-direction:column;align-items:stretch;padding:20px}.topic-select{min-width:unset}.question-header{flex-direction:column;gap:15px;align-items:stretch}.question-actions{justify-content:center}.question-content{padding:20px}}@media (max-width: 480px){.admin-panel{padding:10px}.admin-header{padding:15px}.admin-header h1{font-size:1.8rem}.topic-filter,.question-content{padding:15px}}.generate-btn{background:linear-gradient(135deg,#4caf50,#45a049);color:#fff;border:none;padding:8px 16px;border-radius:6px;cursor:pointer;font-size:.9rem;font-weight:500;transition:all .3s ease;margin-left:8px}.generate-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #4caf504d}.generate-btn:disabled{background:#bbb;cursor:not-allowed;transform:none;box-shadow:none}.comparison-section{background:#f8f9fa;border:2px solid #e9ecef;border-radius:12px;padding:20px;margin:20px 0}.comparison-section h4{color:#495057;margin:0 0 15px;font-size:1.2rem;font-weight:600}.comparison-content{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:20px}.original-content,.generated-content{background:#fff;padding:15px;border-radius:8px;border:1px solid #dee2e6}.original-content{border-left:4px solid #007bff}.generated-content{border-left:4px solid #28a745}.original-content strong,.generated-content strong{color:#495057;display:block;margin-bottom:8px;font-size:.95rem}.original-content p,.generated-content p{margin:0;color:#6c757d;line-height:1.5}.comparison-actions{display:flex;gap:10px;justify-content:center}.keep-original-btn,.use-generated-btn{padding:10px 20px;border-radius:8px;font-weight:500;cursor:pointer;transition:all .3s ease;border:none}.keep-original-btn{background:linear-gradient(135deg,#007bff,#0056b3);color:#fff}.keep-original-btn:hover{background:linear-gradient(135deg,#0056b3,#004085);transform:translateY(-2px);box-shadow:0 4px 12px #007bff4d}.use-generated-btn{background:linear-gradient(135deg,#28a745,#1e7e34);color:#fff}.use-generated-btn:hover{background:linear-gradient(135deg,#1e7e34,#155724);transform:translateY(-2px);box-shadow:0 4px 12px #28a7454d}@media (max-width: 768px){.comparison-content{grid-template-columns:1fr;gap:15px}.comparison-actions{flex-direction:column}.question-actions{flex-wrap:wrap;gap:8px}.generate-btn{margin-left:0;margin-top:8px}}
