*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}body{font-family:system-ui,-apple-system,sans-serif;background:#f8fafc;color:#1a1a1a;line-height:1.5}:focus-visible{outline:3px solid #3b82f6;outline-offset:2px;border-radius:4px}:focus:not(:focus-visible){outline:none}.skip-link{position:absolute;left:-9999px;top:0;z-index:9999;background:#fff;color:#1e293b;padding:.6rem 1.2rem;text-decoration:none;font-weight:600;border-radius:0 0 8px 8px;border:2px solid #3b82f6}.skip-link:focus{left:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.navbar{display:flex;justify-content:space-between;align-items:center;padding:0 2rem;height:62px;background:#0f172a;color:#fff;position:sticky;top:0;z-index:100;box-shadow:0 1px #ffffff0f}.navbar-brand{display:flex;align-items:center;gap:.6rem;color:#fff;text-decoration:none;font-size:1.1rem;font-weight:700}.navbar-brand svg{color:#60a5fa}.navbar-links{display:flex;align-items:center;gap:.3rem}.navbar-link{display:flex;align-items:center;gap:.45rem;color:#94a3b8;text-decoration:none;padding:.45rem .75rem;border-radius:8px;font-size:.9rem;transition:background .15s,color .15s;white-space:nowrap;background:none;border:none;cursor:pointer}.navbar-link:hover{background:#1e293b;color:#e2e8f0}.navbar-link[aria-current=page]{background:#1e293b;color:#fff}.navbar-link svg{flex-shrink:0}.navbar-user{color:#bdc8d5;font-size:.85rem;padding:0 .5rem;border-right:1px solid #1e293b;margin-right:.2rem}.navbar-logout{color:#f87171}.navbar-logout:hover{background:#ef44441f;color:#fca5a5}.navbar-hamburger{display:none;background:#1e293b;border:1px solid #334155;color:#94a3b8;padding:.4rem .5rem;border-radius:8px;cursor:pointer;align-items:center}@media(max-width:640px){.navbar{padding:0 1rem}.navbar-hamburger{display:flex}.navbar-links{display:none;position:absolute;top:62px;left:0;right:0;background:#0f172a;flex-direction:column;align-items:stretch;padding:.75rem;gap:.2rem;border-top:1px solid #1e293b;z-index:99}.navbar-links--open{display:flex}.navbar-link{justify-content:flex-start}.navbar-user{border-right:none;border-bottom:1px solid #1e293b;padding:.5rem .75rem;margin:0 0 .2rem}}.app-main{max-width:1100px;margin:0 auto;padding:2rem 1.5rem}.app-main--wide{max-width:none}.page h1{font-size:1.8rem;margin-bottom:0}.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.8rem;gap:1rem;flex-wrap:wrap}.page-header h1{margin:0}.back-link{display:inline-flex;align-items:center;gap:.35rem;color:#64748b;text-decoration:none;margin-bottom:1.2rem;font-size:.9rem;padding:.3rem .6rem;border-radius:6px;transition:background .15s,color .15s}.back-link:hover{background:#f1f5f9;color:#1e293b}.btn-primary{width:100%;padding:.75rem;background:#2563eb;color:#fff;border:none;border-radius:9px;font-size:1rem;font-weight:600;cursor:pointer;margin-top:.5rem;transition:background .2s,transform .1s,box-shadow .2s;box-shadow:0 1px 3px #2563eb4d}.btn-primary:hover:not(:disabled){background:#1d4ed8;box-shadow:0 4px 12px #2563eb66;transform:translateY(-1px)}.btn-primary:active:not(:disabled){transform:translateY(0)}.btn-primary:disabled{background:#93c5fd;cursor:not-allowed;box-shadow:none}.btn-with-icon{display:inline-flex;align-items:center;gap:.5rem;width:auto;padding:.6rem 1.25rem;margin-top:0;font-size:.95rem}.btn-secondary{background:#fff;border:1.5px solid #d1d5db;color:#374151;padding:.55rem 1rem;border-radius:9px;cursor:pointer;font-size:.9rem;transition:background .15s,border-color .15s;font-weight:500}.btn-secondary:hover{background:#f9fafb;border-color:#9ca3af}.btn-ghost{background:none;border:none;color:#64748b;padding:.5rem 1rem;border-radius:8px;cursor:pointer;font-size:.9rem}.btn-ghost:hover{background:#f1f5f9;color:#374151}.btn-danger-ghost{background:none;border:1px solid #fca5a5;color:#dc2626;padding:.5rem 1rem;border-radius:8px;cursor:pointer;font-size:.9rem;transition:background .15s}.btn-danger-ghost:hover{background:#fee2e2}.btn-sm{padding:.3rem .8rem;font-size:.85rem}.btn-icon{display:flex;align-items:center;justify-content:center;background:none;border:none;cursor:pointer;padding:.3rem;border-radius:6px;color:#64748b;transition:color .15s,background .15s}.btn-icon:hover{background:#f1f5f9;color:#374151}.btn-icon--danger{color:#ef4444}.btn-icon--danger:hover{background:#fee2e2;color:#dc2626}.auth-container{display:flex;justify-content:center;padding:4rem 1rem}.auth-card{background:#fff;border-radius:16px;padding:2.5rem;width:100%;max-width:420px;box-shadow:0 4px 24px #00000014;border:1px solid #e2e8f0}.auth-card h1{margin-bottom:1.5rem;font-size:1.6rem;text-wrap:balance}@media(max-width:480px){.auth-container{padding:1.5rem .75rem}.auth-card{padding:1.75rem 1.25rem}.auth-card h1{font-size:1.45rem}}.auth-footer{margin-top:1.5rem;text-align:center;color:#64748b;font-size:.9rem}.auth-footer a{color:#2563eb;text-decoration:none;font-weight:500}.auth-footer .btn-link,.btn-link{background:none;border:none;padding:0;color:#2563eb;font:inherit;font-weight:500;cursor:pointer}.btn-link:hover{text-decoration:underline}.auth-check{display:flex;align-items:flex-start;gap:.5rem;margin:0 0 1rem;font-size:.9rem;color:#475569;line-height:1.4;cursor:pointer}.auth-check input{margin-top:.15em;flex:none}.auth-check input{width:auto}.auth-card--center{text-align:center}.auth-card--center .auth-check{justify-content:center;text-align:left}.auth-card--center h1{margin-bottom:.5rem}.auth-icon{display:inline-grid;place-items:center;width:56px;height:56px;margin-bottom:1rem;border-radius:50%;background:#eff6ff;color:#2563eb}.auth-lead{color:#475569;line-height:1.55;margin:0 0 1.5rem;font-size:.95rem;overflow-wrap:anywhere}.auth-lead strong{color:#0f172a;font-weight:600}.form-group .code-input{min-height:60px;text-align:center;font-size:1.75rem;font-weight:600;font-family:ui-monospace,SF Mono,Cascadia Mono,Menlo,Consolas,monospace;font-variant-numeric:tabular-nums;letter-spacing:.45em;padding:.5rem 0 .5rem .45em}.form-group .code-input::placeholder{color:#cbd5e1}.form-group .code-input--recovery{font-size:1.35rem;letter-spacing:.15em;padding-left:.15em}.auth-card--center .field-error{text-align:center}.auth-links{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem 1.25rem;margin-top:1.5rem;padding-top:1.25rem;border-top:1px solid #e2e8f0;font-size:.9rem}.btn-link--muted{color:#475569}.form-group{margin-bottom:1rem}.form-group label{display:block;font-size:.875rem;font-weight:500;margin-bottom:.4rem;color:#374151}.form-group input,.form-group select,.form-group textarea{width:100%;padding:.6rem .85rem;border:1.5px solid #d1d5db;border-radius:8px;font-size:1rem;outline:none;transition:border-color .2s;background:#fff}.form-group input:focus,.form-group select:focus{border-color:#2563eb}input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):focus-visible,select:focus-visible,textarea:focus-visible{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb59}.form-group input:not([type=checkbox]):not([type=radio]):not([type=file]),.form-group select{min-height:44px}.form-group textarea{line-height:1.5}.form-group textarea:focus{border-color:#2563eb}.form-group__label{display:block;font-size:.875rem;font-weight:500;margin-bottom:.4rem;color:#374151}.form-group label:has(+input:required,+select:required,+textarea:required,+.password-field input:required):after{content:" *" / "";color:#b91c1c}.form-group [aria-invalid=true]{border-color:#dc2626}.form-group [aria-invalid=true]:focus-visible{box-shadow:0 0 0 3px #dc26264d;border-color:#dc2626}.field-hint{font-size:.82rem;color:#475569;margin-top:.35rem}.field-error{font-size:.85rem;color:#b91c1c;margin-top:.35rem}.form-group input:disabled,.form-group select:disabled,.form-group textarea:disabled{background:#f1f5f9;color:#64748b;cursor:not-allowed}.password-field{position:relative}.password-field input{padding-right:5.5rem}.password-field__toggle{position:absolute;right:.35rem;top:50%;transform:translateY(-50%);min-height:36px;padding:0 .7rem;border:none;border-radius:6px;background:none;color:#1d4ed8;font-size:.85rem;font-weight:600;cursor:pointer}.password-field__toggle:hover{background:#eff6ff}@media(pointer:coarse){.btn-sm,.btn-ghost,.btn-link,.btn-secondary,.btn-danger-ghost,.password-field__toggle{min-height:44px}.btn-icon{min-height:44px;min-width:44px}}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:.8rem}@media(max-width:480px){.form-row{grid-template-columns:1fr}}.form-actions{display:flex;gap:.8rem;justify-content:flex-end;margin-top:1rem}.checkbox-label{display:flex;align-items:center;gap:.5rem;font-size:.9rem;cursor:pointer;margin-top:.2rem}.progress-bar{background:#e2e8f0;border-radius:20px;height:8px;position:relative;margin:.5rem 0;overflow:hidden}.progress-fill{background:#2563eb;height:100%;border-radius:20px;transition:width .2s}.progress-bar span{position:absolute;right:0;top:-18px;font-size:.75rem;color:#64748b}.loading{padding:2rem;color:#64748b;text-align:center}.error{color:#dc2626;font-size:.9rem;margin:.5rem 0}.error-boundary{max-width:32rem;margin:4rem auto;padding:2rem;text-align:center}.error-boundary h1{font-size:1.5rem;margin-bottom:.75rem;color:#0f172a}.error-boundary p{color:#64748b;margin-bottom:1.5rem}.error-boundary .btn-primary{width:auto;padding:.6rem 1.5rem}.empty-state{color:#6b7280;padding:1.5rem 0}.empty-state-box{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem 1rem;text-align:center;background:#fff;border-radius:14px;border:1.5px dashed #e2e8f0;color:#6b7280}.empty-state-icon{color:#d1d5db;margin-bottom:.8rem}.enroll-badge{display:inline-flex;align-items:center;gap:.35rem;font-size:.75rem;font-weight:600;padding:.25rem .7rem;border-radius:20px}.enroll-badge--open{background:#dcfce7;color:#15803d}.enroll-badge--code{background:#fef9c3;color:#854d0e}.enroll-badge--mine{background:#dbeafe;color:#1d4ed8}.enroll-badge--manual{background:#f1f5f9;color:#475569}.courses-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1rem}.courses-section+.courses-section{margin-top:2rem}.courses-section__title{font-size:1.05rem;font-weight:700;color:#334155;margin:0 0 .75rem}.course-card{background:#fff;border-radius:12px;text-decoration:none;color:inherit;border:1px solid #e2e8f0;padding:1.1rem 1.2rem;display:flex;flex-direction:column;gap:.6rem;transition:box-shadow .2s,border-color .2s}.course-card:hover{box-shadow:0 6px 20px #0f172a14;border-color:#cbd5e1}.course-card:focus-visible{outline:3px solid #2563eb;outline-offset:2px}.course-card--enrolled{border-left:4px solid #2563eb}.course-card__cover{display:block;width:calc(100% + 2.4rem);max-width:none;margin:-1.1rem -1.2rem .2rem;aspect-ratio:16 / 9;object-fit:cover;border-radius:11px 11px 0 0;background:#f1f5f9}.course-card--enrolled .course-card__cover{border-top-left-radius:0}.course-card__top{display:flex;align-items:center;flex-wrap:wrap;gap:.4rem}.course-card__subject{font-size:.75rem;font-weight:600;background:#eff6ff;color:#1d4ed8;padding:.25rem .7rem;border-radius:20px}.course-card__title{font-size:1.1rem;font-weight:700;color:#0f172a;line-height:1.3;margin:0}.course-card__desc{font-size:.9rem;color:#475569;line-height:1.5;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.course-card__meta{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.35rem 1rem;font-size:.85rem;color:#475569}.course-card__meta li{display:inline-flex;align-items:center;gap:.35rem}.course-card__meta svg{color:#64748b}.course-card__footer{margin-top:auto;padding-top:.75rem;border-top:1px solid #f1f5f9;display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:44px}.course-card__price{font-weight:700;color:#0f172a;font-size:.95rem}.course-card__cta{margin-left:auto;display:inline-flex;align-items:center;gap:.3rem;font-weight:600;color:#2563eb;font-size:.92rem}.course-card:hover .course-card__cta svg{transform:translate(2px)}.course-card__cta svg{transition:transform .15s}.course-teacher,.course-stat{font-size:.82rem;color:#6b7280}@media(max-width:480px){.courses-grid{grid-template-columns:1fr;gap:.75rem}.course-card{padding:1rem}.course-card__cover{width:calc(100% + 2rem);margin:-1rem -1rem .2rem}}.course-card--skeleton{height:200px;background:linear-gradient(90deg,#f1f5f9 25%,#e9eef4,#f1f5f9 75%);background-size:200% 100%;animation:skeleton-shimmer 1.4s ease-in-out infinite}@keyframes skeleton-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.course-hero{display:flex;align-items:flex-start;gap:1.2rem;background:#fff;border-radius:14px;padding:1.6rem 1.8rem;border:1px solid #e2e8f0;margin-bottom:1.4rem}.course-hero__icon{width:64px;height:64px;border-radius:14px;flex-shrink:0;background:linear-gradient(135deg,#2563eb,#7c3aed);display:flex;align-items:center;justify-content:center;color:#fff}.course-hero__info{flex:1;min-width:0}.course-hero__cover{width:300px;max-width:40%;aspect-ratio:16 / 9;object-fit:cover;border-radius:10px;flex-shrink:0;background:#f1f5f9}.cover-field{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.cover-field__preview{width:100%;max-width:360px;aspect-ratio:16 / 9;border-radius:10px;overflow:hidden;border:1px solid #e2e8f0;background:#f8fafc;display:flex;align-items:center;justify-content:center}.cover-field__preview img{width:100%;height:100%;object-fit:cover}.cover-field__empty{display:flex;flex-direction:column;align-items:center;gap:.35rem;color:#64748b;font-size:.85rem}.cover-field__actions{display:flex;flex-wrap:wrap;gap:.5rem}.cover-field__actions button{width:auto}.course-cover-section{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:1.25rem 1.5rem;margin-bottom:1.25rem}.course-hero__badges{margin-bottom:.6rem}.course-hero__info h1{font-size:1.55rem;margin-bottom:.4rem}.course-description{color:#475569;margin-bottom:.6rem;font-size:.95rem}.course-hero__meta{display:flex;flex-wrap:wrap;gap:1rem;font-size:.82rem}.modules-container{margin-top:1rem}.course-tabs{display:flex;gap:.3rem;margin:1.2rem 0 1rem;border-bottom:2px solid #e2e8f0}.course-tab{padding:.6rem 1.1rem;border:none;background:none;font-size:.95rem;font-weight:600;color:#64748b;border-bottom:2px solid transparent;margin-bottom:-2px;cursor:pointer}.course-tab--active{color:#2563eb;border-bottom-color:#2563eb}.modules-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}.modules-header h2{margin:0;font-size:1.15rem}.modules-list{display:flex;flex-direction:column;gap:.75rem}.module-section{background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden}.module-header{display:flex;align-items:center;gap:.6rem;padding:.9rem 1.1rem;background:#f8fafc;border-bottom:1px solid transparent}.module-section:has(.module-body) .module-header{border-bottom-color:#e2e8f0}.module-toggle{background:none;border:none;cursor:pointer;padding:.2rem;flex-shrink:0;color:#64748b;border-radius:6px;display:flex}.module-toggle:hover{background:#e2e8f0;color:#374151}.module-info{flex:1;min-width:0}.module-title{font-size:.97rem;font-weight:600;color:#0f172a;margin:0}.module-desc{font-size:.82rem;color:#64748b;margin:.15rem 0 0}.module-meta{display:flex;align-items:center;gap:.6rem;flex-shrink:0;margin-left:auto}.module-count{font-size:.78rem;color:#6b7280;background:#f1f5f9;padding:.15rem .55rem;border-radius:20px}.module-actions{display:flex;gap:.15rem}.module-edit-form{flex:1;display:flex;flex-direction:column;gap:.35rem}.module-edit-input{padding:.35rem .6rem;border:1.5px solid #d1d5db;border-radius:6px;font-size:.9rem;width:100%}.module-edit-input--desc{font-size:.83rem;color:#64748b}.module-body{padding:.25rem 1.1rem 1rem;display:flex;flex-direction:column;gap:1rem}.module-files-divider{font-size:.75rem;font-weight:700;color:#94a3b8;text-transform:uppercase;letter-spacing:.06em;padding-top:.5rem;border-top:1px solid #f1f5f9}.lessons-list{list-style:none;display:flex;flex-direction:column}.lesson-item{padding:1rem 0;display:flex;flex-direction:column;gap:.75rem}.lesson-item+.lesson-item{border-top:1px solid #e2e8f0}.lesson-item:last-child{padding-bottom:0}.lesson-footer{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem 1rem}.lesson-row{display:flex;align-items:flex-start;gap:.75rem}.lesson-type-icon{width:32px;height:32px;border-radius:8px;flex-shrink:0;display:flex;align-items:center;justify-content:center}.lesson-type-icon--live{background:#fee2e2;color:#dc2626}.lesson-type-icon--recorded{background:#dbeafe;color:#2563eb}.lesson-info{flex:1;min-width:0}.lesson-title-row{display:flex;align-items:center;gap:.25rem .5rem;flex-wrap:wrap;min-height:32px}.lesson-badge{font-size:.7rem;font-weight:700;padding:.15rem .5rem;border-radius:20px;flex-shrink:0}.lesson-badge--live{background:#fee2e2;color:#dc2626}.lesson-badge--recorded{background:#dbeafe;color:#2563eb}.lesson-badge--done{background:#dcfce7;color:#15803d;display:inline-flex;align-items:center;gap:.25rem}.lesson-title{font-weight:600;font-size:.92rem;color:#0f172a}.lesson-desc{color:#64748b;font-size:.85rem;display:block}.lesson-schedule{display:flex;align-items:center;gap:.3rem;font-size:.8rem;color:#64748b;margin-top:.25rem}.lesson-no-video{display:flex;align-items:center;gap:.3rem;font-size:.82rem;color:#6b7280}.lesson-actions{display:flex;gap:.15rem;flex-shrink:0}.lesson-edit-form{width:100%}.lesson-edit-form .form-group{margin-bottom:.7rem}.video-status{display:flex;align-items:center;gap:1rem;padding:.5rem 0}.video-status__label{font-size:.9rem;color:#16a34a;font-weight:500}.vp-wrapper{container:player / inline-size;position:relative;background:#000;border-radius:10px;overflow:hidden;max-width:800px;margin-top:.75rem;cursor:pointer;-webkit-user-select:none;user-select:none}.vp-wrapper--fs{border-radius:0;width:100%;height:100vh;display:flex;flex-direction:column;justify-content:flex-end}.vp-video{width:100%;display:block;max-height:70vh;aspect-ratio:16 / 9;object-fit:contain}.vp-wrapper--fs .vp-video{max-height:100vh;height:100%;flex:1;object-fit:contain;aspect-ratio:auto}.vp-check-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:#000000a6;z-index:20}.vp-check-box{background:#fff;border-radius:14px;padding:2rem;max-width:420px;width:90%;display:flex;flex-direction:column;align-items:center;gap:.75rem;text-align:center;box-shadow:0 20px 60px #0006}.vp-controls{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,#000c);padding:2.5rem .8rem .6rem;display:flex;flex-direction:column;gap:.35rem;transition:opacity .25s}.vp-controls--hidden{opacity:0;pointer-events:none}.vp-captions{position:absolute;left:0;right:0;bottom:4.6rem;display:flex;justify-content:center;padding:0 1rem;pointer-events:none;z-index:5;transition:bottom .25s}.vp-captions--low{bottom:1.2rem}.vp-captions span{background:#000000c7;color:#fff;font-size:clamp(.95rem,2.4vw,1.5rem);line-height:1.35;padding:.15em .5em;border-radius:4px;text-align:center;white-space:pre-line;max-width:90%}.vp-cc-select{min-width:4.2rem}.vp-quality-select{min-width:5.5rem}.lesson-subs{margin-top:.75rem;font-size:.9rem}.lesson-subs summary{cursor:pointer;font-weight:600}.lesson-subs__summary--warn{color:#b45309}.lesson-subs__list{list-style:none;padding:0;margin:.6rem 0}.lesson-subs__row{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;padding:.35rem 0}.lesson-subs__lang{font-weight:600;min-width:5rem}.lesson-subs__state{color:#64748b;flex:1;min-width:8rem}.lesson-subs__actions{display:flex;gap:.4rem;flex-wrap:wrap}.lesson-subs__editor{display:flex;flex-direction:column;gap:.4rem;margin:.6rem 0}.lesson-subs__editor textarea{width:100%;font-family:ui-monospace,monospace;font-size:.85rem}.lesson-subs__hint{color:#64748b;font-size:.8rem;margin:.4rem 0 0}.vp-progress{width:100%;height:4px;background:#ffffff4d;border-radius:4px;cursor:pointer;position:relative;transition:height .15s}.vp-progress:hover{height:6px}.vp-progress__fill{position:absolute;left:0;top:0;height:100%;background:#3b82f6;border-radius:4px;pointer-events:none}.vp-progress__thumb{position:absolute;top:50%;transform:translate(-50%,-50%) scale(0);width:13px;height:13px;background:#fff;border-radius:50%;pointer-events:none;transition:transform .15s}.vp-progress:hover .vp-progress__thumb{transform:translate(-50%,-50%) scale(1)}.vp-bar{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.vp-bar__left,.vp-bar__right{display:flex;align-items:center;gap:.35rem}.vp-bar__left{min-width:0}.vp-bar__right{flex-shrink:0}.vp-time{overflow:hidden;text-overflow:ellipsis}.vp-options{display:contents}.vp-btn.vp-options-toggle{display:none}@container player (max-width: 480px){.vp-btn.vp-options-toggle{display:flex}.vp-options{display:none;position:absolute;right:.6rem;bottom:3.4rem;z-index:6;flex-direction:column;gap:.4rem;padding:.5rem;border-radius:8px;background:#0f172af2}.vp-options--open{display:flex}}.vp-btn{background:none;border:none;color:#fff;cursor:pointer;padding:.3rem;border-radius:4px;display:flex;align-items:center;opacity:.85;transition:opacity .15s,background .15s}.vp-btn:hover{opacity:1;background:#ffffff2e}.vp-time{font-size:.78rem;color:#ffffffe6;font-variant-numeric:tabular-nums;white-space:nowrap;padding:0 .2rem}.vp-speed-select{background:#ffffff1a;border:1px solid rgba(255,255,255,.2);color:#ffffffd9;cursor:pointer;font-size:.72rem;padding:.2rem .25rem;border-radius:4px;outline:none;-moz-appearance:none;appearance:none;-webkit-appearance:none;min-width:3rem;text-align:center}.vp-speed-select:hover{background:#ffffff2e;color:#fff}.vp-speed-select option{background:#1e293b;color:#f1f5f9}@media(prefers-color-scheme:dark){.vp-check-box{background:#1e293b;color:#f1f5f9}.vp-check-box .attention-check__question{color:#f1f5f9}.vp-check-box .attention-check__option{border-color:#334155;color:#cbd5e1}.vp-check-box .attention-check__option--selected{border-color:#3b82f6;background:#1e3a5f}}.attention-check{text-align:center}.attention-check__icon{font-size:2.5rem;margin-bottom:.5rem}.attention-check__title{font-size:1.3rem;font-weight:700;margin-bottom:.4rem}.attention-check__subtitle{color:#64748b;font-size:.9rem;margin-bottom:1.2rem}.attention-check__question{font-size:1rem;font-weight:600;color:#0f172a;margin-bottom:1rem;text-align:left}.attention-check__options{list-style:none;padding:0;margin:0 0 1rem;display:flex;flex-direction:column;gap:.4rem}.attention-check__option{display:flex;align-items:center;gap:.6rem;padding:.6rem .8rem;border:2px solid #e2e8f0;border-radius:8px;cursor:pointer;font-size:.9rem;text-align:left;transition:border-color .15s,background .15s}.attention-check__option input[type=radio]{accent-color:#2563eb;flex-shrink:0}.attention-check__option--selected{border-color:#2563eb;background:#eff6ff}.attention-check__option:hover:not(.attention-check__option--selected){border-color:#94a3b8}.attention-check__feedback{font-weight:700;font-size:1rem;margin-bottom:.8rem}.attention-check__feedback--ok{color:#16a34a}.attention-check__feedback--err{color:#dc2626}.attention-check__retry{margin-bottom:.5rem}.attention-check__hint{font-size:.8rem;color:#94a3b8;margin-top:.3rem}.attention-check__countdown{font-size:3rem;font-weight:800;color:#2563eb;line-height:1;margin-bottom:.6rem}.attention-check__bar{height:6px;background:#e2e8f0;border-radius:20px;margin-bottom:1.4rem;overflow:hidden}.attention-check__bar-fill{height:100%;background:#2563eb;border-radius:20px;transition:width 1s linear}.attention-check__btn{width:100%;padding:.8rem;font-size:1rem}.watch-settings-form{padding:1.25rem 1.5rem;border-top:2px solid #e2e8f0;display:flex;flex-direction:column;gap:1rem}.watch-settings-form__title{font-size:.78rem;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:.06em}.watch-settings-form__grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}@media(max-width:700px){.watch-settings-form__grid{grid-template-columns:1fr}}.watch-settings-form__card{display:flex;flex-direction:column;gap:.75rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:1rem 1.1rem}.watch-settings-form__card:has(input:checked){border-color:#93c5fd;background:#f0f7ff}.watch-settings-form__card-text{display:block}.watch-settings-form__card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:.8rem;cursor:pointer}.watch-settings-form__card-label{display:block;font-weight:600;font-size:.92rem;margin-bottom:.3rem;color:#1e293b}.watch-settings-form__card-desc{display:block;font-size:.82rem;color:#64748b;line-height:1.4;font-weight:400}.watch-settings-form__switch{flex-shrink:0;width:18px;height:18px;accent-color:#2563eb;cursor:pointer;margin-top:2px}.watch-settings-form__sub-fields{display:flex;flex-direction:column;gap:.6rem}.watch-settings-form__field{display:flex;flex-direction:column;gap:.3rem}.watch-settings-form__field label{font-size:.85rem;font-weight:600;color:#374151}.watch-settings-form__field-hint{display:block;font-size:.78rem;color:#6b7280;font-weight:400;margin-top:.1rem;line-height:1.35}.watch-settings-form__number-row{display:flex;align-items:center;gap:.5rem}.watch-settings-form__number-row input{width:80px;font-size:.95rem;padding:.35rem .5rem}.watch-settings-form__unit{font-size:.85rem;color:#64748b}.watch-settings-form__actions{display:flex;gap:.75rem}.watch-settings-form__actions .btn-primary{padding:.55rem 1.4rem;font-size:.9rem;width:auto}.btn-icon--active{background:#eff6ff;color:#2563eb;border-color:#2563eb}.watch-questions-section{margin-top:.6rem;border-top:1px solid #f1f5f9;padding-top:.5rem}.watch-questions-section__toggle{display:flex;align-items:center;gap:.4rem;background:none;border:none;cursor:pointer;font-size:.82rem;color:#64748b;padding:.3rem 0}.watch-questions-section__toggle:hover{color:#334155}.watch-questions-section__count{background:#e2e8f0;color:#475569;border-radius:10px;padding:0 .45rem;font-size:.75rem;font-weight:700}.watch-questions-section__body{margin-top:.5rem;padding:.75rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px}.watch-questions-section__list{list-style:none;padding:0;margin:0 0 .6rem;display:flex;flex-direction:column;gap:.5rem}.watch-questions-section__question-item{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:.6rem .8rem}.watch-questions-section__question-header{display:flex;justify-content:space-between;align-items:flex-start;gap:.5rem;margin-bottom:.3rem}.watch-questions-section__question-text{font-weight:600;font-size:.88rem;flex:1}.watch-questions-section__timestamp{display:inline-flex;align-items:center;gap:.2rem;font-size:.75rem;background:#eff6ff;color:#2563eb;border-radius:6px;padding:.1rem .4rem;white-space:nowrap}.watch-questions-section__options-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.15rem}.watch-questions-section__option-item{font-size:.82rem;color:#64748b}.watch-questions-section__option-item--correct{color:#16a34a;font-weight:600}.watch-questions-section__empty{font-size:.85rem;color:#94a3b8}.watch-questions-section__add-btn{margin-top:.2rem}.watch-questions-section__form{display:flex;flex-direction:column;gap:.5rem;margin-top:.5rem;padding-top:.5rem;border-top:1px solid #e2e8f0}.watch-questions-section__option-row{display:flex;align-items:center;gap:.4rem;margin-bottom:.25rem}.watch-questions-section__option-row input[type=text]{flex:1;font-size:.85rem}.watch-questions-section__optional{font-weight:400;color:#94a3b8;font-size:.78rem}.watch-questions-section__timestamp-row{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;margin-top:.3rem}.watch-questions-section__clock-icon{color:#64748b;flex-shrink:0}.watch-questions-section__timestamp-input{width:110px;font-size:.92rem;color:#1e293b;background:#fff;border:1px solid #cbd5e1;border-radius:6px;padding:.35rem .6rem}.watch-questions-section__timestamp-input::placeholder{color:#94a3b8}.watch-questions-section__timestamp-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px #bfdbfe}.watch-questions-section__timestamp-preview{font-size:.8rem;color:#64748b}.watch-questions-section__timestamp-preview:has-text{color:#16a34a}.form-hint{font-size:.78rem;color:#64748b;margin-left:.3rem}.course-watch-stats{margin-top:1.5rem}.course-stats-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.course-stats-header .course-section-title{margin-bottom:0}.course-certificate{margin-top:1.5rem}.course-progress-line{margin-top:.6rem;font-size:.85rem;font-weight:600;color:#15803d}.course-certificate .btn-primary{margin-top:.5rem;width:auto}.module-files{display:flex;flex-direction:column;gap:.5rem}.module-files__list{display:flex;flex-direction:column;gap:.3rem}.module-files__upload{display:flex;align-items:center;gap:.5rem}.file-row{display:flex;align-items:center;gap:.6rem;padding:.5rem .8rem;background:#fff;border-radius:8px;border:1px solid #e2e8f0}.file-row__icon{font-size:1.1rem;flex-shrink:0}.file-row__name{flex:1;color:#2563eb;text-decoration:none;font-size:.88rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-row__name:hover{text-decoration:underline}.file-row__size{font-size:.78rem;color:#94a3b8;flex-shrink:0}.file-row__name--btn{background:none;border:none;cursor:pointer;text-align:left;padding:0}.file-row__name--locked{color:#94a3b8;cursor:default}.file-row__name--locked:hover{text-decoration:none}.file-row__badge{font-size:.7rem;color:#64748b;background:#f1f5f9;border-radius:99px;padding:1px 7px;flex-shrink:0}.pdf-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000a6;z-index:200;display:flex;align-items:center;justify-content:center;padding:1rem}.pdf-modal{background:#fff;border-radius:12px;width:min(96vw,1100px);height:92vh;display:flex;flex-direction:column;overflow:hidden}.pdf-modal__header{display:flex;justify-content:space-between;align-items:center;padding:.75rem 1rem;border-bottom:1px solid #e2e8f0;font-weight:600;font-size:.9rem;gap:1rem;flex-shrink:0}.pdf-modal__header span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pdf-modal__frame{flex:1;border:none;width:100%;min-height:0}.enroll-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:1.2rem 1.5rem;margin:.8rem 0;display:flex;flex-direction:column;gap:.8rem}.enroll-box textarea{width:100%;padding:.55rem .8rem;border:1.5px solid #d1d5db;border-radius:8px;font-size:.9rem;font-family:inherit;background:#fff;outline:none;resize:vertical;transition:border-color .15s}.enroll-box textarea:focus{border-color:#2563eb}.enroll-box--enrolled{background:#f0fdf4;border-color:#bbf7d0;flex-direction:row;align-items:center;justify-content:flex-start;gap:.6rem}.enroll-box--locked{background:#f8fafc;flex-direction:row;align-items:center;color:#64748b}.enroll-box__title{font-weight:500;margin:0}.enroll-input-row{display:flex;gap:.6rem}.enroll-input-row input{flex:1;padding:.6rem .8rem;border:1.5px solid #d1d5db;border-radius:8px;font-size:1rem}@media(max-width:480px){.enroll-input-row{flex-direction:column}.enroll-input-row input,.enroll-input-row button{width:100%}}.course-outline{margin-top:1.5rem}.course-outline h2{font-size:1.15rem;margin-bottom:.8rem}.course-outline h3{font-size:.95rem;color:#334155;margin:1rem 0 .4rem}.course-outline ul{list-style:none;padding:0;border:1px solid #e2e8f0;border-radius:10px;background:#fff}.course-outline li{display:flex;align-items:center;gap:.6rem;padding:.7rem .9rem;border-top:1px solid #f1f5f9;color:#334155}.course-outline li:first-child{border-top:none}.course-outline li svg{color:#94a3b8;flex-shrink:0}.course-outline__meta{margin-left:auto;color:#64748b;font-size:.85rem;white-space:nowrap}.unenroll{margin-top:2rem;text-align:center}.unenroll button{background:none;border:none;color:#64748b;font-size:.85rem;text-decoration:underline;cursor:pointer;padding:.6rem}a.btn-primary{text-decoration:none}.enrollment-settings{margin:.8rem 0}.enrollment-panel{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:1.5rem;margin-top:.8rem}.enrollment-panel h3{font-size:1rem;margin-bottom:.8rem}.enrollment-panel input[type=text],.enrollment-panel input[type=number],.enrollment-panel input[type=email],.enrollment-panel input[type=url],.enrollment-panel textarea{padding:.5rem .8rem;border:1.5px solid #d1d5db;border-radius:8px;font-size:.9rem;background:#fff;outline:none;transition:border-color .15s}.enrollment-panel input[type=text]:focus,.enrollment-panel input[type=number]:focus,.enrollment-panel input[type=email]:focus,.enrollment-panel input[type=url]:focus,.enrollment-panel textarea:focus{border-color:#2563eb}.enrollment-panel input[type=url],.capacity-inputs label input{display:block;width:100%}.enrollment-type-selector{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.type-option{display:flex;align-items:center;gap:.8rem;padding:.6rem .8rem;border:1.5px solid #e2e8f0;border-radius:8px;cursor:pointer;background:#fff}.type-option--active{border-color:#2563eb;background:#eff6ff}.type-option input{margin:0}.type-option__label{font-weight:500;min-width:120px}.type-option__desc{color:#64748b;font-size:.85rem}.code-display{display:flex;align-items:center;gap:1rem;background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:.6rem 1rem;margin-bottom:.5rem;font-family:monospace}.add-student-form{display:flex;gap:.6rem;margin-bottom:.5rem}.add-student-form input{flex:1;padding:.5rem .8rem;border:1.5px solid #d1d5db;border-radius:8px;font-size:.9rem}.students-list{list-style:none;display:flex;flex-direction:column;gap:.4rem;max-height:300px;overflow-y:auto}.student-item{display:flex;align-items:center;gap:.8rem;padding:.5rem .8rem;background:#fff;border-radius:6px;border:1px solid #f1f5f9}.student-email{color:#6b7280;font-size:.85rem;flex:1}.type-choice{border:none;padding:0;margin:0 0 1rem;display:grid;grid-template-columns:1fr 1fr;gap:.6rem}.type-choice legend{font-weight:600;font-size:.9rem;margin-bottom:.5rem;color:#334155}.type-choice__card{position:relative;display:flex;gap:.6rem;align-items:flex-start;padding:.8rem;border:1.5px solid #cbd5e1;border-radius:10px;background:#fff;cursor:pointer}.type-choice__card input{margin:.2rem 0 0;accent-color:#2563eb}.type-choice__card svg{flex-shrink:0;margin-top:.1rem;color:#64748b}.type-choice__card span{display:flex;flex-direction:column;gap:.2rem}.type-choice__card small{color:#64748b;line-height:1.4}.type-choice__card--on{border-color:#2563eb;background:#eff6ff}.type-choice__card--on svg{color:#2563eb}@media(max-width:520px){.type-choice{grid-template-columns:1fr}}.form-hint{display:block;margin-top:.3rem;color:#64748b;font-size:.8rem}label .form-hint,.form-group__label .form-hint{display:inline;margin:0 0 0 .3rem;font-weight:400}.add-lesson-btn{margin:0;width:auto;align-self:flex-start}.module-body>.add-lesson-btn,.module-files__upload .btn-ghost{color:#2563eb;font-weight:600;padding-left:.5rem;padding-right:.5rem}.lesson-tools{border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc}.lesson-tools>summary{display:flex;align-items:center;flex-wrap:wrap;gap:.25rem .5rem;padding:.6rem .85rem;cursor:pointer;font-size:.85rem;font-weight:600;color:#334155;min-height:44px;list-style:none}.lesson-tools>summary::-webkit-details-marker{display:none}.lesson-tools>summary:after{content:"▾";margin-left:auto;color:#64748b;transition:transform .15s}.lesson-tools[open]>summary:after{transform:rotate(180deg)}.lesson-tools__hint{font-weight:400;color:#64748b;font-size:.8rem}.lesson-tools__body{padding:.25rem .85rem .85rem;display:flex;flex-direction:column;gap:.75rem;border-top:1px solid #e2e8f0}.new-course{display:flex;gap:2rem;align-items:flex-start;max-width:900px}.new-course__form{flex:2;min-width:0;background:#fff;border-radius:12px;padding:2rem;border:1px solid #e2e8f0}.new-course__aside{flex:1;min-width:0;background:#f8fafc;border-radius:12px;padding:1.5rem;border:1px solid #e2e8f0}@media(max-width:760px){.new-course{flex-direction:column;gap:1rem}.new-course__form,.new-course__aside{width:100%}.new-course__form{padding:1.25rem}}.lesson-upload{width:auto;align-self:flex-start;display:inline-flex;align-items:center;gap:.4rem}.add-module-btn{margin-top:1rem;width:100%;padding:.8rem;border-style:dashed}.lesson-edit-form__title{font-size:1rem;margin-bottom:.7rem}.upload-form{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:1.5rem;margin-top:1rem}.course-sidebar{position:fixed;left:calc(50vw - 782px);top:70px;width:240px;max-height:calc(100vh - 80px);overflow-y:auto;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:1.25rem;display:flex;flex-direction:column;gap:1.25rem;z-index:99;box-shadow:0 4px 16px #00000014;transition:transform .25s ease}.course-sidebar--closed{transform:translate(calc(-100% - 2rem))}@media(max-width:1579px){.course-sidebar{left:0;top:62px;bottom:0;max-height:none;border-radius:0 12px 12px 0;box-shadow:4px 0 20px #00000024}}@media(min-width:1580px){.course-sidebar--closed{transform:none}}.course-sidebar-toggle{position:fixed;left:1rem;z-index:98;background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:.55rem;box-shadow:0 2px 8px #0000001f;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#475569;transition:color .15s,border-color .15s}.course-sidebar-toggle:hover{color:#2563eb;border-color:#2563eb}@media(min-width:1580px){.course-sidebar-toggle{display:none}}.course-topbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.2rem}.course-topbar .back-link{margin-bottom:0}.course-topbar__index{width:auto}@media(max-width:1199px){.course-sidebar-toggle{display:none}}@media(min-width:1200px){.course-topbar__index{display:none}}.course-sidebar-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0000004d;z-index:98}@media(min-width:1580px){.course-sidebar-backdrop{display:none}}.sidebar-section{display:flex;flex-direction:column;gap:.4rem}.sidebar-section+.sidebar-section{border-top:1px solid #f1f5f9;padding-top:1.1rem}.course-qa-panel{position:fixed;left:calc(50vw + 542px);right:1rem;top:var(--qa-top, 70px);max-height:calc(100vh - 90px);overflow-y:auto;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:0 1.25rem 1.25rem;z-index:100;box-shadow:0 8px 28px #0000001f;display:flex;flex-direction:column;gap:.85rem}@media(max-width:1579px){.course-qa-panel{left:0;right:0;top:0;bottom:0;max-height:none;border-radius:0;z-index:201;padding:0 1.25rem 1.25rem}}.qa-panel__header{position:sticky;top:0;background:#fff;z-index:1;display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;padding:1.1rem 0 .75rem;margin-bottom:.15rem;border-bottom:1px solid #f1f5f9}.qa-panel__titles{display:flex;flex-direction:column;gap:.25rem;min-width:0}.qa-panel__eyebrow{display:inline-flex;align-items:center;gap:.3rem;font-size:.72rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:#2563eb}.qa-panel__title{margin:0;font-size:.98rem;color:#0f172a;line-height:1.3}.sidebar-section__title{font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#94a3b8;margin:0 0 .35rem}.sidebar-toc-module{background:none;border:none;font-size:.84rem;font-weight:600;color:#1e293b;cursor:pointer;padding:.3rem .4rem;display:flex;align-items:center;gap:.4rem;border-radius:6px;text-align:left;width:100%;transition:background .12s,color .12s}.sidebar-toc-module:hover{background:#eff6ff;color:#2563eb}.sidebar-quick-link{background:none;border:none;font-size:.84rem;color:#475569;display:flex;align-items:center;gap:.5rem;padding:.3rem .4rem;cursor:pointer;border-radius:6px;text-align:left;width:100%;transition:background .12s,color .12s}.sidebar-quick-link:hover{background:#f8fafc;color:#2563eb}.cal-layout{display:grid;grid-template-columns:1fr 270px;gap:1.5rem;align-items:start}@media(max-width:768px){.cal-layout{grid-template-columns:1fr}}.cal-nav{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem}.cal-nav__title{flex:1;font-size:1.15rem;font-weight:700;text-align:center;margin:0}.cal-nav__btn{background:#fff;border:1.5px solid #e2e8f0;border-radius:9px;width:2.2rem;height:2.2rem;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .15s,border-color .15s;color:#374151}.cal-nav__btn:hover{background:#f1f5f9;border-color:#cbd5e1}.cal-nav__today{background:#fff;border:1.5px solid #e2e8f0;border-radius:8px;padding:.3rem .85rem;font-size:.85rem;font-weight:500;cursor:pointer;color:#374151;transition:background .15s}.cal-nav__today:hover{background:#f1f5f9}.cal-grid{background:#fff;border:1px solid #e2e8f0;border-radius:14px;overflow:hidden}.cal-weekdays{display:grid;grid-template-columns:repeat(7,1fr);background:#f8fafc;border-bottom:1px solid #e2e8f0}.cal-weekday{text-align:center;padding:.55rem 0;font-size:.75rem;font-weight:700;color:#374151;text-transform:uppercase;letter-spacing:.05em}.cal-days{display:grid;grid-template-columns:repeat(7,1fr)}.cal-day{min-height:92px;padding:.4rem .5rem;border-right:1px solid #f1f5f9;border-bottom:1px solid #f1f5f9;cursor:pointer;transition:background .12s;position:relative}.cal-day:nth-child(7n){border-right:none}.cal-day:hover{background:#f8fafc}.cal-day--out{background:#fafafa}.cal-day--out .cal-day__num{color:#9ca3af}.cal-day--today .cal-day__num{background:#2563eb;color:#fff;border-radius:50%;width:1.65rem;height:1.65rem;display:flex;align-items:center;justify-content:center}.cal-day--selected{background:#eff6ff}.cal-day--selected:not(.cal-day--today) .cal-day__num{color:#2563eb;font-weight:700}.cal-day__num{font-size:.82rem;font-weight:500;color:#374151;margin-bottom:.3rem;line-height:1}.cal-day__events{display:flex;flex-direction:column;gap:2px}.cal-event{display:flex;align-items:center;gap:3px;width:100%;padding:2px 5px;border-radius:4px;border:none;cursor:pointer;font-size:.71rem;text-align:left;white-space:nowrap;overflow:hidden;transition:opacity .15s;font-weight:500}.cal-event:hover{opacity:.85}.cal-event--personal{background:#dbeafe;color:#1d4ed8}.cal-event--lesson{background:#fde8d0;color:#c2410c}.cal-event__icon{flex-shrink:0;font-size:.68rem}.cal-event__title{overflow:hidden;text-overflow:ellipsis}.cal-day__overflow{font-size:.68rem;color:#6b7280;padding:1px 3px}.cal-skeleton{display:grid;grid-template-columns:repeat(7,1fr);background:#fff;border:1px solid #e2e8f0;border-radius:14px;overflow:hidden}.cal-skeleton__cell{min-height:92px;border-right:1px solid #f1f5f9;border-bottom:1px solid #f1f5f9;background:linear-gradient(90deg,#f8fafc 25%,#eef2f7,#f8fafc 75%);background-size:200% 100%;animation:skeleton-shimmer 1.4s ease-in-out infinite}.cal-sidebar{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:1.1rem}.cal-sidebar__header{display:flex;align-items:flex-start;justify-content:space-between;gap:.5rem;margin-bottom:.8rem}.cal-sidebar__header h3{font-size:.92rem;font-weight:700;color:#0f172a;margin:0;text-transform:capitalize}.cal-sidebar__empty{color:#6b7280;font-size:.88rem}.cal-sidebar__hint{color:#6b7280;font-size:.85rem;text-align:center;padding:1.5rem 0}.cal-sidebar__events{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.cal-detail{padding:.7rem .85rem;border-radius:10px;cursor:pointer;border-left:3px solid;transition:box-shadow .15s}.cal-detail:hover{box-shadow:0 2px 8px #00000014}.cal-detail--personal{background:#eff6ff;border-color:#2563eb}.cal-detail--lesson{background:#fff7ed;border-color:#f97316}.cal-detail__title{font-size:.88rem;font-weight:600;color:#0f172a;margin-bottom:.2rem}.cal-detail__time{font-size:.78rem;color:#64748b;display:block}.cal-detail__course{font-size:.78rem;color:#64748b;display:block;margin-top:.2rem}.cal-detail__course a{color:#2563eb;text-decoration:none}.cal-detail__course a:hover{text-decoration:underline}.cal-detail__recurrence{color:#94a3b8}.cal-legend{display:flex;flex-direction:column;gap:.4rem;margin-top:1rem;padding-top:1rem;border-top:1px solid #f1f5f9}.cal-legend__item{display:flex;align-items:center;gap:.5rem;font-size:.79rem;color:#64748b}.cal-legend__dot{width:10px;height:10px;border-radius:3px;flex-shrink:0}.cal-legend__dot--personal{background:#2563eb}.cal-legend__dot--lesson{background:#f97316}@media(max-width:640px){.cal-layout{grid-template-columns:1fr}.cal-day{min-height:56px;padding:.25rem}.cal-day__num{font-size:.75rem}.cal-event{font-size:0;width:8px;height:8px;border-radius:50%;padding:0;flex-shrink:0}.cal-event__icon,.cal-event__title{display:none}.cal-day__events{flex-direction:row;flex-wrap:wrap;gap:2px;margin-top:2px}.cal-day__overflow{display:none}.cal-nav__title{font-size:1rem}.cal-sidebar{order:-1}}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a8c;z-index:200;display:flex;align-items:center;justify-content:center;padding:1rem;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.modal-box{background:#fff;border-radius:16px;padding:1.6rem;width:100%;max-width:480px;max-height:90vh;overflow-y:auto;box-shadow:0 24px 64px #00000038}.modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.2rem}.modal-header h2{font-size:1.2rem;margin:0}.modal-close{display:flex;align-items:center;justify-content:center;background:none;border:none;cursor:pointer;font-size:1rem;color:#64748b;padding:.3rem;border-radius:6px;width:2rem;height:2rem}.modal-close:hover{background:#f1f5f9;color:#1e293b}.confirm-box{max-width:420px}.confirm-message{color:#334155;line-height:1.55;margin:0 0 1.5rem}.confirm-actions{display:flex;justify-content:flex-end;gap:.6rem}.btn-confirm-danger{background:#dc2626}.btn-confirm-danger:hover:not(:disabled){background:#b91c1c;box-shadow:0 4px 12px #dc262666}.lp{width:100%;min-height:100vh;background:#fff;display:flex;flex-direction:column}.lp-nav{position:sticky;top:0;z-index:200;background:#050a14eb;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-bottom:1px solid rgba(255,255,255,.06)}.lp-nav__inner{max-width:1200px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;padding:0 2rem;height:60px}.lp-nav__brand{display:flex;align-items:center;gap:.65rem;color:#fff;text-decoration:none;font-size:1rem;font-weight:700;letter-spacing:-.01em}.lp-nav__links{display:flex;align-items:center;gap:.4rem}.lp-nav__link{color:#fff9;text-decoration:none;padding:.4rem .85rem;font-size:.88rem;transition:color .15s}.lp-nav__link:hover{color:#fff}.lp-nav__cta{background:#fff;color:#0f172a;text-decoration:none;padding:.4rem 1rem;border-radius:6px;font-size:.88rem;font-weight:700;transition:background .15s,transform .15s}.lp-nav__cta:hover{background:#e2e8f0;transform:translateY(-1px)}.lp-nav__logo-img{width:42px;height:42px;object-fit:contain;border-radius:6px;flex-shrink:0;background:#fff;padding:3px}.lp-nav__brand-name{font-size:1.1rem;font-weight:700;color:#fff;letter-spacing:-.01em}.lp-hero{position:relative;overflow:hidden;background:#050a14;display:flex;align-items:center;padding:4.5rem 2rem}.lp-hero__canvas{display:block;width:100%;height:100%}.lp-hero__inner{position:relative;z-index:1;max-width:1200px;margin:0 auto;width:100%;display:flex;align-items:center;gap:4rem}.lp-hero__text{flex:1;min-width:300px;max-width:560px}.lp-hero__title{font-size:clamp(2.2rem,5vw,3.6rem);font-weight:800;line-height:1.08;text-wrap:balance;color:#fff;margin-bottom:1.4rem;letter-spacing:-.03em}.lp-hero__desc{font-size:1.1rem;color:#cbd5e1;line-height:1.6;margin-bottom:1rem;max-width:34em}.lp-hero__teacher{color:#94a3b8;margin-bottom:.5rem}.lp-hero__actions{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:1.5rem}.lp-btn{display:inline-flex;align-items:center;gap:.4rem;padding:.8rem 1.5rem;border-radius:6px;min-height:44px;font-size:1rem;font-weight:700;text-decoration:none;transition:background .18s,box-shadow .18s;white-space:nowrap;will-change:transform}.lp-btn--primary{background:#2563eb;color:#fff}.lp-btn--primary:hover{background:#1d4ed8;box-shadow:0 0 0 3px #2563eb47,0 8px 28px #2563eb66}.lp-btn--ghost{background:#ffffff0d;color:#cbd5e1;border:1px solid rgba(255,255,255,.14)}.lp-btn--ghost:hover{background:#ffffff1a;border-color:#ffffff3d}.lp-hero__visual{flex-shrink:0;width:min(44%,480px);aspect-ratio:1}.lp-section{max-width:1200px;margin:0 auto}.lp-courses{padding:6rem 2rem;background:#f8fafc;border-top:1px solid #e2e8f0}.lp-courses__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:1px;background:#e2e8f0;border:1px solid #e2e8f0}.lp-course{display:flex;align-items:stretch;background:#f8fafc;border-radius:0;overflow:hidden;text-decoration:none;color:inherit;transition:background .18s}.lp-course:hover{background:#fff}.lp-course__bar{width:3px;background:linear-gradient(180deg,#2563eb,#7c3aed);flex-shrink:0}.lp-course__body{padding:1.3rem;flex:1;display:flex;flex-direction:column;gap:.4rem}.lp-course__title{font-size:.95rem;font-weight:700;color:#0f172a}.lp-course__desc{font-size:.82rem;color:#64748b;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.lp-course__teacher{font-size:.72rem;color:#94a3b8;margin-top:auto;padding-top:.5rem}.lp-courses__more{text-align:center;color:#94a3b8;font-size:.82rem;margin-top:1.5rem}.lp-footer{background:#030712;padding:1.5rem 2rem;border-top:1px solid rgba(255,255,255,.05)}.lp-footer__inner{max-width:1200px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem;font-size:.8rem;color:#94a3b8}.lp-footer__links{display:flex;gap:1.5rem}.lp-footer__links a{color:#94a3b8;text-decoration:none;transition:color .15s}.lp-footer__links a:hover{color:#fff}.lp-steps{padding:5rem 2rem;background:#fff}.lp-steps h2,.lp-courses h2{font-size:1.6rem;font-weight:800;color:#0f172a;margin-bottom:2rem}.lp-steps__list{list-style:none;counter-reset:step;display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;padding:0}.lp-steps__list li{counter-increment:step;border-top:2px solid #2563eb;padding-top:1rem}.lp-steps__list h3{font-size:1.05rem;font-weight:700;color:#0f172a;margin-bottom:.4rem}.lp-steps__list h3:before{content:counter(step) ". ";color:#2563eb}.lp-steps__list p{color:#475569;line-height:1.6}@media(max-width:768px){.lp-hero__inner{flex-direction:column;align-items:stretch;gap:1.5rem}.lp-hero__text{max-width:100%}.lp-hero__visual{order:-1;width:100%;height:170px;aspect-ratio:auto}.lp-steps__list{grid-template-columns:1fr}}@media(max-width:600px){.lp-nav__inner{padding:0 1rem}.lp-hero{padding:1.5rem 1rem 3rem}.lp-steps,.lp-courses{padding:3.5rem 1rem}}.admin-page{max-width:1100px;margin:0 auto;padding:2rem 1.5rem}.admin-page .page-header{display:flex;align-items:center;gap:.6rem;margin-bottom:1.5rem}.admin-page .page-header h1{font-size:1.5rem;font-weight:700;color:#1e293b}.admin-tabs{display:flex;gap:.25rem;margin-bottom:1.5rem;border-bottom:2px solid #e2e8f0}.admin-tab{display:flex;align-items:center;gap:.4rem;padding:.6rem 1.2rem;border:none;background:none;cursor:pointer;font-size:.9rem;font-weight:600;color:#64748b;border-bottom:2px solid transparent;margin-bottom:-2px;transition:color .15s,border-color .15s}.admin-tab:hover{color:#2563eb}.admin-tab--active{color:#2563eb;border-bottom-color:#2563eb}.admin-table-wrapper{overflow-x:auto;border-radius:.75rem;border:1px solid #e2e8f0}.audit-filter{display:flex;align-items:center;gap:.5rem;margin-bottom:1rem;font-size:.9rem;color:#475569}.audit-filter select{padding:.35rem .6rem;border:1px solid #cbd5e1;border-radius:.5rem;background:#fff}.admin-table{width:100%;border-collapse:collapse;font-size:.875rem}.admin-table th{padding:.75rem 1rem;text-align:left;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#64748b;background:#f8fafc;border-bottom:1px solid #e2e8f0}.admin-table td{padding:.85rem 1rem;border-bottom:1px solid #f1f5f9;vertical-align:middle;color:#334155}.admin-table tr:last-child td{border-bottom:none}.admin-table tr:hover td{background:#f8fafc}.admin-table .text-muted{color:#94a3b8;font-size:.8rem}.admin-table .font-medium{font-weight:600;color:#1e293b}.admin-table .text-center{text-align:center}.badge{display:inline-flex;align-items:center;gap:.3rem;padding:.2rem .65rem;border-radius:20px;font-size:.75rem;font-weight:700}.badge-student{background:#dbeafe;color:#2563eb}.badge-teacher{background:#dcfce7;color:#16a34a}.badge-admin{background:#fef3c7;color:#d97706}.badge--ecm{background:#eff6ff;color:#1d4ed8}.badge--final{background:#f5f3ff;color:#7c3aed}.role-select-wrapper{display:flex;align-items:center;gap:.4rem;position:relative}.role-select-menu{position:relative}.role-select-trigger{display:flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:4px;border:1px solid #e2e8f0;background:#fff;cursor:pointer;color:#64748b;transition:border-color .15s}.role-select-trigger:hover{border-color:#2563eb;color:#2563eb}.role-select-dropdown{display:none;position:absolute;top:100%;left:0;z-index:20;background:#fff;border:1px solid #e2e8f0;border-radius:.5rem;box-shadow:0 4px 12px #0000001a;min-width:120px;padding:.25rem;list-style:none;margin:.25rem 0 0}.role-select-menu:focus-within .role-select-dropdown,.role-select-menu:hover .role-select-dropdown{display:block}.role-select-dropdown li button{display:block;width:100%;padding:.45rem .75rem;text-align:left;background:none;border:none;cursor:pointer;font-size:.8rem;color:#334155;border-radius:.3rem}.role-select-dropdown li button:hover{background:#f1f5f9;color:#2563eb}.btn-icon{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:6px;border:1px solid transparent;background:none;cursor:pointer;transition:background .15s,color .15s}.btn-danger{color:#dc2626;border-color:#fca5a5}.btn-danger:hover{background:#fee2e2}.spin{animation:spin .8s linear infinite}.assessment-section{margin-top:.75rem;border-top:1px dashed #e2e8f0;padding-top:.6rem}.assessment-section__toggle{display:flex;align-items:center;gap:.4rem;background:none;border:none;cursor:pointer;font-size:.82rem;font-weight:600;color:#64748b;padding:.3rem 0;transition:color .15s}.assessment-section__toggle:hover{color:#2563eb}.assessment-section__body{margin-top:.5rem;display:flex;flex-direction:column;gap:.4rem}.assessment-section__add{margin-top:.2rem}.assessment-row{display:flex;align-items:center;gap:.6rem;padding:.45rem .6rem;border-radius:8px;background:#f8fafc;border:1px solid #e2e8f0}.assessment-row__icon{color:#94a3b8;flex-shrink:0}.assessment-row__info{flex:1;min-width:0}.assessment-row__title{font-size:.85rem;font-weight:600;color:#1e293b;text-decoration:none}.assessment-row__title:hover{color:#2563eb}.assessment-row__meta{display:flex;align-items:center;gap:.75rem;font-size:.72rem;color:#94a3b8;margin-top:.1rem}.assessment-row__meta svg{vertical-align:middle}.assessment-form{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:1.25rem;margin-top:.5rem}.assessment-form__title{font-size:1rem;font-weight:700;color:#0f172a;margin-bottom:1rem}.assessment-form .form-group--sm input{width:80px}.assessment-form__questions{display:flex;flex-direction:column;gap:.75rem;margin:1rem 0}.assessment-form__add-q{display:flex;gap:.5rem}.aq-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:1rem}.aq-card__header{display:flex;align-items:center;gap:.5rem;margin-bottom:.6rem;flex-wrap:wrap}.aq-card__num{font-size:.75rem;font-weight:700;background:#0f172a;color:#fff;padding:.15rem .5rem;border-radius:4px}.aq-card__header select{font-size:.82rem;padding:.2rem .5rem;border-radius:6px;border:1px solid #d1d5db}.aq-card__text{width:100%;font-size:.88rem;padding:.45rem .6rem;border:1.5px solid #d1d5db;border-radius:7px;resize:vertical}.form-group--inline{display:flex;align-items:center;gap:.3rem}.form-group--inline label{font-size:.8rem;white-space:nowrap}.form-group--inline input{padding:.2rem .4rem;border:1px solid #d1d5db;border-radius:5px}.aq-options{display:flex;flex-direction:column;gap:.35rem;margin-top:.6rem}.aq-option{display:flex;align-items:center;gap:.4rem}.aq-option input[type=text]{flex:1;font-size:.85rem;padding:.3rem .5rem;border:1.5px solid #d1d5db;border-radius:6px}.aq-correct-btn{background:none;border:none;cursor:pointer;color:#94a3b8;padding:0;display:flex;align-items:center;flex-shrink:0;transition:color .15s}.aq-correct-btn--on{color:#16a34a}.aq-correct-btn:hover{color:#2563eb}.assessment-page{max-width:860px;margin:0 auto;padding:1.5rem}.assessment-page__nav{margin-bottom:1rem}.assessment-page__header{display:flex;align-items:flex-start;gap:1rem;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid #e2e8f0}.assessment-page__header h1{font-size:1.4rem;font-weight:800;color:#0f172a;margin-bottom:.25rem}.assessment-page__meta{display:flex;flex-wrap:wrap;gap:1rem;font-size:.82rem;color:#64748b;margin-top:.4rem}.assessment-page__meta svg{vertical-align:middle;margin-right:.2rem}.assessment-tabs{display:flex;gap:.25rem;margin-bottom:1.25rem;border-bottom:2px solid #e2e8f0}.assessment-tab{display:flex;align-items:center;gap:.35rem;padding:.55rem 1rem;border:none;background:none;cursor:pointer;font-size:.88rem;font-weight:600;color:#64748b;border-bottom:2px solid transparent;margin-bottom:-2px;transition:color .15s,border-color .15s}.assessment-tab--active{color:#2563eb;border-bottom-color:#2563eb}.aq-preview{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:1rem;margin-bottom:.75rem}.aq-preview__head{display:flex;align-items:center;gap:.5rem;margin-bottom:.5rem}.aq-preview__num{font-size:.72rem;font-weight:700;background:#0f172a;color:#fff;padding:.15rem .5rem;border-radius:4px}.aq-preview__type{font-size:.75rem;color:#64748b;background:#f1f5f9;padding:.1rem .4rem;border-radius:4px}.aq-preview__pts{font-size:.75rem;font-weight:700;color:#2563eb;margin-left:auto}.aq-preview__text{font-size:.9rem;color:#1e293b;margin-bottom:.6rem}.aq-preview__opts{list-style:none;display:flex;flex-direction:column;gap:.3rem}.aq-preview__opts li{display:flex;align-items:center;gap:.4rem;font-size:.85rem;color:#475569;padding:.3rem .5rem;border-radius:6px}.aq-preview__opt--correct{background:#dcfce7;color:#16a34a;font-weight:600}.aq-preview__opt--chosen-wrong{background:#fee2e2;color:#dc2626}.assessment-timer{position:sticky;top:70px;z-index:10;display:flex;align-items:center;gap:.5rem;background:#f0f9ff;border:1.5px solid #bae6fd;border-radius:10px;padding:.65rem 1.1rem;margin-bottom:1rem;font-weight:700;color:#0369a1;font-size:1rem}.assessment-save{margin:-.5rem 0 1rem;font-size:.85rem;color:#64748b}.assessment-save--saved{color:#15803d}.assessment-save--failed{color:#b91c1c;font-weight:600}.assessment-timer--urgent{background:#fef2f2;border-color:#fca5a5;color:#dc2626;animation:pulse-timer 1s ease-in-out infinite}.assessment-timer__time{font-size:1.35rem;font-variant-numeric:tabular-nums;letter-spacing:.02em}.assessment-timer__label{margin-left:.25rem;font-size:.85rem;font-weight:600}@keyframes pulse-timer{0%,to{opacity:1}50%{opacity:.7}}.assessment-intro{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:1.5rem}.assessment-intro h2{font-size:1.1rem;margin:0 0 1rem}.assessment-intro__list{list-style:none;display:flex;flex-direction:column;gap:.85rem;margin:0 0 1.5rem;padding:0}.assessment-intro__list li{display:flex;gap:.75rem;align-items:flex-start;line-height:1.5;color:#334155}.assessment-intro__list svg{flex-shrink:0;color:#2563eb;margin-top:.15rem}.assessment-intro__start{display:flex;align-items:center;flex-wrap:wrap;gap:.75rem 1rem}.assessment-intro__start .btn-primary{width:auto;padding-inline:2rem}.assessment-intro__start .text-muted{font-size:.9rem}@media(max-width:480px){.assessment-intro{padding:1.1rem}.assessment-intro__start .btn-primary{width:100%}}.assessment-window-notice{display:flex;align-items:flex-start;gap:.9rem;background:#fffbeb;border:1.5px solid #fcd34d;border-radius:10px;padding:1.1rem 1.25rem;color:#92400e}.assessment-window-notice--closed{background:#fef2f2;border-color:#fca5a5;color:#991b1b}.assessment-take{display:flex;flex-direction:column;gap:1rem}.aq-take{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:1.2rem}.aq-take__head{display:flex;align-items:center;gap:.5rem;margin-bottom:.6rem}.aq-take__text{font-size:.95rem;color:#1e293b;margin-bottom:.75rem;font-weight:500}.aq-take__opts{list-style:none;display:flex;flex-direction:column;gap:.4rem}.aq-take__opt{display:flex;align-items:center;gap:.6rem;padding:.6rem .9rem;border-radius:8px;border:1.5px solid #e2e8f0;cursor:pointer;transition:border-color .15s,background .15s;font-size:.88rem}.aq-take__opt:hover{border-color:#93c5fd;background:#eff6ff}.aq-take__opt--selected{border-color:#2563eb;background:#eff6ff;font-weight:600}.aq-take__opt input[type=radio]{accent-color:#2563eb}.aq-take__open{width:100%;padding:.6rem .75rem;border:1.5px solid #d1d5db;border-radius:8px;font-size:.9rem;resize:vertical}.aq-take__open:focus{border-color:#2563eb;outline:none}.assessment-result{display:flex;flex-direction:column;gap:.75rem}.assessment-result__summary{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:1.25rem;display:flex;align-items:center;gap:1rem;flex-wrap:wrap}.assessment-result__score{display:flex;align-items:center;gap:.5rem;font-size:1.1rem;font-weight:700;color:#0f172a}.assessment-result__feedback{font-size:.88rem;color:#475569;width:100%;margin-top:.25rem;padding-top:.5rem;border-top:1px solid #e2e8f0}.aq-result{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:1rem}.aq-result--correct{border-color:#86efac;background:#f0fdf4}.aq-result--wrong{border-color:#fca5a5;background:#fff1f2}.aq-result__open{font-size:.88rem;color:#475569;margin-top:.5rem;padding:.6rem;background:#f8fafc;border-radius:6px}.aq-outcome{display:inline-flex;align-items:center;gap:.4rem;padding:.35rem .9rem;border-radius:6px;font-size:.9rem;font-weight:700}.aq-outcome--passed{background:#dcfce7;color:#15803d}.aq-outcome--failed{background:#fee2e2;color:#dc2626}.aq-outcome--neutral{background:#f1f5f9;color:#475569}.assessment-type-group{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:.25rem}.assessment-type-opt{display:flex;align-items:center;gap:.4rem;padding:.4rem .85rem;border:1.5px solid #e2e8f0;border-radius:6px;cursor:pointer;font-size:.875rem;font-weight:500;transition:border-color .15s,background .15s}.assessment-type-opt input[type=radio]{display:none}.assessment-type-opt--active{border-color:#2563eb;background:#eff6ff;color:#1d4ed8}.assessment-type-opt:hover:not(.assessment-type-opt--active){border-color:#94a3b8}.assessment-ecm-info{display:flex;gap:.6rem;align-items:flex-start;background:#fefce8;border:1px solid #fde047;border-radius:6px;padding:.75rem 1rem;font-size:.85rem;color:#713f12;margin-bottom:.25rem}.assessment-ecm-info svg{flex-shrink:0;margin-top:2px;color:#d97706}.checkbox-label{display:flex;align-items:center;gap:.5rem;font-size:.88rem;cursor:pointer;font-weight:500;color:#374151;margin-top:1.6rem}.checkbox-label input[type=checkbox]{width:15px;height:15px}.course-assessment-section{background:#fff;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden;margin-top:1rem}.course-assessment-section__header{display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;background:#f8fafc;border-bottom:1px solid #e2e8f0;font-weight:600;font-size:.9rem;color:#1e293b}.course-assessment-section__body{padding:.75rem 1rem;display:flex;flex-direction:column;gap:.5rem}.satisfaction-widget{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:1.25rem;margin-bottom:1rem}.satisfaction-widget__header{display:flex;align-items:flex-start;gap:.6rem;margin-bottom:1rem}.satisfaction-widget__header svg{color:#d97706;margin-top:2px;flex-shrink:0}.satisfaction-widget__title{font-weight:700;font-size:.95rem;color:#1e293b}.satisfaction-widget__sub{font-size:.8rem;color:#64748b;margin-top:.1rem}.satisfaction-widget__form{display:flex;flex-direction:column;gap:.75rem}.satisfaction-widget__row{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.satisfaction-widget__label{font-size:.88rem;font-weight:500;color:#374151;flex:1;min-width:180px}.satisfaction-widget--done{display:flex;align-items:center;gap:.75rem;background:#f0fdf4;border-color:#86efac}.satisfaction-widget--done svg{color:#16a34a;flex-shrink:0}.satisfaction-widget__done-title{font-weight:700;font-size:.95rem;color:#15803d}.satisfaction-widget__done-sub{font-size:.82rem;color:#64748b;margin-top:.1rem}.star-rating{display:flex;gap:.15rem}.star-rating__star{background:none;border:none;cursor:pointer;padding:.15rem;color:#d1d5db;transition:color .1s,transform .1s}.star-rating__star--on{color:#f59e0b}.star-rating__star:hover{transform:scale(1.2)}.text-green{color:#16a34a}.text-red{color:#dc2626}.grading-form{padding:1rem;background:#f8fafc;border-radius:8px;display:flex;flex-direction:column;gap:.75rem}.grading-form__item{padding:.75rem;background:#fff;border:1px solid #e2e8f0;border-radius:8px;display:flex;flex-direction:column;gap:.3rem}.grading-form__q,.grading-form__a{font-size:.88rem;color:#334155}.empty-sm{font-size:.85rem;color:#94a3b8;padding:.5rem 0}.loading-sm{font-size:.85rem;color:#94a3b8}.qa-section{margin-top:.6rem;border-top:1px dashed #e2e8f0;padding-top:.5rem}.qa-section__toggle{display:flex;align-items:center;gap:.4rem;background:none;border:none;cursor:pointer;font-size:.82rem;font-weight:600;color:#64748b;padding:.3rem 0;transition:color .15s}.qa-section__toggle:hover{color:#2563eb}.qa-section__body{margin-top:.5rem;display:flex;flex-direction:column;gap:.6rem}.qa-question{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:.85rem}.qa-question--private{border-color:#ddd6fe;background:#faf5ff}.qa-question__head{display:flex;justify-content:space-between;align-items:center;margin-bottom:.4rem}.qa-question__author{display:flex;align-items:center;gap:.4rem;font-size:.82rem}.qa-private-icon{color:#7c3aed}.qa-question__text{font-size:.88rem;color:#334155;margin-bottom:.5rem}.qa-timestamp{color:#94a3b8;font-size:.75rem}.qa-answers{margin:.5rem 0 .6rem 1rem;display:flex;flex-direction:column;gap:.4rem;border-left:2px solid #e2e8f0;padding-left:.75rem}.qa-answer__head{display:flex;justify-content:space-between;align-items:center;margin-bottom:.2rem}.qa-answer__author{display:flex;align-items:center;gap:.3rem;font-size:.8rem}.qa-role-icon{flex-shrink:0}.qa-role-icon--teacher{color:#2563eb}.qa-role-icon--admin{color:#dc2626}.qa-answer__text{font-size:.85rem;color:#475569}.qa-reply-btn{display:flex;align-items:center;gap:.3rem;background:none;border:none;cursor:pointer;font-size:.78rem;color:#64748b;padding:.2rem 0;transition:color .15s}.qa-reply-btn:hover{color:#2563eb}.qa-ask-form,.qa-reply-form{margin-top:.5rem;display:flex;flex-direction:column;gap:.4rem}.qa-ask-form__input{width:100%;padding:.5rem .7rem;border:1.5px solid #d1d5db;border-radius:8px;font-size:.88rem;resize:vertical}.qa-ask-form__input:focus{border-color:#2563eb;outline:none}.qa-ask-form__controls{display:flex;align-items:center;gap:.6rem;justify-content:space-between}.qa-visibility-toggle{display:flex;align-items:center;gap:.35rem;font-size:.8rem;color:#64748b;cursor:pointer;-webkit-user-select:none;user-select:none}.qa-visibility-toggle input{accent-color:#7c3aed}.profile-page{max-width:1100px;margin:0 auto;padding:1.5rem}.profile-page__header{display:flex;align-items:center;gap:1.25rem;margin-bottom:1.75rem;padding-bottom:1.25rem;border-bottom:1px solid #e2e8f0}.profile-avatar{width:64px;height:64px;background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.6rem;font-weight:800;flex-shrink:0;overflow:hidden}.profile-avatar--lg{width:80px;height:80px;font-size:2rem}.profile-avatar__img{width:100%;height:100%;object-fit:cover;border-radius:50%}.profile-avatar-edit{display:flex;align-items:center;gap:1rem;margin-bottom:1.25rem;padding-bottom:1rem;border-bottom:1px solid #f1f5f9}.profile-page__name{font-size:1.4rem;font-weight:800;color:#0f172a;margin-bottom:.2rem}.profile-page__email{font-size:.9rem;margin-bottom:.35rem}.profile-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:2rem;align-items:start}.profile-nav{position:sticky;top:80px}.profile-nav ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.25rem}.profile-nav__item{width:100%;display:grid;grid-template-columns:20px 1fr;column-gap:.75rem;align-items:center;padding:.65rem .85rem;border:none;border-radius:10px;background:none;cursor:pointer;text-align:left;color:#475569;font:inherit;min-height:44px;transition:background .15s,color .15s}.profile-nav__item:hover{background:#f1f5f9;color:#0f172a}.profile-nav__item:focus-visible{outline:3px solid #2563eb;outline-offset:1px}.profile-nav__item[aria-current=page]{background:#eff6ff;color:#1d4ed8}.profile-nav__label{font-weight:600;font-size:.92rem}.profile-nav__hint{display:none}.profile-content{min-width:0;min-height:200px}.profile-content__title{font-size:1.2rem;font-weight:700;color:#0f172a;margin:0 0 1rem}.profile-back{display:none}@media(max-width:760px){.profile-layout{display:block}.profile-nav{position:static}.profile-nav ul{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.profile-nav__item{grid-template-columns:1fr;row-gap:.35rem;align-items:start;height:100%;padding:1rem;background:#fff;border:1px solid #e2e8f0;border-radius:12px;color:#0f172a}.profile-nav__item svg{color:#2563eb}.profile-nav__item[aria-current=page]{background:#fff;color:#0f172a}.profile-nav__hint{display:block;font-size:.8rem;color:#64748b;line-height:1.35}.profile-page--hub .profile-content,.profile-page--section .profile-nav,.profile-page--section .profile-page__header{display:none}.profile-page--section .profile-back{display:inline-flex;align-items:center;gap:.35rem;width:auto;margin:0 0 .75rem -.5rem}}.profile-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:1.5rem}.profile-field{display:grid;grid-template-columns:150px minmax(0,1fr);gap:1rem;padding:.6rem 0;border-bottom:1px solid #f1f5f9;align-items:baseline;overflow-wrap:anywhere}@media(max-width:480px){.profile-field{grid-template-columns:1fr;gap:.15rem}}.profile-field:last-of-type{border-bottom:none}.profile-field__label{font-size:.8rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.04em}.profile-list{display:flex;flex-direction:column;gap:.75rem}.profile-course-card{display:block;background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:1rem 1.25rem;text-decoration:none;transition:border-color .15s,box-shadow .15s}.profile-course-card:hover{border-color:#93c5fd;box-shadow:0 2px 8px #2563eb14}.profile-course-card__title{font-size:1rem;font-weight:700;color:#1e293b;margin-bottom:.25rem}.profile-assessment-card{display:block;background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:1rem 1.25rem;text-decoration:none;transition:border-color .15s}.profile-assessment-card:hover{border-color:#93c5fd}.profile-assessment-card__top{display:flex;justify-content:space-between;align-items:center;margin-bottom:.4rem}.profile-assessment-card__bottom{display:flex;align-items:center;justify-content:space-between}.profile-question-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:1rem 1.25rem;display:flex;flex-direction:column;gap:.3rem}.profile-stat-card{display:block;background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:1.2rem 1.4rem;text-decoration:none;transition:border-color .15s}.profile-stat-card:hover{border-color:#93c5fd}.profile-stat-card__title{font-size:1rem;font-weight:700;color:#1e293b;margin-bottom:.75rem}.profile-stat-card__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:.5rem}.profile-stat{display:flex;flex-direction:column;align-items:center;background:#f8fafc;padding:.5rem;border-radius:8px}.profile-stat span{font-size:1.2rem;font-weight:800;color:#0f172a}.profile-stat small{font-size:.7rem;color:#94a3b8;text-transform:uppercase}.font-medium{font-weight:600}.text-muted{color:#64748b}.faq-page,.guida-page{max-width:800px;margin:0 auto;padding:1.5rem}.faq-page__header{display:flex;align-items:center;gap:1rem;margin-bottom:1.75rem;padding-bottom:1rem;border-bottom:1px solid #e2e8f0}.faq-page__header h1{font-size:1.4rem;font-weight:800;color:#0f172a;margin-bottom:.2rem}.faq-section{margin-bottom:1.5rem}.faq-section__title{font-size:1rem;font-weight:700;color:#374151;margin-bottom:.75rem;padding-bottom:.35rem;border-bottom:1px solid #e2e8f0}.faq-accordion{display:flex;flex-direction:column;gap:.5rem}.faq-item{border:1px solid #e2e8f0;border-radius:10px;overflow:hidden}.faq-item--open{border-color:#93c5fd}.faq-item__question{display:flex;justify-content:space-between;align-items:center;gap:.75rem;width:100%;text-align:left;padding:1rem 1.25rem;background:#fff;border:none;cursor:pointer;font-size:.95rem;font-weight:600;color:#1e293b;transition:background .15s}.faq-item__question:hover{background:#f8fafc}.faq-item--open .faq-item__question{background:#eff6ff;color:#1d4ed8}.faq-item__answer{padding:.75rem 1.25rem 1rem;font-size:.9rem;color:#475569;line-height:1.65;background:#fff;border-top:1px solid #e2e8f0}.guida-tabs{display:flex;gap:.25rem;margin-bottom:1.25rem;border-bottom:2px solid #e2e8f0}.guida-tab{display:flex;align-items:center;gap:.4rem;padding:.55rem 1rem;border:none;background:none;cursor:pointer;font-size:.9rem;font-weight:600;color:#64748b;border-bottom:2px solid transparent;margin-bottom:-2px;transition:color .15s,border-color .15s}.guida-tab--active{color:#2563eb;border-bottom-color:#2563eb}.admin-section{display:flex;flex-direction:column;gap:.75rem}.admin-section__head{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.faq-admin-list{display:flex;flex-direction:column;gap:.5rem}.faq-admin-row{display:flex;gap:.75rem;align-items:flex-start;background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:.85rem 1rem}.faq-admin-row__content{flex:1;min-width:0}.faq-admin-row__q{font-size:.9rem;font-weight:600;color:#1e293b;margin-bottom:.2rem}.faq-admin-row__a{font-size:.82rem;margin-bottom:.35rem}.faq-admin-row__actions{display:flex;align-items:center;gap:.25rem;flex-shrink:0}.faq-form{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:1.25rem}.chat-layout{display:grid;grid-template-columns:260px 1fr;gap:0;height:520px;border:1px solid #e2e8f0;border-radius:14px;overflow:hidden;background:#fff}.chat-sidebar{display:flex;flex-direction:column;border-right:1px solid #e2e8f0;background:#f8fafc;overflow-y:auto}.chat-sidebar__title{padding:1rem 1rem .5rem;font-size:.82rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#64748b;display:flex;justify-content:space-between;align-items:center}.chat-tutor-picker{border-bottom:1px solid #e2e8f0;padding-bottom:.5rem;margin-bottom:.25rem}.chat-tutor-picker__label{font-size:.75rem;color:#94a3b8;padding:.4rem 1rem .25rem}.chat-conv-item{display:flex;flex-direction:column;gap:.15rem;text-align:left;padding:.75rem 1rem;border:none;background:none;cursor:pointer;border-bottom:1px solid #e2e8f0;transition:background .15s}.chat-conv-item:hover{background:#eff6ff}.chat-conv-item--active{background:#dbeafe}.chat-conv-item__name{font-size:.9rem;font-weight:600;color:#1e293b}.chat-conv-item__meta{display:flex;justify-content:space-between;align-items:center}.chat-badge{background:#ef4444;color:#fff;border-radius:99px;font-size:.7rem;font-weight:700;padding:0 6px;min-width:18px;text-align:center}.chat-main{display:flex;flex-direction:column;overflow:hidden}.chat-header{padding:.75rem 1.25rem;border-bottom:1px solid #e2e8f0;display:flex;align-items:center;gap:.5rem;background:#fff}.chat-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;color:#94a3b8}.chat-messages{flex:1;overflow-y:auto;padding:1rem;display:flex;flex-direction:column;gap:.6rem}.chat-message{display:flex;flex-direction:column;max-width:72%}.chat-message--mine{align-self:flex-end;align-items:flex-end}.chat-message__bubble{background:#f1f5f9;border-radius:12px 12px 12px 3px;padding:.55rem .85rem;font-size:.9rem;line-height:1.5;color:#1e293b}.chat-message--mine .chat-message__bubble{background:#2563eb;color:#fff;border-radius:12px 12px 3px}.chat-message__time{font-size:.7rem;color:#94a3b8;margin-top:.2rem;padding:0 4px}.chat-input{display:flex;align-items:center;gap:.5rem;padding:.6rem .75rem;border-top:1px solid #e2e8f0;background:#fff}.chat-input input{flex:1;min-width:0;border:1px solid #e2e8f0;border-radius:8px;padding:.5rem .75rem;font-size:.9rem;height:38px}.chat-input input:focus{outline:none;border-color:#2563eb}.chat-input button{flex-shrink:0;width:38px;height:38px;padding:0;display:flex;align-items:center;justify-content:center;border-radius:8px}@media(max-width:640px){.chat-layout{grid-template-columns:1fr;height:auto}.chat-sidebar{border-right:none;border-bottom:1px solid #e2e8f0;max-height:200px}.chat-main{min-height:320px}}.navbar-chat__icon{position:relative;display:flex;align-items:center}.navbar-badge{position:absolute;top:-6px;right:-8px;background:#ef4444;color:#fff;border-radius:99px;font-size:.62rem;font-weight:800;padding:0 4px;min-width:15px;text-align:center;line-height:15px}.course-section-title{font-size:1rem;font-weight:700;color:#1e293b;margin-bottom:.75rem}.course-tutors,.course-invites,.course-chat-init{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:1.25rem 1.5rem;margin-top:1.25rem}.tutor-list{list-style:none;display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.tutor-list__item{display:flex;align-items:center;gap:.75rem;padding:.6rem .75rem;background:#f8fafc;border-radius:8px}.tutor-list__item span:first-child{font-weight:600}.tutor-list__item button{margin-left:auto}.tutor-add-form{display:grid;grid-template-columns:1fr auto;gap:.5rem}.invite-create-form{display:grid;grid-template-columns:1fr auto;gap:.5rem;margin-bottom:1rem}.invite-list{list-style:none;display:flex;flex-direction:column;gap:.5rem}.invite-list__item{display:flex;align-items:center;gap:.5rem;padding:.6rem .75rem;background:#f8fafc;border-radius:8px;flex-wrap:wrap}.invite-token{font-size:.75rem;color:#334155;background:#e2e8f0;padding:2px 6px;border-radius:5px;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.invite-actions{display:flex;gap:.25rem;margin-left:auto}.tutor-chat-list{display:flex;flex-wrap:wrap;gap:.5rem}.enroll-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:#f8fafc;padding:1.5rem}.enroll-page__card{background:#fff;border-radius:16px;box-shadow:0 4px 24px #00000014;padding:2.5rem;max-width:460px;width:100%}.enroll-page__logo{display:flex;align-items:center;gap:.75rem;color:#2563eb;font-weight:800;font-size:1.1rem;margin-bottom:2rem}.enroll-page__course h1{font-size:1.4rem;font-weight:800;color:#1e293b;margin-bottom:.5rem}.enroll-page__course{margin-bottom:1.5rem}.enroll-page__email-note{margin-top:.75rem;font-size:.85rem;color:#475569;background:#eff6ff;border-radius:8px;padding:.5rem .75rem}.enroll-page__notice{display:flex;align-items:flex-start;gap:.75rem;padding:1rem;border-radius:10px;margin-bottom:1.25rem}.enroll-page__notice--error{background:#fef2f2;color:#dc2626}.enroll-page__notice--success{background:#f0fdf4;color:#16a34a}.enroll-page__auth,.enroll-page__action{display:flex;flex-direction:column;gap:.75rem}.enroll-page__auth-btns{display:flex;gap:.5rem}.badge-tutor{background:#d1fae5;color:#065f46}.enroll-box--request{display:flex;flex-direction:column;gap:.65rem}.enroll-box--pending{display:flex;flex-direction:row;align-items:flex-start;gap:.75rem;background:#eff6ff;border-color:#93c5fd;color:#1d4ed8}.enroll-box--rejected{display:flex;flex-direction:row;align-items:flex-start;gap:.75rem;background:#fef2f2;border-color:#fca5a5;color:#dc2626}.course-requests{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:1.25rem 1.5rem;margin-top:1.25rem}.requests-badge{display:inline-flex;align-items:center;justify-content:center;background:#ef4444;color:#fff;border-radius:99px;font-size:.72rem;font-weight:700;width:20px;height:20px;margin-left:.5rem;vertical-align:middle}.requests-list{display:flex;flex-direction:column;gap:.5rem}.request-card{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.85rem 1rem;border-radius:10px;border:1px solid #e2e8f0;background:#f8fafc}.request-card--pending{background:#fffbeb;border-color:#fde68a}.request-card--approved{background:#f0fdf4;border-color:#bbf7d0}.request-card--rejected{background:#fef2f2;border-color:#fecaca}.request-card__info{display:flex;flex-direction:column;gap:.15rem;min-width:0}.request-card__note{font-size:.83rem;color:#475569;font-style:italic;margin-top:.15rem}.request-card__actions{display:flex;gap:.4rem;flex-shrink:0}.requests-history{margin-top:.75rem}.course-capacity{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:.5rem}.capacity-badge{display:inline-flex;align-items:center;gap:.3rem;padding:.2rem .6rem;border-radius:99px;font-size:.78rem;background:#dbeafe;color:#1e40af;border:1px solid #93c5fd}.capacity-badge--full{background:#fee2e2;color:#dc2626;border-color:#fca5a5}.course-stat--price{background:#fef9c3;color:#854d0e;border:1px solid #fef08a;border-radius:99px;padding:.15rem .6rem}.course-prereqs{margin-top:.75rem;padding:.75rem 1rem;background:#f0f9ff;border:1px solid #bae6fd;border-radius:10px}.prereqs-title{font-size:.82rem;font-weight:600;color:#0369a1;margin-bottom:.35rem}.prereqs-list{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:.4rem}.prereqs-item{display:inline-flex;align-items:center;gap:.3rem;font-size:.8rem;color:#0c4a6e;background:#fff;border:1px solid #bae6fd;border-radius:6px;padding:.15rem .5rem}.enroll-box--prereq{background:#fafffe;border-color:#5eead4}.prereq-header{display:flex;align-items:flex-start;gap:.75rem;color:#0f766e;margin-bottom:.75rem}.prereq-header--rejected{color:#dc2626}.course-price{font-size:.9rem;color:#0f766e;margin-top:.15rem}.course-price-inline{color:#0f766e;font-weight:600}.prereq-uploads{display:flex;flex-direction:column;gap:.6rem;margin-bottom:.75rem}.prereq-upload-item{display:flex;flex-direction:column;gap:.25rem;padding:.65rem .85rem;background:#fff;border:1px solid #e2e8f0;border-radius:8px}.prereq-label{display:flex;align-items:center;gap:.4rem;font-size:.85rem;font-weight:600;color:#1e293b}.prereq-required{color:#dc2626}.prereq-file-input{font-size:.82rem;margin-top:.15rem}.prereq-filename{font-size:.78rem;color:#16a34a;margin-top:.1rem}.attendance-selector{margin:.5rem 0}.enroll-box__label{font-size:.82rem;font-weight:600;color:#475569;margin-bottom:.35rem}.attendance-options{display:flex;gap:.5rem;flex-wrap:wrap}.attendance-opt{display:flex;align-items:center;gap:.4rem;padding:.4rem .75rem;border:1px solid #e2e8f0;border-radius:8px;cursor:pointer;font-size:.85rem}.attendance-opt input{margin:0}.attendance-opt--active{border-color:#2563eb;background:#eff6ff}.spots-badge{font-size:.72rem;padding:.1rem .4rem;border-radius:99px;background:#dbeafe;color:#1e40af}.spots-badge--full{background:#fee2e2;color:#dc2626}.enroll-box--payment{display:flex;flex-direction:row;align-items:flex-start;gap:.75rem;background:#fffbeb;border-color:#fde68a;color:#92400e}.enroll-price{display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;background:#fef9c3;border:1px solid #fef08a;border-radius:8px;font-size:.9rem;color:#854d0e;margin-bottom:.5rem}.enroll-box--disabled{flex-direction:row;align-items:center;gap:1rem;background:#fafafa;border-color:#e2e8f0;opacity:.85}.enroll-disabled__icon{font-size:1.5rem;flex-shrink:0}.enroll-disabled__title{font-weight:600;color:#374151;margin:0}.enroll-disabled__sub{color:#6b7280;font-size:.88rem;margin:.1rem 0 0}.payment-banner{display:flex;align-items:center;gap:.65rem;padding:.85rem 1.1rem;border-radius:10px;margin-bottom:.75rem;font-size:.92rem;font-weight:500}.payment-banner--success{background:#f0fdf4;border:1px solid #86efac;color:#15803d}.payment-banner--cancelled{background:#fff1f2;border:1px solid #fca5a5;color:#be123c}.payment-banner--confirming{background:#eff6ff;border:1px solid #93c5fd;color:#1d4ed8}.payment-banner__spinner{width:16px;height:16px;border:2px solid #93c5fd;border-top-color:#1d4ed8;border-radius:50%;animation:spin .7s linear infinite;flex-shrink:0}@keyframes spin{to{transform:rotate(360deg)}}.request-card--payment-pending{background:#fffbeb;border-color:#fde68a}.request-attachments{display:flex;flex-wrap:wrap;gap:.35rem;margin-top:.25rem}.attachment-link{display:inline-flex;align-items:center;gap:.25rem;font-size:.77rem;color:#2563eb;text-decoration:none;padding:.15rem .4rem;background:#eff6ff;border:1px solid #bfdbfe;border-radius:5px;cursor:pointer;font-family:inherit}.attachment-link:hover{background:#dbeafe}.request-expand{grid-column:1 / -1;display:flex;gap:.5rem;align-items:center;flex-wrap:wrap;padding:.6rem;background:#f1f5f9;border-radius:8px;margin-top:.35rem}.request-expand input{flex:1;min-width:200px}.btn-danger{color:#dc2626!important}.badge-pending{background:#fef3c7;color:#92400e}.badge-payment{background:#fefce8;color:#854d0e}.prereq-tag-input{display:flex;gap:.5rem;margin-bottom:.5rem}.prereq-tag-input input{flex:1}.prereq-tags{display:flex;flex-wrap:wrap;gap:.4rem;margin-bottom:.5rem}.prereq-tag{display:inline-flex;align-items:center;gap:.3rem;padding:.2rem .5rem .2rem .65rem;background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe;border-radius:99px;font-size:.82rem}.prereq-tag button{display:flex;align-items:center;background:none;border:none;cursor:pointer;color:#6b7280;padding:0}.prereq-tag button:hover{color:#dc2626}.capacity-inputs{display:flex;gap:1.5rem;flex-wrap:wrap}.capacity-inputs label,.settings-row label{display:flex;flex-direction:column;gap:.35rem;font-size:.85rem;font-weight:600;color:#374151}.course-type-toggle{display:flex;gap:.75rem;margin-bottom:.5rem}.course-type-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem 1rem;border-radius:10px;border:2px solid #e2e8f0;background:#fff;cursor:pointer;font-size:.95rem;font-weight:600;color:#64748b;transition:all .15s}.course-type-btn:hover{border-color:#cbd5e1;color:#334155}.course-type-btn--active{border-color:#2563eb;background:#eff6ff;color:#1d4ed8}.course-type-btn--active.course-type-btn--paid{border-color:#16a34a;background:#f0fdf4;color:#15803d}.panel-section{margin-top:1.25rem}.panel-section--students{border-top:1px solid #e2e8f0;padding-top:1.25rem;margin-top:1.5rem}.panel-section-title{font-size:.9rem;font-weight:700;color:#1e293b;margin-bottom:.6rem;display:flex;align-items:center;gap:.4rem}.panel-title-note{font-size:.78rem;font-weight:400;color:#94a3b8}.panel-note{font-size:.82rem;color:#64748b;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:.5rem .75rem;margin-bottom:.75rem}.access-type-options{display:flex;flex-direction:column;gap:.4rem}.access-type-opt{display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:.5rem .6rem;padding:.65rem .85rem;border-radius:10px;border:1.5px solid #e2e8f0;cursor:pointer;transition:border-color .12s}.access-type-opt input{margin:0}.access-type-opt__icon{font-size:1rem}.access-type-opt__label{font-weight:600;font-size:.88rem;color:#1e293b}.access-type-opt__desc{grid-column:3;font-size:.78rem;color:#64748b}.access-type-opt--active{border-color:#2563eb;background:#eff6ff}.access-type-opt--active .access-type-opt__label{color:#1d4ed8}.access-type-opt--disabled{opacity:.4;cursor:not-allowed;pointer-events:none}.code-display{display:flex;align-items:center;gap:1rem;margin-top:.75rem;padding:.6rem .85rem;background:#fafafa;border:1px dashed #cbd5e1;border-radius:8px;font-size:.88rem}.code-value{font-family:monospace;font-size:1rem;letter-spacing:.12em;color:#1e293b}.price-input-row{display:flex;align-items:center;gap:0;max-width:200px}.price-input-prefix{padding:.5rem .65rem;background:#f1f5f9;border:1px solid #e2e8f0;border-right:none;border-radius:8px 0 0 8px;font-weight:700;color:#475569}.price-input{border-radius:0 8px 8px 0!important;width:auto!important;text-align:right}.btn-save-settings{width:auto;padding:.55rem 2rem;margin-top:1.25rem}.attendance-chip{font-size:1rem}.enrollment-note{font-size:.875rem;color:#334155;background:#f0f9ff;border:1px solid #bae6fd;border-left:3px solid #0ea5e9;border-radius:0 8px 8px 0;padding:.6rem .85rem;line-height:1.5;white-space:pre-wrap}.save-row{display:flex;align-items:center;gap:1rem;margin-top:1.25rem}.save-feedback{display:flex;align-items:center;gap:.4rem;font-size:.85rem;font-weight:500;padding:.45rem .75rem;border-radius:8px;margin-top:.75rem}.save-feedback--error{color:#dc2626;background:#fef2f2;border:1px solid #fca5a5}.save-feedback--success{color:#16a34a;background:#f0fdf4;border:1px solid #bbf7d0;margin-top:0}.input--error{border-color:#dc2626!important;background:#fef2f2!important}.input-prefix--error{border-color:#dc2626!important;background:#fee2e2!important;color:#dc2626}html,body{overflow-x:hidden;max-width:100%}img,video,iframe,svg{max-width:100%}@media(max-width:480px){.app-main,.admin-page,.profile-page,.assessment-page,.faq-page,.guida-page{padding:1rem}}@media(max-width:560px){.course-hero{flex-direction:column;padding:1.1rem;gap:.85rem}.course-hero__icon{display:none}.course-hero__cover{width:100%;max-width:none}.course-hero__info h1{font-size:1.25rem}}@media(max-width:600px){.request-card{flex-direction:column;align-items:flex-start;gap:.6rem}.request-card__actions{width:100%;justify-content:flex-end}}@media(max-width:480px){.add-student-form{flex-direction:column}.tutor-add-form,.invite-create-form{grid-template-columns:1fr}.profile-stat-card__grid{grid-template-columns:repeat(2,1fr)}.capacity-inputs{flex-direction:column;gap:.75rem}.course-type-toggle{flex-direction:column}.enroll-box,.enrollment-panel{padding:1rem}.save-row,.admin-tabs{flex-wrap:wrap}.page-header{flex-direction:column;align-items:flex-start}}@media(pointer:coarse){.btn-primary,.btn-secondary{min-height:44px}.btn-ghost{min-height:44px;padding:.7rem 1rem}.btn-sm{min-height:44px;padding:.6rem 1rem;font-size:.9rem}.btn-icon{min-width:44px;min-height:44px}.navbar-link{min-height:44px;padding:.7rem .75rem}.cal-nav__btn{width:44px;height:44px}.cal-nav__today{min-height:44px;padding:.55rem 1rem}.module-toggle{padding:.5rem;min-width:44px;min-height:44px}.assessment-section__toggle,.qa-section__toggle{min-height:44px;padding:.5rem 0}.attendance-opt{min-height:44px;padding:.65rem .75rem}.type-option{min-height:44px}.aq-take__opt{min-height:44px;padding:.75rem .9rem}.faq-item__question{min-height:44px}.chat-conv-item{min-height:52px}.vp-btn{min-height:44px;min-width:44px}.vp-speed-select{min-height:36px;padding:.35rem .4rem;font-size:.8rem}.attachment-link{min-height:36px;padding:.4rem .75rem}.prereq-tag button{min-width:28px;min-height:28px;padding:.15rem;display:inline-flex;align-items:center;justify-content:center}}@media(max-width:400px){.price-input-row{max-width:100%}}.verify-notice{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;background:#fffbeb;border:1px solid #fcd34d;color:#78350f;border-radius:10px;padding:.75rem 1rem;margin-bottom:1rem;font-size:.9rem}.verify-notice>div{flex:1;min-width:14rem}.verify-notice svg{flex-shrink:0}.link-button{background:none;border:none;padding:0;color:#2563eb;text-decoration:underline;cursor:pointer;font:inherit}.lesson-transcode{font-size:.85rem;color:#64748b;margin:.5rem 0 0}.lesson-transcode--ready{color:#15803d}.lesson-transcode--failed{color:#b45309}.vp-watermark{position:absolute;z-index:4;pointer-events:none;-webkit-user-select:none;user-select:none;font:600 clamp(.7rem,1.5vw,1rem) ui-monospace,monospace;letter-spacing:.08em;color:#ffffff61;text-shadow:0 0 2px rgba(0,0,0,.55)}.vp-watermark--0{top:6%;right:4%}.vp-watermark--1{top:42%;left:5%}.vp-watermark--2{top:22%;left:46%}.vp-watermark--3{top:58%;right:6%}.vp-watermark--4{top:8%;left:4%}.admin-watermark{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;margin-bottom:1rem;font-size:.9rem}.admin-watermark input{width:9rem;text-transform:uppercase}.live-attendance{width:100%;border-collapse:collapse;margin:.6rem 0;font-size:.9rem}.live-attendance th,.live-attendance td{text-align:left;padding:.3rem .5rem;border-bottom:1px solid #e5e7eb}.live-room{display:grid;grid-template-rows:auto 1fr auto;height:100%}.live-head{display:flex;align-items:center;gap:.5rem 1rem;flex-wrap:wrap;padding:.6rem 1rem;border-bottom:1px solid #333;color:#e5e7eb}.live-head__title{display:flex;flex-direction:column;min-width:0;margin-right:auto}.live-head__title strong{font-size:1rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.live-head__title span{font-size:.8rem;color:#9ca3af}.live-head__time{font-size:.85rem;color:#fca5a5}.live-room__main{display:flex;min-height:0;position:relative}.live-room__stage{flex:1;min-width:0;position:relative}.live-audio{position:absolute;top:0;right:0;bottom:0;left:0;z-index:15;display:grid;place-items:center;background:#0000008c}.live-audio .btn-primary{width:auto;padding:.9rem 1.6rem;font-size:1.05rem}.live-side{display:flex;flex-direction:column;width:min(22rem,40vw);border-left:1px solid #333;background:#1a1a1a;color:#fff}.live-side__title{font-size:.95rem;margin:0;padding:.75rem;border-bottom:1px solid #333}.live-side__error{margin:0;padding:.6rem .75rem;color:#fca5a5}.live-people{flex:1;overflow-y:auto;list-style:none;margin:0;padding:0}.live-people li{padding:.6rem .75rem;border-bottom:1px solid #262626}.live-people__who{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap}.live-people__who>span:first-child{margin-right:auto}.live-people__actions{display:flex;gap:.4rem;margin-top:.5rem}.live-tag{font-size:.75rem;padding:.1rem .5rem;border-radius:1rem;background:#374151;color:#e5e7eb}.live-tag--hand{background:#92400e;color:#fef3c7}.live-tag--speak{background:#166534;color:#dcfce7}.live-chat__list{flex:1;overflow-y:auto;list-style:none;margin:0;padding:.75rem;font-size:.9rem}.live-chat__list li{margin-bottom:.7rem;overflow-wrap:anywhere}.live-chat__meta{font-size:.8rem;color:#9ca3af}.live-chat__meta strong{color:#e5e7eb}.live-chat__empty{color:#9ca3af}.live-chat__form{display:flex;gap:.4rem;padding:.6rem;border-top:1px solid #333}.live-chat__form input{flex:1;min-width:0;padding:.4rem .6rem;border-radius:.3rem;border:1px solid #444;background:#111;color:#fff}.live-room .live-bar{max-height:none}.live-bar{display:flex;justify-content:space-between;align-items:center;gap:.5rem 1.5rem;flex-wrap:wrap;padding:.5rem .75rem}.live-bar__group{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap}.live-bar__note{color:#d1d5db;font-size:.85rem}.live-badge{margin-left:.4rem;padding:0 .45rem;border-radius:1rem;background:#dc2626;color:#fff;font-size:.8rem}.live-room .lk-button.live-btn--danger{background:#b91c1c;color:#fff}.live-room .lk-button.live-btn--danger:hover{background:#991b1b}.live-room .lk-button.live-btn--primary{background:#2563eb;color:#fff}.live-room .lk-button.live-btn--active{background:#92400e;color:#fff}@media(max-width:700px){.live-side{position:absolute;top:0;right:0;bottom:0;left:0;width:auto;z-index:20;border-left:none}}.live-bar .lk-button{gap:.4rem;min-height:2.75rem}.live-count{color:#9ca3af}@media(max-width:700px),(max-height:500px){.live-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.live-bar{justify-content:center;gap:.4rem .75rem;padding:.4rem .5rem}.live-bar .lk-button{padding:.6rem .75rem}.live-head{padding:.4rem .75rem}.live-head__title span{display:none}.live-head__time{font-size:.75rem;white-space:nowrap}.live-toasts{top:.5rem;right:.5rem;width:calc(100vw - 1rem)}.live-toasts--waiting{top:auto;bottom:4rem;left:.5rem}}.live-prejoin{min-height:100dvh;display:grid;place-items:center;padding:1rem;background:#111;color:#e5e7eb}.live-prejoin__box{width:min(30rem,100%);display:flex;flex-direction:column;gap:.9rem}.live-prejoin__box h1{font-size:1.35rem;margin:0;color:#fff}.live-prejoin__course{margin:0;color:#9ca3af;font-size:.85rem}.live-prejoin__preview{aspect-ratio:16 / 9;border-radius:.6rem;background:#000;display:grid;place-items:center;overflow:hidden;color:#9ca3af}.live-prejoin__preview video{width:100%;height:100%;object-fit:cover;transform:scaleX(-1)}.live-prejoin__toggles{display:flex;gap:.5rem;flex-wrap:wrap}.live-prejoin__output{display:flex;align-items:flex-end;gap:.5rem}.live-prejoin__output .live-device{flex:1}.live-prejoin__go{padding:.8rem;font-size:1rem}.live-prejoin__note{margin:0;color:#9ca3af;font-size:.85rem}.live-device{display:flex;flex-direction:column;gap:.3rem;min-width:0}.live-device label{font-size:.85rem;color:#d1d5db}.live-device select{padding:.5rem;border-radius:.4rem;border:1px solid #444;background:#1a1a1a;color:#fff;max-width:100%}.live-settings{display:flex;flex-direction:column;gap:.9rem;padding:.75rem;overflow-y:auto}.live-side__empty{color:#9ca3af;font-size:.9rem;margin:0}.live-prejoin .lk-button.live-btn--on[aria-pressed],.live-room .lk-button.live-btn--on[aria-pressed]{background:#166534;color:#fff}.live-chat__teacher{color:#93c5fd}.live-tag--teacher{margin-left:.35rem;background:#1e3a8a;color:#dbeafe}.live-settings__check{display:flex;align-items:center;gap:.5rem;color:#e5e7eb;font-size:.9rem}.live-toasts{position:fixed;top:4.5rem;right:1rem;z-index:25;display:flex;flex-direction:column;gap:.5rem;width:min(22rem,calc(100vw - 2rem))}.live-toast{margin:0;padding:.75rem;border-radius:.6rem;background:#1f2937;color:#f9fafb;border-left:4px solid #f59e0b;box-shadow:0 8px 24px #00000073}.live-toast p{margin:0 0 .5rem}.live-toast__actions{display:flex;gap:.4rem;align-items:center}.live-toasts--waiting{right:auto;left:1rem}.live-toasts--waiting .live-toast{border-left-color:#3b82f6}.live-waiting{list-style:none;margin:.5rem 0;padding:0;display:flex;flex-direction:column;gap:.35rem;max-height:40vh;overflow-y:auto}.live-waiting li{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.live-waiting li>span{display:flex;align-items:center;gap:.4rem}.live-room .lk-button.live-toast__close{margin-left:auto;padding:.3rem .6rem}.live-room__failed{max-width:34rem;margin:4rem auto;padding:0 1rem}.live-room__failed h1{font-size:1.4rem;margin-bottom:.6rem}.live-room__failed p{color:#475569;line-height:1.6}.live-room__failed-actions{display:flex;gap:.6rem;flex-wrap:wrap;margin-top:1.2rem}.live-room__waiting{display:grid;place-items:center;height:100%;margin:0;color:#d1d5db}.live-room__state{position:fixed;top:.75rem;left:50%;transform:translate(-50%);z-index:30;margin:0;padding:.4rem .9rem;border-radius:.4rem;background:#b45309;color:#fff;font-size:.9rem}.live-record{position:relative;height:100%;background:#111}.live-record__logo{position:absolute;top:1rem;right:1rem;height:3rem;border-radius:.4rem;opacity:.9}.live-tag--rec{background:#7f1d1d;color:#fecaca}.lesson-badge--draft{background:#fef3c7;color:#92400e}.lesson-publish{display:flex;align-items:center;gap:.75rem;margin:.5rem 0}.two-factor__actions{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:.75rem}.two-factor__actions .btn-primary{width:auto;margin-top:0;padding:.65rem 1.5rem}.two-factor__setup{display:grid;grid-template-columns:auto 1fr;gap:1.5rem;align-items:start;padding:1.25rem;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc}@media(max-width:600px){.two-factor__setup{grid-template-columns:1fr;justify-items:center}}.two-factor__qr{display:grid;place-items:center;width:196px;height:196px;background:#fff;border:1px solid #e2e8f0;border-radius:10px}.two-factor__qr img{display:block}.two-factor__qr-wait{color:#64748b;font-size:.9rem}.two-factor__steps{margin:0;padding-left:1.25rem;display:grid;gap:1.25rem;line-height:1.5;color:#334155}.two-factor__steps li::marker{font-weight:700;color:#2563eb}.two-factor__steps label{display:block;margin-bottom:.5rem;font-weight:400}.two-factor__code{max-width:15rem;margin-bottom:0}.two-factor__manual{margin-top:.5rem;font-size:.9rem;color:#475569}.two-factor__manual summary{cursor:pointer;color:#1d4ed8;font-weight:500;width:fit-content}.two-factor__secret{display:block;margin-top:.4rem;padding:.5rem .75rem;width:fit-content;max-width:100%;background:#fff;border:1px solid #e2e8f0;border-radius:6px;font-size:.95rem;letter-spacing:.08em;word-break:break-all}.two-factor__codes{list-style:none;padding:1rem;margin:.75rem 0;display:grid;gap:.5rem 1rem;grid-template-columns:repeat(auto-fill,minmax(8.5rem,1fr));background:#f8fafc;border:1px dashed #cbd5e1;border-radius:10px;font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace;font-size:1.05rem}.two-factor__left{margin:.5rem 0 0;color:#475569;font-size:.92rem}.two-factor__left--few{padding:.6rem .8rem;border-radius:8px;background:#fffbeb;border:1px solid #fcd34d;color:#92400e}.two-factor__advice{margin:.75rem 0;padding:.75rem 1rem;border-left:3px solid #2563eb;background:#eff6ff;border-radius:0 8px 8px 0;color:#1e3a8a;font-size:.92rem;line-height:1.5}.two-factor__advice p{margin:.2rem 0}.two-factor__panel{display:grid;gap:.4rem;max-width:22rem;margin-top:.75rem}.two-factor__panel .btn-primary{width:auto;justify-self:start}.form-saved{align-self:center;color:#15803d;font-size:.9rem;font-weight:500}.form-saved:not(:empty):before{content:"✓ " / ""}
