:root{--ink:#0d1c3e;--sub:#526385;--blue:#1467f8;--blue-light:#e6f0ff;--outline:#e3e9f4;--panel:#fff;--bg:#fff;--soft:#f7faff;--sidebar:184px;--slot-height:36px;--shadow:0 10px 30px rgba(39,73,133,.075)}
*{box-sizing:border-box}body{margin:0;font-family:Inter,Arial,sans-serif;background:var(--bg);color:var(--ink);font-size:13px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #a7ccff;outline-offset:2px}.hidden{display:none!important}.ico{width:18px;height:18px;display:inline-flex;flex:none;vertical-align:middle}.ico svg{height:100%;width:100%;stroke:currentColor;fill:none;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round}.muted{color:#7785a3}.app-shell{width:100%;min-height:100vh}.topbar{min-height:98px;display:flex;align-items:flex-start;padding:12px 17px 10px 15px;gap:23px}.avatar-button{width:99px;height:99px;border:0;background:transparent;padding:0;border-radius:50%;overflow:hidden;flex-shrink:0}.avatar-button img{width:100%;height:100%;object-fit:cover;border-radius:50%}.brand-heading{padding-top:0;min-width:0}.brand-heading h1{font-size:clamp(27px,2.6vw,37px);font-weight:800;letter-spacing:-1.65px;line-height:1.2;margin:0 0 5px;white-space:nowrap}.brand-heading p{font-size:16px;color:#556687;font-weight:500;white-space:nowrap;margin:0}.brand-heading p span{padding:0 8px;color:#5a6989}.topbar-controls{margin-left:auto;display:flex;align-items:center;gap:14px;padding-top:9px;white-space:nowrap}.date-navigator{display:flex;border:1px solid #dce4f2;border-radius:11px;overflow:hidden;height:45px;background:#fff}.icon-btn{width:39px;display:flex;align-items:center;justify-content:center;border:none;background:#fff;color:#193463}.icon-btn+.date-range-btn,.date-range-btn+.icon-btn{border-left:1px solid #e5eaf2}.date-range-btn{border:none;padding:0 11px;min-width:169px;display:flex;align-items:center;gap:7px;justify-content:center;color:#263b5f;background:#fff;font-weight:550}.today-btn{height:45px;border:1px solid #dce4f2;border-radius:11px;padding:0 24px;background:#fff;font-weight:550;color:#17274d}.view-switch{display:flex;border:1px solid #dce4f2;border-radius:10px;overflow:hidden;height:45px}.view-btn{border:none;border-right:1px solid #dce4f2;display:flex;align-items:center;justify-content:center;gap:7px;min-width:101px;padding:0 15px;background:#fff;color:#1c315a;font-size:13px;font-weight:550}.view-btn:last-child{border-right:0}.view-btn.active{background:#377ff5;color:#fff}.overflow-wrap{position:relative}.overflow-btn{height:45px;width:51px;border:1px solid #dce4f2;border-radius:11px;background:#fff;color:#172b55;display:grid;place-items:center}.overflow-menu{z-index:80;position:absolute;right:0;top:52px;min-width:214px;border:1px solid #dce5f5;background:#fff;border-radius:12px;padding:7px;box-shadow:var(--shadow)}.overflow-menu button{display:flex;align-items:center;gap:11px;width:100%;border:0;background:#fff;padding:10px;border-radius:8px;color:#1f355d;text-align:left;font-size:12px}.overflow-menu button:hover{background:#eef5ff}.page-grid{display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr)}.sidebar{padding:9px 8px 20px 15px;min-width:0}.main-nav{display:flex;flex-direction:column;gap:2px;margin-bottom:15px}.nav-btn{display:flex;align-items:center;gap:12px;color:#35496f;background:transparent;border:0;border-radius:11px;min-height:43px;text-align:left;padding:0 11px;font-size:13px;font-weight:500}.nav-btn .ico{width:20px;height:20px}.nav-btn.active,.nav-btn:hover{color:#085dea;background:#e7f0ff}.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:9px;color:#fff;background:linear-gradient(180deg,#247aff,#0061f5);font-weight:600;box-shadow:0 3px 8px rgba(17,102,255,.15)}.primary-button:hover{filter:brightness(.975)}.sidebar-add{height:42px;width:100%;margin:1px 0 20px}.side-section{margin:0 0 16px}.section-heading{margin:0 4px 10px 5px;font-weight:700;color:#172648;font-size:12px}.section-heading small{font-size:11px;font-weight:450}.subject-filter-list,.quick-filter-list{display:flex;flex-direction:column;gap:5px}.subject-chip{border:0;display:flex;align-items:center;gap:9px;width:100%;height:30px;padding:0 10px;border-radius:16px;color:#122957;font-size:11.5px;font-weight:550;text-align:left;background:var(--chip-bg,#f1f4f9)}.subject-chip:hover{filter:saturate(1.2) brightness(.98)}.subject-chip.active{outline:2px solid #76a9fa;outline-offset:1px}.subject-chip .subject-round{height:17px;width:17px;border-radius:50%;display:grid;place-items:center;color:#fff;background:var(--chip-fg,#5c6c8e);font-size:11px}.side-add-subject{margin-top:6px;width:100%;height:33px;display:flex;align-items:center;gap:12px;border:0;border-radius:12px;background:#f0f3f8;color:#394d72;padding:0 12px;text-align:left;font-size:12px}.quick-filter-list{gap:2px}.filter-btn{border:0;display:flex;align-items:center;gap:11px;text-align:left;padding:0 11px;width:100%;min-height:37px;background:transparent;color:#324c76;border-radius:10px;font-weight:500;font-size:12px}.filter-btn .ico{width:17px;height:17px}.filter-btn.active,.filter-btn:hover{background:#deebff;color:#0460e9}.sidebar-foot{font-size:10px;color:#8e9bb0;margin-top:24px;padding-left:8px}.tiny-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#30bf78;margin-right:5px}.content-area{padding:0 14px 20px 9px;min-width:0}.schedule-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:0 0 10px;min-height:0}.mini-info{font-size:12px;color:#627699;white-space:nowrap}.mini-info b{color:#2763bc}.toolbar-actions{display:flex;align-items:center;gap:9px;margin-left:auto}.toolbar-add{height:34px;padding:0 17px}.input-search{height:36px;border:1px solid var(--outline);border-radius:8px;padding:0 11px;display:flex;align-items:center;gap:7px;background:#fff;color:#7b8aa6;min-width:210px}.input-search input{border:0;outline:0;min-width:0;width:100%;background:transparent;color:#1a2a4e;font-size:11.5px}.select-wrap{border:1px solid var(--outline);border-radius:8px;display:flex;align-items:center;gap:7px;padding:0 10px;min-width:116px;height:36px}.select-wrap select{color:#314366;border:0;background:transparent;outline:0;width:100%;font-size:11.5px}.timetable-outer{overflow-x:auto;border:1px solid #e4eaf4;border-radius:13px;box-shadow:0 1px 3px rgba(49,73,106,.022);background:#fff}.timetable{min-width:1000px}.day-count-1 .timetable{min-width:350px}.calendar-header{display:grid;grid-template-columns:92px repeat(var(--day-count),minmax(0,1fr));height:54px}.head-time{display:grid;place-items:center;font-weight:700;color:#1f3154;border-right:1px solid #ecf0f7}.day-header{background:var(--day-tint);border-right:1px solid #f4f5f9;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;color:#13294e}.day-header strong{font-size:14px;font-weight:800;letter-spacing:-.4px}.day-header span{font-size:11px;color:#1d2e4d}.day-header.is-today{box-shadow:inset 0 -3px 0 #1975fc}.calendar-body{display:grid;grid-template-columns:92px repeat(var(--day-count),minmax(0,1fr));height:calc(var(--slot-count) * var(--slot-height));position:relative}.time-rail{position:relative;border-right:1px solid #e8edf5;background:#fff}.time-tick{position:absolute;left:0;width:100%;height:var(--slot-height);padding:11px 8px 0 17px;color:#425879;font-size:12px;white-space:nowrap;line-height:1}.day-column{position:relative;border-right:1px solid #edf1f7;background:repeating-linear-gradient(to bottom,#fff 0px,#fff calc(var(--slot-height) - 1px),#edf2f8 calc(var(--slot-height) - 1px),#edf2f8 var(--slot-height))}.day-column:last-child{border-right:0}.day-column.weekend{background-color:#fcfdff;background-image:repeating-linear-gradient(to bottom,rgba(247,250,255,.8) 0px,rgba(247,250,255,.8) calc(var(--slot-height) - 1px),#edf2f8 calc(var(--slot-height) - 1px),#edf2f8 var(--slot-height))}.free-slot{position:absolute;left:5px;right:5px;height:calc(var(--slot-height) - 7px);border:1px dashed #b9d8ff;background:rgba(247,251,255,.85);border-radius:7px;color:#1668ef;font-size:11px;display:flex;align-items:center;justify-content:center;gap:3px;padding:0 3px;white-space:nowrap;overflow:hidden}.free-slot:hover{background:#e7f2ff;border-color:#328aff;z-index:4}.free-slot .ico{width:12px;height:12px}.free-slot.muted-free{opacity:.16}.free-slot.muted-free:hover{opacity:1}.class-card{z-index:5;position:absolute;left:5px;right:5px;border-radius:7px;border:1px solid rgba(255,255,255,.7);padding:10px 10px 6px;color:#06254f;text-align:left;overflow:hidden;box-shadow:0 2px 3px rgba(15,55,90,.02);transition:transform .12s,box-shadow .12s;cursor:pointer}.class-card:hover{transform:translateY(-1px);box-shadow:0 3px 10px #132e5227;z-index:8}.class-card h3{font-size:12px;margin:0 17px 7px 0;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.class-card .student-line{display:flex;gap:6px;align-items:center;font-size:11px;min-width:0}.class-card .student-line .student-flag{font-size:16px;line-height:1;flex-shrink:0}.class-card .student-line .student-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.class-card .platform-mark{margin-left:auto}.card-menu-dots{position:absolute;right:7px;top:6px;color:#223e65;border:0;background:transparent;padding:1px;opacity:.8}.card-menu-dots .ico{width:14px;height:14px}.class-card.small-card{padding:4px 7px}.class-card.small-card h3{margin:0;font-size:10px}.class-card.small-card .student-line{display:none}.platform-mark{display:inline-grid;place-items:center;width:20px;height:18px;border-radius:4px;color:#fff;font-size:13px;font-weight:800;line-height:1;flex-shrink:0}.platform-mark.zoom{background:#1677ff}.platform-mark.meet{background:transparent;font-size:17px}.platform-mark.teams{background:#5542b2;font-size:12px}.platform-mark.other{background:#677899;font-size:12px}.day-empty-note{position:absolute;top:15px;left:0;right:0;text-align:center;color:#a0adc0;font-size:12px}.class-list-panel{margin-top:14px;border-radius:12px;border:1px solid #e3e9f3;overflow:hidden;background:#fff}.class-list-heading{display:flex;align-items:center;gap:10px;justify-content:space-between;min-height:56px;padding:8px 16px}.class-list-heading h2{font-size:16px;margin:0;font-weight:750;letter-spacing:-.2px}.class-list-heading h2 span{color:#596a86;font-size:12px;font-weight:500}.class-list-actions{display:flex;align-items:center;gap:9px}.list-table-scroll{width:100%;overflow-x:auto}.list-table{border-collapse:collapse;width:100%;min-width:950px;table-layout:fixed}.list-table th{height:33px;text-align:left;background:#f1f5fb;color:#334a74;font-weight:650;font-size:11px;border-right:1px solid #e8edf6;padding:0 12px}.list-table th:last-child{border-right:0}.list-table td{height:40px;border-top:1px solid #e9edf4;border-right:1px solid #edf1f7;padding:5px 12px;color:#253959;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.list-table td:last-child{border-right:0}.list-table tbody tr:hover td{background:#f7faff}.list-table th.check-col,.list-table td.check-col{width:45px;text-align:center;padding:0}.list-table th:nth-child(2){width:165px}.list-table th:nth-child(3){width:165px}.list-table th:nth-child(4){width:220px}.list-table th:nth-child(5){width:125px}.list-table th:nth-child(6){width:145px}.list-table th:last-child{width:100px;text-align:center}.native-check{appearance:none;-webkit-appearance:none;width:15px;height:15px;border:1.5px solid #aab9d1;background:#fff;border-radius:3px;vertical-align:middle}.native-check:checked{background:#2578fa;border-color:#2578fa}.native-check:checked:after{content:'✓';color:#fff;font-weight:800;position:relative;top:-2px;left:2px}.table-subject{border-radius:7px;display:inline-flex;align-items:center;padding:6px 9px;font-weight:650;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle}.topic-input{border:1px solid #dbe4f2;border-radius:5px;padding:6px 8px;width:110px;max-width:45%;color:#526481;font-size:11px;margin-left:6px;background:#fff}.student-td{display:flex;gap:8px;align-items:center}.student-td .student-flag{font-size:16px}.status-pill{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:15px;font-size:11px;font-weight:600;white-space:nowrap;background:#e7ebf3;color:#5f6e86}.status-pill.completed{background:#c6f5dc;color:#14774b}.status-pill.progress{background:#cfe5ff;color:#1670de}.status-pill.cancelled{background:#ffe0e1;color:#bf354e}.status-pill .status-dot{width:8px;height:8px;border-radius:50%;background:currentColor}.row-actions{display:flex;gap:8px;align-items:center;justify-content:center}.action-icon-btn{background:transparent;color:#176dff;border:0;padding:4px}.action-icon-btn .ico{width:16px;height:16px}.no-results{text-align:center!important;padding:26px!important;color:#8393aa!important}.page-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:15px}.page-head h2{font-size:24px;letter-spacing:-.6px;margin:0 0 5px}.page-head p{margin:0;color:#70809a}.page-actions{display:flex;gap:10px}.inline-primary{padding:11px 17px}.panel-card{border:1px solid #e1e8f4;background:#fff;border-radius:13px;overflow:hidden}.panel-card+.panel-card{margin-top:16px}.card-padding{padding:22px}.summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:18px}.stat-card{padding:22px;border:1px solid #e5eaf4;border-radius:12px;background:#fff}.stat-card .stat-num{font-size:30px;font-weight:800;margin-top:11px;letter-spacing:-1px}.stat-card .stat-label{color:#667795;font-size:12px}.inline-empty{padding:28px;text-align:center;color:#7487a5}.student-row{display:flex;align-items:center;gap:14px;padding:14px 20px;border-bottom:1px solid #ebeff5}.student-row:last-child{border-bottom:0}.student-initials{height:39px;width:39px;display:grid;place-items:center;background:#eaf1ff;color:#256aef;border-radius:50%;font-weight:700}.student-detail{flex:1}.student-detail strong{display:block;font-size:13px}.student-detail small{display:block;margin-top:4px;color:#8c9ab2}.student-row .student-flag{font-size:21px}.student-tools{display:flex;gap:9px}.light-button{background:#f5f8fd;border:1px solid #e1e9f4;color:#264369;padding:8px 12px;border-radius:9px}.lesson-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}.lesson-tile{border:1px solid #e6ecf4;border-radius:13px;padding:20px;background:#fff;text-align:left;min-height:131px}.lesson-tile:hover{box-shadow:var(--shadow)}.lesson-tile .tile-dot{display:block;width:30px;height:30px;border-radius:50%;margin-bottom:12px}.lesson-tile strong{font-size:14px}.lesson-tile small{display:block;color:#7d8da8;margin-top:7px}.report-list{max-width:650px}.report-item{display:flex;align-items:center;gap:15px;margin:14px 0}.report-item .r-label{width:135px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.report-track{height:12px;background:#edf2fa;border-radius:8px;flex:1;overflow:hidden}.report-fill{height:100%;border-radius:8px}.report-count{width:20px;text-align:right;color:#60738e;font-weight:650}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.settings-panel h3{margin:0 0 6px;font-size:17px}.settings-panel p{margin:0 0 20px;color:#8290a9;line-height:1.5}.form-field{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}.form-field label{font-size:12px;font-weight:650;color:#34466a}.form-field input,.form-field select,.form-field textarea{width:100%;height:40px;border:1px solid #dce5f1;border-radius:8px;padding:8px 11px;background:#fff;color:#243754;outline:none}.form-field textarea{height:auto;min-height:80px;resize:vertical}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:#4184ff;box-shadow:0 0 0 3px #e9f1ff}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-footer{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}.modal-backdrop{position:fixed;inset:0;background:rgba(16,28,52,.36);backdrop-filter:blur(3px);display:grid;place-items:center;z-index:200;padding:15px}.modal{width:min(580px,100%);max-height:calc(100vh - 36px);overflow:auto;background:#fff;border:1px solid #e3e9f3;border-radius:17px;box-shadow:0 24px 65px rgba(10,23,50,.21)}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:21px 24px 16px;border-bottom:1px solid #eef1f6}.modal-head h2{margin:0;font-size:20px;letter-spacing:-.45px}.modal-head p{margin:5px 0 0;font-size:12px;color:#72839f}.close-modal{display:grid;place-items:center;background:#f3f6fb;color:#455d83;border:0;width:31px;height:31px;border-radius:8px}.modal-content{padding:20px 24px 24px}.modal-subhint{background:#eff6ff;color:#31659d;border-radius:7px;padding:9px 11px;font-size:11px;margin:8px 0 0}.modal-cancel{padding:10px 16px;background:#f3f6fb;border:1px solid #e0e7f1;border-radius:9px;color:#385071}.modal-save{padding:11px 18px}.modal-danger{margin-right:auto;color:#c33345;background:#fff2f3;border:1px solid #ffd5db;padding:10px 12px;border-radius:8px}.toast{position:fixed;right:25px;bottom:25px;z-index:300;background:#162d58;color:#fff;padding:13px 17px;border-radius:10px;box-shadow:var(--shadow);font-size:13px;max-width:400px}.toast.error{background:#b43d4a}.date-picker-pop{position:absolute;top:66px;right:450px;z-index:100;background:#fff;padding:13px;border:1px solid #e0e7f2;border-radius:11px;box-shadow:var(--shadow)}.date-picker-pop input{border:1px solid #dce4f1;padding:8px;border-radius:7px}.time-settings{display:flex;align-items:center;gap:8px}.time-settings .ico{color:#1e78ff}.slot-legend{font-size:11px;color:#637896}.slot-legend .legend-empty{display:inline-block;border:1px dashed #8cbdff;height:13px;width:17px;border-radius:3px;vertical-align:middle;background:#f5faff;margin-right:4px}.unsaved-note{font-size:11px;color:#8290a6;margin-top:12px}.meeting-link{color:#116af5;text-decoration:none}.meeting-link:hover{text-decoration:underline}.mobile-menu-hint{display:none}
@media(max-width:1360px){:root{--sidebar:172px}.topbar{gap:12px}.avatar-button{width:75px;height:75px}.brand-heading h1{font-size:28px}.brand-heading p{font-size:13px}.topbar-controls{gap:7px}.date-navigator,.view-switch,.today-btn,.overflow-btn{height:39px}.view-btn{min-width:75px;padding:0 9px}.today-btn{padding:0 12px}.date-range-btn{min-width:152px;font-size:12px}.content-area{padding-right:10px}.sidebar{padding-left:10px}.timetable{min-width:930px}.class-card{padding:8px 5px 4px}.class-card h3{font-size:11px}.class-card .student-line{font-size:10px}}
@media(max-width:1100px){.topbar{flex-wrap:wrap;align-items:center}.brand-heading h1{font-size:27px}.topbar-controls{width:100%;justify-content:flex-end;padding-top:0;margin-left:0}.page-grid{grid-template-columns:152px minmax(0,1fr)}.sidebar{padding:9px 6px 20px}.nav-btn{padding-left:8px}.content-area{padding:0 10px 20px}.settings-grid{grid-template-columns:1fr}}
@media(max-width:650px){.topbar{gap:10px;padding:10px 10px 6px}.avatar-button{width:55px;height:55px}.brand-heading h1{font-size:20px;letter-spacing:-.8px;white-space:normal}.brand-heading p{font-size:10px;white-space:normal}.brand-heading p span{padding:0 2px}.topbar-controls{justify-content:space-between;gap:5px;overflow:auto}.date-range-btn{min-width:130px;font-size:10px}.icon-btn{width:25px}.today-btn{padding:0 8px}.view-btn{min-width:55px;font-size:10px;padding:0 6px}.view-btn .ico{display:none}.overflow-btn{width:34px}.page-grid{display:block}.sidebar{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:7px 10px 10px}.main-nav{flex-direction:row;width:100%;overflow:auto;margin:0}.nav-btn{white-space:nowrap;padding:0 9px;min-height:34px;gap:5px}.nav-btn .ico{width:15px;height:15px}.sidebar-add{width:auto;padding:0 14px;margin:0;height:35px}.side-section,.sidebar-foot{display:none}.content-area{padding:8px 8px 18px}.schedule-toolbar{flex-wrap:wrap}.mini-info{font-size:10px}.class-list-heading{flex-wrap:wrap}.class-list-actions{width:100%}.input-search{flex:1}.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.two-fields{grid-template-columns:1fr}.date-picker-pop{left:10px;right:auto;top:125px}}

/* V2: editable times and weekly Class List tabs */
.head-time{gap:5px}.head-time .ico{width:12px;height:12px;color:#2f7bf2}
.time-tick{border:0;background:transparent;text-align:left;cursor:pointer;display:flex;align-items:flex-start;gap:5px;align-items:center;padding:0 3px 0 9px;line-height:1;z-index:1;border-radius:5px;transition:background .15s;color:#384e73;font-weight:550}
.time-tick .ico{width:11px;height:11px;opacity:0;flex-shrink:0;color:#2377f9}
.time-tick:hover,.time-tick:focus-visible{background:#e5f0ff;color:#1265d5;outline:0;z-index:3}
.time-tick:hover .ico,.time-tick:focus-visible .ico{opacity:1}
.class-date-tabs{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));padding:6px 12px 9px;gap:7px;border-top:1px solid #edf1f8;background:#fafcff}
.class-date-tab{border:1px solid #e5eaf3;background:#fff;border-radius:9px;min-height:61px;padding:7px 5px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;cursor:pointer;color:#486083;transition:box-shadow .13s,border-color .13s,background .13s}
.class-date-tab span{font-size:10px;font-weight:780;letter-spacing:.7px}
.class-date-tab strong{font-size:12px;font-weight:720;color:#283c5f}
.class-date-tab small{font-size:10px;color:#798aa2}
.class-date-tab:hover{border-color:#94bbff;background:#f5f9ff}
.class-date-tab.active{background:#e8f1ff;border:1.5px solid #3484fa;box-shadow:0 1px 5px #266bea21}
.class-date-tab.active span,.class-date-tab.active strong{color:#1167e2}
.class-date-tab.active small{color:#3f7ad1}
.table-time-edit{border:0;background:none;color:#276bc3;display:inline-flex;align-items:center;gap:5px;padding:5px 0;font-size:11px;font-weight:660;white-space:nowrap;cursor:pointer}
.table-time-edit .ico{width:11px;height:11px;opacity:.65}
.table-time-edit:hover{color:#1052af;text-decoration:underline}
.time-change-example{background:#eff5ff;color:#395476;padding:13px 14px;margin:10px 0;border-radius:9px;border:1px solid #dae9fc;font-size:12px}
.time-change-example p{margin:7px 0 0;line-height:1.65}
.shift-classes-toggle{display:flex;align-items:flex-start;gap:11px;padding:12px 13px;background:#edf6ff;border:1px solid #d6e7ff;border-radius:10px;margin-top:13px;cursor:pointer}
.shift-classes-toggle input{width:18px;height:18px;accent-color:#2577ef;margin-top:1px}
.shift-classes-toggle span{display:flex;flex-direction:column;gap:4px}
.shift-classes-toggle strong{font-size:12px;color:#164b93}
.shift-classes-toggle small{color:#57718e;font-size:11px;line-height:1.4}
@media (max-width:700px){.class-date-tabs{display:flex;overflow-x:auto;scroll-snap-type:x mandatory}.class-date-tab{flex:0 0 92px;scroll-snap-align:start}}

/* V3: visible lesson Start → End times on every colored timetable card */
.class-card{padding:4px 7px 3px;outline-offset:2px}
.class-card .lesson-time-range{
 display:flex;align-items:center;gap:4px;min-width:0;margin:0 15px 2px 0;
 color:#254e78;font-weight:760;font-size:9.5px;line-height:12px;
 white-space:nowrap;letter-spacing:-.18px;
}
.class-card .lesson-time-start,.class-card .lesson-time-end{white-space:nowrap}
.class-card .lesson-time-arrow{color:#6580a3;opacity:.85;font-weight:800}
.class-card h3{font-size:11px;line-height:13px;margin:0 15px 2px 0}
.class-card .student-line{font-size:10px;line-height:15px;gap:4px}
.class-card .student-line .student-flag{font-size:13px}
.class-card .platform-mark{width:15px;height:15px;font-size:10px}
.class-card .platform-mark .ico{width:12px;height:12px}
.card-menu-dots{top:15px;right:4px}
.class-card.small-card{padding:2px 5px}
.class-card.small-card .lesson-time-range{font-size:9px;line-height:11px;margin:0 10px 1px 0;gap:3px}
.class-card.small-card h3{line-height:11px;font-size:10px;margin:0 12px 0 0}
.class-card.small-card .student-line{display:none}
.class-card.small-card .card-menu-dots{top:12px;right:2px}
.class-card:focus-visible{outline:2px solid #1677ff}
@media(max-width:1360px){.class-card .lesson-time-range{font-size:9px;gap:3px}.class-card .student-line{font-size:9px}.class-card h3{font-size:10px}}

/* V4 editable teacher name, next to the profile picture */
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.brand-heading{flex:0 1 auto;min-width:0;padding-top:1px}
.brand-heading .brand-kicker{font-size:11px;line-height:15px;letter-spacing:1.2px;font-weight:780;color:#397bda;margin-bottom:3px}
.brand-heading .teacher-title-row{min-height:44px;display:flex;align-items:center;min-width:0}
.brand-heading .teacher-name-display{display:inline-flex;min-width:0;max-width:100%;align-items:center;gap:11px;background:transparent;border:0;padding:0 4px 1px 0;text-align:left;color:var(--ink);border-radius:6px}
.brand-heading .teacher-name-display h1{font-size:clamp(27px,2.55vw,37px);line-height:1.08;margin:0;letter-spacing:-1.2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:380px}
.brand-heading .teacher-name-display:hover h1{color:#155bd2}
.brand-heading .teacher-name-pencil{display:inline-flex;width:27px;height:27px;flex-shrink:0;border-radius:8px;align-items:center;justify-content:center;background:#eaf2ff;color:#2373e7;opacity:0.72;transition:opacity .15s,background .15s}
.brand-heading .teacher-name-display:hover .teacher-name-pencil,.brand-heading .teacher-name-display:focus-visible .teacher-name-pencil{opacity:1;background:#d6e7ff}
.brand-heading .teacher-name-pencil svg{width:14px;height:14px}
.brand-heading .teacher-inline-form{display:flex;align-items:center;gap:6px;min-width:0;max-width:100%}
.brand-heading .teacher-inline-form input{width:clamp(160px,22vw,345px);min-width:80px;height:42px;background:white;border:1.5px solid #4490fd;color:#182e53;border-radius:9px;font-size:22px;font-weight:750;letter-spacing:-.5px;padding:5px 10px;outline-offset:2px}
.brand-heading .teacher-inline-form .inline-name-save{height:37px;border:0;border-radius:8px;background:#1d76fa;color:white;font-size:12px;font-weight:720;padding:0 12px}
.brand-heading .teacher-inline-form .inline-name-cancel{height:34px;width:30px;border:0;border-radius:8px;background:#eff3f9;color:#466383;font-size:22px;line-height:1}
@media(max-width:1360px){.brand-heading .teacher-name-display h1{font-size:28px;max-width:230px}.brand-heading .teacher-name-pencil{width:24px;height:24px}.brand-heading .brand-kicker{font-size:10px}}
@media(max-width:1100px){.brand-heading .teacher-name-display h1{max-width:min(62vw,450px)}}
@media(max-width:650px){.brand-heading .brand-kicker{font-size:9px;letter-spacing:.7px}.brand-heading .teacher-title-row{min-height:28px}.brand-heading .teacher-name-display h1{font-size:21px;max-width:190px}.brand-heading .teacher-name-pencil{width:22px;height:22px}.brand-heading .teacher-name-pencil svg{width:12px;height:12px}.brand-heading .teacher-inline-form input{height:34px;font-size:16px;width:150px}.brand-heading .teacher-inline-form .inline-name-save{height:31px;padding:0 8px}.brand-heading .teacher-inline-form .inline-name-cancel{width:24px;height:29px}}

/* V5 break time blocks */
.class-card.break-card{border:1px dashed rgba(183,125,26,.55);box-shadow:0 2px 6px rgba(120,86,29,.08)}
.class-card.break-card .lesson-time-range{color:#7a5416}
.class-card.break-card h3{color:#6e4612}
.class-card.break-card .break-line .student-name{font-weight:650;color:#8b5d1a}
.class-card.break-card .student-line .student-flag{font-size:14px}
.break-row td{background:#fffcf5}
.list-table tbody tr.break-row:hover td{background:#fff7e6}
.break-list-chip{font-weight:650;color:#785019}
.break-subject{border:1px dashed rgba(183,125,26,.35)}
.status-pill.break-pill{background:#f8ebcb;color:#7a5313}
.status-pill.break-pill .status-dot{background:#c9932f}
