:root{--ink:#17233c;--muted:#718096;--line:#e7eaf0;--bg:#f5f7fb;--blue:#3559d9;--navy:#122342;--green:#2a9d74;--orange:#f19b52;--violet:#8066d8}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Manrope,Arial,sans-serif;font-size:14px}.sidebar{position:fixed;inset:0 auto 0 0;width:242px;background:var(--navy);color:#fff;padding:27px 18px;display:flex;flex-direction:column;z-index:4}.brand{display:flex;align-items:center;gap:12px;font-size:18px;font-weight:800;padding:0 10px 28px}.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#fff;color:var(--navy);font-family:serif;font-size:22px}.sidebar nav{display:flex;flex-direction:column;gap:5px}.nav-item{border:0;background:transparent;color:#aeb9cd;text-align:left;border-radius:9px;padding:12px 13px;font:600 13px Manrope;cursor:pointer}.nav-item span{display:inline-block;width:27px;font-size:17px}.nav-item b{float:right;background:#df684f;color:#fff;border-radius:20px;padding:2px 7px;font-size:10px}.nav-item.active,.nav-item:hover{background:#20365d;color:white}.sidebar-foot{margin-top:auto;border-top:1px solid #2d4163;padding:22px 10px 0;display:flex;align-items:center;gap:10px}.sidebar-foot strong,.sidebar-foot small{display:block;font-size:11px}.sidebar-foot small{color:#8593aa;margin-top:3px}.status-dot{width:9px;height:9px;border-radius:50%;background:#42c890;box-shadow:0 0 0 4px #244b50}main{margin-left:242px}header{height:73px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px}.crumb{color:#8993a6;font-size:12px}.crumb span{margin:0 9px;color:#c8ced9}.user{display:flex;align-items:center;gap:12px;text-align:right}.user strong,.user small{display:block;font-size:11px}.user small{color:#919aab;margin-top:3px}.avatar{width:37px;height:37px;display:grid;place-items:center;border-radius:50%;background:#e7ebfa;color:#3852af;font-weight:800;font-size:11px}.mobile-menu{display:none}.page{padding:31px 38px 50px;max-width:1600px;margin:auto}.heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:24px}.eyebrow{text-transform:uppercase;letter-spacing:.12em;color:#63708a;font-size:10px;font-weight:800;margin:0 0 7px}.heading h1{font-size:28px;line-height:1.1;margin:0 0 7px;letter-spacing:-.03em}.subtitle{margin:0;color:#7c8698;font-size:12px}.actions{display:flex;gap:9px}.btn{height:39px;padding:0 16px;border-radius:8px;border:1px solid var(--line);background:white;color:var(--ink);font:700 12px Manrope;cursor:pointer}.btn.primary{color:#fff;background:var(--blue);border-color:var(--blue);box-shadow:0 5px 14px #3559d930}.notice{display:flex;align-items:center;gap:13px;background:#edf9f4;border:1px solid #cfeee0;border-radius:10px;padding:13px 16px;margin-bottom:20px}.notice>span{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#d5f1e4;color:var(--green);font-weight:900}.notice strong{font-size:12px}.notice p{font-size:10px;color:#648074;margin:2px 0 0}.notice button{margin-left:auto;border:0;background:transparent;color:#23815f;font:700 11px Manrope;cursor:pointer}.toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.week-nav,.view-switch{display:flex;gap:7px}.week-nav button,.view-switch button{height:34px;border:1px solid var(--line);background:#fff;border-radius:7px;color:#657086;cursor:pointer;font:700 11px Manrope}.week-nav>button:first-child,.week-nav>button:nth-child(3){width:34px;font-size:20px}.week-nav .date-button{padding:0 14px;color:var(--ink);min-width:201px}.date-button span{margin-right:8px;color:#6d7992}.date-button i{font-style:normal;margin-left:12px}.week-nav .today{padding:0 14px;margin-left:3px}.view-switch{padding:3px;background:#e9edf4;border-radius:8px;gap:0}.view-switch button{border:0;background:transparent;height:28px;padding:0 15px}.view-switch button.active{background:#fff;box-shadow:0 1px 4px #1d2d4c17;color:var(--ink)}.filters{display:flex;align-items:end;gap:10px;margin-bottom:15px}.filters label{font-size:9px;text-transform:uppercase;letter-spacing:.08em;font-weight:800;color:#7a8497}.filters select{display:block;margin-top:5px;width:168px;height:37px;border:1px solid var(--line);border-radius:7px;background:#fff;padding:0 11px;color:#38445a;font:600 11px Manrope}.lesson-count{margin-left:auto;color:#8a93a4;font-size:10px;padding-bottom:10px}.lesson-count b{color:var(--ink)}.schedule-wrap{background:#fff;border:1px solid var(--line);border-radius:11px;overflow:auto;box-shadow:0 8px 30px #24334e0a}.schedule{min-width:950px;display:grid;grid-template-columns:72px repeat(6,minmax(145px,1fr));grid-template-rows:52px repeat(5,114px)}.schedule>*{border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.corner{display:grid;place-items:center;color:#a7afbd;font-size:10px}.day-head{padding:10px 12px;background:#fbfcfe}.day-head strong,.day-head span{display:block}.day-head strong{font-size:11px}.day-head span{font-size:9px;color:#9aa2b1;margin-top:4px}.day-head.today-head{background:#f1f4ff}.day-head.today-head strong{color:var(--blue)}.time{padding:14px 9px;color:#8791a3;font-size:9px;text-align:center;background:#fbfcfe}.time b{display:block;font-size:10px;color:#4f5c72;margin-bottom:3px}.slot{padding:6px;position:relative}.lesson{height:100%;border-radius:7px;padding:8px 9px;border-left:3px solid;cursor:pointer;transition:.15s;overflow:hidden}.lesson:hover{transform:translateY(-2px);box-shadow:0 6px 15px #23335520}.lesson.lecture{background:#eef1ff;border-color:var(--blue)}.lesson.practice{background:#f5efff;border-color:var(--violet)}.lesson.sport{background:#fff3e8;border-color:var(--orange)}.lesson small{font-size:8px;text-transform:uppercase;font-weight:800;letter-spacing:.06em;opacity:.68}.lesson strong{font-size:10px;display:block;line-height:1.35;margin:4px 0}.lesson span{display:block;color:#687287;font-size:8px;line-height:1.5}.more{display:grid;place-items:center;height:100%;border:1px dashed #d9dee8;border-radius:7px;color:#768196;font-size:10px;cursor:pointer}.legend{display:flex;gap:20px;padding:13px 5px;color:#7f899c;font-size:9px}.legend span{display:flex;align-items:center;gap:6px}.legend i{width:8px;height:8px;border-radius:2px}.legend i.lecture{background:var(--blue)}.legend i.practice{background:var(--violet)}.legend i.sport{background:var(--orange)}.legend .hint{margin-left:auto}.toast{position:fixed;right:25px;bottom:25px;padding:13px 18px;background:#17233c;color:white;border-radius:8px;box-shadow:0 8px 30px #0003;font-size:11px;opacity:0;transform:translateY(12px);transition:.25s;pointer-events:none;z-index:10}.toast.show{opacity:1;transform:none}.modal-backdrop{position:fixed;inset:0;background:#0d183666;display:none;place-items:center;z-index:20;padding:20px}.modal-backdrop.open{display:grid}.modal{width:min(440px,100%);background:white;border-radius:14px;padding:27px;position:relative;box-shadow:0 25px 70px #0a143d55}.close{position:absolute;right:16px;top:13px;border:0;background:transparent;font-size:23px;color:#8993a6;cursor:pointer}.modal-type{font-size:9px;font-weight:800;text-transform:uppercase;color:var(--blue);letter-spacing:.1em}.modal h2{font-size:20px;margin:8px 30px 20px 0}.modal-details{font-size:12px}.detail-row{display:flex;padding:10px 0;border-bottom:1px solid var(--line)}.detail-row span{width:120px;color:#8993a6}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:22px}@media(max-width:900px){.sidebar{transform:translateX(-100%)}main{margin-left:0}.mobile-menu{display:block;border:0;background:transparent;font-size:20px}.page{padding:24px 18px}header{padding:0 18px}.crumb{display:none}.heading{align-items:flex-start}.filters{overflow-x:auto}.lesson-count{display:none}}@media(max-width:600px){.heading{display:block}.actions{margin-top:18px}.notice button{display:none}.toolbar{align-items:flex-start;gap:10px}.view-switch,.today{display:none!important}.filters label:not(:first-child){display:none}.filters select{width:100%}.heading h1{font-size:24px}.schedule-wrap{margin-right:-18px;border-radius:10px 0 0 10px}.legend .hint{display:none}}
/* Public mode is the safe default, before the authentication request completes. */
body:not(.authenticated) nav a:not([href$="index.html"]),body:not(.authenticated) nav .feature,body:not(.authenticated) .heading .actions,body:not(.authenticated) #importBtn,body:not(.authenticated) #exportBtn,body:not(.authenticated) #addBtn,body:not(.authenticated) #excelInput,body:not(.authenticated) .user>div,body:not(.authenticated) .user>.avatar,body:not(.authenticated) .modal-actions .ghost{display:none!important}
