@import"https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700&family=DM+Sans:wght@400;500;700&family=JetBrains+Mono:wght@400;500&display=swap";.skip-nav{position:absolute;top:-100%;left:0;padding:.75rem 1.5rem;background:var(--primary-color, #f59e0b);color:#fff;font-weight:600;text-decoration:none;z-index:9999;border-radius:0 0 .5rem;transition:top .15s}.skip-nav:focus{top: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}:root,[data-theme=light]{--primary-color: #f59e0b;--primary-dark: #d97706;--primary-light: #fef3c7;--primary-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);--accent-color: #92400e;--accent-light: #fde68a;--accent-dark: #78350f;--bg-color: #fffbf0;--surface-color: #ffffff;--surface-secondary: #fefce8;--surface-hover: #fef9e7;--surface-elevated: #ffffff;--hover-color: #fef9e7;--text-primary: #1c1917;--text-secondary: #57534e;--text-tertiary: #a8a29e;--text-muted: #a8a29e;--text-inverse: #ffffff;--border-color: #e7e5e4;--border-light: #f5f5f4;--border-focus: #f59e0b;--shadow-sm: 0 1px 2px rgba(120, 53, 15, .05);--shadow-md: 0 4px 6px rgba(120, 53, 15, .07);--shadow-lg: 0 10px 25px rgba(120, 53, 15, .1);--shadow-xl: 0 20px 50px rgba(120, 53, 15, .12);--shadow: 0 2px 12px rgba(120, 53, 15, .08);--success-color: #10b981;--success-bg: #ecfdf5;--warning-color: #f59e0b;--warning-bg: #fffbeb;--error-color: #ef4444;--error-bg: #fef2f2;--info-color: #d97706;--info-bg: #fffbeb;--header-bg: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);--header-text: #ffffff;--honey-drip-color: #d97706;--honey-drop-color: #f59e0b;--footer-bg: #292524;--footer-text: #ffffff;--modal-overlay: rgba(0, 0, 0, .5);--modal-bg: #ffffff;--scrollbar-track: transparent;--scrollbar-thumb: #d6d3d1;--scrollbar-thumb-hover: #a8a29e;--input-bg: #ffffff;--input-border: #d6d3d1;--input-focus-border: #f59e0b;--input-focus-shadow: 0 0 0 3px rgba(245, 158, 11, .15);--card-bg: #ffffff;--card-border: #e7e5e4;--card-shadow: 0 2px 8px rgba(120, 53, 15, .08);--card-hover-shadow: 0 8px 25px rgba(120, 53, 15, .14);--bg-atmosphere-1: rgba(245, 158, 11, .16);--bg-atmosphere-2: rgba(217, 119, 6, .08);--font-display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;--font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;--font-mono: "JetBrains Mono", "Cascadia Mono", "Consolas", "Courier New", monospace;--text-xs: .75rem;--text-sm: .875rem;--text-md: 1rem;--text-lg: 1.125rem;--text-xl: 1.5rem;--text-2xl: 2rem;--radius-sm: .5rem;--radius-md: .75rem;--radius-lg: 1rem;--radius-xl: 1.25rem;--space-1: .25rem;--space-2: .5rem;--space-3: .75rem;--space-4: 1rem;--space-5: 1.25rem;--space-6: 1.5rem;--space-8: 2rem;--space-10: 2.5rem;--space-12: 3rem;--motion-fast: .12s;--motion-base: .22s;--motion-normal: .22s;--motion-slow: .34s;--ease-standard: cubic-bezier(.2, 0, 0, 1);--ease-emphasized: cubic-bezier(.2, .8, .2, 1);--ease-smooth: cubic-bezier(.25, .46, .45, .94);--ease-spring: cubic-bezier(.34, 1.56, .64, 1);--focus-ring-color: rgba(245, 158, 11, .32);--focus-ring-offset: 2px;--focus-ring: 0 0 0 3px rgba(245, 158, 11, .32);--space-9: 2.25rem;--space-7: 1.75rem;--space-14: 3.5rem;--space-16: 4rem;--radius-full: 9999px;--radius-2xl: 1.5rem;--text-3xl: 2.5rem;--text-4xl: 3.25rem;--shadow-glass: 0 4px 24px rgba(120, 53, 15, .08), inset 0 1px 0 rgba(255,255,255,.6);--shadow-inset: inset 0 2px 4px rgba(120, 53, 15, .06);--shadow-glow: 0 0 20px rgba(245, 158, 11, .35);--gradient-honey-warm: linear-gradient(135deg, #fef3c7 0%, #fde68a 50%, #f59e0b 100%);--gradient-amber-deep: linear-gradient(135deg, #f59e0b 0%, #b45309 55%, #7c2d12 100%);--gradient-surface: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(255,247,229,.9) 100%);--bg-honeycomb: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100'%3E%3Cpath d='M28 66L0 50V18L28 2l28 16v32L28 66zm0 34L0 84V50l28 16 28-16v34L28 100z' fill='none' stroke='rgba(245%2C158%2C11%2C0.09)' stroke-width='1.2'/%3E%3C/svg%3E")}[data-theme=dark]{--primary-color: #fbbf24;--primary-dark: #f59e0b;--primary-light: rgba(251, 191, 36, .15);--primary-gradient: linear-gradient(135deg, #d97706 0%, #92400e 100%);--accent-color: #fbbf24;--accent-light: rgba(251, 191, 36, .15);--accent-dark: #f59e0b;--bg-color: #1a1412;--surface-color: #292220;--surface-secondary: #231c1a;--surface-hover: #3d3330;--surface-elevated: #342b28;--hover-color: #3d3330;--text-primary: #fef3c7;--text-secondary: #d6d3d1;--text-tertiary: #78716c;--text-muted: #78716c;--text-inverse: #1a1412;--border-color: #44403c;--border-light: #292220;--border-focus: #fbbf24;--shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);--shadow-md: 0 4px 6px rgba(0, 0, 0, .3);--shadow-lg: 0 10px 25px rgba(0, 0, 0, .4);--shadow-xl: 0 20px 50px rgba(0, 0, 0, .5);--shadow: 0 2px 12px rgba(0, 0, 0, .3);--success-color: #34d399;--success-bg: rgba(52, 211, 153, .1);--warning-color: #fbbf24;--warning-bg: rgba(251, 191, 36, .1);--error-color: #f87171;--error-bg: rgba(248, 113, 113, .1);--info-color: #fbbf24;--info-bg: rgba(251, 191, 36, .1);--header-bg: linear-gradient(135deg, #92400e 0%, #78350f 100%);--header-text: #fef3c7;--honey-drip-color: #78350f;--honey-drop-color: #92400e;--footer-bg: #0f0c0a;--footer-text: #d6d3d1;--modal-overlay: rgba(0, 0, 0, .7);--modal-bg: #292220;--scrollbar-track: transparent;--scrollbar-thumb: #57534e;--scrollbar-thumb-hover: #78716c;--input-bg: #292220;--input-border: #57534e;--input-focus-border: #fbbf24;--input-focus-shadow: 0 0 0 3px rgba(251, 191, 36, .15);--card-bg: #292220;--card-border: #44403c;--card-shadow: 0 2px 8px rgba(0, 0, 0, .3);--card-hover-shadow: 0 8px 25px rgba(0, 0, 0, .4);--bg-atmosphere-1: rgba(251, 191, 36, .14);--bg-atmosphere-2: rgba(146, 64, 14, .24);--focus-ring-color: rgba(251, 191, 36, .38);--focus-ring: 0 0 0 3px rgba(251, 191, 36, .38);--shadow-glass: 0 4px 24px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.06);--shadow-glow: 0 0 20px rgba(251,191,36,.25);--gradient-honey-warm: linear-gradient(135deg, rgba(146,64,14,.4) 0%, rgba(120,53,15,.6) 100%);--gradient-surface: linear-gradient(180deg, rgba(41,34,32,.98) 0%, rgba(35,28,26,.95) 100%)}:root,[data-theme=light]{--amber-50: #fffbeb;--amber-100: #fef3c7;--amber-200: #fde68a;--amber-400: #f59e0b;--amber-600: #d97706;--amber-800: #92400e;--amber-900: #78350f;--accent-sky: #38bdf8;--accent-sky-bg: #e0f2fe;--accent-rose: #fb7185;--accent-rose-bg: #fff1f2;--accent-emerald: #34d399;--accent-emerald-bg: #ecfdf5;--shadow-hex-glow: 0 0 0 4px rgba(245, 158, 11, .18), 0 0 24px rgba(245, 158, 11, .5);--z-base: 1;--z-dropdown: 50;--z-sticky: 100;--z-modal-backdrop: 1000;--z-modal: 1001;--z-toast: 1100;--z-tooltip: 1200;--z-skip-nav: 9999}[data-theme=dark]{--amber-50: rgba(251, 191, 36, .06);--amber-100: rgba(251, 191, 36, .1);--amber-200: rgba(251, 191, 36, .18);--amber-400: #fbbf24;--amber-600: #f59e0b;--amber-800: #fde68a;--amber-900: #fef3c7;--accent-sky: #7dd3fc;--accent-sky-bg: rgba(56, 189, 248, .12);--accent-rose: #fda4af;--accent-rose-bg: rgba(251, 113, 133, .12);--accent-emerald: #6ee7b7;--accent-emerald-bg: rgba(52, 211, 153, .12);--shadow-hex-glow: 0 0 0 4px rgba(251, 191, 36, .25), 0 0 28px rgba(251, 191, 36, .6)}.hex-clip{clip-path:polygon(25% 6.7%,75% 6.7%,100% 50%,75% 93.3%,25% 93.3%,0% 50%);aspect-ratio:1 / .866}.hex-clip--pointy{clip-path:polygon(50% 0%,93.3% 25%,93.3% 75%,50% 100%,6.7% 75%,6.7% 25%);aspect-ratio:.866 / 1}@keyframes hex-fill{0%{width:var(--from, 0%)}to{width:var(--to, 100%)}}.progress-bar--honeycomb{position:relative;height:12px;background:var(--amber-50);border-radius:var(--radius-full);overflow:hidden}.progress-bar--honeycomb .progress-bar__fill{background:var(--bg-honeycomb),linear-gradient(90deg,var(--amber-400) 0%,var(--amber-600) 100%);background-size:14px 25px,auto;animation:hex-fill .6s var(--ease-emphasized) forwards;height:100%}@keyframes pulse-emerald{0%,to{transform:scale(1);box-shadow:0 0 #34d39999}50%{transform:scale(1.05);box-shadow:0 0 0 12px #34d39900}}@keyframes shake-rose{0%,to{transform:translate(0)}20%,60%{transform:translate(-6px)}40%,80%{transform:translate(6px)}}.feedback-correct{animation:pulse-emerald .4s var(--ease-spring)}.feedback-wrong{animation:shake-rose .3s var(--ease-standard)}html{min-height:100%;font-size:16px;overflow-x:hidden;scrollbar-gutter:stable}body{min-height:100vh;overflow-x:hidden;max-width:100vw;position:relative;font-family:var(--font-body);line-height:1.5;letter-spacing:.01em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:radial-gradient(1200px 560px at -6% -8%,var(--bg-atmosphere-1),transparent 68%),radial-gradient(900px 460px at 104% 0%,var(--bg-atmosphere-2),transparent 72%),var(--bg-color);color:var(--text-primary);transition:background-color var(--motion-slow) var(--ease-standard),color var(--motion-base) var(--ease-standard)}body *,body *:before,body *:after{transition-property:background-color,border-color,color,box-shadow;transition-duration:var(--motion-fast);transition-timing-function:var(--ease-standard)}.btn,.card,.modal-content,.side-menu,[class*=hover],input,textarea,select{transition:all var(--motion-base) var(--ease-standard)}h1,h2,h3,h4,h5,h6{font-family:var(--font-display);line-height:1.2;letter-spacing:-.02em;font-weight:600}p,li,label,input,textarea,select,button{font-size:var(--text-md)}a{color:inherit}:focus-visible{outline:0;box-shadow:0 0 0 3px var(--focus-ring-color);border-radius:var(--radius-sm)}:where(button,a,input,select,textarea,[role=button]){min-height:2.5rem}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:var(--scrollbar-track)}::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:4px}::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-thumb-hover)}::selection{background:var(--primary-color);color:#fff}.bl-shell{width:min(1200px,calc(100% - var(--space-8)));margin-inline:auto}.bl-stack{display:flex;flex-direction:column;gap:var(--space-4)}.bl-cluster{display:flex;flex-wrap:wrap;gap:var(--space-3);align-items:center}.bl-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:var(--space-4)}.bl-card{background:var(--card-bg);border:1px solid var(--card-border);border-radius:var(--radius-lg);box-shadow:var(--card-shadow)}@media(prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}button,a,[role=button]{touch-action:manipulation}input,select,textarea{font-size:max(16px,1em)}img,video,iframe{max-width:100%}pre,code{max-width:100%;overflow-x:auto}body:has(.modal-overlay,.lesson-modal-overlay,.session-invite-overlay,.image-picker-overlay,.student-groups-overlay,.student-management-overlay,.student-onboarding-overlay,.auth-overlay,.overlay-backdrop,.bl-tooltip,.bl-dropdown,[data-overlay-open=true]){overflow:hidden;overscroll-behavior:none}.modal-overlay,.lesson-modal-overlay,.session-invite-overlay,.image-picker-overlay,.student-groups-overlay,.student-management-overlay,.student-onboarding-overlay,.auth-overlay,.overlay-backdrop{overscroll-behavior:contain;max-width:100vw;max-width:100dvw}.modal-content,.lesson-modal{max-width:min(100%,calc(100vw - 32px));max-width:min(100%,calc(100dvw - 32px))}[data-theme=dark] .calendar-container{background:var(--surface-color);box-shadow:var(--shadow)}[data-theme=dark] .calendar-nav h2{color:var(--text-primary)}[data-theme=dark] .nav-btn{background:var(--hover-color);color:var(--text-secondary)}[data-theme=dark] .nav-btn:hover{background:var(--border-color);color:var(--text-primary)}[data-theme=dark] .view-switcher{background:var(--hover-color)}[data-theme=dark] .view-switcher button{color:var(--text-secondary)}[data-theme=dark] .view-switcher button.active{background:var(--surface-color);color:var(--primary-color);box-shadow:var(--shadow)}[data-theme=dark] .calendar-grid{border-color:var(--border-color)}[data-theme=dark] .calendar-day-names{background:var(--hover-color);border-bottom-color:var(--border-color)}[data-theme=dark] .day-name{color:var(--text-secondary)}[data-theme=dark] .calendar-day{border-right-color:var(--border-color);border-bottom-color:var(--border-color)}[data-theme=dark] .calendar-day:hover{background:var(--hover-color)}[data-theme=dark] .calendar-day.empty{background:#ffffff05}[data-theme=dark] .calendar-day.today{background:#f59e0b1a}[data-theme=dark] .calendar-day.selected{background:#f59e0b26;box-shadow:inset 0 0 0 2px var(--primary-color)}[data-theme=dark] .day-number{color:var(--text-primary)}[data-theme=dark] .create-lesson-modal,[data-theme=dark] .lesson-detail-modal{background:var(--surface-color)}[data-theme=dark] .create-lesson-modal h3,[data-theme=dark] .lesson-detail-modal h3{color:var(--text-primary)}[data-theme=dark] .create-lesson-modal label,[data-theme=dark] .lesson-detail-modal label{color:var(--text-secondary)}[data-theme=dark] .create-lesson-modal input,[data-theme=dark] .create-lesson-modal select,[data-theme=dark] .create-lesson-modal textarea{background:var(--input-bg);border-color:var(--input-border);color:var(--text-primary)}[data-theme=dark] .create-lesson-modal input:focus,[data-theme=dark] .create-lesson-modal select:focus,[data-theme=dark] .create-lesson-modal textarea:focus{border-color:var(--primary-color);box-shadow:0 0 0 3px #f59e0b33}[data-theme=dark] .lesson-type-option{background:var(--hover-color);border-color:var(--border-color);color:var(--text-primary)}[data-theme=dark] .lesson-type-option:hover{border-color:var(--primary-color)}[data-theme=dark] .chat-container{background:var(--surface-color);box-shadow:var(--shadow)}[data-theme=dark] .chat-rooms{border-right-color:var(--border-color)}[data-theme=dark] .rooms-header{border-bottom-color:var(--border-color)}[data-theme=dark] .rooms-header h3{color:var(--text-primary)}[data-theme=dark] .rooms-loading,[data-theme=dark] .rooms-empty,[data-theme=dark] .placeholder-content{color:var(--text-muted)}[data-theme=dark] .placeholder-content h3{color:var(--text-secondary)}[data-theme=dark] .room-item{border-bottom-color:var(--border-color)}[data-theme=dark] .room-item:hover{background:var(--hover-color)}[data-theme=dark] .room-item.active{background:#f59e0b26}[data-theme=dark] .room-info h4{color:var(--text-primary)}[data-theme=dark] .last-message{color:var(--text-secondary)}[data-theme=dark] .room-time{color:var(--text-muted)}[data-theme=dark] .chat-header{border-bottom-color:var(--border-color);background:var(--hover-color)}[data-theme=dark] .chat-header-info h3{color:var(--text-primary)}[data-theme=dark] .chat-lesson{color:var(--primary-color)}[data-theme=dark] .message-content{background:var(--hover-color);color:var(--text-primary)}[data-theme=dark] .message.own .message-content{background:var(--primary-color);color:#fff}[data-theme=dark] .message-time{color:var(--text-muted)}[data-theme=dark] .chat-input{border-top-color:var(--border-color);background:var(--surface-color)}[data-theme=dark] .chat-input input{background:var(--input-bg);border-color:var(--input-border);color:var(--text-primary)}[data-theme=dark] .chat-input input::placeholder{color:var(--text-muted)}[data-theme=dark] .homework-container{color:var(--text-primary)}[data-theme=dark] .homework-card,[data-theme=dark] .hw-detail-card,[data-theme=dark] .create-homework-modal{background:var(--surface-color);box-shadow:var(--shadow)}[data-theme=dark] .homework-card h3,[data-theme=dark] .hw-detail-card h3,[data-theme=dark] .create-homework-modal h3{color:var(--text-primary)}[data-theme=dark] .homework-card p,[data-theme=dark] .hw-meta,[data-theme=dark] .hw-detail-card p{color:var(--text-secondary)}[data-theme=dark] .hw-tab-btn{color:var(--text-secondary);border-bottom-color:transparent}[data-theme=dark] .hw-tab-btn:hover{color:var(--text-primary);background:var(--hover-color)}[data-theme=dark] .hw-tab-btn.active{color:var(--primary-color);border-bottom-color:var(--primary-color)}[data-theme=dark] .hw-tabs{border-bottom-color:var(--border-color)}[data-theme=dark] .create-homework-modal label{color:var(--text-secondary)}[data-theme=dark] .create-homework-modal input,[data-theme=dark] .create-homework-modal select,[data-theme=dark] .create-homework-modal textarea{background:var(--input-bg);border-color:var(--input-border);color:var(--text-primary)}[data-theme=dark] .teacher-feedback,[data-theme=dark] .my-submission{background:var(--hover-color)}[data-theme=dark] .teacher-feedback h4,[data-theme=dark] .my-submission h4,[data-theme=dark] .student-submission h4,[data-theme=dark] .check-section h4{color:var(--text-primary)}[data-theme=dark] .teacher-feedback p,[data-theme=dark] .my-submission p{color:var(--text-secondary)}[data-theme=dark] .submission-box{background:#fbbf241a;border-color:#fbbf244d;color:var(--text-primary)}[data-theme=dark] .lesson-creator{background:var(--surface-color);box-shadow:var(--shadow)}[data-theme=dark] .lesson-creator-header{border-bottom-color:var(--border-color)}[data-theme=dark] .lesson-creator-header h2{color:var(--text-primary)}[data-theme=dark] .lesson-creator-tabs{background:var(--hover-color)}[data-theme=dark] .lesson-creator-tabs .tab{color:var(--text-secondary)}[data-theme=dark] .lesson-creator-tabs .tab:hover{background:var(--border-color)}[data-theme=dark] .lesson-creator-tabs .tab.active{background:var(--primary-color);color:#fff}[data-theme=dark] .lesson-creator .form-group label{color:var(--text-secondary)}[data-theme=dark] .lesson-creator .form-group input,[data-theme=dark] .lesson-creator .form-group textarea,[data-theme=dark] .lesson-creator .form-group select{background:var(--input-bg);border-color:var(--input-border);color:var(--text-primary)}[data-theme=dark] .lesson-creator .form-group input:focus,[data-theme=dark] .lesson-creator .form-group textarea:focus,[data-theme=dark] .lesson-creator .form-group select:focus{border-color:var(--primary-color);box-shadow:0 0 0 3px #f59e0b33}[data-theme=dark] .exercise-palette{background:linear-gradient(135deg,#f59e0b1a,#d977061a)}[data-theme=dark] .exercise-palette h4{color:var(--primary-color)}[data-theme=dark] .template-item{background:var(--surface-color)}[data-theme=dark] .template-item:hover{border-color:var(--primary-color);box-shadow:0 4px 12px #f59e0b33}[data-theme=dark] .template-name{color:var(--text-primary)}[data-theme=dark] .exercises-list{background:var(--bg-color)}[data-theme=dark] .exercises-list h4{color:var(--text-primary)}[data-theme=dark] .empty-exercises{border-color:var(--border-color);color:var(--text-muted)}[data-theme=dark] .exercise-card{background:var(--surface-color);border-color:var(--border-color)}[data-theme=dark] .exercise-card h4{color:var(--text-primary)}[data-theme=dark] .sentence-ordering-editor .order-buttons button{background:var(--surface-color);border-color:var(--border-color);color:var(--text-primary)}[data-theme=dark] .lesson-viewer{background:var(--surface-color);box-shadow:var(--shadow)}[data-theme=dark] .lesson-viewer h1,[data-theme=dark] .lesson-viewer h2,[data-theme=dark] .lesson-viewer h3{color:var(--text-primary)}[data-theme=dark] .lesson-viewer p,[data-theme=dark] .lesson-viewer .lesson-meta{color:var(--text-secondary)}[data-theme=dark] .exercise-card-viewer{background:var(--bg-color);border-color:var(--border-color)}[data-theme=dark] .exercise-card-viewer h3{color:var(--text-primary)}[data-theme=dark] .exercise-option{background:var(--surface-color);border-color:var(--border-color);color:var(--text-primary)}[data-theme=dark] .exercise-option:hover{border-color:var(--primary-color);background:#f59e0b1a}[data-theme=dark] .exercise-input,[data-theme=dark] .exercise-textarea{background:var(--input-bg);border-color:var(--input-border);color:var(--text-primary)}[data-theme=dark] .unsupported-type,[data-theme=dark] .media-error{background:#ef44441a;color:#fca5a5}[data-theme=dark] .live-lesson-container{background:var(--bg-color)}[data-theme=dark] .live-lesson-panel,[data-theme=dark] .teacher-sidebar,[data-theme=dark] .student-panel{background:var(--surface-color);box-shadow:var(--shadow)}[data-theme=dark] .live-lesson-panel h2,[data-theme=dark] .live-lesson-panel h3,[data-theme=dark] .teacher-sidebar h3,[data-theme=dark] .student-panel h3,[data-theme=dark] .exercise-meta .exercise-title{color:var(--text-primary)}[data-theme=dark] .exercise-type-badge{background:var(--hover-color);color:var(--text-secondary)}[data-theme=dark] .student-card{background:var(--hover-color);border-color:var(--border-color)}[data-theme=dark] .student-card .student-name{color:var(--text-primary)}[data-theme=dark] .student-answer-row{background:var(--bg-color);border-color:var(--border-color)}[data-theme=dark] .account-settings{background:var(--surface-color);box-shadow:var(--shadow)}[data-theme=dark] .settings-nav button{color:var(--text-secondary);border-left-color:transparent}[data-theme=dark] .settings-nav button:hover{background:var(--hover-color);color:var(--text-primary)}[data-theme=dark] .settings-nav button.active{color:var(--primary-color);border-left-color:var(--primary-color);background:#f59e0b1a}[data-theme=dark] .settings-content h3{color:var(--text-primary)}[data-theme=dark] .settings-content label{color:var(--text-secondary)}[data-theme=dark] .settings-content input,[data-theme=dark] .settings-content select,[data-theme=dark] .settings-content textarea{background:var(--input-bg);border-color:var(--input-border);color:var(--text-primary)}[data-theme=dark] .settings-content input:focus,[data-theme=dark] .settings-content select:focus,[data-theme=dark] .settings-content textarea:focus{border-color:var(--primary-color);box-shadow:0 0 0 3px #f59e0b33}[data-theme=dark] .toggle-label{color:var(--text-primary)}[data-theme=dark] .toggle-desc{color:var(--text-secondary)}[data-theme=dark] .danger-zone .danger-block{background:#ef444414;border-color:#ef444433}[data-theme=dark] .danger-block h4{color:#fca5a5}[data-theme=dark] .danger-block p{color:var(--text-secondary)}[data-theme=dark] .info-grid .info-value{color:var(--text-primary)}[data-theme=dark] .info-grid .info-label{color:var(--text-secondary)}[data-theme=dark] .admin-panel{color:var(--text-primary)}[data-theme=dark] .admin-tabs button{color:var(--text-secondary)}[data-theme=dark] .admin-tabs button:hover{color:var(--text-primary);background:var(--hover-color)}[data-theme=dark] .admin-tabs button.active{color:var(--primary-color);border-bottom-color:var(--primary-color)}[data-theme=dark] .stat-card{background:var(--surface-color);box-shadow:var(--shadow)}[data-theme=dark] .stat-card h3{color:var(--text-secondary)}[data-theme=dark] .stat-value{color:var(--text-primary)}[data-theme=dark] .users-table,[data-theme=dark] .lessons-table,[data-theme=dark] .pricing-table,[data-theme=dark] .trial-links-table{background:var(--surface-color);box-shadow:var(--shadow)}[data-theme=dark] .users-table th,[data-theme=dark] .lessons-table th,[data-theme=dark] .pricing-table th,[data-theme=dark] .trial-links-table th{background:var(--hover-color);color:var(--text-secondary);border-bottom-color:var(--border-color)}[data-theme=dark] .users-table td,[data-theme=dark] .lessons-table td,[data-theme=dark] .pricing-table td,[data-theme=dark] .trial-links-table td{color:var(--text-primary);border-bottom-color:var(--border-color)}[data-theme=dark] .users-table tr:hover,[data-theme=dark] .lessons-table tr:hover{background:var(--hover-color)}[data-theme=dark] .admin-section-card{background:var(--surface-color);box-shadow:var(--shadow)}[data-theme=dark] .admin-section-card h3{color:var(--text-primary)}[data-theme=dark] .admin-section-card input,[data-theme=dark] .admin-section-card select,[data-theme=dark] .admin-section-card textarea{background:var(--input-bg);border-color:var(--input-border);color:var(--text-primary)}[data-theme=dark] .landing-page{background:var(--bg-color)}[data-theme=dark] .hero{background:linear-gradient(135deg,#1a1040,#0f172a,#1e1b4b)}[data-theme=dark] .hero-content h1{color:var(--text-primary)}[data-theme=dark] .hero-subtitle{color:var(--text-secondary)}[data-theme=dark] .btn-secondary{background:var(--surface-color);color:var(--primary-color);border-color:var(--primary-color)}[data-theme=dark] .btn-secondary:hover{background:var(--primary-color);color:#fff}[data-theme=dark] .features{background:var(--surface-color)}[data-theme=dark] .features h2{color:var(--text-primary)}[data-theme=dark] .feature-card{background:var(--bg-color);border:1px solid var(--border-color)}[data-theme=dark] .feature-card:hover{box-shadow:0 10px 30px #0000004d;border-color:var(--primary-color)}[data-theme=dark] .feature-card h3{color:var(--text-primary)}[data-theme=dark] .feature-card p{color:var(--text-secondary)}[data-theme=dark] .pricing{background:var(--bg-color)}[data-theme=dark] .pricing h2{color:var(--text-primary)}[data-theme=dark] .pricing-card{background:var(--surface-color);border:1px solid var(--border-color);color:var(--text-primary)}[data-theme=dark] .pricing-card:hover{box-shadow:0 15px 40px #0000004d;border-color:var(--primary-color)}[data-theme=dark] .pricing-card.popular{border-color:var(--primary-color)}[data-theme=dark] .pricing-card h3{color:var(--text-primary)}[data-theme=dark] .pricing-card .price .amount{color:var(--primary-color)}[data-theme=dark] .pricing-card .price .currency,[data-theme=dark] .pricing-card .duration,[data-theme=dark] .pricing-card .plan-description{color:var(--text-secondary)}[data-theme=dark] .pricing-card li,[data-theme=dark] .features-list li{color:var(--text-secondary);border-bottom-color:var(--border-color)}[data-theme=dark] .email-modal{background:var(--surface-color)}[data-theme=dark] .email-modal h3{color:var(--text-primary)}[data-theme=dark] .email-modal p{color:var(--text-secondary)}[data-theme=dark] .email-modal .hint{color:var(--text-tertiary)}[data-theme=dark] .email-modal .error-msg{background:var(--error-bg);color:var(--error-color)}[data-theme=dark] .email-modal input{background:var(--input-bg);border-color:var(--input-border);color:var(--text-primary)}[data-theme=dark] .email-modal input:focus{border-color:var(--primary-color)}[data-theme=dark] .register-hint{color:var(--text-secondary)}[data-theme=dark] .register-hint button{color:var(--primary-color)}[data-theme=dark] .cta{background:linear-gradient(135deg,#f59e0b,#d97706)}[data-theme=dark] .cta h2{color:#fff}[data-theme=dark] .cta p{color:#ffffffd9}[data-theme=dark] .no-plans,[data-theme=dark] .loading{color:var(--text-secondary)}[data-theme=dark] .hero-trigger{color:#ffffffb3}[data-theme=dark] .hero-stats{background:#ffffff0d;border-color:#ffffff1a}[data-theme=dark] .stat-number{color:var(--primary-color)}[data-theme=dark] .stat-label{color:#ffffffb3}[data-theme=dark] .landing-page .btn-secondary{background:var(--surface-color);border-color:var(--primary-color);color:var(--primary-color)}[data-theme=dark] .landing-page .btn-secondary:hover{background:var(--primary-color);color:#1a1412}[data-theme=dark] .hero-stat-number{color:var(--primary-color)}[data-theme=dark] .hero-stat-label{color:var(--text-secondary)}[data-theme=dark] .trust-icon{color:var(--primary-color)}[data-theme=dark] .how-it-works{background:var(--surface-color)}[data-theme=dark] .how-it-works h2{color:var(--text-primary)}[data-theme=dark] .how-it-works .section-subtitle{color:var(--text-secondary)}[data-theme=dark] .step-card{background:var(--bg-color);border:1px solid var(--border-color)}[data-theme=dark] .step-card h3{color:var(--text-primary)}[data-theme=dark] .step-card p{color:var(--text-secondary)}[data-theme=dark] .step-connector{background:var(--border-color)}[data-theme=dark] .social-proof{background:var(--bg-color)}[data-theme=dark] .trust-badge{background:var(--surface-color);border-color:var(--border-color);color:var(--text-secondary)}[data-theme=dark] .testimonial-card{background:var(--surface-color);border-color:var(--border-color)}[data-theme=dark] .testimonial-card:hover{border-color:var(--primary-color)}[data-theme=dark] .testimonial-text{color:var(--text-secondary)}[data-theme=dark] .testimonial-name{color:var(--text-primary)}[data-theme=dark] .testimonial-subject{color:var(--text-muted)}[data-theme=dark] .pricing-guarantee{color:var(--text-secondary)}[data-theme=dark] .faq-preview{background:var(--surface-color)}[data-theme=dark] .faq-preview h2{color:var(--text-primary)}[data-theme=dark] .faq-item{border-color:var(--border-color)}[data-theme=dark] .faq-question{color:var(--text-primary)}[data-theme=dark] .faq-question:hover{color:var(--primary-color)}[data-theme=dark] .faq-answer{color:var(--text-secondary)}[data-theme=dark] .faq-chevron{color:var(--text-muted)}[data-theme=dark] .trial-cta{background:var(--bg-color)}[data-theme=dark] .trial-cta-content{background:var(--surface-color);border-color:var(--border-color)}[data-theme=dark] .trial-cta-content h2{color:var(--text-primary)}[data-theme=dark] .trial-cta-content p{color:var(--text-secondary)}[data-theme=dark] .cta-trigger{color:#ffffffb3}[data-theme=dark] .features .section-subtitle{color:var(--text-secondary)}[data-theme=dark] .pricing-page,[data-theme=dark] .pricing-header h1{color:var(--text-primary)}[data-theme=dark] .pricing-header p{color:var(--text-secondary)}[data-theme=dark] .pricing-card-page{background:var(--surface-color);border-color:var(--border-color);box-shadow:var(--shadow)}[data-theme=dark] .pricing-card-page h3{color:var(--text-primary)}[data-theme=dark] .card-features li{color:var(--text-secondary)}[data-theme=dark] .notifications-panel{background:var(--surface-color);border-color:var(--border-color);box-shadow:var(--shadow-lg)}[data-theme=dark] .notifications-header{border-bottom-color:var(--border-color)}[data-theme=dark] .notifications-header h3{color:var(--text-primary)}[data-theme=dark] .notification-item{border-bottom-color:var(--border-color)}[data-theme=dark] .notification-item:hover{background:var(--hover-color)}[data-theme=dark] .notification-item h4{color:var(--text-primary)}[data-theme=dark] .notification-item p{color:var(--text-secondary)}[data-theme=dark] .notification-time,[data-theme=dark] .no-notifications{color:var(--text-muted)}[data-theme=dark] .notification-toast{background:var(--surface-color);border-color:var(--border-color);box-shadow:var(--shadow-lg)}[data-theme=dark] .toast-content h4{color:var(--text-primary)}[data-theme=dark] .toast-content p{color:var(--text-secondary)}[data-theme=dark] .remote-session-manager{background:var(--surface-color);box-shadow:var(--shadow)}[data-theme=dark] .remote-session-manager h2,[data-theme=dark] .remote-session-manager h3{color:var(--text-primary)}[data-theme=dark] .remote-session-manager p{color:var(--text-secondary)}[data-theme=dark] .step-card,[data-theme=dark] .lesson-select-card{background:var(--bg-color);border-color:var(--border-color)}[data-theme=dark] .lesson-select-card:hover{border-color:var(--primary-color);background:#f59e0b1a}[data-theme=dark] .lesson-select-card h4{color:var(--text-primary)}[data-theme=dark] .lesson-select-card p{color:var(--text-secondary)}[data-theme=dark] .student-select-card{background:var(--bg-color);border-color:var(--border-color)}[data-theme=dark] .student-select-card:hover{border-color:var(--primary-color)}[data-theme=dark] .student-select-card .student-name{color:var(--text-primary)}[data-theme=dark] .meet-input-group input{background:var(--input-bg);border-color:var(--input-border);color:var(--text-primary)}[data-theme=dark] .remote-session-manager .btn-secondary{background:var(--surface-hover);color:var(--text-secondary)}[data-theme=dark] .remote-session-manager .btn-secondary:hover{background:var(--border-color)}[data-theme=dark] .invite-modal{background:var(--surface-color);box-shadow:var(--shadow-lg)}[data-theme=dark] .invite-content h2{color:var(--text-primary)}[data-theme=dark] .invite-content p{color:var(--text-secondary)}[data-theme=dark] .invite-details{background:var(--bg-color)}[data-theme=dark] .invite-details span{color:var(--text-secondary)}[data-theme=dark] .invite-details strong{color:var(--text-primary)}[data-theme=dark] .groups-modal{background:var(--surface-color)}[data-theme=dark] .groups-modal h2{color:var(--text-primary)}[data-theme=dark] .groups-list{border-right-color:var(--border-color)}[data-theme=dark] .group-list-item{border-bottom-color:var(--border-color);color:var(--text-primary)}[data-theme=dark] .group-list-item:hover{background:var(--hover-color)}[data-theme=dark] .group-list-item.active{background:#f59e0b26}[data-theme=dark] .group-detail h3{color:var(--text-primary)}[data-theme=dark] .member-item{background:var(--hover-color)}[data-theme=dark] .member-name{color:var(--text-primary)}[data-theme=dark] .member-email{color:var(--text-secondary)}[data-theme=dark] .groups-modal input{background:var(--input-bg);border-color:var(--input-border);color:var(--text-primary)}[data-theme=dark] .student-management{background:var(--surface-color);box-shadow:var(--shadow)}[data-theme=dark] .students-sidebar{border-right-color:var(--border-color)}[data-theme=dark] .student-list-item{border-bottom-color:var(--border-color)}[data-theme=dark] .student-list-item:hover{background:var(--hover-color)}[data-theme=dark] .student-list-item.active{background:#f59e0b26}[data-theme=dark] .student-list-item h4{color:var(--text-primary)}[data-theme=dark] .student-list-item p{color:var(--text-secondary)}[data-theme=dark] .student-detail h2,[data-theme=dark] .student-detail h3{color:var(--text-primary)}[data-theme=dark] .student-detail p{color:var(--text-secondary)}[data-theme=dark] .student-detail input,[data-theme=dark] .student-detail textarea{background:var(--input-bg);border-color:var(--input-border);color:var(--text-primary)}[data-theme=dark] .notes-view p{color:var(--text-secondary)}[data-theme=dark] .notes-view button{color:var(--primary-color)}[data-theme=dark] .remove-btn{background:#ef44441a;border-color:#ef44444d;color:#fca5a5}[data-theme=dark] .remove-btn:hover{background:#ef444433;border-color:#f87171}[data-theme=dark] .study-materials{background:var(--surface-color);color:var(--text-primary)}[data-theme=dark] .study-materials-card,[data-theme=dark] .flashcard-set,[data-theme=dark] .word-card{background:var(--surface-color);box-shadow:var(--shadow)}[data-theme=dark] .study-materials h2,[data-theme=dark] .study-materials h3{color:var(--text-primary)}[data-theme=dark] .study-materials p{color:var(--text-secondary)}[data-theme=dark] .study-materials input,[data-theme=dark] .study-materials textarea,[data-theme=dark] .study-materials select{background:var(--input-bg);border-color:var(--input-border);color:var(--text-primary)}[data-theme=dark] .study-materials input:focus,[data-theme=dark] .study-materials textarea:focus,[data-theme=dark] .study-materials select:focus{border-color:var(--primary-color);box-shadow:0 0 0 3px #f59e0b33}[data-theme=dark] .material-card{background:var(--bg-color);border-color:var(--border-color)}[data-theme=dark] .material-card:hover{border-color:var(--primary-color);box-shadow:0 4px 12px #f59e0b33}[data-theme=dark] .material-front{color:var(--text-primary)}[data-theme=dark] .material-back{color:var(--text-secondary)}[data-theme=dark] .material-notes{color:var(--text-muted)}[data-theme=dark] .material-category{background:#f59e0b26;color:var(--primary-color)}[data-theme=dark] .material-actions button{background:var(--hover-color);color:var(--text-primary)}[data-theme=dark] .material-actions button:hover{background:var(--border-color)}[data-theme=dark] .material-stats{color:var(--text-muted)}[data-theme=dark] .stat-card{background:var(--bg-color)}[data-theme=dark] .add-form{background:var(--bg-color);border:1px solid var(--border-color)}[data-theme=dark] .tabs{border-bottom-color:var(--border-color)}[data-theme=dark] .tab{color:var(--text-secondary)}[data-theme=dark] .tab:hover{background:var(--hover-color);color:var(--text-primary)}[data-theme=dark] .tab.active{background:var(--primary-color);color:#fff}[data-theme=dark] .search-input{background:var(--input-bg);border-color:var(--input-border);color:var(--text-primary)}[data-theme=dark] .search-input:focus{border-color:var(--primary-color)}[data-theme=dark] .category-select{background:var(--input-bg);border-color:var(--input-border);color:var(--text-primary)}[data-theme=dark] .btn-close{background:var(--hover-color);color:var(--text-primary)}[data-theme=dark] .btn-close:hover{background:var(--border-color)}[data-theme=dark] .review-progress{background:var(--bg-color);color:var(--text-primary)}[data-theme=dark] .btn-wrong{background:#dc262626;color:#f87171}[data-theme=dark] .btn-wrong:hover{background:#dc262640}[data-theme=dark] .btn-correct{background:#22c55e26;color:#4ade80}[data-theme=dark] .btn-correct:hover{background:#22c55e40}[data-theme=dark] .edit-actions button:last-child{background:var(--hover-color);color:var(--text-primary)}[data-theme=dark] .empty-state{color:var(--text-muted)}[data-theme=dark] .edit-form input{background:var(--input-bg);border-color:var(--input-border);color:var(--text-primary)}[data-theme=dark] .flashcard{background:var(--surface-color);border-color:var(--border-color)}[data-theme=dark] .flashcard:hover{border-color:var(--primary-color)}[data-theme=dark] .account-settings-modal,[data-theme=dark] .student-management-modal,[data-theme=dark] .homework-view-modal,[data-theme=dark] .image-picker-modal,[data-theme=dark] .image-picker-cropper-modal,[data-theme=dark] .contact-picker,[data-theme=dark] .gif-picker,[data-theme=dark] .chat-context-menu,[data-theme=dark] .admin-panel-page,[data-theme=dark] .teachers-management,[data-theme=dark] .question-form,[data-theme=dark] .subject-admin-card,[data-theme=dark] .users-filters,[data-theme=dark] .homework-filters,[data-theme=dark] .hw-description-box,[data-theme=dark] .next-lesson-preview,[data-theme=dark] .group-card,[data-theme=dark] .study-bot,[data-theme=dark] .settings-header,[data-theme=dark] .admin-header,[data-theme=dark] .sm-header,[data-theme=dark] .groups-header,[data-theme=dark] .modal-header{background:var(--surface-color);color:var(--text-primary);border-color:var(--border-color)}[data-theme=dark] .study-bot-input,[data-theme=dark] .image-picker-url-input,[data-theme=dark] .exercise-title-input,[data-theme=dark] .image-url-paste-section input{background:var(--input-bg);border-color:var(--input-border);color:var(--text-primary)}*{margin:0;padding:0;box-sizing:border-box}body{font-family:var(--font-body);color:var(--text-primary);background:var(--bg-color)}.app{min-height:100vh;display:flex;flex-direction:column}.header{background:var(--header-bg, linear-gradient(135deg, #f59e0b 0%, #d97706 100%));color:var(--header-text, white);padding:.75rem 0;box-shadow:0 2px 8px #78350f26,0 1px 3px #78350f1a;position:sticky;top:0;z-index:100}.header .header-container:before{content:"";position:absolute;top:0;left:-100%;width:60%;height:100%;background:linear-gradient(90deg,transparent 0%,rgba(255,255,255,.04) 30%,rgba(255,255,255,.08) 50%,rgba(255,255,255,.04) 70%,transparent 100%);animation:honeySheen 10s ease-in-out infinite;pointer-events:none}@keyframes honeySheen{0%{left:-100%}to{left:200%}}.header .container{display:flex;justify-content:space-between;align-items:center}.header-container{display:flex;align-items:center;justify-content:space-between;gap:1rem;position:relative}.header-left{display:flex;align-items:center;gap:.75rem}.logo{width:44px;height:44px;background:#fff3;border-radius:10px;display:flex;align-items:center;justify-content:center;transition:transform .3s ease;position:relative}.logo:hover{transform:scale(1.1) rotate(-5deg);background:#ffffff4d}.logo-icon{font-size:1.5rem;animation:beeFloat 3s ease-in-out infinite}@keyframes beeFloat{0%,to{transform:translateY(0) rotate(0)}25%{transform:translateY(-2px) rotate(3deg)}50%{transform:translateY(1px) rotate(-2deg)}75%{transform:translateY(-1px) rotate(1deg)}}.header h1{font-size:1.25rem;font-weight:700;margin:0;text-shadow:0 1px 3px rgba(120,53,15,.2)}.header-right{display:flex;align-items:center;gap:.5rem}.header nav{display:flex;gap:1rem}[data-theme=dark] .header{box-shadow:0 2px 8px #0000004d,0 1px 3px #0003}@media(max-width:600px){.header-container{padding:0 .5rem}.header h1{display:none}.header-left{gap:0}.logo{width:40px;height:40px}.logo-icon{font-size:1.4rem}.header-right{gap:.25rem}}.container{width:min(100% - 2rem,1400px);margin:0 auto;padding:0}.main-content:has(.landing-page){padding:0}.ticket-balance-badge{display:flex;align-items:center;gap:6px;color:#fff;padding:6px 14px;border-radius:20px;cursor:pointer;font-weight:600;font-size:.9rem;transition:transform .2s,box-shadow .2s;box-shadow:0 2px 8px #00000026;white-space:nowrap}.ticket-balance-badge.has-tickets{background:linear-gradient(135deg,#10b981,#059669)}.ticket-balance-badge.no-tickets{background:linear-gradient(135deg,#ef4444,#dc2626)}.ticket-balance-badge:hover{transform:scale(1.05);box-shadow:0 4px 12px #0003}.ticket-expiry-tag{display:inline-flex;align-items:center;gap:2px;padding:1px 7px;border-radius:10px;font-size:.75rem;font-weight:700;letter-spacing:.02em;margin-left:2px}.ticket-expiry-tag.expiry-warning{background:#ffffff40;color:#fff}.ticket-expiry-tag.expiry-urgent{background:#fef3c7;color:#92400e;animation:expiryPulse 2s ease-in-out infinite}.ticket-expiry-tag.expiry-critical{background:#fee2e2;color:#991b1b;animation:expiryPulse 1s ease-in-out infinite}@keyframes expiryPulse{0%,to{opacity:1}50%{opacity:.7}}.main-content{flex:1;padding:1.5rem 1rem;overflow:hidden}@media(max-width:480px){.main-content{padding:1rem .75rem}}.hero{text-align:center;margin-bottom:4rem;padding:3rem 0}.hero h2{font-size:2.5rem;color:var(--text-primary);margin-bottom:1rem}.hero p{font-size:1.25rem;color:var(--text-secondary)}.courses-section h3{font-size:2rem;color:var(--text-primary);margin-bottom:2rem}.courses-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:2rem}.course-card{background:var(--card-bg);border-radius:12px;overflow:hidden;box-shadow:var(--card-shadow);transition:transform .3s ease,box-shadow .3s ease;border:1px solid var(--card-border)}.course-card:hover{transform:translateY(-5px);box-shadow:var(--card-hover-shadow)}.course-thumbnail{width:100%;height:200px;overflow:hidden;background:linear-gradient(135deg,#f59e0b,#d97706)}.course-thumbnail img{width:100%;height:100%;object-fit:cover}.placeholder-thumbnail{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:4rem}.course-content{padding:1.5rem}.course-content h4{font-size:1.25rem;color:var(--text-primary);margin-bottom:.5rem}.course-instructor{font-size:.9rem;color:var(--text-secondary);margin-bottom:1rem}.course-description{color:var(--text-secondary);font-size:.95rem;line-height:1.5;margin-bottom:1rem;display:-webkit-box;-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.course-meta{display:flex;gap:1rem;margin-bottom:1rem;font-size:.85rem;color:var(--text-secondary)}.course-footer{display:flex;justify-content:space-between;align-items:center;padding-top:1rem;border-top:1px solid var(--border-color)}.course-price{font-size:1.25rem;font-weight:700;color:var(--primary-color)}.btn{padding:.75rem 1.5rem;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease}.btn-primary{background:#fff;color:#f59e0b}.btn-primary:hover{background:#f7fafc;transform:translateY(-2px)}.btn-secondary{background:transparent;color:#fff;border:2px solid white}.btn-secondary:hover{background:#fff;color:#f59e0b}.btn-icon{background:transparent;border:none;font-size:1.3rem;cursor:pointer;padding:8px;border-radius:50%;transition:background .2s}.btn-icon:hover{background:#fff3}.btn-back{background:transparent;border:1px solid var(--border-color);padding:8px 16px;border-radius:8px;cursor:pointer;font-size:14px;color:var(--text-secondary);transition:all .2s}.btn-back:hover{background:var(--surface-hover);color:var(--text-primary)}.btn-sm{padding:.5rem 1rem;font-size:.9rem}.loading,.empty-state{text-align:center;padding:3rem;color:var(--text-secondary);font-size:1.1rem}.footer{background:var(--footer-bg);color:var(--footer-text);text-align:center;padding:2rem 0;margin-top:auto}.footer-rich{background:var(--footer-bg, #1c1917);color:var(--footer-text, #d6d3d1);padding:1rem 0 0;margin-top:auto;padding-bottom:env(safe-area-inset-bottom,0px)}.footer-rich-inner{width:min(100% - 2rem,1400px);margin:0 auto}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:1rem;padding-bottom:.75rem;border-bottom:1px solid rgba(255,255,255,.1)}.footer-brand{display:flex;flex-direction:column;gap:.5rem}.footer-brand-name{font-size:1.1rem;font-weight:700;margin:0;color:var(--primary-color, #f59e0b)}.footer-brand-tagline{font-size:.8rem;margin:0;opacity:.75}.footer-col h4{font-size:.7rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--primary-color, #f59e0b);margin:0 0 .4rem}.footer-col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.25rem}.footer-col ul li button,.footer-col ul li a{background:none;border:none;color:inherit;cursor:pointer;font-size:.8rem;padding:0;opacity:.8;transition:opacity .15s;text-decoration:none}@media(hover:hover){.footer-col ul li button:hover,.footer-col ul li a:hover{opacity:1}}.footer-bottom{padding:.5rem 0;font-size:.75rem;opacity:.6;text-align:center}@media(max-width:768px){.footer-grid{grid-template-columns:1fr 1fr;gap:1.5rem}.footer-brand{grid-column:span 2}}@media(max-width:480px){.footer-grid{grid-template-columns:1fr}.footer-brand{grid-column:span 1}}@media(max-width:768px){.header .container{flex-direction:column;gap:1rem}.hero h2{font-size:2rem}.courses-grid,.subjects-grid{grid-template-columns:1fr}}.subjects-section{margin:2rem 0}.subjects-section h3{font-size:1.5rem;margin-bottom:1.5rem;color:var(--text-primary)}.subjects-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem}.subject-card{background:var(--card-bg);border-radius:12px;padding:1.5rem;box-shadow:var(--card-shadow);border-left:4px solid #f59e0b;transition:transform .2s,box-shadow .2s;cursor:pointer}.subject-card:hover{transform:translateY(-4px);box-shadow:var(--card-hover-shadow)}.subject-card .subject-icon{font-size:2.5rem;margin-bottom:.5rem;display:block}.subject-card h4{font-size:1.2rem;color:var(--text-primary);margin-bottom:.5rem}.subject-card p{color:var(--text-secondary);font-size:.9rem;margin-bottom:.5rem}.subject-card small{color:var(--primary-color);font-weight:500}.subject-card .stats{display:flex;gap:1rem;margin-top:1rem;font-size:.85rem;color:var(--text-tertiary)}.login-container{display:flex;justify-content:center;align-items:center;min-height:400px}.login-form{background:var(--card-bg);padding:2rem;border-radius:12px;box-shadow:var(--shadow-lg);width:100%;max-width:400px;border:1px solid var(--card-border)}.login-form h2{text-align:center;margin-bottom:1.5rem}.form-group{margin-bottom:1rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:500}.form-group input{width:100%;padding:.75rem;border:1px solid var(--input-border);border-radius:8px;font-size:1rem;background:var(--input-bg);color:var(--text-primary)}.form-group input:focus{outline:none;border-color:var(--input-focus-border);box-shadow:var(--input-focus-shadow)}.btn-full{width:100%;margin-top:.5rem}.error-message{background:var(--error-bg);color:var(--error-color);padding:.75rem;border-radius:8px;margin-bottom:1rem}.dashboard-header{margin-bottom:2rem}.dashboard-header h2{font-size:1.8rem;color:var(--text-primary)}.creator-badge{display:inline-flex;align-items:center;gap:4px;background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;padding:4px 14px;border-radius:20px;font-size:.8rem;font-weight:700;letter-spacing:.5px;margin-left:8px;animation:badgeShine 3s ease-in-out infinite;box-shadow:0 2px 8px #f59e0b4d}@keyframes badgeShine{0%,to{box-shadow:0 2px 8px #f59e0b4d}50%{box-shadow:0 2px 16px #f59e0b80}}.dashboard-section{margin-bottom:2rem}.dashboard-section h3{font-size:1.3rem;margin-bottom:1rem;color:var(--text-secondary)}.teacher-card{border-left-width:4px}.quick-actions{display:flex;gap:1rem;flex-wrap:wrap}.action-card{display:flex;flex-direction:column;align-items:center;gap:.5rem;padding:1.5rem 2rem;background:var(--card-bg);border:2px solid var(--border-color);border-radius:12px;cursor:pointer;transition:all .2s}.action-card:hover{border-color:var(--primary-color);background:var(--surface-hover)}.action-icon{font-size:1.5rem}.subject-detail{max-width:900px;margin:0 auto}.subject-header{display:flex;gap:1.5rem;align-items:center;background:var(--card-bg);padding:2rem;border-radius:12px;margin-bottom:2rem;border:1px solid var(--card-border);border-left:4px solid}.subject-icon.large{font-size:4rem}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.chapters-list{display:flex;flex-direction:column;gap:1rem}.chapter-card{background:#fff;padding:1.5rem;border-radius:12px;box-shadow:0 2px 8px #00000014}.chapter-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.chapter-header h4{margin:0}.lessons-list{display:flex;flex-direction:column;gap:.5rem}.lesson-item{display:flex;gap:1rem;padding:.75rem;background:#f7fafc;border-radius:8px;align-items:center}.btn-small{padding:.5rem 1rem;font-size:.85rem;background:#e0f2fe;color:#0369a1;border:none;border-radius:6px;cursor:pointer}.btn-small:hover{background:#bae6fd}.btn-live{background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff}.btn-live:hover{background:linear-gradient(135deg,#dc2626,#b91c1c)}.btn-join{background:linear-gradient(135deg,#10b981,#059669);color:#fff}.btn-join:hover{background:linear-gradient(135deg,#059669,#047857)}.lesson-item{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;background:#f8fafc;border-radius:8px;margin-bottom:.5rem;transition:all .2s}.lesson-item:hover{background:#f1f5f9}.difficulty-badge{font-size:1rem}.lesson-title{flex:1;font-weight:500;color:#334155}.lesson-actions{display:flex;gap:.5rem}.user-nav{display:flex;gap:1rem;align-items:center}.user-name{font-weight:500}.user-name-btn{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;border:none;padding:8px 16px;border-radius:20px;font-weight:500;cursor:pointer;transition:transform .2s,box-shadow .2s;display:flex;align-items:center;gap:8px}.user-name-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px #f59e0b4d}.auth-buttons{display:flex;gap:12px}.view-header{display:flex;align-items:center;gap:16px;margin-bottom:24px}.view-header h2{margin:0;font-size:1.5rem;color:var(--text-primary)}.calendar-view,.chat-view,.homework-view,.study-materials-view,.admin-view{padding:24px 0}.homework-view .view-header,.study-materials-view .view-header,.admin-view .view-header{display:flex;align-items:center;gap:16px;margin-bottom:24px}.homework-view .view-header h2,.study-materials-view .view-header h2,.admin-view .view-header h2{flex:1}.empty-state{text-align:center;padding:40px 20px;background:var(--surface-secondary);border-radius:12px;border:2px dashed var(--border-color)}.empty-state p{color:var(--text-secondary);margin-bottom:16px;font-size:1.1rem}.chapter-card{background:var(--card-bg);border-radius:12px;padding:20px;margin-bottom:16px;box-shadow:var(--card-shadow);border:1px solid var(--card-border);transition:box-shadow .2s}.chapter-card:hover{box-shadow:var(--card-hover-shadow)}.chapter-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px;padding-bottom:16px;border-bottom:1px solid var(--border-light)}.chapter-info h4{margin:0 0 4px;font-size:1.1rem;color:var(--text-primary)}.chapter-description{color:var(--text-secondary);font-size:.9rem;margin:0}.chapter-actions{display:flex;gap:8px;flex-shrink:0}.no-lessons{color:var(--text-tertiary);font-style:italic;padding:12px 0;font-size:.9rem}.lesson-item{display:flex;align-items:center;gap:12px;padding:12px 16px;background:var(--surface-secondary);border-radius:8px;margin-bottom:8px;cursor:pointer;transition:all .2s;border:1px solid transparent}.lesson-item:hover{background:var(--surface-hover);border-color:var(--border-color)}.lesson-title{flex:1;font-weight:500;color:var(--text-primary)}.lesson-exercises-count{color:var(--text-secondary);font-size:.85rem}.lesson-actions{display:flex;gap:6px;opacity:.7;transition:opacity .2s}.lesson-item:hover .lesson-actions{opacity:1}.btn-edit{background:#f59e0b;color:#fff}.btn-edit:hover{background:#d97706}.btn-danger{background:#ef4444;color:#fff}.btn-danger:hover{background:#dc2626}.btn-small{padding:6px 10px;font-size:.8rem;border-radius:6px}.lesson-actions .btn-small{display:inline-flex;align-items:center;justify-content:center;min-width:32px;min-height:32px;line-height:1}.lesson-actions .btn-small>svg{display:block}.difficulty-badge{display:inline-grid;place-items:center;width:20px;min-height:20px}.difficulty-badge>svg{display:block}.modal-overlay{position:fixed;inset:0;background:var(--modal-overlay);display:flex;align-items:center;justify-content:center;z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal-content{background:var(--modal-bg);border-radius:16px;width:90%;max-width:min(500px,calc(100vw - 32px));max-width:min(500px,calc(100dvw - 32px));max-height:90vh;max-height:90dvh;overflow-y:auto;overscroll-behavior:contain;box-shadow:var(--shadow-xl);animation:modalSlideIn .3s ease;border:1px solid var(--border-color)}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid var(--border-color)}.modal-header h3{margin:0;font-size:1.25rem;color:var(--text-primary)}.modal-close{background:none;border:none;font-size:1.5rem;color:var(--text-tertiary);cursor:pointer;padding:4px 8px;border-radius:6px;transition:all .2s}.modal-close:hover{background:var(--surface-hover);color:var(--text-secondary)}.modal-body{padding:24px}.modal-body .form-group{margin-bottom:20px}.modal-body .form-group:last-child{margin-bottom:0}.modal-body label{display:block;margin-bottom:8px;font-weight:500;color:var(--text-primary)}.modal-body input,.modal-body textarea{width:100%;padding:12px 16px;border:1px solid var(--input-border);border-radius:8px;font-size:1rem;background:var(--input-bg);color:var(--text-primary);transition:border-color .2s,box-shadow .2s}.modal-body input:focus,.modal-body textarea:focus{outline:none;border-color:var(--input-focus-border);box-shadow:var(--input-focus-shadow)}.modal-footer{display:flex;justify-content:flex-end;gap:12px;padding:16px 24px;border-top:1px solid var(--border-color);background:var(--surface-secondary);border-radius:0 0 16px 16px}.section-header h3{margin:0;font-size:1.25rem;color:var(--text-primary)}.header-actions{display:flex;gap:10px}.chapter-modal-large{max-width:680px!important;width:95%!important}.form-row{display:flex;gap:16px;margin-bottom:0}.form-group-half{flex:1;min-width:0}.color-input-row{display:flex;gap:8px;align-items:center}.color-picker{width:48px!important;height:40px!important;padding:2px!important;border-radius:8px!important;cursor:pointer;flex-shrink:0}.color-text{flex:1}.modal-body select{width:100%;padding:12px 16px;border:1px solid var(--input-border);border-radius:8px;font-size:1rem;background:var(--input-bg);color:var(--text-primary);transition:border-color .2s,box-shadow .2s;appearance:auto}.modal-body select:focus{outline:none;border-color:var(--input-focus-border);box-shadow:var(--input-focus-shadow)}.btn-advanced-toggle{background:none;border:1px dashed var(--border-color);border-radius:8px;padding:10px 16px;width:100%;text-align:center;cursor:pointer;color:var(--text-secondary);font-size:.9rem;margin-top:8px;transition:all .2s}.btn-advanced-toggle:hover{border-color:var(--accent-color);color:var(--accent-color);background:var(--surface-hover)}.advanced-settings{margin-top:16px;padding-top:16px;border-top:1px solid var(--border-color)}.banner-preview{margin-top:8px;border-radius:8px;overflow:hidden;max-height:120px}.banner-preview img{width:100%;height:120px;object-fit:cover;border-radius:8px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,[role=button]:focus-visible,[tabindex="0"]:focus-visible{outline:none;box-shadow:0 0 0 3px var(--focus-ring-color, rgba(245,158,11,.32));border-radius:var(--radius-sm)}.btn-honey{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:44px;padding:.72rem 1.5rem;border:1px solid rgba(146,64,14,.1);border-radius:var(--radius-md);background:linear-gradient(135deg,var(--primary-color),var(--primary-dark));color:#fff9f1;font-size:.97rem;font-weight:700;cursor:pointer;text-decoration:none;box-shadow:0 4px 14px #f59e0b59;transition:transform var(--motion-fast) var(--ease-smooth),box-shadow var(--motion-fast) var(--ease-smooth),filter var(--motion-fast) var(--ease-standard);-webkit-user-select:none;user-select:none}.btn-honey:hover{transform:translateY(-2px);box-shadow:0 8px 22px #f59e0b70;filter:brightness(1.06)}.btn-honey:active{transform:translateY(0);box-shadow:0 2px 6px #f59e0b40;filter:brightness(.96)}.btn-honey:disabled,.btn-honey[aria-disabled=true]{opacity:.5;cursor:not-allowed;pointer-events:none}.btn:active,.btn-back:active,.btn-sm:active,.btn-small:active{transform:translateY(0) scale(.98)}.btn-primary:active,.btn-secondary:active{filter:brightness(.95)}.btn-icon:active{transform:scale(.92)}.card-glass{background:linear-gradient(180deg,#ffffffd1,#fff7e5b8);backdrop-filter:blur(16px) saturate(1.4);-webkit-backdrop-filter:blur(16px) saturate(1.4);border:1px solid rgba(245,158,11,.18);border-radius:var(--radius-lg);box-shadow:var(--shadow-glass)}[data-theme=dark] .card-glass{background:linear-gradient(180deg,#292220c7,#231c1aad);border-color:#fbbf241f}.progress-bar{width:100%;height:8px;border-radius:var(--radius-full, 9999px);background:var(--border-light);overflow:hidden;position:relative}.progress-bar__fill{height:100%;border-radius:var(--radius-full, 9999px);background:linear-gradient(90deg,var(--primary-color) 0%,var(--primary-dark) 100%);transition:width .4s var(--ease-emphasized);position:relative}.progress-bar__fill:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 20%,rgba(255,255,255,.35) 50%,transparent 80%);animation:progressShimmer 1.8s ease-in-out infinite}@keyframes progressShimmer{0%{transform:translate(-100%)}to{transform:translate(200%)}}.progress-bar.sm{height:4px}.progress-bar.lg{height:12px}.skeleton{border-radius:var(--radius-md);background:linear-gradient(90deg,var(--surface-secondary) 25%,var(--surface-hover) 50%,var(--surface-secondary) 75%);background-size:400% 100%;animation:skeletonWave 1.6s ease-in-out infinite}@keyframes skeletonWave{0%{background-position:100% 50%}to{background-position:0% 50%}}.skeleton-text{height:1em;border-radius:var(--radius-sm);margin-bottom:.5em}.skeleton-text.w-75{width:75%}.skeleton-text.w-50{width:50%}.skeleton-text.w-33{width:33%}.skeleton-card{height:180px;border-radius:var(--radius-lg)}.badge{display:inline-flex;align-items:center;gap:.3em;padding:.28em .72em;border-radius:var(--radius-full, 9999px);font-size:.73rem;font-weight:700;letter-spacing:.03em;text-transform:uppercase;line-height:1;white-space:nowrap}.badge-honey{background:linear-gradient(135deg,var(--primary-color),var(--primary-dark));color:#fff7ea;box-shadow:0 2px 6px #f59e0b4d}.badge-success{background:var(--success-bg);color:var(--success-color);border:1px solid rgba(16,185,129,.25)}.badge-warning{background:var(--warning-bg);color:#92400e;border:1px solid rgba(245,158,11,.3)}.badge-error{background:var(--error-bg);color:var(--error-color);border:1px solid rgba(239,68,68,.25)}.badge-neutral{background:var(--surface-secondary);color:var(--text-secondary);border:1px solid var(--border-color)}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-3, .75rem);padding:clamp(2rem,8vh,5rem) var(--space-6, 1.5rem);text-align:center;background:linear-gradient(180deg,var(--surface-secondary) 0%,transparent 100%);border-radius:var(--radius-lg);border:2px dashed var(--border-color)}.empty-state__icon{font-size:3.5rem;opacity:.55;line-height:1}.empty-state h3{font-size:1.15rem;color:var(--text-primary);margin:0}.empty-state p{font-size:.97rem;color:var(--text-secondary);max-width:40ch;line-height:1.65;margin:0}.spinner{display:inline-block;width:1.4em;height:1.4em;border-radius:50%;border:2px solid var(--border-color);border-top-color:var(--primary-color);animation:spin .7s linear infinite}.toast{display:flex;align-items:center;gap:var(--space-3, .75rem);padding:.9rem 1.2rem;border-radius:var(--radius-md);border-left:4px solid;font-size:.95rem;box-shadow:var(--shadow-md);animation:toastIn .3s var(--ease-spring) forwards}@keyframes toastIn{0%{transform:translateY(-10px);opacity:0}to{transform:translateY(0);opacity:1}}.toast-success{background:var(--success-bg);border-color:var(--success-color);color:var(--success-color)}.toast-warning{background:var(--warning-bg);border-color:var(--warning-color);color:#92400e}.toast-error{background:var(--error-bg);border-color:var(--error-color);color:var(--error-color)}.divider{width:100%;height:1px;background:var(--border-color);margin:var(--space-4, 1rem) 0}.divider-honey{height:2px;background:linear-gradient(90deg,transparent,var(--primary-color),transparent);border:none}.display-1{font-family:var(--font-display);font-size:clamp(2.4rem,6vw,4.4rem);line-height:1.04;letter-spacing:-.025em}.display-2{font-family:var(--font-display);font-size:clamp(1.9rem,4.5vw,3.2rem);line-height:1.08;letter-spacing:-.02em}.heading-1{font-family:var(--font-display);font-size:clamp(1.5rem,3vw,2.4rem);line-height:1.15}.heading-2{font-family:var(--font-display);font-size:clamp(1.25rem,2.4vw,1.9rem);line-height:1.2}.bg-honeycomb{background-image:var(--bg-honeycomb);background-repeat:repeat;background-size:56px 100px}.view-enter{animation:viewEnter .28s var(--ease-emphasized) forwards}@keyframes viewEnter{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.card-hover-glow:hover{box-shadow:var(--card-hover-shadow),0 0 0 2px #f59e0b26}.text-accent{color:var(--primary-color)}.text-muted{color:var(--text-muted)}.text-success{color:var(--success-color)}.text-error{color:var(--error-color)}.stripe-accent{height:3px;background:linear-gradient(90deg,var(--primary-color),var(--primary-dark),var(--accent-color));border-radius:var(--radius-full)}.text-selection-popup{position:absolute;z-index:1000;transform:translate(-50%,-100%);background:var(--color-surface, #fff);border:1px solid var(--color-border, #e7e0d8);border-radius:var(--radius-lg, 12px);box-shadow:var(--shadow-lg, 0 8px 24px rgba(120, 53, 15, .12));padding:.75rem;min-width:260px;max-width:340px;animation:tspFadeIn .15s var(--ease-out, ease-out)}@keyframes tspFadeIn{0%{opacity:0;transform:translate(-50%,-100%) translateY(6px)}to{opacity:1;transform:translate(-50%,-100%) translateY(0)}}.tsp-arrow{position:absolute;bottom:-6px;left:50%;transform:translate(-50%) rotate(45deg);width:12px;height:12px;background:var(--color-surface, #fff);border-right:1px solid var(--color-border, #e7e0d8);border-bottom:1px solid var(--color-border, #e7e0d8)}.tsp-header{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:.5rem}.tsp-word{font-family:var(--font-display, "Fraunces", serif);font-weight:600;font-size:1.05rem;color:var(--color-text-primary, #1c1917);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:180px}.tsp-header-actions{display:flex;gap:.25rem;flex-shrink:0}.tsp-header-actions .btn-icon{width:28px;height:28px;font-size:.85rem;padding:0;display:flex;align-items:center;justify-content:center;border-radius:var(--radius-sm, 6px);border:none;background:transparent;cursor:pointer;transition:background var(--motion-fast, .12s)}.tsp-header-actions .btn-icon:hover{background:var(--color-bg-subtle, #f5f0eb)}.tsp-enriched{display:flex;flex-wrap:wrap;gap:.35rem;margin-bottom:.5rem;font-size:.82rem}.tsp-pronunciation{color:var(--color-text-secondary, #57534e);font-family:var(--font-mono, "Cascadia Mono", monospace);font-size:.8rem}.tsp-pos{background:var(--color-primary-light, #fef3c7);color:var(--color-primary-dark, #d97706);padding:.1rem .4rem;border-radius:var(--radius-sm, 6px);font-size:.75rem;font-weight:500}.tsp-example{font-style:italic;color:var(--color-text-muted, #a8a29e);font-size:.8rem;width:100%;line-height:1.3}.tsp-translation-row{margin-bottom:.5rem}.tsp-translation-input{width:100%;padding:.45rem .6rem;border:1px solid var(--color-border, #e7e0d8);border-radius:var(--radius-sm, 6px);font-size:.85rem;background:var(--color-bg-input, #fff);color:var(--color-text-primary, #1c1917);transition:border-color var(--motion-fast, .12s);box-sizing:border-box}.tsp-translation-input:focus{outline:none;border-color:var(--color-primary, #f59e0b);box-shadow:0 0 0 2px var(--color-primary-light, rgba(245, 158, 11, .15))}.tsp-actions{display:flex;gap:.4rem}.tsp-btn{flex:1;padding:.4rem .6rem;border:none;border-radius:var(--radius-sm, 6px);font-size:.8rem;font-weight:500;cursor:pointer;transition:background var(--motion-fast, .12s),opacity var(--motion-fast, .12s);white-space:nowrap}.tsp-btn:disabled{opacity:.6;cursor:not-allowed}.tsp-btn-enrich{background:var(--color-bg-subtle, #f5f0eb);color:var(--color-text-secondary, #57534e)}.tsp-btn-enrich:hover:not(:disabled){background:var(--color-border, #e7e0d8)}.tsp-btn-save{background:var(--color-primary, #f59e0b);color:#fff}.tsp-btn-save:hover:not(:disabled){background:var(--color-primary-dark, #d97706)}[data-theme=dark] .text-selection-popup,[data-theme=dark] .tsp-arrow{background:var(--color-surface, #292120);border-color:var(--color-border, #3d3533)}[data-theme=dark] .tsp-translation-input{background:var(--color-bg-input, #1a1412);color:var(--color-text-primary, #fef3c7);border-color:var(--color-border, #3d3533)}@media(max-width:768px){.text-selection-popup{min-width:220px;max-width:280px;padding:.6rem}.tsp-actions{flex-direction:column}}.lesson-viewer{min-height:100vh;background:#f8fafc}.lesson-viewer-header{display:flex;justify-content:space-between;align-items:center;padding:16px 24px;background:#fff;border-bottom:1px solid #e5e7eb;position:sticky;top:0;z-index:100}.lesson-viewer-header .header-left{display:flex;align-items:center;gap:16px}.lesson-viewer-header .header-center{flex:1;text-align:center}.lesson-viewer-header .header-center h1{font-size:1.25rem;margin:0;color:#1f2937}.lesson-viewer-header .header-right{display:flex;align-items:center;gap:12px}.show-answers-toggle{display:flex;align-items:center;gap:8px;padding:8px 12px;background:#f3f4f6;border-radius:8px;cursor:pointer;font-size:.875rem}.show-answers-toggle input{width:16px;height:16px}.lesson-viewer-content{max-width:900px;margin:0 auto;padding:24px}.lesson-info-section{background:#fff;border-radius:12px;padding:24px;margin-bottom:24px;box-shadow:0 1px 3px #0000001a}.lesson-meta{display:flex;gap:12px;margin-bottom:16px;flex-wrap:wrap}.difficulty-badge,.duration-badge,.exercises-count{padding:6px 12px;background:#f3f4f6;border-radius:20px;font-size:.875rem;font-weight:500}.lesson-description{color:#6b7280;line-height:1.6;margin-bottom:16px}.lesson-video{border-radius:8px;overflow:hidden;margin-bottom:16px}.lesson-content-text{color:#374151;line-height:1.7;white-space:pre-wrap}.exercises-section{background:#fff;border-radius:12px;padding:24px;box-shadow:0 1px 3px #0000001a}.exercises-section h2{margin:0 0 20px;font-size:1.25rem;color:#1f2937}.no-exercises{text-align:center;padding:40px;color:#6b7280}.exercises-list{display:flex;flex-direction:column;gap:20px}.exercise-card{border:1px solid #e5e7eb;border-radius:12px;padding:20px;background:#fafafa}.exercise-header{display:flex;align-items:flex-start;gap:16px;margin-bottom:16px}.exercise-number{width:36px;height:36px;background:#f59e0b;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:600;flex-shrink:0}.exercise-info{flex:1}.exercise-title{margin:0 0 4px;font-size:1rem;color:#1f2937}.exercise-type{font-size:.8rem;color:#6b7280}.exercise-points{background:#fef3c7;color:#d97706;padding:4px 10px;border-radius:12px;font-size:.8rem;font-weight:500}.exercise-description{color:#6b7280;font-size:.9rem;margin-bottom:16px;padding-left:52px}.exercise-content{background:#fff;border-radius:8px;padding:16px;border:1px solid #e5e7eb}.exercise-explanation{margin-top:16px;padding:12px 16px;background:#ecfdf5;border-radius:8px;color:#047857;font-size:.9rem}.exercise-preview .question{font-weight:500;margin-bottom:16px;color:#1f2937}.exercise-preview .guidelines,.exercise-preview .instructions{color:#6b7280;font-size:.9rem;margin-bottom:12px;padding:8px 12px;background:#f3f4f6;border-radius:6px}.option-item{display:flex;align-items:center;gap:12px;padding:12px 16px;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;cursor:pointer;transition:all .2s}.option-item.selected{background:#fef3c7;border-color:#f59e0b}.option-item.correct{background:#dcfce7;border-color:#22c55e}.option-item input{width:18px;height:18px;flex-shrink:0}.option-text{flex:1}.correct-badge{background:#22c55e;color:#fff;padding:2px 8px;border-radius:10px;font-size:.75rem;font-weight:500}.text-answer-input{width:100%;padding:12px 16px;border:1px solid #d1d5db;border-radius:8px;font-size:1rem}.text-answer-input:focus{outline:none;border-color:#f59e0b;box-shadow:0 0 0 3px #f59e0b1a}.correct-answers{margin-top:12px;padding:10px 14px;background:#dcfce7;border-radius:6px;color:#166534;font-size:.9rem}.fill-blanks-text{line-height:2.2;font-size:1rem}.blank-input{width:100px;padding:4px 8px;border:1px solid #d1d5db;border-radius:4px;margin:0 4px;text-align:center;font-size:.9rem}.blank-input:focus{outline:none;border-color:#f59e0b}.blank-select{padding:4px 8px;border:1px solid #d1d5db;border-radius:4px;margin:0 4px;font-size:.9rem;background:#fff}.correct-hint{color:#22c55e;font-size:.8rem;margin-left:4px}.matching-row{display:flex;align-items:center;gap:12px}.matching-left{flex:1;padding:10px 14px;background:#f3f4f6;border-radius:6px;font-weight:500}.matching-arrow{color:#9ca3af;font-size:1.2rem}.matching-select{flex:1;padding:10px 14px;border:1px solid #d1d5db;border-radius:6px;background:#fff}.ordering-item{display:flex;align-items:center;gap:12px;padding:12px 16px;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px}.ordering-number{font-weight:600;color:#6b7280;min-width:24px}.ordering-text{flex:1}.ordering-controls button{width:28px;height:28px;border:1px solid #d1d5db;background:#fff;border-radius:4px;cursor:pointer;transition:all .2s}.ordering-controls button:hover:not(:disabled){background:#e5e7eb}.ordering-controls button:disabled{opacity:.4;cursor:not-allowed}.correct-order{margin-top:12px;padding:10px 14px;background:#dcfce7;border-radius:6px;color:#166534;font-size:.9rem}.essay-textarea{width:100%;padding:14px 16px;border:1px solid #d1d5db;border-radius:8px;font-size:1rem;resize:vertical;min-height:150px}.essay-textarea:focus{outline:none;border-color:#f59e0b}.essay-info{display:flex;gap:16px;margin-top:8px;font-size:.85rem;color:#6b7280}.file-upload-area{border:2px dashed #d1d5db;border-radius:8px;padding:24px;text-align:center}.upload-hint{color:#6b7280;font-size:.85rem;margin-top:8px}.statement-box{background:#f3f4f6;padding:16px;border-radius:8px;margin-bottom:16px}.statement{font-size:1.1rem;font-weight:500;text-align:center;margin:0}.true-false-options{display:flex;gap:16px;justify-content:center}.tf-option{display:flex;align-items:center;gap:8px;padding:14px 28px;background:#f9fafb;border:2px solid #e5e7eb;border-radius:8px;cursor:pointer;font-weight:500;transition:all .2s}.tf-option:hover{background:#f3f4f6}.tf-option.selected{background:#fef3c7;border-color:#f59e0b}.tf-option.correct{background:#dcfce7;border-color:#22c55e}.tf-option input{width:18px;height:18px}.match-phrases-grid{display:flex;flex-direction:column;gap:12px}.phrase-row{display:flex;align-items:center;gap:12px}.phrase-text{flex:1;padding:10px 14px;background:#f3f4f6;border-radius:6px}.phrase-arrow{color:#9ca3af}.phrase-select{flex:1;padding:10px 14px;border:1px solid #d1d5db;border-radius:6px;background:#fff}.word-box{background:#fef3c7;padding:14px 16px;border-radius:8px;margin-bottom:16px}.word-box .words{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.word-chip{padding:6px 12px;background:#fff;border-radius:16px;font-size:.9rem;box-shadow:0 1px 2px #0000001a}.match-pictures-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:16px}.picture-card{border:1px solid #e5e7eb;border-radius:8px;overflow:hidden;background:#fff}.picture-image{width:100%;height:120px;object-fit:cover}.picture-select{width:100%;padding:10px;border:none;border-top:1px solid #e5e7eb;background:#f9fafb}.drawing-area{background:#f3f4f6;border-radius:8px;padding:16px;text-align:center}.drawing-background{max-width:100%;border-radius:8px}.drawing-placeholder{padding:40px;color:#6b7280}.drawing-placeholder .hint{font-size:.85rem;margin-top:8px}.allowed-tools{margin-top:12px;display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:center}.tool-badge{padding:4px 10px;background:#e0f2fe;color:#0369a1;border-radius:12px;font-size:.8rem}.sentence-ordering{padding:16px;background:#f9fafb;border-radius:8px}.sentence-ordering .word-chips{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.word-chip-draggable{display:flex;align-items:center;gap:6px;padding:8px 12px;background:#fff;border:1px solid #d1d5db;border-radius:6px}.word-chip-draggable .word-order{width:20px;height:20px;background:#f59e0b;color:#fff;border-radius:50%;font-size:.7rem;display:flex;align-items:center;justify-content:center}.word-chip-draggable .word-controls{display:flex;gap:2px}.word-chip-draggable .word-controls button{width:22px;height:22px;border:1px solid #d1d5db;background:#f3f4f6;border-radius:3px;cursor:pointer;font-size:.7rem}.word-chip-draggable .word-controls button:hover:not(:disabled){background:#e5e7eb}.word-chip-draggable .word-controls button:disabled{opacity:.4;cursor:not-allowed}.punctuation{font-size:1.5rem;font-weight:600;color:#374151}.correct-sentence{margin-top:12px;padding:10px 14px;background:#dcfce7;border-radius:6px;color:#166534;font-size:.9rem}.video-container,.audio-container{margin-bottom:16px;border-radius:8px;overflow:hidden;background:#000}.video-container iframe,.video-container video{display:block}.audio-container{background:#f3f4f6;padding:16px}.transcript{margin-top:12px;padding:12px 16px;background:#f3f4f6;border-radius:6px;font-size:.9rem}.transcript p{margin:8px 0 0;font-style:italic}.exercise-image{max-width:100%;border-radius:8px;margin-bottom:16px}.unsupported-type{padding:20px;background:#fef2f2;color:#dc2626;border-radius:8px;text-align:center}.btn{padding:10px 18px;border:none;border-radius:8px;font-weight:500;cursor:pointer;transition:all .2s;display:inline-flex;align-items:center;gap:8px}.btn-back{background:#f3f4f6;color:#374151}.btn-back:hover{background:#e5e7eb}.btn-primary{background:#f59e0b;color:#fff}.btn-primary:hover{background:#d97706}.btn-secondary{background:#f3f4f6;color:#374151}.btn-secondary:hover{background:#e5e7eb}@media(max-width:768px){.lesson-viewer-header{flex-direction:column;gap:12px}.lesson-viewer-header .header-right{flex-wrap:wrap;justify-content:center}.lesson-viewer-content{padding:16px}.exercise-header{flex-direction:column;align-items:flex-start}.exercise-description{padding-left:0}.true-false-options{flex-direction:column}.matching-row,.phrase-row{flex-direction:column;align-items:stretch}.matching-arrow,.phrase-arrow{text-align:center;transform:rotate(90deg)}}@media(max-width:480px){.lesson-viewer-content,.exercise-card{padding:12px}}.exercise-media{margin:16px 0;border-radius:12px;overflow:hidden}.exercise-image-container{background:#f8fafc;padding:8px;border:1px solid #e5e7eb}.exercise-image-container .exercise-image{display:block;max-width:100%;max-height:400px;width:auto;height:auto;margin:0 auto;border-radius:8px;object-fit:contain}.exercise-audio-container{background:linear-gradient(135deg,#f59e0b,#d97706);padding:20px}.exercise-audio-container .exercise-audio{width:100%;height:50px}.exercise-video-container{background:#000;border-radius:12px}.exercise-video-container iframe,.exercise-video-container video{display:block;width:100%;border-radius:12px}.media-error{display:block;padding:20px;background:#fef2f2;color:#dc2626;text-align:center;border-radius:8px;font-size:14px}.lesson-viewer{background:radial-gradient(circle at 10% 8%,rgba(245,158,11,.08),transparent 32%),radial-gradient(circle at 86% 14%,rgba(217,119,6,.06),transparent 30%),var(--bg-color, #f8fafc)}.lesson-viewer-header,.lesson-info-section,.exercises-section,.exercise-card,.exercise-content{border:1px solid rgba(176,120,38,.18);box-shadow:var(--shadow-sm)}.lesson-viewer-header .header-center h1,.exercise-title,.exercise-preview .question,.exercises-section h2{color:var(--text-primary)}.lesson-description,.exercise-description,.exercise-type,.essay-info,.upload-hint,.transcript{color:var(--text-secondary)}.exercise-number{background:linear-gradient(135deg,#f59e0b,#d97706)}.vocabulary-section{margin-top:32px}.vocabulary-section h2{font-family:var(--font-display);font-size:1.3rem;margin-bottom:16px}.vocabulary-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}.vocab-card{background:var(--bg-secondary, #f9f9f6);border:1px solid var(--border-color, #e5e0d5);border-radius:var(--radius-lg, 12px);padding:14px}.vocab-card-header{display:flex;align-items:center;gap:8px;margin-bottom:6px}.vocab-word{font-weight:600;font-size:1.05rem;flex:1}.vocab-translation{color:var(--text-secondary);margin-bottom:4px}.vocab-pronunciation{font-family:var(--font-mono, monospace);font-size:.85rem;color:var(--text-muted)}.vocab-pos{font-size:.8rem;color:var(--color-primary, #f59e0b);font-style:italic}.vocab-example{font-size:.85rem;color:var(--text-secondary);font-style:italic;margin-top:6px}.homework-viewer-section{margin-top:32px}.homework-viewer-section h2{font-family:var(--font-display);font-size:1.3rem;margin-bottom:16px}.homework-card{background:var(--bg-secondary, #f9f9f6);border:1px solid var(--border-color, #e5e0d5);border-radius:var(--radius-lg, 12px);padding:20px;margin-bottom:12px}.homework-card h3{margin:0 0 8px;font-size:1.1rem}.homework-description{color:var(--text-secondary);margin-bottom:8px}.homework-content{white-space:pre-wrap;margin-bottom:8px}.homework-points{font-size:.85rem;color:var(--color-primary, #f59e0b);font-weight:600}@media(max-width:768px){.vocabulary-grid{grid-template-columns:1fr}}.option-item,.ordering-item,.tf-option,.sentence-ordering,.statement-box,.phrase-text,.matching-left{background:var(--surface-secondary, #f8fafc)}.text-answer-input,.blank-input,.blank-select,.matching-select,.essay-textarea,.phrase-select,.picture-select{border-color:var(--input-border, #d7c3a3);background:var(--input-bg, #fffdf8);color:var(--text-primary)}.lesson-viewer :is(button,[role=button],input,select,textarea,a):focus-visible{outline:none;box-shadow:var(--focus-ring)}.option-item:focus-within,.tf-option:focus-within,.ordering-item:focus-within,.phrase-row:focus-within,.matching-row:focus-within{outline:2px solid var(--primary-color);outline-offset:2px}@media(prefers-reduced-motion:reduce){.lesson-viewer *,.lesson-viewer *:before,.lesson-viewer *:after{animation:none!important;transition-duration:.01ms!important}.option-item:hover,.btn:hover,.lesson-viewer-header,.exercise-card:hover{transform:none!important}}.exercise-card{background:var(--surface-secondary);border:1.5px solid var(--border-subtle);border-radius:var(--radius-lg);font-family:var(--font-primary);padding:var(--spacing-md);transition:border-color var(--transition-fast),box-shadow var(--transition-fast)}.exercise-card:hover{border-color:var(--color-honey);box-shadow:var(--shadow-md)}.exercise-card.completed{border-color:var(--color-success, #22c55e);background:var(--color-success-bg, rgba(34, 197, 94, .04))}.exercise-card.correct{border-color:var(--color-success, #22c55e)}.exercise-card.incorrect{border-color:var(--color-error, #ef4444)}.exercise-question{color:var(--text-primary);font-size:var(--font-size-lg);font-weight:600;line-height:var(--line-height-snug);margin-bottom:var(--spacing-md)}.progress-bar{background:var(--surface-tertiary, var(--border-subtle));border-radius:var(--radius-full);height:.5rem;overflow:hidden}.progress-bar__fill{background:var(--gradient-honey-warm);border-radius:var(--radius-full);height:100%;transition:width var(--transition-slow)}.answer-option{background:var(--surface-primary);border:1.5px solid var(--border-subtle);border-radius:var(--radius-md);color:var(--text-primary);cursor:pointer;font-family:var(--font-primary);padding:var(--spacing-sm) var(--spacing-md);text-align:left;transition:border-color var(--transition-fast),background var(--transition-fast);width:100%}.answer-option:hover:not(:disabled){background:var(--surface-hover);border-color:var(--color-honey)}.answer-option.selected{background:var(--color-honey-light);border-color:var(--color-honey);color:var(--color-honey-dark, #92400e);font-weight:600}.answer-option.correct{background:var(--color-success-bg, rgba(34, 197, 94, .08));border-color:var(--color-success, #22c55e)}.answer-option.incorrect{background:var(--color-error-bg, rgba(239, 68, 68, .08));border-color:var(--color-error, #ef4444)}.points-badge{background:var(--gradient-honey-warm);border-radius:var(--radius-full);color:var(--color-white);font-size:var(--font-size-xs);font-weight:700;padding:2px var(--spacing-xs)}.explanation-block{background:var(--color-honey-light);border-left:3px solid var(--color-honey);border-radius:0 var(--radius-md) var(--radius-md) 0;color:var(--text-primary);font-size:var(--font-size-sm);line-height:var(--line-height-relaxed);padding:var(--spacing-sm) var(--spacing-md)}[data-theme=dark] .lesson-viewer-header{background:var(--surface-color);border-bottom-color:var(--border-color)}[data-theme=dark] .show-answers-toggle{background:var(--surface-secondary);color:var(--text-primary)}[data-theme=dark] .lesson-info-section,[data-theme=dark] .exercises-section{background:var(--surface-color)}[data-theme=dark] .lesson-content-text{color:var(--text-primary)}[data-theme=dark] .difficulty-badge,[data-theme=dark] .duration-badge,[data-theme=dark] .exercises-count{background:var(--surface-secondary);color:var(--text-secondary)}[data-theme=dark] .exercise-card{background:var(--surface-secondary);border-color:var(--card-border)}[data-theme=dark] .exercise-content{background:var(--card-bg);border-color:var(--card-border)}[data-theme=dark] .exercise-explanation{background:#34d3991a;color:#34d399}[data-theme=dark] .exercise-preview .guidelines,[data-theme=dark] .exercise-preview .instructions{background:var(--surface-secondary);color:var(--text-secondary)}[data-theme=dark] .option-item{background:var(--surface-secondary);border-color:var(--card-border)}[data-theme=dark] .option-item:hover{background:var(--surface-hover);border-color:var(--input-border)}[data-theme=dark] .option-item.selected{background:#fbbf2426;border-color:var(--primary-color)}[data-theme=dark] .option-item.correct{background:#34d3991f;border-color:#34d399}[data-theme=dark] .correct-badge{background:#34d399}[data-theme=dark] .correct-answers,[data-theme=dark] .correct-order,[data-theme=dark] .correct-sentence{background:#34d3991f;color:#34d399}[data-theme=dark] .matching-left,[data-theme=dark] .phrase-text{background:var(--surface-secondary);color:var(--text-primary)}[data-theme=dark] .matching-arrow,[data-theme=dark] .phrase-arrow{color:var(--text-tertiary)}[data-theme=dark] .matching-select,[data-theme=dark] .phrase-select,[data-theme=dark] .blank-select{background:var(--input-bg);border-color:var(--input-border);color:var(--text-primary)}[data-theme=dark] .ordering-item{background:var(--surface-secondary);border-color:var(--card-border)}[data-theme=dark] .ordering-number{color:var(--text-tertiary)}[data-theme=dark] .ordering-controls button{background:var(--card-bg);border-color:var(--input-border);color:var(--text-primary)}[data-theme=dark] .ordering-controls button:hover:not(:disabled){background:var(--surface-hover)}[data-theme=dark] .statement-box{background:var(--surface-secondary)}[data-theme=dark] .tf-option{background:var(--surface-secondary);border-color:var(--card-border)}[data-theme=dark] .tf-option:hover{background:var(--surface-hover)}[data-theme=dark] .tf-option.selected{background:#fbbf2426;border-color:var(--primary-color)}[data-theme=dark] .tf-option.correct{background:#34d3991f;border-color:#34d399}[data-theme=dark] .word-box{background:#fbbf241f}[data-theme=dark] .word-chip{background:var(--card-bg);color:var(--text-primary)}[data-theme=dark] .picture-card{background:var(--card-bg);border-color:var(--card-border)}[data-theme=dark] .picture-select{background:var(--surface-secondary);border-top-color:var(--border-color);color:var(--text-primary)}[data-theme=dark] .drawing-area{background:var(--surface-secondary)}[data-theme=dark] .drawing-placeholder{color:var(--text-tertiary)}[data-theme=dark] .tool-badge{background:#fbbf2426;color:var(--primary-color)}[data-theme=dark] .sentence-ordering{background:var(--surface-secondary)}[data-theme=dark] .word-chip-draggable{background:var(--card-bg);border-color:var(--input-border);color:var(--text-primary)}[data-theme=dark] .word-chip-draggable .word-controls button{background:var(--surface-secondary);border-color:var(--input-border);color:var(--text-primary)}[data-theme=dark] .word-chip-draggable .word-controls button:hover:not(:disabled){background:var(--surface-hover)}[data-theme=dark] .punctuation{color:var(--text-primary)}[data-theme=dark] .audio-container,[data-theme=dark] .transcript{background:var(--surface-secondary)}[data-theme=dark] .file-upload-area{border-color:var(--input-border);color:var(--text-tertiary)}[data-theme=dark] .unsupported-type,[data-theme=dark] .media-error{background:#f871711a;color:#f87171}[data-theme=dark] .btn-back,[data-theme=dark] .btn-secondary{background:var(--surface-secondary);color:var(--text-secondary)}[data-theme=dark] .btn-back:hover,[data-theme=dark] .btn-secondary:hover{background:var(--surface-hover)}[data-theme=dark] .exercise-image-container{background:var(--surface-secondary);border-color:var(--border-color)}[data-theme=dark] .exercise-points{background:#fbbf2426;color:var(--primary-color)}.student-live-view{min-height:100vh;background:linear-gradient(135deg,#f59e0b,#d97706);display:flex;flex-direction:column}.live-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 2rem;background:#ffffff1a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#fff}.live-header h1{margin:0;font-size:1.5rem}.connection-status{display:flex;align-items:center;gap:.5rem;font-size:.9rem}.status-dot{width:10px;height:10px;border-radius:50%;animation:pulse 2s infinite}.status-dot.connected{background:#4ade80;box-shadow:0 0 10px #4ade80}.status-dot.disconnected{background:#ef4444;box-shadow:0 0 10px #ef4444;animation:none}.status-dot.reconnecting{background:#f59e0b;box-shadow:0 0 10px #f59e0b;animation:pulse .8s infinite}.exit-btn{padding:.5rem 1rem;background:#fff3;border:1px solid rgba(255,255,255,.3);color:#fff;border-radius:8px;cursor:pointer;transition:all .2s}.exit-btn:hover{background:#ffffff4d}.waiting-overlay{flex:1;display:flex;justify-content:center;align-items:center}.waiting-content{text-align:center;color:#fff}.waiting-content h2{margin-top:1rem;font-size:1.5rem}.waiting-content p{opacity:.8}.spinner{width:60px;height:60px;border:4px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;margin:0 auto;animation:spin 1s linear infinite}.live-main{flex:1;padding:2rem;display:flex;flex-direction:column;align-items:center}.exercise-progress{width:100%;max-width:600px;margin-bottom:2rem;color:#fff}.exercise-progress span{font-size:.9rem;margin-bottom:.5rem;display:block}.progress-bar{height:8px;background:#fff3;border-radius:4px;overflow:hidden}.progress-fill{height:100%;background:#fff;border-radius:4px;transition:width .3s ease}.exercise-card{background:#fff;border-radius:16px;padding:2rem;width:100%;max-width:600px;box-shadow:0 20px 40px #0003}.exercise-question{font-size:1.3rem;color:#1f2937;margin:0 0 1rem}.exercise-hint{font-size:.9rem;color:#6b7280;background:#fef3c7;padding:.75rem;border-radius:8px;margin-bottom:1.5rem}.live-exercise-content{margin-top:1rem}.options-list{display:flex;flex-direction:column;gap:.75rem}.option-item{display:flex;align-items:center;gap:.75rem;padding:1rem;background:#f9fafb;border:2px solid #e5e7eb;border-radius:12px;cursor:pointer;transition:all .2s}.option-item:hover{background:#f3f4f6;border-color:#d1d5db}.option-item input:checked+span{color:#f59e0b;font-weight:500}.option-item:has(input:checked){background:#fef3c7;border-color:#f59e0b}.text-input{width:100%;padding:1rem;font-size:1rem;border:2px solid #e5e7eb;border-radius:12px;transition:border-color .2s}.text-input:focus{outline:none;border-color:#f59e0b}.essay-input{width:100%;padding:1rem;font-size:1rem;border:2px solid #e5e7eb;border-radius:12px;resize:vertical;min-height:150px}.essay-input:focus{outline:none;border-color:#f59e0b}.fill-blanks{line-height:2.5;font-size:1.1rem}.blank-input{width:120px;padding:.25rem .5rem;font-size:1rem;border:none;border-bottom:2px solid #f59e0b;margin:0 .25rem;text-align:center}.blank-input:focus{outline:none;border-bottom-color:#f59e0b}.matching-exercise{display:flex;flex-direction:column;gap:1rem}.matching-row{display:flex;align-items:center;gap:1rem}.matching-left{flex:1;padding:.75rem;background:#f3f4f6;border-radius:8px}.matching-row select{flex:1;padding:.75rem;font-size:1rem;border:2px solid #e5e7eb;border-radius:8px}.ordering-exercise{display:flex;flex-direction:column;gap:.5rem}.ordering-hint{font-size:.9rem;color:#6b7280;margin-bottom:.5rem}.ordering-item{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;background:#f9fafb;border:2px solid #e5e7eb;border-radius:10px}.order-number{font-weight:600;color:#f59e0b;min-width:24px}.order-buttons{margin-left:auto;display:flex;gap:.25rem}.order-buttons button{width:32px;height:32px;border:none;background:#f59e0b;color:#fff;border-radius:6px;cursor:pointer;font-size:1rem}.order-buttons button:hover{background:#d97706}.navigation-buttons{display:flex;gap:1rem;margin-top:2rem}.navigation-buttons button{padding:.75rem 1.5rem;background:#fff3;border:2px solid rgba(255,255,255,.3);color:#fff;border-radius:10px;cursor:pointer;font-size:1rem;transition:all .2s}.navigation-buttons button:hover:not(:disabled){background:#ffffff4d}.navigation-buttons button:disabled{opacity:.5;cursor:not-allowed}.teacher-monitor-view{min-height:100vh;background:#f3f4f6;display:flex;flex-direction:column}.monitor-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 2rem;background:linear-gradient(135deg,#1e293b,#334155);color:#fff}.header-left{display:flex;align-items:center;gap:1rem}.header-left h1{margin:0;font-size:1.3rem}.header-center .connection-info{display:flex;align-items:center;gap:.5rem;background:#ffffff1a;padding:.5rem 1rem;border-radius:20px}.start-session-btn{padding:.75rem 1.5rem;background:#10b981;border:none;color:#fff;border-radius:8px;cursor:pointer;font-size:1rem;font-weight:500;transition:background .2s}.start-session-btn:hover{background:#059669}.end-session-btn{padding:.75rem 1.5rem;background:#ef4444;border:none;color:#fff;border-radius:8px;cursor:pointer;font-size:1rem;font-weight:500;transition:background .2s}.end-session-btn:hover{background:#dc2626}.monitor-content{flex:1;display:grid;grid-template-columns:250px 1fr 200px;gap:0;overflow:hidden}.exercise-nav-panel{background:#fff;border-right:1px solid #e5e7eb;overflow-y:auto;padding:1rem}.exercise-nav-panel h3{margin:0 0 1rem;font-size:1rem;color:#6b7280}.exercise-list{display:flex;flex-direction:column;gap:.5rem}.exercise-nav-item{display:flex;align-items:center;gap:.75rem;padding:.75rem;background:#f9fafb;border:2px solid transparent;border-radius:8px;cursor:pointer;text-align:left;transition:all .2s}.exercise-nav-item:hover{background:#f3f4f6}.exercise-nav-item.active{background:#fef3c7;border-color:#f59e0b}.exercise-number{width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:#f59e0b;color:#fff;border-radius:6px;font-weight:600;font-size:.9rem}.exercise-title{flex:1;font-size:.9rem;color:#374151;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.answers-panel{padding:1.5rem;overflow-y:auto}.panel-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.panel-header h2{margin:0;font-size:1.25rem;color:#1f2937}.view-toggle{display:flex;gap:.25rem;background:#e5e7eb;padding:.25rem;border-radius:8px}.view-toggle button{padding:.5rem 1rem;border:none;background:transparent;border-radius:6px;cursor:pointer;font-size:.9rem;color:#6b7280}.view-toggle button.active{background:#fff;color:#374151;box-shadow:0 1px 3px #0000001a}.session-inactive-notice{background:#fef3c7;border:1px solid #fbbf24;padding:1rem;border-radius:8px;text-align:center}.session-inactive-notice p{margin:0;color:#d97706}.students-answers.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1rem}.students-answers.list{display:flex;flex-direction:column;gap:.5rem}.student-card{background:#fff;border:2px solid #e5e7eb;border-radius:12px;padding:1rem;transition:all .2s}.student-card.offline{opacity:.5}.student-card.waiting{border-color:#fbbf24}.student-card.in-progress{border-color:#f59e0b}.student-card.completed{border-color:#10b981}.students-answers.list .student-card{display:flex;align-items:center;gap:1rem}.student-info{display:flex;align-items:center;gap:.5rem;margin-bottom:.75rem}.students-answers.list .student-info{margin-bottom:0;min-width:200px}.status-indicator{width:10px;height:10px;border-radius:50%}.status-indicator.offline{background:#9ca3af}.status-indicator.waiting{background:#fbbf24}.status-indicator.in-progress{background:#f59e0b;animation:pulse 1.5s infinite}.status-indicator.completed{background:#10b981}.student-name{font-weight:500;color:#374151}.student-answer{flex:1}.answer-preview{display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;background:#f9fafb;border-radius:8px}.answer-preview.correct{background:#dcfce7}.answer-preview.incorrect{background:#fee2e2}.answer-preview.partial{background:#fef3c7}.answer-text{flex:1;font-size:.9rem;color:#374151}.status-icon{font-weight:700}.answer-preview.correct .status-icon{color:#10b981}.answer-preview.incorrect .status-icon{color:#ef4444}.no-answer{color:#9ca3af;font-style:italic;font-size:.9rem}.view-essay-btn{padding:.25rem .5rem;background:#f59e0b;border:none;color:#fff;border-radius:4px;cursor:pointer;font-size:.8rem}.no-students{text-align:center;padding:3rem;color:#6b7280}.stats-panel{background:#fff;border-left:1px solid #e5e7eb;padding:1rem;overflow-y:auto}.stats-panel h3,.stats-panel h4{margin:0 0 1rem;font-size:.9rem;color:#6b7280}.stats-panel h4{margin-top:1rem}.stats-panel hr{border:none;border-top:1px solid #e5e7eb;margin:1rem 0}.stat-item{display:flex;justify-content:space-between;padding:.5rem 0;border-bottom:1px solid #f3f4f6}.stat-item label{font-size:.85rem;color:#6b7280}.stat-value{font-weight:600;color:#374151}.action-btn{width:100%;padding:.5rem;margin-bottom:.5rem;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:6px;cursor:pointer;font-size:.85rem;transition:all .2s}.action-btn:hover:not(:disabled){background:#e5e7eb}.action-btn:disabled{opacity:.5;cursor:not-allowed}@media(max-width:1024px){.monitor-content{grid-template-columns:200px 1fr}.stats-panel{display:none}}@media(max-width:768px){.monitor-content{grid-template-columns:1fr}.exercise-nav-panel{display:none}.live-header{padding:1rem;flex-wrap:wrap;gap:.5rem}.live-header h1{order:-1;width:100%;text-align:center}.exercise-card{padding:1.5rem}}.student-document-view{min-height:100vh;background:#f5f5f5;display:flex;flex-direction:column}.document-header{position:sticky;top:0;z-index:100;display:flex;justify-content:space-between;align-items:center;padding:12px 24px;background:#fff;box-shadow:0 2px 8px #0000001a}.document-header .header-left{display:flex;align-items:center;gap:16px}.document-header .lesson-info h1{margin:0;font-size:1.2rem;color:#1a1a2e}.document-header .exercise-count{font-size:.85rem;color:#666}.document-header .header-center{display:flex;align-items:center;gap:1rem}.document-header .meet-btn{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:linear-gradient(135deg,#10b981,#059669);color:#fff;border:none;border-radius:8px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .2s;box-shadow:0 2px 8px #10b9814d}.document-header .meet-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #10b98166}.document-header .header-right .progress-info{display:flex;align-items:center;gap:12px}.progress-bar-mini{width:100px;height:8px;background:#e0e0e0;border-radius:4px;overflow:hidden}.progress-bar-mini .progress-fill{height:100%;background:linear-gradient(90deg,#f59e0b,#fbbf24);transition:width .3s ease}.document-content{flex:1;padding:32px 16px;display:flex;justify-content:center}.document-paper{width:100%;max-width:800px;background:#fff;border-radius:8px;box-shadow:0 4px 24px #0000001a;padding:48px}.paper-header{text-align:center;padding-bottom:32px;border-bottom:2px solid #e0e0e0;margin-bottom:32px}.paper-header h2{margin:0 0 8px;font-size:1.8rem;color:#1a1a2e}.paper-meta{color:#666;font-size:.9rem}.exercises-list{display:flex;flex-direction:column;gap:32px}.document-exercise{display:flex;gap:20px;padding:24px;border:2px solid #e8e8e8;border-radius:12px;transition:all .3s ease;background:#fafafa}.document-exercise:hover{border-color:#d0d0d0}.document-exercise.highlighted{border-color:#f59e0b;box-shadow:0 0 20px #6c5ce733;background:#f8f6ff}.document-exercise.correct{border-color:#00b894;background:#f0fff4}.document-exercise.incorrect{border-color:#e74c3c;background:#fff5f5}.exercise-number-badge{width:40px;height:40px;min-width:40px;background:linear-gradient(135deg,#f59e0b,#fbbf24);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1.1rem}.exercise-content-wrapper{flex:1}.exercise-content-wrapper .exercise-title{margin:0 0 8px;font-size:1.1rem;color:#1a1a2e}.exercise-content-wrapper .exercise-description{margin:0 0 16px;color:#666;font-size:.9rem;background:#fff8e1;padding:8px 12px;border-radius:6px}.exercise-body{margin-top:16px}.options-list{display:flex;flex-direction:column;gap:10px}.options-list .option-item{display:flex;align-items:center;gap:12px;padding:12px 16px;background:#fff;border:2px solid #e0e0e0;border-radius:8px;cursor:pointer;transition:all .2s}.options-list .option-item:hover{border-color:#f59e0b;background:#f8f6ff}.options-list .option-item.selected{border-color:#f59e0b;background:#ede9ff}.options-list .option-item input[type=radio],.options-list .option-item input[type=checkbox]{display:none}.option-radio{width:20px;height:20px;border:2px solid #ccc;border-radius:50%;position:relative;transition:all .2s}.option-item.selected .option-radio{border-color:#f59e0b}.option-item.selected .option-radio:after{content:"";position:absolute;top:4px;left:4px;width:8px;height:8px;background:#f59e0b;border-radius:50%}.option-checkbox{width:20px;height:20px;border:2px solid #ccc;border-radius:4px;position:relative;transition:all .2s}.option-item.selected .option-checkbox{border-color:#f59e0b;background:#f59e0b}.option-item.selected .option-checkbox:after{content:"✓";position:absolute;top:-2px;left:2px;color:#fff;font-size:14px;font-weight:700}.option-text{flex:1;font-size:1rem;color:#333}.text-input-wrapper{width:100%}.document-text-input{width:100%;padding:14px 16px;border:2px solid #e0e0e0;border-radius:8px;font-size:1rem;transition:border-color .2s}.document-text-input:focus{outline:none;border-color:#f59e0b}.fill-blanks-content{line-height:2.2}.fill-blanks-text{font-size:1.1rem;color:#333}.blank-input-inline{width:120px;padding:4px 8px;margin:0 4px;border:none;border-bottom:2px solid #f59e0b;background:#f8f6ff;font-size:1rem;text-align:center;transition:all .2s}.blank-input-inline:focus{outline:none;background:#ede9ff}.essay-wrapper{position:relative}.document-essay-input{width:100%;padding:16px;border:2px solid #e0e0e0;border-radius:8px;font-size:1rem;line-height:1.6;resize:vertical;min-height:150px;transition:border-color .2s}.document-essay-input:focus{outline:none;border-color:#f59e0b}.word-count{position:absolute;bottom:8px;right:12px;font-size:.8rem;color:#999}.matching-grid{display:flex;flex-direction:column;gap:12px}.matching-row{display:flex;align-items:center;gap:16px;padding:12px;background:#fff;border:2px solid #e0e0e0;border-radius:8px}.matching-left-item{flex:1;font-weight:500;color:#333}.matching-arrow{color:#f59e0b;font-size:1.2rem}.matching-select{flex:1;padding:10px 12px;border:2px solid #e0e0e0;border-radius:6px;font-size:1rem;cursor:pointer;background:#fff}.matching-select:focus{outline:none;border-color:#f59e0b}.ordering-list{display:flex;flex-direction:column;gap:8px}.ordering-instruction{color:#666;font-size:.9rem;margin-bottom:8px}.ordering-item-row{display:flex;align-items:center;gap:12px;padding:12px 16px;background:#fff;border:2px solid #e0e0e0;border-radius:8px;transition:all .2s}.ordering-item-row:hover{border-color:#f59e0b;background:#f8f6ff}.ordering-number{font-weight:700;color:#f59e0b;min-width:24px}.ordering-text{flex:1;color:#333}.ordering-controls{display:flex;gap:4px}.ordering-controls button{width:32px;height:32px;border:1px solid #e0e0e0;background:#fff;border-radius:6px;cursor:pointer;font-size:1rem;transition:all .2s}.ordering-controls button:hover:not(:disabled){background:#f59e0b;color:#fff;border-color:#f59e0b}.ordering-controls button:disabled{opacity:.3;cursor:not-allowed}.true-false-options{display:flex;gap:16px}.tf-option{flex:1;display:flex;align-items:center;justify-content:center;gap:12px;padding:20px;background:#fff;border:2px solid #e0e0e0;border-radius:12px;cursor:pointer;transition:all .2s;font-size:1.1rem;font-weight:500}.tf-option:hover{border-color:#f59e0b}.tf-option.selected{border-color:#f59e0b;background:#ede9ff}.tf-option input{display:none}.tf-icon{font-size:1.5rem}.feedback-message{margin-top:16px;padding:12px 16px;border-radius:8px;font-weight:500}.feedback-message.correct{background:#d4edda;color:#155724}.feedback-message.incorrect{background:#f8d7da;color:#721c24}.paper-footer{margin-top:40px;padding-top:24px;border-top:2px solid #e0e0e0;text-align:center}.completion-status .completed{color:#00b894;font-size:1.1rem;font-weight:600}.completion-status .in-progress{color:#666;font-size:1rem}.floating-progress{position:fixed;bottom:24px;right:24px;z-index:100}.progress-circle{width:60px;height:60px;position:relative;background:#fff;border-radius:50%;box-shadow:0 4px 12px #00000026}.progress-circle svg{width:100%;height:100%;transform:rotate(-90deg)}.progress-bg{fill:none;stroke:#e0e0e0;stroke-width:3}.progress-value{fill:none;stroke:#f59e0b;stroke-width:3;stroke-linecap:round;transition:stroke-dasharray .3s ease}.progress-text{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:.75rem;font-weight:700;color:#f59e0b}.connection-hint{margin-top:16px;font-size:.9rem}@media(max-width:768px){.document-paper{padding:24px;border-radius:0}.document-header{padding:12px 16px;flex-wrap:wrap;gap:8px}.document-header .lesson-info h1{font-size:1rem}.document-exercise{flex-direction:column;padding:16px;gap:12px}.exercise-number-badge{width:32px;height:32px;min-width:32px;font-size:.9rem}.true-false-options{flex-direction:column}.matching-row{flex-direction:column;align-items:stretch}.matching-arrow{text-align:center;transform:rotate(90deg)}}.teacher-document-view{min-height:100vh;background:#1a1a2e;display:flex;flex-direction:column}.teacher-doc-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 2rem;background:linear-gradient(135deg,#16213e,#0f3460);border-bottom:2px solid #e94560;color:#fff}.teacher-doc-header .header-left{display:flex;align-items:center;gap:1rem}.teacher-doc-header .header-left h1{margin:0;font-size:1.4rem}.teacher-doc-header .exit-btn{background:#ffffff1a;border:1px solid rgba(255,255,255,.2);color:#fff;padding:.5rem 1rem;border-radius:6px;cursor:pointer;transition:all .2s}.teacher-doc-header .exit-btn:hover{background:#fff3}.teacher-doc-header .connection-status{font-size:1rem;display:flex;align-items:center;gap:.5rem}.teacher-doc-header .start-session-btn{background:linear-gradient(135deg,#4ade80,#22c55e);color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-weight:600;cursor:pointer;transition:transform .2s}.teacher-doc-header .start-session-btn:hover{transform:scale(1.05)}.teacher-doc-header .end-session-btn{background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-weight:600;cursor:pointer}.teacher-doc-body{display:flex;flex:1;overflow:hidden}.teacher-sidebar{width:280px;background:#16213e;border-right:1px solid rgba(255,255,255,.1);display:flex;flex-direction:column;overflow-y:auto}.teacher-sidebar h3{color:#fff;padding:1rem;margin:0;border-bottom:1px solid rgba(255,255,255,.1);font-size:1rem}.toc-section{border-bottom:1px solid rgba(255,255,255,.1)}.toc-list{max-height:300px;overflow-y:auto}.toc-item{display:flex;align-items:center;gap:.75rem;width:100%;padding:.75rem 1rem;background:none;border:none;color:#94a3b8;text-align:left;cursor:pointer;transition:all .2s}.toc-item:hover{background:#ffffff0d;color:#fff}.toc-number{width:24px;height:24px;background:#0f3460;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.8rem;font-weight:600}.toc-title{flex:1;font-size:.85rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.toc-stats{font-size:.75rem;color:#64748b}.toc-stats .correct{color:#4ade80}.students-section{flex:1;display:flex;flex-direction:column}.student-filter-btn{margin:.5rem 1rem;padding:.5rem;background:#ffffff0d;border:1px solid rgba(255,255,255,.1);color:#94a3b8;border-radius:6px;cursor:pointer;transition:all .2s}.student-filter-btn.active{background:#e94560;border-color:#e94560;color:#fff}.students-list{flex:1;overflow-y:auto}.student-item{display:flex;align-items:center;gap:.5rem;width:100%;padding:.6rem 1rem;background:none;border:none;color:#94a3b8;text-align:left;cursor:pointer;transition:all .2s}.student-item:hover,.student-item.selected{background:#e9456033;color:#fff}.student-item .status-dot{width:8px;height:8px;border-radius:50%}.student-item .status-dot.online{background:#4ade80}.student-item .status-dot.offline{background:#64748b}.student-item .name{flex:1;font-size:.85rem}.student-item .progress-mini{font-size:.75rem;color:#64748b}.student-item .progress-mini .percent{margin-left:4px}.student-item .progress-mini .percent.good{color:#4ade80}.student-item .progress-mini .percent.medium{color:#fbbf24}.student-item .progress-mini .percent.low{color:#ef4444}.teacher-doc-content{flex:1;overflow-y:auto;padding:2rem;background:#1e1e2e}.session-notice{background:#fbbf24;color:#1a1a2e;padding:1rem;border-radius:8px;margin-bottom:1.5rem;font-weight:500;text-align:center}.exercises-document{display:flex;flex-direction:column;gap:2rem}.teacher-document-exercise{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 4px 20px #0003}.exercise-header-section{display:flex;align-items:flex-start;gap:1rem;margin-bottom:1rem;padding-bottom:1rem;border-bottom:1px solid #e2e8f0}.exercise-header-section .exercise-number-badge{width:40px;height:40px;min-width:40px;background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1.1rem}.exercise-meta{flex:1}.exercise-meta .exercise-title{margin:0 0 .5rem;font-size:1.1rem;color:#1a1a2e}.exercise-type-badge{display:inline-block;background:#e2e8f0;color:#64748b;padding:.25rem .5rem;border-radius:4px;font-size:.75rem;margin-right:.5rem;text-transform:uppercase}.exercise-points{color:#e94560;font-weight:600;font-size:.85rem}.exercise-quick-stats{display:flex;gap:.75rem;align-items:center}.exercise-quick-stats .stat{font-size:.85rem;font-weight:500}.exercise-quick-stats .stat.answered{color:#f59e0b}.exercise-quick-stats .stat.correct{color:#22c55e}.exercise-quick-stats .stat.incorrect{color:#ef4444}.teacher-document-exercise .exercise-description{color:#64748b;font-size:.9rem;margin:0 0 1rem;padding:.75rem;background:#f8fafc;border-radius:6px}.exercise-content-preview{background:#f1f5f9;padding:1rem;border-radius:8px;margin-bottom:1rem}.exercise-content-preview .question-text{font-weight:500;color:#1a1a2e;margin:0 0 .75rem}.options-list-preview{display:flex;flex-direction:column;gap:.5rem}.option-preview{padding:.5rem .75rem;background:#fff;border-radius:4px;font-size:.9rem;color:#475569}.option-preview.correct-option{background:#dcfce7;color:#166534;font-weight:500}.correct-answers{color:#166534;background:#dcfce7;padding:.5rem;border-radius:4px;font-size:.85rem}.students-answers-section{margin-top:1rem;padding-top:1rem;border-top:1px solid #e2e8f0}.students-answers-section h4{color:#475569;margin:0 0 1rem;font-size:.95rem}.all-students-answers{display:flex;flex-direction:column;gap:.5rem}.student-answer-row{display:flex;gap:1rem;padding:.75rem;background:#f8fafc;border-radius:6px;align-items:flex-start}.student-name-cell{width:180px;display:flex;align-items:center;gap:.5rem;font-size:.9rem;font-weight:500;color:#1a1a2e}.online-indicator{width:8px;height:8px;border-radius:50%}.online-indicator.online{background:#4ade80}.online-indicator.offline{background:#94a3b8}.student-answer-cell{flex:1}.student-answer-empty{color:#94a3b8;font-style:italic;font-size:.85rem}.student-answer-content{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.student-answer-content .answer-display{flex:1;min-width:200px}.student-answer-content .answer-text{font-size:.9rem;color:#334155}.student-answer-content.correct .answer-text{color:#166534}.student-answer-content.incorrect .answer-text{color:#991b1b}.result-badge{font-size:.75rem;padding:.25rem .5rem;border-radius:4px;white-space:nowrap}.result-badge.correct{background:#dcfce7;color:#166534}.result-badge.incorrect{background:#fee2e2;color:#991b1b}.feedback-btn-small{background:#e2e8f0;border:none;padding:.3rem .6rem;border-radius:4px;font-size:.75rem;cursor:pointer;transition:background .2s}.feedback-btn-small:hover{background:#cbd5e1}.feedback-input-inline{display:flex;gap:.5rem;align-items:center}.feedback-input-inline input{padding:.4rem .6rem;border:1px solid #cbd5e1;border-radius:4px;font-size:.85rem;width:200px}.feedback-input-inline button{background:#f59e0b;color:#fff;border:none;padding:.4rem .6rem;border-radius:4px;cursor:pointer}.feedback-input-inline button:last-child{background:#94a3b8}.view-full-btn{background:#f59e0b;color:#fff;border:none;padding:.25rem .5rem;border-radius:4px;font-size:.75rem;cursor:pointer;margin-left:.5rem}.no-exercises,.no-students-msg{text-align:center;padding:3rem;color:#94a3b8}.single-student-answer .student-answer-card{background:#f8fafc;padding:1rem;border-radius:8px}.student-name-row{display:flex;align-items:center;gap:.5rem;margin-bottom:.75rem;font-weight:600;color:#1a1a2e}.essay-preview{display:flex;align-items:center;gap:.5rem}.essay-preview-info span{display:inline-block;margin-right:1rem;font-size:.85rem;color:#64748b}@media(max-width:1024px){.teacher-sidebar{width:220px}}@media(max-width:768px){.teacher-doc-body{flex-direction:column}.teacher-sidebar{width:100%;max-height:300px}.student-answer-row{flex-direction:column}.student-name-cell{width:100%}}.remote-session-manager{max-width:900px;margin:2rem auto;background:#fff;border-radius:16px;box-shadow:0 10px 40px #00000026;overflow:hidden}.session-manager-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem 2rem;background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff}.session-manager-header h2{margin:0;font-size:1.5rem}.close-btn{background:#fff3;border:none;color:#fff;width:40px;height:40px;border-radius:50%;font-size:1.2rem;cursor:pointer;transition:all .2s}.close-btn:hover{background:#ffffff4d;transform:scale(1.1)}.session-steps{display:flex;justify-content:center;gap:2rem;padding:1.5rem;background:#f8f9fa;border-bottom:1px solid #e2e8f0}.step{display:flex;align-items:center;gap:.5rem;opacity:.5;transition:opacity .3s}.step.active,.step.completed{opacity:1}.step-number{width:28px;height:28px;border-radius:50%;background:#e2e8f0;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:.9rem}.step.active .step-number{background:#f59e0b;color:#fff}.step.completed .step-number{background:#10b981;color:#fff}.step.completed .step-number:after{content:"✓"}.step-label{font-size:.9rem;font-weight:500;color:#4a5568}.session-content{padding:2rem;min-height:400px}.session-content h3{margin:0 0 .5rem;font-size:1.3rem;color:#1a1a2e}.selection-info{color:#718096;margin-bottom:1.5rem}.lessons-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1rem;margin-bottom:2rem}.lesson-card{display:flex;align-items:flex-start;gap:1rem;padding:1rem;border:2px solid #e2e8f0;border-radius:12px;cursor:pointer;transition:all .2s;position:relative}.lesson-card:hover{border-color:#f59e0b;background:#f8f9ff}.lesson-card.selected{border-color:#f59e0b;background:#f0f4ff}.lesson-icon{font-size:2rem}.lesson-info h4{margin:0 0 .25rem;font-size:1rem}.lesson-info p{margin:0;font-size:.85rem;color:#718096}.selected-badge{position:absolute;top:.5rem;right:.5rem;width:24px;height:24px;background:#f59e0b;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.8rem}.groups-section{margin-bottom:2rem}.groups-section h4,.students-section h4{margin:0 0 1rem;font-size:1rem;color:#4a5568}.groups-list{display:flex;flex-wrap:wrap;gap:.75rem}.group-card{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;border:2px solid #e2e8f0;border-radius:10px;cursor:pointer;transition:all .2s;background:#fff}.group-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.group-card.selected{background:#f0f4ff}.group-color{width:12px;height:12px;border-radius:50%}.group-info{display:flex;flex-direction:column}.group-name{font-weight:600;font-size:.95rem}.group-count{font-size:.8rem;color:#718096}.group-card .check{color:#10b981;font-weight:700}.students-section{margin-bottom:2rem}.students-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.students-actions{display:flex;gap:.5rem}.search-input{width:100%;padding:.75rem 1rem;border:2px solid #e2e8f0;border-radius:8px;font-size:1rem;margin-bottom:1rem;transition:border-color .2s}.search-input:focus{outline:none;border-color:#f59e0b}.students-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:.75rem;max-height:300px;overflow-y:auto;padding:.5rem}.student-item{display:flex;align-items:center;gap:.75rem;padding:.75rem;border:2px solid #e2e8f0;border-radius:10px;cursor:pointer;transition:all .2s}.student-item:hover{border-color:#f59e0b}.student-item input[type=checkbox]{display:none}.student-avatar{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:.85rem}.student-info{display:flex;flex-direction:column}.student-name{font-weight:500;font-size:.95rem}.student-email{font-size:.8rem;color:#718096}.config-summary{background:#f8f9fa;padding:1rem 1.5rem;border-radius:10px;margin-bottom:1.5rem}.summary-item{display:flex;justify-content:space-between;padding:.5rem 0}.summary-item .label{color:#718096}.summary-item .value{font-weight:600;color:#1a1a2e}.form-group{margin-bottom:1.5rem}.form-group label{display:block;font-weight:600;margin-bottom:.5rem;color:#4a5568}.meet-input-group{display:flex;gap:.75rem}.meet-input-group input{flex:1;padding:.75rem 1rem;border:2px solid #e2e8f0;border-radius:8px;font-size:1rem}.meet-input-group input:focus{outline:none;border-color:#f59e0b}.field-hint{font-size:.85rem;color:#718096;margin-top:.5rem}.form-group textarea{width:100%;padding:.75rem 1rem;border:2px solid #e2e8f0;border-radius:8px;font-size:1rem;resize:vertical;font-family:inherit}.form-group textarea:focus{outline:none;border-color:#f59e0b}.invited-preview{background:#f8f9fa;padding:1rem 1.5rem;border-radius:10px;margin-bottom:1.5rem}.invited-preview h4{margin:0 0 .75rem;font-size:.95rem;color:#4a5568}.invited-list{display:flex;flex-wrap:wrap;gap:.5rem}.invited-badge{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;padding:.35rem .75rem;border-radius:20px;font-size:.85rem}.step-actions{display:flex;justify-content:space-between;padding-top:1.5rem;border-top:1px solid #e2e8f0;margin-top:2rem}.btn{padding:.75rem 1.5rem;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s}.btn-primary{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff}.btn-primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 15px #f59e0b66}.btn-primary:disabled{opacity:.5;cursor:not-allowed}.btn-secondary{background:#e2e8f0;color:#4a5568}.btn-secondary:hover{background:#cbd5e0}.btn-small{padding:.4rem .75rem;font-size:.85rem}.btn-large{padding:1rem 2rem;font-size:1.1rem}.loading-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4rem}.loading-state .spinner{width:50px;height:50px;border:4px solid #e2e8f0;border-top-color:#f59e0b;border-radius:50%;animation:spin 1s linear infinite}.empty-state{text-align:center;padding:3rem;color:#718096}.empty-state .hint{font-size:.9rem;opacity:.7}@media(max-width:768px){.remote-session-manager{margin:1rem;border-radius:12px}.session-steps{gap:1rem;flex-wrap:wrap}.step-label{display:none}.lessons-grid,.students-list{grid-template-columns:1fr}.meet-input-group{flex-direction:column}}.session-invite-overlay{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center}.overlay-backdrop{position:absolute;inset:0;background:#000000b3;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.invite-modal{position:relative;background:#fff;border-radius:24px;padding:2rem;max-width:450px;width:90%;text-align:center;animation:modalAppear .4s ease-out;box-shadow:0 25px 80px #0006}@keyframes modalAppear{0%{opacity:0;transform:scale(.8) translateY(20px)}to{opacity:1;transform:scale(1) translateY(0)}}.invite-header{position:relative;margin-bottom:1.5rem}.invite-icon{font-size:4rem;display:inline-block;animation:bounce 1s ease infinite}@keyframes bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.invite-pulse{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:100px;height:100px;border-radius:50%;background:linear-gradient(135deg,#f59e0b,#d97706);opacity:.3;animation:pulse 2s ease-out infinite;z-index:-1}@keyframes pulse{0%{transform:translate(-50%,-50%) scale(.8);opacity:.5}to{transform:translate(-50%,-50%) scale(1.5);opacity:0}}.invite-content h2{margin:0 0 .5rem;font-size:1.75rem;background:linear-gradient(135deg,#f59e0b,#d97706);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.teacher-name{color:#4a5568;margin-bottom:1.5rem}.teacher-name strong{color:#1a1a2e}.lesson-info{display:inline-flex;align-items:center;gap:.5rem;background:linear-gradient(135deg,#f59e0b15,#d9770615);padding:.75rem 1.5rem;border-radius:12px;margin-bottom:1rem}.lesson-icon{font-size:1.5rem}.lesson-title{font-weight:600;font-size:1.1rem;color:#1a1a2e}.session-note{display:flex;align-items:flex-start;gap:.75rem;background:#f8f9fa;padding:1rem;border-radius:10px;margin-bottom:1rem;text-align:left}.note-icon{font-size:1.25rem}.session-note p{margin:0;color:#4a5568;font-size:.95rem}.countdown{color:#718096;font-size:.9rem;margin-top:1rem}.countdown-number{display:inline-block;background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;padding:.25rem .5rem;border-radius:6px;font-weight:600;min-width:30px}.invite-actions{display:flex;flex-direction:column;gap:.75rem;margin-top:1.5rem}.invite-actions .btn{display:flex;align-items:center;justify-content:center;gap:.5rem;padding:1rem 1.5rem;border:none;border-radius:12px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s}.btn-join{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;box-shadow:0 4px 15px #f59e0b66}.btn-join:hover{transform:translateY(-2px);box-shadow:0 6px 20px #f59e0b80}.btn-meet{background:linear-gradient(135deg,#10b981,#059669);color:#fff;box-shadow:0 4px 15px #10b9814d}.btn-meet:hover{transform:translateY(-2px);box-shadow:0 6px 20px #10b98166}.btn-later{background:transparent;color:#718096;border:2px solid #e2e8f0!important}.btn-later:hover{background:#f8f9fa;color:#4a5568}.join-icon,.meet-icon{font-size:1.25rem}.minimized-invite{position:fixed;bottom:2rem;right:2rem;background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;padding:1rem 1.5rem;border-radius:50px;border:none;font-size:1rem;font-weight:600;cursor:pointer;box-shadow:0 4px 20px #f59e0b80;animation:float 3s ease-in-out infinite;z-index:9999}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}.minimized-invite:hover{transform:scale(1.05)}.session-badge-floating{position:fixed;bottom:2rem;right:2rem;display:flex;align-items:center;gap:.5rem;background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;padding:.75rem 1.25rem;border-radius:50px;border:none;font-size:.95rem;font-weight:600;cursor:pointer;box-shadow:0 4px 20px #f59e0b80;z-index:9999;animation:float 3s ease-in-out infinite}.badge-pulse{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;border-radius:50px;background:inherit;animation:badgePulse 2s ease-out infinite;z-index:-1}@keyframes badgePulse{0%{transform:translate(-50%,-50%) scale(1);opacity:.5}to{transform:translate(-50%,-50%) scale(1.3);opacity:0}}.badge-icon{font-size:1.25rem}@media(max-width:500px){.invite-modal{padding:1.5rem;margin:1rem}.invite-icon{font-size:3rem}.invite-content h2{font-size:1.4rem}.minimized-invite,.session-badge-floating{bottom:1rem;right:1rem;padding:.6rem 1rem;font-size:.85rem}}.calendar-container{background:#fff;border-radius:12px;padding:24px;box-shadow:0 2px 12px #00000014}.calendar-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;flex-wrap:wrap;gap:16px}.calendar-nav{display:flex;align-items:center;gap:16px}.calendar-nav h2{margin:0;font-size:1.5rem;color:#1a1a2e;min-width:200px;text-align:center}.nav-btn{background:#f0f2f5;border:none;width:36px;height:36px;border-radius:8px;cursor:pointer;font-size:14px;color:#666;transition:all .2s}.nav-btn:hover{background:#e0e3e8;color:#333}.calendar-actions{display:flex;align-items:center;gap:12px}.today-btn{background:#f59e0b;color:#fff;border:none;padding:8px 16px;border-radius:8px;cursor:pointer;font-weight:500;transition:background .2s}.today-btn:hover{background:#d97706}.view-switcher{display:flex;background:#f0f2f5;border-radius:8px;padding:4px}.view-switcher button{background:transparent;border:none;padding:6px 12px;border-radius:6px;cursor:pointer;color:#666;font-size:14px;transition:all .2s}.view-switcher button.active{background:#fff;color:#f59e0b;box-shadow:0 1px 3px #0000001a}.add-lesson-btn{background:#00b894;color:#fff;border:none;padding:8px 16px;border-radius:8px;cursor:pointer;font-weight:500;transition:background .2s}.add-lesson-btn:hover{background:#00a383}.calendar-grid{border:1px solid #e0e3e8;border-radius:12px;overflow:hidden}.calendar-day-names{display:grid;grid-template-columns:repeat(7,1fr);background:#f8f9fa;border-bottom:1px solid #e0e3e8}.day-name{padding:12px;text-align:center;font-weight:600;color:#666;font-size:14px}.calendar-days{display:grid;grid-template-columns:repeat(7,1fr)}.calendar-day{min-height:100px;border-right:1px solid #e0e3e8;border-bottom:1px solid #e0e3e8;padding:8px;cursor:pointer;transition:background .2s}.calendar-day:nth-child(7n){border-right:none}.calendar-day:hover{background:#f8f9fa}.calendar-day.empty{background:#fafafa;cursor:default}.calendar-day.today{background:#e8f4fd}.calendar-day.today .day-number{background:#f59e0b;color:#fff;border-radius:50%;width:28px;height:28px;display:flex;align-items:center;justify-content:center}.calendar-day.selected{background:#fef3c7;box-shadow:inset 0 0 0 2px #f59e0b}.day-number{font-weight:600;color:#333;margin-bottom:4px;display:inline-block}.day-lessons{display:flex;flex-direction:column;gap:2px}.lesson-pill{padding:2px 6px;border-radius:4px;font-size:11px;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;align-items:center;gap:4px;transition:transform .1s}.lesson-pill:hover{transform:scale(1.02)}.lesson-pill.status-blue{background:#e3f2fd;color:#1565c0}.lesson-pill.status-green{background:#e8f5e9;color:#2e7d32}.lesson-pill.status-gray{background:#f5f5f5;color:#757575}.lesson-pill.status-red{background:#ffebee;color:#c62828}.lesson-pill.status-orange{background:#fff3e0;color:#ef6c00}.lesson-time{font-weight:600}.lesson-title{overflow:hidden;text-overflow:ellipsis}.more-lessons{font-size:11px;color:#f59e0b;font-weight:500;padding:2px}.selected-day-panel{margin-top:24px;padding:20px;background:#f8f9fa;border-radius:12px}.selected-day-panel h3{margin:0 0 16px;color:#1a1a2e;text-transform:capitalize}.selected-day-lessons{display:flex;flex-direction:column;gap:12px}.no-lessons{color:#999;text-align:center;padding:20px}.lesson-card{background:#fff;border-radius:10px;padding:16px;cursor:pointer;transition:all .2s;border-left:4px solid #f59e0b}.lesson-card:hover{box-shadow:0 4px 12px #0000001a;transform:translateY(-2px)}.lesson-card.status-blue{border-left-color:#1565c0}.lesson-card.status-green{border-left-color:#2e7d32}.lesson-card.status-gray{border-left-color:#757575}.lesson-card.status-red{border-left-color:#c62828}.lesson-card.status-orange{border-left-color:#ef6c00}.lesson-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.lesson-card-time{color:#666;font-size:14px}.status-badge{padding:4px 8px;border-radius:12px;font-size:12px;font-weight:500}.status-badge.blue{background:#e3f2fd;color:#1565c0}.status-badge.green{background:#e8f5e9;color:#2e7d32}.status-badge.gray{background:#f5f5f5;color:#757575}.status-badge.red{background:#ffebee;color:#c62828}.status-badge.orange{background:#fff3e0;color:#ef6c00}.lesson-card h4{margin:0 0 8px;color:#1a1a2e}.lesson-person,.lesson-subject{margin:4px 0;color:#666;font-size:14px}.join-meeting-btn{display:inline-block;margin-top:12px;padding:8px 16px;background:#00b894;color:#fff;text-decoration:none;border-radius:8px;font-size:14px;font-weight:500;transition:background .2s}.join-meeting-btn:hover{background:#00a383}.upcoming-lessons{margin-top:24px}.upcoming-lessons h3{margin:0 0 16px;color:#1a1a2e}.upcoming-item{display:flex;gap:16px;padding:12px;background:#f8f9fa;border-radius:10px;cursor:pointer;transition:all .2s}.upcoming-item:hover{background:#fef3c7;transform:translate(4px)}.upcoming-date{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:50px;background:#fff;border-radius:8px;padding:8px}.calendar-container{background:linear-gradient(180deg,#fffffffa,#fff8e8eb),var(--surface-color, #ffffff);border:1px solid rgba(176,120,38,.2)}.calendar-grid,.selected-day-panel,.lesson-card,.upcoming-item{border-color:color-mix(in srgb,var(--primary-color, #f59e0b) 18%,#d8dee8)}.upcoming-item:focus-visible,.lesson-card:focus-visible,.calendar-day:focus-visible,.today-btn:focus-visible,.nav-btn:focus-visible,.view-switcher button:focus-visible,.add-lesson-btn:focus-visible,.join-meeting-btn:focus-visible{outline:none;box-shadow:var(--focus-ring, 0 0 0 3px rgba(245, 158, 11, .24))}.lesson-card h4,.upcoming-info h4,.calendar-nav h2,.selected-day-panel h3,.upcoming-lessons h3{color:var(--text-primary, #1f2937)}.lesson-card-time,.lesson-person,.lesson-subject{color:var(--text-secondary, #4b5563)}@media(prefers-reduced-motion:reduce){.calendar-container *,.calendar-container *:before,.calendar-container *:after{animation:none!important;transition-duration:.01ms!important}.upcoming-item:hover,.lesson-card:hover,.lesson-pill:hover{transform:none!important}}.upcoming-day{font-size:1.5rem;font-weight:700;color:#f59e0b}.upcoming-month{font-size:12px;color:#666;text-transform:uppercase}.upcoming-info h4{margin:0 0 4px;color:#1a1a2e}.upcoming-info p{margin:0;color:#666;font-size:14px}.upcoming-person{color:#f59e0b!important;font-weight:500}.no-upcoming{color:#999;text-align:center;padding:20px}.calendar-loading{text-align:center;padding:60px;color:#666}.create-lesson-modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.create-lesson-modal{background:#fff;border-radius:16px;width:100%;max-width:550px;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #0000004d}.create-lesson-modal .modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #e0e3e8;position:sticky;top:0;background:#fff;z-index:1}.create-lesson-modal .modal-header h2{margin:0;font-size:1.3rem;color:#1a1a2e}.create-lesson-modal .close-btn{background:none;border:none;font-size:24px;color:#666;cursor:pointer;padding:4px 8px;border-radius:6px;transition:all .2s}.create-lesson-modal .close-btn:hover{background:#f0f2f5;color:#333}.create-lesson-form{padding:24px;display:flex;flex-direction:column;gap:20px}.create-lesson-form .form-group{display:flex;flex-direction:column;gap:8px}.create-lesson-form label{font-size:.9rem;font-weight:600;color:#333}.create-lesson-form input,.create-lesson-form select,.create-lesson-form textarea{padding:12px 14px;border:1px solid #ddd;border-radius:8px;font-size:1rem;transition:border-color .2s,box-shadow .2s}.create-lesson-form input:focus,.create-lesson-form select:focus,.create-lesson-form textarea:focus{outline:none;border-color:#f59e0b;box-shadow:0 0 0 3px #f59e0b1a}.create-lesson-form textarea{resize:vertical;min-height:80px}.lesson-type-selector{display:flex;gap:12px}.lesson-type-selector .type-btn{flex:1;padding:14px 16px;border:2px solid #e0e3e8;background:#fff;border-radius:10px;cursor:pointer;font-size:.95rem;font-weight:500;transition:all .2s;color:#666}.lesson-type-selector .type-btn:hover{border-color:#f59e0b;background:#f8f9ff}.lesson-type-selector .type-btn.active{border-color:#f59e0b;background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff}.form-row .form-group{margin:0}.meeting-url-input{display:flex;gap:8px}.meeting-url-input input{flex:1}.generate-meet-btn{padding:12px 16px;background:linear-gradient(135deg,#00c853,#00a043);color:#fff;border:none;border-radius:8px;cursor:pointer;font-size:.9rem;font-weight:600;white-space:nowrap;transition:all .2s}.generate-meet-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px #00c8534d}.form-hint{font-size:.8rem;color:#888;margin:0}.modal-actions{display:flex;gap:12px;margin-top:8px;padding-top:20px;border-top:1px solid #e0e3e8}.modal-actions .cancel-btn{flex:1;padding:14px 20px;background:#f0f2f5;color:#666;border:none;border-radius:10px;cursor:pointer;font-size:1rem;font-weight:600;transition:all .2s}.modal-actions .cancel-btn:hover{background:#e0e3e8;color:#333}.modal-actions .submit-btn{flex:2;padding:14px 20px;background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;border:none;border-radius:10px;cursor:pointer;font-size:1rem;font-weight:600;transition:all .2s}.modal-actions .submit-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 16px #f59e0b66}.modal-actions .submit-btn:disabled{opacity:.6;cursor:not-allowed}@media(max-width:768px){.calendar-header{flex-direction:column;align-items:stretch}.calendar-nav{justify-content:center}.calendar-actions{justify-content:center;flex-wrap:wrap}.calendar-day{min-height:60px;padding:4px}.lesson-pill{font-size:10px}.lesson-time{display:none}.create-lesson-modal{max-height:80vh}.form-row{grid-template-columns:1fr}.lesson-type-selector{flex-direction:column}}.lesson-detail-modal{max-width:540px}.lesson-detail-body{padding:0}.lesson-detail-body h3{font-size:1.25rem;font-weight:700;margin:0 0 .5rem;color:var(--text-primary)}.detail-time,.detail-person,.detail-subject{font-size:.9rem;color:var(--text-secondary);margin:.25rem 0}.detail-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin:1rem 0}.detail-btn{padding:.45rem 1rem;border-radius:var(--radius-md);font-size:.875rem;font-weight:600;cursor:pointer;border:none;transition:opacity var(--motion-fast),transform var(--motion-fast)}.detail-btn:hover{opacity:.88;transform:translateY(-1px)}.detail-btn.primary{background:var(--primary);color:#fff}.detail-btn.secondary{background:var(--bg-secondary);color:var(--text-primary);border:1px solid var(--border-color)}.detail-btn.danger{background:#ef4444;color:#fff}.detail-btn.small{padding:.3rem .7rem;font-size:.8rem}.reschedule-proposals{border-top:1px solid var(--border-color);padding-top:.75rem;margin-top:.75rem}.reschedule-proposals h4{font-size:.95rem;font-weight:700;margin-bottom:.5rem;color:var(--text-primary)}.proposal-item{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:var(--radius-sm);padding:.65rem;margin-bottom:.5rem}.proposal-proposer,.proposal-time{font-size:.82rem;color:var(--text-secondary);margin:0 0 .25rem}.proposal-msg{font-size:.82rem;font-style:italic;color:var(--text-muted);margin:0 0 .5rem}.proposal-btns{display:flex;gap:.4rem}.reschedule-pending-own{font-size:.85rem;color:var(--text-secondary);margin:.5rem 0;padding:.5rem .75rem;background:var(--bg-secondary);border-radius:var(--radius-sm);border:1px dashed var(--border-color)}.reschedule-section{border-top:1px solid var(--border-color);padding-top:.75rem;margin-top:.75rem}.propose-form h4{font-size:.95rem;font-weight:700;margin-bottom:.75rem;color:var(--text-primary)}.propose-form .form-actions{display:flex;gap:.5rem;justify-content:flex-end;margin-top:.75rem}.notifications-container{position:relative}.notifications-bell{background:transparent;border:none;font-size:1.5rem;cursor:pointer;padding:8px;position:relative;transition:transform .2s}.notifications-bell:hover{transform:scale(1.1)}.notifications-badge{position:absolute;top:2px;right:2px;background:#e74c3c;color:#fff;font-size:11px;font-weight:600;padding:2px 6px;border-radius:10px;min-width:18px;text-align:center}.notifications-panel{position:absolute;top:100%;right:0;width:380px;max-height:500px;background:#fff;border-radius:12px;box-shadow:0 4px 24px #00000026;z-index:1000;overflow:hidden;animation:slideDown .2s ease}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.notifications-header{display:flex;justify-content:space-between;align-items:center;padding:16px;border-bottom:1px solid #e0e3e8}.notifications-header h3{margin:0;font-size:1rem;color:#1a1a2e}.mark-all-read-btn{background:transparent;border:none;color:#f59e0b;font-size:13px;cursor:pointer;padding:4px 8px;border-radius:4px;transition:background .2s}.mark-all-read-btn:hover{background:#fef3c7}.notifications-list{max-height:380px;overflow-y:auto}.notifications-loading,.notifications-empty{padding:40px;text-align:center;color:#999}.notifications-empty span{font-size:3rem;display:block;margin-bottom:12px}.notification-item{display:flex;align-items:flex-start;padding:12px 16px;gap:12px;cursor:pointer;position:relative;transition:background .2s}.notification-item:hover{background:#f8f9fa}.notification-item.unread{background:#fef3c7}.notification-item.unread:hover{background:#fde68a}.notification-icon{width:40px;height:40px;background:#f0f2f5;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.2rem;flex-shrink:0}.notification-content{flex:1;min-width:0}.notification-content h4{margin:0 0 4px;font-size:14px;color:#1a1a2e;font-weight:600}.notification-content p{margin:0;font-size:13px;color:#666;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.notification-time{display:block;margin-top:4px;font-size:12px;color:#999}.notification-delete{background:transparent;border:none;color:#999;font-size:1.2rem;cursor:pointer;padding:4px;opacity:0;transition:opacity .2s,color .2s}.notification-item:hover .notification-delete{opacity:1}.notification-delete:hover{color:#e74c3c}.notification-dot{position:absolute;right:16px;top:50%;transform:translateY(-50%);width:8px;height:8px;background:#f59e0b;border-radius:50%}.notifications-footer{padding:12px 16px;text-align:center;border-top:1px solid #e0e3e8}.notifications-footer a{color:#f59e0b;text-decoration:none;font-size:14px;font-weight:500}.notifications-footer a:hover{text-decoration:underline}.notification-toast{position:fixed;bottom:24px;right:24px;width:360px;background:#fff;border-radius:12px;box-shadow:0 4px 24px #00000026;display:flex;align-items:flex-start;padding:16px;gap:12px;animation:slideIn .3s ease;z-index:9999;border-left:4px solid #f59e0b}@keyframes slideIn{0%{opacity:0;transform:translate(100%)}to{opacity:1;transform:translate(0)}}.notification-toast.type-lesson_reminder{border-left-color:#f39c12}.notification-toast.type-lesson_start{border-left-color:#00b894}.notification-toast.type-message{border-left-color:#3498db}.toast-icon{font-size:1.5rem;flex-shrink:0}.toast-content{flex:1;min-width:0}.toast-content h4{margin:0 0 4px;font-size:14px;color:#1a1a2e;font-weight:600}.toast-content p{margin:0;font-size:13px;color:#666}.toast-actions{display:flex;align-items:center;gap:8px}.toast-join-btn{background:#00b894;color:#fff;text-decoration:none;padding:6px 12px;border-radius:6px;font-size:13px;font-weight:500;transition:background .2s}.toast-join-btn:hover{background:#00a383}.toast-close{background:transparent;border:none;color:#999;font-size:1.5rem;cursor:pointer;padding:0;line-height:1}.toast-close:hover{color:#666}@media(max-width:480px){.notifications-panel{position:fixed;top:60px;left:10px;right:10px;width:auto}.notification-toast{left:12px;right:12px;width:auto;bottom:12px}}.chat-container{display:flex;height:min(600px,80dvh);background:#fff;border-radius:12px;box-shadow:0 2px 12px #00000014;overflow:hidden}.chat-rooms{width:320px;border-right:1px solid #e0e3e8;display:flex;flex-direction:column}.rooms-header{display:flex;align-items:center;justify-content:space-between;padding:16px;border-bottom:1px solid #e0e3e8}.rooms-header h3{margin:0;font-size:1.1rem;color:#1a1a2e}.connected-indicator{width:10px;height:10px;background:#00b894;border-radius:50%;animation:pulse 2s infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.rooms-list{flex:1;overflow-y:auto}.rooms-loading,.rooms-empty{padding:40px;text-align:center;color:#999}.room-item{display:flex;align-items:center;padding:12px 16px;gap:12px;cursor:pointer;transition:background .2s;border-bottom:1px solid #f0f2f5}.room-item:hover{background:#f8f9fa}.room-item.active{background:#fef3c7}.room-avatar{width:48px;height:48px;border-radius:50%;background:linear-gradient(135deg,#f59e0b,#fbbf24);display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden}.room-avatar img{width:100%;height:100%;object-fit:cover}.room-avatar span{color:#fff;font-weight:600;font-size:14px}.room-info{flex:1;min-width:0}.room-info h4{margin:0 0 4px;font-size:14px;color:#1a1a2e;font-weight:600}.last-message{margin:0;font-size:13px;color:#666;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.room-meta{display:flex;flex-direction:column;align-items:flex-end;gap:4px}.room-time{font-size:11px;color:#999}.unread-badge{background:#f59e0b;color:#fff;font-size:11px;font-weight:600;padding:2px 6px;border-radius:10px;min-width:18px;text-align:center}.chat-window{flex:1;display:flex;flex-direction:column}.chat-placeholder{flex:1;display:flex;align-items:center;justify-content:center}.placeholder-content{text-align:center;color:#999}.placeholder-content span{font-size:4rem;display:block;margin-bottom:16px}.placeholder-content h3{margin:0 0 8px;color:#666}.placeholder-content p{margin:0}.chat-header{padding:16px;border-bottom:1px solid #e0e3e8;background:#fafafa}.chat-header-info h3{margin:0 0 4px;font-size:1rem;color:#1a1a2e}.chat-lesson{font-size:13px;color:#f59e0b}.chat-messages{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:8px;background:#f8f9fa}.message-group{display:flex;flex-direction:column;gap:8px}.message-date-divider{text-align:center;margin:16px 0}.message-date-divider span{background:#e0e3e8;padding:4px 12px;border-radius:12px;font-size:12px;color:#666;text-transform:capitalize}.message{display:flex;max-width:70%}.message.own{align-self:flex-end}.message.other{align-self:flex-start}.message-content{padding:10px 14px;border-radius:16px;position:relative}.message.own .message-content{background:#f59e0b;color:#fff;border-bottom-right-radius:4px}.message.other .message-content{background:#fff;color:#333;border-bottom-left-radius:4px;box-shadow:0 1px 2px #0000001a}.message-content p{margin:0 0 4px;word-break:break-word;line-height:1.4}.message-time{font-size:11px;opacity:.7;display:flex;align-items:center;gap:4px;justify-content:flex-end}.message-status{font-size:12px}.message-status.read{color:#00b894}.message.own .message-status{color:#fffc}.message.own .message-status.read{color:#a8f0dc}.typing-indicator{display:flex;align-items:center;gap:8px;padding:8px 12px;color:#666;font-size:13px;align-self:flex-start}.typing-dots{display:flex;gap:4px}.typing-dots span{width:6px;height:6px;background:#999;border-radius:50%;animation:typingBounce 1.4s infinite}.typing-dots span:nth-child(2){animation-delay:.2s}.typing-dots span:nth-child(3){animation-delay:.4s}@keyframes typingBounce{0%,60%,to{transform:translateY(0)}30%{transform:translateY(-4px)}}.chat-input{display:flex;gap:12px;padding:16px;border-top:1px solid #e0e3e8;background:#fff}.chat-input input{flex:1;padding:12px 16px;border:1px solid #e0e3e8;border-radius:24px;font-size:14px;outline:none;transition:border-color .2s}.chat-input input:focus{border-color:#f59e0b}.chat-input button{padding:12px 24px;background:#f59e0b;color:#fff;border:none;border-radius:24px;font-weight:500;cursor:pointer;transition:background .2s,transform .1s}.chat-input button:hover:not(:disabled){background:#d97706}.chat-input button:active:not(:disabled){transform:scale(.98)}.chat-input button:disabled{background:#ccc;cursor:not-allowed}@media(max-width:768px){.chat-container{flex-direction:column;height:100dvh}.chat-rooms{width:100%;height:clamp(120px,30dvh,220px);border-right:none;border-bottom:1px solid #e0e3e8}.message{max-width:90%}}.chat-container{background:var(--surface-primary);border:1px solid var(--border-subtle);border-radius:var(--radius-xl);font-family:var(--font-primary)}.message-bubble{border-radius:var(--radius-lg);font-size:var(--font-size-base);line-height:var(--line-height-relaxed);max-width:75%;padding:var(--spacing-sm) var(--spacing-md);word-break:break-word}.message-bubble.outgoing{background:var(--gradient-honey-warm);color:var(--color-white);border-bottom-right-radius:var(--radius-xs)}.message-bubble.incoming{background:var(--surface-secondary);border:1px solid var(--border-subtle);color:var(--text-primary);border-bottom-left-radius:var(--radius-xs)}.message-timestamp{color:var(--text-muted);font-size:var(--font-size-xs)}.chat-input-area{background:var(--surface-secondary);border-top:1px solid var(--border-subtle);padding:var(--spacing-sm) var(--spacing-md)}.chat-input{background:var(--surface-primary);border:1.5px solid var(--border-subtle);border-radius:var(--radius-full);color:var(--text-primary);font-family:var(--font-primary);padding:var(--spacing-xs) var(--spacing-md);transition:border-color var(--transition-fast)}.chat-input:focus{border-color:var(--color-honey);box-shadow:0 0 0 2px var(--color-honey-light);outline:none}.chat-send-btn{background:var(--gradient-honey-warm);border-radius:var(--radius-full);color:var(--color-white);transition:opacity var(--transition-fast),transform var(--transition-fast)}.chat-send-btn:hover:not(:disabled){opacity:.9;transform:scale(1.05)}.chat-unread-badge{background:var(--color-honey);border-radius:var(--radius-full);color:var(--color-white);font-size:var(--font-size-xs);font-weight:700;min-width:1.25rem;padding:0 var(--spacing-xs);text-align:center}.chat-online-indicator{background:var(--color-success, #22c55e);border:2px solid var(--surface-primary);border-radius:var(--radius-full);height:.75rem;width:.75rem}.message-sender-avatar{width:28px;height:28px;border-radius:50%;background:linear-gradient(135deg,#f59e0b,#fbbf24);display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden;margin-right:8px;align-self:flex-end}.message-sender-avatar img{width:100%;height:100%;object-fit:cover}.message-sender-avatar span{color:#fff;font-weight:600;font-size:11px}.message.other{display:flex;flex-direction:row}.message.system{align-self:center;max-width:80%}.system-content{background:transparent!important;box-shadow:none!important;text-align:center;padding:4px 12px!important}.chat-system-text{color:#999;font-size:12px}.chat-gif-message{max-width:250px;max-height:200px;border-radius:8px;display:block;cursor:default}.message.own .chat-gif-message{margin-left:auto}.message-edited-tag{font-size:10px;opacity:.6;margin-left:4px;font-style:italic}.edit-form{display:flex;flex-direction:column;gap:6px;width:100%}.edit-form input{padding:6px 10px;border:1px solid #e0e3e8;border-radius:8px;font-size:14px;outline:none;width:100%;background:#fff;color:#333}.edit-form input:focus{border-color:#f59e0b}.edit-actions{display:flex;gap:6px;justify-content:flex-end}.edit-save{padding:4px 12px;background:#f59e0b;color:#fff;border:none;border-radius:6px;font-size:12px;cursor:pointer}.edit-save:hover{background:#d97706}.edit-cancel{padding:4px 8px;background:transparent;border:1px solid #e0e3e8;border-radius:6px;font-size:12px;cursor:pointer;color:#666}.edit-cancel:hover{background:#f0f0f0}.chat-context-menu{position:fixed;background:#fff;border:1px solid #e0e3e8;border-radius:8px;box-shadow:0 4px 16px #0000001f;z-index:999;min-width:140px;overflow:hidden}.chat-context-menu button{display:block;width:100%;padding:10px 16px;border:none;background:none;text-align:left;cursor:pointer;font-size:13px;color:#333;transition:background .15s}.chat-context-menu button:hover{background:#fef3c7}.chat-context-menu button+button{border-top:1px solid #f0f2f5}.gif-picker{border-top:1px solid #e0e3e8;background:#fff;max-height:300px;display:flex;flex-direction:column}.gif-picker-header{display:flex;gap:8px;padding:8px 12px;border-bottom:1px solid #f0f2f5}.gif-search-input{flex:1;padding:8px 12px;border:1px solid #e0e3e8;border-radius:20px;font-size:13px;outline:none}.gif-search-input:focus{border-color:#f59e0b}.gif-close-btn{width:32px;height:32px;border:none;background:#f0f2f5;border-radius:50%;cursor:pointer;font-size:14px;display:flex;align-items:center;justify-content:center;color:#666;flex-shrink:0}.gif-close-btn:hover{background:#e0e3e8}.gif-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:4px;padding:8px;overflow-y:auto;flex:1}.gif-item{width:100%;height:80px;object-fit:cover;border-radius:4px;cursor:pointer;transition:transform .15s,box-shadow .15s}.gif-item:hover{transform:scale(1.05);box-shadow:0 2px 8px #00000026}.gif-loading,.gif-empty{padding:24px;text-align:center;color:#999;font-size:13px;grid-column:1 / -1}.gif-attribution{text-align:center;font-size:10px;color:#999;padding:4px 0;border-top:1px solid #f0f2f5}.gif-toggle-btn{padding:8px 12px;background:#f0f2f5;border:1px solid #e0e3e8;border-radius:20px;cursor:pointer;font-size:12px;font-weight:700;color:#8b5cf6;transition:background .2s;flex-shrink:0}.gif-toggle-btn:hover{background:#e0e3e8}[data-theme=dark] .chat-context-menu{background:#1a1412;border-color:#44403c}[data-theme=dark] .chat-context-menu button{color:#fef3c7}[data-theme=dark] .chat-context-menu button:hover{background:#f59e0b26}[data-theme=dark] .gif-picker{background:#1a1412;border-color:#44403c}[data-theme=dark] .gif-search-input{background:#292524;border-color:#44403c;color:#fef3c7}[data-theme=dark] .gif-close-btn{background:#292524;color:#d6d3d1}[data-theme=dark] .gif-toggle-btn{background:#292524;border-color:#44403c;color:#a78bfa}[data-theme=dark] .edit-form input{background:#292524;border-color:#44403c;color:#fef3c7}[data-theme=dark] .edit-cancel{border-color:#44403c;color:#d6d3d1}[data-theme=dark] .edit-cancel:hover{background:#292524}.rooms-header-actions{display:flex;align-items:center;gap:8px}.new-chat-btn{width:32px;height:32px;border-radius:50%;border:none;background:#f59e0b;color:#fff;font-size:14px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s,transform .15s}.new-chat-btn:hover{background:#d97706;transform:scale(1.05)}.start-chat-btn{margin-top:12px;padding:8px 20px;border:none;border-radius:8px;background:#f59e0b;color:#fff;font-weight:600;font-size:14px;cursor:pointer;transition:background .2s}.start-chat-btn:hover{background:#d97706}.rooms-empty-icon{font-size:3rem;display:block;margin-bottom:8px}.room-avatar{position:relative}.online-dot{position:absolute;bottom:0;right:0;width:12px;height:12px;background:#00b894;border-radius:50%;border:2px solid white}.chat-back-btn{display:none;border:none;background:none;font-size:20px;cursor:pointer;color:#1a1a2e;padding:4px 8px;margin-right:4px}.chat-header-info{display:flex;flex-direction:column;gap:2px}.chat-status{font-size:12px;font-weight:500}.chat-status.online{color:#00b894}.chat-status.offline{color:#999}.chat-lesson-tag{font-size:12px;color:#d97706;font-weight:500}.messages-empty{text-align:center;padding:60px 20px;color:#999}.messages-empty span{font-size:3rem;display:block;margin-bottom:12px}.contact-picker-overlay{position:fixed;inset:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .15s ease}.contact-picker{background:#fff;border-radius:16px;width:420px;max-width:90vw;max-height:80vh;display:flex;flex-direction:column;box-shadow:0 8px 40px #00000026;animation:slideUp .2s ease;overflow:hidden}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.contact-picker-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #e0e3e8}.contact-picker-header h3{margin:0;font-size:1.1rem;color:#1a1a2e}.contact-picker-close{width:32px;height:32px;border-radius:50%;border:1px solid #e0e3e8;background:#fff;color:#666;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:16px;transition:background .2s}.contact-picker-close:hover{background:#f0f2f5}.contact-search-wrap{padding:12px 20px}.contact-search-input{width:100%;padding:10px 14px;border:1px solid #e0e3e8;border-radius:8px;font-size:14px;outline:none;box-sizing:border-box;transition:border-color .2s}.contact-search-input:focus{border-color:#f59e0b}.contact-list{flex:1;overflow-y:auto;max-height:400px}.contact-loading,.contact-empty{padding:40px 20px;text-align:center;color:#999}.contact-hint{font-size:13px;margin-top:8px;color:#bbb}.contact-item{display:flex;align-items:center;padding:12px 20px;gap:12px;cursor:pointer;transition:background .15s}.contact-item:hover{background:#fef3c7}.contact-item.disabled{opacity:.5;pointer-events:none}.contact-avatar{width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,#f59e0b,#fbbf24);display:flex;align-items:center;justify-content:center;flex-shrink:0;position:relative;overflow:visible}.contact-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.contact-avatar span:not(.online-dot){color:#fff;font-weight:600;font-size:13px}.contact-info{flex:1;min-width:0}.contact-info h4{margin:0 0 2px;font-size:14px;color:#1a1a2e;font-weight:600}.contact-role{font-size:12px;color:#888}.contact-existing{font-size:11px;color:#f59e0b;font-weight:600;background:#fef3c7;padding:2px 8px;border-radius:10px;white-space:nowrap}@media(max-width:768px){.chat-container{flex-direction:column;height:100dvh;border-radius:0}.chat-rooms{width:100%;border-right:none;border-bottom:1px solid #e0e3e8}.chat-rooms.hidden-mobile,.chat-window.hidden-mobile{display:none}.chat-back-btn{display:block}}[data-theme=dark] .new-chat-btn{background:#d97706}[data-theme=dark] .new-chat-btn:hover{background:#f59e0b}[data-theme=dark] .start-chat-btn{background:#d97706}[data-theme=dark] .start-chat-btn:hover{background:#f59e0b}[data-theme=dark] .online-dot{border-color:#1a1412}[data-theme=dark] .chat-back-btn{color:#fef3c7}[data-theme=dark] .chat-status.offline{color:#78716c}[data-theme=dark] .contact-picker{background:#1a1412}[data-theme=dark] .contact-picker-header{border-color:#44403c}[data-theme=dark] .contact-picker-header h3{color:#fef3c7}[data-theme=dark] .contact-picker-close{background:#292524;border-color:#44403c;color:#d6d3d1}[data-theme=dark] .contact-picker-close:hover{background:#44403c}[data-theme=dark] .contact-search-input{background:#292524;border-color:#44403c;color:#fef3c7}[data-theme=dark] .contact-item:hover{background:#f59e0b1a}[data-theme=dark] .contact-info h4{color:#fef3c7}[data-theme=dark] .contact-role{color:#a8a29e}[data-theme=dark] .contact-existing{background:#f59e0b26;color:#fbbf24}.student-management-overlay{position:fixed;inset:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:1000}.student-management-modal{background:#fff;border-radius:16px;width:90%;max-width:1000px;max-height:85vh;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 20px 60px #0000004d}.sm-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem 2rem;background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff}.sm-header h2{margin:0;font-size:1.5rem}.sm-header .close-btn{background:#fff3;border:none;color:#fff;width:36px;height:36px;border-radius:50%;font-size:1.2rem;cursor:pointer;transition:background .2s}.sm-header .close-btn:hover{background:#ffffff4d}.sm-alert{padding:1rem 2rem;font-weight:500}.sm-alert.error{background:#fee2e2;color:#dc2626}.sm-alert.success{background:#dcfce7;color:#16a34a}.sm-content{display:flex;flex:1;overflow:hidden}.students-sidebar{width:320px;background:#f8fafc;border-right:1px solid #e2e8f0;display:flex;flex-direction:column}.sidebar-header{display:flex;justify-content:space-between;align-items:center;padding:1rem;border-bottom:1px solid #e2e8f0}.sidebar-header h3{margin:0;font-size:1rem;color:#475569}.sidebar-header .add-btn{background:#f59e0b;color:#fff;border:none;padding:.5rem 1rem;border-radius:6px;font-size:.85rem;cursor:pointer;transition:background .2s}.sidebar-header .add-btn:hover{background:#f59e0b}.students-list{flex:1;overflow-y:auto;padding:.5rem}.student-item{display:flex;align-items:center;gap:.75rem;width:100%;padding:.75rem;background:#fff;border:1px solid #e2e8f0;border-radius:8px;margin-bottom:.5rem;cursor:pointer;text-align:left;transition:all .2s}.student-item:hover{border-color:#f59e0b;box-shadow:0 2px 8px #f59e0b26}.student-item.selected{border-color:#f59e0b;background:#f0f4ff}.student-avatar{width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,#f59e0b,#d97706);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:600;font-size:.9rem;overflow:hidden;position:relative}.student-avatar img{width:100%;height:100%;object-fit:cover}.online-indicator{position:absolute;bottom:0;right:0;width:12px;height:12px;border-radius:50%;border:2px solid white;transition:background-color .3s}.online-indicator.online{background-color:#22c55e;box-shadow:0 0 6px #22c55e99}.online-indicator.offline{background-color:#9ca3af}.student-avatar.large{width:80px;height:80px;font-size:1.5rem}.student-avatar.large .online-indicator{width:16px;height:16px;border-width:3px}.student-info{flex:1;min-width:0}.student-info .name{display:block;font-weight:600;color:#1e293b;font-size:.95rem}.student-info .email{display:block;color:#64748b;font-size:.8rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.age-badge{padding:.25rem .5rem;border-radius:4px;font-size:.7rem;font-weight:600;text-transform:uppercase}.age-badge.child{background:#dbeafe;color:#1d4ed8}.age-badge.teenager{background:#fef3c7;color:#d97706}.age-badge.adult{background:#dcfce7;color:#16a34a}.no-students{text-align:center;padding:2rem;color:#64748b}.student-details{flex:1;padding:2rem;overflow-y:auto}.no-selection{display:flex;align-items:center;justify-content:center;height:100%;color:#94a3b8;font-size:1.1rem}.add-student-form{max-width:500px}.add-student-form h3{margin:0 0 1.5rem;color:#1e293b}.form-group{margin-bottom:1.25rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:500;color:#334155}.form-group input,.form-group textarea{width:100%;padding:.75rem 1rem;border:1px solid #cbd5e1;border-radius:8px;font-size:1rem;transition:border-color .2s}.form-group small{display:block;margin-top:.25rem;color:#94a3b8;font-size:.8rem}.form-actions{display:flex;gap:1rem;margin-top:1.5rem}.form-actions button{padding:.75rem 1.5rem;border-radius:8px;font-size:1rem;cursor:pointer;transition:all .2s}.form-actions button:first-child{background:#f1f5f9;border:1px solid #e2e8f0;color:#475569}.form-actions button.primary:hover{transform:translateY(-1px);box-shadow:0 4px 12px #f59e0b66}.student-detail-view{max-width:600px}.student-header{display:flex;align-items:center;gap:1.5rem;margin-bottom:2rem;padding-bottom:1.5rem;border-bottom:1px solid #e2e8f0}.student-main-info h3{margin:0 0 .25rem;font-size:1.5rem;color:#1e293b}.student-main-info .email{color:#64748b;margin:.25rem 0 .5rem}.info-section{margin-bottom:1.5rem;padding:1rem;background:#f8fafc;border-radius:8px}.info-section h4{margin:0 0 .75rem;font-size:1rem;color:#475569}.info-section p{margin:.25rem 0;color:#1e293b}.notes-view{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.notes-view p{flex:1;color:#64748b}.notes-view button{background:none;border:none;color:#f59e0b;cursor:pointer;padding:.25rem .5rem}.notes-edit textarea{width:100%;padding:.75rem;border:1px solid #cbd5e1;border-radius:8px;margin-bottom:.75rem;font-family:inherit}.notes-actions{display:flex;gap:.5rem;justify-content:flex-end}.notes-actions button{padding:.5rem 1rem;border-radius:6px;font-size:.85rem;cursor:pointer}.notes-actions button:first-child{background:#f1f5f9;border:1px solid #e2e8f0;color:#475569}.notes-actions button.primary{background:#f59e0b;border:none;color:#fff}.danger-zone{margin-top:2rem;padding-top:1.5rem;border-top:1px solid #fecaca}.remove-btn{background:#fef2f2;color:#dc2626;border:1px solid #fecaca;padding:.75rem 1.5rem;border-radius:8px;cursor:pointer;font-size:.9rem;transition:all .2s}.remove-btn:hover{background:#fee2e2;border-color:#f87171}@media(max-width:768px){.sm-content{flex-direction:column}.students-sidebar{width:100%;max-height:200px}.student-header{flex-direction:column;text-align:center}}[data-theme=dark] .student-management-modal{background:var(--surface-color)}[data-theme=dark] .sm-alert.error{background:#f8717126;color:#f87171}[data-theme=dark] .sm-alert.success{background:#34d39926;color:#34d399}[data-theme=dark] .students-sidebar{background:var(--surface-secondary);border-right-color:var(--border-color)}[data-theme=dark] .sidebar-header{border-bottom-color:var(--border-color)}[data-theme=dark] .sidebar-header h3{color:var(--text-secondary)}[data-theme=dark] .student-item{background:var(--card-bg);border-color:var(--card-border)}[data-theme=dark] .student-item:hover{border-color:var(--primary-color);box-shadow:0 2px 8px #fbbf241f}[data-theme=dark] .student-item.selected{border-color:var(--primary-color);background:#fbbf241a}[data-theme=dark] .student-info .name{color:var(--text-primary)}[data-theme=dark] .student-info .email{color:var(--text-tertiary)}[data-theme=dark] .online-indicator{border-color:var(--surface-color)}[data-theme=dark] .age-badge.child{background:#3b82f626;color:#60a5fa}[data-theme=dark] .age-badge.teenager{background:#fbbf2426;color:#fbbf24}[data-theme=dark] .age-badge.adult{background:#34d39926;color:#34d399}[data-theme=dark] .no-students,[data-theme=dark] .no-selection{color:var(--text-tertiary)}[data-theme=dark] .add-student-form h3{color:var(--text-primary)}[data-theme=dark] .form-group label{color:var(--text-secondary)}[data-theme=dark] .form-group input,[data-theme=dark] .form-group textarea{background:var(--input-bg);border-color:var(--input-border);color:var(--text-primary)}[data-theme=dark] .form-group input:focus,[data-theme=dark] .form-group textarea:focus{border-color:var(--input-focus-border);box-shadow:0 0 0 3px #fbbf2426}[data-theme=dark] .form-group small{color:var(--text-tertiary)}[data-theme=dark] .form-actions button:first-child{background:var(--surface-secondary);border-color:var(--border-color);color:var(--text-secondary)}[data-theme=dark] .student-header{border-bottom-color:var(--border-color)}[data-theme=dark] .student-main-info h3{color:var(--text-primary)}[data-theme=dark] .student-main-info .email{color:var(--text-tertiary)}[data-theme=dark] .info-section{background:var(--surface-secondary)}[data-theme=dark] .info-section h4{color:var(--text-secondary)}[data-theme=dark] .info-section p{color:var(--text-primary)}[data-theme=dark] .notes-view p{color:var(--text-tertiary)}[data-theme=dark] .notes-edit textarea{background:var(--input-bg);border-color:var(--input-border);color:var(--text-primary)}[data-theme=dark] .notes-actions button:first-child{background:var(--surface-secondary);border-color:var(--border-color);color:var(--text-secondary)}[data-theme=dark] .danger-zone{border-top-color:#f871714d}[data-theme=dark] .student-management-modal .remove-btn{background:#f871711a;color:#f87171;border-color:#f871714d}[data-theme=dark] .student-management-modal .remove-btn:hover{background:#f8717133;border-color:#f87171}.homework-list{padding:16px}.homework-filters{display:flex;gap:8px;margin-bottom:20px;flex-wrap:wrap}.homework-filters button{padding:8px 16px;border:1px solid #ddd;background:#fff;border-radius:20px;cursor:pointer;font-size:14px;transition:all .2s}.homework-filters button:hover{background:#f5f5f5}.homework-filters button.active{background:#f59e0b;color:#fff;border-color:#f59e0b}.homework-loading,.homework-empty{text-align:center;padding:60px 20px;color:#666}.homework-empty p{font-size:18px}.homework-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:16px}.homework-card{background:#fff;border-radius:12px;padding:16px;box-shadow:0 2px 8px #00000014;cursor:pointer;transition:all .2s;border-left:4px solid transparent}.homework-card:hover{box-shadow:0 4px 16px #0000001f;transform:translateY(-2px)}.homework-card.overdue{border-left-color:#ef4444;background:#fef2f2}.hw-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:8px}.hw-header h3{margin:0;font-size:16px;font-weight:600;color:#1e293b}.status-badge{font-size:11px;padding:4px 8px;border-radius:12px;font-weight:500;white-space:nowrap}.status-badge.blue{background:#dbeafe;color:#1d4ed8}.status-badge.yellow{background:#fef9c3;color:#a16207}.status-badge.green{background:#dcfce7;color:#15803d}.status-badge.orange{background:#fed7aa;color:#c2410c}.status-badge.purple{background:#e9d5ff;color:#7e22ce}.status-badge.gray{background:#e5e7eb;color:#4b5563}.hw-description{color:#64748b;font-size:14px;margin:0 0 12px;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.hw-meta{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.hw-student,.hw-teacher,.hw-lesson{font-size:12px;color:#64748b;background:#f1f5f9;padding:4px 8px;border-radius:6px}.hw-footer{display:flex;justify-content:space-between;align-items:center;padding-top:12px;border-top:1px solid #e5e7eb}.due-date{font-size:13px;color:#64748b}.due-date.overdue{color:#ef4444;font-weight:600}.points{font-size:14px;color:#f59e0b;font-weight:600}.points .earned{color:#10b981}.hw-exercises-count{margin-top:8px;font-size:12px;color:#94a3b8}.create-homework-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.create-homework-modal{background:#fff;border-radius:16px;width:100%;max-width:600px;max-height:90vh;overflow:hidden;display:flex;flex-direction:column}.create-homework-modal header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid #e5e7eb}.create-homework-modal header h2{margin:0;font-size:18px}.no-students-warning{padding:40px 20px;text-align:center;color:#64748b}.no-students-warning p{margin:0 0 12px}.no-students-warning button{margin-top:16px;padding:10px 24px;background:#f59e0b;color:#fff;border:none;border-radius:8px;cursor:pointer}.create-homework-modal .close-btn{background:none;border:none;font-size:24px;cursor:pointer;color:#64748b;padding:4px;line-height:1}.create-homework-modal .close-btn:hover{color:#1e293b}.error-alert{margin:16px 20px 0;padding:12px;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;color:#dc2626;font-size:14px}.create-homework-modal form{padding:20px;overflow-y:auto}.create-homework-modal .form-group{margin-bottom:16px}.create-homework-modal label{display:block;font-weight:500;margin-bottom:6px;color:#374151;font-size:14px}.create-homework-modal input[type=text],.create-homework-modal input[type=date],.create-homework-modal input[type=number],.create-homework-modal textarea,.create-homework-modal select{width:100%;padding:10px 12px;border:1px solid #d1d5db;border-radius:8px;font-size:14px;transition:border-color .2s}.create-homework-modal input:focus,.create-homework-modal textarea:focus,.create-homework-modal select:focus{outline:none;border-color:#f59e0b;box-shadow:0 0 0 3px #f59e0b1a}.create-homework-modal .form-row{display:grid;grid-template-columns:1fr 1fr 100px;gap:12px}.form-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px;padding-top:16px;border-top:1px solid #e5e7eb}.form-actions button{padding:10px 20px;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.form-actions button:not(.primary){background:#fff;border:1px solid #d1d5db;color:#374151}.form-actions button:not(.primary):hover{background:#f3f4f6}.form-actions button.primary{background:#f59e0b;color:#fff;border:none}.form-actions button.primary:hover{background:#d97706}.form-actions button:disabled{opacity:.6;cursor:not-allowed}.homework-view-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.homework-view-modal{background:#fff;border-radius:16px;width:100%;max-width:800px;max-height:90vh;overflow:hidden;display:flex;flex-direction:column}.homework-view-modal header{display:flex;justify-content:space-between;align-items:flex-start;padding:20px;border-bottom:1px solid #e5e7eb}.homework-view-modal header h2{margin:0 0 4px;font-size:20px;color:#1e293b}.homework-view-modal .lesson-tag{font-size:12px;color:#64748b;background:#f1f5f9;padding:4px 8px;border-radius:6px}.homework-view-modal .close-btn{background:none;border:none;font-size:24px;cursor:pointer;color:#64748b;padding:4px;line-height:1}.homework-view-content{padding:20px;overflow-y:auto}.hw-info-bar{display:flex;gap:16px;flex-wrap:wrap;padding:12px 16px;background:#f8fafc;border-radius:8px;margin-bottom:20px;font-size:14px;color:#475569}.hw-description-box{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:16px;margin-bottom:20px}.hw-description-box h4{margin:0 0 8px;font-size:14px;color:#374151}.hw-description-box p{margin:0;color:#64748b;line-height:1.6}.submission-section{margin-top:20px}.submission-section h4{margin:0 0 12px;font-size:14px;color:#374151}.submission-section textarea{width:100%;padding:12px;border:1px solid #d1d5db;border-radius:8px;font-size:14px;resize:vertical;min-height:150px}.submission-section textarea:focus{outline:none;border-color:#f59e0b;box-shadow:0 0 0 3px #f59e0b1a}.submit-btn{margin-top:16px;padding:12px 24px;background:#10b981;color:#fff;border:none;border-radius:8px;font-size:15px;font-weight:500;cursor:pointer;transition:all .2s}.submit-btn:hover{background:#059669}.submit-btn:disabled{opacity:.6;cursor:not-allowed}.submitted-info{margin-top:16px;padding:12px 16px;background:#dcfce7;border-radius:8px;color:#15803d;font-size:14px}.checked-section{text-align:center;padding:20px}.score-display{display:flex;flex-direction:column;align-items:center;margin-bottom:24px}.score-display .score{font-size:48px;font-weight:700;color:#f59e0b}.score-display .score-label{font-size:16px;color:#64748b}.teacher-feedback,.my-submission{text-align:left;background:#f8fafc;border-radius:8px;padding:16px;margin-top:16px}.teacher-feedback h4,.my-submission h4{margin:0 0 8px;font-size:14px;color:#374151}.teacher-feedback p,.my-submission p{margin:0;color:#64748b;white-space:pre-wrap}.check-section{margin-top:20px}.student-submission{margin-bottom:24px}.student-submission h4{margin:0 0 12px;font-size:14px;color:#374151}.submission-box{background:#fffbeb;border:1px solid #fcd34d;border-radius:8px;padding:16px;white-space:pre-wrap;color:#1e293b;min-height:100px}.check-form{background:#f0fdf4;border:1px solid #86efac;border-radius:8px;padding:20px}.check-form .form-group{margin-bottom:16px}.check-form .form-group:last-of-type{margin-bottom:0}.check-form label{display:block;font-weight:500;margin-bottom:6px;color:#374151;font-size:14px}.check-form input,.check-form textarea{width:100%;padding:10px 12px;border:1px solid #d1d5db;border-radius:8px;font-size:14px}.check-form input:focus,.check-form textarea:focus{outline:none;border-color:#f59e0b}.check-btn{margin-top:16px;padding:12px 24px;background:#f59e0b;color:#fff;border:none;border-radius:8px;font-size:15px;font-weight:500;cursor:pointer;transition:all .2s;width:100%}.check-btn:hover{background:#d97706}.check-btn:disabled{opacity:.6;cursor:not-allowed}.rubric-section{margin-top:20px;padding:16px;background:var(--color-surface, #f8fafc);border:1px solid var(--color-border, #e2e8f0);border-radius:8px}.rubric-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.rubric-header label{font-weight:600;color:var(--color-text-primary, #1c1917)}.add-rubric-btn{padding:6px 14px;background:var(--color-primary, #f59e0b);color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:13px;transition:background .2s}.add-rubric-btn:hover{background:#d97706}.rubric-row{display:grid;grid-template-columns:1fr 1fr 70px 32px;gap:8px;margin-bottom:8px;align-items:center}.rubric-row input{padding:7px 10px;border:1px solid #d1d5db;border-radius:6px;font-size:13px}.remove-rubric-btn{padding:4px 8px;background:#fee2e2;color:#dc2626;border:none;border-radius:6px;cursor:pointer;font-size:13px}.remove-rubric-btn:hover{background:#fecaca}.rubric-total{display:block;text-align:right;color:#64748b;font-size:13px;margin-top:8px}.rubric-grading{margin-bottom:16px}.rubric-grading h4{font-size:14px;font-weight:600;color:#374151;margin-bottom:12px}.rubric-grade-row{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;background:#f9fafb;border:1px solid #e5e7eb;border-radius:6px;margin-bottom:6px}.rubric-grade-header{display:flex;flex-direction:column}.rubric-grade-header small{color:#6b7280;font-size:12px;margin-top:2px}.rubric-grade-inputs{display:flex;align-items:center;gap:6px;font-size:14px}.rubric-grade-inputs input{width:60px;padding:6px 8px;border:1px solid #d1d5db;border-radius:6px;text-align:center}.rubric-total-score{text-align:right;font-weight:600;color:#374151;padding:8px 0;font-size:14px}.rubric-results{margin:12px 0;border:1px solid #e5e7eb;border-radius:8px;overflow:hidden}.rubric-result-row{display:flex;justify-content:space-between;padding:10px 14px;border-bottom:1px solid #f3f4f6}.rubric-result-row:last-child{border-bottom:none}.rubric-criterion{font-size:14px;color:#374151}.rubric-score{font-weight:600;color:#059669;font-size:14px}@media(max-width:640px){.rubric-row{grid-template-columns:1fr 32px;grid-template-rows:auto auto auto}.rubric-row input:nth-child(2){grid-column:1}.rubric-row input:nth-child(3){grid-column:1}}.homework-view-modal .loading{padding:40px;text-align:center;color:#64748b}@media(max-width:640px){.create-homework-modal .form-row,.homework-grid{grid-template-columns:1fr}.hw-info-bar{flex-direction:column;gap:8px}}.auth-overlay{position:fixed;inset:0;z-index:1500;padding:var(--space-4);display:grid;place-items:center;background:#0000008c;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.auth-modal{width:min(760px,96vw);max-height:min(92vh,860px);overflow-y:auto;position:relative;border-radius:var(--radius-lg);border:1px solid var(--border-color);background:var(--surface-color);box-shadow:var(--shadow-xl)}.auth-close{position:absolute;top:var(--space-4);right:var(--space-4);width:36px;height:36px;border:1px solid var(--border-color);border-radius:999px;background:var(--surface-secondary);color:var(--text-secondary);font-size:1rem;cursor:pointer;display:grid;place-items:center;z-index:20;transition:transform var(--motion-fast) var(--ease-smooth),background-color var(--motion-fast) var(--ease-smooth)}.auth-close:hover{transform:rotate(90deg);background:var(--surface-hover)}.auth-tabs{display:flex;border-bottom:1px solid var(--border-color)}.auth-tabs button{flex:1;min-height:56px;border:0;border-bottom:3px solid transparent;background:transparent;color:var(--text-secondary);font-weight:700;cursor:pointer;transition:color var(--motion-fast) var(--ease-smooth),background-color var(--motion-fast) var(--ease-smooth),border-color var(--motion-fast) var(--ease-smooth)}.auth-tabs button:hover{color:var(--text-primary);background:var(--surface-hover)}.auth-tabs button.active{color:var(--text-primary);border-bottom-color:var(--primary)}.auth-alert{margin:var(--space-4) var(--space-6) 0;border-radius:var(--radius-sm);padding:.7rem .9rem;font-size:.92rem}.auth-alert.error{background:#fff1ef;border:1px solid #fec7c0;color:#a42b22}.auth-alert.success{background:#eefcf4;border:1px solid #b8ebcb;color:#10663b}.auth-form{padding:var(--space-6)}.auth-form h2{margin-bottom:var(--space-2);font-family:var(--font-display);color:var(--text-primary)}.auth-form>p{margin-bottom:var(--space-5);color:var(--text-secondary)}.form-section{margin-bottom:var(--space-6);padding-bottom:var(--space-5);border-bottom:1px solid var(--border-light)}.form-section:last-of-type{margin-bottom:0;border-bottom:0;padding-bottom:0}.form-section h3{margin-bottom:var(--space-3);color:var(--text-secondary);font-size:.84rem;text-transform:uppercase;letter-spacing:.08em}.form-group{margin-bottom:var(--space-3)}.form-group:last-child{margin-bottom:0}.form-group label{display:block;margin-bottom:.35rem;color:var(--text-secondary);font-size:.9rem;font-weight:600}.form-group input,.form-group select{width:100%;min-height:46px;border-radius:var(--radius-sm);border:1px solid var(--border-color);padding:.72rem .82rem;background:var(--surface-color);color:var(--text-primary);transition:border-color var(--motion-fast) var(--ease-smooth),box-shadow var(--motion-fast) var(--ease-smooth)}.form-group input:focus,.form-group select:focus{outline:none;border-color:var(--primary);box-shadow:var(--focus-ring)}.form-group input::placeholder{color:var(--text-muted)}.form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-3)}.password-strength{margin-top:.42rem;display:flex;align-items:center;gap:.45rem}.strength-bar{display:flex;flex:1;gap:3px}.strength-segment{flex:1;height:4px;border-radius:999px}.password-strength span{font-size:.75rem;min-width:96px;text-align:right}.form-terms{margin:var(--space-4) 0}.form-terms label{display:flex;align-items:flex-start;gap:.5rem;color:var(--text-secondary);font-size:.86rem}.form-terms input[type=checkbox]{width:18px;height:18px;margin-top:2px;accent-color:var(--primary)}.form-terms a{color:var(--primary-dark);text-decoration:none;font-weight:600}.form-terms a:hover{text-decoration:underline}.terms-link{background:none;border:none;padding:0;cursor:pointer;color:var(--primary-dark);font-weight:600;font-size:inherit;text-decoration:none}.terms-link:hover{text-decoration:underline}.submit-btn{width:100%;min-height:46px;border-radius:var(--radius-md);border:1px solid rgba(146,64,14,.12);background:linear-gradient(135deg,var(--primary),var(--primary-strong));color:#fff9f1;font-weight:700;cursor:pointer;transition:transform var(--motion-fast) var(--ease-smooth),box-shadow var(--motion-fast) var(--ease-smooth)}.submit-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 16px 26px #92400e3d}.submit-btn:disabled{opacity:.7;cursor:not-allowed}.link-btn{width:100%;margin-top:var(--space-3);background:transparent;border:0;color:var(--primary-dark);font-weight:600;cursor:pointer}.link-btn:hover{text-decoration:underline}.verification-screen{padding:var(--space-9) var(--space-6);text-align:center}.verification-icon{font-size:clamp(2.9rem,8vw,4rem);margin-bottom:var(--space-4)}.verification-screen h2{margin-bottom:var(--space-2);color:var(--text-primary);font-family:var(--font-display)}.verification-screen p{color:var(--text-secondary)}.verification-screen .dev-note{margin-top:var(--space-4);padding:.7rem;border-radius:var(--radius-sm);background:#fff4da;border:1px solid #f6d594;color:#8a530f;font-size:.78rem}.verify-btn{margin-top:var(--space-3);min-height:44px;border-radius:var(--radius-sm);border:0;background:#149252;color:#fff;font-weight:700;padding:.72rem 1.2rem;cursor:pointer}.verify-btn:hover{background:#0f7f47}.register-form{max-height:calc(92vh - 56px);overflow-y:auto}.recaptcha-container{display:flex;justify-content:center;padding:.45rem 0}.honeypot-field{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;opacity:0}@media(max-width:760px){.auth-overlay{padding:var(--space-2)}.auth-modal{width:100%;max-height:96vh}.auth-form{padding:var(--space-4)}.form-row{grid-template-columns:1fr}}[data-theme=dark] .auth-modal{background:linear-gradient(180deg,#2b2018f2,#1f1812f5),var(--surface);border-color:#c7954b4d}[data-theme=dark] .auth-tabs,[data-theme=dark] .form-section{border-color:#c7954b38}[data-theme=dark] .auth-tabs button,[data-theme=dark] .form-group label,[data-theme=dark] .form-terms label,[data-theme=dark] .verification-screen p{color:#ebdcc8}[data-theme=dark] .form-group input,[data-theme=dark] .form-group select,[data-theme=dark] .auth-close{background:#34271ee0;color:#fff5e8;border-color:#c7954b4d}[data-theme=dark] .auth-form>p{color:var(--text-secondary)}[data-theme=dark] .form-section{border-bottom-color:var(--border-color)}[data-theme=dark] .form-section h3,[data-theme=dark] .form-group label{color:var(--text-secondary)}[data-theme=dark] .form-group input,[data-theme=dark] .form-group select{background:var(--input-bg);border-color:var(--input-border);color:var(--text-primary)}[data-theme=dark] .form-group input:focus,[data-theme=dark] .form-group select:focus{border-color:var(--primary-color);box-shadow:0 0 0 3px #f59e0b33}[data-theme=dark] .form-group input::placeholder{color:var(--text-muted)}[data-theme=dark] .form-terms label{color:var(--text-secondary)}[data-theme=dark] .form-terms a,[data-theme=dark] .link-btn{color:var(--primary-color)}.auth-modal :is(button,input,select,textarea,a):focus-visible{outline:none;box-shadow:var(--focus-ring)}.auth-tabs button.active{color:#6d2e0a}.auth-alert.error,.auth-alert.success{font-weight:600}@media(prefers-reduced-motion:reduce){.auth-overlay *,.auth-overlay *:before,.auth-overlay *:after{animation:none!important;transition-duration:.01ms!important}.auth-close:hover,.submit-btn:hover:not(:disabled){transform:none!important}}[data-theme=dark] .verification-screen h2{color:var(--text-primary)}[data-theme=dark] .verification-screen p{color:var(--text-secondary)}[data-theme=dark] .verification-screen .dev-note{background:#fbbf241a;color:#fcd34d}.auth-container{background:var(--surface-primary);border:1px solid var(--border-subtle);border-radius:var(--radius-xl);box-shadow:var(--shadow-lg)}.auth-input{background:var(--surface-secondary);border:1.5px solid var(--border-subtle);border-radius:var(--radius-md);color:var(--text-primary);font-family:var(--font-primary);transition:border-color var(--transition-fast),box-shadow var(--transition-fast)}.auth-input:focus{border-color:var(--color-honey);box-shadow:0 0 0 3px var(--color-honey-light);outline:none}.auth-button-primary{background:var(--gradient-honey-warm);border-radius:var(--radius-lg);color:var(--color-white);font-family:var(--font-primary);font-weight:600;letter-spacing:.02em;transition:opacity var(--transition-fast),transform var(--transition-fast)}.auth-button-primary:hover:not(:disabled){opacity:.9;transform:translateY(-1px)}.auth-button-primary:disabled{opacity:.5;cursor:not-allowed}.auth-error{background:var(--color-error-bg, rgba(239, 68, 68, .08));border:1px solid var(--color-error, #ef4444);border-radius:var(--radius-md);color:var(--color-error, #ef4444);font-size:var(--font-size-sm)}.auth-success{background:var(--color-success-bg, rgba(34, 197, 94, .08));border:1px solid var(--color-success, #22c55e);border-radius:var(--radius-md);color:var(--color-success, #22c55e);font-size:var(--font-size-sm)}.auth-divider{color:var(--text-muted);font-size:var(--font-size-sm);display:flex;align-items:center;gap:var(--space-3);margin:var(--space-4) 0;text-transform:uppercase;letter-spacing:.05em}.auth-divider:before,.auth-divider:after{content:"";flex:1;height:1px;background:var(--border-subtle)}.auth-link{color:var(--color-honey);font-weight:500;text-decoration:none;transition:color var(--transition-fast)}.auth-link:hover{color:var(--color-honey-dark, #d97706);text-decoration:underline}.auth-google-btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2, .5rem);width:100%;padding:var(--space-3, .75rem) var(--space-4, 1rem);background:var(--surface-primary, #ffffff);border:1.5px solid var(--border-subtle, #d1d5db);border-radius:var(--radius-lg, .5rem);color:var(--text-primary, #111827);font-family:var(--font-primary, inherit);font-size:var(--font-size-base, 1rem);font-weight:500;text-decoration:none;cursor:pointer;transition:background var(--transition-fast, .15s),border-color var(--transition-fast, .15s)}.auth-google-btn:hover{background:var(--surface-hover, #f9fafb);border-color:var(--color-honey, #f59e0b)}.auth-google-btn svg{flex-shrink:0}.availability-picker{-webkit-user-select:none;user-select:none}.av-picker-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.75rem;font-size:.875rem;color:var(--text-secondary)}.av-slot-count{font-weight:600;color:var(--primary)}.av-clear-btn{background:none;border:1px solid var(--border-color);border-radius:var(--radius-sm);padding:.2rem .6rem;font-size:.8rem;color:var(--text-secondary);cursor:pointer;transition:all var(--motion-fast)}.av-clear-btn:hover{border-color:#ef4444;color:#ef4444}.av-grid-wrapper{overflow-x:auto;overflow-y:auto;max-height:480px;border:1px solid var(--border-color);border-radius:var(--radius-md)}.av-grid{display:grid;grid-template-columns:3.5rem repeat(7,minmax(2.4rem,1fr));gap:2px;padding:.5rem;background:var(--bg-secondary);min-width:360px}.av-day-header{text-align:center;font-size:.75rem;font-weight:700;color:var(--text-secondary);padding:.25rem 0;text-transform:uppercase;letter-spacing:.05em}.av-hour-label{font-size:.7rem;color:var(--text-muted);display:flex;align-items:center;padding-right:.4rem;justify-content:flex-end;white-space:nowrap}.av-cell{height:1.75rem;border-radius:3px;background:var(--bg-primary);border:1px solid var(--border-color);cursor:pointer;transition:background var(--motion-fast),transform var(--motion-fast)}.av-cell:not(.readonly):hover{background:var(--primary-light);border-color:var(--primary);transform:scale(1.05)}.av-cell.selected{background:var(--primary);border-color:var(--primary-dark)}.av-cell.selected:not(.readonly):hover{background:var(--primary-dark)}.av-cell.readonly{cursor:default}.av-cell.selected.readonly{background:var(--primary);opacity:.85}.account-settings-overlay{position:fixed;inset:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:1500;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.account-settings-modal{background:#fff;border-radius:16px;width:90%;max-width:900px;max-height:90vh;overflow:hidden;box-shadow:0 25px 50px #00000040;display:flex;flex-direction:column}.settings-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #e5e7eb;background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff}.settings-header h2{margin:0;font-size:1.5rem}.settings-header .close-btn{background:#fff3;border:none;width:36px;height:36px;border-radius:50%;font-size:1.2rem;cursor:pointer;color:#fff;transition:background .2s}.settings-header .close-btn:hover{background:#ffffff4d}.settings-content{display:flex;flex:1;overflow:hidden}.settings-nav{width:220px;border-right:1px solid #e5e7eb;background:#f8fafc;padding:16px 0;display:flex;flex-direction:column;gap:4px}.settings-nav button{display:flex;align-items:center;gap:12px;padding:14px 20px;border:none;background:transparent;text-align:left;cursor:pointer;font-size:.95rem;color:#4b5563;transition:all .2s;border-left:3px solid transparent}.settings-nav button:hover{background:#e5e7eb;color:#1f2937}.settings-nav button.active{background:#fff;color:#f59e0b;border-left-color:#f59e0b;font-weight:600}.settings-nav button.danger{color:#dc2626}.settings-nav button.danger:hover{background:#fee2e2}.settings-nav button.danger.active{color:#dc2626;border-left-color:#dc2626;background:#fee2e2}.settings-main{flex:1;padding:24px;overflow-y:auto}.settings-section h3{margin:0 0 20px;font-size:1.4rem;color:#1f2937}.section-description{color:#6b7280;margin-bottom:20px;line-height:1.5}.section-description.warning{color:#dc2626;font-weight:500}.settings-alert{padding:12px 16px;border-radius:8px;margin-bottom:16px;font-weight:500}.settings-alert.error{background:#fee2e2;color:#dc2626;border:1px solid #fecaca}.settings-alert.success{background:#d1fae5;color:#059669;border:1px solid #a7f3d0}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-group label{display:block;margin-bottom:6px;font-weight:500;color:#374151;font-size:.9rem}.form-group input,.form-group select{width:100%;padding:10px 14px;border:1px solid #d1d5db;border-radius:8px;font-size:1rem;transition:border-color .2s,box-shadow .2s}.form-group input:focus,.form-group select:focus{outline:none;border-color:#f59e0b;box-shadow:0 0 0 3px #f59e0b1a}.form-group input.disabled-input{background:#f3f4f6;color:#6b7280;cursor:not-allowed}.form-group small{color:#6b7280;font-size:.8rem;margin-top:4px;display:block}.save-btn{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;border:none;padding:12px 24px;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:transform .2s,box-shadow .2s}.save-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #f59e0b4d}.save-btn:disabled{opacity:.6;cursor:not-allowed}.verification-warning{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#fef3cd;border:1px solid #ffc107;border-radius:8px;margin-bottom:20px}.verification-warning span{color:#856404;font-weight:500}.verification-warning button{background:#ffc107;color:#856404;border:none;padding:8px 16px;border-radius:6px;cursor:pointer;font-weight:500}.verification-warning button:hover{background:#e0a800}.account-info{margin-top:32px;padding-top:24px;border-top:1px solid #e5e7eb}.account-info h4{margin:0 0 16px;color:#374151}.info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.info-item .label{font-size:.85rem;color:#6b7280}.info-item .value{font-weight:500;color:#1f2937}.info-item .value.verified{color:#059669}.info-item .value.unverified{color:#dc2626}.security-block{background:#f8fafc;padding:20px;border-radius:12px;margin-bottom:20px;border:1px solid #e5e7eb}.security-block h4{margin:0 0 16px;color:#374151;font-size:1.1rem}.action-btn{background:#4b5563;color:#fff;border:none;padding:10px 20px;border-radius:6px;font-weight:500;cursor:pointer;transition:background .2s}.action-btn:hover:not(:disabled){background:#374151}.action-btn:disabled{opacity:.6;cursor:not-allowed}.password-strength{margin-top:8px;display:flex;align-items:center;gap:12px}.strength-bar{display:flex;gap:4px;flex:1}.strength-segment{height:6px;flex:1;border-radius:3px;background:#e5e7eb;transition:background .3s}.password-requirements{background:#f0fdf4;border:1px solid #86efac;border-radius:8px;padding:16px}.password-requirements h4{margin:0 0 12px;color:#166534;font-size:.95rem}.password-requirements ul{margin:0;padding-left:20px;color:#15803d}.password-requirements li{margin-bottom:4px}.notification-options{display:flex;flex-direction:column;gap:12px;margin-bottom:24px}.notification-toggle{display:flex;align-items:flex-start;gap:16px;padding:16px;background:#f8fafc;border-radius:12px;border:1px solid #e5e7eb;cursor:pointer;transition:border-color .2s}.notification-toggle:hover{border-color:#f59e0b}.notification-toggle input[type=checkbox]{margin-top:4px;width:20px;height:20px;accent-color:#f59e0b}.toggle-content{flex:1}.toggle-label{display:block;font-weight:500;color:#1f2937;margin-bottom:4px}.toggle-desc{font-size:.85rem;color:#6b7280}.danger-zone .danger-block{background:#fef2f2;border:1px solid #fecaca;border-radius:12px;padding:20px}.danger-block h4{color:#dc2626;margin:0 0 12px}.danger-block p{color:#7f1d1d;margin-bottom:16px;line-height:1.5}.delete-btn{background:#dc2626;color:#fff;border:none;padding:12px 24px;border-radius:8px;font-weight:600;cursor:pointer;transition:background .2s}.delete-btn:hover:not(:disabled){background:#b91c1c}.delete-btn:disabled{opacity:.6;cursor:not-allowed}@media(max-width:768px){.account-settings-modal{width:100%;height:100%;max-height:100%;border-radius:0}.settings-content{flex-direction:column}.settings-nav{width:100%;flex-direction:row;overflow-x:auto;border-right:none;border-bottom:1px solid #e5e7eb;padding:8px;gap:8px}.settings-nav button{padding:10px 16px;border-left:none;border-radius:8px;white-space:nowrap}.settings-nav button.active{border-left:none;background:#f59e0b;color:#fff}.form-row,.info-grid{grid-template-columns:1fr}}.home-dashboard{display:flex;flex-direction:column;gap:0;min-height:calc(100vh - 180px);padding:24px 0}.dashboard-sidebar{display:flex;flex-direction:column;gap:20px}.mini-calendar{background:var(--surface-color);border-radius:16px;padding:20px;box-shadow:var(--shadow)}.mini-calendar-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.mini-calendar-header button{background:none;border:none;font-size:1rem;cursor:pointer;padding:8px;border-radius:8px;color:var(--text-secondary);transition:all .2s}.mini-calendar-header button:hover{background:var(--surface-hover);color:var(--text-primary)}.mini-calendar-header span{font-weight:600;color:var(--text-primary)}.mini-calendar-days-header{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;margin-bottom:8px}.mini-calendar-days-header span{text-align:center;font-size:.75rem;font-weight:600;color:var(--text-tertiary);padding:4px}.mini-calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}.mini-day{aspect-ratio:1;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:8px;cursor:pointer;transition:all .2s;position:relative;font-size:.85rem}.mini-day:hover:not(.empty){background:var(--surface-hover)}.mini-day.empty{cursor:default}.mini-day.today{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;font-weight:600;box-shadow:0 2px 8px #f59e0b4d;animation:todayPulse 3s ease-in-out infinite}@keyframes todayPulse{0%,to{box-shadow:0 2px 8px #f59e0b4d}50%{box-shadow:0 2px 12px #f59e0b80}}.mini-day.selected:not(.today){background:#fef3c7;color:#92400e;font-weight:600}.mini-day.has-lessons:not(.today):not(.selected){font-weight:500}.day-dots{display:flex;gap:2px;position:absolute;bottom:2px}.day-dots .dot{width:4px;height:4px;border-radius:50%}.mini-day.today .day-dots .dot{background:var(--surface-color)!important}.full-calendar-btn{width:100%;margin-top:16px;padding:12px;background:var(--surface-hover);border:none;border-radius:10px;font-weight:500;color:var(--text-secondary);cursor:pointer;transition:all .2s}.full-calendar-btn:hover{background:var(--border-color);color:var(--text-primary)}.upcoming-panel{background:var(--surface-color);border-radius:16px;padding:20px;box-shadow:var(--shadow)}.upcoming-panel h3{margin:0 0 16px;font-size:1rem;color:var(--text-primary)}.upcoming-panel .no-lessons,.upcoming-panel .loading-lessons{color:var(--text-tertiary);text-align:center;padding:20px 0;font-size:.9rem}.upcoming-list{display:flex;flex-direction:column;gap:12px}.upcoming-item{display:flex;align-items:center;gap:12px;padding:12px;background:var(--surface-secondary);border-radius:10px;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1)}.upcoming-item:hover{background:var(--surface-hover);transform:translate(6px);box-shadow:-3px 0 #f59e0b}.upcoming-date{min-width:44px;text-align:center}.upcoming-date .day{display:block;font-size:1.2rem;font-weight:700;color:var(--text-primary)}.upcoming-date .month{display:block;font-size:.7rem;color:var(--text-secondary);text-transform:uppercase}.upcoming-date .today-label,.upcoming-date .tomorrow-label{display:block;font-size:.75rem;font-weight:600;padding:4px 8px;border-radius:6px}.upcoming-date .today-label{background:#dcfce7;color:#166534}.upcoming-date .tomorrow-label{background:#dbeafe;color:#1e40af}.upcoming-info{flex:1;min-width:0}.upcoming-info .time{display:block;font-size:.75rem;color:var(--text-secondary)}.upcoming-info .title{display:block;font-weight:500;color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.upcoming-info .group-badge{display:inline-block;font-size:.7rem;padding:2px 6px;border-radius:4px;color:#fff;margin-top:4px}.upcoming-info .person{display:block;font-size:.8rem;color:var(--text-secondary);margin-top:2px}.upcoming-item .join-btn{background:#22c55e;color:#fff;border:none;width:32px;height:32px;border-radius:8px;cursor:pointer;transition:transform .2s;display:inline-grid;place-items:center;flex-shrink:0}.upcoming-item .join-btn>svg{display:block}.upcoming-item .join-btn:hover{transform:scale(1.1)}.dashboard-main{display:flex;flex-direction:column;gap:24px}.subjects-section{margin-bottom:8px}.subjects-section .section-header h2{margin:0 0 16px;font-size:1.4rem}.subjects-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}.subject-banner-card{position:relative;border-radius:16px;overflow:hidden;height:200px;cursor:pointer;transition:transform .3s cubic-bezier(.4,0,.2,1),box-shadow .3s ease;box-shadow:0 4px 16px #0000001f}.subject-banner-card:hover{transform:translateY(-6px) scale(1.02);box-shadow:0 12px 35px #f59e0b33}.subject-banner-card:after{content:"";position:absolute;top:0;left:-100%;width:50%;height:100%;background:linear-gradient(90deg,transparent 0%,rgba(245,158,11,.1) 30%,rgba(255,255,255,.15) 50%,rgba(245,158,11,.1) 70%,transparent 100%);transition:left .6s ease;pointer-events:none;z-index:2}.subject-banner-card:hover:after{left:150%}.subject-banner-card:hover .subject-emoji{animation:emojiPop .5s ease}@keyframes emojiPop{0%{transform:scale(1) rotate(0)}30%{transform:scale(1.3) rotate(-10deg)}60%{transform:scale(1.1) rotate(5deg)}to{transform:scale(1) rotate(0)}}.subject-banner-card.clickable:focus-visible{outline:3px solid #f59e0b;outline-offset:2px}.subject-banner-image{position:absolute;inset:0}.subject-banner-image img{width:100%;height:100%;object-fit:cover}.subject-banner-fallback{display:none;width:100%;height:100%;background:linear-gradient(135deg,var(--subject-color, #f59e0b) 0%,color-mix(in srgb,var(--subject-color, #f59e0b),#000 25%) 100%);align-items:center;justify-content:center}.subject-banner-fallback.visible{display:flex}.subject-banner-icon{font-size:4rem;opacity:.3}.subject-banner-overlay{position:absolute;inset:0;background:linear-gradient(to top,#000000d9,#0006,#0000001a)}.subject-banner-content{position:absolute;inset:0;padding:16px;display:flex;flex-direction:column;justify-content:flex-end;z-index:1;color:#fff}.subject-banner-top{position:absolute;top:12px;left:12px;right:12px;display:flex;justify-content:space-between;align-items:center}.subject-emoji{font-size:1.8rem;filter:drop-shadow(0 2px 4px rgba(0,0,0,.4))}.subject-enrollment-badge{background:#fff3;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);padding:4px 10px;border-radius:12px;font-size:.8rem;font-weight:500}.subject-banner-title{margin:0 0 4px;font-size:1.25rem;font-weight:700;text-shadow:0 2px 8px rgba(0,0,0,.5);line-height:1.3}.subject-banner-desc{margin:0 0 8px;font-size:.85rem;opacity:.85;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.subject-banner-meta{display:flex;gap:12px;font-size:.8rem;opacity:.75}.subject-teacher,.subject-levels{display:flex;align-items:center;gap:4px}.selected-day-section{background:var(--surface-color);border-radius:16px;padding:24px;box-shadow:var(--shadow)}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.section-header h2{margin:0;font-size:1.25rem;color:var(--text-primary)}.lesson-count{font-size:.9rem;color:var(--text-secondary);background:var(--surface-hover);padding:6px 12px;border-radius:20px}.no-lessons-card{text-align:center;padding:40px;color:var(--text-tertiary)}.no-lessons-card .icon{font-size:3rem;display:block;margin-bottom:12px}.day-lessons-list{display:flex;flex-direction:column;gap:16px}.lesson-card-detailed{display:flex;gap:20px;padding:20px;background:var(--surface-secondary);border-radius:12px;border-left:4px solid #f59e0b;cursor:pointer;transition:all .2s}.lesson-card-detailed:hover{background:var(--surface-hover);transform:translateY(-2px);box-shadow:var(--shadow-md)}.lesson-time-block{min-width:70px;text-align:center;padding:8px;background:var(--surface-color);border-radius:8px}.lesson-time-block .start-time{display:block;font-size:1.1rem;font-weight:700;color:var(--text-primary)}.lesson-time-block .duration{display:block;font-size:.75rem;color:var(--text-secondary)}.lesson-content{flex:1}.lesson-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:8px}.lesson-header h3{margin:0;font-size:1.1rem;color:var(--text-primary)}.status-badge{font-size:.75rem;padding:4px 10px;border-radius:12px;color:#fff;font-weight:500;white-space:nowrap;display:inline-flex;align-items:center;gap:4px;line-height:1}.status-badge>svg{flex-shrink:0}.subject-info{font-size:.9rem;color:var(--text-secondary);margin:0 0 8px}.lesson-participants{margin-bottom:8px}.group-info,.person-info{font-size:.85rem;color:var(--text-secondary)}.lesson-description{font-size:.85rem;color:var(--text-secondary);margin:8px 0 0;line-height:1.4}.lesson-actions{display:flex;flex-direction:column;gap:8px;min-width:140px}.action-btn{padding:10px 16px;border:none;border-radius:8px;font-weight:500;cursor:pointer;transition:all .2s;font-size:.85rem}.action-btn.join{background:linear-gradient(135deg,#22c55e,#16a34a);color:#fff}.action-btn.join:hover{transform:translateY(-2px);box-shadow:0 4px 12px #22c55e4d}.action-btn.details{background:var(--border-color);color:var(--text-secondary)}.action-btn.details:hover{background:#d1d5db}.history-section{background:var(--surface-color);border-radius:16px;box-shadow:var(--shadow);overflow:hidden}.tabs-header{display:flex;border-bottom:1px solid var(--border-color)}.tabs-header button{flex:1;padding:16px;border:none;background:transparent;font-weight:500;color:var(--text-secondary);cursor:pointer;transition:all .2s;border-bottom:2px solid transparent}.tabs-header button:hover{color:var(--text-primary);background:var(--surface-secondary)}.tabs-header button.active{color:#f59e0b;border-bottom-color:#f59e0b}.tab-content{padding:20px;max-height:400px;overflow-y:auto}.history-list,.upcoming-full-list{display:flex;flex-direction:column;gap:12px}.no-history{text-align:center;color:var(--text-tertiary);padding:40px}.history-item,.upcoming-full-item{display:flex;align-items:center;gap:16px;padding:14px;background:var(--surface-secondary);border-radius:10px;cursor:pointer;transition:all .2s}.history-item:hover,.upcoming-full-item:hover{background:var(--surface-hover);transform:translate(6px);box-shadow:-3px 0 #f59e0b}.history-date,.upcoming-full-date{min-width:50px;text-align:center}.history-date .day,.upcoming-full-date .day{display:block;font-size:1.3rem;font-weight:700;color:var(--text-primary)}.history-date .month,.upcoming-full-date .month{display:block;font-size:.7rem;color:var(--text-secondary);text-transform:uppercase}.upcoming-full-date .weekday{display:block;font-size:.7rem;color:var(--text-tertiary);text-transform:uppercase}.history-info,.upcoming-full-info{flex:1;min-width:0}.history-info h4,.upcoming-full-info h4{margin:0;font-size:1rem;color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-info p,.upcoming-full-info .bottom-row{margin:4px 0 0;font-size:.85rem;color:var(--text-secondary)}.upcoming-full-info .top-row{display:flex;align-items:center;gap:12px}.upcoming-full-info .time{font-weight:600;color:#f59e0b}.upcoming-full-info .bottom-row{display:flex;gap:12px;flex-wrap:wrap}.upcoming-full-info .subject,.upcoming-full-info .group,.upcoming-full-info .person,.upcoming-full-info .duration{font-size:.8rem}.group-tag,.person-tag{display:inline-block;font-size:.75rem;background:var(--border-color);padding:2px 8px;border-radius:4px;margin-top:4px}.history-summary{opacity:.6}.quick-join{background:#22c55e;color:#fff;border:none;width:36px;height:36px;border-radius:8px;cursor:pointer;transition:transform .2s;display:inline-grid;place-items:center;flex-shrink:0}.quick-join>svg{display:block}.quick-join:hover{transform:scale(1.1)}.lesson-modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.lesson-modal{background:var(--surface-color);border-radius:16px;width:90%;max-width:600px;max-height:90vh;overflow:hidden;position:relative;box-shadow:var(--shadow-xl)}.close-modal{position:absolute;top:16px;right:16px;background:#fff3;border:none;width:32px;height:32px;border-radius:50%;cursor:pointer;font-size:1.2rem;color:#fff;z-index:1;transition:background .2s}.close-modal:hover{background:#ffffff4d}.modal-header{background:linear-gradient(135deg,#f59e0b,#d97706);padding:24px;border-left:6px solid}.modal-header h2{margin:0 0 12px;color:#fff;font-size:1.4rem}.modal-header .status-badge{background:#fff3!important}.modal-content{padding:24px;max-height:50vh;overflow-y:auto}.info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-bottom:24px}.info-item{display:flex;flex-direction:column;gap:4px}.info-item .label{font-size:.8rem;color:var(--text-secondary)}.info-item .value{font-weight:500;color:var(--text-primary)}.person-card{background:var(--surface-secondary);padding:16px;border-radius:12px;margin-bottom:16px}.person-card h4{margin:0 0 12px;font-size:.9rem;color:var(--text-secondary)}.person-details,.group-details{display:flex;flex-direction:column;gap:4px}.person-details .name,.group-details .group-name{font-weight:600;color:var(--text-primary);font-size:1.1rem}.person-details .email{color:#f59e0b;text-decoration:none;font-size:.9rem}.person-details .email:hover{text-decoration:underline}.description-section,.notes-section,.summary-section{margin-bottom:16px}.description-section h4,.notes-section h4,.summary-section h4{margin:0 0 8px;font-size:.9rem;color:var(--text-secondary)}.description-section p,.notes-section p,.summary-section p{margin:0;color:var(--text-primary);line-height:1.6}.modal-actions{padding:16px 24px;background:var(--surface-secondary);display:flex;gap:12px;justify-content:flex-end}.modal-actions .btn-primary{background:linear-gradient(135deg,#22c55e,#16a34a);color:#fff;padding:12px 24px;border:none;border-radius:8px;font-weight:600;text-decoration:none;cursor:pointer;transition:transform .2s,box-shadow .2s}.modal-actions .btn-primary:hover{transform:translateY(-2px);box-shadow:0 4px 12px #22c55e4d}.modal-actions .btn-secondary{background:var(--border-color);color:var(--text-secondary);padding:12px 24px;border:none;border-radius:8px;font-weight:500;cursor:pointer;transition:background .2s}.modal-actions .btn-secondary:hover{background:#d1d5db}@media(max-width:1024px){.student-bottom-grid,.teacher-bottom-grid{grid-template-columns:280px 1fr;gap:16px}}@media(max-width:768px){.dashboard-sidebar{order:2}.dashboard-main{order:1}.subjects-grid{grid-template-columns:1fr 1fr}.subject-banner-card{height:160px}.lesson-card-detailed{flex-direction:column}.lesson-time-block{align-self:flex-start}.lesson-actions{flex-direction:row;min-width:auto}.info-grid{grid-template-columns:1fr}}@media(max-width:480px){.subjects-grid{grid-template-columns:1fr}.mini-calendar{padding:12px}.mini-day{font-size:.75rem}.student-bottom-grid,.teacher-bottom-grid{grid-template-columns:1fr}}[data-theme=dark] .mini-day.selected:not(.today){background:#fbbf2433;color:#fde68a}[data-theme=dark] .upcoming-date .today-label{background:#34d39926;color:#86efac}[data-theme=dark] .upcoming-date .tomorrow-label{background:#60a5fa26;color:#93c5fd}[data-theme=dark] .subject-banner-card{box-shadow:0 4px 16px #0000004d}[data-theme=dark] .subject-banner-card:hover{box-shadow:0 8px 30px #00000080}.welcome-hero{background:linear-gradient(135deg,#f59e0b,#d97706,#b45309);border-radius:20px;padding:2rem 2.5rem;margin-bottom:2rem;position:relative;overflow:hidden;color:#fff}.welcome-hero.teacher-hero{background:linear-gradient(135deg,#d97706,#b45309,#92400e)}.welcome-hero-content{display:flex;align-items:center;gap:1.5rem;position:relative;z-index:1}.welcome-bee{font-size:3.5rem;animation:beeBounce 2s ease-in-out infinite,beeWiggleHero 4s ease-in-out infinite}@keyframes beeBounce{0%,to{transform:translateY(0)}50%{transform:translateY(-8px)}}@keyframes beeWiggleHero{0%,to{filter:drop-shadow(0 0 0 transparent)}50%{filter:drop-shadow(0 0 8px rgba(255,255,255,.3))}}.welcome-text h1{margin:0 0 .25rem;font-size:1.75rem;font-weight:700;color:#fff}.welcome-text .teacher-subtitle{margin:0;font-size:.95rem;opacity:.85;color:#fef3c7}.welcome-honeycomb{position:absolute;top:-20px;right:-20px;width:200px;height:200px;background:radial-gradient(circle,rgba(255,255,255,.08) 0%,transparent 70%);border-radius:50%}.next-lesson-preview{display:flex;align-items:center;gap:.75rem;margin-top:.75rem;padding:.6rem 1rem;background:#ffffff26;border-radius:12px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);flex-wrap:wrap}.next-lesson-preview .next-label{font-size:.85rem;opacity:.9}.next-lesson-preview .next-title{font-weight:600;font-size:.95rem}.next-lesson-preview .next-time{font-size:.85rem;background:#fff3;padding:.15rem .5rem;border-radius:6px}.next-join-btn{background:#ffffff40;border:1px solid rgba(255,255,255,.4);color:#fff;padding:.3rem .75rem;border-radius:8px;cursor:pointer;font-size:.85rem;transition:background .2s}.next-join-btn:hover{background:#fff6}.student-layout,.teacher-layout{padding:0}.student-courses-section,.teacher-courses-section{margin-bottom:2rem}.student-courses-section .section-header,.teacher-courses-section .section-header{display:flex;align-items:baseline;gap:1rem;margin-bottom:1.25rem}.student-courses-section .section-header h2,.teacher-courses-section .section-header h2{margin:0;font-size:1.4rem;color:var(--text-primary)}.section-subtitle{font-size:.9rem;color:var(--text-secondary);font-weight:400}.subjects-grid.student-grid,.subjects-grid.teacher-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem}.no-courses-card{background:var(--surface-color);border:2px dashed var(--border-color);border-radius:16px;padding:3rem 2rem;text-align:center}.no-courses-card .no-courses-icon{font-size:3rem;display:block;margin-bottom:1rem}.no-courses-card h3{margin:0 0 .5rem;color:var(--text-primary);font-size:1.2rem}.no-courses-card p{margin:0;color:var(--text-secondary);font-size:.9rem}.student-bottom-grid,.teacher-bottom-grid{display:grid;grid-template-columns:320px 1fr;gap:1.5rem;align-items:start}.review-stats-banner{grid-column:1 / -1;display:flex;align-items:center;gap:.75rem;padding:.75rem 1.25rem;background:var(--clr-warning-light, #fef3c7);border-left:4px solid var(--clr-primary, #f59e0b);border-radius:var(--radius-md, .5rem);font-weight:500}.review-stats-banner .review-icon{font-size:1.25rem}.review-stats-banner .review-text{color:var(--clr-text-primary)}.dashboard-schedule{display:flex;flex-direction:column;gap:1.5rem}.manage-badge{display:inline-flex;align-items:center;gap:.3rem;font-size:.75rem;background:#f59e0b1f;color:#d97706;padding:.2rem .6rem;border-radius:8px;font-weight:600}@media(max-width:900px){.student-bottom-grid,.teacher-bottom-grid{grid-template-columns:1fr}.welcome-hero{padding:1.5rem}.welcome-hero-content{flex-direction:column;text-align:center}.welcome-bee{font-size:2.5rem}.welcome-text h1{font-size:1.3rem}.next-lesson-preview{justify-content:center}.subjects-grid.student-grid,.subjects-grid.teacher-grid{grid-template-columns:1fr}}[data-theme=dark] .welcome-hero{background:linear-gradient(135deg,#92400e,#78350f,#451a03)}[data-theme=dark] .welcome-hero.teacher-hero{background:linear-gradient(135deg,#78350f,#451a03,#1c0a00)}[data-theme=dark] .welcome-text h1{color:#fef3c7}[data-theme=dark] .next-lesson-preview{background:#fbbf2426}[data-theme=dark] .next-join-btn{background:#fbbf2433;border-color:#fbbf2466;color:#fef3c7}[data-theme=dark] .next-join-btn:hover{background:#fbbf2459}[data-theme=dark] .no-courses-card{background:var(--surface-color);border-color:var(--border-color)}[data-theme=dark] .no-courses-card h3{color:var(--text-primary)}[data-theme=dark] .no-courses-card p{color:var(--text-secondary)}[data-theme=dark] .manage-badge{background:#fbbf2426;color:#fbbf24}.subjects-by-category{display:flex;flex-direction:column;gap:28px}.category-group{animation:fadeIn .3s ease}.category-group-header{display:flex;align-items:center;gap:10px;margin-bottom:14px;padding-bottom:10px;border-bottom:2px solid var(--cat-color, #f59e0b);flex-wrap:wrap}.category-group-icon{font-size:1.6rem;line-height:1}.category-group-title{margin:0;font-size:1.15rem;font-weight:700;color:var(--text-primary, #1f2937)}.category-group-count{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;border-radius:12px;background:var(--cat-color, #f59e0b);color:#fff;font-size:.8rem;font-weight:700;padding:0 7px}.category-group-desc{width:100%;margin:4px 0 0;font-size:.88rem;color:var(--text-muted, #78716c);line-height:1.4}[data-theme=dark] .category-group-header{border-bottom-color:var(--cat-color, #f59e0b)}[data-theme=dark] .category-group-title{color:var(--text-primary, #e5e7eb)}[data-theme=dark] .category-group-desc{color:var(--text-secondary, #9ca3af)}.home-dashboard{gap:var(--space-5)}.mini-calendar,.upcoming-panel,.selected-day-section,.history-section,.lesson-modal,.category-group,.subject-banner-card{border:1px solid color-mix(in srgb,var(--primary-color) 16%,var(--border-color))}.upcoming-item,.lesson-card-detailed,.history-item,.upcoming-full-item,.subject-banner-card.clickable{position:relative}.upcoming-item:focus-visible,.lesson-card-detailed:focus-visible,.history-item:focus-visible,.upcoming-full-item:focus-visible,.subject-banner-card.clickable:focus-visible,.tabs-header button:focus-visible,.full-calendar-btn:focus-visible,.action-btn:focus-visible,.quick-join:focus-visible,.join-btn:focus-visible,.next-join-btn:focus-visible,.close-modal:focus-visible{outline:none;box-shadow:var(--focus-ring)}.upcoming-info .time,.subject-banner-meta,.lesson-description,.history-info p,.upcoming-full-info .bottom-row{color:var(--text-secondary)}.tabs-header button.active,.upcoming-full-info .time{color:#b45309}.upcoming-date .today-label{background:#d1fae5;color:#14532d}.upcoming-date .tomorrow-label{background:#dbeafe;color:#1e3a8a}@media(prefers-reduced-motion:reduce){.home-dashboard *,.home-dashboard *:before,.home-dashboard *:after{animation:none!important;transition-duration:.01ms!important}.upcoming-item:hover,.history-item:hover,.upcoming-full-item:hover,.lesson-card-detailed:hover,.subject-banner-card:hover,.next-join-btn:hover,.action-btn:hover,.quick-join:hover,.join-btn:hover{transform:none!important}}.progress-ring-track{stroke:var(--border-subtle)}.progress-ring-fill{stroke:url(#honey-gradient) var(--color-honey);stroke-linecap:round;transition:stroke-dashoffset var(--transition-slow)}.streak-counter{background:var(--gradient-honey-warm);border-radius:var(--radius-lg);color:var(--color-white);font-family:var(--font-primary);font-weight:700;letter-spacing:-.02em;padding:var(--spacing-xs) var(--spacing-sm)}.streak-counter .streak-number{font-size:var(--font-size-2xl);line-height:1}.streak-counter .streak-label{font-size:var(--font-size-xs);font-weight:400;opacity:.85;text-transform:uppercase;letter-spacing:.05em}.stat-card{background:var(--surface-secondary);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);font-family:var(--font-primary);padding:var(--spacing-md);transition:box-shadow var(--transition-fast),transform var(--transition-fast)}.stat-card:hover{box-shadow:var(--shadow-md);transform:translateY(-2px)}.stat-card__value{color:var(--color-honey);font-size:var(--font-size-2xl);font-weight:700;line-height:1}.stat-card__label{color:var(--text-muted);font-size:var(--font-size-sm);margin-top:var(--spacing-xs)}.heatmap-cell{border-radius:var(--radius-xs);transition:opacity var(--transition-fast)}.heatmap-cell[data-level="1"]{background:var(--color-honey-light)}.heatmap-cell[data-level="2"]{background:var(--color-honey-muted, #fcd34d)}.heatmap-cell[data-level="3"]{background:var(--color-honey)}.heatmap-cell[data-level="4"]{background:var(--color-honey-dark, #d97706)}.placement-test-view{max-width:900px;margin:0 auto;padding:24px;animation:fadeIn .3s ease}@keyframes fadeIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.placement-header{text-align:center;margin-bottom:32px}.placement-header h1{font-size:1.8rem;margin:0 0 8px;color:var(--text-primary, #1f2937)}.placement-subtitle{color:var(--text-muted, #78716c);font-size:1rem;margin:0}.btn-back{background:none;border:1px solid var(--border, #d1d5db);border-radius:8px;padding:6px 14px;cursor:pointer;color:var(--text-primary, #1f2937);margin-bottom:12px;font-size:.9rem;transition:all .2s}.btn-back:hover{background:var(--honey-light, #fef3c7);border-color:var(--honey, #f59e0b)}.placement-loading{text-align:center;padding:60px 0}.bee-spinner{display:inline-block;font-size:3rem;animation:spin 1s linear infinite}.current-levels-section{margin-bottom:32px}.current-levels-section h2{font-size:1.2rem;margin:0 0 16px}.proficiency-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}.proficiency-card{display:flex;align-items:center;gap:14px;padding:14px 18px;border-radius:12px;border:2px solid;background:var(--card-bg, #fffbeb);transition:transform .2s}.proficiency-card:hover{transform:translateY(-2px)}.prof-icon{font-size:2rem}.prof-info h4{margin:0 0 4px;font-size:.95rem}.prof-level{font-weight:700;font-size:1rem}.prof-source{display:block;margin-top:4px;color:var(--text-muted, #78716c);font-size:.8rem}.categories-tests-section{display:flex;flex-direction:column;gap:20px}.category-test-card{background:var(--card-bg, #fff);border:1px solid var(--border, #e5e7eb);border-radius:16px;padding:24px;border-left:4px solid var(--cat-color, #f59e0b);transition:box-shadow .2s}.category-test-card:hover{box-shadow:0 4px 20px #f59e0b1a}.cat-test-header{display:flex;align-items:center;gap:14px;margin-bottom:20px}.cat-test-icon{font-size:2.2rem}.cat-test-info h3{margin:0;font-size:1.15rem}.cat-test-info p{margin:4px 0 0;font-size:.9rem;color:var(--text-muted, #78716c)}.current-level-badge{margin-left:auto;padding:6px 14px;border-radius:20px;color:#fff;font-weight:700;font-size:.9rem;white-space:nowrap}.cat-tests-list{margin-bottom:20px}.cat-tests-list h4{margin:0 0 12px;font-size:.95rem;color:var(--text-secondary, #78350f)}.test-item{display:flex;align-items:center;gap:16px;padding:14px;background:var(--honey-light, #fef3c7);border-radius:10px;margin-bottom:8px}.test-item-info strong{display:block;font-size:.95rem}.test-item-info p{margin:4px 0 0;font-size:.85rem;color:var(--text-muted, #78716c)}.test-meta{display:flex;gap:12px;margin-top:6px;font-size:.82rem;color:var(--text-secondary, #92400e)}.test-item .btn-primary{margin-left:auto;white-space:nowrap;padding:8px 18px;border:none;border-radius:8px;background:var(--honey, #f59e0b);color:#fff;font-weight:600;cursor:pointer;transition:all .2s}.test-item .btn-primary:hover{background:var(--honey-dark, #d97706);transform:scale(1.04)}.self-assess-section{margin-top:16px;padding-top:16px;border-top:1px dashed var(--border, #e5e7eb)}.self-assess-section h4{margin:0 0 6px;font-size:.95rem}.self-assess-hint{font-size:.88rem;color:var(--text-muted, #78716c);margin:0 0 12px}.btn-outline{background:none;border:2px dashed var(--honey, #f59e0b);color:var(--honey-dark, #b45309);border-radius:8px;padding:8px 16px;cursor:pointer;font-weight:600;transition:all .2s}.btn-outline:hover{background:var(--honey-light, #fef3c7)}.level-options{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px;margin-bottom:14px}.level-option{display:flex;flex-direction:column;align-items:center;gap:4px;padding:14px;border:2px solid var(--border, #d1d5db);border-radius:12px;cursor:pointer;text-align:center;transition:all .2s;background:var(--card-bg, #fff)}.level-option:hover{border-color:var(--lvl-color, #f59e0b);background:#f59e0b0d}.level-option.selected{border-color:var(--lvl-color, #f59e0b);background:#f59e0b1f;box-shadow:0 0 0 3px #f59e0b26}.level-option input[type=radio]{display:none}.level-icon{font-size:1.6rem}.level-name{font-weight:700;font-size:.95rem}.level-code{font-size:.82rem;color:var(--text-muted, #78716c);font-weight:600}.level-desc{font-size:.78rem;color:var(--text-muted, #9ca3af);margin-top:4px}.self-assess-actions{display:flex;gap:10px}.self-assess-actions .btn-primary,.self-assess-actions .btn-secondary{padding:8px 18px;border:none;border-radius:8px;cursor:pointer;font-weight:600;transition:all .2s}.self-assess-actions .btn-primary{background:var(--honey, #f59e0b);color:#fff}.self-assess-actions .btn-secondary{background:var(--gray-light, #e5e7eb);color:var(--text-primary, #1f2937)}.cat-attempts{margin-top:16px;padding-top:12px;border-top:1px solid var(--border, #e5e7eb)}.cat-attempts h4{margin:0 0 10px;font-size:.92rem}.attempt-item{display:flex;align-items:center;gap:14px;padding:8px 0;font-size:.9rem}.attempt-score{font-weight:700}.attempt-level{font-weight:600}.attempt-date{color:var(--text-muted, #78716c);font-size:.82rem}.test-in-progress{max-width:720px;margin:0 auto}.test-header-bar{display:flex;align-items:center;gap:16px;margin-bottom:12px;flex-wrap:wrap}.test-header-bar h2{margin:0;font-size:1.2rem;flex:1}.test-timer{font-size:1.3rem;font-weight:700;color:var(--honey-dark, #b45309);background:var(--honey-light, #fef3c7);padding:6px 14px;border-radius:8px}.test-timer.urgent{color:#dc2626;background:#fee2e2;animation:pulse 1s ease infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.6}}.test-progress-info{font-size:.88rem;color:var(--text-muted, #78716c)}.test-progress-bar{width:100%;height:6px;background:var(--border, #e5e7eb);border-radius:3px;margin-bottom:24px;overflow:hidden}.test-progress-fill{height:100%;background:var(--honey, #f59e0b);border-radius:3px;transition:width .3s ease}.test-question-card{background:var(--card-bg, #fff);border:1px solid var(--border, #e5e7eb);border-radius:16px;padding:28px;margin-bottom:20px;box-shadow:0 2px 12px #0000000a}.question-header{display:flex;align-items:center;gap:10px;margin-bottom:16px}.question-number{font-weight:700;font-size:.9rem;color:var(--honey, #f59e0b)}.question-points{font-size:.82rem;color:var(--text-muted, #78716c);margin-left:auto}.question-difficulty{font-size:.75rem;padding:2px 8px;border-radius:10px;font-weight:600}.question-difficulty.easy{background:#d1fae5;color:#065f46}.question-difficulty.medium{background:#fef3c7;color:#92400e}.question-difficulty.hard{background:#fee2e2;color:#991b1b}.question-text{font-size:1.1rem;margin:0 0 20px;line-height:1.5}.question-options{display:flex;flex-direction:column;gap:10px}.option-label{display:flex;align-items:center;gap:12px;padding:12px 16px;border:2px solid var(--border, #d1d5db);border-radius:10px;cursor:pointer;transition:all .2s}.option-label:hover{border-color:var(--honey, #f59e0b);background:#f59e0b0a}.option-label.selected{border-color:var(--honey, #f59e0b);background:#f59e0b1a}.option-label input[type=radio]{display:none}.option-marker{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:var(--honey-light, #fef3c7);color:var(--honey-dark, #b45309);font-weight:700;font-size:.9rem;flex-shrink:0}.option-label.selected .option-marker{background:var(--honey, #f59e0b);color:#fff}.option-text{font-size:.95rem}.question-text-input input{width:100%;padding:12px 16px;border:2px solid var(--border, #d1d5db);border-radius:10px;font-size:1rem;background:var(--input-bg, #fff);color:var(--text-primary, #1f2937);box-sizing:border-box}.question-text-input input:focus{outline:none;border-color:var(--honey, #f59e0b);box-shadow:0 0 0 3px #f59e0b26}.test-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.test-navigation .btn-primary,.test-navigation .btn-secondary{padding:10px 20px;border:none;border-radius:8px;cursor:pointer;font-weight:600;transition:all .2s;font-size:.95rem}.test-navigation .btn-primary{background:var(--honey, #f59e0b);color:#fff}.test-navigation .btn-secondary{background:var(--gray-light, #e5e7eb);color:var(--text-primary, #1f2937)}.test-navigation .btn-primary:disabled,.test-navigation .btn-secondary:disabled{opacity:.5;cursor:not-allowed}.submit-btn{background:#22c55e!important}.submit-btn:hover{background:#16a34a!important}.question-dots{display:flex;gap:6px;flex-wrap:wrap;justify-content:center}.q-dot{width:14px;height:14px;border-radius:50%;border:2px solid var(--border, #d1d5db);background:var(--card-bg, #fff);cursor:pointer;padding:0;transition:all .2s}.q-dot.active{border-color:var(--honey, #f59e0b);box-shadow:0 0 0 3px #f59e0b33}.q-dot.answered{background:var(--honey, #f59e0b);border-color:var(--honey, #f59e0b)}.test-result-card{max-width:480px;margin:0 auto;text-align:center;background:var(--card-bg, #fff);border:1px solid var(--border, #e5e7eb);border-radius:20px;padding:40px 32px;box-shadow:0 4px 24px #0000000f}.result-icon{font-size:3.5rem;margin-bottom:12px}.result-icon.passed{animation:bounceIn .5s ease}@keyframes bounceIn{0%{transform:scale(.3);opacity:0}50%{transform:scale(1.1)}to{transform:scale(1);opacity:1}}.test-result-card h2{margin:0 0 4px;font-size:1.5rem}.result-subtitle{color:var(--text-muted, #78716c);margin:0 0 24px}.result-score-circle{position:relative;width:120px;height:120px;margin:0 auto 24px}.result-score-circle svg{width:100%;height:100%;transform:rotate(-90deg)}.score-bg{fill:none;stroke:var(--border, #e5e7eb);stroke-width:8}.score-fill{fill:none;stroke-width:8;stroke-linecap:round;transition:stroke-dashoffset 1s ease}.score-fill.passed{stroke:#22c55e}.score-fill.failed{stroke:#f59e0b}.score-text{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:1.8rem;font-weight:800;color:var(--text-primary, #1f2937)}.result-details{display:flex;flex-direction:column;gap:10px;margin-bottom:24px}.result-stat{display:flex;justify-content:space-between;padding:8px 16px;background:var(--honey-light, #fef3c7);border-radius:8px}.result-stat.level{background:#f59e0b14}.result-stat .label{font-size:.9rem;color:var(--text-secondary, #78350f)}.result-stat .value{font-weight:700}.result-actions{display:flex;gap:10px;justify-content:center}.result-actions .btn-primary,.result-actions .btn-secondary{padding:10px 22px;border:none;border-radius:8px;cursor:pointer;font-weight:600;transition:all .2s}.result-actions .btn-primary{background:var(--honey, #f59e0b);color:#fff}.result-actions .btn-secondary{background:var(--gray-light, #e5e7eb);color:var(--text-primary, #1f2937)}[data-theme=dark] .placement-header h1,[data-theme=dark] .test-header-bar h2{color:var(--text-primary, #e5e7eb)}[data-theme=dark] .category-test-card{background:var(--card-bg, #1f2937);border-color:var(--border, #374151)}[data-theme=dark] .test-item{background:#f59e0b14}[data-theme=dark] .proficiency-card{background:var(--card-bg, #1f2937)}[data-theme=dark] .test-question-card{background:var(--card-bg, #1f2937);border-color:var(--border, #374151)}[data-theme=dark] .option-label{border-color:var(--border, #374151)}[data-theme=dark] .option-marker{background:#f59e0b33}[data-theme=dark] .question-text-input input{background:var(--input-bg, #111827);border-color:var(--border, #374151);color:var(--text-primary, #e5e7eb)}[data-theme=dark] .level-option,[data-theme=dark] .test-result-card{background:var(--card-bg, #1f2937);border-color:var(--border, #374151)}[data-theme=dark] .result-stat{background:#f59e0b1a}[data-theme=dark] .q-dot{border-color:var(--border, #374151);background:var(--card-bg, #1f2937)}[data-theme=dark] .btn-back{color:var(--text-primary, #e5e7eb);border-color:var(--border, #374151)}[data-theme=dark] .btn-back:hover{background:#f59e0b1f}@media(max-width:640px){.placement-test-view,.category-test-card{padding:16px}.test-item{flex-direction:column;align-items:flex-start}.test-item .btn-primary{margin-left:0;width:100%}.level-options{grid-template-columns:1fr 1fr}.test-navigation{flex-direction:column}.question-dots{order:-1;width:100%}}.groups-modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1500;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.groups-modal{background:#fff;border-radius:16px;width:90%;max-width:900px;max-height:85vh;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 25px 50px #00000040}.groups-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #e5e7eb;background:linear-gradient(135deg,#f59e0b,#d97706)}.groups-header h2{margin:0;color:#fff;font-size:1.3rem}.groups-header .close-btn{background:#fff3;border:none;width:32px;height:32px;border-radius:50%;color:#fff;cursor:pointer;font-size:1.2rem;transition:background .2s}.groups-header .close-btn:hover{background:#ffffff4d}.groups-loading{padding:60px;text-align:center;color:#6b7280}.groups-content{display:flex;flex:1;min-height:0}.groups-list{width:280px;border-right:1px solid #e5e7eb;padding:16px;overflow-y:auto;background:#f9fafb}.create-group-btn{width:100%;padding:12px;background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;border:none;border-radius:10px;font-weight:600;cursor:pointer;margin-bottom:16px;transition:transform .2s,box-shadow .2s}.create-group-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #f59e0b4d}.no-groups{text-align:center;color:#9ca3af;font-size:.9rem;padding:20px}.group-item{display:flex;align-items:center;gap:12px;padding:12px;background:#fff;border-radius:10px;margin-bottom:8px;cursor:pointer;transition:all .2s;border:2px solid transparent}.group-item:hover{transform:translate(4px)}.group-item.active{border-color:#f59e0b;background:#f0f4ff}.group-color{width:12px;height:40px;border-radius:6px}.group-info{flex:1}.group-name{display:block;font-weight:600;color:#1f2937}.group-count{display:block;font-size:.8rem;color:#6b7280}.select-btn{background:#22c55e;color:#fff;border:none;padding:6px 12px;border-radius:6px;font-size:.8rem;cursor:pointer}.groups-detail{flex:1;padding:24px;overflow-y:auto}.no-selection{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:#9ca3af}.no-selection .icon{font-size:4rem;margin-bottom:16px}.create-form{max-width:500px}.create-form h3{margin:0 0 20px;color:#1f2937}.form-error{background:#fef2f2;color:#dc2626;padding:12px;border-radius:8px;margin-bottom:16px}.form-group{margin-bottom:16px}.form-group label{display:block;font-weight:500;color:#374151;margin-bottom:6px}.form-group input,.form-group textarea{width:100%;padding:10px 12px;border:1px solid #d1d5db;border-radius:8px;font-size:1rem}.form-group input:focus,.form-group textarea:focus{outline:none;border-color:#f59e0b;box-shadow:0 0 0 3px #f59e0b1a}.color-picker{display:flex;gap:8px;flex-wrap:wrap}.color-option{width:32px;height:32px;border-radius:8px;border:3px solid transparent;cursor:pointer;transition:transform .2s}.color-option:hover{transform:scale(1.1)}.color-option.selected{border-color:#1f2937}.students-selection{max-height:200px;overflow-y:auto;border:1px solid #e5e7eb;border-radius:8px;padding:12px}.student-checkbox{display:flex;align-items:center;gap:10px;padding:8px;cursor:pointer;border-radius:6px;transition:background .2s}.student-checkbox:hover{background:#f3f4f6}.student-checkbox input{width:18px;height:18px;cursor:pointer}.form-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:24px}.form-actions button{padding:10px 20px;border-radius:8px;font-weight:500;cursor:pointer;transition:all .2s}.form-actions button:first-child{background:#e5e7eb;border:none;color:#4b5563}.form-actions button.primary{background:linear-gradient(135deg,#f59e0b,#d97706);border:none;color:#fff}.form-actions button.primary:hover{transform:translateY(-2px);box-shadow:0 4px 12px #f59e0b4d}.group-details{display:flex;flex-direction:column;gap:24px}.group-header{border-left:4px solid;padding-left:16px}.group-header h3{margin:0 0 8px;font-size:1.4rem;color:#1f2937}.group-header p{margin:0;color:#6b7280}.delete-group-btn{margin-top:12px;background:#fef2f2;color:#dc2626;border:none;padding:8px 16px;border-radius:8px;cursor:pointer;font-size:.9rem}.delete-group-btn:hover{background:#fee2e2}.group-members h4,.add-members h4{margin:0 0 12px;color:#374151}.no-members{color:#9ca3af;text-align:center;padding:20px}.members-list{display:flex;flex-direction:column;gap:8px}.member-item{display:flex;align-items:center;gap:12px;padding:12px;background:#f9fafb;border-radius:10px}.member-avatar{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:.9rem}.member-info{flex:1}.member-name{display:block;font-weight:500;color:#1f2937}.member-email{display:block;font-size:.85rem;color:#6b7280}.remove-member{background:#fee2e2;color:#dc2626;border:none;width:28px;height:28px;border-radius:6px;cursor:pointer;transition:background .2s}.remove-member:hover{background:#fecaca}.available-students{display:flex;flex-wrap:wrap;gap:8px}.add-student-btn{background:#e0f2fe;color:#0369a1;border:none;padding:8px 16px;border-radius:20px;cursor:pointer;font-size:.9rem;transition:all .2s}.add-student-btn:hover{background:#bae6fd}@media(max-width:768px){.groups-modal{width:95%;max-height:90vh}.groups-content{flex-direction:column}.groups-list{width:100%;border-right:none;border-bottom:1px solid #e5e7eb;max-height:200px}}.burger-button{display:flex;flex-direction:column;justify-content:center;align-items:center;width:44px;height:44px;background:transparent;border:none;cursor:pointer;padding:8px;z-index:1502;position:relative;border-radius:8px;transition:background-color .2s}.burger-button:hover{background:#ffffff26}.burger-line{display:block;width:24px;height:3px;background:#fff;border-radius:2px;transition:all .3s ease;margin:2px 0}.burger-button.open .burger-line:nth-child(1){transform:rotate(45deg) translate(5px,5px)}.burger-button.open .burger-line:nth-child(2){opacity:0;transform:translate(-10px)}.burger-button.open .burger-line:nth-child(3){transform:rotate(-45deg) translate(5px,-5px)}.menu-overlay{position:fixed;inset:0;background:#00000080;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);opacity:0;visibility:hidden;transition:all .3s ease;z-index:1500;pointer-events:none}.menu-overlay.visible{opacity:1;visibility:visible;pointer-events:auto}.side-menu{position:fixed;top:0;right:0;width:300px;max-width:85vw;height:100vh;background:linear-gradient(180deg,#1e293b,#0f172a);box-shadow:-4px 0 20px #0000004d;transform:translate(100%);transition:transform .3s cubic-bezier(.4,0,.2,1);z-index:1501;display:flex;flex-direction:column;overflow:hidden}.side-menu.open{transform:translate(0)}.side-menu:before{content:"";position:absolute;inset:0;background-image:radial-gradient(circle at 50% 50%,rgba(245,158,11,.03) 0%,transparent 50%);background-size:60px 52px;pointer-events:none;z-index:0}.menu-header{padding:24px 20px;background:linear-gradient(135deg,#f59e0b,#d97706);border-bottom:1px solid rgba(255,255,255,.1);position:relative;overflow:hidden}.menu-header:after{content:"";position:absolute;bottom:0;left:0;right:0;height:2px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.15),transparent)}.user-info{display:flex;align-items:center;gap:12px;position:relative}.user-avatar{width:50px;height:50px;border-radius:50%;background:#fff3;display:flex;align-items:center;justify-content:center;font-size:1.2rem;font-weight:600;color:#fff;overflow:hidden;border:2px solid rgba(255,255,255,.3)}.user-avatar img{width:100%;height:100%;object-fit:cover}.user-details{flex:1;min-width:0}.user-name{display:block;font-weight:600;font-size:1.1rem;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-role{display:block;font-size:.85rem;color:#fffc;margin-top:2px}.notification-badge{position:absolute;top:0;right:0;background:#ef4444;color:#fff;font-size:.75rem;font-weight:600;padding:2px 6px;border-radius:10px;min-width:20px;text-align:center}.guest-header{text-align:center;color:#fff}.guest-header h2{margin:0 0 8px;font-size:1.3rem}.guest-header p{margin:0;font-size:.9rem;opacity:.8}.menu-content{flex:1;overflow-y:auto;padding:16px 0;position:relative;z-index:1}.menu-section{margin-bottom:8px}.section-title{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:#64748b;padding:8px 20px;margin:0;position:relative}.section-title:before{content:"⬡";margin-right:6px;font-size:.7rem;color:#f59e0b;opacity:.6}.menu-list{list-style:none;padding:0;margin:0}.menu-item{display:flex;align-items:center;gap:12px;width:100%;padding:14px 20px;background:transparent;border:none;color:#e2e8f0;font-size:1rem;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);text-align:left;position:relative;overflow:hidden}.menu-item:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent 0%,rgba(245,158,11,.08) 40%,rgba(245,158,11,.15) 50%,rgba(245,158,11,.08) 60%,transparent 100%);transition:left .5s ease;pointer-events:none}.menu-item:hover:before{left:100%}.menu-item:hover{background:#f59e0b1a;color:#fff;transform:translate(6px)}.menu-item:active{background:#f59e0b2e;transform:translate(3px)}.menu-item.active{background:linear-gradient(90deg,#f59e0b4d,#f59e0b1a);color:#fff;border-left:3px solid #f59e0b;padding-left:17px}.menu-item.active .menu-icon{transform:scale(1.15);animation:activeBuzz .4s ease-out}@keyframes activeBuzz{0%{transform:scale(1.15) rotate(0)}25%{transform:scale(1.15) rotate(8deg)}50%{transform:scale(1.15) rotate(-8deg)}75%{transform:scale(1.15) rotate(4deg)}to{transform:scale(1.15) rotate(0)}}.menu-item.logout{color:#f87171}.menu-item.logout:hover{background:#f8717126;color:#fca5a5;transform:translate(6px)}.menu-icon{font-size:1.3rem;width:28px;text-align:center;transition:transform .3s ease;font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",Segoe UI Symbol,sans-serif}.menu-item-emoji{display:inline-block;line-height:1;font-variant-emoji:emoji}.menu-item:hover .menu-icon{animation:beeWiggle .5s ease-in-out}@keyframes beeWiggle{0%{transform:rotate(0) scale(1)}20%{transform:rotate(-12deg) scale(1.15)}40%{transform:rotate(10deg) scale(1.1)}60%{transform:rotate(-6deg) scale(1.05)}80%{transform:rotate(4deg) scale(1.02)}to{transform:rotate(0) scale(1)}}.menu-label{flex:1}.item-badge{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;font-size:.75rem;font-weight:600;padding:2px 8px;border-radius:10px;animation:badgePulse 2s ease-in-out infinite}@keyframes badgePulse{0%,to{box-shadow:0 0 #f59e0b4d}50%{box-shadow:0 0 0 4px #f59e0b00}}.auth-section{padding:20px;display:flex;flex-direction:column;gap:12px}.btn-auth{padding:14px 20px;border-radius:10px;font-size:1rem;font-weight:500;cursor:pointer;border:none;transition:all .2s;display:flex;align-items:center;justify-content:center;gap:8px}.btn-auth.login{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff}.btn-auth.login:hover{transform:translateY(-2px);box-shadow:0 4px 12px #f59e0b66}.btn-auth.register{background:#ffffff1a;color:#fff;border:1px solid rgba(255,255,255,.2)}.btn-auth.register:hover{background:#ffffff26}.menu-footer{padding:16px 20px;border-top:1px solid rgba(255,255,255,.1);text-align:center;position:relative;z-index:1}.menu-footer p{margin:0;font-size:.8rem;color:#64748b}.side-menu.open .menu-item{animation:menuItemSlideIn .35s ease-out both}.side-menu.open .menu-section:nth-child(1) .menu-item:nth-child(1){animation-delay:.05s}.side-menu.open .menu-section:nth-child(1) .menu-item:nth-child(2){animation-delay:.08s}.side-menu.open .menu-section:nth-child(1) .menu-item:nth-child(3){animation-delay:.11s}.side-menu.open .menu-section:nth-child(2) .menu-item:nth-child(1){animation-delay:.14s}.side-menu.open .menu-section:nth-child(2) .menu-item:nth-child(2){animation-delay:.17s}.side-menu.open .menu-section:nth-child(2) .menu-item:nth-child(3){animation-delay:.2s}.side-menu.open .menu-section:nth-child(2) .menu-item:nth-child(4){animation-delay:.23s}.side-menu.open .menu-section:nth-child(2) .menu-item:nth-child(5){animation-delay:.26s}.side-menu.open .menu-section:nth-child(3) .menu-item:nth-child(1){animation-delay:.29s}.side-menu.open .menu-section:nth-child(3) .menu-item:nth-child(2){animation-delay:.32s}.side-menu.open .menu-section:nth-child(3) .menu-item:nth-child(3){animation-delay:.35s}.side-menu.open .menu-section:nth-child(4) .menu-item:nth-child(1){animation-delay:.38s}.side-menu.open .menu-section:nth-child(4) .menu-item:nth-child(2){animation-delay:.41s}.side-menu.open .menu-section:nth-child(5) .menu-item:nth-child(1){animation-delay:.44s}.side-menu.open .menu-section:nth-child(5) .menu-item:nth-child(2){animation-delay:.47s}@keyframes menuItemSlideIn{0%{opacity:0;transform:translate(20px)}to{opacity:1;transform:translate(0)}}@media(max-width:480px){.side-menu{width:100%;max-width:100%}}.menu-content::-webkit-scrollbar{width:6px}.menu-content::-webkit-scrollbar-track{background:transparent}.menu-content::-webkit-scrollbar-thumb{background:#fff3;border-radius:3px}.menu-content::-webkit-scrollbar-thumb:hover{background:#ffffff4d}.avatar{display:inline-grid;place-items:center;background:var(--amber-100, #fef3c7);color:var(--amber-800, #92400e);font-family:var(--font-display);font-weight:700;overflow:hidden;flex-shrink:0;padding:0;border:0;position:relative}.avatar img{width:100%;height:100%;object-fit:cover;display:block}.avatar__initials{letter-spacing:-.02em;line-height:1}.avatar--round{border-radius:50%}.avatar--xs{width:24px;height:24px;font-size:10px;min-height:auto}.avatar--sm{width:32px;height:32px;font-size:12px;min-height:auto}.avatar--md{width:40px;height:40px;font-size:14px;min-height:auto}.avatar--lg{width:64px;height:64px;font-size:22px;min-height:auto}.avatar--xl{width:120px;height:120px;font-size:40px;min-height:auto}.avatar--clickable{cursor:pointer;transition:transform var(--motion-fast) var(--ease-standard)}.avatar--clickable:hover{transform:translateY(-1px)}.avatar--clickable:focus-visible{outline:none;box-shadow:var(--focus-ring)}.avatar-stack{display:inline-flex;align-items:center}.avatar-stack>.avatar{box-shadow:0 0 0 2px var(--bg-color)}.avatar-stack>.avatar+.avatar,.avatar-stack>.avatar-stack__overflow{margin-left:-10px}.avatar-stack__overflow{background:var(--amber-50, #fffbeb);color:var(--amber-800, #92400e)}.landing-page{position:relative;min-height:calc(100vh - 64px);padding-bottom:var(--space-8, 2rem);overflow-x:hidden;background:var(--bg-color);border-radius:var(--radius-lg, 12px)}.landing-page:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 8% 8%,rgba(245,158,11,.2) 0 24%,transparent 40%),radial-gradient(circle at 90% 20%,rgba(217,119,6,.18) 0 20%,transparent 36%),radial-gradient(circle at 40% 92%,rgba(120,53,15,.12) 0 22%,transparent 38%);pointer-events:none;z-index:0}.hero,.features,.pricing,.cta,.how-it-works,.social-proof,.faq-preview,.trial-cta{position:relative;z-index:1}.hero{width:min(1120px,92vw);margin:0 auto;padding:var(--space-12) var(--space-6) var(--space-4);display:grid;grid-template-columns:1.25fr .75fr;grid-template-rows:auto auto;align-items:center;gap:var(--space-6) var(--space-8)}.hero-content{grid-column:1;grid-row:1}.hero-content h1{font-family:var(--font-display);font-size:clamp(2.3rem,6vw,4.3rem);line-height:1.08;letter-spacing:-.02em;color:var(--text-primary);margin-bottom:var(--space-4)}.hero-subtitle{max-width:60ch;font-size:clamp(1.03rem,2.3vw,1.25rem);color:var(--text-secondary);line-height:1.7;margin-bottom:var(--space-3)}.hero-trigger{font-size:.92rem;color:var(--text-muted);margin-bottom:var(--space-5);display:flex;align-items:center;gap:var(--space-2)}.hero-trigger:before{content:"✓";color:#16a34a;font-weight:700}.hero-buttons{display:flex;flex-wrap:wrap;gap:var(--space-3)}.hero-image{grid-column:2;grid-row:1;display:flex;justify-content:center}.hero-illustration{position:relative;display:grid;place-items:center;width:clamp(180px,25vw,280px);height:clamp(180px,25vw,280px);border-radius:40% 60% 55% 45%/48% 35% 65% 52%;background:radial-gradient(circle at 26% 28%,#ffffffe6,#fff0 44%),linear-gradient(135deg,#ffd687,#f59e0b 55%,#b45309);box-shadow:0 18px 44px #78350f38,inset 0 0 0 1px #ffffff61;animation:beeOrbDrift 4.8s var(--ease-smooth) infinite alternate}.hero-emoji-main{font-size:clamp(4.5rem,10vw,7.5rem);z-index:1}.hero-emoji-book,.hero-emoji-star,.hero-emoji-grad{position:absolute;font-size:clamp(1.4rem,3vw,2rem);animation:floatEmoji 3.5s ease-in-out infinite alternate}.hero-emoji-book{top:8%;left:-10%;animation-delay:0s}.hero-emoji-star{top:-5%;right:5%;animation-delay:.8s}.hero-emoji-grad{bottom:5%;right:-12%;animation-delay:1.6s}@keyframes beeOrbDrift{0%{transform:translateY(0) rotate(-1deg)}to{transform:translateY(-12px) rotate(2deg)}}@keyframes floatEmoji{0%{transform:translateY(0) scale(1)}to{transform:translateY(-8px) scale(1.08)}}.hero-stats{grid-column:1 / -1;grid-row:2;display:flex;justify-content:center;gap:var(--space-6);padding:var(--space-5) 0}.hero-stat{display:flex;flex-direction:column;align-items:center;gap:var(--space-1)}.hero-stat-number{font-family:var(--font-display);font-size:clamp(1.5rem,3.5vw,2.2rem);font-weight:800;color:var(--primary-dark, #d97706);letter-spacing:-.01em}.hero-stat-label{font-size:.82rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:.06em;font-weight:600}.landing-page .btn-primary,.landing-page .btn-secondary,.landing-page .select-plan-btn{min-height:46px;border-radius:var(--radius-md);font-weight:700;font-size:.98rem;letter-spacing:.01em;cursor:pointer;transition:transform var(--motion-fast) var(--ease-smooth),box-shadow var(--motion-fast) var(--ease-smooth),background-color var(--motion-fast) var(--ease-smooth),color var(--motion-fast) var(--ease-smooth),border-color var(--motion-fast) var(--ease-smooth)}.landing-page .btn-primary{border:1px solid rgba(146,64,14,.08);background:linear-gradient(135deg,var(--primary-color),var(--primary-dark));color:#fff9f1;box-shadow:0 16px 28px #92400e3d;padding:.8rem 1.55rem}.landing-page .btn-primary:hover{transform:translateY(-2px);box-shadow:0 22px 36px #92400e4d}.landing-page .btn-secondary{border:1px solid color-mix(in srgb,var(--primary-color) 45%,#ffffff);background:#fff8eca6;color:#7c330d;padding:.8rem 1.55rem}.landing-page .btn-secondary:hover{transform:translateY(-2px);background:#fff1d6eb}.landing-page .btn-primary.large{padding:.95rem 2rem;font-size:1.03rem}.how-it-works{width:min(1120px,92vw);margin:0 auto;padding:var(--space-9) var(--space-6)}.how-it-works h2,.social-proof h2,.faq-preview h2,.trial-cta h2{font-family:var(--font-display);font-size:clamp(1.75rem,4.2vw,2.7rem);color:var(--text-primary);text-align:center;line-height:1.12;margin-bottom:var(--space-3)}.section-subtitle{text-align:center;color:var(--text-secondary);max-width:60ch;margin:0 auto var(--space-7);line-height:1.6}.steps-grid{display:flex;align-items:flex-start;justify-content:center;gap:0}.step-card{flex:0 1 280px;text-align:center;padding:var(--space-5)}.step-number{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,var(--primary-color),var(--primary-dark));color:#fff;font-family:var(--font-display);font-size:1.2rem;font-weight:800;margin-bottom:var(--space-3);box-shadow:0 8px 20px #92400e33}.step-icon{width:56px;display:grid;place-items:center;background:var(--amber-100, #fef3c7);color:var(--amber-800, #92400e);margin:0 auto var(--space-3);min-height:56px}.step-icon>svg{display:block}.step-card h3{font-size:1.1rem;color:var(--text-primary);margin-bottom:var(--space-2)}.step-card p{font-size:.92rem;color:var(--text-secondary);line-height:1.6}.step-connector{flex:0 0 60px;height:2px;background:linear-gradient(90deg,var(--primary-color),var(--primary-dark));margin-top:52px;border-radius:1px;opacity:.5}.social-proof{width:min(1120px,92vw);margin:0 auto;padding:var(--space-9) var(--space-6)}.trust-badges{display:flex;justify-content:center;flex-wrap:wrap;gap:var(--space-4);margin-bottom:var(--space-8)}.trust-badge{display:flex;align-items:center;gap:var(--space-2);padding:var(--space-2) var(--space-4);border-radius:var(--radius-md);background:#fff8ecb3;border:1px solid rgba(186,124,32,.15);font-size:.9rem;font-weight:600;color:var(--text-primary)}.trust-icon{display:inline-grid;place-items:center;color:var(--amber-800, #92400e);flex-shrink:0}.trust-icon>svg{display:block}.testimonials-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-4)}.testimonial-card{border-radius:var(--radius-lg);padding:var(--space-5);background:linear-gradient(180deg,#fffffff2,#fff8ece6);border:1px solid rgba(186,124,32,.14);box-shadow:0 10px 24px #78350f14;display:flex;flex-direction:column;gap:var(--space-4)}.testimonial-text{font-size:.95rem;line-height:1.7;color:var(--text-secondary);font-style:italic;flex:1}.testimonial-author{display:flex;align-items:center;gap:var(--space-3)}.testimonial-avatar{font-size:2rem}.testimonial-name{display:block;font-weight:700;color:var(--text-primary);font-size:.9rem}.testimonial-subject{display:block;font-size:.8rem;color:var(--text-muted)}.features{width:min(1120px,92vw);margin:0 auto;padding:var(--space-9) var(--space-6)}.features h2,.pricing h2,.cta h2{font-family:var(--font-display);font-size:clamp(1.75rem,4.2vw,2.7rem);color:var(--text-primary);text-align:center;line-height:1.12}.features h2,.pricing h2{margin-bottom:var(--space-3)}.features .section-subtitle{margin-bottom:var(--space-6)}.features-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-4)}.feature-card{border-radius:var(--radius-lg);padding:var(--space-5);background:linear-gradient(180deg,#ffffffeb,#fff4dfd9);border:1px solid rgba(186,124,32,.18);box-shadow:0 12px 28px #78350f1a;transition:transform var(--motion-normal) var(--ease-smooth),box-shadow var(--motion-normal) var(--ease-smooth)}.feature-card:hover{transform:translateY(-4px);box-shadow:0 20px 34px #78350f29}.feature-icon{width:56px;display:grid;place-items:center;background:var(--amber-100, #fef3c7);color:var(--amber-800, #92400e);margin-bottom:var(--space-3);min-height:56px}.feature-icon>svg{display:block}.feature-card h3{margin-bottom:var(--space-2);color:var(--text-primary)}.feature-card p{color:var(--text-secondary);line-height:1.62;font-size:.92rem}.pricing{width:min(1120px,92vw);margin:0 auto;padding:var(--space-9) var(--space-6)}.pricing-subtitle{text-align:center;color:var(--text-muted);margin-bottom:var(--space-7)}.pricing-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:var(--space-4)}.pricing-card{position:relative;border-radius:var(--radius-lg);border:1px solid rgba(176,120,38,.2);background:linear-gradient(180deg,#fffffff5,#fff7e5eb);box-shadow:0 15px 30px #78350f1c;padding:var(--space-5);transition:transform var(--motion-normal) var(--ease-smooth),box-shadow var(--motion-normal) var(--ease-smooth)}.pricing-card:hover{transform:translateY(-4px);box-shadow:0 24px 38px #78350f33}.pricing-card.popular{border-color:color-mix(in srgb,var(--primary-color) 60%,#ffffff);box-shadow:0 22px 42px #92400e38}.pricing-card.selected{border-color:#16a34a}.popular-badge{position:absolute;top:-11px;left:50%;transform:translate(-50%);padding:.34rem .95rem;border-radius:999px;font-size:.74rem;font-weight:700;background:linear-gradient(135deg,#f59e0b,#b45309);color:#fff7ea}.pricing-card h3{margin-top:var(--space-3);margin-bottom:var(--space-2);color:var(--text-primary)}.price{margin-bottom:var(--space-1)}.price .amount{font-family:var(--font-display);font-size:clamp(2rem,4.6vw,2.8rem);color:#8f3f0d}.price .currency{font-size:1rem;margin-left:.2rem;color:var(--text-secondary)}.duration,.plan-description{color:var(--text-secondary)}.plan-description{margin:var(--space-2) 0 var(--space-3)}.features-list{margin:0 0 var(--space-4);padding:0;list-style:none}.features-list li{padding:.52rem 0;border-bottom:1px dashed rgba(156,107,34,.24);color:#6d4c1f}.features-list li:last-child{border-bottom:0}.select-plan-btn{width:100%;border:1px solid rgba(146,64,14,.1);background:linear-gradient(135deg,var(--primary-color),var(--primary-dark));color:#fff9f2;padding:.78rem 1rem}.select-plan-btn:hover{transform:translateY(-2px)}.pricing-guarantee{text-align:center;color:var(--text-muted);font-size:.85rem;margin-top:var(--space-5)}.loading,.no-plans{text-align:center;padding:var(--space-8);color:var(--text-secondary)}.email-modal-overlay{position:fixed;inset:0;z-index:1000;background:#291a0a9e;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);display:grid;place-items:center;padding:var(--space-4)}.email-modal{width:min(480px,92vw);border-radius:var(--radius-lg);padding:var(--space-6);background:linear-gradient(180deg,#fffffff7,#fff7e5f2);border:1px solid rgba(176,120,38,.22);box-shadow:0 22px 48px #1a10054d}.email-modal h3{margin-bottom:var(--space-2);color:var(--text-primary)}.email-modal p,.register-hint{color:var(--text-secondary)}.email-modal .hint{margin-bottom:var(--space-4)}.email-modal .error-msg{margin-bottom:var(--space-3);background:#fff0ef;border:1px solid #feb7ae;color:#a9261d;border-radius:var(--radius-sm);padding:.7rem}.email-modal input{width:100%;min-height:46px;margin-bottom:var(--space-3);border-radius:var(--radius-sm);border:1px solid rgba(156,107,34,.35);background:#fffcf7;padding:.75rem .86rem}.email-modal input:focus{outline:none;border-color:var(--primary-color);box-shadow:var(--focus-ring)}.modal-buttons{display:flex;gap:var(--space-3);margin-bottom:var(--space-3)}.modal-buttons button{flex:1}.register-hint button{border:0;background:transparent;color:#8f3f0d;cursor:pointer;font-weight:700;text-decoration:underline}.faq-preview{width:min(800px,92vw);margin:0 auto;padding:var(--space-9) var(--space-6)}.faq-accordion{display:flex;flex-direction:column;gap:var(--space-2)}.faq-item{border-radius:var(--radius-md);border:1px solid rgba(186,124,32,.15);background:#fffcf5cc;overflow:hidden;transition:box-shadow var(--motion-fast) var(--ease-smooth)}.faq-item.open{box-shadow:0 8px 20px #78350f14}.faq-question{width:100%;display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);padding:var(--space-4);border:none;background:transparent;cursor:pointer;font-size:.98rem;font-weight:600;color:var(--text-primary);text-align:left;line-height:1.4}.faq-question:hover{background:#f59e0b0d}.faq-chevron{flex-shrink:0;font-size:1.3rem;font-weight:300;color:var(--primary-color);transition:transform var(--motion-fast) var(--ease-smooth)}.faq-answer{padding:0 var(--space-4) var(--space-4)}.faq-answer p{color:var(--text-secondary);line-height:1.7;font-size:.92rem}.trial-cta{width:min(1120px,92vw);margin:0 auto;padding:var(--space-6)}.trial-cta-content{text-align:center;padding:var(--space-8) var(--space-6);border-radius:var(--radius-lg);background:linear-gradient(135deg,#fff8ece6,#fff1d6d9);border:1px solid rgba(186,124,32,.18);box-shadow:0 12px 28px #78350f14}.trial-cta-icon{width:72px;display:grid;place-items:center;background:var(--amber-100, #fef3c7);color:var(--amber-800, #92400e);margin:0 auto var(--space-3);min-height:72px}.trial-cta-icon>svg{display:block}.trial-cta-content p{color:var(--text-secondary);max-width:50ch;margin:0 auto var(--space-5);line-height:1.6}.trial-cta-buttons{display:flex;justify-content:center;gap:var(--space-3)}.cta{width:min(1120px,92vw);margin:var(--space-4) auto 0;padding:var(--space-8) var(--space-6);border-radius:var(--radius-lg);text-align:center;background:radial-gradient(circle at 14% 18%,#ffffff42,#fff0 28%),linear-gradient(130deg,#f59e0b,#b45309 48%,#7c2d12);box-shadow:0 24px 44px #632b0c57}.cta h2{color:#fff7ed;margin-bottom:var(--space-3)}.cta p{color:#fff8ece6;margin-bottom:var(--space-2)}.cta-trigger{font-size:.88rem;color:#fff8ecb3!important;margin-bottom:var(--space-5)!important}.cta-buttons{display:flex;justify-content:center;gap:var(--space-3)}.cta .btn-primary{border-color:#ffffff4d;background:#fffffff5;color:#8f3f0d;box-shadow:0 16px 30px #2914074d}.cta .btn-secondary{border-color:#ffffff4d;background:#ffffff26;color:#fff7ed}.cta .btn-secondary:hover{background:#ffffff47}@media(max-width:980px){.hero{grid-template-columns:1fr;text-align:center;padding-top:var(--space-10)}.hero-content{grid-column:1}.hero-image{grid-column:1;grid-row:2}.hero-stats{grid-column:1;grid-row:3}.hero-subtitle,.hero-trigger{margin-left:auto;margin-right:auto;justify-content:center}.hero-buttons{justify-content:center}.features-grid,.testimonials-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.testimonials-grid .testimonial-card:last-child{grid-column:1 / -1;max-width:400px;margin:0 auto}.steps-grid{flex-wrap:wrap}.step-connector{display:none}.step-card{flex:0 1 250px}}@media(max-width:680px){.hero,.features,.pricing,.cta,.how-it-works,.social-proof,.faq-preview,.trial-cta{width:94vw;padding-left:var(--space-4);padding-right:var(--space-4)}.features-grid,.testimonials-grid{grid-template-columns:1fr}.testimonials-grid .testimonial-card:last-child{max-width:none}.hero-stats{flex-wrap:wrap;gap:var(--space-3)}.hero-stat{flex:0 0 calc(50% - var(--space-3))}.trust-badges,.cta-buttons{flex-direction:column;align-items:center}.cta-buttons .btn-primary,.cta-buttons .btn-secondary{width:100%;max-width:300px}.modal-buttons{flex-direction:column}.step-card{flex:1 1 100%}}.landing-page :is(button,input,select,textarea,a):focus-visible{outline:none;box-shadow:var(--focus-ring)}.pricing-card.selected{box-shadow:0 0 0 2px #16a34a59,0 20px 34px #78350f2e}@media(prefers-reduced-motion:reduce){.landing-page *,.landing-page *:before,.landing-page *:after{animation:none!important;transition-duration:.01ms!important}.landing-page .btn-primary:hover,.landing-page .btn-secondary:hover,.feature-card:hover,.pricing-card:hover,.select-plan-btn:hover,.hero-illustration{transform:none!important}}.static-page{min-height:100vh;background:var(--bg-primary);color:var(--text-primary)}.static-page-hero{background:linear-gradient(135deg,var(--color-primary) 0%,var(--color-primary-dark) 100%);color:#1a1100;padding:3rem 1.5rem 2.5rem;text-align:center;position:relative;overflow:hidden}.static-page-hero:before{content:"";position:absolute;inset:0;background:url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23000' fill-opacity='0.05'%3E%3Cpath d='M20 20a10 10 0 1 0 0-20 10 10 0 0 0 0 20zm0-18a8 8 0 1 1 0 16 8 8 0 0 1 0-16z'/%3E%3C/g%3E%3C/svg%3E")}.static-page-hero-inner{position:relative;max-width:760px;margin:0 auto}.static-page-badge{display:inline-block;background:#00000026;color:#1a1100;font-size:.75rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;padding:.25rem .75rem;border-radius:999px;margin-bottom:.75rem}.static-page-hero h1{font-family:var(--font-display, Fraunces, serif);font-size:2.25rem;font-weight:700;margin:0 0 .5rem;color:#1a1100}.static-page-hero p{font-size:1.05rem;opacity:.85;margin:0}.static-page-meta{font-size:.9rem;margin-top:.35rem}.static-page-body{max-width:820px;margin:0 auto;padding:2.5rem 1.5rem 4rem}.static-page-toc{background:var(--bg-secondary, var(--bg-primary));border:1px solid var(--border-color, rgba(245,158,11,.25));border-radius:var(--radius-lg, 12px);padding:1.25rem 1.5rem;margin-bottom:2.5rem}.static-page-toc h3{font-size:.9rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--color-primary, #f59e0b);margin:0 0 .75rem}.static-page-toc ol{margin:0;padding-left:1.25rem;display:flex;flex-direction:column;gap:.35rem}.static-page-toc a{color:var(--text-primary);text-decoration:none;font-size:.95rem;transition:color .15s}.static-page-toc a:hover{color:var(--color-primary, #f59e0b)}.static-section{margin-bottom:2.5rem;scroll-margin-top:1.5rem}.static-section h2{font-family:var(--font-display, Fraunces, serif);font-size:1.35rem;font-weight:700;color:var(--text-primary);padding-bottom:.5rem;border-bottom:2px solid var(--color-primary, #f59e0b);margin-bottom:1rem}.static-section-body{font-size:.97rem;line-height:1.7;color:var(--text-secondary)}.placeholder-content p{background:var(--bg-secondary, rgba(245,158,11,.06));border-left:3px solid var(--color-primary, #f59e0b);padding:.85rem 1rem;border-radius:0 var(--radius-md, 8px) var(--radius-md, 8px) 0;font-style:italic;color:var(--text-muted, #a8a29e);margin:0}.static-contact-box{background:linear-gradient(135deg,#f59e0b1a,#d977060d);border:1px solid rgba(245,158,11,.3);border-radius:var(--radius-lg, 12px);padding:1.5rem;margin-top:2.5rem}.static-contact-box h3{font-size:1rem;font-weight:700;margin:0 0 .5rem;color:var(--text-primary)}.static-contact-box p{color:var(--text-secondary);margin:0 0 .75rem;font-size:.95rem}.static-link{color:var(--color-primary, #f59e0b);font-weight:600;text-decoration:none}.static-link:hover{text-decoration:underline}.static-page-cta{text-align:center;padding:2rem 0;border-top:1px solid var(--border-color, rgba(245,158,11,.2));margin-top:2.5rem}.static-page-cta p{color:var(--text-secondary);margin-bottom:1rem}.faq-section{margin-bottom:2.5rem}.faq-section-title{font-family:var(--font-display, Fraunces, serif);font-size:1.2rem;font-weight:700;display:flex;align-items:center;gap:.5rem;color:var(--text-primary);margin-bottom:1rem}.faq-section-icon{font-size:1.3rem}.faq-list{display:flex;flex-direction:column;gap:.5rem}.faq-item{border:1px solid var(--border-color, rgba(245,158,11,.2));border-radius:var(--radius-md, 10px);overflow:hidden;transition:border-color .2s}.faq-item--open{border-color:var(--color-primary, #f59e0b)}.faq-question{width:100%;display:flex;justify-content:space-between;align-items:center;padding:.9rem 1.1rem;background:var(--bg-secondary, transparent);border:none;cursor:pointer;font-size:.97rem;font-weight:600;color:var(--text-primary);text-align:left;gap:.75rem;transition:background .15s}.faq-question:hover{background:#f59e0b12}.faq-chevron{font-size:.7rem;flex-shrink:0;color:var(--color-primary, #f59e0b)}.faq-answer{padding:0 1.1rem .9rem;border-top:1px solid var(--border-color, rgba(245,158,11,.15));background:var(--bg-primary)}.faq-answer p{margin:.75rem 0 0;font-size:.95rem;line-height:1.7;color:var(--text-secondary)}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:2rem;margin-bottom:2.5rem}@media(max-width:640px){.contact-grid{grid-template-columns:1fr}}.contact-details h2,.contact-form-panel h2{font-family:var(--font-display, Fraunces, serif);font-size:1.2rem;font-weight:700;color:var(--text-primary);margin:0 0 1rem;padding-bottom:.5rem;border-bottom:2px solid var(--color-primary, #f59e0b)}.contact-card{display:flex;align-items:flex-start;gap:.85rem;padding:.9rem 0;border-bottom:1px solid var(--border-color, rgba(245,158,11,.1))}.contact-card:last-child{border-bottom:none}.contact-card-icon{font-size:1.4rem;flex-shrink:0;width:2rem;text-align:center}.contact-card h3{font-size:.85rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted, #a8a29e);margin:0 0 .25rem}.contact-info-text{font-size:.95rem;color:var(--text-secondary);margin:0}.placeholder-panel{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;padding:2rem;background:var(--bg-secondary, rgba(245,158,11,.04));border:2px dashed var(--border-color, rgba(245,158,11,.25));border-radius:var(--radius-lg, 12px);min-height:200px;text-align:center}.placeholder-icon{font-size:2.5rem}.placeholder-panel p{color:var(--text-muted, #a8a29e);font-size:.95rem;font-style:italic;margin:0}.contact-placeholder{color:var(--text-muted, #a8a29e);font-style:italic}.company-info-section h2{font-family:var(--font-display, Fraunces, serif);font-size:1.2rem;font-weight:700;color:var(--text-primary);padding-bottom:.5rem;border-bottom:2px solid var(--color-primary, #f59e0b);margin-bottom:1rem}.company-info-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:.75rem}.company-info-item{display:flex;flex-direction:column;gap:.2rem;font-size:.95rem}.company-info-item strong{color:var(--text-secondary);font-size:.85rem;text-transform:uppercase;letter-spacing:.04em}.footer-rich{background:var(--footer-bg, #1a1412);color:var(--footer-text, #d6d3d1);padding:2.5rem 1.5rem 1.5rem;margin-top:auto}.footer-rich-inner{max-width:1100px;margin:0 auto}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:2rem;padding-bottom:2rem;border-bottom:1px solid rgba(255,255,255,.08);margin-bottom:1.5rem}@media(max-width:768px){.footer-grid{grid-template-columns:1fr 1fr;gap:1.5rem}.footer-brand{grid-column:1 / -1}}@media(max-width:500px){.footer-grid{grid-template-columns:1fr}}.footer-brand-name{font-family:var(--font-display, Fraunces, serif);font-size:1.3rem;font-weight:700;color:var(--color-primary, #fbbf24);margin:0 0 .4rem}.footer-brand-tagline{font-size:.88rem;margin:0;opacity:.65}.footer-col h4{font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--color-primary, #fbbf24);margin:0 0 .75rem}.footer-col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.45rem}.footer-col li button,.footer-col li a{background:none;border:none;padding:0;cursor:pointer;font-size:.9rem;color:var(--footer-text, #d6d3d1);text-decoration:none;transition:color .15s;text-align:left}.footer-col li button:hover,.footer-col li a:hover{color:var(--color-primary, #fbbf24)}.footer-bottom{display:flex;justify-content:space-between;align-items:center;font-size:.82rem;opacity:.6;flex-wrap:wrap;gap:.5rem}.contact-form{display:flex;flex-direction:column;gap:.75rem}.contact-form-field label{display:block;font-size:.85rem;font-weight:600;color:var(--text-secondary);margin-bottom:.25rem}.contact-form-field input,.contact-form-field select,.contact-form-field textarea{width:100%;padding:.6rem .75rem;border:1px solid var(--border-color, rgba(245,158,11,.25));border-radius:var(--radius-md, 8px);background:var(--bg-primary);color:var(--text-primary);font-size:.9rem;font-family:inherit;transition:border-color .15s}.contact-form-field input:focus,.contact-form-field select:focus,.contact-form-field textarea:focus{outline:none;border-color:var(--color-primary, #f59e0b);box-shadow:0 0 0 2px #f59e0b26}.contact-form-field textarea{min-height:100px;resize:vertical}.contact-form-disclaimer{font-size:.8rem;color:var(--text-muted, #a8a29e);font-style:italic;margin:0}.cookie-table{width:100%;border-collapse:collapse;margin:1rem 0;font-size:.9rem}.cookie-table th,.cookie-table td{text-align:left;padding:.6rem .75rem;border-bottom:1px solid var(--border-color, rgba(245,158,11,.15))}.cookie-table th{font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted, #a8a29e);background:var(--bg-secondary, rgba(245,158,11,.04))}.cookie-table td{color:var(--text-secondary)}.cookie-table code{font-family:Fira Code,monospace;font-size:.85rem;background:var(--bg-secondary, rgba(245,158,11,.06));padding:.15rem .4rem;border-radius:4px}.about-steps{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:1.25rem;margin-top:.5rem}.about-step{display:flex;gap:.85rem;align-items:flex-start;padding:1rem;background:var(--bg-secondary, rgba(245,158,11,.04));border-radius:var(--radius-lg, 12px);border:1px solid var(--border-color, rgba(245,158,11,.15))}.about-step-num{flex-shrink:0;width:2rem;height:2rem;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--color-primary, #f59e0b);color:#fff;font-weight:700;font-size:.9rem}.about-step h3{margin:0 0 .25rem;font-size:.95rem;font-weight:700;color:var(--text-primary)}.about-step p{margin:0;font-size:.9rem;color:var(--text-secondary);line-height:1.5}.about-features-list{list-style:none;margin:.5rem 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:.5rem}.about-features-list li{font-size:.93rem;color:var(--text-secondary);padding:.4rem 0}.pricing-page{max-width:1400px;margin:0 auto;padding:40px 20px}.pricing-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;gap:16px;color:#64748b}.spinner{width:48px;height:48px;border:4px solid #e2e8f0;border-top-color:#d97706;border-radius:50%;animation:spin 1s linear infinite}.spinner-small{width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin 1s linear infinite;display:inline-block;margin-right:8px}@keyframes spin{to{transform:rotate(360deg)}}.pricing-header{text-align:center;margin-bottom:48px}.pricing-header h1{font-size:2.5rem;font-weight:700;color:#1e293b;margin:0 0 12px}.pricing-subtitle{font-size:1.125rem;color:#64748b;margin:0}.user-package-card{background:linear-gradient(135deg,#d97706,#f59e0b);border-radius:16px;padding:24px 32px;margin-bottom:40px;color:#fff;box-shadow:0 10px 40px #f59e0b4d}.user-package-header{display:flex;align-items:center;gap:16px;margin-bottom:20px}.package-badge{background:#fff3;padding:4px 12px;border-radius:20px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em}.package-badge.active{background:#22c55e}.user-package-header h3{margin:0;font-size:1.5rem;font-weight:600}.user-package-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:24px;margin-bottom:20px}.stat{display:flex;flex-direction:column;gap:4px}.stat-label{font-size:.875rem;opacity:.8}.stat-value{font-size:1.25rem;font-weight:600}.stat-value.highlight{font-size:1.75rem}.days-remaining{font-size:.875rem;opacity:.8;margin-left:8px}.package-progress{height:8px;background:#fff3;border-radius:4px;overflow:hidden}.progress-bar{height:100%;background:#fff;border-radius:4px;transition:width .5s ease}.pricing-error{background:#fef2f2;border:1px solid #fecaca;color:#dc2626;padding:12px 20px;border-radius:8px;margin-bottom:24px;display:flex;align-items:center;gap:8px}.pricing-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));gap:24px;margin-bottom:48px}.pricing-card{background:#fff;border-radius:16px;padding:32px;box-shadow:0 4px 24px #00000014;border:2px solid transparent;transition:all .3s ease;position:relative;display:flex;flex-direction:column}.pricing-card:hover{transform:translateY(-4px);box-shadow:0 12px 40px #0000001f}.pricing-card.popular{border-color:var(--card-color);transform:scale(1.02)}.pricing-card.popular:hover{transform:scale(1.02) translateY(-4px)}.popular-badge{position:absolute;top:-12px;left:50%;transform:translate(-50%);background:var(--card-color);color:#fff;padding:6px 20px;border-radius:20px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap}.card-header{text-align:center;margin-bottom:24px}.card-icon{font-size:3rem;margin-bottom:12px}.card-title{font-size:1.5rem;font-weight:700;color:#1e293b;margin:0 0 8px}.card-description{font-size:.875rem;color:#64748b;margin:0}.card-pricing{text-align:center;padding:24px 0;border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;margin-bottom:24px}.original-price{display:flex;align-items:center;justify-content:center;gap:8px;margin-bottom:8px}.strikethrough{color:#94a3b8;text-decoration:line-through;font-size:1rem}.discount-badge{background:#dcfce7;color:#16a34a;padding:2px 8px;border-radius:4px;font-size:.75rem;font-weight:600}.current-price{display:flex;align-items:baseline;justify-content:center;gap:4px}.current-price .amount{font-size:3rem;font-weight:700;color:#1e293b}.current-price .currency{font-size:1.25rem;font-weight:600;color:#64748b}.price-details{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:8px;color:#64748b;font-size:.875rem}.separator{color:#cbd5e1}.duration{margin-top:12px;font-size:.875rem;color:#94a3b8}.card-features{list-style:none;padding:0;margin:0 0 24px;flex:1}.card-features li{display:flex;align-items:flex-start;gap:12px;padding:8px 0;color:#475569;font-size:.9rem}.feature-icon{color:#22c55e;font-weight:700;flex-shrink:0}.purchase-button{width:100%;padding:14px 24px;background:var(--card-color, #d97706);color:#fff;border:none;border-radius:10px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.purchase-button:hover:not(:disabled){filter:brightness(1.1);transform:translateY(-2px)}.purchase-button:disabled{opacity:.7;cursor:not-allowed}.purchase-button.loading{background:#94a3b8}.pricing-info{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:24px;margin-top:48px}.info-card{text-align:center;padding:24px;background:#f8fafc;border-radius:12px}.info-icon{font-size:2.5rem;display:block;margin-bottom:12px}.info-card h4{font-size:1.125rem;font-weight:600;color:#1e293b;margin:0 0 8px}.info-card p{font-size:.875rem;color:#64748b;margin:0;line-height:1.5}@media(max-width:768px){.pricing-header h1{font-size:2rem}.pricing-grid{grid-template-columns:1fr}.pricing-card.popular{transform:none}.pricing-card.popular:hover{transform:translateY(-4px)}.user-package-stats{grid-template-columns:1fr 1fr}.current-price .amount{font-size:2.5rem}}[data-theme=dark] .pricing-loading{color:var(--text-secondary)}[data-theme=dark] .spinner{border-color:var(--border-color);border-top-color:var(--primary-color)}[data-theme=dark] .pricing-header h1{color:var(--text-primary)}[data-theme=dark] .pricing-subtitle{color:var(--text-secondary)}[data-theme=dark] .pricing-card{background:var(--surface-color);box-shadow:0 4px 24px #0000004d}[data-theme=dark] .pricing-card:hover{box-shadow:0 12px 40px #0006}[data-theme=dark] .card-title{color:var(--text-primary)}[data-theme=dark] .card-description{color:var(--text-secondary)}[data-theme=dark] .card-pricing{border-color:var(--border-color)}[data-theme=dark] .current-price .amount{color:var(--text-primary)}[data-theme=dark] .current-price .currency,[data-theme=dark] .price-details{color:var(--text-secondary)}[data-theme=dark] .separator{color:var(--border-color)}[data-theme=dark] .duration,[data-theme=dark] .strikethrough{color:var(--text-secondary)}[data-theme=dark] .discount-badge{background:#16a34a33;color:#4ade80}[data-theme=dark] .card-features li{color:#cbd5e1}[data-theme=dark] .info-card{background:var(--surface-color)}[data-theme=dark] .info-card h4{color:var(--text-primary)}[data-theme=dark] .info-card p{color:var(--text-secondary)}[data-theme=dark] .pricing-error{background:#dc26261a;border-color:#dc26264d;color:#f87171}[data-theme=dark] .no-tickets-warning{background:#f59e0b1a!important;border-color:#f59e0b4d!important;color:#fbbf24!important}.study-bot{display:flex;flex-direction:column;height:calc(100dvh - 200px);min-height:500px;max-width:900px;margin:0 auto;background:#fff;border-radius:16px;box-shadow:0 4px 24px #00000014;overflow:hidden;border:1px solid #e2e8f0}.study-bot-header{display:flex;align-items:center;justify-content:space-between;padding:16px 24px;background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff}.study-bot-header-info{display:flex;align-items:center;gap:12px}.study-bot-avatar{font-size:2.5rem;line-height:1}.study-bot-header h2{margin:0;font-size:1.25rem;font-weight:700}.study-bot-header p{margin:2px 0 0;font-size:.85rem;opacity:.9}.study-bot-clear{background:#fff3;border:none;border-radius:8px;padding:8px 12px;font-size:1.1rem;cursor:pointer;transition:all .2s;color:#fff}.study-bot-clear:hover{background:#ffffff59}.study-bot-disclaimer{display:flex;align-items:center;gap:8px;padding:10px 24px;background:#fffbeb;color:#d97706;font-size:.8rem;border-bottom:1px solid #fde68a}.study-bot-messages{flex:1;overflow-y:auto;padding:20px 24px;display:flex;flex-direction:column;gap:16px}.study-bot-message{display:flex;gap:10px;max-width:85%;animation:fadeInUp .3s ease}@keyframes fadeInUp{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.study-bot-message.user{align-self:flex-end;flex-direction:row-reverse}.study-bot-message.assistant{align-self:flex-start}.message-avatar{font-size:1.5rem;flex-shrink:0;width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:#fef3c7;border-radius:50%}.message-bubble{padding:12px 16px;border-radius:16px;line-height:1.6;font-size:.95rem}.study-bot-message.user .message-bubble{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;border-bottom-right-radius:4px}.study-bot-message.assistant .message-bubble{background:#f1f5f9;color:#1e293b;border-bottom-left-radius:4px}.study-bot-message.blocked .message-bubble{background:#fef2f2;color:#991b1b;border:1px solid #fecaca}.message-content{word-break:break-word}.message-content strong{font-weight:700;color:inherit}.message-time{font-size:.7rem;opacity:.6;margin-top:6px;text-align:right}.message-bubble.thinking{display:flex;align-items:center;gap:10px;padding:14px 18px}.thinking-dots{display:flex;gap:4px}.thinking-dots span{width:8px;height:8px;background:#94a3b8;border-radius:50%;animation:bounce 1.4s infinite}.thinking-dots span:nth-child(2){animation-delay:.2s}.thinking-dots span:nth-child(3){animation-delay:.4s}@keyframes bounce{0%,80%,to{transform:scale(.6);opacity:.4}40%{transform:scale(1);opacity:1}}.thinking-text{font-size:.85rem;color:#94a3b8;font-style:italic}.study-bot-suggestions{display:flex;flex-wrap:wrap;gap:8px;padding:12px 24px;border-top:1px solid #e2e8f0}.suggestion-chip{background:#f1f5f9;border:1px solid #e2e8f0;border-radius:20px;padding:8px 16px;font-size:.85rem;color:#475569;cursor:pointer;transition:all .2s;white-space:nowrap}.suggestion-chip:hover{background:#e2e8f0;border-color:#f59e0b;color:#f59e0b}.study-bot-input-area{display:flex;align-items:flex-end;gap:10px;padding:16px 24px;border-top:1px solid #e2e8f0;background:#f8fafc}.study-bot-input{flex:1;padding:12px 16px;border:2px solid #e2e8f0;border-radius:12px;font-size:.95rem;font-family:inherit;resize:none;min-height:44px;max-height:120px;outline:none;transition:border-color .2s;background:#fff;color:#1e293b}.study-bot-input:focus{border-color:#f59e0b}.study-bot-input:disabled{opacity:.6}.study-bot-send{width:44px;height:44px;border:none;border-radius:12px;background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;font-size:1.2rem;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;flex-shrink:0}.study-bot-send:hover:not(:disabled){transform:scale(1.05);box-shadow:0 4px 12px #f59e0b66}.study-bot-send:disabled{opacity:.4;cursor:not-allowed}.study-bot-footer{text-align:center;padding:8px;font-size:.75rem;color:#94a3b8;border-top:1px solid #f1f5f9}@media(max-width:768px){.study-bot{height:calc(100vh - 160px);border-radius:12px}.study-bot-header{padding:12px 16px}.study-bot-messages{padding:16px}.study-bot-message{max-width:92%}.study-bot-input-area{padding:12px 16px}.study-bot-suggestions{padding:8px 16px}}[data-theme=dark] .study-bot{background:var(--surface-color);border-color:var(--border-color);box-shadow:0 4px 24px #0000004d}[data-theme=dark] .study-bot-header{background:linear-gradient(135deg,#f59e0b,#d97706)}[data-theme=dark] .study-bot-disclaimer{background:#fbbf241a;color:#fbbf24;border-bottom-color:var(--border-color)}[data-theme=dark] .study-bot-messages{background:var(--bg-color)}[data-theme=dark] .message-avatar{background:#fbbf2426}[data-theme=dark] .study-bot-message.assistant .message-bubble{background:var(--surface-color);color:var(--text-primary)}[data-theme=dark] .study-bot-message.blocked .message-bubble{background:#ef44441a;color:#fca5a5;border-color:#ef44444d}[data-theme=dark] .thinking-dots span{background:var(--text-secondary)}[data-theme=dark] .thinking-text{color:var(--text-secondary)}[data-theme=dark] .study-bot-suggestions{border-top-color:var(--border-color)}[data-theme=dark] .suggestion-chip{background:var(--surface-color);border-color:var(--border-color);color:var(--text-secondary)}[data-theme=dark] .suggestion-chip:hover{background:var(--surface-hover);border-color:var(--primary-color);color:var(--primary-color)}[data-theme=dark] .study-bot-input-area{border-top-color:var(--border-color);background:var(--surface-color)}[data-theme=dark] .study-bot-input{background:var(--input-bg);border-color:var(--input-border);color:var(--text-primary)}[data-theme=dark] .study-bot-input:focus{border-color:#f59e0b}[data-theme=dark] .study-bot-input::placeholder{color:var(--text-tertiary)}[data-theme=dark] .study-bot-footer{color:var(--text-tertiary);border-top-color:var(--border-color)}.streaming-cursor{display:inline-block;width:2px;height:1.1em;background:var(--primary-color);border-radius:1px;margin-left:2px;vertical-align:text-bottom;animation:cursorBlink .75s step-end infinite}@keyframes cursorBlink{0%,to{opacity:1}50%{opacity:0}}.study-bot{background:var(--card-bg, #ffffff);border-color:var(--card-border, #e2e8f0);box-shadow:var(--card-shadow, 0 4px 24px rgba(0,0,0,.08))}.message-bubble{background:var(--surface-secondary, #f8fafc);border:1px solid var(--border-light, #f1f5f9);border-radius:var(--radius-lg, 1rem)}.study-bot-message.user .message-bubble{background:linear-gradient(135deg,var(--primary-color, #f59e0b),var(--primary-dark, #d97706));border-color:transparent;color:#fff9f1}.suggestion-chip:hover{border-color:var(--primary-color, #f59e0b);background:var(--primary-light, #fef3c7);transform:translateY(-2px);box-shadow:0 4px 10px #f59e0b2e;transition:all var(--motion-fast, .12s) var(--ease-spring, cubic-bezier(.34,1.56,.64,1))}.study-bot-input{background:var(--input-bg, #fff);border-color:var(--input-border, #d6d3d1);color:var(--text-primary, #1c1917)}.study-bot-input:focus{border-color:var(--input-focus-border, #f59e0b);box-shadow:var(--input-focus-shadow, 0 0 0 3px rgba(245,158,11,.15))}.trial-lesson-loading,.trial-lesson-error{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:60vh;gap:1rem;text-align:center;padding:2rem}.trial-lesson-error .error-icon{font-size:3rem}.trial-lesson-error h2{font-size:1.5rem;color:var(--text-primary);margin:0}.trial-lesson-error .btn-primary,.trial-lesson-error .btn-secondary{margin:.25rem}.trial-badge-bar{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1.5rem;padding:.75rem 1.25rem;background:linear-gradient(135deg,#fef3c7,#fde68a);border:1px solid #fbbf24;border-radius:var(--radius-md);margin-bottom:1.5rem;font-size:.875rem}[data-theme=dark] .trial-badge-bar{background:linear-gradient(135deg,#fbbf2426,#d9770626);border-color:#fbbf244d}.trial-badge{font-weight:700;color:#92400e;background:#fbbf24;padding:.2rem .65rem;border-radius:9999px;font-size:.8rem;letter-spacing:.02em}[data-theme=dark] .trial-badge{background:#fbbf2440;color:#fbbf24}.trial-subject,.trial-level,.trial-views,.trial-expires{color:var(--text-secondary);white-space:nowrap}.trial-subject strong,.trial-level strong,.trial-views strong,.trial-expires strong{color:var(--text-primary);font-weight:600}.trial-cta-banner{margin-top:2.5rem;padding:2rem;background:linear-gradient(135deg,var(--primary-light) 0%,rgba(251,191,36,.12) 100%);border:1px solid var(--border-color);border-top:3px solid var(--primary);border-radius:var(--radius-lg);text-align:center}.trial-cta-content p{font-size:1.1rem;color:var(--text-primary);font-weight:500;margin-bottom:1rem}.trial-cta-actions{display:flex;gap:.75rem;justify-content:center;flex-wrap:wrap}.onboarding-overlay{position:fixed;inset:0;background:#0009;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;z-index:2000;animation:fadeIn .3s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.onboarding-modal{background:var(--surface-color, #ffffff);border-radius:20px;width:90%;max-width:680px;max-height:90vh;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 20px 60px #0000004d;animation:modalSlideUp .4s cubic-bezier(.34,1.56,.64,1);border:1px solid var(--border-color, #e7e5e4)}@keyframes modalSlideUp{0%{opacity:0;transform:translateY(40px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.onboarding-loading{text-align:center;padding:4rem 2rem}.onboarding-bee-spinner{font-size:3rem;animation:beeSpin 1.5s ease-in-out infinite;display:inline-block;margin-bottom:1rem}@keyframes beeSpin{0%,to{transform:translateY(0) rotate(0)}25%{transform:translateY(-12px) rotate(10deg)}50%{transform:translateY(0) rotate(-5deg)}75%{transform:translateY(-6px) rotate(5deg)}}.onboarding-loading p{color:var(--text-primary);font-size:1.2rem;font-weight:600}.onboarding-header{background:linear-gradient(135deg,#f59e0b,#d97706);padding:1.5rem 2rem;display:flex;align-items:center;justify-content:space-between;color:#fff;position:relative;overflow:hidden}.onboarding-header:before{content:"";position:absolute;top:-20px;right:-20px;width:140px;height:140px;background:radial-gradient(circle,rgba(255,255,255,.1) 0%,transparent 70%);border-radius:50%}.onboarding-header-content{display:flex;align-items:center;gap:1rem;position:relative;z-index:1}.onboarding-bee{font-size:2.5rem;animation:beeBounce 2s ease-in-out infinite}@keyframes beeBounce{0%,to{transform:translateY(0)}50%{transform:translateY(-6px)}}.onboarding-header h2{margin:0;font-size:1.3rem;font-weight:700}.onboarding-header p{margin:4px 0 0;font-size:.85rem;opacity:.9}.onboarding-skip-btn{background:#fff3;border:1px solid rgba(255,255,255,.3);color:#fff;padding:6px 14px;border-radius:8px;cursor:pointer;font-size:.85rem;transition:all .2s;position:relative;z-index:1}.onboarding-skip-btn:hover{background:#ffffff4d}.onboarding-progress{display:flex;align-items:center;justify-content:center;gap:2rem;padding:1.25rem 2rem;background:var(--surface-secondary, #fefce8);border-bottom:1px solid var(--border-color);position:relative}.progress-step{display:flex;flex-direction:column;align-items:center;gap:6px;z-index:1}.step-dot{width:32px;height:32px;border-radius:50%;background:var(--border-color, #e7e5e4);color:var(--text-tertiary, #a8a29e);display:flex;align-items:center;justify-content:center;font-size:.85rem;font-weight:600;transition:all .3s ease}.progress-step.active .step-dot{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;box-shadow:0 0 0 4px #f59e0b33;transform:scale(1.1)}.progress-step.completed .step-dot{background:#22c55e;color:#fff}.step-label{font-size:.75rem;font-weight:500;color:var(--text-tertiary);transition:color .2s}.progress-step.active .step-label{color:#f59e0b;font-weight:600}.progress-step.completed .step-label{color:#22c55e}.progress-line{position:absolute;top:50%;left:20%;right:20%;height:3px;background:var(--border-color, #e7e5e4);border-radius:2px;transform:translateY(-10px);z-index:0}.progress-fill{height:100%;background:linear-gradient(90deg,#22c55e,#f59e0b);border-radius:2px;transition:width .4s ease}.onboarding-error{background:var(--error-bg, #fef2f2);color:var(--error-color, #ef4444);padding:10px 2rem;font-size:.9rem;border-bottom:1px solid rgba(239,68,68,.2)}.onboarding-body{flex:1;overflow-y:auto;padding:1.5rem 2rem}.onboarding-step h3{margin:0 0 8px;font-size:1.2rem;color:var(--text-primary)}.step-description{margin:0 0 1.25rem;color:var(--text-secondary);font-size:.9rem}.subjects-selection-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px}.subject-select-card{display:flex;flex-direction:column;align-items:center;gap:8px;padding:1.25rem .75rem;border:2px solid var(--border-color, #e7e5e4);border-radius:14px;background:var(--surface-color, #ffffff);cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden}.subject-select-card:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,var(--subject-accent) 0%,transparent 100%);opacity:0;transition:opacity .3s}.subject-select-card:hover{border-color:var(--subject-accent, #f59e0b);transform:translateY(-3px);box-shadow:0 6px 20px #f59e0b26}.subject-select-card:hover:before{opacity:.06}.subject-select-card.selected{border-color:var(--subject-accent, #f59e0b);background:linear-gradient(135deg,#f59e0b14,#d977060a);box-shadow:0 4px 16px #f59e0b33}.subject-select-card.selected:before{opacity:.1}.subject-select-icon{font-size:2rem;position:relative;z-index:1;transition:transform .3s}.subject-select-card:hover .subject-select-icon{transform:scale(1.15);animation:subjectBounce .4s ease}@keyframes subjectBounce{0%{transform:scale(1)}50%{transform:scale(1.25)}to{transform:scale(1.15)}}.subject-select-name{font-size:.85rem;font-weight:500;color:var(--text-primary);text-align:center;position:relative;z-index:1}.subject-check{position:absolute;top:8px;right:8px;width:22px;height:22px;background:linear-gradient(135deg,#22c55e,#16a34a);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.7rem;font-weight:700;z-index:1;animation:checkPop .3s cubic-bezier(.34,1.56,.64,1)}@keyframes checkPop{0%{transform:scale(0)}to{transform:scale(1)}}.levels-list{display:flex;flex-direction:column;gap:16px}.level-card{background:var(--surface-secondary, #fefce8);border-radius:14px;padding:1.25rem;border:1px solid var(--border-color)}.level-card-header{display:flex;align-items:center;gap:10px;margin-bottom:12px}.level-subject-icon{font-size:1.5rem}.level-card-header h4{margin:0;font-size:1.05rem;color:var(--text-primary)}.level-options{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.level-btn{padding:10px 12px;border:2px solid var(--border-color);border-radius:10px;background:var(--surface-color, #fff);color:var(--text-secondary);cursor:pointer;transition:all .2s;font-size:.85rem;text-align:center}.level-btn:hover{border-color:#f59e0b;color:var(--text-primary);background:var(--surface-hover)}.level-btn.active{border-color:#f59e0b;background:linear-gradient(135deg,#f59e0b1a,#d977060d);color:#92400e;font-weight:600}.placement-tests{margin-top:12px;padding-top:12px;border-top:1px dashed var(--border-color);animation:slideDown .3s ease}@keyframes slideDown{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.placement-hint{font-size:.85rem;color:var(--text-secondary);margin:0 0 10px}.test-links{display:flex;flex-direction:column;gap:6px}.test-link{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;background:var(--surface-color, #fff);border:1px solid var(--border-color);border-radius:8px;color:#f59e0b;text-decoration:none;font-size:.85rem;font-weight:500;transition:all .2s}.test-link:hover{background:#f59e0b14;border-color:#f59e0b;transform:translate(4px)}.goals-textarea{width:100%;padding:14px 16px;border:2px solid var(--border-color);border-radius:12px;background:var(--input-bg, #fff);color:var(--text-primary);font-size:.95rem;font-family:inherit;resize:vertical;min-height:100px;transition:border-color .2s}.goals-textarea:focus{outline:none;border-color:#f59e0b;box-shadow:0 0 0 3px #f59e0b26}.goals-textarea::placeholder{color:var(--text-tertiary)}.schedule-title{margin-top:1.5rem!important}.schedule-options{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.schedule-btn{display:flex;align-items:center;gap:6px;padding:10px 18px;border:2px solid var(--border-color);border-radius:25px;background:var(--surface-color, #fff);color:var(--text-secondary);cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);font-size:.9rem}.schedule-btn:hover{border-color:#f59e0b;transform:translateY(-2px);box-shadow:0 4px 12px #f59e0b26}.schedule-btn.active{border-color:#f59e0b;background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;box-shadow:0 4px 12px #f59e0b4d}.onboarding-footer{display:flex;align-items:center;justify-content:space-between;padding:1rem 2rem;border-top:1px solid var(--border-color);background:var(--surface-secondary)}.onboarding-footer-right{display:flex;align-items:center;gap:1rem;margin-left:auto}.step-indicator{font-size:.8rem;color:var(--text-tertiary)}.onboarding-btn{padding:10px 22px;border:none;border-radius:10px;font-weight:600;font-size:.95rem;cursor:pointer;transition:all .2s}.onboarding-btn.primary{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff}.onboarding-btn.primary:hover{transform:translateY(-2px);box-shadow:0 4px 14px #f59e0b4d}.onboarding-btn.primary.finish{background:linear-gradient(135deg,#22c55e,#16a34a)}.onboarding-btn.primary.finish:hover{box-shadow:0 4px 14px #22c55e4d}.onboarding-btn.primary:disabled{opacity:.6;cursor:not-allowed;transform:none}.onboarding-btn.secondary{background:var(--border-color);color:var(--text-secondary)}.onboarding-btn.secondary:hover{background:var(--text-tertiary);color:var(--text-primary)}[data-theme=dark] .onboarding-header{background:linear-gradient(135deg,#92400e,#78350f)}[data-theme=dark] .subject-select-card.selected{background:linear-gradient(135deg,#fbbf241f,#f59e0b0f);border-color:#fbbf24}[data-theme=dark] .level-btn.active{background:linear-gradient(135deg,#fbbf2426,#f59e0b14);color:#fde68a;border-color:#fbbf24}[data-theme=dark] .schedule-btn.active{background:linear-gradient(135deg,#92400e,#78350f);border-color:#fbbf24;color:#fef3c7}[data-theme=dark] .test-link{color:#fbbf24}[data-theme=dark] .test-link:hover{background:#fbbf241a;border-color:#fbbf24}[data-theme=dark] .subject-check{box-shadow:0 2px 8px #22c55e4d}@media(max-width:600px){.onboarding-modal{width:95%;max-height:95vh;border-radius:16px}.onboarding-header,.onboarding-body{padding:1.25rem}.onboarding-footer{padding:.75rem 1.25rem}.subjects-selection-grid{grid-template-columns:repeat(2,1fr);gap:8px}.level-options{grid-template-columns:1fr}.onboarding-progress{gap:1rem;padding:1rem}.step-label{font-size:.65rem}.progress-line{left:15%;right:15%}.schedule-options{gap:6px}.schedule-btn{padding:8px 14px;font-size:.8rem}}.cookie-banner{position:fixed;bottom:0;left:0;right:0;z-index:9999;padding:var(--space-4, 1rem) var(--space-6, 1.5rem);background:var(--color-surface, #fffbf0);border-top:2px solid var(--color-primary, #f59e0b);box-shadow:var(--shadow-lg, 0 -4px 12px rgba(0,0,0,.1));display:flex;align-items:center;justify-content:space-between;gap:var(--space-4, 1rem);flex-wrap:wrap;font-family:var(--font-body, "Manrope", sans-serif)}.cookie-banner p{margin:0;flex:1 1 300px;color:var(--color-text, #1c1917);font-size:.9rem}.cookie-actions{display:flex;gap:var(--space-2, .5rem);flex-shrink:0}.cookie-accept,.cookie-decline{padding:.5rem 1.25rem;border-radius:var(--radius-md, 8px);font-weight:600;font-size:.85rem;cursor:pointer;border:none;transition:background var(--motion-fast, .12s)}.cookie-accept{background:var(--color-primary, #f59e0b);color:#fff}.cookie-accept:hover{background:var(--color-primary-dark, #d97706)}.cookie-decline{background:transparent;color:var(--color-text-secondary, #57534e);border:1px solid var(--color-border, #e7e5e4)}.cookie-decline:hover{background:var(--color-surface-alt, #f5f5f4)}.cookie-manage{padding:.5rem 1.25rem;border-radius:var(--radius-md, 8px);font-weight:600;font-size:.85rem;cursor:pointer;border:1px solid var(--color-border, #e7e5e4);background:transparent;color:var(--color-text-secondary, #57534e);transition:background var(--motion-fast, .12s)}.cookie-manage:hover{background:var(--color-surface-alt, #f5f5f4)}.cookie-preferences{margin-top:.75rem;padding:1rem;background:var(--bg-secondary, rgba(245,158,11,.04));border:1px solid var(--color-border, #e7e5e4);border-radius:var(--radius-md, 8px);width:100%}.cookie-preferences h3{margin:0 0 .25rem;font-size:1rem;font-weight:700;color:var(--color-text, #1c1917)}.cookie-prefs-desc{margin:0 0 .75rem;font-size:.85rem;color:var(--color-text-secondary, #57534e)}.cookie-pref-row{display:flex;align-items:center;justify-content:space-between;padding:.5rem 0;border-bottom:1px solid var(--color-border, rgba(245,158,11,.1))}.cookie-pref-row:last-of-type{border-bottom:none}.cookie-pref-info{flex:1}.cookie-pref-info strong{display:block;font-size:.9rem;color:var(--color-text, #1c1917)}.cookie-pref-info small{font-size:.8rem;color:var(--color-text-secondary, #57534e)}.cookie-link{background:none;border:none;padding:0;cursor:pointer;font-size:.85rem;color:var(--color-primary, #f59e0b);text-decoration:underline;font-weight:600}.cookie-link:hover{color:var(--color-primary-dark, #d97706)}.bl-top-progress{position:fixed;top:0;left:0;right:0;height:3px;pointer-events:none;z-index:var(--z-toast, 1100);opacity:0;transition:opacity .2s var(--ease-standard, ease-out)}.bl-top-progress.is-visible{opacity:1}.bl-top-progress__bar{height:100%;width:0%;background:linear-gradient(90deg,var(--amber-400, #f59e0b) 0%,var(--amber-600, #d97706) 50%,var(--amber-400, #f59e0b) 100%);background-size:200% 100%;box-shadow:0 0 8px #f59e0b99;transition:width .18s var(--ease-standard, ease-out);animation:bl-top-progress-shimmer 1.2s linear infinite}@keyframes bl-top-progress-shimmer{0%{background-position:200% 0}to{background-position:0 0}}@media(prefers-reduced-motion:reduce){.bl-top-progress__bar{animation:none;transition:opacity .18s}}.tt-page{max-width:720px;margin:0 auto;padding:2rem 1rem 3rem}.tt-hero{display:flex;align-items:center;gap:1.25rem;margin-bottom:1.75rem}.tt-hero-icon{font-size:3.5rem;line-height:1;flex-shrink:0}.tt-title{margin:0;font-size:1.75rem;font-weight:700;color:var(--color-text-primary, #1c1917);font-family:var(--font-display, "Fraunces", serif)}.tt-subtitle{margin:.25rem 0 0;color:var(--color-text-secondary, #57534e);font-size:.97rem}.tt-progress-bar-wrap{display:flex;flex-direction:column;gap:.4rem;margin-bottom:1.5rem}.tt-progress-label{font-size:.85rem;font-weight:500;color:var(--color-text-muted, #a8a29e)}.tt-progress-bar{height:6px;background:var(--color-border, #e5e7eb);border-radius:999px;overflow:hidden}.tt-progress-fill{height:100%;background:linear-gradient(90deg,#f59e0b,#d97706);border-radius:999px;transition:width .4s ease}.tt-sections{display:flex;flex-direction:column;gap:.6rem}.tt-card{border:1px solid var(--color-border, #e5e7eb);border-radius:12px;overflow:hidden;transition:box-shadow .2s}.tt-card.open{box-shadow:0 4px 16px #78350f14}.tt-card.done{border-color:#d1fae5;background:#f0fdf4}.tt-card.done.open{box-shadow:0 4px 16px #10b98114}.tt-card-header{width:100%;display:flex;align-items:center;gap:.65rem;padding:.9rem 1rem;background:transparent;border:none;cursor:pointer;text-align:left;transition:background .15s}.tt-card-header:hover{background:#f59e0b0f}.tt-step-icon{font-size:1.4rem;flex-shrink:0}.tt-step-num{font-weight:700;color:var(--color-primary, #f59e0b);min-width:22px}.tt-step-title{flex:1;font-weight:600;font-size:.97rem;color:var(--color-text-primary, #1c1917)}.tt-check{color:#10b981;font-weight:700;font-size:1.1rem}.tt-chevron{color:var(--color-text-muted, #a8a29e);font-size:.8rem}.tt-card-body{padding:0 1rem 1.1rem;border-top:1px solid var(--color-border, #e5e7eb)}.tt-desc{margin:.75rem 0 1rem;font-size:.93rem;line-height:1.65;color:var(--color-text-secondary, #57534e)}.tt-card-actions{display:flex;gap:.6rem;flex-wrap:wrap}.tt-try-btn{padding:.4rem 1rem;background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;border:none;border-radius:8px;font-weight:600;font-size:.88rem;cursor:pointer;transition:opacity .15s,transform .1s}.tt-try-btn:hover{opacity:.9;transform:translateY(-1px)}.tt-done-btn{padding:.4rem 1rem;background:transparent;color:#10b981;border:1px solid #10b981;border-radius:8px;font-weight:500;font-size:.88rem;cursor:pointer;transition:background .15s}.tt-done-btn:hover{background:#f0fdf4}[data-theme=dark] .tt-title{color:var(--color-text-primary, #fef3c7)}[data-theme=dark] .tt-subtitle{color:var(--color-text-secondary, #d6d3d1)}[data-theme=dark] .tt-card{border-color:var(--color-border, #374151);background:var(--color-surface, #1a1412)}[data-theme=dark] .tt-card.done{border-color:#065f46;background:#10b98114}[data-theme=dark] .tt-card-header:hover{background:#f59e0b14}[data-theme=dark] .tt-step-title{color:var(--color-text-primary, #fef3c7)}[data-theme=dark] .tt-card-body{border-top-color:var(--color-border, #374151)}[data-theme=dark] .tt-desc{color:var(--color-text-secondary, #d6d3d1)}@media(max-width:600px){.tt-page{padding:1rem .75rem 2rem}.tt-title{font-size:1.4rem}.tt-hero-icon{font-size:2.5rem}}.header-control-btn{display:flex;align-items:center;justify-content:center;width:40px;height:40px;background:#ffffff26;border:1px solid rgba(255,255,255,.2);border-radius:10px;cursor:pointer;transition:all .2s ease;position:relative}.header-control-btn:hover{background:#ffffff40;transform:translateY(-1px)}.header-control-btn:active{transform:translateY(0)}.control-icon{font-size:1.2rem;line-height:1}.control-icon--emoji{font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",Segoe UI Symbol,sans-serif;font-variant-emoji:emoji;font-size:1.35rem;display:inline-block}.theme-toggle .control-icon{transition:transform .3s ease}.theme-toggle:hover .control-icon{transform:rotate(20deg)}.lang-switcher{position:relative}.lang-dropdown{position:absolute;top:calc(100% + 8px);right:0;background:var(--surface-color, #ffffff);border:1px solid var(--border-color, #e5e7eb);border-radius:12px;box-shadow:0 10px 40px #00000026;overflow:hidden;min-width:180px;z-index:1100;animation:dropdownFadeIn .2s ease}[data-theme=dark] .lang-dropdown{background:#1e293b;border-color:#334155;box-shadow:0 10px 40px #0006}@keyframes dropdownFadeIn{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.lang-option{display:flex;align-items:center;gap:10px;width:100%;padding:12px 16px;background:transparent;border:none;cursor:pointer;font-size:.95rem;color:var(--text-primary, #1f2937);transition:background .15s;text-align:left}[data-theme=dark] .lang-option{color:#e2e8f0}.lang-option:hover{background:var(--surface-hover, #f3f4f6)}[data-theme=dark] .lang-option:hover{background:#334155}.lang-option.active{background:var(--primary-light, #fef3c7);font-weight:600}[data-theme=dark] .lang-option.active{background:#f59e0b33}.lang-option:not(:last-child){border-bottom:1px solid var(--border-light, #f3f4f6)}[data-theme=dark] .lang-option:not(:last-child){border-bottom-color:#334155}.lang-flag{font-size:1.3rem;line-height:1}.flag-icon{border-radius:3px;object-fit:cover;display:block;box-shadow:0 0 0 1px #0000001a}.lang-name{flex:1}.lang-check{color:var(--primary-color, #f59e0b);font-weight:700;font-size:1rem}.breadcrumbs{padding:.5rem 0;margin-bottom:1rem}.breadcrumbs-list{display:flex;align-items:center;flex-wrap:wrap;gap:.25rem;list-style:none;margin:0;padding:0}.breadcrumb-item{display:flex;align-items:center;gap:.25rem;font-size:.875rem;line-height:1.25rem}.breadcrumb-link{display:flex;align-items:center;gap:.375rem;background:none;border:none;padding:.25rem .5rem;border-radius:.375rem;cursor:pointer;color:var(--text-secondary, #6b7280);font-size:.875rem;transition:all .2s ease;font-family:inherit}.breadcrumb-link:hover{color:#f59e0b;background:#f59e0b14}.breadcrumb-current{display:flex;align-items:center;gap:.375rem;padding:.25rem .5rem;color:var(--text-primary, #1f2937);font-weight:600;font-size:.875rem}.breadcrumb-icon{font-size:1rem;line-height:1}.breadcrumb-separator{display:flex;align-items:center;color:var(--text-tertiary, #9ca3af);margin:0 .125rem}[data-theme=dark] .breadcrumb-link{color:#9ca3af}[data-theme=dark] .breadcrumb-link:hover{color:#fbbf24;background:#fbbf231a}[data-theme=dark] .breadcrumb-current{color:#f3f4f6}[data-theme=dark] .breadcrumb-separator{color:#6b7280}@media(max-width:640px){.breadcrumb-item{font-size:.8125rem}.breadcrumb-link,.breadcrumb-current{font-size:.8125rem;padding:.25rem .375rem}}@keyframes skeleton-shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.skeleton-pulse{background:linear-gradient(90deg,var(--skeleton-base, #e5e7eb) 0%,var(--skeleton-shine, #f3f4f6) 50%,var(--skeleton-base, #e5e7eb) 100%);background-size:200% 100%;animation:skeleton-shimmer 1.5s ease-in-out infinite;border-radius:.375rem}.skeleton-text{display:flex;flex-direction:column;gap:.5rem}.skeleton-line{height:.875rem;border-radius:.25rem}.skeleton-course-card{background:var(--card-bg, #fff);border-radius:1rem;overflow:hidden;border:1px solid var(--border-color, #e5e7eb);box-shadow:0 1px 3px #0000000d}.skeleton-card-image{width:100%;height:140px}.skeleton-card-body{padding:1rem;display:flex;flex-direction:column;gap:.5rem}.skeleton-card-title{height:1.25rem;width:70%}.skeleton-card-desc{height:.875rem;width:90%}.skeleton-card-meta{display:flex;gap:.5rem;margin-top:.25rem}.skeleton-card-badge{height:1.5rem;width:4.5rem;border-radius:1rem}.skeleton-course-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem}.skeleton-list-item{display:flex;align-items:center;gap:.75rem;padding:.75rem;border-radius:.5rem}.skeleton-avatar{width:2.5rem;height:2.5rem;border-radius:50%;flex-shrink:0}.skeleton-list-content{flex:1;display:flex;flex-direction:column;gap:.375rem}.skeleton-list-title{height:1rem;width:60%}.skeleton-list-subtitle{height:.75rem;width:40%}.skeleton-list{display:flex;flex-direction:column;gap:.25rem}.skeleton-chapter{background:var(--card-bg, #fff);border-radius:.75rem;padding:1rem;margin-bottom:1rem;border:1px solid var(--border-color, #e5e7eb)}.skeleton-chapter-header{display:flex;align-items:center;gap:.75rem;margin-bottom:.75rem}.skeleton-chapter-lessons{display:flex;flex-direction:column;gap:.5rem;padding-left:1rem}.skeleton-lesson-row{display:flex;align-items:center;gap:.75rem;padding:.375rem 0}.skeleton-page-loader{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem 1rem;gap:1rem}@keyframes bee-bounce{0%,to{transform:translateY(0) rotate(0)}25%{transform:translateY(-10px) rotate(-5deg)}50%{transform:translateY(-4px) rotate(5deg)}75%{transform:translateY(-8px) rotate(-3deg)}}.skeleton-bee-spinner{animation:bee-bounce 1.2s ease-in-out infinite}.skeleton-bee-spinner .bee-icon{font-size:2.5rem;display:block}.skeleton-loader-text{color:var(--text-secondary, #6b7280);font-size:.875rem;margin:0}[data-theme=dark] .skeleton-pulse{--skeleton-base: #374151;--skeleton-shine: #4b5563}[data-theme=dark] .skeleton-course-card,[data-theme=dark] .skeleton-chapter{background:var(--card-bg, #1f2937);border-color:var(--border-color, #374151)}[data-theme=dark] .skeleton-loader-text{color:#9ca3af}@media(max-width:640px){.skeleton-course-grid{grid-template-columns:1fr}.skeleton-card-image{height:120px}}.dashboard{max-width:1100px;margin:0 auto;padding:var(--spacing-xl) var(--spacing-md);font-family:var(--font-primary)}.dashboard-header{margin-bottom:var(--spacing-xl)}.dashboard-header h2{color:var(--text-primary);font-size:var(--font-size-3xl);font-weight:700;line-height:var(--line-height-snug);margin-bottom:var(--spacing-xs)}.dashboard-header p{color:var(--text-secondary);font-size:var(--font-size-base)}.creator-badge{background:var(--gradient-honey-warm);border-radius:var(--radius-full);color:var(--color-white);display:inline-block;font-size:var(--font-size-xs);font-weight:700;letter-spacing:.05em;margin-left:var(--spacing-sm);padding:2px var(--spacing-sm);text-transform:uppercase;vertical-align:middle}.dashboard-section{margin-bottom:var(--spacing-2xl)}.dashboard-section h3{color:var(--text-primary);font-size:var(--font-size-xl);font-weight:600;margin-bottom:var(--spacing-md)}.subjects-grid{display:grid;gap:var(--spacing-md);grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}.subject-card{background:var(--surface-secondary);border:1.5px solid var(--border-subtle);border-radius:var(--radius-lg);cursor:pointer;padding:var(--spacing-md);transition:box-shadow var(--transition-fast),transform var(--transition-fast),border-color var(--transition-fast)}.subject-card:hover{box-shadow:var(--shadow-md);transform:translateY(-2px)}.subject-card.teacher-card{border-left-width:4px;border-left-style:solid}.subject-icon{display:block;font-size:2rem;line-height:1;margin-bottom:var(--spacing-sm)}.subject-card h4{color:var(--text-primary);font-size:var(--font-size-base);font-weight:600;margin-bottom:var(--spacing-xs)}.subject-card .stats{color:var(--text-muted);font-size:var(--font-size-sm)}.dashboard-empty{background:var(--surface-secondary);border:1.5px dashed var(--border-subtle);border-radius:var(--radius-xl);color:var(--text-muted);font-size:var(--font-size-base);padding:var(--spacing-2xl) var(--spacing-xl);text-align:center}.dashboard-empty .empty-icon{font-size:3rem;line-height:1;margin-bottom:var(--spacing-md)}.dashboard-cta-btn{background:var(--gradient-honey-warm);border:none;border-radius:var(--radius-lg);color:var(--color-white);cursor:pointer;font-family:var(--font-primary);font-size:var(--font-size-base);font-weight:600;padding:var(--spacing-sm) var(--spacing-lg);transition:opacity var(--transition-fast),transform var(--transition-fast)}.dashboard-cta-btn:hover{opacity:.9;transform:translateY(-1px)}[data-theme=dark] .subject-card,[data-theme=dark] .dashboard-empty{background:var(--surface-secondary);border-color:var(--border-subtle)}@media(max-width:640px){.dashboard{padding:var(--spacing-md) var(--spacing-sm)}.subjects-grid{grid-template-columns:1fr}.dashboard-header h2{font-size:var(--font-size-2xl)}}@media(prefers-reduced-motion:reduce){.subject-card,.dashboard-cta-btn{transition:none!important;transform:none!important}}
