/* Weekly schedule and compact student home. */
body .student-class-dialog.student-schedule-dialog{width:min(1120px,calc(100vw - 24px));max-width:calc(100vw - 24px)}
.schedule-week{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));border:1px solid var(--line,#353535);margin-top:18px}
.schedule-day{min-width:0;padding:10px;border-right:1px solid var(--line,#353535)}
.schedule-day:last-child{border-right:0}.schedule-day h3{text-align:center;color:var(--gold,#d6b46d);font-size:11px;letter-spacing:1.5px;margin:6px 0 16px}
body .schedule-class{display:flex;flex-direction:column;align-items:flex-start;text-align:left;width:100%;min-width:0;gap:7px;padding:12px;margin:0 0 9px;border:1px solid var(--line,#353535);background:rgba(128,128,128,.05);color:inherit;white-space:normal;overflow-wrap:anywhere;transition:background .25s,border-color .25s,transform .25s}
body .schedule-class:hover{border-color:var(--gold,#d6b46d);background:rgba(210,174,90,.1);transform:translateY(-2px)}
.schedule-class strong{font-size:22px;white-space:nowrap}.schedule-class span{font-size:12px;line-height:1.45}.schedule-class small,.schedule-empty,.schedule-intro{font-size:11px;opacity:.75}.schedule-days{display:none}
:root[data-student-theme=light] .schedule-class{border-radius:8px;background:#fff}.schedule-week:has(>.schedule-day:nth-child(7)){grid-template-columns:repeat(7,minmax(0,1fr))}
.student-next-reservation{margin:0 0 12px;padding:14px;border:1px solid var(--gold,#d6b46d);background:rgba(210,174,90,.06);min-width:0}
.student-next-reservation h3{font-size:10px;letter-spacing:1px;margin:0 0 8px}.student-next-reservation strong{display:block;font-size:16px}.student-next-reservation p{font-size:12px;line-height:1.5;margin:7px 0}.student-next-reservation button{font-size:11px;padding:8px 12px}.experience-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.experience-status{font-size:12px;line-height:1.5}.teacher-space-list{display:grid;gap:9px}.teacher-space-item{padding:12px;border:1px solid var(--line,#353535);min-width:0}.teacher-space-item strong{display:block}.teacher-space-item small{display:block;margin:6px 0}.teacher-profile-form{display:grid;gap:12px}.teacher-profile-form textarea{width:100%;box-sizing:border-box;min-height:140px}.teacher-profile-form img{width:96px;height:96px;object-fit:cover}.teacher-profile-form input{max-width:100%;min-width:0}.reminder-choice{display:flex;gap:10px;align-items:center;padding:12px 0}.reminder-choice input{width:18px;height:18px;flex:0 0 18px}
.notice-flyer-preview{display:block;max-width:100%;max-height:260px;object-fit:contain;margin:12px auto}.notice-flyer-preview[hidden]{display:none}.notice-flyer-button{display:block;width:100%;padding:0!important;background:transparent!important;border:0!important}.notice-flyer-button img{display:block;width:100%;height:auto;max-height:480px;object-fit:contain}.flyer-fullscreen{box-sizing:border-box;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;padding:48px 12px 12px;background:#111;color:#fff;border:0;overflow:auto;touch-action:pan-x pan-y pinch-zoom}.flyer-fullscreen>button{position:fixed;right:12px;top:10px;z-index:2;width:36px;height:36px;background:#222;color:white;border:1px solid #777}.flyer-fullscreen img{display:block;max-width:100%;height:auto;margin:auto;touch-action:pinch-zoom}.notice-card[data-priority=important]{border-color:var(--gold,#d6b46d)}.flyer-controls{display:grid;gap:8px}.flyer-controls input{max-width:100%}.student-profile-form,.teacher-profile-form{min-width:0}
@media(max-width:820px){.schedule-days{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px}.schedule-days button{padding:10px 2px;font-size:11px;min-width:0}.schedule-days button[aria-pressed=true]{border-color:var(--gold,#d6b46d);background:rgba(210,174,90,.15)}.schedule-week,.schedule-week:has(>.schedule-day:nth-child(7)){display:block}.schedule-day{display:none;border:0}.schedule-day.is-selected{display:block}.schedule-class strong{font-size:20px}.schedule-class span{font-size:14px}.schedule-day h3{text-align:left}.student-next-reservation{padding:12px}}
:root[data-student-theme] body .teacher-photo-dialog{background:#151515;color:#eee;border:1px solid #444;font:inherit}
:root[data-student-theme=light] body .teacher-photo-dialog{background:#fff;color:#222;border-color:#ccc}
:root[data-student-theme] body .teacher-photo-dialog::backdrop{background:rgba(0,0,0,.7)}
:root[data-student-theme] body .teacher-photo-dialog button{background:transparent;color:inherit;border:1px solid #888;padding:8px 12px;min-height:36px;cursor:pointer}
