.manage-calendar-panel{margin-bottom:16px;padding:18px 20px;background:#fff;border:1px solid #eadfe2;box-shadow:0 10px 30px rgba(75,31,61,.05)}
.manage-calendar-filters{display:grid;grid-template-columns:minmax(220px,1.5fr) minmax(180px,1fr) minmax(160px,.8fr) auto auto;gap:12px;align-items:end}
.manage-calendar-filters label span{display:block;margin-bottom:7px;color:#6b5662;font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.manage-calendar-filters select{width:100%;height:42px;padding:0 34px 0 12px;border:1px solid #d9cdd2;background:#fff;color:#382d34;font-size:13px}
.manage-calendar-filters .manage-primary,.manage-calendar-filters .manage-secondary{min-height:42px;padding:0 17px}
.manage-calendar{margin:0 0 24px;padding:26px;background:#fff;box-shadow:0 18px 50px rgba(75,31,61,.08)}
.manage-calendar__toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:16px}
.manage-calendar__toolbar-actions{display:flex;flex-direction:column;align-items:flex-end;gap:10px}.manage-calendar__view-toggle{display:flex;gap:4px}.manage-calendar__view-toggle a{min-height:30px;padding:0 10px;font-size:10px}.manage-calendar__view-toggle a.is-active{background:#4b1f3d;color:#fff}
.manage-calendar__toolbar h2{margin:5px 0 3px;color:#4b1f3d;font:500 clamp(30px,4vw,46px)/1 Georgia,serif}
.manage-calendar__toolbar p{margin:0;color:#85747d;font-size:12px}
.manage-calendar__controls{display:flex;gap:4px;align-items:center}.manage-calendar__controls a{min-width:34px;height:30px;padding:0 10px;font-size:10px}.manage-calendar__controls a:first-child,.manage-calendar__controls a:last-child{font-size:16px}
.manage-calendar__legend{display:flex;justify-content:flex-end;gap:18px;margin:-2px 0 12px;color:#75656d;font-size:10px}.manage-calendar__legend span{display:flex;align-items:center;gap:6px}.manage-calendar__legend i{width:9px;height:9px;border-radius:2px;background:#4f9f72}.manage-calendar__legend i.is-draft{background:#d19a43}.manage-calendar__legend i.is-withdrawn{background:#7f8794}.manage-calendar__legend i.is-cancelled{background:#c45151}
.manage-calendar__viewport{overflow:auto;border:1px solid #e2d8db;scrollbar-color:#9ca3af #f3f4f6}.manage-calendar__weekdays,.manage-calendar__grid{display:grid;grid-template-columns:repeat(7,minmax(120px,1fr));min-width:840px}.manage-calendar__weekdays{position:sticky;top:0;z-index:2;background:#f7f1f0;border-bottom:1px solid #e2d8db}.manage-calendar__weekdays span{padding:10px 11px;color:#76636e;font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.manage-calendar__day{min-height:150px;padding:7px;border-right:1px solid #e8dfe1;border-bottom:1px solid #e8dfe1;background:#fff}.manage-calendar__day:nth-child(7n){border-right:0}.manage-calendar__day:nth-last-child(-n+7){border-bottom:0}.manage-calendar__day:nth-child(7n),.manage-calendar__day:nth-child(7n-1){background:#fcf8f7}.manage-calendar__day.is-muted{background:#f8f5f4;color:#b9adb3}.manage-calendar__day>time{display:flex;align-items:center;justify-content:center;width:26px;height:26px;margin:0 0 4px auto;color:#4b1f3d;font-size:11px;font-weight:700}.manage-calendar__day.is-today>time{border-radius:50%;background:#4f9f72;color:#fff}
.manage-calendar__events{max-height:116px;overflow-y:auto;scrollbar-width:thin}.manage-calendar__event{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;min-width:0;gap:1px 6px;margin:3px 0;padding:5px 7px;border:1px solid #cce3d4;border-left:4px solid #4f9f72;border-radius:3px;background:#e3f2e8;color:#245e3c;text-decoration:none;font-size:10px;line-height:1.25;box-shadow:0 1px 2px rgba(36,94,60,.08)}.manage-calendar__event:hover{background:#cde8d7;color:#245e3c}.manage-calendar__event span{color:#3d7655;font-size:9px;white-space:nowrap}.manage-calendar__event strong{display:-webkit-box;min-width:0;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow-wrap:anywhere;font-weight:700}.manage-calendar__event small{display:none;grid-column:1/-1;overflow:hidden;color:#577064;font-size:9px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.manage-calendar__event.is-draft{border-color:#ead4ac;border-left-color:#d19a43;background:#fbefd9;color:#654b1c}.manage-calendar__event.is-cancelled{border-color:#e8c4c4;border-left-color:#c45151;background:#f8dfdf;color:#8c3030;text-decoration:line-through}.manage-calendar__event.is-cancelled span{color:#a34b4b}
.manage-session-list{margin-top:20px}.manage-session-list>summary{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border:1px solid #ded2d6;background:#fff;color:#4b1f3d;cursor:pointer;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;list-style:none}.manage-session-list>summary::-webkit-details-marker{display:none}.manage-session-list>summary:after{content:'+';margin-left:auto;padding-left:18px;font-size:20px;font-weight:400}.manage-session-list[open]>summary:after{content:'−'}.manage-session-list>summary small{margin-left:12px;color:#8f7f87;font-size:10px;font-weight:500;letter-spacing:.04em;text-transform:none}.manage-session-list[open]>summary{border-bottom:0}.manage-session-list .manage-table-wrap{box-shadow:none;border:1px solid #ded2d6}.manage-session-list .manage-pagination{margin-bottom:8px}
@media(max-width:900px){.manage-calendar-filters{grid-template-columns:1fr 1fr}.manage-calendar-filters label:first-of-type{grid-column:1/-1}.manage-calendar-filters .manage-primary,.manage-calendar-filters .manage-secondary{width:100%}}
@media(max-width:600px){.manage-calendar-panel{padding:14px}.manage-calendar-filters{grid-template-columns:1fr}.manage-calendar-filters label:first-of-type{grid-column:auto}.manage-calendar{padding:16px}.manage-calendar__toolbar{align-items:flex-start;flex-direction:column}.manage-calendar__toolbar-actions{align-items:flex-start;width:100%}.manage-calendar__controls{width:100%}.manage-calendar__controls a{flex:1}.manage-calendar__legend{justify-content:flex-start;flex-wrap:wrap;gap:9px 14px}.manage-calendar__weekdays,.manage-calendar__grid{grid-template-columns:repeat(7,minmax(105px,1fr));min-width:735px}.manage-calendar__day{min-height:128px}.manage-session-list>summary{align-items:flex-start;flex-wrap:wrap}.manage-session-list>summary small{width:100%;margin:5px 0 0}}
.manage-calendar.is-week-view .manage-calendar__weekdays,.manage-calendar.is-week-view .manage-calendar__grid{grid-template-columns:repeat(7,minmax(0,1fr));min-width:0}.manage-calendar.is-week-view .manage-calendar__weekdays span{padding:12px;text-align:center}.manage-calendar.is-week-view .manage-calendar__day{min-height:260px;padding:9px}.manage-calendar.is-week-view .manage-calendar__events{max-height:218px}.manage-calendar.is-week-view .manage-calendar__event{display:grid;grid-template-columns:1fr;gap:2px;margin:5px 0;padding:8px 9px;font-size:12px;line-height:1.25}.manage-calendar.is-week-view .manage-calendar__event span{font-size:10px;font-weight:600}.manage-calendar.is-week-view .manage-calendar__event strong{display:block;overflow:visible;white-space:normal}.manage-calendar.is-week-view .manage-calendar__event small{display:block;grid-column:auto;margin-top:2px}
@media(max-width:900px){.manage-calendar.is-week-view .manage-calendar__weekdays,.manage-calendar.is-week-view .manage-calendar__grid{grid-template-columns:repeat(7,minmax(140px,1fr));min-width:980px}.manage-calendar.is-week-view .manage-calendar__day{min-height:220px}.manage-calendar.is-week-view .manage-calendar__events{max-height:178px}}
@media(max-width:600px){.manage-calendar.is-week-view .manage-calendar__weekdays,.manage-calendar.is-week-view .manage-calendar__grid{grid-template-columns:repeat(7,minmax(132px,1fr));min-width:924px}.manage-calendar.is-week-view .manage-calendar__day{min-height:200px}}
.manage-calendar.is-week-view .manage-calendar__day{min-height:460px}.manage-calendar.is-week-view .manage-calendar__events{max-height:412px}
@media(max-width:900px){.manage-calendar.is-week-view .manage-calendar__day{min-height:400px}.manage-calendar.is-week-view .manage-calendar__events{max-height:352px}}
@media(max-width:600px){.manage-calendar.is-week-view .manage-calendar__day{min-height:340px}.manage-calendar.is-week-view .manage-calendar__events{max-height:292px}}
.manage-calendar__event.is-withdrawn{border-color:#d6dbe1;border-left-color:#7f8794;background:#edf0f3;color:#4f5a68}.manage-calendar__event.is-withdrawn span{color:#697586}.manage-calendar__event{cursor:grab}.manage-calendar__event.is-dragging{opacity:.45;cursor:grabbing}.manage-calendar__event.is-saving{opacity:.55;pointer-events:none}.manage-calendar__day.is-drop-target{background:#fff2f7;box-shadow:inset 0 0 0 2px var(--ritz-pink)}
.manage-calendar__legend i.is-unresolved{background:#79586d}.manage-calendar__event.is-unresolved{border-color:#decbd5;border-left-color:#79586d;background:#f4eaf0;color:#4b1f3d}.manage-calendar__event.is-unresolved span{color:#79586d}
.manage-calendar__event.is-source-held{cursor:pointer}
.manage-calendar__event[draggable="false"]{cursor:pointer}.manage-calendar__class-state{display:block;grid-column:1/-1;color:#6b3a55;font-size:10px;font-style:normal;font-weight:700}.manage-session-class-state{display:block;margin-top:6px;color:#6b3a55;font-size:11px;font-weight:600}
