.account-card { background: var(--teal-pale); border-radius: .68rem; margin-top: 1rem; padding: .9rem; }
.account-card > p:not(.eyebrow) { margin: .35rem 0 .7rem; }
.account-card .eyebrow { margin-bottom: .35rem; }
.account-list { margin-block: 1rem .4rem; }
.account-list ul { list-style: none; margin: .35rem 0 0; padding: 0; }
.account-list li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .35rem .8rem; padding-block: .6rem; border-top: 1px solid var(--line); }
.account-list li span { display: block; color: var(--ink-soft); font-size: .83rem; }
.recovery-help summary { color: var(--teal-deep); font-weight: 680; cursor: pointer; }
.recovery-help p { margin-top: .4rem; }
button:disabled { opacity: .65; cursor: wait; }

.account-list li details { flex-basis:100%; }
.account-list li summary { cursor:pointer; color:var(--teal-deep); }

.portal-layout.teacher-layout { grid-template-columns:minmax(0,1fr); padding-block:clamp(1rem,4vw,3rem); }
.teacher-layout .portal-story { display:none; }
.teacher-header { display:flex; justify-content:space-between; align-items:flex-start; flex-wrap:wrap; gap:1rem; }
.teacher-header h1 { margin:.25rem 0 .5rem; font-size:clamp(2rem,4.2vw,3rem); }
.teacher-nav { display:flex; flex-wrap:wrap; gap:.45rem; padding:.4rem; margin-top:1.25rem; border-radius:.65rem; background:var(--grey); }
.teacher-nav a { min-height:44px; display:inline-flex; align-items:center; padding:.5rem .85rem; border-radius:.46rem; text-decoration:none; font-weight:680; }
.teacher-nav a:hover { background:var(--teal-pale); }
.teacher-nav a[aria-current="page"] { background:var(--navy); color:white; }
.teacher-pane { margin-top:1.35rem; }
.teacher-pane h2 { margin:0 0 .5rem; }
.teacher-pane > p { margin:.5rem 0 .7rem; }
.teacher-card { min-width:0; padding:1rem; margin-top:.75rem; border:1px solid var(--line); border-radius:.7rem; }
.teacher-card > p:not(.eyebrow) { margin:.4rem 0 .7rem; }
.teacher-management-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; align-items:start; }
#teacher-create .teacher-card { max-width:740px; }
#student-list li { padding:.8rem 0; }
#student-list li strong { overflow-wrap:anywhere; }
#student-list details form { max-width:450px; }
#teacher-linked-email { overflow-wrap:anywhere; }
.portal-layout.verification-layout { grid-template-columns:minmax(0,560px); justify-content:center; }
.verification-layout .portal-story { display:none; }
#verification-continue { margin-top:.8rem; }
@media(max-width:620px) {
  .teacher-management-grid { grid-template-columns:1fr; gap:.25rem; }
  .teacher-nav a { flex:1 1 auto; justify-content:center; padding-inline:.55rem; }
  .teacher-header .button { min-height:40px; }
}

