:root{--ink:#0f172a;--muted:#64748b;--orange:#f97316;--line:#e2e8f0}*{box-sizing:border-box}body{margin:0;font-family:'Plus Jakarta Sans',sans-serif;color:var(--ink);background:radial-gradient(circle at 8% 0%,rgba(249,115,22,.1),transparent 35%),linear-gradient(145deg,#f8fafc,#eef2ff 70%,#f8fafc);min-height:100vh}button,select,input{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,.grid-scroll:focus-visible{outline:3px solid #fdba74;outline-offset:3px}button:disabled{opacity:.5;cursor:not-allowed}[hidden]{display:none!important}.workspace{max-width:1680px;margin:auto;padding:30px 36px 50px}.page-heading{display:flex;justify-content:space-between;gap:24px;align-items:center;padding:4px 0 26px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:.14em;color:var(--muted);margin:0 0 10px}.eyebrow span{margin:0 10px;color:#cbd5e1}h1{font-size:38px;letter-spacing:-.055em;margin:0;font-weight:800}.title-dot{color:var(--orange)}.intro{font-size:13px;color:var(--muted);margin:10px 0 0}.heading-meta{text-align:right}.heading-meta p{font-size:13px;font-weight:750;margin:10px 0 4px}.heading-meta p span{color:#cbd5e1;margin:0 7px}.heading-meta small{font-size:10px;color:var(--muted)}.status{display:inline-flex;align-items:center;gap:7px;font-size:10px;font-weight:750;background:#ecfdf5;color:#047857;padding:6px 10px;border-radius:100px}.status>span{width:6px;height:6px;background:#10b981;border-radius:100%}.prototype-note{display:flex;gap:10px;align-items:center;font-size:11px;color:#52647d;background:rgba(255,255,255,.7);border:1px solid #dbe3ef;padding:10px 14px;border-radius:12px;margin-bottom:20px}.prototype-note i{color:#f97316}.tabs{display:flex;gap:6px;border-bottom:1px solid #d9e2ef;margin-bottom:22px}.tabs button{display:flex;align-items:center;gap:8px;border:0;border-bottom:3px solid transparent;background:transparent;color:var(--muted);padding:13px 17px;font-size:12px;font-weight:750}.tabs button.active{border-color:var(--orange);color:var(--orange)}.toolbar,.filters,.actions{display:flex;align-items:center;gap:12px}.toolbar{justify-content:space-between;margin-bottom:18px;flex-wrap:wrap}.segmented{display:flex;gap:3px;padding:4px;background:#e7edf7;border:1px solid #dce5f1;border-radius:13px}.segmented button{border:0;background:transparent;border-radius:9px;padding:9px 18px;color:var(--muted);font-size:12px;font-weight:750}.segmented button.active{background:white;color:var(--orange);box-shadow:0 2px 6px #0f172a0b}.picker select{padding:12px 38px 12px 14px;background:#fff;border:1px solid #dbe3ef;border-radius:12px;color:#334155;font-weight:750;font-size:12px;max-width:400px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#fff;border:1px solid #dbe3ef;border-radius:12px;padding:12px 15px;font-size:11px;font-weight:750;color:#475569}.button:hover{background:#f8fafc}.button.primary{background:var(--orange);border-color:var(--orange);color:#fff;box-shadow:0 8px 20px -12px #f97316}.button.primary:hover{background:#ea580c}.schedule-card{background:#fff;border:1px solid var(--line);border-radius:22px;overflow:hidden;box-shadow:0 18px 45px -35px #33415555}.schedule-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 26px}.schedule-heading .eyebrow{font-size:9px;color:var(--orange);margin-bottom:8px}.schedule-heading h2{font-size:23px;letter-spacing:-.035em;margin:0}.schedule-heading p:not(.eyebrow){font-size:11px;color:var(--muted);margin:7px 0 0}.schedule-summary{display:flex;gap:18px;color:var(--muted);font-size:10px;text-align:right;white-space:nowrap}.schedule-summary strong{display:block;font-size:19px;color:#334155;margin-bottom:3px}.grid-scroll{overflow:auto}.timetable{display:grid;grid-template-columns:80px repeat(13,minmax(64px,1fr));min-width:1020px;position:relative;background:#f1f5f9;gap:1px;border-block:1px solid var(--line)}.grid-header{background:#f8fafc;min-height:59px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;font-size:11px;font-weight:800;color:#475569}.grid-header small{font-size:8px;color:#94a3b8;font-weight:600;white-space:nowrap}.day-label{background:#f8fafc;display:flex;align-items:center;justify-content:center;min-height:104px;font-size:11px;font-weight:800;color:#475569}.empty-cell{background:white;border:0;min-height:104px;color:transparent;font-size:18px}.editing .empty-cell:hover{background:#fff7ed;color:#fdba74}.recess-cell{background:repeating-linear-gradient(135deg,#f8fafc,#f8fafc 5px,#f1f5f9 5px,#f1f5f9 6px);display:flex;align-items:center;justify-content:center;color:#94a3b8;font-size:8px;font-weight:700;letter-spacing:.1em}.lesson{border:0;text-align:left;display:flex;flex-direction:column;justify-content:center;gap:5px;padding:12px 10px;min-height:104px;position:relative;background:var(--soft,#fff7ed);color:var(--deep,#1e40af);box-shadow:inset 3px 0 var(--accent,#60a5fa);transition:filter .15s}.lesson:hover{filter:brightness(.965)}.lesson b{font-size:15px;letter-spacing:-.02em}.lesson small{font-size:9px;line-height:1.4;font-weight:650}.lesson .lesson-time{font-size:8px;opacity:.65;margin-top:3px}.lesson.activity-cell{background:#fff7ed;color:#9a3412;box-shadow:inset 3px 0 #fb923c}.grid-footer{display:flex;justify-content:space-between;padding:15px 25px;color:#94a3b8;font-size:9px;gap:12px}.grid-footer i{margin-right:5px}.legend-dot{display:inline-block;width:7px;height:7px;background:#fdba74;border-radius:50%;margin:0 5px 0 12px}.legend-dot.activity{background:#fdba74}.legend-dot.recess{background:#cbd5e1}.bottom-note{display:flex;gap:12px;align-items:center;padding:20px 4px;font-size:11px;color:var(--muted);line-height:1.6}.bottom-note i{color:#94a3b8}.bottom-note b{color:#475569}.mobile-days{display:none}.draft-notice{display:flex;justify-content:space-between;align-items:center;gap:10px;background:#fffbeb;color:#92400e;padding:12px 24px;font-size:11px}.text-button{border:0;background:transparent;color:inherit;font-size:11px;font-weight:750;text-decoration:underline}.section-heading h2{font-size:24px;letter-spacing:-.04em;margin:0}.section-heading p{font-size:12px;color:var(--muted);margin:9px 0 24px}.section-heading.second{margin-top:34px}.directory-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.directory-card,.teacher-card{border:1px solid var(--line);background:#fff;border-radius:18px;padding:23px}.directory-card .group-code{color:#f97316;background:#fff7ed;font-size:12px;font-weight:800;padding:8px 10px;border-radius:9px;display:inline-block}.directory-card h3{font-size:15px;line-height:1.5;margin:16px 0 8px}.directory-card p{font-size:11px;color:var(--muted);line-height:1.8;margin:5px 0}.directory-card .label{font-size:9px;letter-spacing:.09em;font-weight:750;color:#94a3b8;margin-top:18px}.directory-card button{margin-top:16px}.teacher-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.teacher-card{display:flex;align-items:center;gap:13px;padding:18px}.avatar{display:grid;place-items:center;background:#fff7ed;color:#f97316;min-width:42px;height:42px;border-radius:13px;font-size:11px;font-weight:800}.teacher-card h3{font-size:11px;line-height:1.6;margin:0}.teacher-card p{font-size:10px;color:var(--muted);margin:4px 0 0}.version-card{display:flex;gap:22px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:19px;padding:26px;margin-bottom:15px}.version-icon{height:64px;width:64px;display:grid;place-items:center;background:#fff7ed;color:#f97316;border-radius:18px;font-size:24px;flex-shrink:0}.version-icon.draft{background:#fffbeb;color:#d97706}.version-card h3{font-size:17px;margin:12px 0 8px}.version-card p{color:var(--muted);font-size:12px;margin:0 0 8px}.version-card small{font-size:10px;color:#94a3b8}.version-card>.button{margin-left:auto}.badge{font-size:10px;font-weight:750;color:#92400e;background:#fffbeb;border-radius:100px;padding:6px 10px}.history-empty{text-align:center;color:#94a3b8;padding:48px 24px;border:1px dashed #cbd5e1;border-radius:19px}.history-empty>i{font-size:24px}.history-empty h3{font-size:15px;color:#64748b}.history-empty p{font-size:12px;line-height:1.7}.drawer-backdrop{position:fixed;inset:0;z-index:150;background:#0f172a44;backdrop-filter:blur(2px)}.drawer{position:fixed;right:0;top:0;bottom:0;width:420px;max-width:100%;background:#fff;z-index:151;box-shadow:-20px 0 70px #0f172a25;overflow:auto;padding:26px}.drawer-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.drawer-heading .eyebrow{margin:0}.icon-button{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--line);border-radius:10px;background:#fff;color:#64748b}.detail-mark{display:inline-flex;align-items:center;justify-content:center;width:65px;height:65px;border-radius:18px;background:#fff7ed;color:#f97316;font-size:20px;font-weight:800}.drawer h2{font-size:24px;letter-spacing:-.04em;margin:20px 0 8px}.detail-description{font-size:12px;line-height:1.8;color:var(--muted)}.detail-list{margin:25px 0}.detail-list div{padding:16px 0;border-bottom:1px solid var(--line)}.detail-list dt{font-size:9px;letter-spacing:.1em;font-weight:750;color:#94a3b8;text-transform:uppercase;margin-bottom:8px}.detail-list dd{font-size:13px;font-weight:650;margin:0;line-height:1.8}.detail-note{font-size:11px;color:#64748b;line-height:1.8;background:#f8fafc;border-radius:12px;padding:14px}.edit-form{display:grid;gap:16px;margin-top:22px}.edit-form label,.edit-form legend{font-size:11px;font-weight:750;color:#475569}.edit-form select,.edit-form input[type=time]{width:100%;margin-top:7px;padding:11px;border:1px solid #dbe3ef;border-radius:10px;background:#fff;color:#334155;font-size:12px}.time-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.edit-form fieldset{border:1px solid var(--line);border-radius:12px;padding:14px}.edit-form .check-label{display:flex;gap:9px;align-items:center;margin:8px 0;font-size:11px;font-weight:600}.form-error{font-size:11px;color:#b91c1c;line-height:1.7}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:180;padding:13px 22px;background:#0f172a;color:white;border-radius:12px;font-size:12px;max-width:90%;box-shadow:0 12px 35px #0f172a25}.load-error{padding:20px;background:#fef2f2;color:#b91c1c;border-radius:12px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(max-width:1100px){.workspace{padding:24px}.directory-grid,.teacher-grid{grid-template-columns:repeat(2,1fr)}.picker select{max-width:300px}.filters{gap:8px}.actions{gap:8px}}
@media(max-width:700px){.workspace{padding:22px 14px 35px}.page-heading{align-items:flex-start;gap:12px;padding-bottom:20px}h1{font-size:29px}.eyebrow{font-size:8px;letter-spacing:.09em}.intro{font-size:11px;max-width:185px;line-height:1.6}.heading-meta p{font-size:10px}.heading-meta small{font-size:8px}.status{font-size:8px;padding:5px 7px}.prototype-note{font-size:9px;line-height:1.7;align-items:flex-start}.tabs{gap:0}.tabs button{padding:12px 10px;font-size:10px;gap:5px;white-space:nowrap}.toolbar{gap:12px}.filters{width:100%;flex-wrap:wrap}.segmented button{padding:9px 15px;font-size:11px}.picker{flex:1;min-width:180px}.picker select{width:100%;max-width:none;font-size:11px}.actions{width:100%;justify-content:flex-end}.button{font-size:10px;padding:10px 12px}.schedule-heading{padding:20px 16px;align-items:flex-start}.schedule-heading h2{font-size:18px}.schedule-heading p:not(.eyebrow){font-size:9px;line-height:1.7}.schedule-summary{gap:10px;font-size:8px}.schedule-summary strong{font-size:16px}.mobile-days{display:flex;gap:4px;padding:0 14px 15px}.mobile-days button{flex:1;border:1px solid var(--line);background:#fff;border-radius:9px;color:#64748b;font-size:10px;font-weight:750;padding:9px 3px}.mobile-days button.active{background:#f97316;color:#fff;border-color:#f97316}.timetable{min-width:0;grid-template-columns:65px minmax(0,1fr)}.grid-header{min-height:45px}.day-label{display:none}.empty-cell{min-height:58px}.lesson{min-height:65px;padding:12px 15px}.lesson b{font-size:14px}.lesson small{font-size:10px}.recess-cell{min-height:45px}.mobile-time{font-size:10px;line-height:1.7;text-align:center;display:flex;align-items:center;justify-content:center;background:#f8fafc;color:#64748b}.grid-footer{padding:13px 15px;flex-wrap:wrap;font-size:8px}.grid-footer>span:first-child{display:none}.bottom-note{font-size:10px;align-items:flex-start}.directory-grid,.teacher-grid{grid-template-columns:1fr}.directory-card{padding:20px}.version-card{padding:20px;gap:14px;flex-wrap:wrap}.version-icon{width:45px;height:45px;font-size:19px}.version-card>div:nth-child(2){flex:1}.version-card h3{font-size:14px;line-height:1.7}.version-card>.button{margin-left:59px}.draft-notice{padding:12px 16px;align-items:flex-start;font-size:10px;line-height:1.7}.draft-notice button{font-size:9px}.drawer{padding:22px}.section-heading h2{font-size:21px}}
@media print{@page{size:A4 landscape;margin:10mm}body{background:#fff!important;padding:0!important}.ld-shell-header,.ld-shell-footer,.ld-shell-progress,.tabs,.toolbar,.prototype-note,.bottom-note,.grid-footer,.drawer,.drawer-backdrop,.mobile-days,.draft-notice,.toast{display:none!important}.workspace{padding:0;max-width:none}.page-heading{padding:0 0 12px}h1{font-size:25px}.intro{font-size:10px}.schedule-card{border-radius:0;box-shadow:none}.schedule-heading{padding:12px}.timetable{min-width:0!important;grid-template-columns:60px repeat(13,minmax(0,1fr))!important;gap:1px!important}.grid-header{font-size:9px;min-height:44px}.grid-header small{font-size:6px}.day-label{display:flex!important;font-size:9px;min-height:66px}.lesson,.empty-cell{min-height:66px;padding:7px 5px}.lesson b{font-size:10px}.lesson small{font-size:7px}.lesson .lesson-time{font-size:6px}.mobile-time{display:none}.grid-scroll{overflow:visible}*{-webkit-print-color-adjust:exact;print-color-adjust:exact}}


