.schedule-layout{--bg:#f5f6f2;--paper:#fff;--ink:#213b35;--muted:#7c8984;--line:#e3e8e1;--green:#205e4a;--soft:#eaf2eb;--amber:#a76a13;--amberbg:#fcf4e5;--blue:#3c6f91;--bluebg:#eef5fa;--red:#b65959;--redbg:#fff0ef;--radius:12px;font-family:'DM Sans','Noto Sans SC',-apple-system,BlinkMacSystemFont,sans-serif;color:var(--ink);font-synthesis:none}.schedule-layout *{box-sizing:border-box}.schedule-layout{margin:0;background:var(--bg);font-size:13px;line-height:1.5}.schedule-layout button,.schedule-layout input,.schedule-layout select{font:inherit;color:inherit}.schedule-layout button,.schedule-layout a,.schedule-layout input,.schedule-layout select{-webkit-tap-highlight-color:transparent}.schedule-layout button{cursor:pointer}.schedule-layout button:disabled{opacity:.38;cursor:default}.schedule-layout button:focus-visible,.schedule-layout a:focus-visible,.schedule-layout select:focus-visible,.schedule-layout input:focus-visible{outline:3px solid #a4c5b3;outline-offset:3px}.schedule-layout button{border:0;background:none}.schedule-layout a{color:inherit;text-decoration:none}.schedule-layout svg{width:19px;height:19px;vertical-align:middle;flex:none}.schedule-layout small{font-size:11px}.schedule-layout .rail{position:fixed;inset:0 auto 0 0;width:72px;background:#fff;border-right:1px solid var(--line);display:flex;align-items:center;flex-direction:column;z-index:40}.schedule-layout .logo{font-size:30px;font-weight:700;margin:25px 0 20px;letter-spacing:-3px}.schedule-layout .logo span{font-size:17px;color:#a3b68c;vertical-align:top;margin-left:3px}.schedule-layout .rail-line{width:24px;height:1px;background:var(--line);margin-bottom:24px}.schedule-layout .rail-active{width:42px;height:42px;display:grid;place-items:center;color:var(--green);background:var(--soft);border-radius:12px}.schedule-layout .rail-active svg{width:22px;height:22px}.schedule-layout .rail-label{font-size:10px;color:var(--green);margin-top:7px}.schedule-layout .rail-back{margin-top:24px;color:var(--muted);font-size:23px;display:grid;place-items:center;width:42px;height:42px;border-radius:10px}.schedule-layout .rail-back:hover{background:var(--bg)}.schedule-layout .rail-bottom{margin-top:auto;margin-bottom:23px;font-size:10px;letter-spacing:2px;color:#94a092}.schedule-layout .workspace{margin-left:72px}.schedule-layout .preview-bar{height:30px;display:flex;align-items:center;justify-content:space-between;padding:0 32px;background:#e9eddf;color:#69765b;font-size:10px;letter-spacing:.3px}.schedule-layout .preview-bar>span:first-child{font-weight:600;display:flex;align-items:center;gap:7px}.schedule-layout .preview-bar i{height:5px;width:5px;border-radius:50%;background:#8e9d73}.schedule-layout .topbar{display:flex;justify-content:space-between;align-items:center;padding:0 32px;height:65px;background:rgba(255,255,255,.78);border-bottom:1px solid var(--line)}.schedule-layout .brand{font-weight:700;font-size:15px;letter-spacing:1px;display:flex;gap:18px;align-items:center}.schedule-layout .brand>span{font-weight:400;font-size:11px;letter-spacing:0;color:var(--muted)}.schedule-layout .brand>span:first-child{color:#cad1c7}.schedule-layout .topbar-right{display:flex;align-items:center;gap:10px;font-size:11px}.schedule-layout .date-today{color:var(--muted);margin-right:18px}.schedule-layout .avatar{width:29px;height:29px;display:grid;place-items:center;background:#e9eede;color:#617245;border:1px solid #dbe4ce;border-radius:50%;font-size:11px;font-weight:600}.schedule-layout main{padding:27px 32px 0;max-width:1640px;margin:auto}.schedule-layout .intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.schedule-layout .eyebrow{font-size:10px;letter-spacing:1.9px;color:#8a977b;font-weight:600;margin:0 0 6px}.schedule-layout h1{font-size:29px;font-weight:650;letter-spacing:-.6px;line-height:1.3;margin:0}.schedule-layout .intro p{margin:9px 0 0;color:var(--muted);font-size:12px}.schedule-layout .summary{display:flex;gap:25px}.schedule-layout .summary>div{padding-left:22px;border-left:1px solid #dce3d8;min-width:75px}.schedule-layout .summary b{font-size:26px;line-height:1.2;font-weight:500;letter-spacing:-1px;display:block;font-variant-numeric:tabular-nums}.schedule-layout .summary span{font-size:10px;color:var(--muted)}.schedule-layout .summary .attention b{color:var(--amber)}.schedule-layout .kind-nav{display:flex;gap:30px;border-bottom:1px solid #dce3d8;margin-bottom:22px;overflow:auto}.schedule-layout .kind-nav button{padding:0 0 13px;font-size:13px;white-space:nowrap;color:#78867f;border-bottom:2px solid transparent;display:flex;align-items:center;gap:8px}.schedule-layout .kind-nav button.active{color:var(--green);font-weight:600;border-bottom-color:var(--green)}.schedule-layout .kind-nav button svg{width:17px;height:17px}.schedule-layout .kind-nav button .kind-number{font-size:10px;background:#e8ece5;color:#85917e;min-width:21px;text-align:center;border-radius:4px;padding:1px 4px}.schedule-layout .kind-nav button.active .kind-number{color:var(--green);background:#dfeadd}.schedule-layout .schedule-panel{border:1px solid var(--line);border-radius:14px;background:var(--paper);box-shadow:0 3px 9px #25382903;overflow:clip}.schedule-layout .toolbar{padding:19px 20px 15px;display:flex;align-items:center;justify-content:space-between;gap:12px}.schedule-layout .week-nav{display:flex;align-items:center;gap:11px}.schedule-layout .date-range{display:flex;align-items:center;gap:12px}.schedule-layout .date-range strong{font-size:17px;letter-spacing:-.2px;font-weight:600;font-variant-numeric:tabular-nums}.schedule-layout .date-range small{color:#8b948a;border-left:1px solid var(--line);padding-left:12px}.schedule-layout .arrow-group{display:flex;gap:2px}.schedule-layout .icon-btn{height:30px;width:30px;border-radius:6px;display:grid;place-items:center;border:1px solid var(--line);background:white}.schedule-layout .icon-btn:hover:not(:disabled){background:var(--bg)}.schedule-layout .icon-btn svg{height:16px;width:16px}.schedule-layout .button{background:white;border:1px solid #dce3d8;border-radius:7px;padding:8px 12px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-weight:500;font-size:12px}.schedule-layout .button:hover{background:#f4f7f1}.schedule-layout .button.small{padding:5px 9px;font-size:11px;min-height:30px}.schedule-layout .button.primary{background:var(--green);color:#fff;border-color:var(--green)}.schedule-layout .button.primary:hover{background:#184b3b}.schedule-layout .toolbar-right{display:flex;align-items:center;gap:12px}.schedule-layout .view-switch{display:flex;padding:3px;background:#f2f4ee;border:1px solid #e8ece3;border-radius:7px}.schedule-layout .view-switch button{display:flex;align-items:center;gap:5px;padding:4px 8px;color:var(--muted);border-radius:4px;font-size:11px}.schedule-layout .view-switch button.active{background:white;box-shadow:0 1px 3px #243a3014;color:var(--green)}.schedule-layout .view-switch svg{width:14px;height:14px}.schedule-layout .filters{padding:0 20px 16px;display:flex;justify-content:space-between;gap:12px;align-items:center}.schedule-layout .filter-picks{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.schedule-layout .select-wrap{position:relative}.schedule-layout .select-wrap select{background:#fff;border:1px solid var(--line);border-radius:6px;padding:6px 26px 6px 10px;font-size:11px;max-width:162px;min-height:32px;appearance:none}.schedule-layout .select-wrap:after{content:'⌄';position:absolute;right:10px;top:4px;color:#8d998b;pointer-events:none}.schedule-layout .filter-icon{color:#9ca594;margin-right:3px}.schedule-layout .filter-icon svg{width:15px;height:15px}.schedule-layout .filter-reset{font-size:11px;color:var(--green);text-decoration:underline}.schedule-layout .mine-switch{display:flex;align-items:center;gap:7px;font-size:11px;color:#617063;cursor:pointer;white-space:nowrap}.schedule-layout .mine-switch input{accent-color:var(--green);margin:0;width:13px;height:13px}.schedule-layout .legend-row{display:flex;gap:17px;align-items:center;padding:10px 20px;background:#fbfcf9;border-top:1px solid #edf0e9;font-size:10px;color:#7c887a}.schedule-layout .legend-item{display:flex;align-items:center;gap:5px}.schedule-layout .dot{height:5px;width:5px;border-radius:50%;background:#81a88d;display:inline-block;flex:none}.schedule-layout .dot.open{background:#6694b3}.schedule-layout .dot.pending{background:#c79849}.schedule-layout .dot.closed{background:#b7bdb8}.schedule-layout .dot.cancelled{background:#cc7d79}.schedule-layout .legend-row>span:last-child{margin-left:auto;font-size:10px}.schedule-layout .calendar{display:grid;grid-template-columns:76px repeat(5,minmax(0,1fr));isolation:isolate}.schedule-layout .day-head{padding:13px 12px 11px;background:white;border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;align-items:center;gap:9px;min-height:64px}.schedule-layout .day-head .day-number{font-size:23px;line-height:1.1;font-weight:500;letter-spacing:-1px}.schedule-layout .day-name{font-size:10px;color:#778474}.schedule-layout .day-name small{display:block;font-size:9px;margin-top:2px;color:#a2ad9a}.schedule-layout .day-head.focus-day{background:#f0f5ea}.schedule-layout .day-head.time-head{font-size:10px;color:#8a9783;padding-left:16px;display:block;padding-top:20px}.schedule-layout .time-label{padding:17px 10px 15px 15px;border-bottom:1px solid var(--line);background:#fcfdfb;font-size:11px;font-variant-numeric:tabular-nums;color:#72806e}.schedule-layout .time-label strong{display:block;font-weight:600;font-size:12px;color:#53654f}.schedule-layout .time-label small{display:block;font-size:10px;color:#929e8b;margin-top:3px}.schedule-layout .calendar-cell{padding:8px;border-left:1px solid #edf0e9;border-bottom:1px solid var(--line);background:#fdfefb;min-width:0;display:flex;flex-direction:column;gap:7px}.schedule-layout .calendar-cell.empty-day{display:none}.schedule-layout .calendar-cell.blank{background:#fafbf8;align-items:center;justify-content:center;color:#c5cdc0;font-size:11px;min-height:83px}.schedule-layout .course-card{position:relative;text-align:left;padding:9px 10px;border:1px solid #e3e9df;background:white;border-radius:7px;color:var(--ink);width:100%;cursor:pointer;transition:box-shadow .15s,transform .15s;display:block}.schedule-layout .course-card:hover{border-color:#a9bfad;box-shadow:0 3px 8px #2544370c;transform:translateY(-1px)}.schedule-layout .course-card:before{content:'';position:absolute;left:-1px;top:10px;bottom:10px;width:2px;border-radius:2px;background:#8db399}.schedule-layout .course-card.open{border-style:dashed;border-color:#bbd0dd;background:#f7fafc}.schedule-layout .course-card.open:before{background:#81a8c0}.schedule-layout .course-card.pending{background:#fffcf6;border-color:#e8d8b6}.schedule-layout .course-card.pending:before{background:#c99c4e}.schedule-layout .course-card.cancelled{opacity:.7;background:#fcf9f8}.schedule-layout .course-card.cancelled:before{background:#c57e74}.schedule-layout .course-card.closed{background:#f8f9f6}.schedule-layout .course-card.closed:before{background:#bac0b7}.schedule-layout .course-card.picked{outline:2px solid var(--green);outline-offset:0;background:#edf5ed}.schedule-layout .course-top{display:flex;gap:6px;align-items:center;margin-bottom:5px;min-height:19px}.schedule-layout .grade{font-size:10px;font-weight:600;background:#eef2e9;color:#596f4d;border-radius:4px;padding:1px 5px;white-space:nowrap}.schedule-layout .subject-name{font-size:12px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.schedule-layout .subject-code{font-size:9px;color:#9aa58e;margin-left:auto}.schedule-layout .teacher-row{display:flex;align-items:center;gap:5px;font-size:10px;min-height:20px;line-height:1.5;color:#61725f}.schedule-layout .teacher-row+.teacher-row{margin-top:3px;padding-top:4px;border-top:1px dashed #e4e9df}.schedule-layout .role-label{font-size:9px;color:#9aA390;flex:none}.schedule-layout .teacher-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.schedule-layout .teacher-row.is-mine .teacher-name{font-weight:500;color:var(--green)}.schedule-layout .mine-tag{font-size:8px;color:var(--green);background:#e8f0e3;border-radius:3px;padding:0 3px;flex:none}.schedule-layout .tiny-status{margin-left:auto;flex:none;font-size:9px;color:#6c9a72}.schedule-layout .tiny-status.pending{color:var(--amber)}.schedule-layout .open-note{display:flex;gap:5px;align-items:center;justify-content:space-between;font-size:10px;color:var(--blue);min-height:20px}.schedule-layout .open-note.closed{color:#8b9584}.schedule-layout .open-note span:last-child{font-size:10px}.schedule-layout .mobile-days{display:none}.schedule-layout .panel-bottom{padding:10px 20px;display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#8b9785;background:#fff}.schedule-layout .backfill{color:#708066;display:flex;align-items:center;gap:4px;font-size:10px;padding:3px}.schedule-layout .backfill svg{height:13px;width:13px}.schedule-layout .empty{padding:55px 20px;text-align:center;color:#8d9886}.schedule-layout .empty b{display:block;font-size:15px;color:#55674e;margin-bottom:6px}.schedule-layout .list-date{display:flex;align-items:center;gap:12px;padding:14px 20px;background:#f7f9f3;border-top:1px solid var(--line)}.schedule-layout .list-date b{font-size:13px}.schedule-layout .list-date span{font-size:11px;color:var(--muted)}.schedule-layout .list-item{display:grid;grid-template-columns:120px minmax(130px,1fr) minmax(120px,1fr) 85px 70px;align-items:center;gap:14px;padding:12px 20px;border-top:1px solid #edf0e7;font-size:12px}.schedule-layout .list-item>small{color:var(--muted)}.schedule-layout .list-course-title{display:flex;gap:8px;align-items:center}.schedule-layout .status-tag{font-size:10px;padding:3px 6px;display:inline-flex;border-radius:4px;background:#edf4e9;color:#5b815e;gap:5px;align-items:center;white-space:nowrap}.schedule-layout .status-tag.pending{color:var(--amber);background:var(--amberbg)}.schedule-layout .status-tag.open{color:var(--blue);background:var(--bluebg)}.schedule-layout .status-tag.closed{background:#f0f1ed;color:#89917e}.schedule-layout .status-tag.cancelled{background:var(--redbg);color:var(--red)}.schedule-layout .page-footer{max-width:1640px;margin:auto;padding:17px 32px 27px;display:flex;justify-content:space-between;color:#a2ad9a;font-size:9px}.schedule-layout .page-footer>span:first-child{letter-spacing:1.4px;font-weight:600}.schedule-layout .tray{position:fixed;z-index:45;bottom:18px;left:calc(50% + 36px);transform:translateX(-50%);width:min(690px,calc(100% - 120px));background:#203f33;color:white;border-radius:12px;padding:14px 17px;box-shadow:0 12px 35px #13352730;display:flex;align-items:center;gap:20px}.schedule-layout .tray strong{font-size:13px}.schedule-layout .tray small{font-size:10px;opacity:.6;display:block;margin-top:3px}.schedule-layout .tray .tray-actions{margin-left:auto;display:flex;align-items:center;gap:15px}.schedule-layout .tray .clear{color:#bdcdc1;font-size:11px}.schedule-layout .tray .button{color:var(--green);border:0;padding:9px 14px}.schedule-layout .has-selection{padding-bottom:84px}.schedule-layout .work-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:16px;gap:12px;border-top:1px solid var(--line)}.schedule-layout .work-card{border:1px solid var(--line);border-radius:8px;overflow:hidden}.schedule-layout .work-date{padding:12px;background:#f2f5ed;display:flex;align-items:center;gap:9px;font-size:11px}.schedule-layout .work-date b{font-size:20px;font-weight:500}.schedule-layout .work-body{padding:13px}.schedule-layout .work-body h3{font-size:13px;margin:0 0 5px}.schedule-layout .work-body p{font-size:10px;color:var(--muted);margin:5px 0 14px}.schedule-layout .work-time{font-size:12px;font-weight:500;margin:12px 0}.schedule-layout .work-person{background:#f7f9f3;border-radius:6px;padding:9px;margin:9px 0}.schedule-layout .work-person b{display:block;font-size:11px}.schedule-layout .work-person small{display:block;color:var(--muted);margin:4px 0}.schedule-layout .work-body .button{width:100%;font-size:10px;margin-top:12px}.schedule-layout .work-empty{font-size:11px;color:#9ba68e;margin:15px 0}.schedule-layout dialog{border:1px solid #dce5d6;border-radius:15px;padding:0;color:var(--ink);box-shadow:0 30px 120px #15342126;width:min(500px,calc(100% - 28px));max-height:90dvh}.schedule-layout dialog::backdrop{background:#1f362a45;backdrop-filter:blur(3px)}.schedule-layout .dialog-head{padding:23px 24px 18px;display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid var(--line)}.schedule-layout .dialog-head small{letter-spacing:1px;color:#859474}.schedule-layout .dialog-head h2{font-size:22px;margin:7px 0 0;font-weight:600}.schedule-layout .dialog-body{padding:21px 24px}.schedule-layout .detail-meta{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:0 0 24px}.schedule-layout .detail-meta dt{font-size:11px;color:var(--muted);margin-bottom:5px}.schedule-layout .detail-meta dd{margin:0;font-size:13px;font-weight:500}.schedule-layout .detail-teacher{display:flex;gap:10px;align-items:center;padding:12px 0;border-top:1px solid var(--line)}.schedule-layout .detail-teacher .status-tag{margin-left:auto}.schedule-layout .detail-teacher small{display:block;color:var(--muted)}.schedule-layout .detail-teacher b{font-size:12px;font-weight:500}.schedule-layout .detail-note{padding:12px 14px;background:#f4f6f0;border-radius:7px;color:#7c8a71;font-size:11px;margin-top:15px}.schedule-layout .dialog-footer{padding:16px 24px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:10px}.schedule-layout .dialog-footer .button{min-height:37px}.schedule-layout .form-label{display:block;font-size:12px;margin:12px 0}.schedule-layout .form-label select,.schedule-layout .form-label textarea{display:block;width:100%;padding:10px;border:1px solid var(--line);border-radius:6px;background:white;font:inherit;margin-top:7px}.schedule-layout .form-error{color:#a25244;font-size:11px}.schedule-layout .time-pair{display:grid;grid-template-columns:1fr 1fr;gap:15px}.schedule-layout .selection-list{max-height:330px;overflow:auto}.schedule-layout .selection-row{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding:12px 0}.schedule-layout .selection-row b{display:block;font-weight:500;font-size:12px}.schedule-layout .selection-row small{color:var(--muted)}.schedule-layout .selection-row>button{color:#8c977f}.schedule-layout .preview-success{text-align:center;padding:12px 0 20px}.schedule-layout .success-check{width:49px;height:49px;background:var(--soft);color:var(--green);border-radius:50%;display:grid;place-items:center;font-size:23px;margin:0 auto 16px}.schedule-layout .preview-success h3{font-size:18px;font-weight:500}.schedule-layout .preview-success p{color:var(--muted);font-size:12px;line-height:1.8}.schedule-layout .dialog-body .note-title{font-size:12px;margin:0 0 9px}.schedule-layout .toast-show{opacity:1!important;transform:translate(-50%,0)!important}.schedule-layout #toast{position:fixed;left:calc(50% + 36px);bottom:25px;transform:translate(-50%,10px);opacity:0;pointer-events:none;background:#253f33;color:#fff;font-size:12px;padding:12px 18px;border-radius:8px;box-shadow:0 5px 20px #233c3020;transition:opacity .15s,transform .15s;z-index:90;max-width:90vw;text-align:center}
@media(min-width:1450px){.schedule-layout main{padding:34px 46px 0}.schedule-layout .calendar{grid-template-columns:85px repeat(5,minmax(0,1fr))}.schedule-layout .course-card{padding:12px}.schedule-layout .subject-name{font-size:13px}.schedule-layout .teacher-row{font-size:11px}.schedule-layout .calendar-cell{padding:10px;gap:9px}.schedule-layout .topbar,.schedule-layout .preview-bar{padding-left:46px;padding-right:46px}.schedule-layout .summary{gap:40px}.schedule-layout .day-head{padding:16px}.schedule-layout .day-head .day-number{font-size:26px}}
@media(max-width:1100px){.schedule-layout .rail{width:58px}.schedule-layout .workspace{margin-left:58px}.schedule-layout .topbar,.schedule-layout .preview-bar{padding-left:23px;padding-right:23px}.schedule-layout main{padding:23px 23px 0}.schedule-layout .summary{gap:15px}.schedule-layout .summary>div{padding-left:15px;min-width:65px}.schedule-layout .intro{margin-bottom:21px}.schedule-layout .calendar{grid-template-columns:65px repeat(5,minmax(0,1fr))}.schedule-layout .calendar-cell{padding:6px;gap:6px}.schedule-layout .course-card{padding:8px}.schedule-layout .course-top{gap:4px}.schedule-layout .subject-code{display:none}.schedule-layout .day-head{gap:7px;padding-left:10px;padding-right:8px}.schedule-layout .time-label{padding-left:10px}.schedule-layout .teacher-row{gap:4px}.schedule-layout .toolbar{padding:17px 15px 13px}.schedule-layout .filters{padding:0 15px 14px}.schedule-layout .legend-row{padding:10px 15px;gap:12px}.schedule-layout .date-range{gap:8px}.schedule-layout .date-range small{display:none}.schedule-layout .work-grid{gap:8px;padding:12px}.schedule-layout .work-body{padding:10px}.schedule-layout .tray,.schedule-layout #toast{left:calc(50% + 29px)}.schedule-layout .page-footer{padding-left:23px;padding-right:23px}}
@media(max-width:850px){.schedule-layout .summary>div{min-width:50px;padding-left:10px}.schedule-layout .summary{gap:10px}.schedule-layout .summary b{font-size:22px}.schedule-layout .summary span{font-size:9px}.schedule-layout .intro p{font-size:11px}.schedule-layout .toolbar-right{gap:8px}.schedule-layout .date-range strong{font-size:15px}.schedule-layout .week-nav{gap:7px}.schedule-layout .kind-nav{gap:24px}.schedule-layout .subject-name{font-size:11px}.schedule-layout .course-card{padding:7px}.schedule-layout .role-label{font-size:8px}.schedule-layout .teacher-row{font-size:9px;gap:3px}.schedule-layout .grade{font-size:9px;padding:1px 4px}.schedule-layout .legend-row>span:last-child{display:none}.schedule-layout .list-item{grid-template-columns:90px 1fr 1fr 80px;gap:10px}.schedule-layout .list-item>.button{grid-column:4}.schedule-layout .work-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:680px){.schedule-layout .rail{display:none}.schedule-layout .workspace{margin-left:0}.schedule-layout .preview-bar{padding:0 16px;font-size:9px}.schedule-layout .preview-extra{display:none}.schedule-layout .topbar{padding:0 16px;height:54px}.schedule-layout .brand{font-size:14px;gap:12px}.schedule-layout .brand>span{font-size:10px}.schedule-layout .date-today,.schedule-layout .profile-name{display:none}.schedule-layout main{padding:20px 14px 0}.schedule-layout .intro{align-items:flex-start;margin-bottom:20px}.schedule-layout .intro h1{font-size:25px}.schedule-layout .intro p{max-width:225px;font-size:10px;line-height:1.7;margin-top:7px}.schedule-layout .eyebrow{font-size:8px;letter-spacing:1.2px}.schedule-layout .summary{gap:0}.schedule-layout .summary>div{display:none}.schedule-layout .summary>div.attention{display:block;min-width:53px;margin-top:17px;padding-left:11px}.schedule-layout .summary b{font-size:25px}.schedule-layout .summary span{font-size:10px}.schedule-layout .kind-nav{gap:22px;margin-bottom:15px}.schedule-layout .kind-nav button{font-size:12px;gap:5px;padding-bottom:10px}.schedule-layout .kind-nav button svg{display:none}.schedule-layout .kind-number{display:none}.schedule-layout .toolbar{padding:14px 12px;gap:8px;flex-wrap:wrap}.schedule-layout .date-range strong{font-size:14px}.schedule-layout .toolbar-right{margin-left:auto}.schedule-layout .view-switch button{padding:4px 6px}.schedule-layout .view-switch button span{display:none}.schedule-layout .week-nav{gap:6px}.schedule-layout .icon-btn{width:28px;height:28px}.schedule-layout .button.small{font-size:10px;padding:5px 7px}.schedule-layout .filters{padding:0 12px 12px;flex-wrap:wrap;gap:12px}.schedule-layout .select-wrap select{font-size:11px;max-width:137px;min-height:36px}.schedule-layout .filter-icon{display:none}.schedule-layout .filter-picks{gap:6px}.schedule-layout .mine-switch{font-size:10px}.schedule-layout .legend-row{gap:12px;padding:9px 12px;flex-wrap:wrap;font-size:9px}.schedule-layout .legend-row>span:nth-child(4),.schedule-layout .legend-row>span:nth-child(5){display:none}.schedule-layout .mobile-days{display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:8px;gap:5px}.schedule-layout .mobile-days button{padding:7px 0;border-radius:7px;min-height:54px;font-size:10px;color:#87967d}.schedule-layout .mobile-days button b{display:block;font-size:18px;font-weight:500;line-height:1.2;margin-top:3px}.schedule-layout .mobile-days button.active{background:var(--green);color:white}.schedule-layout .calendar{display:block}.schedule-layout .calendar>.day-head{display:none}.schedule-layout .calendar-cell{display:none;border:0;padding:8px 12px;background:#fff;gap:8px}.schedule-layout .calendar-cell.mobile-visible{display:flex}.schedule-layout .calendar-cell.blank{display:none}.schedule-layout .calendar-cell.empty-day{display:block}.schedule-layout .time-label{display:none}.schedule-layout .time-label.mobile-visible{display:flex;align-items:center;gap:6px;padding:14px 12px 3px;background:white;border:0}.schedule-layout .time-label small{margin:0;font-size:11px}.schedule-layout .time-label strong{font-size:12px}.schedule-layout .course-card{padding:12px 14px}.schedule-layout .course-top{margin-bottom:7px;gap:8px}.schedule-layout .subject-name{font-size:14px}.schedule-layout .subject-code{display:block;font-size:11px}.schedule-layout .grade{font-size:12px;padding:1px 6px}.schedule-layout .teacher-row{font-size:12px;gap:7px}.schedule-layout .role-label{font-size:10px}.schedule-layout .tiny-status,.schedule-layout .mine-tag{font-size:10px}.schedule-layout .open-note{font-size:12px}.schedule-layout .course-card:before{width:3px;top:13px;bottom:13px}.schedule-layout .panel-bottom{padding:12px;font-size:9px;gap:15px}.schedule-layout .panel-bottom>span{max-width:180px}.schedule-layout .page-footer{padding:17px 14px 23px;font-size:8px}.schedule-layout .tray{left:50%;bottom:10px;width:calc(100% - 20px);padding:12px;gap:10px}.schedule-layout .tray strong{font-size:12px}.schedule-layout .tray small{font-size:9px}.schedule-layout .tray .tray-actions{gap:10px}.schedule-layout .tray .button{padding:9px 11px;font-size:11px}.schedule-layout #toast{left:50%;width:max-content;max-width:calc(100% - 32px)}.schedule-layout .list-item{grid-template-columns:85px 1fr;gap:8px;padding:14px 12px}.schedule-layout .list-item>div:nth-child(3){grid-column:2}.schedule-layout .list-item>div:nth-child(4){grid-column:1;grid-row:auto}.schedule-layout .list-item>.button{grid-column:2;justify-self:end}.schedule-layout .list-date{padding:12px}.schedule-layout .work-grid{grid-template-columns:1fr;padding:12px}.schedule-layout .work-body{padding:16px}.schedule-layout .work-body h3{font-size:15px}.schedule-layout .work-body p{font-size:12px}.schedule-layout .work-body .button{font-size:12px}.schedule-layout .work-person b{font-size:13px}.schedule-layout .work-date{padding:10px 16px}.schedule-layout .work-date b{font-size:23px}.schedule-layout .work-card .work-date{font-size:12px}.schedule-layout .work-grid .work-card:not(.mobile-visible){display:none}.schedule-layout .dialog-head{padding:19px 19px 15px}.schedule-layout .dialog-body{padding:18px 19px}.schedule-layout .dialog-footer{padding:15px 19px}}
@media(min-width:851px){.schedule-layout .subject-name{font-size:13px}.schedule-layout .teacher-row{font-size:11px;min-height:22px}.schedule-layout .role-label{font-size:10px}.schedule-layout .grade{font-size:11px}.schedule-layout .tiny-status{font-size:10px}.schedule-layout .legend-row{font-size:11px}.schedule-layout .summary span{font-size:11px}.schedule-layout .open-note{font-size:11px}.schedule-layout .select-wrap select{font-size:12px}.schedule-layout .day-name{font-size:11px}}
@media(prefers-reduced-motion:reduce){.schedule-layout *{transition:none!important}}.schedule-layout .approved,.schedule-layout .status-approved{--state-fill:#e7f3ec;--state-line:#b9d9c4;--state-accent:#39835b;--state-ink:#276341;--state-chip:#cce7d6}.schedule-layout .pending,.schedule-layout .status-pending{--state-fill:#fff2df;--state-line:#efcd94;--state-accent:#d19632;--state-ink:#945e12;--state-chip:#f9dfb3}.schedule-layout .open,.schedule-layout .status-open{--state-fill:#eaf2fe;--state-line:#bfd4f2;--state-accent:#5184ca;--state-ink:#2f5e9d;--state-chip:#d1e3fc}.schedule-layout .closed,.schedule-layout .status-closed{--state-fill:#eef0f2;--state-line:#d0d7dd;--state-accent:#8a98a7;--state-ink:#586575;--state-chip:#dfe5eb}.schedule-layout .cancelled,.schedule-layout .status-cancelled{--state-fill:#fcebec;--state-line:#edc2c7;--state-accent:#c26673;--state-ink:#994753;--state-chip:#f5d4da}.schedule-layout .course-card,.schedule-layout .course-card.open,.schedule-layout .course-card.pending,.schedule-layout .course-card.closed,.schedule-layout .course-card.cancelled{background:var(--state-fill);border-color:var(--state-line);opacity:1;box-shadow:0 1px 2px #24362703}.schedule-layout .course-card::before,.schedule-layout .course-card.open::before,.schedule-layout .course-card.pending::before,.schedule-layout .course-card.closed::before,.schedule-layout .course-card.cancelled::before{background:var(--state-accent);width:4px;top:8px;bottom:8px}.schedule-layout .course-card:hover{border-color:var(--state-accent);box-shadow:0 3px 9px #253d3710}.schedule-layout .course-card .course-top{gap:5px;flex-wrap:wrap;row-gap:4px}.schedule-layout .course-card .subject-name{color:#284038;flex:none}.schedule-layout .course-card .grade{background:#ffffffb5;color:#41544b}.schedule-layout .course-status{margin-left:auto;display:inline-flex;align-items:center;gap:3px;font-size:10px;line-height:1.7;font-weight:600;white-space:nowrap;flex:none;background:var(--state-chip);color:var(--state-ink);padding:1px 5px;border-radius:4px}.schedule-layout .course-status>span{font-size:11px}.schedule-layout .course-card .teacher-row{color:#43564c}.schedule-layout .course-card .role-label{color:#6a7b71}.schedule-layout .course-card .teacher-row+.teacher-row{border-top-color:var(--state-line)}.schedule-layout .course-card .mine-tag{background:#fff9;color:#275c46}.schedule-layout .course-card .tiny-status{background:#ffffffb8;color:#477557;min-width:15px;text-align:center;border-radius:4px;padding:0 3px}.schedule-layout .course-card .tiny-status.pending{background:#f9dfb3;color:#945e12;padding:1px 5px}.schedule-layout .course-card.open{border-style:dashed}.schedule-layout .course-card .open-note{color:var(--state-ink)}.schedule-layout .course-card .open-note span:last-child{background:#ffffffa3;border-radius:4px;padding:0 4px}.schedule-layout .course-card.picked{background:var(--state-fill);outline-color:#205e4a;box-shadow:0 0 0 3px #fff inset}.schedule-layout .legend-row{gap:8px;flex-wrap:wrap;padding:12px 15px;background:#fbfcfa}.schedule-layout .status-filter{display:flex;align-items:center;gap:6px;background:var(--state-fill);color:var(--state-ink);border:1px solid var(--state-line);border-radius:7px;padding:7px 10px;min-height:35px;font-size:12px;font-weight:600;white-space:nowrap}.schedule-layout .status-filter b{font-family:'DM Sans',sans-serif;font-size:11px;font-weight:600;background:#ffffff9c;padding:0 5px;border-radius:4px;min-width:17px;text-align:center}.schedule-layout .status-filter>span{font-size:14px;line-height:1}.schedule-layout .status-filter[aria-pressed="true"]{outline:2px solid var(--state-accent,#3f6652);outline-offset:1px}.schedule-layout .status-filter:hover{border-color:var(--state-accent,#73846f)}.schedule-layout .status-filter.all{background:#f3f5ef;color:#5f705c;border-color:#dce3d6}.schedule-layout .legend-row .legend-help{font-size:10px;margin-left:auto;color:#7f8b78}.schedule-layout .list-item{background:color-mix(in srgb,var(--state-fill) 55%,white);border-left:3px solid var(--state-accent)}.schedule-layout .list-course-title{background:none;border:0;padding:0;color:var(--ink)}.schedule-layout .list-course-title .grade{background:var(--state-chip);color:var(--state-ink)}.schedule-layout .status-tag{background:var(--state-chip,#cce7d6);color:var(--state-ink,#276341);font-weight:600}.schedule-layout .status-tag.pending,.schedule-layout .status-tag.open,.schedule-layout .status-tag.closed,.schedule-layout .status-tag.cancelled{background:var(--state-chip);color:var(--state-ink)}.schedule-layout .work-card{border-color:var(--state-line)}.schedule-layout .work-card .work-date{background:var(--state-chip);color:var(--state-ink)}.schedule-layout .work-card .work-body{background:var(--state-fill)}.schedule-layout .work-card .work-person{background:#ffffffb8}.schedule-layout .summary>div:nth-child(2) b{color:#39835b}
@media(max-width:850px) and (min-width:681px){.schedule-layout .course-status{font-size:9px;padding:1px 4px}.schedule-layout .course-card .subject-name{font-size:11px}.schedule-layout .status-filter{font-size:11px;padding:6px 8px}}
@media(max-width:680px){.schedule-layout .legend-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:12px}.schedule-layout .status-filter{justify-content:center;padding:8px 4px;font-size:11px;gap:4px;min-height:39px}.schedule-layout .legend-row .legend-help{display:none}.schedule-layout .course-status{font-size:11px;padding:2px 7px}}

/* Integrate with the existing Portal navigation; all booking hooks stay unchanged. */
body.schedule-page{background:#f5f6f2}
body.schedule-page #app{padding:26px 24px 0;max-width:1700px;margin:auto}
body.schedule-page main>header{background:#ffffffc9;border-bottom:1px solid #e3e8e1;min-height:70px;padding:12px 24px;gap:16px}
body.schedule-page main>header .btn{padding:9px 14px;font-size:12px;min-height:38px}
body.schedule-page main>header input{font-size:12px;padding:8px;width:155px}
body.schedule-page main>header #breadcrumb{font-size:12px;color:#78877c}
.schedule-layout{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','PingFang SC','Microsoft YaHei',sans-serif;font-size:13px;line-height:1.5;color:#213b35;margin:0;padding:0;background:transparent;min-width:0}
.schedule-layout label{display:initial;margin:0;font-weight:400}
.schedule-layout button{min-height:0;box-shadow:none;letter-spacing:normal}
.schedule-layout .kind-nav button{border-radius:0;padding-top:8px}
.schedule-layout .kind-nav button>span{font-size:19px}
.schedule-layout .course-card{min-height:78px}
.schedule-layout .course-card .course-top{margin:0 0 5px}
.schedule-layout .course-card .subject-name{white-space:normal;font-size:13px}
.schedule-layout .icon-btn{font-size:21px;line-height:1;width:32px;height:32px}
.schedule-layout input[type=checkbox]{width:15px;height:15px;margin:0;accent-color:#205e4a}
.schedule-layout .schedule-backfill{margin:14px 0;color:#75836d;font-size:12px}
.schedule-layout .schedule-backfill summary{cursor:pointer;width:fit-content;padding:6px 0}
.schedule-layout .schedule-backfill .panel{margin:8px 0;padding:16px;border-radius:9px;background:#fff}
.schedule-layout .schedule-backfill label{display:block;margin:10px 0}
.schedule-layout .schedule-backfill select,.schedule-layout .schedule-backfill input:not([type=checkbox]){display:block;width:100%;max-width:500px;margin-top:6px;padding:10px;border:1px solid #dce3d8;border-radius:6px}
.schedule-layout .schedule-detail{padding:0}
.schedule-layout .detail-seat{border-top:1px solid #e3e8e1;padding:14px 0}
.schedule-layout .detail-seat>b{font-size:12px;color:#778474}
.schedule-layout .detail-seat .teacher-row{font-size:14px;padding:8px 0}
.schedule-layout .booking-pick{display:flex;align-items:center;gap:10px;padding:14px;background:#eaf2fe;border:1px solid #bfd4f2;border-radius:7px;color:#2f5e9d;cursor:pointer;font-weight:500}
.schedule-layout .work-hours-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:16px}
.schedule-layout .work-hours-card{margin:0;padding:18px;border:1px solid #d7e4d8;border-radius:9px;min-width:0;background:#fafcf9}
.schedule-layout .work-hours-card h2{font-size:16px;margin:10px 0}
.schedule-layout .work-hours-card p{font-size:12px;margin:8px 0}
.schedule-layout .work-hours-card>small{color:#657661}
.schedule-layout .work-hours-card select{padding:8px;border:1px solid #d7e4d8;border-radius:6px}
.schedule-layout .work-hours-card .btn{padding:10px;border:1px solid #bfd4f2;border-radius:6px;color:#2f5e9d;background:#eaf2fe}
.schedule-layout .work-hours-card .work-booking{font-size:12px}
.schedule-layout .notice{font-size:12px;margin:16px;background:#f2f5ed;border-radius:8px;padding:12px;color:#64745d}
@media(max-width:1100px){body.schedule-page main{padding:0}body.schedule-page #app{padding:24px 24px 0}.schedule-layout .calendar{grid-template-columns:65px repeat(5,minmax(0,1fr))}}
@media(max-width:680px){body.schedule-page main>header{padding:10px 14px;gap:8px;flex-wrap:wrap}body.schedule-page main>header #breadcrumb{display:none}body.schedule-page main>header>div{gap:6px}body.schedule-page main>header input{width:137px}body.schedule-page main>header .month-label{font-size:0}body.schedule-page #app{padding:20px 14px 0}.schedule-layout .calendar{display:block}.schedule-layout .work-hours-grid{grid-template-columns:1fr}.schedule-layout .date-range strong{font-size:14px}.schedule-layout .kind-nav{gap:20px}.schedule-layout .kind-nav button>span{display:none}.schedule-layout .course-card .subject-name{font-size:14px}}
.schedule-layout .kind-nav button{width:auto;text-align:left;margin:0;flex:none}
.schedule-layout .kind-nav button>span{margin:0;font-size:18px}
.schedule-layout small{letter-spacing:0;font-weight:400}
.schedule-layout .course-card .course-status{letter-spacing:0}

/* Display the complete curriculum label without truncating the subject code. */
.schedule-layout .subject-name.full-course-name{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;line-height:1.45;min-width:0;flex:1 1 100%}
.schedule-layout .course-top:has(.full-course-name){flex-wrap:wrap;align-items:flex-start}
.schedule-layout .list-course-title b{overflow-wrap:anywhere}

/* Keep the action bar compact; selected rows scroll in a separate disclosure. */
.schedule-layout .booking-tray{position:sticky;bottom:max(12px,env(safe-area-inset-bottom));z-index:20;padding:0;margin:18px 0;border:1px solid #cad9ce;border-radius:14px;background:#fff;box-shadow:0 8px 32px #213b3520}
.schedule-layout .booking-tray-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px}
.schedule-layout .booking-tray-summary{display:flex;align-items:center;gap:12px;min-width:0}
.schedule-layout .booking-tray-count{display:grid;place-items:center;flex:none;min-width:40px;height:40px;border-radius:10px;background:#eaf2eb;color:#205e4a;font-size:18px;font-weight:650;font-variant-numeric:tabular-nums}
.schedule-layout .booking-tray h2{font-size:15px;line-height:1.4;margin:0;font-weight:650}
.schedule-layout .booking-tray-summary p{font-size:11px;line-height:1.5;margin:2px 0 0;color:#74827a}
.schedule-layout .booking-tray-actions{display:flex;align-items:center;gap:16px;flex:none}
.schedule-layout .booking-tray-toggle{display:flex;align-items:center;justify-content:center;gap:7px;padding:10px 0;color:#536d5e;white-space:nowrap;font-size:12px;font-weight:550;min-height:44px}
.schedule-layout .booking-tray-toggle svg{width:16px;height:16px}
.schedule-layout .booking-tray.is-expanded .booking-tray-toggle svg{transform:rotate(180deg)}
.schedule-layout .booking-tray .btn.primary{background:#205e4a;color:#fff;border:1px solid #205e4a;border-radius:8px;min-height:44px;padding:10px 18px;font-size:13px;font-weight:600;white-space:nowrap}
.schedule-layout .booking-tray .btn.primary:hover:not(:disabled){background:#184a3a}
.schedule-layout .booking-tray-panel{position:absolute;bottom:calc(100% + 8px);left:-1px;right:-1px;display:flex;flex-direction:column;max-height:min(340px,48dvh);border:1px solid #d6e1d8;border-radius:14px;background:#fff;box-shadow:0 8px 30px #213b3524;overflow:hidden}
.schedule-layout .booking-tray-panel[hidden]{display:none!important}
.schedule-layout .booking-tray-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;min-height:56px;padding:8px 14px 8px 18px;border-bottom:1px solid #e7ece7;background:#f8faf7}
.schedule-layout .booking-tray-panel-head h3{font-size:13px;font-weight:600;margin:0}
.schedule-layout .booking-tray-panel-head>div{display:flex;align-items:center;gap:10px}
.schedule-layout .booking-tray-clear{min-height:40px;padding:8px;color:#687a6d;font-size:12px;text-decoration:underline;text-underline-offset:3px}
.schedule-layout .booking-tray-close,.schedule-layout .booking-tray-remove{display:grid;place-items:center;flex:none;min-width:36px;min-height:36px;border-radius:8px;font-size:21px;line-height:1;color:#738378}
.schedule-layout .booking-tray-close:hover,.schedule-layout .booking-tray-remove:hover{background:#edf3ec;color:#205e4a}
.schedule-layout .booking-tray-list{list-style:none;margin:0;padding:0 18px;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch}
.schedule-layout .booking-tray-list:focus-visible{outline:2px solid #9dbba9;outline-offset:-3px}
.schedule-layout .booking-tray-item{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #edf0eb;min-height:68px}
.schedule-layout .booking-tray-item:last-child{border-bottom:0}
.schedule-layout .booking-tray-item>div{flex:1;min-width:0}
.schedule-layout .booking-tray-item strong{display:block;font-size:13px;line-height:1.5;font-weight:600;overflow-wrap:anywhere}
.schedule-layout .booking-tray-item small{display:block;font-size:11px;line-height:1.7;color:#78877c;margin-top:2px}
.schedule-layout .booking-tray-role{display:inline-block;margin-left:10px;color:#6d7b70}
.schedule-layout .booking-tray-message{font-size:12px;line-height:1.7;padding:12px 18px;margin:0;max-height:100px;overflow:auto;color:#42634f}
.schedule-layout .booking-tray-bar~.booking-tray-message{border-top:1px solid #e7ece7}
@media(max-width:680px){
 .schedule-layout .booking-tray{bottom:max(8px,env(safe-area-inset-bottom));border-radius:12px}
 .schedule-layout .booking-tray-bar{padding:11px 12px;gap:10px;flex-wrap:wrap}
 .schedule-layout .booking-tray-summary{gap:9px;flex:1 1 100%}
 .schedule-layout .booking-tray-count{min-width:32px;height:32px;font-size:16px;border-radius:8px}
 .schedule-layout .booking-tray h2{font-size:14px}
 .schedule-layout .booking-tray-summary p{font-size:10px;margin:0}
 .schedule-layout .booking-tray-actions{width:100%;gap:12px;justify-content:space-between}
 .schedule-layout .booking-tray-toggle{padding:8px 2px;min-height:42px}
 .schedule-layout .booking-tray .btn.primary{min-height:42px;padding:9px 16px}
 .schedule-layout .booking-tray-panel{max-height:44dvh;bottom:calc(100% + 6px)}
 .schedule-layout .booking-tray-panel-head{padding-left:14px}
 .schedule-layout .booking-tray-list{padding:0 14px}
 .schedule-layout .booking-tray-remove{min-width:42px;min-height:42px}
 .schedule-layout .booking-tray-item{padding:10px 0}
 .schedule-layout .booking-tray-role{margin-left:6px}
}
