.sw-date-controls .sw-period-trigger{min-width:0;height:auto;min-height:36px;color:var(--ink);white-space:nowrap;background:0 0;border-color:#0000;flex:0 auto;padding-inline:7px;font-size:15px;font-weight:600}.sw-period-popover{box-sizing:border-box;border:1px solid var(--line);width:312px;color:var(--ink);background:#fff;border-radius:12px;padding:10px;overflow:auto;box-shadow:0 8px 28px #17343e24}.sw-period-month{justify-content:space-between;align-items:center;gap:8px;margin-bottom:5px;font-size:14px;font-weight:600;display:flex}.sw-period-popover .sw-period-month-arrow{width:36px;min-height:36px;color:var(--primary);background:0 0;border:0;border-radius:7px;place-items:center;padding:0;display:inline-grid}.sw-period-weekdays,.sw-period-week,.sw-period-day-row{text-align:center;grid-template-columns:repeat(7,minmax(0,1fr));align-items:center;display:grid}.sw-period-weekdays{color:var(--muted);padding-block:5px;font-size:11px}.sw-period-dates{gap:3px;display:grid}.sw-period-popover .sw-period-week,.sw-period-popover .sw-period-day{min-width:0;min-height:36px;color:var(--ink);background:0 0;border:0;border-radius:7px;padding:0;font-family:inherit;font-size:13px}.sw-period-popover .sw-period-week{width:100%}.sw-period-number{place-items:center;min-width:24px;min-height:26px;display:inline-grid}.sw-period-number[data-other-month]{color:var(--muted);opacity:.66}.sw-period-number[data-today]{text-underline-offset:4px;font-weight:700;text-decoration:underline}.sw-period-popover :is(.sw-period-week,.sw-period-day)[aria-pressed=true]{color:#007e9e;background:#e1f2f7;font-weight:600}.sw-period-popover [aria-pressed=true] .sw-period-number[data-other-month]{color:inherit;opacity:.78}.sw-period-trigger:focus-visible,.sw-period-popover button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.sw-period-popover button:disabled{cursor:default;opacity:.55}@media (hover:hover) and (pointer:fine){.sw-date-controls .sw-period-trigger:hover,.sw-period-popover .sw-period-month-arrow:hover,.sw-period-popover :is(.sw-period-week,.sw-period-day):not([aria-pressed=true]):hover{background:#f0f7fa}}@media (pointer:coarse){.sw-period-popover .sw-period-month-arrow{width:44px;min-height:44px}.sw-period-popover .sw-period-week,.sw-period-popover .sw-period-day{min-height:44px}}@media (max-width:700px){.workspace-staff .sw-date-controls .sw-period-trigger{white-space:normal;text-align:center;height:auto}}@media (max-width:420px){.sw-date-controls .sw-period-trigger{padding-inline:5px;font-size:14px}}
.sw-queue.sw-queue-lesson-card{background:#fff;border-color:#dce6eb}.sw-queue.sw-queue-lesson-card>header{gap:8px;padding:12px}.sw-queue.sw-queue-lesson-card>header h2{font-size:14px}.sw-queue-lesson-card .sw-queue-pending-count{color:#637983;font-variant-numeric:tabular-nums;background:#f0f4f6;border-radius:7px;place-items:center;min-width:22px;height:22px;padding-inline:6px;font-size:11px;font-weight:600;display:inline-grid}.sw-queue-lesson-card .sw-queue-drop-hint{color:#8498a2;text-align:left;background:#fbfcfd;border:1px dashed #cbd8df;border-radius:7px;grid-template-columns:21px minmax(0,1fr);align-items:center;gap:2px 9px;margin:0 12px 10px;padding:12px 10px;display:grid}.sw-queue-lesson-card .sw-queue-drop-hint>svg{grid-area:1/1/span 2}.sw-queue-lesson-card .sw-queue-drop-hint strong{color:#536e7a;grid-area:1/2;font-size:13px;font-weight:600;line-height:1.5}.sw-queue-lesson-card .sw-queue-drop-hint>span{color:#81929b;grid-area:2/2;font-size:11px;line-height:1.5}.sw-queue-lesson-card .sw-queue-drop-hint-touch{display:none}.sw-queue.sw-queue-lesson-card .sw-queue-strips{gap:5px;padding:0 12px 10px}.sw-queue.sw-queue-lesson-card .sw-queue-strips .sw-queue-student{height:30px;min-height:30px;color:var(--ink);background:#f7f9fa;border:1px solid #e8edf0;border-left:3px solid #c7d5dc;border-radius:6px;margin:0;padding:3px 7px}.sw-student .sw-queue-heading{white-space:nowrap;justify-content:flex-start;align-items:center;gap:6px;width:100%;min-width:0;line-height:16px;display:flex}.sw-student .sw-queue-heading .sw-student-name{flex:0 auto}.sw-queue-heading .sw-repeat-leave-mark{color:#654200;background:#ffe39a;border-radius:50%;flex:none;place-items:center;width:15px;height:15px;font-size:11px;font-weight:700;line-height:1;display:inline-grid}.sw-repeat-leave-note{color:#775200}.sw-student .sw-queue-heading .sw-queue-lesson{color:var(--muted);flex:none;font-size:10px;line-height:16px}.sw-student .sw-queue-heading .sw-queue-date{flex:none;margin-left:auto;font-size:10px}.sw-student:is(.is-dragging,.is-drag-preview) .sw-queue-lesson{color:inherit}.sw-queue.sw-queue-lesson-card .sw-queue-heading .sw-student-name{font-size:12px;font-weight:500}.sw-queue.sw-queue-lesson-card .sw-queue-heading small{color:var(--muted);font-size:10px}.sw-queue.sw-queue-lesson-card .sw-queue-strips .sw-queue-student.is-selected{border-color:#a4cbd8;border-left-color:var(--primary);background:#edf7fa}.sw-queue.sw-queue-lesson-card .sw-queue-strips .sw-queue-student.is-dragging{border-color:#abc7d3;border-left-color:var(--primary);opacity:.5;background:#eef5f8}.sw-queue.sw-queue-lesson-card .sw-queue-student:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.sw-queue.sw-queue-lesson-card>.sw-muted{margin:0;padding:10px 12px 16px;font-size:11px}.sw-queue.sw-queue-lesson-card.is-drop-target{outline-offset:-2px;outline:2px dashed #93bacb}.sw-queue.sw-queue-lesson-card.is-drop-over{outline:2px solid var(--primary);outline-offset:-2px}.sw-queue.sw-queue-lesson-card.is-drop-over>header{background:#fff}.sw-queue.sw-queue-lesson-card.is-drop-target .sw-queue-drop-hint{background:#f3f9fb;border-color:#94b9c9}.sw-queue.sw-queue-lesson-card.is-drop-over .sw-queue-drop-hint{border-color:var(--primary);background:#eaf6fa}.sw-queue-preview{border:1px solid var(--line);width:280px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);color:var(--ink);overflow-wrap:anywhere;background:#fff;border-radius:10px;margin:0;padding:12px 14px;font-size:12px;line-height:1.6;position:fixed;inset:auto;overflow:auto;box-shadow:0 6px 22px #2241501f}.sw-queue-preview:not(:popover-open){display:none}.sw-queue-preview:popover-open{display:block}.sw-queue-preview>div+div{margin-top:10px}.sw-queue-preview strong{color:var(--muted);font-size:11px;font-weight:500}.sw-queue-preview p{white-space:pre-wrap;margin:3px 0 0}.sw-queue-preview .is-overdue{color:#a94c38}@media (hover:hover) and (pointer:fine){.sw-queue.sw-queue-lesson-card .sw-queue-strips .sw-queue-student:not(:disabled):hover{background:#f0f6f9;border-color:#bbd0da #bbd0da #bbd0da #76a7bb}.sw-queue.sw-queue-lesson-card .sw-queue-strips .sw-queue-student.is-selected:hover{border-left-color:var(--primary);background:#e5f3f8}}@media (max-width:700px){.sw-queue.sw-queue-lesson-card .sw-queue-strips .sw-queue-student{height:auto;min-height:44px;padding-block:5px}.sw-queue.sw-queue-lesson-card .sw-queue-heading .sw-student-name{font-size:12px}.sw-queue.sw-queue-lesson-card .sw-queue-lesson{font-size:10px;line-height:16px}}@media (pointer:coarse),(max-width:700px){.sw-queue-lesson-card .sw-queue-drop-hint-pointer{display:none}.sw-queue-lesson-card .sw-queue-drop-hint-touch{display:block}}.sw-queue-tabs{align-items:center;gap:12px;min-width:0;display:flex}.sw-queue-tabs button{min-height:32px;color:var(--muted);font:inherit;cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;padding:4px 0;font-size:12px}.sw-queue-tabs button[aria-pressed=true]{color:var(--ink);border-bottom-color:var(--primary);font-weight:600}.sw-queue-voided .sw-queue-tabs button[aria-pressed=true]{color:#a9323b;border-bottom-color:#b13e46}.sw-queue.sw-queue-voided .sw-queue-drop-hint{color:#a34c53;background:#fff5f5;border-color:#d8959b}.sw-queue.sw-queue-voided .sw-queue-drop-hint :is(strong,span){color:#9b3942}.sw-queue.sw-queue-voided.is-drop-target{outline-color:#c45a63}.sw-queue.sw-queue-voided.is-drop-over{outline-color:#b13e46}.sw-queue.sw-queue-voided.is-drop-over .sw-queue-drop-hint{background:#ffe8e9;border-color:#b13e46}.sw-voided-row{align-items:center;gap:8px;min-width:0;display:flex}.sw-voided-row>.sw-student{flex:1;min-width:0}.sw-voided-restore{flex-shrink:0;min-height:32px;font-size:12px}.sw-cancel-student-action{color:#a9323b}@media (max-width:760px){.sw-queue-tabs button,.sw-voided-restore{min-height:44px}}.sw-queue.sw-queue-stable{overflow:visible}.sw-queue-stable>header{position:relative}.sw-queue-header-state{flex-shrink:0;align-items:center;gap:4px;display:flex}.sw-queue-status-slot{justify-content:flex-end;align-items:center;width:50px;height:32px;display:flex}.sw-queue-errors{font-size:11px}.sw-queue-errors>summary{cursor:pointer;color:var(--primary);padding-block:8px;list-style:none}.sw-queue-errors>summary::-webkit-details-marker{display:none}.sw-queue-content{--sw-queue-row-height:30px}.sw-queue-content>.stable-loading-content{min-height:calc(var(--sw-queue-row-height) * 3 + 20px)}.sw-queue-content .sw-muted{margin:0;padding:10px 12px 16px;font-size:11px}.sw-queue-skeleton{gap:5px;padding:0 12px 10px;display:grid}.sw-queue-skeleton span{height:var(--sw-queue-row-height);background:var(--soft,#eef4f7);border-radius:4px}@media (max-width:760px){.sw-queue-status-slot{height:44px}.sw-queue-content{--sw-queue-row-height:44px}}.sw-queue-drop-hint.is-unavailable>span{visibility:hidden}
.workspace-main:has(.schedule-workbench){max-width:none;padding:16px 20px 28px}.schedule-workbench{--sw-accent:#187da0;--sw-tint:#eaf5fa;--sw-text:#24566c;min-width:0;color:var(--ink);font-size:13px}.schedule-workbench :is(button,input,select,textarea),.sw-dialog :is(button,input,select,textarea){font:inherit}.schedule-workbench button,.sw-dialog button{cursor:pointer}.schedule-workbench :is(button,a,input,select,textarea,summary):focus-visible,.sw-dialog :is(button,a,input,select,textarea):focus-visible{outline:2px solid var(--primary);outline-offset:3px}.schedule-workbench button:disabled,.sw-dialog button:disabled{cursor:not-allowed;opacity:.5}.schedule-workbench :is(h1,h2,h3,p),.sw-dialog :is(h2,h3,p){margin:0}.schedule-workbench :is(ul,ol),.sw-dialog :is(ul,ol){margin:0;padding:0;list-style:none}.sw-muted{color:var(--muted)}.sw-empty{color:var(--muted);padding:24px 16px;font-size:13px}.sw-title{margin-right:8px;font-size:22px;font-weight:600}.schedule-workbench button.text-link,.sw-dialog button.text-link{width:fit-content;max-width:100%;min-height:30px;color:var(--primary);text-align:left;background:0 0;border:0;align-items:center;padding:0;font-size:12px;font-weight:500;display:inline-flex}.sw-preview-bar{min-height:28px;color:var(--muted);flex-wrap:wrap;align-items:center;gap:4px 12px;margin-bottom:10px;font-size:12px;display:flex}.sw-preview-bar>:first-child{margin-right:auto}.sw-preview-bar :is(button,a){min-height:28px;color:var(--primary);background:0 0;border:0;align-items:center;gap:5px;padding:2px 0;text-decoration:none;display:inline-flex}.sw-topbar{align-items:center;gap:16px;min-width:0;margin-bottom:10px;display:flex}.sw-topbar h1{flex:none;font-size:22px;font-weight:600}.sw-scope{background:#e9eff2;border-radius:8px;flex-shrink:0;gap:3px;padding:3px;display:inline-flex}.sw-scope button{min-height:34px;color:var(--muted);background:0 0;border:0;border-radius:5px;padding:5px 13px}.sw-scope button[aria-pressed=true]{color:var(--ink);background:#fff;font-weight:600;box-shadow:0 1px 3px #17343e12}.sw-teachers{flex:1;grid-template-columns:repeat(4,minmax(0,1fr));align-self:stretch;gap:4px;min-width:0;display:grid}.sw-teachers button{min-width:0;min-height:36px;color:var(--muted);white-space:nowrap;background:0 0;border:0;padding:5px 8px;position:relative}.sw-teachers button[aria-pressed=true]{color:var(--primary);font-weight:600}.sw-teachers button[aria-pressed=true]:after{content:"";background:var(--primary);height:2px;position:absolute;bottom:0;left:12px;right:12px}.sw-toolbar{flex-wrap:wrap;align-items:center;gap:8px 12px;min-width:0;margin-bottom:10px;display:flex}.sw-date-controls{flex-wrap:wrap;align-items:center;gap:5px;min-width:0;display:flex}.sw-period-controls{align-items:center;gap:5px;min-width:0;max-width:100%;display:inline-flex}.sw-period-controls>button:not(.sw-period-trigger){flex-shrink:0}.sw-date-controls>button,.sw-period-controls>button,.sw-views button{border:1px solid var(--line);min-width:36px;height:36px;color:var(--ink);background:#fff;border-radius:6px;padding:5px 11px}.sw-period-controls>button:has(svg){place-items:center;padding:5px;display:inline-grid}.sw-icon-button{width:34px;height:34px;color:var(--muted);background:0 0;border:0;border-radius:6px;flex:none;place-items:center;padding:4px;display:inline-grid}.sw-icon-button:hover{color:var(--ink);background:#edf4f7}.sw-views{border:1px solid var(--line);background:#fff;border-radius:7px;flex:none;gap:2px;padding:2px;display:inline-flex}.sw-views button{min-width:34px;height:30px;color:var(--muted);background:0 0;border:0;padding:3px 10px;font-size:12px}.sw-views button[aria-pressed=true]{color:var(--primary);background:#e5f2f7;font-weight:600}.sw-search{min-width:0;color:var(--muted);align-items:center;gap:7px;margin-left:auto;display:flex}.sw-search input{border:1px solid var(--line);width:144px;min-width:0;height:36px;color:var(--ink);background:#fff;border-radius:6px;padding:6px 10px;font-size:12px}.sw-search svg{flex-shrink:0;width:16px;height:16px}.sw-layout{grid-template-columns:minmax(0,1fr) 340px;align-items:start;gap:14px;display:grid}.sw-main,.sw-aside{min-width:0}.sw-aside{gap:16px;display:grid}.sw-calendar-shell{border:1px solid var(--line);background:#fff;border-radius:7px;min-width:0;overflow:hidden}.sw-calendar-shell>.sw-toolbar{border-bottom:1px solid var(--line);margin:0;padding:9px 10px}.sw-calendar-shell>.sw-calendar-scroll{border:0;border-radius:0}.sw-calendar-scroll{overscroll-behavior:contain;border:1px solid var(--line);scrollbar-width:thin;background:#fff;border-radius:7px;min-height:320px;max-height:min(820px,100dvh - 192px);overflow:hidden auto}.sw-grid{grid-template-columns:48px repeat(var(--sw-days), minmax(0, 1fr));width:100%;min-width:0;display:grid;position:relative}.sw-corner,.sw-day-heading{z-index:4;border-bottom:1px solid var(--line);background:#fff;position:sticky;top:0}.sw-corner{z-index:6;color:var(--muted);justify-content:center;align-items:flex-end;padding:9px 3px;font-size:9px;display:flex;left:0}.sw-day-heading{border:0;border-bottom:1px solid var(--line);min-width:0;min-height:54px;color:var(--muted);text-align:center;border-left:1px solid #edf2f4;flex-direction:column;justify-content:center;align-items:center;gap:1px;padding:4px 2px;font-size:11px;display:flex}.sw-day-heading button{color:inherit;background:0 0;border:0;flex-direction:column;align-items:center;gap:1px;padding:0 10px;display:flex}.sw-day-heading strong{width:28px;height:28px;color:var(--ink);border-radius:50%;place-items:center;font-size:19px;font-weight:500;line-height:1;display:grid}.sw-day-heading.is-today{color:var(--primary)}.sw-day-heading.is-today strong{color:#fff;background:var(--primary)}.sw-hours{z-index:3;height:var(--sw-height);color:var(--muted);background:#fff;position:sticky;left:0}.sw-hour-label{font-variant-numeric:tabular-nums;font-size:10px;position:absolute;right:9px;transform:translateY(-50%)}.sw-hour-label:first-child{transform:translateY(2px)}.sw-day-column{min-width:0;height:var(--sw-height);border-left:1px solid var(--line);position:relative}.sw-day-column.is-today{background:#fafdfe}.sw-hour-line{pointer-events:none;border-top:1px solid #e7edef;position:absolute;left:0;right:0}.sw-hour-line:after{content:"";top:var(--sw-half-hour,24px);border-top:1px solid #f2f5f6;position:absolute;left:0;right:0}.sw-chinese{--sw-accent:var(--staff-course-accent,var(--staff-course-chinese-accent,#2585ad));--sw-tint:var(--staff-course-tint,var(--staff-course-chinese-tint,#eaf5fb));--sw-text:var(--staff-course-text,var(--staff-course-chinese-text,#1b526d))}.sw-english{--sw-accent:var(--staff-course-accent,var(--staff-course-english-accent,#8c6caf));--sw-tint:var(--staff-course-tint,var(--staff-course-english-tint,#f2eef9));--sw-text:var(--staff-course-text,var(--staff-course-english-text,#655081))}.sw-interview{--sw-accent:var(--staff-course-accent,var(--staff-course-interview-accent,#35998b));--sw-tint:var(--staff-course-tint,var(--staff-course-interview-tint,#e8f5ef));--sw-text:var(--staff-course-text,var(--staff-course-interview-text,#2c665c))}.sw-appointment{--sw-accent:#bd873e;--sw-tint:#fbf2e2;--sw-text:#805b28}.sw-event{z-index:1;border:1px solid color-mix(in srgb, var(--sw-accent) 35%, white);border-left:2px solid var(--sw-accent);background:var(--sw-tint);min-width:0;color:var(--sw-text);text-align:left;border-radius:4px;flex-direction:column;padding:3px;line-height:1.35;display:flex;position:absolute;overflow:hidden}.sw-event:hover{z-index:2;border-color:var(--sw-accent)}.sw-event.is-selected{z-index:2;border-color:var(--sw-accent);box-shadow:0 0 0 1px var(--sw-accent)}.sw-event.is-candidate{border-color:#298576;box-shadow:0 0 0 2px #298576}.sw-event-heading{flex-direction:row;flex-shrink:0;justify-content:space-between;align-items:center;gap:3px;min-width:0;min-height:24px;margin:0;display:flex}button.sw-event-heading,.sw-event-heading button{color:inherit;text-align:left;background:0 0;border:0;padding:2px;font-size:11px;line-height:18px}.sw-event-heading>:is(strong,span),.sw-event-heading button>:is(strong,span){text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.sw-candidate-label,.sw-stack-time{white-space:nowrap;text-overflow:ellipsis;flex-shrink:0;height:18px;font-size:10px;line-height:18px;display:block;overflow:hidden}.sw-event-stack{background:#f5f8fa;border:1px solid #cad8df;border-radius:5px;flex-direction:column;gap:3px;min-width:0;padding:2px;display:flex;position:absolute;left:2px;right:2px}.sw-event-stack-heading{color:#486473;flex-direction:column;flex:0 0 32px;justify-content:center;min-width:0;padding-inline:1px;font-size:10px;line-height:16px;display:flex}.sw-event-stack-heading strong{white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:600}.sw-event-stack-heading span{font-size:10px}.sw-event-stack>.sw-event{flex:none;position:relative}.sw-event .sw-event-teacher{display:none}.sw-event-heading strong{font-size:11px;font-weight:600}.sw-event-heading small{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--sw-text);opacity:.85;font-size:10px;font-weight:400;overflow:hidden}.sw-event>.sw-event-heading{height:24px}.sw-event>.sw-event-heading strong{flex:1}.sw-event>.sw-event-heading small{flex:0 auto}.sw-event>.sw-event-heading>span{flex:0 auto;font-size:10px}.sw-event-heading :is(time,.sw-event-time){font-variant-numeric:tabular-nums;font-size:10px}.sw-event>p{padding:2px 3px;font-size:11px}.schedule-workbench .sw-class-summary{width:100%;min-width:0;min-height:100px;color:var(--sw-text);text-align:left;background:0 0;border:0;border-radius:2px;flex-direction:column;flex:1 0 auto;justify-content:flex-start;align-items:flex-start;gap:2px;padding:3px 2px;font-size:10px;line-height:15px;display:flex}.sw-class-summary>:is(strong,span){white-space:normal;overflow-wrap:anywhere;max-width:100%;display:block}.sw-class-summary>strong{font-size:12px;font-weight:600;line-height:17px}.sw-class-summary>span{font-variant-numeric:tabular-nums}.sw-class-summary:hover{background:#ffffff75}.schedule-workbench .sw-class-summary:focus-visible{outline-offset:-2px}.schedule-workbench :is(.sw-event,.sw-agenda-event).is-drop-target{outline-offset:-2px;box-shadow:none;border-color:#c63e46;outline:2px dashed #c63e46}.schedule-workbench .sw-agenda-event.is-drop-target>div{outline:none}.schedule-workbench :is(.sw-event,.sw-agenda-event).is-drop-over{outline-offset:-3px;outline:3px solid #b7343d;box-shadow:inset 0 0 0 4px #f5cbd0}.schedule-workbench :is(.sw-event,.sw-agenda-event).is-drop-blocked{outline-offset:-3px;outline:3px dashed #b7343d}.schedule-workbench :is(.sw-event,.sw-agenda-event).is-drop-blocked .sw-class-summary{cursor:not-allowed}.sw-student,button.sw-student{border:1px solid color-mix(in srgb, var(--sw-accent) 20%, white);width:100%;min-width:0;min-height:22px;color:var(--sw-text);text-align:left;background:#ffffff9c;border-radius:3px;flex-shrink:0;justify-content:space-between;align-items:center;gap:3px;padding:1px 4px;font-size:11px;line-height:18px;display:flex}.sw-student:hover,.sw-student.is-selected{border-color:var(--sw-accent);background:#fff}.schedule-workbench .sw-student[data-movable=true],.sw-dialog .sw-student[data-movable=true]{cursor:grab;-webkit-user-select:none;user-select:none}.schedule-workbench .sw-student[data-movable=true]:active,.sw-dialog .sw-student[data-movable=true]:active{cursor:grabbing}.sw-student.is-dragging{opacity:.5}.sw-student>span{flex:1;align-items:center;gap:3px;min-width:0;display:flex;overflow:hidden}.sw-student-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;display:block;overflow:hidden}.sw-student svg{color:#22735a;flex:none}.sw-student small{color:var(--muted);white-space:nowrap;flex:none;font-size:10px}.sw-event>.sw-student{height:22px}.sw-event :is(.sw-event-heading,.sw-student,.sw-overflow):focus-visible{outline-offset:-2px}.sw-student .sw-status{flex-shrink:0;font-size:10px}.sw-student.is-arrived .sw-status{color:#22735a}.sw-student.is-leave{color:#7a8a91}.sw-student.is-leave>span:first-child{text-decoration:line-through}.sw-student:is(.is-makeup,.is-dragging,.is-drag-preview),.sw-student:is(.is-dragging,.is-drag-preview):hover{color:#fff;background:#c63e46;border-color:#b7343d}.sw-student.is-makeup:hover{color:#fff;background:#b73139;border-color:#a52c33}.sw-student:is(.is-makeup,.is-dragging,.is-drag-preview)>small{color:#fff;font-variant-numeric:tabular-nums}.sw-overflow{width:100%;min-height:22px;color:var(--sw-text);text-align:left;background:0 0;border:0;flex-shrink:0;padding:1px 4px;font-size:10px;line-height:18px}.sw-overflow:hover{text-decoration:underline}.sw-legend{color:var(--muted);flex-wrap:wrap;gap:6px 17px;padding:11px 1px 0;font-size:11px;display:flex}.sw-calendar-shell>.sw-legend{border-top:1px solid var(--line);padding:9px 12px}.sw-legend>span{align-items:center;gap:6px;display:inline-flex}.sw-legend>span:before{content:"";background:var(--sw-accent);border-radius:2px;width:7px;height:7px}.sw-legend>span.is-makeup{color:#b7343d}.sw-legend>span.is-makeup:before{background:#c63e46}.sw-legend>span.is-leave:before,.sw-legend>span.is-unpaid:before{display:none}.sw-legend>span:has(svg):before{display:none}.sw-legend>span:has(svg){color:#22735a}.sw-legend>span.is-leave{text-decoration:line-through}.sw-agenda{display:none}.sw-queue,.sw-detail{border:1px solid var(--line);background:#fff;border-radius:9px;min-width:0;overflow:hidden}.sw-queue.is-drop-target{outline-offset:-2px;outline:2px dashed #c63e46}.sw-queue.is-drop-over{outline-offset:-3px;outline:3px solid #b7343d}.sw-queue.is-drop-over>header{background:#fff0f1}.sw-queue>header,.sw-detail>header{justify-content:space-between;align-items:center;gap:10px;padding:14px 16px 10px;display:flex}.sw-queue h2,.sw-detail h2{margin:0;font-size:14px;font-weight:600}.sw-queue header small,.sw-count{color:var(--muted);font-size:12px;font-weight:400}.sw-queue header>h2{white-space:nowrap;flex:1}.sw-queue>.sw-muted{padding:18px 16px;font-size:12px}.sw-queue-strips{gap:3px;padding:6px 12px 12px;display:grid}.sw-queue-strips .sw-queue-student{height:22px;margin:0}.sw-student.sw-queue-lesson-strip{height:30px;padding-block:2px}.sw-student>.sw-queue-identity{white-space:normal;gap:0;display:grid}.sw-queue-heading{justify-content:space-between;align-items:center;gap:6px;min-width:0;display:flex}.sw-queue-lesson{white-space:nowrap;font-size:10px;line-height:16px}.sw-student:is(.is-makeup,.is-dragging,.is-drag-preview) .sw-queue-heading small{color:inherit;font-variant-numeric:tabular-nums}.schedule-workbench [data-schedule-date].is-appointment-drop-target{outline-offset:-2px;outline:2px dashed #c63e46}.schedule-workbench [data-schedule-date].is-appointment-drop-over{outline-offset:-3px;background-color:#fff0f1;outline:3px solid #b7343d}.sw-appointment-drop-time{z-index:4;color:#a52c33;pointer-events:none;border-top:2px solid #b7343d;font-size:11px;font-weight:600;position:absolute;left:0;right:0}.sw-appointment-drop-time>span{background:#fff0f1;border-radius:3px;padding:1px 3px;position:absolute;bottom:2px;right:2px}.sw-request-row{text-align:left;width:100%;color:var(--ink);background:#fff;border:0;border-bottom:1px solid #eaf0f2;grid-template-columns:minmax(0,1fr) auto;gap:3px 10px;padding:12px 16px;display:grid}.sw-request-row:last-child{border-bottom:0}.sw-request-row strong{font-size:13px;font-weight:600}.sw-request-row strong small{color:var(--muted);margin-left:4px;font-size:10px;font-weight:400}.sw-request-row>span{color:var(--muted);grid-column:1/-1;font-size:11px}.sw-request-row>small{color:#876531;grid-area:1/2;align-self:center;font-size:10px;font-weight:400}.sw-request-row:hover{background:#f5f9fb}.sw-request-row.is-selected{box-shadow:inset 3px 0 0 var(--primary);background:#edf6fa}.sw-detail>header{border-bottom:1px solid var(--line);min-height:48px;padding-block:10px}.sw-detail>header>button{width:32px;height:32px;color:var(--muted);background:0 0;border:0;border-radius:5px;flex:none;place-items:center;display:inline-grid}.sw-detail>header>button:hover{background:#edf4f7}.sw-detail-body{flex-direction:column;gap:17px;min-width:0;padding:16px;display:flex}.sw-detail-body h3{margin:0 0 8px;font-size:13px;font-weight:600}.sw-detail-body>.sw-muted{font-size:12px}.sw-facts,dl.sw-facts{gap:8px;margin:0;display:grid}.sw-facts>div{grid-template-columns:68px minmax(0,1fr);align-items:baseline;gap:10px;display:grid}.sw-facts dt{color:var(--muted);font-size:11px}.sw-facts dd{overflow-wrap:anywhere;margin:0;font-size:12px}.sw-facts dd a{word-break:break-word}.sw-roster{gap:0;display:grid}.sw-roster button{text-align:left;width:100%;min-height:39px;color:var(--ink);background:0 0;border:0;border-bottom:1px solid #edf2f4;justify-content:space-between;align-items:center;gap:10px;padding:8px 0;font-size:12px;display:flex}.sw-roster button>span{align-items:baseline;gap:7px;display:flex}.sw-roster button small{color:var(--muted);font-size:11px;font-weight:400}.sw-roster button:hover{color:var(--primary)}.sw-roster button.is-leave{color:#7a8a91}.sw-roster button.is-leave strong{text-decoration:line-through}.sw-comparison{grid-template-columns:minmax(0,1fr);gap:7px;display:grid}.sw-lesson-summary{border:1px solid var(--line);border-left:3px solid var(--staff-course-accent,var(--sw-accent));background:#f8fbfc;border-radius:6px;padding:10px 11px;font-size:12px}.sw-lesson-summary>:is(span,small,time){color:var(--muted);margin-bottom:3px;font-size:11px;display:block}.sw-lesson-summary>strong{margin-bottom:4px;font-weight:600;display:block}.sw-lesson-summary p{font-size:12px}.sw-comparison>:is(svg,.sw-arrow){color:var(--muted);justify-self:center}.sw-cycle{color:#795723;background:#fcf5e9;border-radius:6px;padding:10px 11px;font-size:12px;line-height:1.6}.sw-cycle strong{font-weight:600}.sw-cycle>span{margin-top:2px;font-size:11px;display:block}.sw-cycle small{color:#8a724e;font-size:11px;display:block}.sw-reason{overflow-wrap:anywhere;font-size:12px}.sw-reason p{margin:4px 0 7px}.sw-reason a,.sw-reason button{font-size:12px}.sw-reason button{min-height:32px;color:var(--primary);background:0 0;border:0;align-items:center;gap:5px;padding:0;display:inline-flex}.sw-candidates{gap:6px;max-height:252px;margin:-3px;padding:3px;display:grid;overflow:auto}.sw-candidates button{border:1px solid var(--line);width:100%;color:var(--ink);text-align:left;background:#fff;border-radius:6px;flex-direction:column;align-items:flex-start;gap:3px;padding:10px 11px;font-size:12px;display:flex}.sw-candidates button strong{font-weight:600}.sw-candidates button small{color:var(--muted);font-size:11px}.sw-candidates button:hover{background:#f4f9fb;border-color:#9abdc9}.sw-candidates button.is-selected{border-color:var(--primary);box-shadow:inset 3px 0 0 var(--primary);background:#edf7fa}.sw-review-note{flex-direction:column;gap:7px;font-size:12px;display:flex}.sw-review-note textarea{width:100%;min-height:74px;color:var(--ink);resize:vertical;background:#fff;border:1px solid #b9cbd2;border-radius:6px;padding:8px 10px;font-size:13px;line-height:1.6;display:block}.sw-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.sw-actions :is(.primary-button,.secondary-button,.danger-button){border-radius:6px;min-height:38px;padding:7px 12px;font-size:12px}.sw-actions>button:only-child,.sw-actions>a:only-child{width:100%}.sw-notice{color:#246074;overflow-wrap:anywhere;background:#eff8fb;border:1px solid #d1e6ec;border-radius:6px;padding:10px 12px;font-size:12px}.sw-notice[role=alert],.sw-notice.is-error{color:#9a3c33;background:#fff3f1;border-color:#e9d1cc}.sw-notice+.sw-layout{margin-top:12px}.sw-drag-ghost{z-index:100;pointer-events:none;border-radius:3px;position:fixed;overflow:hidden;box-shadow:0 3px 12px #17343e24}.sw-dialog{border:1px solid var(--line);width:min(460px,100vw - 32px);max-height:calc(100dvh - 40px);color:var(--ink);background:#fff;border-radius:12px;padding:0;font-size:13px;overflow:auto;box-shadow:0 20px 80px #17343e35}.sw-dialog::backdrop{background:#17343e65}.sw-dialog>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:14px;padding:14px 18px;display:flex}.sw-dialog>header h2{font-size:16px;font-weight:600}.sw-dialog>header button{width:34px;height:34px;color:var(--muted);background:0 0;border:0;border-radius:6px;flex-shrink:0;place-items:center;display:inline-grid}.sw-dialog>:not(header){margin:18px}.sw-dialog>.sw-detail-body{margin:0;padding:18px}.sw-detail-drawer[open]{flex-direction:column;display:flex}.sw-detail-drawer>header{flex:none}.sw-detail-drawer>.sw-detail-body{overscroll-behavior:contain;min-height:0;overflow-y:auto}@media (min-width:1600px){.workspace-main:has(.schedule-workbench){padding-inline:24px}.sw-layout{gap:16px}}@media (max-width:1350px){.workspace-main:has(.schedule-workbench){padding-inline:16px}.sw-topbar{gap:12px}.sw-search{margin-left:0}.sw-calendar-scroll{max-height:min(780px,100dvh - 230px)}}@media (max-width:1279px){.sw-layout,.sw-aside{grid-template-columns:minmax(0,1fr)}.sw-queue{max-width:none}.sw-aside>.sw-detail{display:none}.sw-detail-drawer{border-radius:12px;width:min(420px,100vw - 24px);max-height:90dvh;margin:auto 12px;position:fixed;inset:0 0 0 auto}.sw-calendar-scroll{max-height:min(740px,100dvh - 230px)}}@media (min-width:701px) and (max-width:1050px){.sw-topbar{flex-wrap:wrap}.sw-teachers{flex-basis:100%}.sw-event{padding-inline:1px}.schedule-workbench .sw-event .sw-class-summary{gap:1px;padding:2px 1px}.sw-event .sw-class-summary>strong{font-size:11px;line-height:16px}.sw-event>.sw-student{gap:1px;padding-inline:1px}.sw-event .sw-student>span{gap:1px}.sw-event .sw-student svg{width:9px}}@media (max-width:700px){.workspace-main:has(.schedule-workbench){padding:18px 14px 32px}.sw-preview-bar{gap:2px 13px;margin-bottom:13px;font-size:11px}.sw-preview-bar>:first-child{flex-basis:100%}.sw-topbar{flex-wrap:wrap;gap:9px;margin-bottom:10px}.sw-topbar h1,.sw-title{font-size:20px}.sw-scope{margin-left:0}.sw-scope button{min-height:36px;padding:5px 10px;font-size:12px}.sw-teachers{flex-basis:100%;gap:2px}.sw-teachers button{min-height:40px;padding-inline:5px;font-size:12px}.sw-toolbar{gap:10px 8px;margin-bottom:14px}.sw-date-controls{flex-basis:100%;gap:4px}.sw-date-controls>button,.sw-period-controls>button{min-height:38px}.sw-search{flex:1;margin:0}.sw-search input{flex:1;width:100%;font-size:16px}.sw-views button{min-width:36px;min-height:32px;padding-inline:9px}.sw-calendar-scroll{display:none}.sw-calendar-shell{background:0 0;border:0;overflow:visible}.sw-calendar-shell>.sw-toolbar{border:0;margin-bottom:12px;padding:0}.sw-agenda{gap:12px;display:grid}.sw-agenda-empty{color:var(--muted);text-align:center;margin:0;padding:24px 13px;font-size:13px}.sw-agenda-day{border:1px solid var(--line);background:#fff;border-radius:9px;padding:13px}.sw-agenda-day>h2,.sw-agenda-day>header{margin-bottom:10px;font-size:14px;font-weight:600}.sw-agenda-day>h2 button{min-height:34px;color:var(--ink);text-align:left;font-size:inherit;font-weight:inherit;background:0 0;border:0;align-items:center;padding:0;display:inline-flex}.sw-agenda-day>h2 small{color:var(--muted);margin-left:8px;font-size:11px;font-weight:400}.sw-agenda-day.is-today>h2{color:var(--primary)}.sw-agenda-day>.sw-muted{font-size:12px}.sw-agenda-event{border-top:1px solid #e8eff2;grid-template-columns:72px minmax(0,1fr);gap:9px;margin-top:8px;padding-top:8px;display:grid}.sw-agenda-event>time{color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums;padding-top:8px;font-size:11px}.sw-agenda-event>div{border-left:3px solid var(--sw-accent);background:var(--sw-tint);min-width:0;color:var(--sw-text);border-radius:4px;padding:5px 7px}.sw-agenda-event:has(.sw-class-summary){grid-template-columns:minmax(0,1fr)}.sw-agenda-event:has(.sw-class-summary)>time{display:none}.sw-agenda-event .sw-class-summary{gap:2px;min-height:96px;padding:4px;font-size:12px;line-height:18px}.sw-agenda-event .sw-class-summary>strong{font-size:13px;line-height:20px}.sw-agenda-event.is-selected>div{outline:1px solid var(--sw-accent)}.sw-agenda-event.is-candidate>div{outline:2px solid #298576}.sw-agenda-event .sw-event-heading{min-height:34px;margin-bottom:0}.sw-agenda-event .sw-event-heading strong{font-size:13px}.sw-agenda-event .sw-student{min-height:34px;padding-inline:3px;font-size:12px}.sw-agenda-event .sw-student small{font-size:11px}.sw-agenda-event .sw-overflow{min-height:32px;font-size:11px}.sw-agenda-appointment{color:#805b28;text-align:left;background:#fbf2e2;border:0;border-left:3px solid #bd873e;border-radius:4px;width:100%;min-height:44px;margin-top:7px;padding:9px 11px;font-size:12px}.sw-legend{gap:6px 14px;padding-top:12px}.sw-aside{margin-top:2px}.sw-request-row{padding-block:14px}.sw-detail-drawer{width:100%;max-width:none;max-height:90dvh;padding-bottom:env(safe-area-inset-bottom,0px);border-bottom:0;border-radius:16px 16px 0 0;margin:0;inset:auto 0 0}.sw-detail-drawer>header{min-height:56px;padding:10px 18px}.sw-detail-drawer>header button{width:40px;height:40px}.sw-review-note textarea{font-size:16px}.sw-actions :is(.primary-button,.secondary-button,.danger-button){flex:1;min-height:44px;font-size:13px}.sw-roster button{min-height:44px}}@media (prefers-reduced-motion:reduce){.schedule-workbench *,.sw-dialog *{scroll-behavior:auto}}.sw-aside{scrollbar-width:thin;align-content:start;max-height:min(820px,100dvh - 148px);overflow-y:auto}.sw-queue-shortcut{display:none}@media (max-width:1350px) and (min-width:1280px){.sw-aside{max-height:min(780px,100dvh - 180px)}}@media (max-width:1279px){.sw-aside{max-height:none;overflow:visible}.sw-queue-shortcut{border:1px solid var(--line);min-height:36px;color:var(--primary);background:#fff;border-radius:6px;align-items:center;padding:5px 10px;display:inline-flex}}.sw-student>span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.sw-dialog[open]{flex-direction:column;height:min(860px,90dvh);display:flex;overflow:hidden}.sw-dialog>header{flex:none}.sw-dialog>.sw-detail-body{overscroll-behavior:contain;scrollbar-gutter:stable;flex:auto;min-height:0;overflow-y:auto}@media (max-width:760px){.sw-dialog[open]{inset:var(--staff-phone-top,0px) 0 auto;width:100%;max-width:100%;height:var(--staff-phone-height,100dvh);max-height:var(--staff-phone-height,100dvh);border:0;border-radius:0;margin:0;position:fixed}.sw-dialog>header{padding-top:max(10px,env(safe-area-inset-top,0px))}}
