: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;padding:0;width:100%;min-height:100vh;overflow-x:hidden}#root{width:100%;min-height:100vh;margin:0;padding:0}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}}.auth-container{min-height:100vh;width:100vw;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2);padding:20px;box-sizing:border-box;position:fixed;top:0;left:0;right:0;bottom:0}.auth-card{background:#fff;border-radius:16px;box-shadow:0 20px 40px #0000001a;padding:40px;width:100%;max-width:450px;animation:slideUp .5s ease-out;box-sizing:border-box}@keyframes slideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.auth-header{text-align:center;margin-bottom:32px}.auth-header h1{color:#2d3748;font-size:28px;font-weight:700;margin:0 0 8px}.auth-header p{color:#718096;font-size:16px;margin:0}.auth-form{display:flex;flex-direction:column;gap:20px}.form-group{display:flex;flex-direction:column;gap:8px}.form-group label{color:#2d3748;font-weight:600;font-size:14px}.form-group input{padding:12px 16px;border:2px solid #e2e8f0;border-radius:8px;font-size:16px;transition:all .2s ease;background:#f7fafc;box-sizing:border-box;width:100%}.form-group input:focus{outline:none;border-color:#667eea;background:#fff;box-shadow:0 0 0 3px #667eea1a}.form-group input:disabled{background:#f1f5f9;color:#94a3b8;cursor:not-allowed}.auth-button{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;padding:14px 24px;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s ease;margin-top:8px;width:100%;box-sizing:border-box}.auth-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 25px #667eea4d}.auth-button:active:not(:disabled){transform:translateY(0)}.auth-button:disabled{opacity:.6;cursor:not-allowed;transform:none;box-shadow:none}.auth-footer{text-align:center;margin-top:24px;padding-top:24px;border-top:1px solid #e2e8f0}.auth-footer p{color:#718096;margin:0}.auth-link{color:#667eea;text-decoration:none;font-weight:600;transition:color .2s ease}.auth-link:hover{color:#5a67d8;text-decoration:underline}.error-message{background:#fed7d7;color:#c53030;padding:12px 16px;border-radius:8px;border:1px solid #feb2b2;font-size:14px;font-weight:500}.success-message{background:#c6f6d5;color:#22543d;padding:20px;border-radius:8px;border:1px solid #9ae6b4;text-align:center}.success-message p{margin:8px 0;line-height:1.6}.success-icon{width:64px;height:64px;margin:0 auto 16px;color:#38a169}.info-text{font-size:14px;color:#4a5568;margin-top:12px}.forgot-password-link{text-align:right;margin-top:4px}.forgot-password-link .auth-link{font-size:14px;font-weight:500}.loading-spinner{width:48px;height:48px;margin:32px auto;border:4px solid #e2e8f0;border-top:4px solid #667eea;border-radius:50%;animation:spin .8s linear infinite}@media (max-width: 480px){.auth-container{padding:16px}.auth-card{padding:24px;max-width:none;margin:0}.auth-header h1{font-size:24px}.form-group input{font-size:16px}}@media (max-width: 320px){.auth-card{padding:20px}.auth-header h1{font-size:22px}.auth-button{padding:12px 20px;font-size:14px}}.app-header{display:flex;align-items:center;padding:6px 25px;border-bottom:1px solid #f1f1f1;background:#fff;width:100%;box-sizing:border-box}.app-header.course-generation-header{background:#fff;border-bottom:1px solid #f1f1f1;padding:12px 50px;width:100%;box-sizing:border-box}.app-header.course-generation-header .main-title,.app-header.course-generation-header .subtitle{color:#212529}.app-header.course-generation-header .logo{background:linear-gradient(135deg,#6f42c1,#8b5cf6);border:none;box-shadow:0 4px 8px #6f42c14d}.app-header.course-generation-header .menu-button{background:#fff;border:1px solid #dee2e6}.app-header.course-generation-header .menu-button:hover{background-color:#f8f9fa;border-color:#6f42c1}.app-header.course-generation-header .hamburger-icon span{background-color:#6c757d}.app-header.course-generation-header .menu-button:hover .hamburger-icon span{background-color:#6f42c1}.logo-link{text-decoration:none;margin-right:25px}.logo{width:40px;height:40px;background:linear-gradient(135deg,#6f42c1,#8b5cf6);border-radius:8px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:20px;font-weight:700;box-shadow:0 4px 8px #6f42c14d;transition:transform .2s ease}.logo:hover{transform:scale(1.05)}.header-center{flex:1;text-align:center}.main-title{font-size:26px;font-weight:700;color:#212529;margin-bottom:2px}.subtitle{font-size:12px;color:#6c757d;font-weight:400}.auth-buttons{display:flex;gap:12px;align-items:center}.auth-button{padding:10px 20px;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease;border:none;text-decoration:none}.login-button{background:transparent;color:#6f42c1;border:1px solid #6f42c1}.login-button:hover{background:#6f42c1;color:#fff}.register-button{background:linear-gradient(135deg,#6f42c1,#8b5cf6);color:#fff}.register-button:hover{transform:translateY(-2px);box-shadow:0 4px 15px #6f42c14d}.user-avatar{width:36px;height:36px;background:linear-gradient(135deg,#6f42c1,#8b5cf6);border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:14px;font-weight:600}.menu-button{background:transparent;border:none;border-radius:50%;padding:0;cursor:pointer;display:flex;align-items:center;justify-content:center;width:44px;height:44px;transition:all .2s ease}.menu-button:hover{transform:scale(1.05)}.menu-button:active{transform:scale(.95)}.hamburger-icon{display:flex;flex-direction:column;gap:3px;width:18px;height:14px}.hamburger-icon span{display:block;height:2px;width:100%;background-color:#6c757d;border-radius:1px;transition:all .2s ease}.menu-button:hover .hamburger-icon span{background-color:#6f42c1}.dropdown-menu{position:absolute;top:calc(100% + 8px);right:0;background:#fff;border-radius:12px;box-shadow:0 8px 25px #00000026;border:1px solid #e9ecef;min-width:220px;z-index:1000;overflow:hidden;animation:dropdownFadeIn .2s ease-out}.menu-user-info{padding:16px 18px;border-bottom:1px solid #f8f9fa;background:#f8f9fa}.menu-username{display:block;font-weight:600;color:#2d3748;font-size:14px}.menu-email{display:block;color:#718096;font-size:12px;margin-top:2px}.menu-item{display:flex;align-items:center;padding:14px 18px;color:#333;text-decoration:none;font-size:15px;border-bottom:1px solid #f8f9fa;transition:all .2s ease;background:none;border-left:none;border-right:none;border-top:none;width:100%;text-align:left;cursor:pointer}.menu-item:last-child{border-bottom:none}.menu-item:hover{background-color:#f8f9fa;color:#6f42c1;padding-left:22px}.logout-item{color:#e53e3e}.logout-item:hover{background-color:#fed7d7;color:#c53030}@media (max-width: 768px){.app-header,.app-header.course-generation-header{padding:10px 20px}.logo-link{margin-right:15px}.logo{width:32px;height:32px;font-size:16px}.header-center{text-align:left}.main-title{font-size:20px}.subtitle{font-size:10px}.auth-buttons{gap:8px}.auth-button{padding:6px 12px;font-size:12px}.dropdown-menu{min-width:180px}}html,body{margin:0;padding:0;width:100%;height:100%;overflow-x:hidden}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background-color:#f8f9fa;color:#333;min-height:100vh}.App{width:100vw;min-height:100vh;display:flex;flex-direction:column;background-color:#fff;position:relative;overflow-x:hidden}.notifications-container{position:fixed;top:20px;right:20px;z-index:1000;display:flex;flex-direction:column;gap:10px;max-width:400px}.notification{background:#fff;border-radius:8px;padding:16px 20px;box-shadow:0 4px 12px #00000026;border-left:4px solid;display:flex;align-items:center;justify-content:space-between;cursor:pointer;transition:all .3s ease;animation:slideIn .3s ease-out}.notification:hover{transform:translate(-5px);box-shadow:0 6px 20px #0003}.notification.success{border-left-color:#28a745;background:linear-gradient(135deg,#d4edda,#fff)}.notification.error{border-left-color:#dc3545;background:linear-gradient(135deg,#f8d7da,#fff)}.notification-message{flex:1;font-size:14px;line-height:1.4;color:#333;margin-right:10px}.notification.success .notification-message{color:#155724}.notification.error .notification-message{color:#721c24}.notification-close{background:none;border:none;font-size:18px;color:#999;cursor:pointer;padding:0;width:20px;height:20px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .2s ease}.notification-close:hover{background-color:#0000001a;color:#666}.app-main{flex:1;display:flex;align-items:center;justify-content:center;padding:40px 20px}.course-form{width:100%;max-width:500px;border:1px solid #e9ecef;border-radius:10px;padding:30px;box-shadow:0 2px 6px #0000000d}.form-title{font-size:24px;font-weight:600;color:#212529;margin-bottom:12px}.form-description{font-size:15px;color:#6c757d;margin-bottom:25px;line-height:1.5}.form-group{margin-bottom:20px}.form-label{display:block;font-size:14px;font-weight:500;color:#495057;margin-bottom:8px}.form-input,.form-select{width:100%;padding:12px 16px;border:1px solid #ced4da;border-radius:6px;font-size:15px;background:#fff;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}.form-input:focus,.form-select:focus{outline:none;border-color:#6f42c1;box-shadow:0 0 0 3px #6f42c11a}.form-input::placeholder{color:#adb5bd}.character-counter{font-size:12px;color:#6c757d;text-align:right;margin-top:4px;transition:color .2s ease}.character-counter.over-limit{color:#dc3545;font-weight:500}.character-counter.under-limit{color:#fd7e14}.counter-hint{font-size:11px;color:#fd7e14;font-weight:500}.form-select-wrapper{position:relative;display:inline-block;width:100%}.form-select-wrapper:after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid #6c757d;pointer-events:none}.form-select{cursor:pointer;color:#6c757d;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#fff;padding-right:30px;position:relative}.form-select option{color:#333}.submit-button{background:#4f46e5;color:#fff;border:none;border-radius:6px;padding:10px 24px;font-size:15px;font-weight:500;cursor:pointer;transition:background-color .15s ease-in-out;display:block;margin-left:auto}.submit-button:hover{background:#4338ca}.submit-button:active{transform:translateY(1px)}@media (max-width: 768px){.app-header{flex-direction:column;padding:20px}.logo{margin-right:0;margin-bottom:20px}.header-center{margin-bottom:20px}.app-main,.course-form{padding:20px}}.search-specializations-page{min-height:100vh;background:#fff}.search-specializations-page .page-content{padding:2rem 0}.search-specializations-page .container{max-width:1200px;margin:0 auto;padding:0 1rem}.page-header{display:flex;align-items:center;gap:1rem;margin-bottom:2rem}.page-header h1{color:#2d3748;margin:0;font-size:2rem;font-weight:600}.search-section{background:#f7fafc;border-radius:12px;padding:1.25rem;margin-bottom:2rem;border:1px solid #e2e8f0}.search-form{max-width:1100px;margin:0 auto}.form-row{display:flex;gap:1.5rem;margin-bottom:.75rem}.form-row:last-of-type{margin-bottom:1rem}.form-row.single-row{margin-bottom:1rem}.form-group{flex:1}.form-group.topic{flex:2}.form-group label{display:block;margin-bottom:.375rem;color:#2d3748;font-weight:500;font-size:.875rem}.form-group input,.form-group select{width:100%;padding:.75rem 1rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.9rem;transition:border-color .3s ease,box-shadow .3s ease;background:#fff}.form-group input:focus,.form-group select:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.form-group input::placeholder{color:#a0aec0}.form-actions{display:flex;justify-content:center;gap:1rem;align-items:center}.search-button{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:.875rem 2rem;border-radius:8px;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .3s ease;min-width:160px}.search-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 25px #667eea4d}.search-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.results-section{margin-top:2rem}.results-header{margin-bottom:2rem;text-align:center}.results-header h2{color:#2d3748;margin:0 0 .5rem;font-size:1.5rem;font-weight:600}.results-header p{color:#4a5568;font-size:1rem;margin:0}.loading{text-align:center;padding:3rem 0;color:#4a5568}.spinner{width:40px;height:40px;border:4px solid #e2e8f0;border-top:4px solid #667eea;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 1rem}.error{text-align:center;padding:2rem;color:#e53e3e;background:#fed7d7;border-radius:8px;margin-bottom:2rem}.error p{margin:0;font-size:1rem}.specializations-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:1.5rem;margin-bottom:3rem;align-items:stretch}.specialization-card{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 4px 20px #0000001a;transition:all .3s ease;border:1px solid rgba(0,0,0,.05);display:flex;flex-direction:column;height:100%;min-height:280px;cursor:pointer;position:relative;outline:none}.specialization-card:hover{transform:translateY(-2px);box-shadow:0 8px 30px #00000026;border-color:#667eea}.specialization-card:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.specialization-card.subscribing{pointer-events:none;opacity:.8}.card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem;gap:1rem}.card-header h3{margin:0;font-size:1.25rem;font-weight:600;color:#2d3748;line-height:1.3;flex:1}.card-badges{display:flex;flex-direction:column;gap:.5rem;flex-shrink:0}.level-badge{background:#e2e8f0;color:#4a5568;padding:.25rem .75rem;border-radius:20px;font-size:.75rem;font-weight:500;text-transform:capitalize}.private-badge{background:#fed7d7;color:#c53030;padding:.25rem .75rem;border-radius:20px;font-size:.75rem;font-weight:500}.description{color:#4a5568;margin-bottom:1.5rem;line-height:1.5;font-size:.95rem;flex-grow:1;overflow:hidden;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical}.card-stats{display:flex;gap:2rem;margin-bottom:1.5rem;margin-top:auto}.stat{text-align:center}.stat-value{display:block;font-size:1.5rem;font-weight:600;color:#2d3748;line-height:1}.stat-label{font-size:.75rem;color:#4a5568;text-transform:uppercase;letter-spacing:.5px}.stat-icon{font-size:1.2rem;margin-right:.5rem}.loading-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background:#ffffffe6;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:12px;gap:.5rem}.loading-spinner{width:24px;height:24px;border:2px solid #e2e8f0;border-top:2px solid #667eea;border-radius:50%;animation:spin 1s linear infinite}.loading-overlay span{color:#4a5568;font-size:.9rem;font-weight:500}.create-new-section{text-align:center;padding:2rem 0;margin-top:2rem;clear:both}.divider{position:relative;margin:2rem 0}.divider:before{content:"";position:absolute;top:50%;left:0;right:0;height:1px;background:#e2e8f0}.divider span{background:#fff;color:#4a5568;padding:0 1rem;position:relative;z-index:1;font-size:.9rem}.create-new-button{background:#fff;color:#667eea;border:2px solid #667eea;padding:.75rem 1.5rem;border-radius:8px;font-size:.9rem;font-weight:500;cursor:pointer;transition:all .3s ease}.create-new-button:hover:not(:disabled){background:#667eea;color:#fff;transform:translateY(-2px)}.create-new-button:disabled{opacity:.5;cursor:not-allowed;transform:none}.create-new-button.large{padding:1rem 2rem;font-size:1rem}.create-new-description{color:#4a5568;margin-top:1rem;font-size:.9rem}.no-results{text-align:center;padding:3rem 0}.no-results h2{color:#2d3748;margin:0 0 1rem;font-size:1.5rem;font-weight:600}.no-results p{color:#4a5568;margin-bottom:2rem;font-size:1rem;line-height:1.5}@media (max-width: 768px){.search-specializations-page .container{padding:0 .5rem}.page-header{flex-direction:column;align-items:flex-start;gap:1rem}.page-header h1{font-size:1.5rem}.search-section{padding:1rem}.form-row{flex-direction:column;gap:0}.form-group.topic{flex:1}.form-actions{flex-direction:column;align-items:stretch}.search-button{width:100%}.specializations-grid{grid-template-columns:1fr;gap:1rem}.card-header{flex-direction:column;align-items:flex-start;gap:.5rem}.card-badges{flex-direction:row}.card-stats{gap:1rem}}.specialization-view-page{min-height:100vh;background:#fff}.specialization-view-page .page-content{padding:2rem 0}.specialization-view-page .container{max-width:1400px;margin:0 auto;padding:0 1rem}.content-layout{display:grid;grid-template-columns:1fr;gap:30px;align-items:start;transition:none}.main-content{min-width:0}.page-header{display:flex;align-items:flex-start;gap:1.5rem;margin-bottom:2rem}.back-button{background:#f7fafc;border:1px solid #e2e8f0;color:#4a5568;padding:.75rem 1rem;border-radius:8px;cursor:pointer;transition:all .3s ease;font-size:.9rem;white-space:nowrap}.back-button:hover{background:#edf2f7;border-color:#cbd5e0;transform:translateY(-1px)}.header-info{flex:1}.header-info h1{color:#2d3748;margin:0 0 .75rem;font-size:2.25rem;font-weight:700;line-height:1.2}.generation-inline{display:inline-flex;align-items:center;gap:8px;margin-top:8px;color:#4a5568}.generation-inline .small-spinner{width:18px;height:18px;border:2px solid #e2e8f0;border-top:2px solid #667eea;border-radius:50%;animation:spin 1s linear infinite}.specialization-meta{display:flex;gap:.75rem;align-items:center}.level-badge{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:.375rem 1rem;border-radius:20px;font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.language-badge{background:#e2e8f0;color:#4a5568;padding:.375rem 1rem;border-radius:20px;font-size:.8rem;font-weight:500}.description-section{margin-bottom:3rem}.description-section p{color:#4a5568;font-size:1.1rem;line-height:1.7;margin:0}.courses-section{margin-bottom:3rem}.courses-section h2{color:#2d3748;font-size:1.75rem;font-weight:600;margin:0 0 1.5rem}.courses-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(350px,1fr));gap:1.5rem}.course-card{background:#fff;border-radius:16px;padding:1.5rem;box-shadow:0 4px 20px #00000014;border:1px solid #e2e8f0;transition:all .3s ease}.course-card:hover{transform:translateY(-2px);box-shadow:0 8px 30px #0000001f}.course-header{margin-bottom:.75rem}.course-header h3{color:#2d3748;font-size:1.3rem;font-weight:600;margin:0 0 .5rem;line-height:1.3}.course-stats{display:flex;gap:.75rem;margin-bottom:1rem}.course-stats .stat{background:#f7fafc;color:#4a5568;padding:.375rem .75rem;border-radius:6px;font-size:.8rem;font-weight:500;white-space:nowrap}.course-description{color:#4a5568;font-size:.9rem;line-height:1.6;margin:0 0 1.5rem}.modules-list{display:grid;gap:.75rem}.module-item{padding:1rem 0;border-bottom:1px solid #e2e8f0;position:relative}.module-item:last-child{border-bottom:none}.module-item h4{color:#4a5568;font-size:.9rem;font-weight:600;margin:0 0 .6rem;text-transform:uppercase;letter-spacing:.5px}.lessons-list{padding-left:0}.lesson-item{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0;border-bottom:1px solid #f1f3f4;transition:all .2s ease}.lesson-item:last-child{border-bottom:none}.lesson-item:hover{background:#667eea05;border-bottom-color:#e2e8f0}.lesson-title{color:#2d3748;font-size:.875rem;font-weight:400;flex:1}.lesson-time{color:#718096;font-size:.8rem;font-weight:500}.actions-section{text-align:center;padding:2rem 0}.action-buttons{display:flex;gap:16px;justify-content:center;align-items:center;flex-wrap:wrap}.primary-button{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:1rem 2.5rem;border-radius:12px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:all .3s ease;min-width:200px}.primary-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 25px #667eea66}.primary-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.secondary-button{background:#fff;color:#667eea;border:2px solid #667eea;padding:1rem 2rem;border-radius:12px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;min-width:180px}.secondary-button:hover:not(:disabled){background:#667eea;color:#fff;transform:translateY(-2px);box-shadow:0 8px 25px #667eea4d}.secondary-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.loading{text-align:center;padding:4rem 0;color:#4a5568}.generation-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem 0 1rem;color:#4a5568}.generation-state .spinner{width:40px;height:40px;border:4px solid #e2e8f0;border-top:4px solid #667eea;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:.75rem}.loading .spinner{width:48px;height:48px;border:4px solid #e2e8f0;border-top:4px solid #667eea;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 1.5rem}.loading p{font-size:1.1rem;margin:0}.error{text-align:center;padding:4rem 0}.error h2{color:#e53e3e;font-size:1.5rem;font-weight:600;margin:0 0 1rem}.error p{color:#4a5568;font-size:1rem;margin:0 0 2rem}@media (max-width: 1200px){.content-layout{grid-template-columns:1fr;gap:20px}.courses-grid{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}}@media (max-width: 768px){.specialization-view-page .container{padding:0 .5rem}.courses-grid{grid-template-columns:1fr;gap:1.25rem}.page-header{flex-direction:column;align-items:flex-start;gap:1rem}.header-info h1{font-size:1.75rem}.specialization-meta{flex-wrap:wrap}.course-card{padding:1.25rem}.module-item{padding:.875rem 0}.lesson-item{flex-direction:column;align-items:flex-start;gap:.25rem;padding:.75rem 0}.lesson-time{align-self:flex-end}.action-buttons{flex-direction:column;gap:12px}.primary-button,.secondary-button{width:100%;max-width:300px}}.my-specializations-page{min-height:100vh;width:100vw;padding:0;margin:0;background-color:#f8f9fa;display:flex;flex-direction:column;overflow-x:hidden}.my-specializations-page .app-header{flex-shrink:0;position:sticky;top:0;z-index:100;width:100%}.page-header h1{font-size:2.5rem;font-weight:700;color:#2d3748;margin-bottom:.5rem}.my-specializations-page .loading{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;gap:1rem;width:100%;padding:2rem}.card-loading{display:inline-flex;align-items:center;gap:8px;color:#4a5568}.card-spinner{width:16px;height:16px;border:2px solid #e2e8f0;border-top:2px solid #667eea;border-radius:50%;animation:spin 1s linear infinite}.my-specializations-page .error{text-align:center;padding:3rem;background:#fed7d7;border-radius:12px;border:1px solid #feb2b2;width:100%;margin:2rem 0}.create-button{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:1rem 2rem;border-radius:12px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:transform .2s,box-shadow .2s}.create-button:hover{transform:translateY(-2px);box-shadow:0 8px 25px #667eea4d}.specializations-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:1.5rem;width:100%;max-width:100%;align-content:start;align-items:start}.specialization-card{background:#fff;border-radius:16px;padding:1.5rem;box-shadow:0 4px 6px #0000000d;border:1px solid #e2e8f0;cursor:pointer;transition:all .3s ease;position:relative;overflow:hidden;height:320px;display:flex;flex-direction:column}.specialization-card:hover{transform:translateY(-4px);box-shadow:0 12px 25px #0000001a;border-color:#4299e1}.specialization-card:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#667eea,#764ba2)}.card-header{display:flex;flex-direction:column;gap:12px;margin-bottom:12px;position:relative}.title-row{display:flex;justify-content:flex-start;align-items:flex-start;gap:12px;padding-right:44px}.specialization-meta{display:flex;gap:8px;align-items:center}.specialization-title{font-size:1.3rem;font-weight:700;color:#2d3748;margin-bottom:0;line-height:1.3}.level-badge,.language-badge{padding:.25rem .75rem;border-radius:12px;font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.level-badge{background:#e6fffa;color:#234e52}.language-badge{background:#fef5e7;color:#744210}.status-badge{padding:.25rem .75rem;border-radius:12px;font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.status-badge.public{background:#e6fffa;color:#065f46}.status-badge.private{background:#fef2f2;color:#991b1b}.status-badge.pending{background:#fefcbf;color:#744210}.status-badge.ready{background:#dcfce7;color:#166534}.status-badge.failed{background:#fee2e2;color:#991b1b}.specialization-description{color:#4a5568;line-height:1.6;margin-bottom:1.5rem;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.error-inline{display:inline-block;background:#fee2e2;color:#991b1b;border:1px solid #fecaca;border-radius:8px;padding:6px 10px;font-size:.85rem;margin:4px 0 8px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.progress-section{margin-bottom:12px}.specialization-card.dimmed{opacity:.7;filter:saturate(.8)}.progress-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.progress-text{font-size:.9rem;color:#4a5568}.progress-percentage{font-weight:700;color:#2d3748;font-size:1rem}.card-footer{border-top:1px solid #e2e8f0;padding-top:1rem;margin-top:auto}.stats{display:flex;justify-content:space-between;gap:1rem}.stat{display:flex;align-items:center;gap:.5rem;font-size:.9rem;color:#718096}.card-menu-container{position:absolute;top:12px;right:12px;z-index:2}.card-menu-button{background:transparent;border:none;padding:4px 8px;border-radius:4px;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;min-width:32px;height:32px}.card-menu-button:hover{background:#f8f9fa}.card-menu-button .dots{font-size:18px;color:#6c757d;font-weight:700;line-height:1;transform:rotate(90deg)}.card-menu-button:hover .dots{color:#6f42c1}.card-dropdown-menu{position:absolute;top:100%;right:0;background:#fff;border-radius:8px;box-shadow:0 4px 12px #00000026;border:1px solid #e9ecef;min-width:140px;z-index:1000;overflow:hidden;animation:dropdownFadeIn .2s ease-out}.card-menu-item{display:flex;align-items:center;gap:8px;padding:12px 16px;background:none;border:none;width:100%;text-align:left;cursor:pointer;font-size:14px;color:#333;transition:background-color .2s ease}.card-menu-item:hover{background-color:#f8f9fa}.card-menu-item.delete-item{color:#e53e3e}.card-menu-item.delete-item:hover{background:#fed7d7}.card-menu-item.edit-item{color:#6f42c1}.card-menu-item.edit-item:hover{background:#e9ecef}.card-menu-item.publish-item{color:#3182ce}.card-menu-item.publish-item:hover{background:#bee3f8}@keyframes dropdownFadeIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@media (min-width: 1200px){.page-content{max-width:1600px;padding:3rem}.specializations-grid{grid-template-columns:repeat(auto-fill,minmax(380px,1fr));gap:2rem}}@media (min-width: 1600px){.page-content{max-width:1800px;padding:4rem}.specializations-grid{grid-template-columns:repeat(auto-fill,minmax(400px,1fr));gap:2.5rem}}@media (max-width: 768px){.page-content{padding:1rem;max-width:100%}.page-header h1{font-size:2rem}.specializations-grid{grid-template-columns:1fr;gap:1rem}.specialization-card{padding:1rem;height:280px}.stats{flex-direction:column;gap:.5rem}.stat{justify-content:center}}@media (max-width: 480px){.page-content{padding:.5rem;max-width:100%}.page-header h1{font-size:1.8rem}.specialization-title{font-size:1.1rem}.empty-state{padding:2rem 1rem}.empty-icon{font-size:3rem}}.specialization-courses-page{min-height:100vh;width:100vw;padding:0;margin:0;background-color:#f8f9fa;display:flex;flex-direction:column;overflow-x:hidden}.specialization-courses-page .app-header{flex-shrink:0;position:sticky;top:0;z-index:100;width:100%}.page-content{flex:1;width:100%;max-width:1400px;margin:0 auto;padding:2rem}.navigation-header{margin-bottom:1rem}.back-button{background:#f7fafc;color:#4a5568;border:1px solid #e2e8f0;padding:.75rem 1.5rem;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s;display:flex;align-items:center;gap:.5rem}.back-button:hover{background:#edf2f7;border-color:#cbd5e0;transform:translate(-2px)}.page-header{margin-bottom:2rem;text-align:center}.page-header h1{font-size:2.5rem;font-weight:700;color:#2d3748;margin-bottom:1rem}.specialization-info{display:flex;justify-content:center;gap:1rem;margin-bottom:1rem}.subtitle{font-size:1.1rem;color:#718096;margin:0}.specialization-courses-page .loading{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;gap:1rem;width:100%;padding:2rem}.spinner{width:40px;height:40px;border:4px solid #e2e8f0;border-top:4px solid #4299e1;border-radius:50%;animation:spin 1s linear infinite}.specialization-courses-page .error{text-align:center;padding:3rem;background:#fed7d7;border-radius:12px;border:1px solid #feb2b2;width:100%;margin:2rem 0}.error h2{color:#c53030;margin-bottom:1rem}.error p{color:#742a2a;margin-bottom:1.5rem}.retry-button{background:#e53e3e;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-weight:600;cursor:pointer;transition:background-color .2s}.retry-button:hover{background:#c53030}.empty-state{text-align:center;padding:4rem 2rem;background:#f7fafc;border-radius:16px;border:2px dashed #cbd5e0}.empty-icon{font-size:4rem;margin-bottom:1rem}.empty-state h2{font-size:1.8rem;color:#2d3748;margin-bottom:1rem}.empty-state p{font-size:1.1rem;color:#718096;margin-bottom:2rem;max-width:500px;margin-left:auto;margin-right:auto}.back-to-spec-button{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:1rem 2rem;border-radius:12px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:transform .2s,box-shadow .2s}.back-to-spec-button:hover{transform:translateY(-2px);box-shadow:0 8px 25px #667eea4d}.courses-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:1.5rem;width:100%;max-width:100%}.course-card{background:#fff;border-radius:16px;padding:1.5rem;box-shadow:0 4px 6px #0000000d;border:1px solid #e2e8f0;cursor:pointer;transition:all .3s ease;position:relative;overflow:hidden}.course-card:hover{transform:translateY(-4px);box-shadow:0 12px 25px #0000001a;border-color:#4299e1}.course-card.locked{opacity:.6;background:#f7fafc;cursor:not-allowed}.course-card.locked:hover{transform:translateY(-2px);box-shadow:0 4px 6px #0000000d;border-color:#e2e8f0}.course-card.completed:before{background:linear-gradient(90deg,#48bb78,#38a169)}.course-card:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#38a169,#48bb78)}.course-card.locked:before{background:#cbd5e0}.course-card .lock-icon{color:#718096;font-size:1rem;margin-right:.25rem}.course-card .check-icon{font-size:1rem;margin-right:.25rem}.course-card .lock-message{margin-top:1rem;padding:.75rem;background-color:#fff5f5;border-left:4px solid #fc8181;border-radius:4px;font-size:.9rem;color:#742a2a;display:flex;align-items:flex-start;gap:.5rem}.course-card .lock-icon-inline{flex-shrink:0;font-size:1rem}.course-card .progress-hint{color:#c53030;font-weight:600}.card-header{display:flex;flex-direction:column;gap:12px;margin-bottom:16px}.title-row{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.course-meta{display:flex;gap:8px;align-items:center}.course-title{font-size:1.25rem;font-weight:600;color:#2d3748;margin:0;line-height:1.4}.level-badge,.language-badge,.order-badge{font-size:.75rem;font-weight:600;padding:4px 8px;border-radius:6px;text-transform:uppercase;letter-spacing:.5px}.level-badge{background:#e3f2fd;color:#1565c0}.language-badge{background:#f3e5f5;color:#7b1fa2}.order-badge{background:#e8f5e8;color:#2e7d32}.course-description{color:#4a5568;line-height:1.6;margin:0 0 1rem;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.progress-section{margin-bottom:1rem}.progress-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.progress-text{font-size:.875rem;color:#4a5568}.progress-percentage{font-size:.875rem;font-weight:600;color:#2d3748}.progress-bar{width:100%;height:8px;background:#e2e8f0;border-radius:4px;overflow:hidden}.card-footer{border-top:1px solid #e2e8f0;padding-top:1rem}.stats{display:flex;justify-content:space-between;align-items:center}.stat{display:flex;align-items:center;gap:4px;font-size:.875rem;color:#718096}.stat-icon{font-size:1rem}.menu-container{position:relative}.card-menu-button{background:none;border:none;padding:8px;border-radius:6px;cursor:pointer;transition:background-color .2s;display:flex;align-items:center;justify-content:center;width:36px;height:36px}.card-menu-button:hover{background:#f7fafc}.card-menu-button .dots{font-size:1.25rem;color:#718096;line-height:1;-webkit-user-select:none;user-select:none}.card-menu-button:hover .dots{color:#4a5568}.card-dropdown-menu{position:absolute;top:100%;right:0;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 4px 6px #0000001a;z-index:10;min-width:150px;animation:dropdownFadeIn .15s ease-out}.card-menu-item{display:flex;align-items:center;gap:8px;width:100%;padding:12px 16px;background:none;border:none;text-align:left;font-size:.875rem;color:#4a5568;cursor:pointer;transition:background-color .2s}.card-menu-item:hover{background:#f7fafc}.card-menu-item.info-item{color:#3182ce}.card-menu-item.info-item:hover{background:#ebf8ff}@keyframes dropdownFadeIn{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}@media (min-width: 1200px){.page-content{max-width:1600px;padding:3rem}.courses-grid{grid-template-columns:repeat(auto-fill,minmax(400px,1fr))}}@media (min-width: 1600px){.page-content{max-width:1800px}.courses-grid{grid-template-columns:repeat(auto-fill,minmax(450px,1fr))}}@media (max-width: 768px){.page-content{padding:1rem}.page-header h1{font-size:2rem}.courses-grid{grid-template-columns:1fr;gap:1rem}.course-card{padding:1rem}.stats{flex-direction:column;gap:8px;align-items:flex-start}.stat{font-size:.8rem}}@media (max-width: 480px){.page-content{padding:.5rem}.page-header h1{font-size:1.75rem}.course-title{font-size:1.125rem}.empty-state{padding:2rem 1rem}.empty-icon{font-size:3rem}.specialization-info{flex-direction:column;gap:.5rem}}@font-face{font-family:KaTeX_AMS;font-style:normal;font-weight:400;src:url(/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2) format("woff2"),url(/assets/KaTeX_AMS-Regular-DMm9YOAa.woff) format("woff"),url(/assets/KaTeX_AMS-Regular-DRggAlZN.ttf) format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2) format("woff2"),url(/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff) format("woff"),url(/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf) format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2) format("woff2"),url(/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff) format("woff"),url(/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf) format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2) format("woff2"),url(/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff) format("woff"),url(/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf) format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2) format("woff2"),url(/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff) format("woff"),url(/assets/KaTeX_Fraktur-Regular-CB_wures.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Main-Bold-Cx986IdX.woff2) format("woff2"),url(/assets/KaTeX_Main-Bold-Jm3AIy58.woff) format("woff"),url(/assets/KaTeX_Main-Bold-waoOVXN0.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:700;src:url(/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2) format("woff2"),url(/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff) format("woff"),url(/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:400;src:url(/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2) format("woff2"),url(/assets/KaTeX_Main-Italic-BMLOBm91.woff) format("woff"),url(/assets/KaTeX_Main-Italic-3WenGoN9.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Main-Regular-B22Nviop.woff2) format("woff2"),url(/assets/KaTeX_Main-Regular-Dr94JaBh.woff) format("woff"),url(/assets/KaTeX_Main-Regular-ypZvNtVU.ttf) format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:700;src:url(/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2) format("woff2"),url(/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff) format("woff"),url(/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf) format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:400;src:url(/assets/KaTeX_Math-Italic-t53AETM-.woff2) format("woff2"),url(/assets/KaTeX_Math-Italic-DA0__PXp.woff) format("woff"),url(/assets/KaTeX_Math-Italic-flOr_0UB.ttf) format("truetype")}@font-face{font-family:KaTeX_SansSerif;font-style:normal;font-weight:700;src:url(/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2) format("woff2"),url(/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff) format("woff"),url(/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf) format("truetype")}@font-face{font-family:KaTeX_SansSerif;font-style:italic;font-weight:400;src:url(/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2) format("woff2"),url(/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff) format("woff"),url(/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf) format("truetype")}@font-face{font-family:KaTeX_SansSerif;font-style:normal;font-weight:400;src:url(/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2) format("woff2"),url(/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff) format("woff"),url(/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf) format("truetype")}@font-face{font-family:KaTeX_Script;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Script-Regular-D3wIWfF6.woff2) format("woff2"),url(/assets/KaTeX_Script-Regular-D5yQViql.woff) format("woff"),url(/assets/KaTeX_Script-Regular-C5JkGWo-.ttf) format("truetype")}@font-face{font-family:KaTeX_Size1;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2) format("woff2"),url(/assets/KaTeX_Size1-Regular-C195tn64.woff) format("woff"),url(/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf) format("truetype")}@font-face{font-family:KaTeX_Size2;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2) format("woff2"),url(/assets/KaTeX_Size2-Regular-oD1tc_U0.woff) format("woff"),url(/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf) format("truetype")}@font-face{font-family:KaTeX_Size3;font-style:normal;font-weight:400;src:url(data:font/woff2;base64,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) format("woff2"),url(/assets/KaTeX_Size3-Regular-CTq5MqoE.woff) format("woff"),url(/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf) format("truetype")}@font-face{font-family:KaTeX_Size4;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2) format("woff2"),url(/assets/KaTeX_Size4-Regular-BF-4gkZK.woff) format("woff"),url(/assets/KaTeX_Size4-Regular-DWFBv043.ttf) format("truetype")}@font-face{font-family:KaTeX_Typewriter;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2) format("woff2"),url(/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff) format("woff"),url(/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf) format("truetype")}.katex{font: 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0;text-rendering:auto}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.16.22"}.katex .katex-mathml{clip:rect(1px,1px,1px,1px);border:0;height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.katex .katex-html>.newline{display:block}.katex .base{position:relative;white-space:nowrap;width:-webkit-min-content;width:-moz-min-content;width:min-content}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-style:italic;font-weight:700}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:700}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .mathsfit,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{border-collapse:collapse;display:inline-table;table-layout:fixed}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;position:relative;vertical-align:bottom}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;font-size:1px;min-width:2px;vertical-align:bottom;width:2px}.katex .vbox{align-items:baseline;display:inline-flex;flex-direction:column}.katex .hbox{width:100%}.katex .hbox,.katex .thinbox{display:inline-flex;flex-direction:row}.katex .thinbox{max-width:0;width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .clap,.katex .llap,.katex .rlap{position:relative;width:0}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{border:0 solid;display:inline-block;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline{border-bottom-style:dashed;display:inline-block;width:100%}.katex .sqrt>.root{margin-left:.2777777778em;margin-right:-.5555555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.1666666667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.3333333333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.6666666667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.4566666667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.1466666667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.7142857143em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.8571428571em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.1428571429em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.2857142857em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.4285714286em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.7142857143em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.0571428571em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.4685714286em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.9628571429em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.5542857143em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.5555555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.6666666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.7777777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.8888888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.1111111111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.3333333333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.3044444444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.7644444444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.4166666667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.5833333333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.6666666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.7283333333em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.0733333333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.3472222222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.4166666667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.4861111111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.5555555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.6944444444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.4402777778em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.7277777778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.2893518519em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.3472222222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.4050925926em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.462962963em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.5208333333em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.5787037037em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.6944444444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.2002314815em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.4398148148em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.2410800386em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.2892960463em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.337512054em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.3857280617em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.4339440694em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.4821600771em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.5785920926em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.6943105111em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.8331726133em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.1996142719em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.2009646302em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.2411575563em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.2813504823em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.3215434084em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.3617363344em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.4019292605em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.4823151125em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.578778135em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.6945337621em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.8336012862em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .accent>.vlist-t,.katex .op-limits>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{fill:currentColor;stroke:currentColor;fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;display:block;height:inherit;position:absolute;width:100%}.katex svg path{stroke:none}.katex img{border-style:none;max-height:none;max-width:none;min-height:0;min-width:0}.katex .stretchy{display:block;overflow:hidden;position:relative;width:100%}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{overflow:hidden;position:relative;width:100%}.katex .halfarrow-left{left:0;overflow:hidden;position:absolute;width:50.2%}.katex .halfarrow-right{overflow:hidden;position:absolute;right:0;width:50.2%}.katex .brace-left{left:0;overflow:hidden;position:absolute;width:25.1%}.katex .brace-center{left:25%;overflow:hidden;position:absolute;width:50%}.katex .brace-right{overflow:hidden;position:absolute;right:0;width:25.1%}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{border:.04em solid;box-sizing:border-box}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{border-right:.049em solid;border-top:.049em solid;box-sizing:border-box;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{content:"(" counter(katexEqnNo) ")";counter-increment:katexEqnNo}.katex .mml-eqn-num:before{content:"(" counter(mmlEqnNo) ")";counter-increment:mmlEqnNo}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{display:inline-block;position:absolute;right:calc(50% + .3em);text-align:left}.katex .cd-label-right{display:inline-block;left:calc(50% + .3em);position:absolute;text-align:right}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{padding-left:2em;text-align:left}body{counter-reset:katexEqnNo mmlEqnNo}.lesson-learning-page{min-height:100vh;background:#f8f9fa;color:#2d3748}.lesson-toolbar{background:#fff;border-bottom:1px solid #e2e8f0;padding:0;box-shadow:0 2px 4px #0000001a}.toolbar-content{max-width:1200px;margin:0 auto;padding:12px 20px;display:flex;align-items:center;justify-content:space-between;gap:20px}.menu-toggle-btn{background:#4299e1;color:#fff;border:none;padding:8px 16px;border-radius:6px;font-size:14px;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:8px}.menu-toggle-btn:hover{background:#3182ce}.lesson-progress{font-size:14px;color:#718096;font-weight:500}.back-to-course-btn{background:#e2e8f0;color:#4a5568;border:none;padding:8px 16px;border-radius:6px;font-size:14px;cursor:pointer;transition:all .2s ease}.back-to-course-btn:hover{background:#cbd5e0;color:#2d3748}.sidebar{position:fixed;top:0;left:-400px;width:400px;height:100vh;background:#fff;border-right:1px solid #e2e8f0;box-shadow:2px 0 10px #0000001a;z-index:1002;transition:left .3s ease;overflow-y:auto;display:flex;flex-direction:column}.sidebar-open{left:0}.sidebar.updating .sidebar-content{pointer-events:none;position:relative}.sidebar.updating .sidebar-content:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:#ffffffb3;z-index:100}.sidebar.updating .module-section,.sidebar.updating .lesson-item{transition:none!important}body.updating-progress{overflow:hidden!important;position:fixed!important;width:100%!important}.sidebar-header{background:#f7fafc;padding:20px;border-bottom:1px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between}.sidebar-header h3{margin:0;font-size:18px;font-weight:600;color:#2d3748;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-close{background:none;border:none;font-size:24px;color:#718096;cursor:pointer;padding:0;width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .2s ease}.sidebar-close:hover{background:#e2e8f0;color:#2d3748}.sidebar-content{padding:0}.module-section{border-bottom:1px solid #f1f5f9}.module-section.locked{opacity:.6;position:relative}.module-section.locked .module-header{background:#f5f5f5}.module-section.locked .module-header h4{color:#6c757d}.module-section.completed .module-header{background:#f0fdf4}.module-section.completed .module-header h4{color:#059669}.module-header{background:#f8fafc;padding:16px 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e2e8f0}.module-header h4{margin:0;font-size:16px;font-weight:600;color:#374151;flex:1;display:flex;align-items:center;gap:6px}.lock-icon,.check-icon{font-size:14px;display:inline-block}.lock-icon{color:#dc3545}.check-icon{color:#28a745}.module-progress{background:#e5e7eb;color:#6b7280;padding:4px 8px;border-radius:12px;font-size:12px;font-weight:500}.lessons-list{padding:0}.lesson-item{width:100%;border:none;background:none;padding:12px 20px;display:flex;align-items:center;gap:12px;cursor:pointer;transition:all .2s ease;border-bottom:1px solid #f1f5f9;text-align:left}.lesson-item:hover{background:#f8fafc}.lesson-item.current{background:#ebf8ff;border-left:4px solid #4299e1}.lesson-item.completed{background:#f0fdf4}.lesson-item.completed.current{background:#dcfce7}.lesson-item.locked{cursor:not-allowed;opacity:.5;background-color:#f8f9fa;pointer-events:auto}.lesson-item.locked:hover{background-color:#f8f9fa;transform:none}.lesson-item:disabled{cursor:not-allowed}.lesson-status{width:20px;height:20px;display:flex;align-items:center;justify-content:center;font-size:14px;flex-shrink:0}.lesson-item.current .lesson-status{color:#4299e1;font-weight:700}.lesson-item.completed .lesson-status{color:#10b981;font-weight:700}.lesson-info{flex:1;display:flex;flex-direction:column;gap:4px}.lesson-title{font-size:13px;font-weight:400;color:#374151;line-height:1.4}.lesson-item.current .lesson-title{color:#1e40af;font-weight:500}.lesson-duration{font-size:12px;color:#9ca3af}.lesson-item.quiz-lesson{border-left:4px solid #9f7aea}.lesson-item.quiz-lesson:hover{background:#faf5ff}.lesson-title-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.lesson-type-badge{font-size:11px;padding:2px 6px;border-radius:10px;font-weight:500}.lesson-type-badge.quiz{background:#e9d5ff;color:#6b46c1}.sidebar-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;z-index:1001;transition:opacity .3s ease}.lesson-learning-page .page-content{padding:0;margin:0}.lesson-container{max-width:1000px;margin:0 auto;padding:40px 20px}@media (min-width: 1200px){.lesson-container{max-width:1100px;padding:50px 20px}.lesson-content{padding:60px}}@media (min-width: 1440px){.lesson-container{max-width:1200px}}.lesson-header{margin-bottom:40px;text-align:center}.breadcrumb{font-size:14px;color:#718096;display:flex;align-items:center;justify-content:center;gap:8px;margin-bottom:16px;flex-wrap:wrap}.specialization-name,.course-name,.module-name{font-weight:500}.separator{color:#a0aec0}.lesson-meta{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap}.estimated-time{background:#e6fffa;color:#047857;padding:4px 12px;border-radius:16px;font-size:14px;font-weight:500}.completed-badge{background:#dcfce7;color:#166534;padding:4px 12px;border-radius:16px;font-size:14px;font-weight:500}.complete-lesson-btn{background:#10b981;color:#fff;border:none;padding:6px 16px;border-radius:16px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:4px}.complete-lesson-btn:hover{background:#059669;transform:translateY(-1px)}.lesson-content{background:#fff;border-radius:12px;padding:50px;box-shadow:0 1px 3px #0000001a;margin-bottom:40px;line-height:1.7}.lesson-content h1{color:#1a202c;font-size:2rem;font-weight:700;margin:0 0 24px;border-bottom:2px solid #e2e8f0;padding-bottom:12px}.lesson-content h2{color:#2d3748;font-size:1.5rem;font-weight:600;margin:32px 0 16px}.lesson-content h3{color:#4a5568;font-size:1.25rem;font-weight:600;margin:24px 0 12px}.lesson-content p{color:#4a5568;margin-bottom:16px;line-height:1.8}.lesson-content ul,.lesson-content ol{margin:16px 0;padding-left:20px}.lesson-content li{color:#4a5568;margin-bottom:8px}.lesson-content strong{color:#2d3748;font-weight:600}.lesson-content code{background:#f7fafc;color:#d53f8c;padding:2px 6px;border-radius:4px;font-size:.875em;font-family:Fira Code,Monaco,Consolas,monospace}.lesson-content pre{background:#1a202c;color:#e2e8f0;border-radius:8px;overflow-x:auto;margin:20px 0;padding:16px}.lesson-content pre code{background:none;color:#e2e8f0;padding:0;border-radius:0;font-family:Fira Code,Monaco,Consolas,monospace}.lesson-content blockquote{border-left:4px solid #4299e1;background:#ebf8ff;padding:16px 20px;margin:20px 0;border-radius:0 8px 8px 0}.lesson-content blockquote p{margin:0;color:#2b6cb0}.lesson-content table{width:100%;border-collapse:collapse;margin:20px 0}.lesson-content th,.lesson-content td{border:1px solid #e2e8f0;padding:12px;text-align:left}.lesson-content th{background:#f7fafc;font-weight:600;color:#2d3748}.lesson-content hr{border:none;height:1px;background:#e2e8f0;margin:32px 0}.lesson-footer{margin-top:60px}.footer-navigation{display:grid;grid-template-columns:1fr 1fr;gap:20px}.footer-nav-btn{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px;cursor:pointer;transition:all .2s ease;text-align:left;display:flex;flex-direction:column;gap:8px;min-height:80px}.footer-nav-btn:hover{border-color:#4299e1;background:#ebf8ff}.footer-nav-btn.next{text-align:right}.nav-direction{font-size:14px;color:#4299e1;font-weight:500}.nav-lesson-title{font-size:16px;color:#2d3748;font-weight:600;line-height:1.4}.nav-module-title{font-size:14px;color:#718096}.loading,.error{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;text-align:center}.spinner{width:40px;height:40px;border:4px solid #e2e8f0;border-top:4px solid #4299e1;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:16px}.error h2{color:#e53e3e;margin-bottom:12px}.error p{color:#718096;margin-bottom:20px}.retry-button{background:#4299e1;color:#fff;border:none;padding:12px 24px;border-radius:8px;font-size:16px;cursor:pointer;transition:all .2s ease}.retry-button:hover{background:#3182ce}@media (max-width: 768px){.nav-content{flex-direction:column;gap:12px;padding:16px 20px}.lesson-info{order:-1}.breadcrumb{font-size:12px;flex-wrap:wrap;justify-content:center}.lesson-controls{order:1;justify-content:center}.back-to-course-btn{order:2;align-self:stretch;text-align:center}.lesson-container{padding:20px 16px}.lesson-title{font-size:2rem}.lesson-content{padding:35px 25px}.footer-navigation{grid-template-columns:1fr;gap:16px}.footer-nav-btn.next{text-align:left}.nav-lesson-title{font-size:15px}}@media (max-width: 480px){.lesson-title{font-size:1.75rem}.lesson-content{padding:20px 16px}.lesson-content h1{font-size:1.5rem}.lesson-content h2{font-size:1.25rem}.lesson-meta{flex-direction:column;gap:8px}}.content-status-banner{margin:20px 0;padding:20px;border-radius:12px;display:flex;align-items:flex-start;gap:16px;border-left:4px solid}.content-status-banner.generating{background:#ebf8ff;border-left-color:#4299e1;color:#2b6cb0}.content-status-banner.error{background:#fed7d7;border-left-color:#e53e3e;color:#c53030}.content-status-banner.ready{background:#f0fff4;border-left-color:#38a169;color:#2f855a;padding:16px 20px}.status-icon{font-size:24px;margin-top:2px;animation:pulse 2s infinite}.content-status-banner.generating .status-icon{animation:spin 2s linear infinite}.status-info{flex:1}.status-info h3{margin:0 0 8px;font-size:18px;font-weight:600}.status-info p{margin:0 0 16px;line-height:1.5;opacity:.9}.regenerate-section{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.regenerate-text{font-size:14px;font-weight:500;opacity:.8}.regenerate-content-btn{background:#38a169;color:#fff;border:none;padding:8px 16px;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:6px;white-space:nowrap}.regenerate-content-btn:hover{background:#2f855a;transform:translateY(-1px)}.error-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:8px}.error-actions .regenerate-content-btn{background:#38a169}.error-actions .regenerate-content-btn:hover{background:#2f855a}.progress-dots{display:flex;gap:8px;align-items:center}.progress-indicator{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.polling-status{font-size:12px;color:#2b6cb0;opacity:.8;font-weight:500}.dot{width:8px;height:8px;border-radius:50%;background:#cbd5e0;transition:all .3s ease}.dot.active{background:#4299e1;animation:pulse-dot 1.5s infinite}.retry-content-btn{background:#e53e3e;color:#fff;border:none;padding:10px 16px;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:8px}.retry-content-btn:hover{background:#c53030;transform:translateY(-1px)}@keyframes pulse-dot{0%,to{opacity:1;transform:scale(1)}50%{opacity:.7;transform:scale(1.1)}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.7}}.lesson-content .katex{font-size:1.1em}.lesson-content .katex-display{margin:1.5em 0;text-align:center;overflow-x:auto;overflow-y:hidden;position:relative;padding:.5em 0}.lesson-content .katex-display>.katex{white-space:nowrap}@media (max-width: 768px){.lesson-content .katex-display{font-size:.9em;margin:1em 0}.lesson-content .katex{font-size:1em}}.lesson-content .katex-display::-webkit-scrollbar{height:4px}.lesson-content .katex-display::-webkit-scrollbar-track{background:#f1f1f1;border-radius:2px}.lesson-content .katex-display::-webkit-scrollbar-thumb{background:#888;border-radius:2px}.lesson-content .katex-display::-webkit-scrollbar-thumb:hover{background:#555}.lesson-content p .katex{margin:0 2px;vertical-align:baseline}.lesson-content p{line-height:1.8}.lesson-content .katex-error{color:#e53e3e;background-color:#fed7d7;padding:2px 4px;border-radius:3px;font-size:.9em}@media (max-width: 480px){.lesson-content .katex-display{font-size:.8em;overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (prefers-color-scheme: dark){.lesson-content .katex{color:#e2e8f0}.lesson-content .katex-error{color:#fc8181;background-color:#742a2a}}.lock-message{padding:10px 12px;margin:8px 8px 4px;background:linear-gradient(135deg,#fff3cd,#ffeaa7);border:1px solid #ffc107;border-radius:6px;font-size:12px;color:#856404;text-align:center;display:flex;align-items:center;justify-content:center;gap:4px;flex-wrap:wrap}.lock-icon-inline{font-size:14px}.progress-hint{font-weight:600}.module-locked-error{max-width:600px;margin:80px auto;padding:40px;background:#fff;border-radius:12px;box-shadow:0 4px 6px #0000001a;text-align:center}.module-locked-error .lock-icon{font-size:64px;margin-bottom:20px;animation:pulse 2s ease-in-out infinite}@keyframes pulse{0%,to{transform:scale(1);opacity:1}50%{transform:scale(1.1);opacity:.8}}.module-locked-error h2{font-size:28px;font-weight:700;color:#2d3748;margin:0 0 16px}.module-locked-error .lock-message{font-size:18px;font-weight:600;color:#4a5568;margin:0 0 12px;padding:0;background:none;border:none;display:block}.module-locked-error .lock-description{font-size:14px;color:#718096;margin:0 0 24px;line-height:1.6}.lock-progress{margin:24px 0;padding:20px;background:#f7fafc;border-radius:8px;border:1px solid #e2e8f0}.progress-bar-container{width:100%;height:12px;background:#e2e8f0;border-radius:6px;overflow:hidden;margin-bottom:12px}.progress-bar-fill{height:100%;background:linear-gradient(90deg,#4299e1,#3182ce);border-radius:6px;transition:width .3s ease}.progress-text{font-size:14px;color:#4a5568;font-weight:500;margin:0}.lock-actions{display:flex;gap:12px;justify-content:center;margin-top:32px}.module-locked-error .back-button,.module-locked-error .courses-button{padding:12px 24px;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease}.module-locked-error .back-button{background:#e2e8f0;color:#4a5568}.module-locked-error .back-button:hover{background:#cbd5e0;color:#2d3748}.module-locked-error .courses-button{background:#4299e1;color:#fff}.module-locked-error .courses-button:hover{background:#3182ce;transform:translateY(-1px);box-shadow:0 4px 8px #4299e14d}@media (max-width: 768px){.module-locked-error{margin:40px 20px;padding:30px 20px}.module-locked-error .lock-icon{font-size:48px}.module-locked-error h2{font-size:24px}.module-locked-error .lock-message{font-size:16px}.lock-actions{flex-direction:column}.module-locked-error .back-button,.module-locked-error .courses-button{width:100%}}.quiz-page{max-width:900px;margin:0 auto;padding:20px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;line-height:1.6;color:#333}.quiz-loading,.quiz-generating{text-align:center;padding:60px 20px}.loading-spinner{width:50px;height:50px;border:4px solid #f3f3f3;border-top:4px solid #007bff;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 20px}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.quiz-generating h2{color:#007bff;margin-bottom:15px}.quiz-generating p{color:#666;margin-bottom:10px}.quiz-error{text-align:center;padding:60px 20px;background:#fff5f5;border:1px solid #fed7d7;border-radius:12px}.quiz-error h2{color:#e53e3e;margin-bottom:15px}.quiz-error p{color:#666;margin-bottom:20px}.retry-button,.refresh-button,.regenerate-button,.submit-quiz-button,.retry-quiz-button{background:#007bff;color:#fff;border:none;padding:12px 24px;border-radius:8px;font-size:16px;cursor:pointer;transition:all .2s ease;font-weight:500;display:block;margin:0 auto}.retry-button:hover,.refresh-button:hover,.regenerate-button:hover,.submit-quiz-button:hover,.retry-quiz-button:hover{background:#0056b3;transform:translateY(-1px)}.submit-quiz-button:disabled{background:#ccc;cursor:not-allowed;transform:none}.submit-quiz-button.incomplete{background:orange;color:#fff}.submit-quiz-button.incomplete:hover{background:#ff8c00}.validation-error{background:#fff3cd;border:1px solid #ffeaa7;border-radius:12px;margin-bottom:20px;animation:slideIn .3s ease-out}.error-content{display:flex;align-items:center;padding:16px 20px;gap:12px}.error-icon{font-size:20px;flex-shrink:0}.error-message{flex:1;color:#856404;font-weight:500;font-size:15px}.error-close{background:none;border:none;color:#856404;font-size:20px;cursor:pointer;padding:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:background-color .2s ease}.error-close:hover{background:#8564041a}@keyframes slideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.regenerate-button{background:#28a745}.regenerate-button:hover{background:#1e7e34}.quiz-header{margin-bottom:40px;text-align:center}.quiz-header h1{font-size:2.5rem;font-weight:700;color:#1a202c;margin-bottom:15px}.quiz-info{display:flex;justify-content:center;gap:20px;margin-bottom:15px;flex-wrap:wrap}.quiz-info span{background:#f7fafc;padding:6px 12px;border-radius:20px;font-size:14px;font-weight:500;color:#4a5568}.quiz-completed{background:#c6f6d5!important;color:#22543d!important}.quiz-description{font-size:1.1rem;color:#666;max-width:600px;margin:0 auto}.quiz-content{margin-bottom:40px}.quiz-question{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:30px;margin-bottom:30px;box-shadow:0 2px 8px #0000001a;transition:all .2s ease}.quiz-question:hover{box-shadow:0 4px 16px #00000026}.question-header{display:flex;gap:15px;margin-bottom:20px;flex-wrap:wrap}.question-number{background:#007bff;color:#fff;padding:4px 12px;border-radius:20px;font-size:14px;font-weight:600}.question-type{background:#e2e8f0;color:#4a5568;padding:4px 12px;border-radius:20px;font-size:14px;font-weight:500}.question-type.multiple_choice{background:#fed7d7;color:#742a2a}.question-type.single_choice{background:#c6f6d5;color:#22543d}.difficulty{padding:4px 12px;border-radius:20px;font-size:14px;font-weight:500}.difficulty.easy{background:#c6f6d5;color:#22543d}.difficulty.medium{background:#faf089;color:#744210}.difficulty.hard{background:#fed7d7;color:#742a2a}.question-text{font-size:1.2rem;font-weight:600;color:#1a202c;margin-bottom:25px;line-height:1.5}.question-text p{margin:0;display:inline}.question-text p:not(:last-child){margin-bottom:.5em;display:block}.question-options{margin-bottom:20px}.option{margin-bottom:15px}.checkbox-option,.radio-option{display:flex;align-items:center;padding:15px;border:2px solid #e2e8f0;border-radius:12px;cursor:pointer;transition:all .2s ease;background:#fafafa}.checkbox-option:hover,.radio-option:hover{border-color:#007bff;background:#f0f8ff}.checkbox-option input,.radio-option input{display:none}.checkmark,.radiomark{width:20px;height:20px;border:2px solid #cbd5e0;margin-right:15px;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.checkmark{border-radius:4px}.radiomark{border-radius:50%}.checkbox-option input:checked+.checkmark{background:#007bff;border-color:#007bff}.radio-option input:checked+.radiomark{background:#007bff;border-color:#007bff}.checkbox-option input:checked+.checkmark:after{content:"✓";color:#fff;font-weight:700;font-size:14px}.radio-option input:checked+.radiomark:after{content:"";width:8px;height:8px;border-radius:50%;background:#fff}.option-text{flex:1;font-size:1rem;color:#4a5568;line-height:1.5}.option-text p{margin:0;display:inline}.option-text p:not(:last-child){margin-bottom:.5em;display:block}.question-concept{margin-top:15px;padding:12px;background:#f7fafc;border-radius:8px;font-size:14px;color:#4a5568}.quiz-actions{display:flex;justify-content:space-between;align-items:center;padding:20px 0;border-top:2px solid #e2e8f0}.quiz-progress{font-size:1rem;color:#666;font-weight:500}.quiz-results{max-width:800px;margin:0 auto}.results-header{text-align:center;margin-bottom:40px}.results-header h1{font-size:2.5rem;font-weight:700;color:#1a202c;margin-bottom:30px}.score{display:flex;align-items:center;justify-content:center;gap:30px;margin-bottom:20px}.score-circle{width:120px;height:120px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:2rem;font-weight:700;color:#fff}.score.passed .score-circle{background:linear-gradient(135deg,#48bb78,#38a169)}.score.failed .score-circle{background:linear-gradient(135deg,#f56565,#e53e3e)}.score-details p{margin:5px 0;font-size:1.1rem}.status-passed{color:#22543d;font-weight:600}.status-failed{color:#742a2a;font-weight:600}.detailed-results{margin-bottom:40px}.detailed-results h3{font-size:1.5rem;font-weight:600;color:#1a202c;margin-bottom:25px}.result-item{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:25px;margin-bottom:20px;box-shadow:0 2px 4px #0000001a}.result-item.correct{border-left:4px solid #48bb78;background:#f0fff4}.result-item.incorrect{border-left:4px solid #f56565;background:snow}.result-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.question-number{background:#4a5568;color:#fff;padding:4px 10px;border-radius:15px;font-size:12px;font-weight:600}.result-status.correct,.result-status.incorrect{font-size:1.5rem}.question-text{font-size:1.1rem;font-weight:600;color:#1a202c;margin-bottom:15px;line-height:1.5}.answer-details{margin-bottom:15px}.user-answer,.correct-answer{margin-bottom:8px;padding:8px 12px;border-radius:6px}.user-answer{background:#e2e8f0}.correct-answer{background:#c6f6d5}.explanation{background:#f7fafc;padding:12px;border-radius:8px;font-size:14px;color:#4a5568;line-height:1.5}.results-actions{display:flex;gap:15px;justify-content:center;flex-wrap:wrap}@media (max-width: 768px){.quiz-page{padding:15px}.quiz-header h1{font-size:2rem}.quiz-info{gap:10px}.quiz-question{padding:20px}.question-header{gap:10px}.quiz-actions{flex-direction:column;gap:15px;text-align:center}.score{flex-direction:column;gap:20px}.score-circle{width:100px;height:100px;font-size:1.5rem}.results-actions{flex-direction:column}}.quiz-question .katex,.question-text .katex,.option-text .katex,.question-concept .katex,.explanation .katex{font-size:1.1em}.quiz-question .katex-display,.question-text .katex-display,.option-text .katex-display,.question-concept .katex-display,.explanation .katex-display{margin:1em 0;text-align:center;overflow-x:auto;overflow-y:hidden;position:relative;padding:.5em 0}.quiz-question .katex-display>.katex,.question-text .katex-display>.katex,.option-text .katex-display>.katex,.question-concept .katex-display>.katex,.explanation .katex-display>.katex{white-space:nowrap}@media (max-width: 768px){.quiz-question .katex-display,.question-text .katex-display,.option-text .katex-display,.question-concept .katex-display,.explanation .katex-display{font-size:.9em;margin:1em 0}.quiz-question .katex,.question-text .katex,.option-text .katex,.question-concept .katex,.explanation .katex{font-size:1em}}.quiz-question .katex-display::-webkit-scrollbar,.question-text .katex-display::-webkit-scrollbar,.option-text .katex-display::-webkit-scrollbar,.question-concept .katex-display::-webkit-scrollbar,.explanation .katex-display::-webkit-scrollbar{height:4px}.quiz-question .katex-display::-webkit-scrollbar-track,.question-text .katex-display::-webkit-scrollbar-track,.option-text .katex-display::-webkit-scrollbar-track,.question-concept .katex-display::-webkit-scrollbar-track,.explanation .katex-display::-webkit-scrollbar-track{background:#f1f1f1;border-radius:2px}.quiz-question .katex-display::-webkit-scrollbar-thumb,.question-text .katex-display::-webkit-scrollbar-thumb,.option-text .katex-display::-webkit-scrollbar-thumb,.question-concept .katex-display::-webkit-scrollbar-thumb,.explanation .katex-display::-webkit-scrollbar-thumb{background:#888;border-radius:2px}.quiz-question .katex-display::-webkit-scrollbar-thumb:hover,.question-text .katex-display::-webkit-scrollbar-thumb:hover,.option-text .katex-display::-webkit-scrollbar-thumb:hover,.question-concept .katex-display::-webkit-scrollbar-thumb:hover,.explanation .katex-display::-webkit-scrollbar-thumb:hover{background:#555}.quiz-question p .katex,.question-text p .katex,.option-text p .katex,.question-concept p .katex,.explanation p .katex{margin:0 2px;vertical-align:baseline}.quiz-question .katex-error,.question-text .katex-error,.option-text .katex-error,.question-concept .katex-error,.explanation .katex-error{color:#e53e3e;background-color:#fed7d7;padding:2px 4px;border-radius:3px;font-size:.9em}@media (max-width: 480px){.quiz-question .katex-display,.question-text .katex-display,.option-text .katex-display,.question-concept .katex-display,.explanation .katex-display{font-size:.8em;overflow-x:auto;-webkit-overflow-scrolling:touch}}.subscription-page{min-height:100vh;background:linear-gradient(135deg,#4f46e51a,#a5a3ff1a 35%,#4f46e50d);padding-bottom:2rem}.subscription-container{max-width:1200px;margin:0 auto;padding:2rem}.subscription-header{text-align:center;margin-bottom:3rem}.subscription-title{font-size:2.5rem;font-weight:700;color:#1f2937;margin-bottom:1rem;background:linear-gradient(135deg,#4f46e5,#7c3aed);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.subscription-subtitle{font-size:1.1rem;color:#6b7280;margin-bottom:2rem}.current-subscription-section{background:#fff;border-radius:16px;padding:2rem;margin-bottom:2rem;box-shadow:0 4px 6px -1px #0000001a;border:1px solid rgba(79,70,229,.1)}.section-title{font-size:1.5rem;font-weight:600;color:#1f2937;margin-bottom:1.5rem;display:flex;align-items:center;gap:.5rem}.section-icon{width:24px;height:24px;color:#4f46e5}.current-plan-card{background:linear-gradient(135deg,#4f46e5,#7c3aed);color:#fff;border-radius:12px;padding:1.5rem;margin-bottom:1rem;display:flex;justify-content:space-between;align-items:flex-start;gap:1.5rem}.plan-header-info{flex:1}.plan-actions{flex-shrink:0}.plan-name{font-size:1.25rem;font-weight:600;margin-bottom:.5rem}.plan-price{font-size:2rem;font-weight:700;margin-bottom:.5rem}.plan-period{opacity:.9;font-size:.9rem}.plan-valid-until{background:#ffffff1a;border-radius:8px;padding:.75rem;margin-top:1rem;font-size:.9rem}.cancelled-status{color:#fbbf24;font-weight:500}.free-plan-notice{background:linear-gradient(135deg,#10b981,#059669);color:#fff;border-radius:12px;padding:1.5rem;text-align:center}.limits-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem;margin-top:1.5rem}.limit-card{background:#f8fafc;border-radius:12px;padding:1.5rem;border:1px solid #e2e8f0}.limit-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.limit-title{font-weight:600;color:#374151}.limit-status{font-size:.8rem;padding:.25rem .75rem;border-radius:20px;font-weight:500}.limit-status.available{background:#dcfce7;color:#166534}.limit-status.exhausted{background:#fee2e2;color:#991b1b}.progress-bar{width:100%;height:8px;background:#e5e7eb;border-radius:4px;overflow:hidden;margin:.75rem 0}.progress-fill{height:100%;border-radius:4px;transition:width .3s ease}.progress-fill.low{background:linear-gradient(90deg,#10b981,#059669)}.progress-fill.medium{background:linear-gradient(90deg,#f59e0b,#d97706)}.progress-fill.high{background:linear-gradient(90deg,#ef4444,#dc2626)}.usage-text{font-size:.9rem;color:#6b7280}.plans-section{background:#fff;border-radius:16px;padding:2rem;margin-bottom:2rem;box-shadow:0 4px 6px -1px #0000001a;border:1px solid rgba(79,70,229,.1)}.plans-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:2rem;margin-top:1.5rem}.plan-card{border:2px solid #e5e7eb;border-radius:16px;padding:2rem;position:relative;transition:all .3s ease;background:#fff}.plan-card:hover{border-color:#4f46e5;transform:translateY(-4px);box-shadow:0 10px 25px -5px #4f46e533}.plan-card.recommended{border-color:#4f46e5;position:relative}.plan-card.recommended:before{content:"Рекомендуем";position:absolute;top:-12px;left:50%;transform:translate(-50%);background:linear-gradient(135deg,#4f46e5,#7c3aed);color:#fff;padding:.5rem 1rem;border-radius:20px;font-size:.8rem;font-weight:600}.plan-card.disabled-plan{opacity:.6;background:#f9fafb;filter:grayscale(.3)}.plan-card.disabled-plan:hover{transform:none;border-color:#e5e7eb;box-shadow:none}.plan-card.disabled-plan:before{background:linear-gradient(135deg,#9ca3af,#6b7280)}.plan-card.current-plan{border-color:#10b981;background:linear-gradient(135deg,#10b9810d,#0596690d)}.plan-header{text-align:center;margin-bottom:1.5rem}.plan-card-name{font-size:1.5rem;font-weight:700;color:#1f2937;margin-bottom:.5rem}.plan-card-price{font-size:2.5rem;font-weight:800;color:#4f46e5;margin-bottom:.25rem}.plan-card-period{color:#6b7280;font-size:.9rem}.plan-features{list-style:none;padding:0;margin:1.5rem 0}.plan-feature{display:flex;align-items:center;gap:.75rem;margin-bottom:.75rem;color:#374151}.feature-icon{width:16px;height:16px;color:#10b981;flex-shrink:0}.plan-button{width:100%;padding:.875rem 1.5rem;border-radius:12px;font-weight:600;font-size:1rem;border:none;cursor:pointer;transition:all .3s ease;margin-top:1rem}.plan-button.primary{background:linear-gradient(135deg,#4f46e5,#7c3aed);color:#fff}.plan-button.primary:hover{transform:translateY(-2px);box-shadow:0 8px 20px -5px #4f46e566}.plan-button.secondary{background:#f8fafc;color:#4f46e5;border:1px solid #e2e8f0}.plan-button.secondary:hover{background:#f1f5f9}.plan-button.current{background:#10b981;color:#fff;cursor:default}.plan-button:disabled{opacity:.6;cursor:not-allowed}.plan-button.disabled{background:#e5e7eb;color:#9ca3af;cursor:not-allowed;border:1px solid #d1d5db}.plan-button.disabled:hover{transform:none;box-shadow:none}.plan-notice{margin-top:.75rem;padding:.75rem;background:#fef3c7;border:1px solid #fcd34d;border-radius:8px;color:#92400e;font-size:.85rem;text-align:center;line-height:1.4}.cancel-subscription-button{display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;background:#ffffff26;color:#fff;border:1px solid rgba(255,255,255,.3);border-radius:8px;font-size:.9rem;font-weight:500;cursor:pointer;transition:all .3s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.cancel-subscription-button:hover:not(:disabled){background:#ffffff40;border-color:#ffffff80;transform:translateY(-1px)}.cancel-subscription-button:disabled{opacity:.6;cursor:not-allowed}.button-icon{width:16px;height:16px;flex-shrink:0}.subscription-modal{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.modal-content{background:#fff;border-radius:16px;padding:2rem;max-width:500px;width:100%;max-height:90vh;overflow-y:auto}.modal-header{text-align:center;margin-bottom:1.5rem}.modal-title{font-size:1.5rem;font-weight:700;color:#1f2937;margin-bottom:.5rem}.modal-subtitle{color:#6b7280}.modal-plan-info{background:#f8fafc;border-radius:12px;padding:1.5rem;margin-bottom:1.5rem;border:1px solid #e2e8f0}.modal-actions{display:flex;gap:1rem;margin-top:1.5rem}.modal-button{flex:1;padding:.875rem 1.5rem;border-radius:12px;font-weight:600;border:none;cursor:pointer;transition:all .3s ease}.modal-button.confirm{background:linear-gradient(135deg,#4f46e5,#7c3aed);color:#fff}.modal-button.cancel{background:#f8fafc;color:#6b7280;border:1px solid #e2e8f0}.modal-button.danger{background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff}.modal-button.danger:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px -2px #ef444466}.cancellation-warning{display:flex;gap:1rem;margin-top:1rem;padding:1rem;background:#f59e0b1a;border:1px solid rgba(245,158,11,.3);border-radius:8px}.warning-icon{width:24px;height:24px;color:#f59e0b;flex-shrink:0;margin-top:.125rem}.cancellation-warning p{margin:0 0 .5rem;font-size:.9rem;line-height:1.4;color:#374151}.cancellation-warning p:last-child{margin-bottom:0}.notification{position:fixed;top:1rem;right:1rem;padding:1rem 1.5rem;border-radius:12px;color:#fff;font-weight:500;z-index:1001;animation:slideIn .3s ease-out}.notification.success{background:linear-gradient(135deg,#10b981,#059669)}.notification.error{background:linear-gradient(135deg,#ef4444,#dc2626)}@keyframes slideIn{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}.loading-spinner{display:inline-block;width:20px;height:20px;border:2px solid rgba(255,255,255,.3);border-radius:50%;border-top-color:#fff;animation:spin 1s ease-in-out infinite}@keyframes spin{to{transform:rotate(360deg)}}.loading-text{text-align:center;color:#6b7280;padding:2rem}@media (max-width: 768px){.subscription-container{padding:1rem}.subscription-title{font-size:2rem}.plans-grid,.limits-grid{grid-template-columns:1fr}.modal-content{margin:1rem;padding:1.5rem}.modal-actions{flex-direction:column}.current-plan-card{flex-direction:column;gap:1rem}.plan-actions{align-self:stretch}.cancel-subscription-button{justify-content:center}}.admin-dashboard-page{min-height:100vh;background:#f5f5f5;padding:20px}.admin-dashboard-container{max-width:1200px;margin:0 auto}.admin-dashboard-content{background:#fff;border-radius:8px;padding:30px;box-shadow:0 2px 4px #0000001a}.admin-header{margin-bottom:30px;padding-bottom:20px;border-bottom:1px solid #e0e0e0}.admin-header h1{font-size:2rem;margin-bottom:8px;color:#333}.admin-subtitle{font-size:1rem;color:#666}.admin-info-card{background:#f9fafb;border:1px solid #e5e7eb;padding:20px;border-radius:8px;margin-bottom:20px}.admin-info-card h2{margin-top:0;margin-bottom:15px;font-size:1.25rem;color:#333}.admin-user-info,.admin-role{margin:8px 0;font-size:.95rem;color:#555}.role-badge{background:#e5e7eb;color:#374151;padding:4px 12px;border-radius:4px;font-weight:600;text-transform:uppercase;font-size:.75rem;letter-spacing:.5px}.admin-features-preview{background:#fff;border:1px solid #e5e7eb;padding:20px;border-radius:8px}.admin-features-preview h3{margin-top:0;margin-bottom:15px;color:#333;font-size:1.25rem}.admin-features-preview ul{list-style:disc;padding-left:20px;margin:0}.admin-features-preview li{padding:8px 0;font-size:.95rem;color:#555}.admin-tabs{display:flex;gap:0;margin-bottom:24px;border-bottom:1px solid #e0e0e0}.admin-tab{padding:12px 20px;border:none;background:transparent;font-size:1rem;color:#666;cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-1px}.admin-tab:hover{color:#111}.admin-tab-active{color:#111;font-weight:600;border-bottom-color:#2563eb}.admin-panel-title{margin:0 0 16px;font-size:1.2rem;color:#333}.admin-toolbar{display:flex;flex-wrap:wrap;align-items:flex-end;gap:16px;margin-bottom:16px}.admin-search-label{display:flex;flex-direction:column;gap:6px;flex:1;min-width:200px}.admin-search-span{font-size:.85rem;color:#555}.admin-search-input{padding:8px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:.95rem}.admin-limit-label{display:flex;align-items:center;gap:8px;font-size:.9rem;color:#555}.admin-limit-select{padding:8px 10px;border:1px solid #d1d5db;border-radius:6px;font-size:.95rem}.admin-error{background:#fef2f2;color:#b91c1c;padding:10px 14px;border-radius:6px;margin-bottom:12px;font-size:.9rem}.admin-loading{color:#666;margin:16px 0}.admin-table-wrap{overflow-x:auto;border:1px solid #e5e7eb;border-radius:8px}.admin-table{width:100%;border-collapse:collapse;font-size:.9rem}.admin-table th,.admin-table td{padding:10px 12px;text-align:left;border-bottom:1px solid #eee;vertical-align:top}.admin-table th{background:#f9fafb;font-weight:600;color:#374151;white-space:nowrap}.admin-th-sort{background:none;border:none;padding:0;font:inherit;font-weight:600;color:#374151;cursor:pointer;text-align:left}.admin-th-sort:hover{color:#111}.admin-th-sort-active{color:#1d4ed8}.admin-sort-indicator{font-weight:700}.admin-table-empty{text-align:center;color:#888;padding:24px}.admin-badge{background:#e5e7eb;padding:2px 8px;border-radius:4px;font-size:.8rem;text-transform:uppercase}.admin-cell-title{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-cell-author{max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-pagination{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;padding-top:12px;border-top:1px solid #e5e7eb}.admin-pagination-info{font-size:.9rem;color:#555}.admin-pagination-actions{display:flex;gap:8px}.admin-page-btn{padding:8px 16px;border:1px solid #d1d5db;border-radius:6px;background:#fff;font-size:.9rem;cursor:pointer}.admin-page-btn:hover:not(:disabled){background:#f3f4f6}.admin-page-btn:disabled{opacity:.45;cursor:not-allowed}@media (max-width: 768px){.admin-dashboard-page{padding:10px}.admin-dashboard-content{padding:20px}.admin-header h1{font-size:1.5rem}.admin-subtitle{font-size:.9rem}.admin-info-card h2{font-size:1.1rem}}
