.header{border-bottom:1px solid var(--color-border);box-sizing:border-box;background:#fff;justify-content:space-between;align-items:center;height:64px;padding:0 32px;display:flex}.header__logo{color:var(--color-text);font-size:1.2rem;font-weight:600;text-decoration:none}.header__nav{align-items:center;gap:24px;display:flex}.header__link{color:#000;font-size:.9rem;font-weight:500;text-decoration:none}.header__link:hover{color:var(--color-text);text-decoration:none}.header__logout{cursor:pointer;background:0 0;border:0;padding:0;font-family:inherit}.header__logout:hover{text-decoration:underline}@media (width<=700px){.header{gap:12px;height:auto;min-height:64px;padding:12px 16px}.header__nav{flex-wrap:wrap;justify-content:flex-end;gap:12px}.header__link{font-size:.8rem}}.math-class-table-wrap{width:min(100%,520px);margin-top:8px;overflow-x:auto}.math-class-table{border-collapse:collapse;width:100%;color:var(--color-text);text-align:center;background:#fff}.math-class-table td{border:1px solid var(--color-border);height:42px;padding:0}.math-class-table__button{width:100%;min-width:42px;height:100%;min-height:42px;color:var(--color-accent);cursor:pointer;font:inherit;background:#f5f7fa;border:0;border-radius:0;padding:0;display:block}.math-class-table__button:hover,.math-class-table__button:focus-visible,.math-class-table__button[aria-pressed=true]{background:#3b82f624;outline:none}.full-schedule-table{width:100%}.full-schedule-table__scroll{background:#fff;border:1px solid #e2e2e2;border-radius:8px;width:100%;overflow-x:auto}.schedule-grid{border-collapse:separate;border-spacing:0;table-layout:fixed;color:#202124;background:#fff;width:100%;min-width:1080px}.schedule-grid th,.schedule-grid td{box-sizing:border-box;text-align:left;vertical-align:middle;border-bottom:1px solid #e5e5e5;border-right:1px solid #e5e5e5;padding:12px 14px}.schedule-grid thead th{white-space:nowrap;background:#fff;height:46px;font-size:.875rem;font-weight:700}.schedule-grid thead th:not(:first-child){font-size:1rem}.schedule-grid thead th:first-child,.schedule-grid tbody th{width:112px}.schedule-grid tbody th{color:#73777c;white-space:nowrap;vertical-align:top;padding:0 14px;font-size:.75rem;font-weight:500}.schedule-grid__row-heading{grid-template-rows:repeat(7,63px);display:grid}.schedule-grid__row-label{flex-direction:column;justify-content:center;gap:5px;display:flex}.schedule-grid__row-heading time{color:#85898e;font-size:.7rem;line-height:1.2}.schedule-grid tbody td{height:441px;padding:0}.schedule-grid__timeline{background:repeating-linear-gradient(#0000 0 62px,#e5e5e5 62px 63px);height:441px;position:relative;overflow:visible}.schedule-grid tr>:last-child{border-right:0}.schedule-grid tbody tr:last-child>*{border-bottom:0}.schedule-grid__day-hovered,.schedule-grid__day-hovered .schedule-grid__lesson--non-standard{background-color:#f3f4f6}.schedule-grid__lesson strong{color:#5f6368;text-overflow:ellipsis;white-space:nowrap;font-size:.875rem;font-weight:700;line-height:1.25;display:block;overflow:hidden}.schedule-grid__lesson{z-index:1;box-sizing:border-box;min-width:0;min-height:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;gap:6px;padding:12px 14px;display:flex;position:absolute}.schedule-grid__lesson--split{border-left:1px solid #e5e5e5}.schedule-grid__lesson--non-standard{z-index:3;background:#fff;border-top:1px solid #cfd4dc;border-bottom:1px solid #cfd4dc}.schedule-grid__lesson:hover,.schedule-grid__lesson:focus-visible{z-index:2}.schedule-grid__lesson--non-standard:hover,.schedule-grid__lesson--non-standard:focus-visible{z-index:4}.schedule-grid__lesson:hover strong{color:var(--color-accent)}.schedule-grid__lesson:focus-visible{outline:2px solid var(--color-accent);outline-offset:3px;border-radius:3px}.schedule-grid__lesson-content{min-width:0;display:block}.schedule-grid__lesson-meta{color:#85898e;text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:.7rem;line-height:1.2;display:block;overflow:hidden}.schedule-grid__homework-badge,.schedule__homework-badge{color:#315da8;background:#e8f0fe;border-radius:4px;flex:none;padding:2px 5px;font-size:.65rem;font-weight:700;line-height:1.2}@media (width<=700px){.schedule-grid{min-width:1080px}}.file-drop-dialog{z-index:2000;background:#11182773;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.file-drop-dialog__window{background:var(--color-bg);width:min(480px,100%);color:var(--color-text);border-radius:12px;padding:20px;box-shadow:0 20px 50px #00000040}.file-drop-dialog__head{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.file-drop-dialog__head h2{margin:0;font-size:1.15rem}.file-drop-dialog__close{width:32px;height:32px;color:var(--color-text-muted);cursor:pointer;background:0 0;border:0;border-radius:50%;font-size:1.4rem;line-height:1}.file-drop-dialog__close:hover{background:var(--color-bg-secondary)}.file-drop-dialog__zone{border:2px dashed var(--color-border);background:var(--color-bg-secondary);color:var(--color-text-muted);text-align:center;cursor:pointer;border-radius:10px;flex-direction:column;align-items:center;gap:6px;padding:40px 16px;transition:border-color .15s,background .15s;display:flex}.file-drop-dialog__zone strong{color:var(--color-text)}.file-drop-dialog__zone:hover,.file-drop-dialog__zone:focus-visible{border-color:var(--color-accent);outline:none}.file-drop-dialog__zone.is-dragging{border-color:var(--color-accent);background:#eff6ff}.file-drop-dialog__icon{color:var(--color-accent);font-size:2rem;line-height:1}.file-drop-dialog__hint{color:var(--color-text-muted);text-align:center;margin:12px 0 0;font-size:.85rem}.file-drop-dialog__camera{border:1px solid var(--color-accent);background:var(--color-accent);color:#fff;width:100%;font:inherit;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;margin-top:12px;padding:12px 16px;font-weight:600;display:flex}.main-content{border-left:solid #add8e6;height:100%;padding:32px}.main-content h1{color:var(--color-text);margin-bottom:12px;font-size:1.8rem}.main-content p{color:var(--color-text-muted);margin-bottom:24px;font-size:1rem;line-height:1.6}.main-content__placeholder{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px;display:grid}.placeholder-card{border:1px solid var(--color-border);background-color:#fff;border-radius:8px;height:120px;box-shadow:0 1px 3px #0000000d}.document-links{flex-direction:column;gap:8px;padding:0;list-style:none;display:flex}.document-links a{color:var(--color-accent);font-weight:500;text-decoration:none}.document-links a:hover{text-decoration:underline}.pdf-viewer{border:none;width:100%;height:100%;display:block}.main-content--pdf{padding:0;overflow:hidden}.main-content--homework{background:var(--color-bg-secondary);position:relative;overflow-y:auto}.homework-view{background:var(--color-bg);border:1px solid var(--color-border);border-radius:12px;width:min(100%,900px);min-height:min(680px,80%);margin:24px auto;padding:clamp(24px,5vw,56px);position:relative;box-shadow:0 8px 28px #00000014}.homework-view__close{width:28px;height:28px;color:var(--color-text-muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:50%;font-size:1.5rem;line-height:1;position:absolute;top:12px;right:12px}.homework-view__close:hover{background:var(--color-bg-secondary);color:var(--color-text)}.homework-view__subject{color:var(--color-accent);font-weight:600}.homework-view__title{margin:12px 0 20px}.homework-view__description{white-space:pre-wrap;color:var(--color-text)!important;font-size:1.2rem!important}.homework-view__files{margin-top:40px}.homework-view__files h2{margin-bottom:12px;font-size:1rem}.homework-view__file-list{flex-wrap:wrap;gap:8px;display:flex}.homework-view__file{border:1px solid var(--color-border);background:var(--color-bg);color:var(--color-text);font:inherit;cursor:pointer;border-radius:6px;padding:8px 12px}.homework-view__file-item{align-items:center;gap:2px;display:inline-flex}.homework-view__file-remove{width:28px;height:28px;color:var(--color-text-muted);cursor:pointer;background:0 0;border:0;border-radius:50%;font-size:1.1rem;line-height:1}.homework-view__file-remove:hover:not(:disabled){color:#dc2626;background:#fee2e2}.homework-view__file-remove:disabled{opacity:.5;cursor:progress}.homework-view__file--active{border-color:var(--color-accent);color:var(--color-accent);background:#eff6ff}.homework-view__actions{flex-wrap:wrap;align-items:center;gap:12px;margin-top:24px;display:flex}.homework-view__attach{border:1px solid var(--color-accent);background:var(--color-accent);color:#fff;font:inherit;cursor:pointer;border-radius:6px;padding:8px 16px}.homework-view__attach:disabled{opacity:.6;cursor:progress}.homework-view__delete,.homework-view__cancel{color:#dc2626;font:inherit;cursor:pointer;background:0 0;border:1px solid #dc2626;border-radius:6px;padding:8px 16px}.homework-view__cancel{border-color:var(--color-border);color:var(--color-text)}.homework-view__delete:disabled,.homework-view__cancel:disabled{opacity:.6;cursor:progress}.homework-view__confirm{flex-wrap:wrap;align-items:center;gap:8px;display:inline-flex}.homework-view__upload-error{color:#dc2626;margin:0}.homework-view__file-frame{border:0;width:100%;height:70vh}.homework-view__file-image{max-width:100%;max-height:70vh}.homework-view__file-open{color:var(--color-accent)}.homework-view__file-preview{border:1px dashed var(--color-border);background:var(--color-bg-secondary);min-height:300px;color:var(--color-text-muted);text-align:center;overflow-wrap:anywhere;border-radius:8px;place-items:center;gap:12px;margin-top:16px;padding:24px;display:grid}.pdf-iframe{border:none;width:100%;height:100%;display:block}.pdf-viewer{border:none;width:100%;height:calc(100% - 10px)}@media (width<=700px){.main-content{border-top:1px solid #add8e6;border-left:none;height:auto;padding:20px 16px}.main-content--pdf{min-height:70vh}}.full-schedule{box-sizing:border-box;filter:saturate(.7);background-image:url(../../../public/img/background1.jpeg);background-position:50%;background-repeat:no-repeat;background-size:cover;height:calc(100vh - 64px);padding:32px;overflow:auto}.full-schedule__header{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.full-schedule__header h1{color:var(--color-text);margin:0;font-size:1.8rem;font-weight:600}.schedule-class-selector{min-width:140px;color:var(--color-text-muted);flex-direction:column;gap:4px;font-size:12px;display:flex;position:relative}.schedule-class-selector__label{color:var(--color-text-muted);font-size:12px}.schedule-class-selector__trigger{min-height:34px;color:var(--color-text);cursor:pointer;font:inherit;text-align:left;background:#f7f8fa;border:1px solid #00000014;border-radius:9px;justify-content:space-between;align-items:center;gap:10px;padding:0 10px;font-size:13px;display:flex}.schedule-class-selector__trigger:hover{background:#f2f4f7;border-color:#00000024}.schedule-class-selector__trigger:focus-visible{outline-offset:2px;outline:2px solid #3b82f659}.schedule-class-selector__chevron{color:var(--color-text-muted);font-size:11px}.schedule-class-selector__menu{z-index:10;background:#fff;border:1px solid #00000014;border-radius:12px;width:min(440px,100vw - 36px);padding:10px;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 8px 24px #0f172a1f}.full-schedule__error,.schedule-class-selector__empty{color:#b42318;margin:0 0 12px;font-size:14px}.schedule-lesson-modal{z-index:1000;background:#0f172a80;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.schedule-lesson-modal__dialog{border-radius:12px;width:min(900px,100%);max-height:min(800px,100%);overflow:hidden;box-shadow:0 16px 48px #0000003d}.schedule-lesson-modal__dialog .main-content--homework{box-sizing:border-box;border:0;border-radius:12px;width:100%;height:min(800px,100vh - 32px);max-height:calc(100vh - 32px);padding:16px;overflow-y:auto}.schedule-lesson-modal__dialog .homework-view{width:100%;min-height:0;margin:0 auto}@media (width<=700px){.full-schedule{height:auto;min-height:calc(100vh - 64px);padding:20px 12px}.full-schedule__header{margin-bottom:16px}.full-schedule__header h1{font-size:1.35rem}}:root{--color-bg:#fff;--color-bg-secondary:#f5f5f5;--color-text:#1a1a1a;--color-border:#e0e0e0;--color-accent:#3b82f6;--color-text-muted:#6b7280}*{box-sizing:border-box;margin:0;padding:0}body{color:var(--color-text);background-color:var(--color-bg-secondary);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif}.app-container{width:100%;height:100vh;display:flex}.sidebar{flex-shrink:0;overflow:hidden}.main-content-wrapper{flex:1;min-width:0;overflow:hidden}.resizer{cursor:col-resize;-webkit-user-select:none;user-select:none;touch-action:none;flex-shrink:0;width:6px}.app-container--resizing *{cursor:col-resize!important}.app-container--resizing .main-content-wrapper{pointer-events:none}@media (width<=700px){.app-container{flex-direction:column;height:auto;min-height:calc(100vh - 64px)}.sidebar{height:auto;width:100%!important}.resizer{display:none}.main-content-wrapper{width:100%;overflow:visible}}.schedule{flex-direction:column;height:100%;padding:20px;display:flex}.schedule__header{border-bottom:1px solid var(--color-border);justify-content:space-between;align-items:center;margin-bottom:24px;padding-bottom:16px;display:flex}.schedule__header h2{color:var(--color-text);font-size:1.5rem;font-weight:600}.schedule__date{color:var(--color-text-muted);font-size:.875rem}.schedule__list{margin:0;padding:0;list-style:none}.schedule__item{border-bottom:1px solid var(--color-border)}.schedule__item:last-child{border-bottom:none}.schedule__lesson-row{align-items:center;gap:16px;display:flex}.schedule__lesson-group{flex:1;min-width:0;display:flex}.schedule__lesson-button{text-align:left;min-width:0;font:inherit;cursor:pointer;background:0 0;border:0;flex:1 1 0;align-items:center;padding:12px 8px;display:flex}.schedule__lesson-button--split{border-left:1px solid var(--color-border)}.schedule__lesson-button:hover{background:#f0f0f0}.schedule__time{min-width:48px;color:var(--color-text-muted);flex-direction:column;font-size:.875rem;font-weight:500;line-height:1.4;display:flex}.schedule__time span:first-child{color:var(--color-text);font-weight:600}.schedule__details{flex:1;justify-content:space-between;align-items:center;gap:12px;min-width:0;display:flex}.schedule__lesson-content{min-width:0}.schedule__lesson-number{color:var(--color-text-muted);letter-spacing:.5px;margin-bottom:2px;font-size:.75rem;font-weight:400}.schedule__title{color:var(--color-text);font-size:1rem;font-weight:700}.schedule__lesson-meta{color:var(--color-text-muted);margin-top:3px;font-size:.7rem;line-height:1.2}.schedule__homework-button{max-width:55%;color:var(--color-text-muted);font:inherit;text-align:right;overflow-wrap:anywhere;cursor:inherit;background:0 0;border:0;flex:0 55%;padding:0;font-size:.75rem;line-height:1.3}.schedule__homework-badge{color:#315da8;background:#e8f0fe;border-radius:4px;flex:none;margin-left:auto;padding:2px 5px;font-size:.65rem;font-weight:700;line-height:1.2}.schedule__date{align-items:center;gap:8px;display:flex}.schedule__day-button{color:var(--color-text-muted);cursor:pointer;background:0 0;border:none;border-radius:4px;padding:2px 6px;font-size:1.2rem}.schedule__day-button:hover{color:var(--color-text);background:#f0f0f0}.schedule__header-right{flex-direction:column;align-items:flex-end;gap:8px;display:flex}.schedule__full-link{color:var(--color-accent);font-size:.8rem;font-weight:500;text-decoration:none}@media (width<=700px){.schedule{height:auto;padding:16px}}.register-page{background:#fff;justify-content:center;align-items:flex-start;min-height:calc(100vh - 64px);padding:72px 24px;display:flex}.register-card{width:100%;max-width:420px}.register-card h1{color:#191a1c;letter-spacing:-.5px;margin-bottom:12px;font-size:30px;font-weight:600}.register-card__description{color:#666b73;margin-bottom:32px;font-size:15px;line-height:1.5}.register-card__error{color:#b42318;margin:-12px 0 20px;font-size:14px}.register-form{flex-direction:column;gap:20px;display:flex}.register-form__field{color:#292b30;flex-direction:column;gap:8px;font-size:14px;font-weight:500;display:flex}.register-form__field input{color:#191a1c;width:100%;height:46px;font:inherit;background:#fff;border:1px solid #c9cdd3;border-radius:4px;outline:none;padding:0 12px;font-weight:400;transition:border-color .12s,box-shadow .12s}.register-form__field input::placeholder{color:#9297a0}.register-form__field input:focus{border-color:#167dcb;box-shadow:0 0 0 2px #167dcb29}.register-form__submit{color:#fff;cursor:pointer;width:100%;min-height:46px;font:inherit;background:#087cce;border:0;border-radius:4px;margin-top:4px;font-size:15px;font-weight:600;transition:background-color .12s}.register-form__submit:hover{background:#066db7}.register-form__submit:focus-visible{outline-offset:2px;outline:3px solid #087cce4d}.register-form__actions{gap:12px;display:flex}.register-form__actions .register-form__submit{flex:1;width:auto}.register-form__back{color:#292b30;cursor:pointer;min-height:46px;font:inherit;background:#fff;border:1px solid #c9cdd3;border-radius:4px;margin-top:4px;padding:0 18px;font-size:15px;font-weight:500}.register-form__back:hover{background:#f5f6f7}.register-card__signin{color:#666b73;margin-top:24px;font-size:14px}.register-card__signin a{color:#087cce;font-weight:500;text-decoration:none}.register-card__signin a:hover{text-decoration:underline}.profile-form{margin-bottom:20px}.profile-form__success{color:#16803c;margin-top:-8px;font-size:14px}@media (width<=700px){.register-page{min-height:calc(100vh - 64px);padding:48px 20px}}.notifications-settings{border-top:1px solid var(--color-border);margin:24px 0 16px;padding-top:16px}.notifications-settings h2{margin:0 0 8px;font-size:1.1rem}.auth-page{background:var(--color-bg-secondary);justify-content:center;align-items:flex-start;min-height:calc(100vh - 64px);padding:56px 20px;display:flex}.auth-panel{border:1px solid var(--color-border);background:var(--color-bg);border-radius:10px;width:100%;max-width:440px;padding:32px;box-shadow:0 8px 30px #1420300d}.auth-panel__brand{color:var(--color-text);letter-spacing:-.4px;justify-content:center;align-items:center;gap:10px;margin-bottom:28px;font-size:20px;font-weight:650;display:flex}.auth-panel__brand-mark{background:var(--color-accent);color:#fff;border-radius:9px;place-items:center;width:32px;height:32px;font-size:17px;font-weight:700;display:grid}.auth-tabs{background:#f1f3f5;border-radius:7px;grid-template-columns:1fr 1fr;gap:4px;margin-bottom:28px;padding:4px;display:grid}.auth-tabs__tab{color:var(--color-text-muted);text-align:center;border-radius:5px;padding:10px 12px;font-size:14px;font-weight:500;text-decoration:none;transition:color .12s,background-color .12s,box-shadow .12s}.auth-tabs__tab:hover{color:var(--color-text)}.auth-tabs__tab--active{color:var(--color-text);background:#fff;box-shadow:0 1px 3px #1420301f}.auth-panel__content h1{color:var(--color-text);letter-spacing:-.4px;text-align:center;margin-bottom:8px;font-size:24px;font-weight:600}.auth-panel__content>.register-card__description{color:var(--color-text-muted);text-align:center;margin-bottom:24px;font-size:14px;line-height:1.5}.auth-panel .register-form{gap:16px}.auth-panel .register-form__field{gap:7px}.auth-panel .register-form__field input{border-color:#d5d9df;border-radius:6px;height:48px;font-size:14px}.auth-panel .register-form__field input:focus{border-color:var(--color-accent);box-shadow:0 0 0 3px #3b82f621}.auth-panel .register-form__code-row{align-items:flex-end;gap:10px;display:flex}.auth-panel .register-form__code-row .register-form__field{flex:1;min-width:0}.auth-panel .register-form__send-code{border:1px solid var(--color-border);min-height:48px;color:var(--color-text);cursor:pointer;font:inherit;background:#fff;border-radius:6px;flex:none;padding:0 14px;font-size:13px;font-weight:500}.auth-panel .register-form__send-code:hover{background:#f5f6f7}.auth-panel .register-form__send-code:focus-visible{outline-offset:2px;outline:3px solid #3b82f633}.auth-panel .register-card__code-hint{color:var(--color-text-muted);margin:-8px 0 0;font-size:13px}.auth-panel .register-form__submit{background:var(--color-accent);border-radius:6px;min-height:48px}.auth-panel .register-form__submit:hover{background:#2f70db}.auth-panel .register-form__back{border-radius:6px;min-height:48px}.auth-panel .register-form__actions{gap:10px}.auth-panel .register-card__signin{color:var(--color-text-muted);text-align:center;margin-top:22px;font-size:13px}.auth-panel .register-card__signin a{color:var(--color-accent)}.auth-panel .register-card__error{margin:0 0 16px}@media (width<=500px){.auth-page{min-height:calc(100vh - 64px);padding:24px 14px}.auth-panel{border-radius:8px;padding:24px 20px}.auth-panel__brand{margin-bottom:24px}.auth-panel .register-form__code-row{gap:8px}.auth-panel .register-form__send-code{padding:0 10px;font-size:12px}}.math-class-selector{min-width:120px;color:var(--color-text-muted);flex-direction:column;gap:4px;font-size:12px;display:flex;position:relative}.math-class-selector__label{color:var(--color-text-muted);font-size:12px}.math-class-selector__trigger{min-height:34px;color:var(--color-text);cursor:pointer;font:inherit;text-align:left;background:#f7f8fa;border:1px solid #00000014;border-radius:9px;justify-content:space-between;align-items:center;gap:10px;padding:0 10px;font-size:13px;display:flex}.math-class-selector__trigger:hover{background:#f2f4f7;border-color:#00000024}.math-class-selector__trigger:focus-visible{outline-offset:2px;outline:2px solid #3b82f659}.math-class-selector__chevron{color:var(--color-text-muted);font-size:11px}.math-class-selector__menu{z-index:10;background:#fff;border:1px solid #00000014;border-radius:12px;width:min(440px,100vw - 36px);padding:10px;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 8px 24px #0f172a1f}.math-class-selector__menu .math-class-table-wrap{width:100%;margin:0}.math-class-selector__menu .math-class-table td{border-color:#0000000f}.math-class-selector__menu .math-class-table__button{min-width:36px}.math-class-selector__menu .math-class-table__button[aria-pressed=true]{color:var(--color-accent);background:#3b82f61f;font-weight:600}@media (width<=420px){.math-class-selector__menu{left:0;right:auto}}.course-materials{max-width:1100px;color:var(--color-text);margin:0 auto;padding:32px 24px}.course-materials__heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:24px;display:flex}.course-materials__heading h1{margin:4px 0 0;font-size:1.6rem}.course-materials__eyebrow{color:var(--color-accent);text-transform:uppercase;font-size:.85rem;font-weight:600}.course-materials__muted{color:var(--color-text-muted)}.course-materials__error{color:#dc2626}.course-materials__layout{grid-template-columns:260px 1fr;align-items:start;gap:24px;display:grid}.course-materials__sidebar{border:1px solid var(--color-border);background:var(--color-bg-secondary);border-radius:8px;flex-direction:column;gap:4px;padding:12px;display:flex}.course-materials__topic-row{align-items:center;gap:4px;display:flex}.course-materials__topic{min-width:0;color:var(--color-text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;flex:1;justify-content:space-between;align-items:center;gap:8px;padding:8px 10px;display:flex}.course-materials__topic:hover{background:var(--color-bg)}.course-materials__topic.is-active{background:var(--color-bg);color:var(--color-accent);font-weight:600}.course-materials__topic-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.course-materials__count{color:var(--color-text-muted);font-size:.85rem}.course-materials__row-actions button,.course-materials__remove{width:28px;height:28px;color:var(--color-text-muted);cursor:pointer;background:0 0;border:0;border-radius:50%}.course-materials__row-actions button:hover,.course-materials__remove:hover{color:#dc2626;background:#fee2e2}.course-materials__inline-form{flex:1;gap:4px;margin-top:4px;display:flex}.course-materials__inline-form input,.course-materials__link-form input,.course-materials__item-actions select{border:1px solid var(--color-border);background:var(--color-bg);min-width:0;color:var(--color-text);font:inherit;border-radius:6px;padding:6px 8px}.course-materials__inline-form input{flex:1}.course-materials button{font:inherit}.course-materials__inline-form button,.course-materials__toolbar button,.course-materials__link-form button,.course-materials__confirm button{border:1px solid var(--color-border);background:var(--color-bg);color:var(--color-text);cursor:pointer;border-radius:6px;padding:6px 12px}.course-materials .is-primary{border-color:var(--color-accent);background:var(--color-accent);color:#fff}.course-materials .is-danger{color:#dc2626;border-color:#dc2626}.course-materials button:disabled{opacity:.6;cursor:progress}.course-materials__confirm{gap:4px;display:inline-flex}.course-materials__content-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.course-materials__content-head h2{margin:0;font-size:1.2rem}.course-materials__toolbar{gap:8px;display:flex}.course-materials__link-form{grid-template-columns:1fr 1.5fr 1.5fr auto;gap:8px;margin-top:16px;display:grid}.course-materials__list{flex-direction:column;gap:8px;margin:16px 0 0;padding:0;list-style:none;display:flex}.course-materials__item{border:1px solid var(--color-border);background:var(--color-bg);border-radius:8px;align-items:flex-start;gap:12px;padding:12px;display:flex}.course-materials__icon{font-size:1.4rem;line-height:1}.course-materials__body{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.course-materials__body a{color:var(--color-accent);overflow-wrap:anywhere;font-weight:600}.course-materials__meta{color:var(--color-text-muted);font-size:.85rem}.course-materials__description{white-space:pre-line;margin:4px 0 0}.course-materials__item-actions{align-items:center;gap:6px;display:flex}.course-materials-links{margin-top:24px}.course-materials-links ul{flex-wrap:wrap;gap:8px;margin:12px 0 0;padding:0;list-style:none;display:flex}.course-materials-links a{border:1px solid var(--color-border);color:var(--color-accent);border-radius:6px;padding:8px 14px;text-decoration:none;display:inline-block}.course-materials-links a:hover{border-color:var(--color-accent)}@media (width<=700px){.course-materials{padding:20px 12px}.course-materials__heading{flex-direction:column}.course-materials__layout,.course-materials__link-form{grid-template-columns:1fr}.course-materials__item{flex-wrap:wrap}.course-materials__item-actions{justify-content:flex-end;width:100%}}.math-page{background:var(--color-bg);min-height:calc(100vh - 64px);padding:0}.math-content{background:var(--color-bg);width:100%;padding:40px clamp(20px,4vw,64px)}.math-topics{background:var(--color-bg);width:100%;padding:0 clamp(20px,4vw,64px) 40px}.math-content__top{justify-content:space-between;align-items:flex-start;gap:24px;display:flex}.math-content__eyebrow{color:var(--color-accent);text-transform:uppercase;letter-spacing:.06em;margin-bottom:8px;font-size:13px;font-weight:600}.math-content h1{color:var(--color-text);letter-spacing:-.5px;margin-bottom:10px;font-size:30px;font-weight:650}.math-content__description{max-width:560px;color:var(--color-text-muted);margin-bottom:20px;font-size:14px;line-height:1.6}.math-content__actions{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:20px;display:flex}.math-content__link{background:var(--color-accent);color:#fff;border-radius:6px;justify-content:center;align-items:center;min-height:38px;padding:0 14px;font-size:13px;font-weight:600;text-decoration:none;display:inline-flex}.math-content__link:hover{background:#2f70db}.math-admin-table-wrap{overflow-x:auto}.math-admin-table{border-collapse:collapse;width:100%;color:var(--color-text);text-align:left;background:#fff}.math-admin-table th,.math-admin-table td{border:1px solid var(--color-border);padding:12px}.math-admin-table thead th{font-weight:600}.math-admin-table__subject{text-align:center;white-space:nowrap;width:42px;min-width:42px;padding-left:6px!important;padding-right:6px!important}.math-admin-table__files{padding-left:18px}.math-admin-table__file-cell{justify-content:space-between;align-items:center;gap:16px;display:flex}.math-admin-table__file-cell .math-admin-table__files{margin:0}.math-admin-table__empty{color:var(--color-text-muted)}.math-admin-table__upload{border:1px solid var(--color-border);min-height:32px;color:var(--color-accent);cursor:pointer;font:inherit;background:#fff;border-radius:4px;padding:0 10px;font-size:13px}.math-admin-table__upload:hover,.math-admin-table__upload:focus-visible{background:#3b82f61a;outline:none}.math-admin-table__upload:disabled{cursor:wait;opacity:.6}@media (width<=600px){.math-admin-table__file-cell{flex-direction:column;align-items:flex-start;gap:8px}}.math-admin-table__add{width:32px;height:32px;color:var(--color-accent);border-radius:4px;justify-content:center;align-items:center;font-size:24px;line-height:1;text-decoration:none;display:inline-flex}.math-admin-table__add:hover,.math-admin-table__add:focus-visible{background:#3b82f61a;outline:none}.math-admin-table__add:disabled{cursor:wait;opacity:.6}.math-admin-table__plusnik-link{color:var(--color-accent);white-space:nowrap;font-weight:500;text-decoration:none}.math-admin-table__plusnik-link:hover,.math-admin-table__plusnik-link:focus-visible{text-decoration:underline}.math-topics__error{color:#b42318;margin:0 0 12px;font-size:14px}.visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}@media (width<=760px){.math-content{padding:28px 18px}.math-topics{padding:0 18px 28px}.math-content__top{gap:14px}.math-content h1{font-size:25px}.math-content__actions{flex-direction:column;align-items:stretch;width:fit-content}}@media (width<=420px){.math-content__top{flex-direction:column;align-items:stretch;gap:12px}.math-content{padding:24px 14px}.math-topics{padding:0 14px 24px}}.plusnik-page{background:var(--color-bg);min-height:calc(100vh - 64px);padding:32px clamp(20px,4vw,64px)}.plusnik-page__heading{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px;display:flex}.plusnik-page__heading h1{color:var(--color-text);margin-bottom:8px;font-size:28px}.plusnik-page__heading p{color:var(--color-text-muted)}.plusnik-page__heading a{color:var(--color-accent);text-decoration:none}.plusnik-page__heading a:hover,.plusnik-page__heading a:focus-visible{text-decoration:underline}.plusnik-page__table-wrap{overflow-x:auto}.plusnik-page__table{border-collapse:collapse;width:100%;color:var(--color-text);text-align:left;background:#fff}.plusnik-page__table th,.plusnik-page__table td{border:1px solid var(--color-border);padding:12px}.plusnik-page__table th{font-weight:600}.plusnik-page__cell{text-align:center}.plusnik-page__solved{color:var(--color-text-muted)}.plusnik-page__solved.is-solved{color:var(--color-accent);font-size:18px;font-weight:700}.plusnik-page__empty{color:var(--color-text-muted);text-align:center}.plusnik-page__message,.plusnik-page__error,.plusnik-page__progress{color:var(--color-text-muted)}.plusnik-page__error{color:#b42318}.plusnik-page__progress{max-width:520px}.plusnik-page__progress progress{width:100%}@media (width<=600px){.plusnik-page__heading{flex-direction:column}}.plusnik-page__table tr.is-current-user th,.plusnik-page__table tr.is-current-user td{background:#eff6ff}.plusnik-page__progress+.plusnik-page__table-wrap{margin-top:16px}
