.professor-page .teacher-intro { margin-bottom: 2rem; color: var(--text); }
.professor-page .teacher-intro p { margin: 0 0 .5rem; color: var(--muted); font-size: .7rem; letter-spacing: .12em; }
.professor-page .teacher-intro h1 { margin: 0 0 .65rem; font-size: clamp(1.6rem, 5vw, 2.4rem); line-height: 1.2; overflow-wrap: anywhere; }
.professor-page .teacher-intro span { color: var(--muted); font-size: .9rem; }
.professor-page .public-qr-panel { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-bottom: 1.5rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); color: var(--text); }
.professor-page .public-qr-panel h2 { margin: 0; font-size: 1.1rem; }
.professor-page .public-qr-panel p { color: var(--muted); font-size: .85rem; }
.professor-page .public-qr-address { color: var(--text); overflow-wrap: anywhere; text-decoration: underline; }
.professor-page .public-qr-code { display: block; flex-shrink: 0; padding: 48px; border-radius: 12px; background: #fff; color: #000; }
.professor-page [data-public-qr], .professor-page [data-public-qr] canvas, .professor-page [data-public-qr] img { display: block; width: min(224px, calc(100vw - 11rem)); height: auto; aspect-ratio: 1; }
.professor-page .student-secondary-actions { display: flex; justify-content: flex-end; }
.professor-page .student-withdraw-button { min-height: 44px; padding: .4rem .1rem; border: 0; background: transparent; color: var(--muted); font-size: .72rem; text-decoration: underline; text-underline-offset: .2rem; cursor: pointer; }
.professor-page .student-withdraw-button:hover { color: var(--text); }
.professor-page .student-withdraw-button:focus-visible { outline: 2px solid var(--text); outline-offset: 4px; }
.professor-page .student-withdraw-button:disabled { opacity: .6; cursor: wait; }
.professor-page .student-withdrawn-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--text); }
.professor-page .student-withdrawn-card h2 { margin: 0 0 .75rem; font-size: 1.2rem; }
.professor-page .student-withdrawn-card p, .professor-page .student-withdrawn-card small { color: var(--muted); line-height: 1.6; }
.professor-page .student-withdraw-dialog { width: min(440px, calc(100% - 2rem)); padding: 1.5rem; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.professor-page .student-withdraw-dialog::backdrop { background: rgba(0,0,0,.65); }
.professor-page .student-withdraw-dialog h2 { margin: 0 0 .75rem; font-size: 1.2rem; }
.professor-page .student-withdraw-dialog p { color: var(--muted); font-size: .85rem; line-height: 1.6; }
.professor-page .withdraw-dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .75rem; margin-top: 1.25rem; }
.professor-page .student-withdraw-dialog .withdraw-error { color: var(--danger); }
.professor-page .withdraw-error:empty { display: none; }
@media (max-width: 700px) {
  .professor-page .public-qr-panel { flex-direction: column; gap: 1rem; padding: 1rem; text-align: center; }
}
