:root{color-scheme:light;--blue:#3266e3;--blue-dark:#2453c3;--ink:#192744;--muted:#7b8599;--line:#e8ecf4;--soft:#f4f7fc;--red:#c84558;font-family:Inter,"Segoe UI",Roboto,Arial,sans-serif;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:#f5f7fc;color:var(--ink);font-size:14px;line-height:1.5}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible,tr:focus-visible{outline:3px solid #98b6ff;outline-offset:3px}button{border:0}svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}[hidden]{display:none!important}.app-shell{max-width:1120px;padding:0 38px;margin:auto}.topbar{height:92px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e6eaf3}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;font-size:25px;font-weight:750;letter-spacing:-1px;color:var(--ink)}.brand-dot{color:var(--blue)}.brand-mark{height:38px;width:38px;display:grid;place-items:center;background:var(--blue);color:white;border-radius:12px;box-shadow:0 5px 12px #3266e325}.brand-mark svg{width:24px;height:24px;stroke-width:1.7}.top-actions{display:flex;gap:9px}.icon-button{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:transparent;color:#727f97}.icon-button:hover{background:#e9eef9;color:var(--blue)}.page-intro{padding:36px 0 25px}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:1.5px;font-weight:650;color:var(--muted)}h1{font-size:32px;line-height:1.25;letter-spacing:-1px;margin:9px 0 8px;font-weight:750}.page-intro p{margin:0;color:var(--muted);font-size:14px}.connection-banner{display:flex;align-items:center;gap:12px;padding:15px 19px;margin:0 0 24px;border:1px solid #e1e8f7;border-radius:15px;background:#edf2ff}.status-dot{height:8px;width:8px;border-radius:50%;background:#7291c7;flex:none;box-shadow:0 0 0 4px #7291c712}.status-dot.online{background:#37a077;box-shadow:0 0 0 4px #37a07715}.status-dot.error{background:#d89931;box-shadow:0 0 0 4px #d8993115}.status-dot.connecting{animation:pulse 1.4s infinite}.connection-banner>div{flex:1;min-width:0}.connection-banner strong{display:block;font-size:12px;font-weight:650;color:#41608d}.connection-banner span:not(.status-dot){font-size:12px;color:#7388a9}.connection-banner .text-button{font-size:12px;white-space:nowrap;flex:none}.text-button{color:var(--blue);background:none;padding:6px 0;font-weight:650}.text-button:hover{text-decoration:underline}.text-button span{margin-left:5px;color:var(--blue)!important}.schedule-panel{background:white;border:1px solid #e7ebf4;box-shadow:0 7px 30px #213b6a04;border-radius:21px;overflow:hidden}.panel-heading{padding:25px 27px 20px;display:flex;justify-content:space-between;align-items:center;gap:12px}.panel-heading h2{margin:0;font-size:21px;letter-spacing:-.5px}.panel-heading p{margin:4px 0 0;color:var(--muted);font-size:12px}.shared-badge{display:flex;gap:6px;align-items:center;background:#f6f8fc;color:#8190a7;padding:6px 10px;border-radius:8px;font-size:11px;max-width:180px}.shared-badge span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shared-badge svg{width:14px;height:14px}.week-picker{background:#f1f4fa;display:flex;gap:4px;padding:5px;margin:0 27px 24px;border-radius:12px;max-width:420px}.week-picker button{flex:1;text-align:left;display:flex;justify-content:space-between;align-items:center;gap:12px;background:transparent;padding:10px 14px;border-radius:8px;color:#7b879d;font-weight:650;font-size:13px}.week-picker button[aria-pressed=true]{background:white;color:var(--blue);box-shadow:0 2px 5px #233b6712}.week-number{font-size:10px;font-weight:600;color:#b4bdce}.week-picker button[aria-pressed=true] .week-number{color:#8da7e7}.day-tabs{display:flex;border-bottom:1px solid var(--line);padding:0 24px;gap:4px;overflow:auto;scrollbar-width:none}.day-tabs::-webkit-scrollbar{display:none}.day-tabs button{flex:1;min-width:55px;background:transparent;padding:12px 9px 14px;position:relative;color:#8a94a8;white-space:nowrap;font-size:12px;font-weight:650}.day-tabs button[aria-current=true]{color:var(--blue)}.day-tabs button[aria-current=true]:after{position:absolute;bottom:0;left:9px;right:9px;height:3px;background:var(--blue);border-radius:3px 3px 0 0;content:""}.day-tabs button .today-dot{position:absolute;top:6px;left:50%;margin-left:-2px;width:4px;height:4px;border-radius:50%;background:#5d83d7}.day-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:24px 27px 18px}.day-heading>div{display:flex;align-items:center;gap:10px}.day-heading h3{font-size:17px;margin:0;font-weight:700;letter-spacing:-.3px}.day-heading>div>span{font-size:10px;color:#96a1b4;background:#f2f5fa;padding:2px 7px;border-radius:6px;white-space:nowrap}.primary-button,.secondary-button,.danger-solid-button{border-radius:9px;padding:10px 16px;font-size:12px;font-weight:650;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;min-height:39px}.primary-button{background:var(--blue);color:white;box-shadow:0 3px 7px #3266e316}.primary-button:hover{background:var(--blue-dark)}.primary-button>span:first-child{font-size:19px;font-weight:400;line-height:1}.secondary-button{background:white;color:#64728c;border:1px solid #dfe5f0}.secondary-button:hover{background:#f4f7fc}.danger-button{background:transparent;color:var(--red);font-size:12px;padding:10px 4px;font-weight:650}.danger-solid-button{background:var(--red);color:white}.table-scroll{width:100%;overflow:auto}.schedule-table{border-collapse:collapse;width:100%;min-width:490px;table-layout:fixed}.col-time{width:14%}.col-subject{width:28%}.col-homework{width:33%}.col-teacher{width:25%}.schedule-table th{text-align:left;background:#f8faff;font-size:10px;letter-spacing:.2px;font-weight:600;color:#919cb0;border-top:1px solid #eff2f8;border-bottom:1px solid #eff2f8;padding:12px 16px}.schedule-table th:first-child,.schedule-table td:first-child{padding-left:27px}.schedule-table th:last-child,.schedule-table td:last-child{padding-right:27px}.schedule-table td{padding:22px 16px;vertical-align:top;border-bottom:1px solid #eff2f8;line-height:1.55;font-size:12px;overflow-wrap:anywhere}.schedule-table tbody tr:last-child td{border-bottom:0}.schedule-table tbody tr{cursor:pointer;transition:background .15s}.schedule-table tbody tr:hover{background:#f8faff}.time-start{font-weight:700;font-size:13px;line-height:1.4;display:block;font-variant-numeric:tabular-nums}.time-end{color:#9ca6b8;font-size:11px;display:block;font-variant-numeric:tabular-nums;margin-top:3px}.subject-name{display:block;font-size:13px;font-weight:650;line-height:1.45;margin:0 0 9px}.kind-tag{display:inline-flex;align-items:center;gap:4px;color:#4c72b4;background:#edf3ff;border-radius:5px;padding:2px 6px;font-size:9px;white-space:nowrap}.kind-tag.seminar{background:#f0edff;color:#8a6ac5}.kind-tag.practice{background:#e9f6f0;color:#488f71}.homework-text{white-space:pre-wrap;color:#64738f;font-size:12px;line-height:1.6}.no-homework{color:#b2bbc9;font-size:11px}.teacher-text{color:#73819b;font-size:11px;white-space:pre-wrap;line-height:1.65}.table-hint{margin:0;padding:18px 27px;display:flex;gap:8px;align-items:center;border-top:1px solid var(--line);font-size:10px;color:#a0aabc}.table-hint svg{width:13px;height:13px}.empty-state{text-align:center;padding:28px 22px 40px}.empty-icon{width:55px;height:55px;margin:0 auto 14px;display:grid;place-items:center;background:#f1f5ff;border-radius:17px;color:#6f91dc}.empty-icon svg{width:27px;height:27px}.empty-state h4{font-size:16px;margin:0 0 5px}.empty-state p{color:var(--muted);font-size:12px;max-width:300px;margin:0 auto 18px}.footer{display:flex;justify-content:space-between;gap:20px;font-size:10px;color:#a6afc0;padding:23px 2px 35px}.modal-layer{position:fixed;inset:0;background:#15284473;backdrop-filter:blur(3px);z-index:20;display:flex;align-items:center;justify-content:center;padding:22px;overflow:auto}.dialog{width:100%;max-width:510px;background:white;border-radius:21px;padding:26px;box-shadow:0 20px 100px #172b4b30;max-height:calc(100dvh - 44px);overflow:auto}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.dialog-heading h2{font-size:22px;letter-spacing:-.6px;margin:4px 0 0}.dialog-heading .eyebrow{font-size:9px;letter-spacing:1.5px}.close-dialog{font-size:28px;font-weight:300;line-height:1;width:32px;height:32px;align-self:flex-start}.dialog form{display:flex;flex-direction:column;gap:15px}.dialog label{display:flex;flex-direction:column;gap:6px;font-size:11px;font-weight:650;color:#687790;min-width:0}.form-row{display:flex;gap:12px}.form-row>label{flex:1}.dialog input,.dialog select,.dialog textarea{border:1px solid #dfe5ef;border-radius:9px;background:#fff;padding:11px 12px;min-height:42px;color:var(--ink);font-size:13px;outline:none;min-width:0;width:100%;font-weight:400}.dialog input:focus,.dialog select:focus,.dialog textarea:focus{border-color:#7e9eea;box-shadow:0 0 0 3px #3266e311}.dialog input::placeholder,.dialog textarea::placeholder{color:#aeb7c7}.dialog textarea{resize:vertical;line-height:1.5}.dialog small{font-weight:400;font-size:10px;color:#99a3b6;line-height:1.55}.dialog-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:5px;padding-top:18px;border-top:1px solid var(--line)}.actions-right{display:flex;gap:9px;margin-left:auto}.dialog-description{color:#7c889f;font-size:12px;line-height:1.75;margin:0 0 22px}.settings-note{font-size:10px;line-height:1.65;color:#99a5b9;margin:0}.form-message{background:#fff1ee;color:#ba5a4c;border:1px solid #f9d8d1;padding:11px 12px;border-radius:9px;margin:0;font-size:12px;line-height:1.6}.parity-settings{background:#f7f9fd;border-radius:10px;padding:12px 14px;font-size:11px;color:#7b88a0}.parity-settings summary{cursor:pointer;color:#6b7d9b;font-weight:600}.parity-settings p{line-height:1.7;font-size:11px}.parity-settings .form-row{margin:12px 0 4px}.parity-settings input,.parity-settings select{padding:9px;font-size:11px}.parity-settings .text-button{font-size:10px}.small-dialog{max-width:380px}.small-dialog .dialog-actions{justify-content:flex-end}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);z-index:50;background:#233653;color:white;box-shadow:0 6px 25px #19274425;padding:12px 18px;border-radius:12px;font-size:12px;max-width:calc(100% - 34px);width:max-content;text-align:center;line-height:1.5}.busy{pointer-events:none;opacity:.65}@keyframes pulse{50%{opacity:.35}}@media(min-width:1000px){.app-shell{max-width:1100px;padding:0 60px}.page-intro{padding-top:41px}.schedule-table td{padding-top:25px;padding-bottom:25px}.schedule-table th{font-size:11px}.homework-text{font-size:13px}.teacher-text{font-size:12px}.subject-name{font-size:14px}.schedule-table{min-width:650px}.schedule-table th:first-child,.schedule-table td:first-child{padding-left:30px}}@media(max-width:620px){.app-shell{padding:0 18px}.topbar{height:74px}.brand{font-size:23px;gap:9px}.brand-mark{width:34px;height:34px;border-radius:10px}.brand-mark svg{width:21px;height:21px}.top-actions{gap:3px}.icon-button{width:36px;height:36px}.page-intro{padding:28px 0 22px}.eyebrow{font-size:10px;letter-spacing:1.2px}h1{font-size:26px;letter-spacing:-.8px}.page-intro p{font-size:12px;max-width:260px;line-height:1.6}.connection-banner{padding:13px 14px;gap:10px;border-radius:12px;margin-bottom:19px;align-items:flex-start}.status-dot{margin-top:6px}.connection-banner strong{font-size:11px}.connection-banner span:not(.status-dot){font-size:10px;display:block;line-height:1.5;margin-top:3px}.connection-banner .text-button{font-size:10px;padding-top:1px}.connection-banner .text-button span{display:inline;margin:0;font-size:11px}.schedule-panel{border-radius:17px}.panel-heading{padding:21px 17px 17px}.panel-heading h2{font-size:19px}.panel-heading p{font-size:10px}.shared-badge{font-size:9px;max-width:118px;gap:5px;padding:5px 7px}.shared-badge svg{width:12px;height:12px}.week-picker{margin:0 17px 18px;max-width:none;border-radius:10px;padding:4px}.week-picker button{font-size:12px;padding:10px 11px;gap:7px}.week-number{font-size:9px}.day-tabs{padding:0 7px;gap:0}.day-tabs button{font-size:10px;min-width:38px;padding:13px 5px 12px}.day-tabs button[aria-current=true]:after{left:7px;right:7px}.day-heading{padding:19px 17px 16px;gap:8px}.day-heading>div{gap:6px;flex-wrap:wrap}.day-heading h3{font-size:15px}.day-heading>div>span{font-size:9px;padding:2px 5px}.day-heading .primary-button{font-size:10px;padding:9px 10px;min-height:34px;gap:4px}.primary-button>span:first-child{font-size:16px}.schedule-table{min-width:450px}.col-time{width:14%}.col-subject{width:28%}.col-homework{width:32%}.col-teacher{width:26%}.schedule-table th{font-size:9px;padding:11px 10px}.schedule-table td{padding:19px 10px}.schedule-table th:first-child,.schedule-table td:first-child{padding-left:17px}.schedule-table th:last-child,.schedule-table td:last-child{padding-right:17px}.subject-name{font-size:12px}.time-start{font-size:12px}.time-end{font-size:10px}.homework-text{font-size:11px}.teacher-text{font-size:10px}.kind-tag{font-size:8px;padding:2px 5px}.table-hint{font-size:9px;padding:15px 17px;align-items:flex-start;line-height:1.5}.table-hint svg{width:12px;height:12px;margin-top:1px}.footer{font-size:9px;line-height:1.5;gap:18px;padding-top:18px}.footer>span:last-child{text-align:right}.modal-layer{padding:13px;align-items:center}.dialog{padding:21px;border-radius:17px;max-height:calc(100dvh - 26px)}.dialog-heading{margin-bottom:18px}.dialog-heading h2{font-size:20px}.dialog form{gap:13px}.dialog input,.dialog select,.dialog textarea{font-size:13px;padding:10px 11px}.dialog-actions{gap:8px;padding-top:15px}.dialog-actions .primary-button,.dialog-actions .secondary-button,.dialog-actions .danger-solid-button{font-size:11px;padding:10px 12px}.actions-right{gap:7px}.settings-actions>.secondary-button{padding-left:10px;padding-right:10px}.settings-dialog .dialog-description{font-size:11px}.form-row{gap:10px}.dialog label{font-size:10px}.dialog small{font-size:9px}.parity-settings .form-row{flex-direction:column;gap:12px}.parity-settings input,.parity-settings select{font-size:12px}#toast{bottom:20px;font-size:11px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

@media(max-width:620px){.schedule-table{min-width:0}.col-time{width:15%}.col-subject{width:27%}.col-homework{width:30%}.col-teacher{width:28%}.schedule-table th,.schedule-table td{padding-left:6px;padding-right:6px}.schedule-table th:first-child,.schedule-table td:first-child{padding-left:12px}.schedule-table th:last-child,.schedule-table td:last-child{padding-right:12px}.schedule-table th{font-size:8.5px;overflow-wrap:anywhere}.subject-name{font-size:11px}.homework-text,.teacher-text{font-size:10px}.time-start{font-size:11px;white-space:nowrap}.time-end{font-size:10px;white-space:nowrap}.no-homework{font-size:10px}.kind-tag{font-size:8px;white-space:normal}.schedule-table td{overflow-wrap:anywhere}.table-hint{font-size:9px}}
