.teacher-page { min-width: 280px; }
.teacher-shell { max-width: 1280px; margin: auto; padding: 32px 36px 0; }
.teacher-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid #40334d; padding-bottom: 26px; }
.teacher-brand { font: 700 20px/1.7 var(--pixel); color: var(--mint); }
.teacher-heading { margin: 44px 0 32px; }
.teacher-heading h1 { font: 700 32px/1.6 var(--pixel); margin: 10px 0 16px; }
.teacher-heading > p { color: #bcaacb; font-size: 15px; line-height: 1.9; }
.teacher-login { max-width: 560px; margin: 32px auto 64px; padding: 36px; background: #241d2e; border: 1px solid #675177; box-shadow: 5px 5px 0 #0b0810; }
.teacher-lock { display: block; color: var(--mint); font-size: 40px; margin-bottom: 16px; }
.teacher-login h2 { font-size: 24px; line-height: 1.6; margin-bottom: 12px; }
.teacher-login > p { color: #c2afcf; font-size: 15px; }
.teacher-login label, .teacher-filters label { display: block; font-size: 15px; margin-bottom: 9px; color: #ddcfe7; }
.teacher-login input, .teacher-filters input, .teacher-filters select { width: 100%; min-width: 0; min-height: 50px; background: #15111c; color: #f2e9f8; border: 1px solid #725884; border-radius: 2px; padding: 12px 14px; font: 16px/1.6 var(--sans); }
.teacher-login form { margin-top: 24px; }
.teacher-login form > .button { width: 100%; margin-top: 18px; }
.teacher-login .teacher-note { font-size: 12px; line-height: 1.8; margin: 22px 0 0; padding-top: 20px; border-top: 1px solid #493454; color: #b9a1c8; }
.teacher-message { font-size: 14px; line-height: 1.8; color: var(--mint); margin: 18px 0; overflow-wrap: anywhere; }
.teacher-message:empty { display: none; }
.teacher-message.is-error { color: #ffc1d1; }
.teacher-session { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; border: 1px solid #4d6341; background: #252d22; }
.teacher-session p { margin: 0; color: #c5dfb2; font-size: 14px; }
.teacher-session .text-button { color: #c5dfb2; }
.teacher-filters { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 16px; padding: 24px; margin-top: 24px; border: 1px solid #51405e; background: #241d2e; }
.teacher-filters > div { flex: 1 1 240px; min-width: 0; }
.teacher-filters > button { min-height: 50px; }
.teacher-results-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin: 32px 0 16px; }
.teacher-results-heading h2 { font-size: 24px; margin: 0; }
#teacher-count { color: var(--mint); font-size: 16px; margin-left: 8px; }
.teacher-results-heading p { font-size: 12px; color: #b8a4c6; margin: 0; }
.teacher-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.teacher-gallery .photo-preview-button { min-height: 190px; }
.teacher-gallery .photo-item-copy { padding: 18px; }
.teacher-empty { text-align: center; border: 1px dashed #5f4770; padding: 54px 24px; color: #c1a9d0; }
.teacher-empty > span { display: block; color: var(--purple); font-size: 42px; }
.teacher-empty h3 { font-size: 22px; color: #e1d1ec; margin: 16px 0; }
.teacher-empty p { font-size: 15px; line-height: 1.9; }
.teacher-more { text-align: center; margin-top: 28px; }
.teacher-footer { margin-top: 54px; padding-bottom: 28px; }
.teacher-footer p { min-width: 0; }
@media (max-width: 1000px) { .teacher-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .teacher-shell { padding: 24px 20px 0; }
  .teacher-header { flex-wrap: wrap; gap: 16px; padding-bottom: 22px; }
  .teacher-brand { font-size: 18px; }
  .teacher-header .button { font-size: 14px; }
  .teacher-heading { margin-top: 32px; }
  .teacher-heading h1 { font-size: 28px; }
  .teacher-login { padding: 28px 20px; margin-bottom: 40px; }
  .teacher-login h2 { font-size: 22px; }
  .teacher-session { padding: 16px; gap: 12px; }
  .teacher-session .text-button { flex-shrink: 0; }
  .teacher-filters { padding: 22px 18px; }
  .teacher-filters > div { flex-basis: 100%; }
  .teacher-filters > button { flex: 1; }
  .teacher-results-heading h2 { font-size: 22px; }
  .teacher-gallery { grid-template-columns: minmax(0, 1fr); }
  .teacher-footer { padding-bottom: 24px; }
}
