.teacher-page {
  padding: 28px 0 40px;
}

.teacher-page .container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}

.teacher-subtitle {
  margin: 8px 0 20px;
  color: #5f6b7a;
}

.teacher-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}

.teacher-actions {
  margin: 12px 0;
}

.teacher-actions button,
.teacher-inline-form button,
.teacher-form-actions button,
.teacher-grid button {
  border: 1px solid #111827;
  background: #111827;
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
}

.teacher-output {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px;
  min-height: 60px;
  white-space: pre-wrap;
  margin-top: 10px;
}

.teacher-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  align-items: center;
  margin: 10px 0;
}

.teacher-inline-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.teacher-inline-form input,
.teacher-inline-form select,
.teacher-grid select,
.teacher-form-grid input,
.teacher-form-grid select {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 8px 10px;
}

.teacher-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.teacher-form-grid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: #334155;
}

.teacher-form-actions {
  display: flex;
  align-items: end;
}

.teacher-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.teacher-table th,
.teacher-table td {
  border: 1px solid #e2e8f0;
  padding: 8px;
  font-size: 13px;
  text-align: left;
}

.teacher-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px;
}

.teacher-kpi-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px;
}

.teacher-note {
  color: #64748b;
  font-size: 13px;
}
