/* V288: screen refinements using the active school's accessible palette. */
@media screen{
 html body #app.dm-ui288 :is(.hero,.dm-page-heading,.teacher-section-head){gap:16px!important;margin-bottom:18px!important}
 html body #app.dm-ui288 :is(.hero h1,.dm-page-heading h1,.dm-teacher-calendar285 h1){font-size:clamp(24px,2.3vw,32px)!important;line-height:1.16!important;letter-spacing:-.035em;margin:6px 0 8px!important}
 html body #app.dm-ui288 :is(.hero p,.dm-page-heading p,.teacher-section-head p){font-size:14px!important;line-height:1.5!important;margin:6px 0!important;color:var(--dm-muted)!important}
 html body #app.dm-ui288 :is(.btn,.icon-btn,.dm-text-button){border-radius:13px!important;font-weight:650!important}
 html body #app.dm-ui288 :is(.btn,.icon-btn){min-height:44px!important}.dm-next-primary288{min-height:46px!important}
 html body #app.dm-ui288 .teacher-head{padding:12px 18px!important;gap:12px!important;background:var(--surface)!important;border-bottom:1px solid var(--border)!important}
 html body #app.dm-ui288 .teacher-school-brand{min-width:0!important;gap:10px!important}.teacher-school-brand>div{min-width:0}
 html body #app.dm-ui288 .teacher-school-brand strong{font-size:16px!important;line-height:1.3!important;overflow-wrap:anywhere}
 html body #app.dm-ui288 .teacher-school-brand small{font-size:11px!important;line-height:1.4!important}
 html body #app.dm-ui288 .teacher-school-logo{width:36px!important;height:36px!important;min-width:36px!important;border-radius:11px!important}
 html body #app.dm-ui288 .teacher-head-actions{padding:4px 6px!important;gap:4px!important;border-radius:18px!important}
 html body #app.dm-ui288 .dm-teacher-home>h1{font-size:26px!important;line-height:1.2!important;letter-spacing:-.03em;margin:0 0 6px!important}
 html body #app.dm-ui288 .dm-teacher-home>.dm-teacher-date{font-size:13px!important;margin:0 0 18px!important}
 .dm-next-appointment288{padding:22px;border:1px solid var(--dm-brand-border);border-radius:24px;background:linear-gradient(135deg,var(--surface),var(--dm-brand-soft));box-shadow:var(--dm-shadow);margin:18px 0;color:var(--ink)}
 .dm-next-title288{display:flex;align-items:center;justify-content:space-between;gap:12px}.dm-next-title288>span{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:650;color:var(--dm-accent-text)}.dm-next-title288 svg{width:17px;height:17px}.dm-next-title288>small{background:var(--surface);color:var(--dm-accent-text);border-radius:9px;padding:5px 9px;font-size:11px;white-space:nowrap}
 .dm-next-appointment288 h2{margin:16px 0 8px;font-size:25px;line-height:1.25;letter-spacing:-.025em;overflow-wrap:anywhere}.dm-next-level288{font-size:12px;color:var(--dm-accent-text);font-weight:650}.dm-next-meta288{display:flex;gap:10px 22px;flex-wrap:wrap;margin:16px 0 18px;font-size:13px;color:var(--dm-muted);line-height:1.4}.dm-next-meta288>strong,.dm-next-meta288>span{display:flex;align-items:center;gap:7px}.dm-next-meta288 strong{font-size:18px;color:var(--ink)}.dm-next-meta288 svg{width:17px;height:17px;flex-shrink:0}
 html body #app.dm-ui288 .dm-next-primary288{background:var(--dm-action-bg,var(--dm-accent-solid))!important;color:#fff!important;border:0!important;box-shadow:0 5px 16px #5138911a!important;padding:12px 18px!important;min-height:46px!important;max-width:100%;white-space:normal!important;line-height:1.4!important}
 .dm-next-empty288{display:flex;gap:12px;align-items:center;padding:16px;border:1px solid var(--border);border-radius:18px;background:var(--surface);margin:16px 0}.dm-next-empty288>svg{width:22px;flex-shrink:0;color:var(--dm-accent-text)}.dm-next-empty288>div{min-width:0;flex:1}.dm-next-empty288 strong,.dm-next-empty288 small{display:block;line-height:1.4}.dm-next-empty288 strong{font-size:14px}.dm-next-empty288 small{font-size:12px;color:var(--muted);margin-top:3px}
 html body #app.dm-ui288 .dm-teacher-overview{gap:10px!important;margin:16px 0!important}.dm-ui288 .dm-teacher-overview>button{padding:15px!important;min-height:116px!important;border-radius:19px!important;box-shadow:none!important}.dm-ui288 .dm-teacher-overview>button>strong{font-size:28px!important;line-height:1.2!important;margin:10px 0 6px!important}.dm-ui288 .dm-teacher-overview>button>span{font-size:13px!important}.dm-ui288 .dm-teacher-overview>button>small{font-size:12px!important}
 html body #app.dm-ui288 .dm-teacher-home-section{padding:20px!important;margin:16px 0!important;border-radius:22px!important}.dm-ui288 .dm-teacher-home-section h2{font-size:19px!important}.dm-ui288 .dm-teacher-home-actions>.btn{font-size:12px!important;padding:10px 12px!important}.dm-ui288 .dm-teacher-priority{font-size:12px!important}.dm-ui288 .dm-teacher-notice279 p{font-size:13px!important;line-height:1.5!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.dm-ui288 .dm-teacher-shortcuts>button{padding:14px!important;min-height:70px!important}.dm-ui288 .dm-teacher-shortcuts strong{font-size:14px!important}.dm-ui288 .dm-teacher-shortcuts small{font-size:12px!important}
 html body #app.dm-ui288 .dm-cal-card285{border-left-color:var(--dm-accent-solid)!important;box-shadow:none!important;padding:15px!important;border-radius:18px!important}.dm-ui288 .dm-cal-card285.kind-course .dm-cal-kind285{color:var(--dm-accent-text)!important}.dm-ui288 .dm-cal-card285:is(.kind-private,.kind-lesson,.kind-rental){border-left-color:var(--dm-success-text)!important}.dm-ui288 .dm-cal-card285:is(.kind-private,.kind-lesson,.kind-rental) .dm-cal-kind285{color:var(--dm-success-text)!important}
 html body #app.dm-ui288 .dm-cal-card285.kind-cancelled{opacity:1!important;background:var(--dm-danger-soft)!important;border-color:var(--dm-danger-border)!important;border-left-color:var(--dm-danger-text)!important;color:var(--dm-danger-text)!important}.dm-ui288 .dm-cal-card285.kind-cancelled .dm-cal-kind285{color:var(--dm-danger-text)!important}.dm-ui288 .dm-cal-card285 .grow>strong{font-size:16px!important}.dm-ui288 .dm-cal-card285 .grow>small{font-size:12px!important}
 html body #app.dm-ui288 .dm-cal-legend285 span:nth-child(1){color:var(--dm-accent-text)!important}.dm-ui288 .dm-cal-legend285 span:nth-child(2){color:var(--dm-success-text)!important}.dm-ui288 .dm-cal-legend285 span:nth-child(3){color:var(--dm-danger-text)!important}
 html body .dm-notice-card288{background:var(--surface)!important;border:1px solid var(--border)!important;border-radius:19px!important;padding:17px!important;margin:12px 0!important;color:var(--ink)!important;box-shadow:none!important}
 html body .dm-notice-card288.unread{border-left:3px solid var(--dm-accent-solid)!important;background:var(--surface)!important}.dm-notice-card288 h3{font-size:18px!important;line-height:1.3!important;margin:12px 0 5px!important;letter-spacing:-.02em}.dm-notice-context288{font-size:13px;line-height:1.45;display:block;color:var(--dm-muted);font-weight:500}.dm-notice-card288 p{font-size:13px!important;line-height:1.55!important;overflow-wrap:anywhere}.dm-notice-card288.is-read288{background:var(--surface-2)!important}.dm-notice-card288.is-read288 .dm-event-type284{color:var(--dm-muted)!important}.dm-notice-card288.notice-cancel h3,.dm-notice-card288.notice-cancel .dm-event-type284{color:var(--dm-danger-text)!important}.dm-notice-card288.notice-assign .dm-event-type284{color:var(--dm-success-text)!important}
 .dm-notice-change288{display:grid;grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr);gap:8px;align-items:center;margin:14px 0;background:var(--surface-2);border:1px solid var(--border);padding:12px;border-radius:13px}.dm-notice-change288>div{min-width:0}.dm-notice-change288 small{font-size:10px;color:var(--dm-muted);text-transform:uppercase;letter-spacing:.6px}.dm-notice-change288 strong{display:block;font-size:13px;color:var(--ink);line-height:1.45;overflow-wrap:anywhere;margin-top:4px}.dm-notice-change288>span{color:var(--dm-accent-text)}.dm-notice-change288 svg{width:18px;height:18px}.dm-notice-change288>div:last-child strong{color:var(--dm-accent-text)}
 .dm-notice-source288{margin:10px 0 14px}.dm-notice-source288 summary{font-size:12px;color:var(--dm-muted);cursor:pointer;min-height:28px;display:flex;align-items:center;gap:6px}.dm-notice-source288 summary:before{content:'+';font-size:16px}.dm-notice-source288[open] summary:before{content:'−'}.dm-notice-filters288{display:flex;gap:6px;flex-wrap:wrap;margin:16px 0}.dm-notice-filters288 button{display:flex;align-items:center;gap:7px;min-height:44px;padding:9px 14px;font-size:12px;font-weight:650;color:var(--dm-muted);background:var(--surface);border:1px solid var(--border);border-radius:13px}.dm-notice-filters288 svg{width:16px;height:16px}.dm-notice-filters288 button[aria-pressed=true]{background:var(--dm-brand-soft);color:var(--dm-accent-text);border-color:var(--dm-brand-border)}.dm-notice-clear288{padding:20px;background:var(--surface-2);border-radius:16px;color:var(--dm-muted);font-size:13px}
 html body #app.dm-ui288 .dm-course-compact{border-radius:22px!important;box-shadow:var(--dm-shadow)!important;background:var(--surface)!important;border-color:var(--border)!important}.dm-ui288 .dm-course-top{align-items:flex-start!important;gap:12px!important}.dm-ui288 .dm-course-heading h3{font-size:18px!important;line-height:1.25!important;overflow-wrap:anywhere}.dm-ui288 .dm-course-level{font-size:11px!important;padding:5px 8px!important;border-radius:8px!important}.dm-ui288 .dm-course-site{font-size:12px!important;line-height:1.5!important}.dm-ui288 .dm-course-facts{padding:14px 0!important;gap:10px!important}.dm-ui288 .dm-course-actions{display:flex!important;align-items:stretch!important;gap:8px!important;flex-wrap:wrap!important}.dm-ui288 .dm-course-actions>.btn{min-height:44px!important;align-self:stretch!important;font-size:12px!important;white-space:normal!important}.dm-ui288 .dm-course-bottom{padding-top:12px!important;border-top:1px solid var(--border)!important}
 html body #app.dm-ui288 .student-table-person{align-items:center!important;gap:12px!important;min-width:0!important}.dm-ui288 .student-table-person>div:last-child{min-width:0!important}.dm-ui288 .student-name-link{font-size:15px!important;font-weight:700!important;line-height:1.4!important}.dm-ui288 .student-table-avatar{width:40px!important;height:40px!important;min-width:40px!important;border-radius:13px!important;box-shadow:none!important}.dm-ui288 .dm-student-actions .actions{gap:6px!important;align-items:center!important}.dm-ui288 .dm-student-contact{font-size:13px!important;line-height:1.5!important;overflow-wrap:anywhere}.dm-ui288 .student-note-preview{font-size:12px!important;color:var(--dm-muted)!important}
}
@media screen and (max-width:780px){
 html body #app.dm-ui288 .topbar{padding-top:10px!important;padding-bottom:10px!important;min-height:0!important;gap:8px!important;background:var(--surface)!important}.dm-ui288 .concept-header-actions{gap:5px!important}.dm-ui288 .topbar-scope-chip{padding:6px 10px!important;margin-top:8px!important;border-radius:11px!important}.dm-ui288 .hero{padding:18px!important}.dm-ui288 .dm-teacher-screen{padding:18px 14px 112px!important}.dm-ui288 .dm-teacher-home>h1{font-size:24px!important}.dm-ui288 .dm-teacher-home-section-head{gap:10px!important;align-items:center!important}.dm-ui288 .dm-teacher-home-section-head .dm-text-button{font-size:12px!important;white-space:nowrap}
 html body #app.dm-ui288 .teacher-head{padding:10px 14px!important}.dm-ui288 .teacher-head-actions{gap:2px!important}.dm-ui288 .teacher-head-actions .dm-communication-button,.dm-ui288 .teacher-head-actions .teacher-logout{width:40px!important;min-width:40px!important;min-height:44px!important;padding:8px!important}.dm-ui288 .teacher-head-actions .dm-person-avatar{width:30px!important;height:30px!important}.dm-ui288 .teacher-school-brand strong{font-size:14px!important}
 .dm-next-appointment288{padding:18px;margin:16px 0;border-radius:21px}.dm-next-appointment288 h2{font-size:23px;margin:14px 0 7px}.dm-next-meta288{display:grid;gap:10px;margin:14px 0 16px}.dm-next-primary288{width:100%;justify-content:center}.dm-next-empty288{flex-wrap:wrap}.dm-next-empty288 .btn{margin-left:auto}.dm-next-title288>span{font-size:11px}.dm-next-title288>small{font-size:10px}
 html body #app.dm-ui288 .dm-teacher-home-section{padding:17px!important}.dm-ui288 .dm-teacher-home-section h2{font-size:18px!important}.dm-ui288 .dm-teacher-overview>button{min-height:105px!important;padding:13px!important}.dm-ui288 .dm-teacher-overview>button>strong{font-size:26px!important}.dm-ui288 .dm-cal-card285 .grow>strong{font-size:15px!important}
 html body #app.dm-ui288 .students-table-wrap tbody>tr{border-radius:20px!important;padding:16px!important;gap:12px!important;box-shadow:none!important}.dm-ui288 .dm-student-mobile-detail{font-size:12px!important;line-height:1.5!important;margin-top:5px!important}.dm-ui288 .dm-student-balance strong{font-size:15px!important}.dm-ui288 .dm-student-mobile-actions{padding:9px 12px!important;font-size:12px!important}.dm-ui288 .dm-course-actions>.btn{flex:1 1 auto!important}.dm-ui288 .dm-course-compact{padding:17px!important}.dm-notice-change288{padding:10px;gap:6px}.dm-notice-change288 strong{font-size:12px}
}
@media (prefers-reduced-motion:reduce){.dm-ui288 *{scroll-behavior:auto!important}}

@media screen and (max-width:780px){html body #app.dm-ui288 .teacher-school-brand strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}}
