/* Accountknop en -menu in de kop */
.account-area { position: relative; flex-shrink: 0; }
.account-button { border: 1px solid var(--ink); background: var(--ink); color: white; border-radius: 99px; padding: 9px 16px; font-size: 13px; font-weight: 600; cursor: pointer; }
.account-menu summary { list-style: none; display: flex; align-items: center; gap: 8px; cursor: pointer; border: 1px solid var(--line); border-radius: 99px; padding: 5px 13px 5px 5px; font-size: 13px; font-weight: 600; }
.account-menu summary::-webkit-details-marker { display: none; }
.account-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; font-family: "Space Grotesk"; font-weight: 700; }
.account-name { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; width: 270px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 8px; display: grid; }
.account-who { padding: 10px 10px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; display: grid; gap: 2px; }
.account-who span { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.account-item { display: block; text-align: left; background: none; border: 0; border-radius: 10px; padding: 10px; font-size: 14px; cursor: pointer; color: var(--ink); }
.account-item:hover { background: var(--paper-deep); }
.account-item.strong { font-weight: 700; }
.account-item.danger { color: #a13d27; }
.account-classes { list-style: none; margin: 0 0 6px; padding: 0 10px; font-size: 12px; display: grid; gap: 3px; }
.account-classes span { color: var(--muted); }

/* Dialoog */
.account-dialog { border: 0; border-radius: 24px; padding: 0; width: min(460px, calc(100% - 32px)); max-height: calc(100% - 32px); background: var(--white); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.account-dialog::backdrop { background: rgba(15,24,20,.6); backdrop-filter: blur(4px); }
.account-shell { position: relative; padding: 30px 28px 26px; }
.account-close { position: absolute; top: 14px; right: 14px; }
.account-shell h2 { font-family: "Space Grotesk"; font-size: 28px; margin: 0 0 8px; }
.account-lead { color: var(--muted); font-size: 14px; line-height: 1.55; margin: 0 0 18px; }
.account-form { display: grid; gap: 14px; }
.account-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.account-form input:not([type="radio"]):not([type="checkbox"]) { border: 1px solid var(--line); border-radius: 11px; padding: 12px 13px; font: inherit; font-weight: 400; background: var(--paper); color: var(--ink); }
.account-form input:focus-visible { outline: 3px solid #735ce4; outline-offset: 1px; }
.field-hint { color: var(--muted); font-weight: 400; font-size: 12px; }
.role-picker { border: 0; padding: 0; margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.role-picker legend { font-size: 13px; font-weight: 600; margin-bottom: 6px; padding: 0; }
.account-form .role-picker label { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 99px; padding: 8px 14px; cursor: pointer; font-weight: 500; }
.account-form .role-picker label:has(input:checked) { background: var(--ink); color: white; border-color: var(--ink); }
.account-form .consent { display: flex; align-items: flex-start; gap: 9px; font-weight: 400; line-height: 1.45; }
.account-form .consent[hidden] { display: none; }
.account-form .consent input { margin-top: 3px; }
.account-error { margin: 0; background: #fee4dc; border: 1px solid #f2b8a9; border-radius: 10px; padding: 10px 12px; font-size: 13px; }
.account-error[hidden] { display: none; }
.account-notice { background: #e4f2c6; border: 1px solid #c2d993; border-radius: 12px; padding: 11px 13px; font-size: 13px; margin: 0 30px 16px 0; }
.account-small { color: var(--muted); font-size: 12px; line-height: 1.55; margin: 16px 0 0; }
.account-switch { font-size: 13px; margin: 14px 0 0; }
.account-switch button { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.code-input { font-family: "Space Grotesk" !important; font-size: 24px !important; letter-spacing: 6px; text-transform: uppercase; text-align: center; }
.button-danger { background: #a13d27; color: white; }

@media (max-width: 560px) {
  .site-header .brand { order: 1; }
  .account-area { order: 2; margin-left: auto; }
  .site-header .main-nav { order: 3; }
  .account-name { display: none; }
  .account-menu summary { padding: 4px; }
  .account-shell { padding: 26px 20px 22px; }
}
.footer-link { font-weight: 700; text-decoration: underline; margin-left: 6px; }
.link-inline { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; color: inherit; }
.link-main { min-height: 70vh; display: grid; place-items: start center; padding: 30px 16px 80px; }
.link-card { display: block; position: static; width: min(460px, 100%); box-shadow: var(--shadow); border: 1px solid var(--line); }
.teacher-band { max-width: 1188px; margin: 0 auto 110px; border-radius: 28px; background: #18231f; color: white; display: grid; grid-template-columns: 1.3fr .7fr; gap: 36px; align-items: center; padding: 44px 48px; }
.teacher-band .eyebrow { color: var(--lime); }
.teacher-band h2 { font-size: 40px; letter-spacing: -1.5px; margin: 14px 0 16px; }
.teacher-band-points { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; color: #c9d4cf; font-size: 15px; line-height: 1.5; }
.teacher-band-points li::before { content: "✓ "; color: var(--lime); font-weight: 700; }
.teacher-band-actions { display: grid; gap: 10px; }
.teacher-band-actions .button-dark { background: var(--lime); color: var(--ink); }
.teacher-band-actions .button-quiet { color: white; border-color: #46564f; }
.teacher-band-actions small { color: #a9b7b0; text-align: center; }
.hero-teacher { margin: 18px 0 0; font-size: 14px; }
.hero-teacher a { font-weight: 700; text-decoration: underline; }
@media (max-width: 1100px) { .teacher-band { margin-left: 48px; margin-right: 48px; } }
@media (max-width: 800px) { .teacher-band { grid-template-columns: 1fr; margin: 0 24px 75px; padding: 30px 24px; } .teacher-band h2 { font-size: 32px; } }
