.btl-app .btl-section-tabs {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  gap: 28px;
  min-width: 0;
  overflow-x: auto;
  border-bottom: 1px solid #e5e7ee;
  scrollbar-width: thin;
}

.btl-app .btl-section-tab {
  flex: 0 0 auto;
  height: 44px;
  padding: 0 1px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #5f6878;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  transition: color 160ms ease, border-color 160ms ease;
}

.btl-app .btl-section-tab:hover { color: #202534; }
.btl-app .btl-section-tab.is-active { border-bottom-color: #3449df; color: #3449df; }
.btl-app .btl-section-tab:focus-visible {
  outline: 2px solid #3449df;
  outline-offset: -4px;
}

.btl-app .btl-student-list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
}

.btl-app .btl-student-list-heading h2 { color: #202534; font-size: 16px; font-weight: 600; }
.btl-app .btl-student-list-heading p { margin-top: 4px; color: #5f6878; font-size: 13px; font-variant-numeric: tabular-nums; }
.btl-app .btl-student-add {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid #3449df;
  border-radius: 8px;
  background: #3449df;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: background-color 160ms ease;
}
.btl-app .btl-student-add:hover { background: #293bc0; }
.btl-app .btl-student-list-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 24px;
  border-top: 1px solid #e5e7ee;
  border-bottom: 1px solid #e5e7ee;
  background: #fafbfc;
}
.btl-app .btl-student-status-switch {
  display: inline-flex;
  gap: 2px;
  margin-right: 8px;
  padding: 3px;
  border: 1px solid #e5e7ee;
  border-radius: 8px;
  background: #f1f3f7;
}
.btl-app .btl-student-status-switch button {
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 5px;
  color: #5f6878;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  transition: color 160ms ease, background-color 160ms ease;
}
.btl-app .btl-student-status-switch button.is-active { background: #fff; color: #3449df; box-shadow: 0 1px 3px #20253412; }
.btl-app .btl-student-list-toolbar > select,
.btl-app .btl-student-list-toolbar > button {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid #e5e7ee;
  border-radius: 8px;
  background: #fff;
  color: #5f6878;
  font-size: 12px;
  font-weight: 500;
}
.btl-app .btl-student-list-toolbar > button:hover { background: #f1f3f7; color: #202534; }
.btl-app .btl-student-add:focus-visible,
.btl-app .btl-student-list-toolbar :is(button, select):focus-visible {
  outline: 2px solid #3449df;
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .btl-app .btl-section-tabs { gap: 22px; }
  .btl-app .btl-student-list-heading { padding: 16px; }
  .btl-app .btl-student-list-toolbar { padding: 12px 16px; }
}
