.schedule-page{width:min(1600px,100% - 56px);margin:auto;padding:35px 0 65px}.schedule-heading{display:flex;gap:36px;justify-content:space-between;align-items:center;margin-bottom:30px}.schedule-heading h1{font-size:clamp(30px,4vw,48px);line-height:1.12;max-width:850px;margin:18px 0}.schedule-heading p{max-width:720px;font-size:17px}.schedule-local{min-width:210px;padding:22px;border:1px solid #cadccd;border-radius:18px;background:#edf5e9}.schedule-local>span{font-size:30px;color:#17645d}.schedule-local strong,.schedule-local small{display:block}.schedule-local small{margin-top:7px;color:#60756b}.schedule-toolbar{display:flex;gap:20px;align-items:end;justify-content:space-between;padding:20px;background:#fffef9;border:1px solid #d2dfd3;border-radius:16px}.schedule-toolbar>label{flex:1;max-width:400px}.schedule-toolbar label,.schedule-viewbar label{font-size:13px;font-weight:650}.schedule-toolbar input,.schedule-viewbar select{margin-top:7px}.toolbar-actions{display:flex;gap:8px;flex-wrap:wrap}.toolbar-actions .btn{font-size:14px;padding:12px 16px}.schedule-workspace{display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px;align-items:start;margin-top:18px}.schedule-palette,.schedule-board{background:#fffef9;border:1px solid #ccdbcf;border-radius:18px;min-width:0}.schedule-palette{padding:18px;position:sticky;top:16px}.palette-heading{display:flex;gap:12px;align-items:center;justify-content:space-between}.palette-heading h2{font-size:19px;margin:0}.schedule-palette p{font-size:13px;line-height:1.55}.round-button{border:1px solid #afcdb9;border-radius:9px;width:38px;height:38px;background:#eaf4e5;color:#17645d;font-size:26px}.schedule-palette input{padding:10px 12px;font-size:14px}.schedule-palette #schedule-cards{max-height:520px;overflow:auto;margin-top:14px;display:grid;gap:9px;padding:2px}.subject-card{display:flex;gap:5px;border:1px solid #bcd0c3;border-left:4px solid var(--card-border,#629887);border-radius:10px;background:var(--card-color,#edf6e9);overflow:hidden}.subject-card.selected{outline:3px solid #17645d;outline-offset:0}.subject-card>button{background:transparent;border:0;color:#234739;padding:12px 10px;text-align:left}.subject-card>button:first-child{flex:1;font-weight:650;font-size:14px}.subject-card .card-edit{font-size:19px;align-self:start;padding:9px}.subject-card small{display:block;font-weight:400;margin-top:4px;font-size:12px}.schedule-board{padding:20px}.schedule-viewbar{display:flex;justify-content:space-between;align-items:end;gap:15px;margin-bottom:18px;flex-wrap:wrap}.schedule-tabs{display:flex;gap:5px;flex-wrap:wrap;background:#edf2e9;padding:5px;border-radius:11px}.schedule-tabs button{border:0;padding:10px 14px;border-radius:8px;background:transparent;color:#426056;font-weight:650;font-size:14px}.schedule-tabs button[aria-pressed=true]{background:#17645d;color:white}.schedule-viewbar label{min-width:170px}.schedule-choice,.schedule-warning{padding:12px 16px;background:#fff2d9;border:1px solid #e4ca98;border-radius:10px;font-size:14px}.schedule-grid-scroll{overflow:auto;max-height:820px;border:1px solid #d8e2d6;border-radius:12px}.schedule-table{width:100%;border-collapse:separate;border-spacing:0;min-width:880px;table-layout:fixed}.schedule-table th{background:#edf4e8;font-size:13px;text-align:left;padding:12px;border-right:1px solid #d5e1d5;border-bottom:1px solid #d5e1d5;position:sticky;top:0;z-index:2}.schedule-table th:first-child{width:100px;left:0;z-index:3}.schedule-table td{border-right:1px solid #dee6db;border-bottom:1px solid #dee6db;padding:7px;vertical-align:top;height:106px;background:#fffef9}.schedule-table td.time-cell{background:#f3f7ee;font-size:12px;position:sticky;left:0;z-index:1}.time-cell strong{display:block;font-size:19px;margin:2px 0 7px}.time-cell span{white-space:nowrap}.schedule-cell{position:relative}.schedule-cell.drop-target{background:#d7ebda;box-shadow:inset 0 0 0 3px #17645d}.slot-add{display:block;min-height:86px;height:100%;width:100%;border:1px dashed transparent;border-radius:8px;background:transparent;color:#7e9a86;font-size:23px}.slot-add:hover,.slot-add:focus-visible{border-color:#9abb9c;background:#f0f7ed}.lesson-card{display:block;width:100%;text-align:left;border:1px solid #b6cdbe;border-radius:9px;padding:10px;background:var(--card-color,#e6f2e3);color:#183b39;cursor:grab;min-height:85px}.lesson-card strong{display:block;font-size:14px;line-height:1.4;overflow-wrap:anywhere}.lesson-card small{display:block;font-size:12px;line-height:1.5;margin-top:5px;overflow-wrap:anywhere}.lesson-card.conflict{border:2px solid #c64b44}.lesson-card+.lesson-card{margin-top:7px}.day-section{border:0;padding:0;margin:0}.day-section h3{margin:0;padding:15px 12px;background:#e7f0e2;font-size:16px;position:sticky;left:0}.schedule-board-footer{display:flex;gap:12px;justify-content:space-between;margin-top:16px;font-size:13px}.danger-text{color:#b82e37}.schedule-conflicts,.schedule-reference{margin-top:22px;padding:18px 22px;border:1px solid #d2dfd1;border-radius:13px;background:#fffef9}.schedule-conflicts summary,.schedule-reference summary{cursor:pointer;font-weight:650}.schedule-conflicts li{padding:7px 0;color:#983c32}.schedule-reference p{font-size:14px;max-width:1000px}#schedule-status{min-height:24px;font-size:14px;color:#17645d}#schedule-status.error,#schedule-dialog-error{color:#b52934}#schedule-dialog{max-width:820px;max-height:90dvh;overflow:auto}#schedule-dialog h2{font-size:25px;margin:0 0 22px}.dialog-actions{display:flex;gap:12px;justify-content:flex-end;flex-wrap:wrap;margin-top:24px}.schedule-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.schedule-fields label{display:block;font-weight:650;font-size:14px}.schedule-fields input,.schedule-fields select,.schedule-fields textarea{margin-top:7px;width:100%;max-width:100%}.schedule-fields textarea{min-height:100px;resize:vertical}.schedule-fields .full{grid-column:1/-1}.schedule-edit-list{display:grid;gap:10px;margin:15px 0}.schedule-edit-row{display:grid;grid-template-columns:1fr 1fr 1fr 42px;gap:9px;align-items:end}.schedule-edit-row label{font-size:12px}.schedule-edit-row input{padding:10px;font-size:14px}.schedule-edit-row button{height:43px;border:1px solid #d9b7b7;border-radius:8px;background:#fff0ef;color:#b8323d}.schedule-settings-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:24px}.schedule-settings-head h3{margin:0;font-size:18px}.btn.danger{background:#d22e3a;border-color:#d22e3a;color:white}.schedule-export-options{display:grid;gap:12px}.schedule-export-options label{display:flex;align-items:start;gap:12px;padding:15px;border:1px solid #c8daca;border-radius:12px}.schedule-export-options input{width:auto;margin-top:6px}.schedule-export-options small{display:block;font-weight:400;color:#65766c;margin-top:6px}.sr-only{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}#schedule-confirm{max-width:460px}#schedule-file[hidden]{display:none}@media(max-width:1000px){.schedule-toolbar{align-items:stretch;flex-direction:column}.schedule-toolbar>label{max-width:none}.schedule-local{display:none}.schedule-workspace{grid-template-columns:220px minmax(0,1fr)}}@media(max-width:760px){.schedule-page{width:calc(100% - 26px);padding-top:22px}.schedule-heading h1{font-size:32px}.schedule-heading p{font-size:15px}.schedule-workspace{grid-template-columns:1fr;gap:15px}.schedule-palette{position:static;padding:15px}.schedule-palette #schedule-cards{display:flex;max-height:150px;overflow:auto;gap:8px}.subject-card{flex:0 0 170px}.schedule-board{padding:12px}.schedule-viewbar{align-items:stretch}.schedule-viewbar label{width:100%}.toolbar-actions .btn{flex:1 1 125px}.schedule-fields{grid-template-columns:1fr}.schedule-fields .full{grid-column:auto}#schedule-dialog{padding:20px}.schedule-edit-row{grid-template-columns:1fr 1fr 1fr 35px;gap:5px}.schedule-edit-row input{padding:8px 5px}.schedule-grid-scroll{max-height:650px}.schedule-board-footer{flex-direction:column;align-items:start}.schedule-table{min-width:850px}}
.schedule-start-help{display:flex;gap:12px 24px;flex-wrap:wrap;align-items:center;margin:16px 0;font-size:14px}.schedule-start-help p{flex:1 1 500px;margin:0}.schedule-start-help>a{color:var(--teal)}.schedule-start-help>span{color:var(--muted)}.schedule-view-help{font-size:15px;line-height:1.65;margin:0 0 18px;color:#476258}.schedule-empty{padding:24px;max-width:750px;line-height:1.7}.bell-preset-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;margin:22px 0}.bell-preset-layout .schedule-fields{align-content:start}.bell-preset-layout button{grid-column:1/-1}.bell-calc-help{padding:18px 20px;border:1px solid #c7dcca;border-radius:12px;background:#edf5e9;font-size:14px;line-height:1.6}.bell-calc-help p{margin:9px 0}.class-edit-row{display:grid;grid-template-columns:minmax(90px,1fr) minmax(80px,.7fr) minmax(130px,1fr) auto;gap:12px;align-items:end;padding:14px;border:1px solid var(--line);border-radius:12px}.class-edit-row label,.teacher-edit-row label{font-size:14px;font-weight:650}.class-edit-row input,.class-edit-row select,.teacher-edit-row input{margin-top:7px;min-width:0}.teacher-edit-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 18px;align-items:center;padding:14px;border:1px solid var(--line);border-radius:12px}.teacher-edit-row label{grid-row:1/3}.teacher-edit-row small{color:var(--muted)}.schedule-export-checklist{display:grid;gap:8px;margin:20px 0;max-height:320px;overflow:auto}.schedule-export-check{display:flex;gap:12px;align-items:center;padding:11px;border:1px solid var(--line);border-radius:9px}.schedule-export-check input{flex:0 0 18px;width:18px;min-width:18px;height:18px;margin:0;padding:0}.schedule-fields>*,.schedule-edit-row>*,.class-edit-row>*,.teacher-edit-row>*{min-width:0}.schedule-table small{white-space:pre-line}#schedule-dialog input,#schedule-dialog select,#schedule-dialog textarea{font-size:16px}#schedule-dialog-body>.helper{line-height:1.6}.schedule-palette p{font-size:14px}.schedule-toolbar label,.schedule-viewbar label{font-size:14px}@media(max-width:760px){.bell-preset-layout{grid-template-columns:minmax(0,1fr)}.class-edit-row{grid-template-columns:1fr 1fr}.teacher-edit-row{grid-template-columns:minmax(0,1fr)}.teacher-edit-row label{grid-row:auto}.schedule-edit-row{grid-template-columns:minmax(42px,.6fr) minmax(80px,1fr) minmax(80px,1fr) 32px}.schedule-tabs button{padding:10px}.schedule-viewbar label{min-width:0}.bell-preset-layout .schedule-fields{grid-template-columns:1fr}.schedule-start-help{display:block}.schedule-start-help>*{display:block;margin:10px 0}}
