.split-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-height:290px;overflow:auto;padding:3px}.check{display:flex;align-items:flex-start;gap:8px;padding:10px;border:1px solid #d8e0eb;border-radius:9px;background:#fbfcfe;cursor:pointer}.check input{width:auto;margin-top:4px}.approval{background:#fff7e2;border-color:#f0cf7d}.attendance-list{display:grid;gap:8px;max-height:360px;overflow:auto;padding-right:4px}.attendance-row{display:grid;grid-template-columns:minmax(150px,1fr) 145px minmax(140px,1fr);gap:10px;align-items:center;padding:10px;border:1px solid #d8e0eb;border-radius:9px;background:#fbfcfe}.receipt-link.compact{font-size:12px}.badge.paid{background:#e2f5ea;color:#126838}.session-number{display:inline-block;margin-bottom:5px;color:#a11622;font-size:11px;font-weight:800;letter-spacing:.04em}.attendance-summary{font-size:12px;line-height:1.55}.report-fieldset{border:1px solid #d8e0eb;border-radius:12px;padding:14px;background:#fbfcfe}.report-fieldset legend{padding:0 7px;font-weight:800;color:#102a4c}.report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.report-grid textarea{min-height:82px;resize:vertical}.view-loading{min-height:180px;display:grid;place-items:center;color:#526276;font-weight:700}.view-loading:before{content:'';width:30px;height:30px;border:3px solid #dbe4ee;border-top-color:#b91d2a;border-radius:50%;animation:abec-spin .7s linear infinite}@keyframes abec-spin{to{transform:rotate(360deg)}}@media(max-width:800px){.split-grid,.report-grid{grid-template-columns:1fr}.choice-grid{grid-template-columns:1fr}.attendance-row{grid-template-columns:1fr}}
.team-coach-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.team-coach-card{border:1px solid #d8e0eb;border-radius:13px;padding:17px;background:linear-gradient(145deg,#fff,#f6f9fd)}.team-card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.team-card-head h3{margin:4px 0;color:#102a4c;font-size:19px}.team-card-head p{margin:0;color:#65758b;font-size:12px}.team-coach-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:15px 0}.team-coach-metrics span{padding:8px 6px;border-radius:8px;background:#edf3fb;text-align:center;font-size:10px;color:#5b6b80}.team-coach-metrics b{display:block;color:#102a4c;font-size:18px}.team-last{margin:6px 0;font-size:12px;color:#526276;line-height:1.45}.team-activity{margin:7px 0 18px;padding-left:20px;color:#526276}.team-activity li{margin:7px 0}.compact-cards{grid-template-columns:repeat(3,1fr);margin:10px 0 18px}.compact-cards .card{min-height:0;padding:12px}.compact-cards .card b{font-size:24px}@media(max-width:800px){.team-coach-grid{grid-template-columns:1fr}.team-coach-metrics{grid-template-columns:repeat(2,1fr)}.compact-cards{grid-template-columns:1fr}}
.identity-avatar{width:42px;height:42px;border-radius:50%;object-fit:cover;flex:0 0 auto;background:#e9eff8;border:1px solid #d5dfeb}.identity-avatar.small{width:36px;height:36px;font-size:13px}.identity-avatar.preview{width:72px;height:72px}.identity-fallback{display:grid;place-items:center;color:#0b3770;font-weight:900}.identity-inline{display:flex;align-items:center;gap:9px;min-width:185px}.identity-photo-field{padding:12px;border:1px dashed #aebfd7;border-radius:11px;background:#f8fbff}.identity-photo-control{display:flex;align-items:center;gap:13px}.identity-photo-control input[type=file]{padding:7px;background:#fff}@media(max-width:520px){.identity-inline{min-width:150px}.identity-photo-control{align-items:flex-start;flex-direction:column}}
.enrollment-chart{display:flex;align-items:flex-end;gap:10px;height:190px;margin:22px 0 18px;padding:18px 12px 7px;border:1px solid #d8e5f3;border-radius:13px;background:linear-gradient(180deg,#f8fbff,#fff)}.enrollment-bar{height:100%;min-width:24px;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:7px;color:#63758d;font-size:10px;font-weight:800;text-transform:capitalize}.enrollment-bar span{width:min(100%,34px);min-height:5px;border-radius:8px 8px 3px 3px;background:linear-gradient(180deg,#1078d1,#073d82);box-shadow:0 3px 8px rgba(5,65,137,.18);transition:height .22s ease}.enrollment-bar:hover span{background:linear-gradient(180deg,#d43c43,#a0121b)}.metric-positive{color:#087148!important}.metric-negative{color:#b31e28!important}.metric-neutral{color:#102a4c!important}@media(max-width:520px){.enrollment-chart{gap:5px;height:155px;padding-inline:7px}.enrollment-bar{font-size:8px;min-width:17px}.enrollment-bar span{width:100%}}
.student-search{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:16px}.student-search h2{margin-bottom:3px}.student-search label{width:min(100%,420px)}.student-search label span{font-size:12px}.student-search input{width:100%;background:#fbfdff}.student-profile-head{display:flex;align-items:center;gap:16px;margin:0 0 19px}.student-profile-head h2{margin:0;color:#102a4c}.student-profile-head p{margin:5px 0}.student-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 20px}.student-profile-grid section{padding:14px;border:1px solid #dbe4ee;border-radius:11px;background:#fbfdff}.student-profile-grid h3{margin:0 0 8px;color:#102a4c;font-size:14px}.student-profile-grid p{margin:0;line-height:1.75;color:#41546e}@media(max-width:700px){.student-search{align-items:stretch;flex-direction:column}.student-search label{width:100%}.student-profile-grid{grid-template-columns:1fr}}

/* Only the signed-in coach's timetable can mark a classroom. */
.coach-current-lesson {
  --lesson-ink: #14513d;
  margin: 0 0 1rem;
  padding: 1rem 1.35rem;
  border: 1px solid #a7d6bd;
  border-inline-start: 5px solid #167747;
  border-radius: 14px;
  background: #effaf3;
  color: var(--lesson-ink);
}
.coach-current-lesson[hidden], .coach-room-tag[hidden] { display: none; }
.coach-current-lesson .coach-lesson-label, .coach-room-tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--lesson-ink, #14513d);
  font-size: .9rem;
  font-weight: 750;
}
.coach-lesson-label::before, .coach-room-tag::before {
  content: '';
  width: .55rem;
  height: .55rem;
  flex: none;
  border-radius: 50%;
  background: currentColor;
}
.coach-current-lesson p, .coach-current-lesson h2 { margin: 0; color: inherit; }
.coach-lesson-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .7rem 1rem; margin-top: .4rem; }
.coach-lesson-row h2 { font-size: clamp(1.2rem, 3vw, 1.65rem); overflow-wrap: anywhere; }
.coach-lesson-row p { margin-top: .15rem; }
.coach-lesson-row button { min-height: 44px; }
.coach-room-current { outline: 2px solid #16814b; outline-offset: -2px; }
.coach-room-tag { padding: .25rem .65rem; margin-bottom: .55rem; border-radius: 20px; background: #e3f6e9; }
.coach-current-lesson.schedule-conflict { --lesson-ink: #744409; background: #fff7e7; border-color: #d69c42; }
.coach-room-current.schedule-conflict { outline-color: #ab6a11; }
.schedule-conflict .coach-room-tag { color: #744409; background: #fff0cd; }
.coach-current-lesson .coach-lesson-conflict-note { margin: .3rem 0 .6rem; }
@media (max-width: 540px) {
  .coach-current-lesson { padding: .8rem 1rem; }
  .coach-lesson-row button { width: 100%; }
}
.coach-current-lesson .coach-lesson-next { margin-top: .65rem; font-weight: 600; }
