/* My Music Staff look-alike, matched to the teacher portal: sky-blue sidebar, white header, cyan lessons. */
.mms { display: flex; font-family: Roboto, Helvetica, Arial, sans-serif; color: #2b3542; font-size: 12px; background: #f5f6f8; }
.mms-side { flex: none; width: 138px; display: flex; flex-direction: column; background: #0A96D8; color: #fff; padding: 8px 6px; }
.mms-word { font-size: 17px; font-weight: 500; letter-spacing: -.02em; padding: 2px 6px 10px; white-space: nowrap; display: flex; align-items: center; gap: 4px; }
.mms-side nav { display: flex; flex-direction: column; gap: 1px; }
.mms-nav { display: flex; align-items: center; gap: 8px; width: 100%; padding: 6px 8px; border: 0; border-radius: 7px;
  background: none; color: #fff; font-size: 11.5px; font-weight: 600; text-align: left; cursor: pointer; white-space: nowrap; }
.mms-nav .ico { width: 14px; height: 14px; }
.mms-nav:hover:not(.dim) { background: rgba(255,255,255,.12); }
.mms-nav.on { background: #0880BD; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.85); }
.mms-nav.dim { cursor: default; }
.mms-collapse { margin-top: auto; font-weight: 500; }

.mms-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mms-head { flex: none; display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; background: #fff; border-bottom: 1px solid #e3e6ea; }
.mms-head h2 { margin: 0; font-size: 15px; font-weight: 700; color: #1f2933; }
.mms-page-ico { width: 16px; height: 16px; color: #5f6b7a; }
.mms-head-r { margin-left: auto; display: flex; align-items: center; gap: 10px; color: #2b3542; }
.mms-head-r .ico { width: 15px; height: 15px; }
.mms-avatar { width: 24px; height: 24px; border-radius: 50%; background: #c9c38f; color: #3d3a1c; display: grid; place-items: center; font-size: 10px; font-weight: 700; }
.mms-acct { font-weight: 600; white-space: nowrap; }

.mms-toolbar { flex: none; display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: #fff; border-bottom: 1px solid #e3e6ea; }
.mms-btn { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 6px; border: 1px solid #cfd6de;
  background: #fff; color: #0A86C4; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.mms-btn.solid { background: #0A96D8; border-color: #0A96D8; color: #fff; }
.mms-btn.active { border-color: #0A96D8; box-shadow: inset 0 0 0 1px #0A96D8; cursor: pointer; }
.mms-spacer { flex: 1; }
.mms-day { font-weight: 700; color: #1f2933; white-space: nowrap; }
.mms-search { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; width: 180px; padding: 4px 8px; border: 1px solid #cfd6de;
  border-radius: 6px; color: #8a96a3; }
.mms-menu-wrap { position: relative; }
.mms-menu { position: absolute; right: 0; top: calc(100% + 4px); z-index: 3; background: #fff; border: 1px solid #d9dee4; border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0,0,0,.12); padding: 4px; min-width: 140px; }
.mms-menu button { display: block; width: 100%; text-align: left; padding: 6px 10px; border: 0; background: none; border-radius: 4px; cursor: pointer; }
.mms-menu button:hover, .mms-menu button.on { background: #e6f5fc; color: #0A86C4; }

/* Students */
.mms-table { flex: 1; min-height: 0; display: flex; flex-direction: column; margin: 10px 12px; background: #fff; border: 1px solid #e3e6ea; border-radius: 6px; }
.mms-rows { flex: 1; min-height: 0; }
.mms-row { display: grid; grid-template-columns: 1.5fr 1.1fr 1fr 26px 1.1fr .9fr; gap: 8px; align-items: center; padding: 6px 10px;
  border-top: 1px solid #edf0f3; cursor: pointer; }
.mms-row:hover { background: #f4fafd; }
.mms-row.sel { background: #e6f5fc; }
.mms-th { border-top: 0; font-weight: 700; color: #5f6b7a; cursor: default; background: #fafbfc; border-radius: 6px 6px 0 0; }
.mms-th:hover { background: #fafbfc; }
.mms-row > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mms-row > .mms-name { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; white-space: normal; }
.mms-name a { color: #0A86C4; font-weight: 600; }
.mms-flag { display: inline-flex; align-items: center; gap: 3px; padding: 1px 6px; border-radius: 999px; background: #fde2e1; color: #b03030;
  font-size: 10.5px; font-weight: 700; }
.mms-phone { font-variant-numeric: tabular-nums; padding: 0 3px; margin-left: -3px; }
.mms-mail { color: #0A96D8; }
.mms-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; vertical-align: 0; }
.mms-muted { color: #9aa5b1; }
.mms-foot { padding: 8px 10px; color: #8a96a3; border-top: 1px solid #edf0f3; }

/* Home */
.mms-content { flex: 1; min-height: 0; padding: 12px 14px; }
.mms-h3 { margin: 0 0 8px; font-size: 15px; color: #1f2933; }
.mms-card { background: #fff; border: 1px solid #e3e6ea; border-radius: 6px; padding: 12px; margin-bottom: 10px; }
.mms-update { display: flex; gap: 10px; }
.mms-bell { flex: none; width: 24px; height: 24px; border-radius: 5px; background: #d9f0fb; color: #0A86C4; display: grid; place-items: center; }
.mms-update-t { font-size: 13px; font-weight: 700; color: #1f2933; }
.mms-update-by { color: #5f7f99; margin: 2px 0 4px; }
.mms-update p { margin: 0; }

/* Calendar */
.mms-cal { flex: 1; min-height: 0; display: flex; flex-direction: column; margin: 8px 12px 10px; background: #fff; border: 1px solid #e3e6ea; border-radius: 6px; }
.mms-cal-head, .mms-allday { flex: none; display: grid; grid-template-columns: 58px repeat(var(--cols), minmax(0, 1fr)); }
.mms-cal-head { background: #f7f8fa; border-bottom: 1px solid #e3e6ea; }
.mms-colhead { padding: 5px 2px; text-align: center; font-weight: 500; color: #1f2933; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mms-colhead small { display: block; font-size: 10px; color: #8a96a3; }
.mms-today { display: inline-grid; place-items: center; min-width: 19px; height: 19px; border-radius: 50%; background: #0A96D8; color: #fff; font-size: 11px; font-weight: 700; }
.mms-allday { border-bottom: 1px solid #e3e6ea; }
.mms-allday > div { border-left: 1px solid #e3e6ea; padding: 2px; min-height: 22px; }
.mms-gutter-l { font-size: 10px; color: #8a96a3; padding: 4px 6px; border-left: 0 !important; }
.mms-allbox { border: 1px solid #5f6b7a; border-radius: 3px; padding: 1px 3px; font-size: 9.5px; line-height: 1.25; overflow: hidden; max-height: 26px; }
.mms-cal-body { flex: 1; min-height: 0; display: flex; }
.mms-gutter { flex: none; width: 58px; }
.mms-time { font-size: 10px; color: #8a96a3; text-align: right; padding-right: 6px; transform: translateY(-6px); }
.mms-cols { flex: 1; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); align-self: flex-start;
  background-image: repeating-linear-gradient(to bottom, #e6e9ed 0 1px, transparent 1px var(--slot)); }
.mms-col { position: relative; border-left: 1px solid #e3e6ea; }
.mms-ev { position: absolute; overflow: hidden; padding: 2px 3px; border-radius: 3px; background: #B3E6F7; color: #1f3d55;
  font-size: 9.5px; line-height: 1.2; cursor: default; }
.mms-ev b, .mms-ev span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mms-ev-t { color: #0b5394; }
.mms-ev-t .ico { width: 9px; height: 9px; }
.mms-ev.ev-nonteach { background: #CDE8CF; }
.mms-ev.ev-rental { background: #D6D3A0; }
.mode-room .mms-ev, .mode-instructor .mms-ev { font-size: 10px; }

@container (max-width: 700px) {
  .mms-side { width: 44px; padding: 8px 4px; }
  .mms-word { font-size: 0; padding: 4px 8px 12px; }
  .mms-nav span { display: none; }
  .mms-nav { justify-content: center; padding: 7px 0; }
  .mms-hide-sm { display: none !important; }
  .mms-acct { display: none; }
  .mms-row { grid-template-columns: 1.4fr 1fr 1fr 22px; }
  .mms-search { width: auto; flex: 1; }
}
@container (max-width: 520px) {
  .mms-parent { display: none !important; }
  .mms-row { grid-template-columns: 1.3fr 1fr 22px; }
}
