/* Header presentation shared by classroom adapters. It owns no permissions. */
body.teacher-workspace { margin:0; }
.teacher-shell { background:#fff; border:0; border-bottom:1px solid #ccdce5; margin:0; padding:0; color:#14293a; font:15px/1.55 "DM Sans","Noto Sans Tamil",system-ui,sans-serif; overflow-wrap:anywhere; }
.teacher-shell *, .teacher-shell *::before, .teacher-shell *::after { box-sizing:border-box; }
.teacher-shell [hidden] { display:none !important; }
.teacher-shell .teacher-shell-inner { width:min(100%,1080px); margin:0 auto; padding:20px 28px 0; }
.teacher-shell .teacher-shell-brand-row { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px 24px; }
.teacher-shell .teacher-shell-school { font-weight:500; color:#173f54; min-width:0; }
.teacher-shell .teacher-shell-area { display:block; color:#536b7b; font-size:12px; font-weight:400; }
.teacher-shell .teacher-shell-account { display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px; color:#536b7b; font-size:13px; min-width:0; max-width:100%; }
.teacher-shell .teacher-shell-identity { min-width:0; overflow-wrap:anywhere; }
.teacher-shell .teacher-shell-control { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:9px 16px; margin:0; border:1px solid #ccdce5; border-radius:7px; background:#fff; color:#173f54; font:inherit; font-weight:500; cursor:pointer; max-width:100%; }
.teacher-shell .teacher-shell-control:disabled { opacity:.6; cursor:wait; }
.teacher-shell .teacher-shell-status { margin:16px 0; font:inherit; color:#536b7b; }
.teacher-shell .teacher-shell-nav { display:flex; align-items:center; flex-wrap:wrap; gap:4px 18px; margin:16px 0 0; padding:0; border:0; }
.teacher-shell .teacher-shell-link, .teacher-shell .teacher-shell-nav > button, .teacher-shell .teacher-shell-tools > button { display:inline-flex; align-items:center; min-width:44px; min-height:46px; margin:0; padding:10px 0; border:0; border-bottom:3px solid transparent; border-radius:0; color:#536b7b; background:transparent; font:inherit; font-weight:400; text-decoration:none; }
.teacher-shell .teacher-shell-link[aria-current=page], .teacher-shell .teacher-shell-link[aria-current=location], .teacher-shell .teacher-shell-tools > button[data-active] { color:#173f54; border-bottom-color:#935021; font-weight:500; }
.teacher-shell #teacher-help-toggle { margin-left:auto; }
.teacher-shell .teacher-shell-tools { position:relative; }
.teacher-shell .teacher-shell-tool-links { position:absolute; z-index:20; top:100%; right:0; min-width:220px; max-width:calc(100vw - 36px); padding:8px 16px; background:#fff; border:1px solid #ccdce5; border-radius:7px; box-shadow:0 8px 20px #14293a18; }
.teacher-shell .teacher-shell-tool-links a { display:flex; }
.teacher-shell .teacher-shell-administration > button { padding-right:10px; padding-left:10px; color:#942323; background:#fff0f0; border-radius:6px 6px 0 0; font-weight:500; }
.teacher-shell .teacher-shell-administration > button:hover, .teacher-shell .teacher-shell-administration > button[aria-expanded=true] { color:#781b1b; background:#ffe3e3; }
.teacher-shell .teacher-shell-administration > button[data-active] { color:#781b1b; border-bottom-color:#942323; }
.teacher-shell .teacher-shell-admin-links { border-color:#e6bcbc; }
.teacher-shell .teacher-shell-admin-links a { color:#942323; }
.teacher-shell .teacher-shell-admin-links a[aria-current=page], .teacher-shell .teacher-shell-admin-links a[aria-current=location] { color:#781b1b; border-bottom-color:#942323; }
.teacher-shell .teacher-shell-help { padding:16px 0; margin:0; max-width:64ch; }
.teacher-shell .teacher-shell-help p { margin:0 0 12px; font:inherit; }
.teacher-shell :focus-visible { outline:3px solid #935021; outline-offset:3px; }
@media(max-width:640px) {
  .teacher-shell .teacher-shell-inner { padding:18px 18px 0; }
  .teacher-shell .teacher-shell-nav { gap:4px 16px; }
  .teacher-shell #teacher-help-toggle { margin-left:0; }
  .teacher-shell .teacher-shell-tools { display:contents; }
  .teacher-shell .teacher-shell-tool-links { position:static; flex-basis:100%; width:100%; min-width:0; max-width:100%; box-shadow:none; }
}
@media print { .teacher-shell { display:none; } }
