:root {
  --brand:#2457eb;
  --brand-dark:#1741bb;
  --brand-soft:#edf2ff;
  --ink:#172438;
  --muted:#758197;
  --line:#e6eaf1;
  --canvas:#f6f8fc;
  --green:#23946a;
  font-family:Inter,Arial,"Segoe UI",sans-serif;
  color:var(--ink);
  background:var(--canvas);
  font-synthesis:none
}
* {
  box-sizing:border-box
}
body {
  margin:0;
  min-width:320px
}
button,input,textarea,select {
  font:inherit;
  color:inherit
}
button,a,input,textarea,select {
  -webkit-tap-highlight-color:transparent
}
button {
  cursor:pointer
}
button:disabled {
  cursor:wait;
  opacity:.5
}
a {
  color:inherit;
  text-decoration:none
}
button:focus-visible,a:focus-visible {
  outline:3px solid #8ca8ff;
  outline-offset:4px
}
input:focus,textarea:focus,select:focus {
  outline:2px solid #a4baff;
  outline-offset:1px
}
[hidden] {
  display:none!important
}
.sprite,.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap
}
.icon {
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex-shrink:0
}
.muted {
  color:var(--muted)
}
.eyebrow {
  font-size:10px;
  font-weight:700;
  letter-spacing:1.7px;
  line-height:1.5;
  color:var(--brand);
  margin:0 0 12px
}
.button {
  border:1px solid transparent;
  border-radius:8px;
  min-height:43px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-size:12px;
  font-weight:600;
  padding:11px 17px;
  white-space:nowrap;
  transition:background .15s,transform .15s
}
.primary {
  color:white;
  background:var(--brand)
}
.primary:hover {
  background:var(--brand-dark)
}
.secondary {
  background:white;
  border-color:var(--line)
}
.secondary:hover {
  background:#f8faff
}
.wide {
  width:100%
}
.small {
  min-height:38px;
  padding:9px 12px;
  font-size:11px
}
.small .icon {
  width:16px;
  height:16px
}
.text-button {
  font-size:11px;
  font-weight:600;
  color:var(--brand);
  border:0;
  background:none;
  padding:8px 0
}
.text-button:hover {
  text-decoration:underline
}
.dot {
  display:inline-block;
  width:6px;
  height:6px;
  border-radius:50%;
  vertical-align:middle;
  margin-right:5px
}
.green {
  background:var(--green)
}
.school-app {
  display:flex;
  min-height:100vh
}
.sidebar {
  width:231px;
  flex-shrink:0;
  background:white;
  border-right:1px solid var(--line);
  padding:30px 19px 20px;
  display:flex;
  flex-direction:column;
  position:fixed;
  inset:0 auto 0 0;
  z-index:10
}
.school-brand {
  display:flex;
  align-items:center;
  gap:11px;
  padding:0 6px 35px
}
.school-brand img {
  width:48px;
  height:48px;
  border-radius:50%;
  object-fit:contain
}
.school-brand strong {
  display:block;
  font-size:20px;
  letter-spacing:-.5px
}
.school-brand small {
  display:block;
  color:var(--muted);
  font-size:10px;
  margin-top:5px
}
.nav-label {
  font-size:9px;
  letter-spacing:1.5px;
  color:#99a2b1;
  margin:0 14px 15px
}
.sidebar nav {
  display:grid;
  gap:7px
}
.nav-item {
  width:100%;
  display:flex;
  align-items:center;
  gap:11px;
  border:0;
  background:transparent;
  border-radius:7px;
  padding:13px 12px;
  text-align:left;
  font-size:12px;
  font-weight:500;
  color:#63718a
}
.nav-item.active {
  background:var(--brand-soft);
  color:var(--brand);
  font-weight:600
}
.nav-item:hover {
  background:var(--canvas)
}
.nav-count {
  margin-left:auto;
  font-size:10px;
  background:#dde7ff;
  border-radius:4px;
  padding:3px 6px
}
.sidebar-note {
  margin-top:auto;
  background:#f7f9fe;
  border:1px solid #edf0f7;
  border-radius:10px;
  padding:17px 15px
}
.sidebar-note>.icon {
  color:var(--brand);
  margin-bottom:12px
}
.sidebar-note strong {
  display:block;
  font-size:12px
}
.sidebar-note p {
  font-size:11px;
  line-height:1.8;
  color:var(--muted);
  margin:8px 0 14px
}
.sidebar-note a {
  font-size:11px;
  color:var(--brand);
  font-weight:600
}
.teacher-back {
  font-size:11px;
  padding:18px 6px 0;
  color:var(--brand)
}
.sidebar-footer {
  display:flex;
  align-items:center;
  gap:9px;
  border-top:1px solid var(--line);
  margin-top:22px;
  padding-top:19px
}
.avatar {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:33px;
  height:33px;
  border-radius:50%;
  background:var(--brand-soft);
  color:var(--brand);
  font-size:12px;
  font-weight:700;
  flex-shrink:0
}
.sidebar-footer strong {
  display:block;
  font-size:10px
}
.sidebar-footer small {
  display:block;
  font-size:10px;
  color:var(--muted);
  margin-top:4px
}
.logout {
  margin-left:auto;
  border:0;
  background:none;
  color:var(--muted);
  font-size:23px
}
.workspace {
  margin-left:231px;
  flex:1;
  min-width:0
}
.topbar {
  height:76px;
  padding:0 38px;
  background:white;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  gap:20px;
  font-size:11px;
  color:var(--muted)
}
.topbar strong {
  font-weight:500;
  color:var(--ink)
}
.crumb {
  padding:0 14px;
  color:#bdc4d0
}
.connection {
  margin-left:auto;
  font-size:10px;
  white-space:nowrap
}
.connection i {
  display:inline-block;
  width:6px;
  height:6px;
  background:var(--green);
  border-radius:50%;
  margin-right:6px
}
.school-switch {
  margin-left:auto;
  display:flex;
  gap:8px;
  align-items:center
}
.school-switch select {
  max-width:180px;
  padding:7px;
  background:white;
  border:1px solid var(--line);
  border-radius:6px
}
.content {
  padding:35px 38px 28px;
  max-width:1600px;
  margin:auto
}
.page-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:28px
}
.page-heading h1 {
  font-size:30px;
  font-weight:650;
  letter-spacing:-1.15px;
  margin:0 0 12px
}
.page-heading>div>p:last-child {
  color:var(--muted);
  font-size:12px;
  margin:0;
  line-height:1.7
}
.stats {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:17px;
  margin-bottom:26px
}
.stats article {
  position:relative;
  background:white;
  border:1px solid var(--line);
  border-radius:10px;
  padding:20px 22px
}
.stats article>span {
  font-size:11px;
  color:#6d7a90
}
.stats strong {
  display:block;
  font-size:31px;
  font-weight:600;
  letter-spacing:-1px;
  margin:12px 0
}
.stats small {
  font-size:10px;
  color:var(--muted)
}
.stats article>.icon {
  position:absolute;
  right:21px;
  top:20px;
  color:#8da5d1;
  width:18px;
  height:18px
}
.students-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) 334px;
  gap:22px;
  align-items:start
}
.panel {
  background:white;
  border:1px solid var(--line);
  border-radius:11px;
  overflow:hidden
}
.panel-heading {
  padding:20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px
}
.panel h2 {
  font-size:14px;
  margin:0;
  font-weight:650
}
.panel-heading h2>span {
  font-size:10px;
  font-weight:500;
  background:#f0f3f9;
  border-radius:5px;
  color:var(--muted);
  padding:3px 7px;
  margin-left:7px
}
.table-tools {
  padding:0 20px 19px;
  display:flex;
  gap:10px
}
.search {
  display:flex;
  align-items:center;
  gap:8px;
  border:1px solid var(--line);
  border-radius:7px;
  padding:0 10px;
  min-width:0;
  flex:1
}
.search .icon {
  color:#9ca7b7;
  width:15px;
  height:15px
}
.search input {
  width:100%;
  border:0;
  background:transparent;
  font-size:11px;
  min-height:36px;
  min-width:0;
  outline-offset:4px
}
.table-tools select {
  width:135px;
  font-size:10px;
  border:1px solid var(--line);
  background:white;
  border-radius:7px;
  padding:8px
}
.table-scroll {
  width:100%;
  overflow:auto
}
table {
  border-collapse:collapse;
  width:100%;
  font-size:11px;
  text-align:left
}
th {
  font-size:9px;
  color:#8792a4;
  font-weight:500;
  background:#fafbfe;
  padding:12px 16px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  white-space:nowrap
}
td {
  padding:15px 16px;
  border-bottom:1px solid #eff2f7;
  vertical-align:middle
}
td code {
  font-size:10px;
  white-space:nowrap;
  color:#6c7890
}
.student-cell {
  display:flex;
  align-items:center;
  gap:10px;
  min-width:145px
}
.student-cell .avatar {
  width:30px;
  height:30px;
  font-size:10px;
  background:#eef2fa;
  color:#6b82ac
}
.student-cell strong {
  display:block;
  font-size:11px;
  font-weight:500
}
.student-cell small {
  display:block;
  font-size:9px;
  color:var(--muted);
  margin-top:5px
}
.badge {
  font-size:9px;
  background:#edf8f2;
  color:#24805b;
  border-radius:4px;
  padding:5px 7px;
  white-space:nowrap
}
.badge.revoked {
  background:#fff0f0;
  color:#c45156
}
.row-action {
  font-size:9px;
  color:var(--muted);
  background:none;
  border:0;
  white-space:nowrap;
  padding:5px
}
.row-action:hover {
  color:var(--brand)
}
.empty-state {
  text-align:center;
  padding:44px 30px 46px;
  max-width:390px;
  margin:auto
}
.empty-icon {
  width:49px;
  height:49px;
  background:var(--brand-soft);
  color:var(--brand);
  border-radius:12px;
  margin:0 auto 17px;
  display:grid;
  place-items:center
}
.empty-state h3 {
  font-size:14px;
  font-weight:600;
  margin:0 0 10px
}
.empty-state p {
  font-size:11px;
  line-height:1.8;
  color:var(--muted);
  margin-bottom:15px
}
.table-footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 20px;
  border-top:1px solid var(--line);
  font-size:9px;
  color:var(--muted)
}
.table-footer .text-button {
  font-size:9px
}
.chat-heading {
  padding:19px 17px;
  display:flex;
  align-items:center;
  gap:10px;
  border-bottom:1px solid var(--line)
}
.chat-icon {
  display:grid;
  place-items:center;
  background:var(--brand-soft);
  color:var(--brand);
  width:33px;
  height:33px;
  border-radius:9px
}
.chat-heading h2 {
  font-size:12px
}
.chat-heading small {
  display:block;
  font-size:9px;
  color:var(--muted);
  margin-top:5px
}
.chat-heading>.dot {
  margin-left:auto
}
.chat-body {
  padding:18px;
  min-height:285px;
  max-height:430px;
  overflow-y:auto
}
.assistant-message {
  background:#f5f7fc;
  border-radius:2px 10px 10px;
  padding:15px;
  font-size:11px;
  line-height:1.8;
  color:#718099
}
.assistant-message strong {
  font-weight:600;
  color:#354563;
  font-size:11px
}
.assistant-message p {
  margin:9px 0 0
}
.message-example {
  border-left:2px solid #cbd8fa;
  padding-left:11px;
  margin:12px 0;
  color:#526484;
  line-height:1.9;
  font-size:10px
}
.chat-update {
  margin-top:12px;
  padding:12px;
  font-size:11px;
  line-height:1.7;
  background:var(--brand-soft);
  border-radius:8px;
  overflow-wrap:anywhere
}
.chat-composer {
  margin:0 17px;
  border:1px solid #dce3ef;
  border-radius:9px;
  overflow:hidden
}
.chat-composer:focus-within {
  border-color:var(--brand)
}
.chat-composer textarea {
  resize:vertical;
  min-height:90px;
  max-height:300px;
  width:100%;
  border:0;
  padding:13px 12px;
  font-size:11px;
  line-height:1.7;
  outline:none
}
.chat-composer textarea::placeholder {
  color:#a0a9b8
}
.composer-actions {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:6px 9px 9px;
  gap:7px
}
.attach-button {
  display:flex;
  align-items:center;
  gap:5px;
  border:0;
  background:none;
  color:var(--muted);
  font-size:10px;
  padding:7px 0
}
.attach-button .icon {
  width:15px;
  height:15px
}
.chat-footnote {
  display:block;
  text-align:center;
  font-size:8px;
  color:#98a2b3;
  padding:12px 10px 15px
}
.branding-strip {
  margin-top:24px;
  border:1px solid #e3e9f5;
  background:#f0f4fc;
  border-radius:10px;
  padding:18px 21px;
  display:flex;
  align-items:center;
  gap:15px
}
.shield-icon {
  width:37px;
  height:37px;
  display:grid;
  place-items:center;
  color:var(--brand);
  border-radius:9px;
  background:white
}
.branding-strip strong {
  font-size:11px;
  font-weight:600
}
.branding-strip p {
  font-size:10px;
  line-height:1.7;
  color:var(--muted);
  margin:6px 0 0
}
.branding-strip>.text-button {
  margin-left:auto;
  font-size:10px;
  white-space:nowrap
}
.brand-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:25px
}
.brand-preview {
  padding:35px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center
}
.brand-preview img {
  width:170px;
  height:170px;
  object-fit:contain;
  margin:20px 0
}
.brand-preview h2 {
  font-size:25px
}
.brand-preview p,.brand-preview small {
  color:var(--muted);
  font-size:12px;
  line-height:1.8
}
.brand-preview .button {
  margin:18px 0
}
.brand-preview small {
  max-width:250px;
  font-size:10px
}
.access-panel {
  padding:35px
}
.access-panel>.icon {
  width:30px;
  height:30px;
  color:var(--brand);
  margin-bottom:25px
}
.access-panel h2 {
  font-size:20px;
  line-height:1.4
}
.access-panel p {
  font-size:12px;
  line-height:1.9;
  color:var(--muted)
}
.access-status {
  background:var(--brand-soft);
  padding:15px;
  border-radius:7px;
  color:var(--brand)!important;
  margin:25px 0
}
.small-copy {
  font-size:11px!important;
  line-height:1.8
}
.login-view {
  min-height:100vh;
  display:grid;
  grid-template-columns:1.1fr 1fr
}
.login-story {
  background:#eaf0ff;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:9vw 7vw
}
.login-story h1 {
  font-size:clamp(36px,4.4vw,70px);
  line-height:1.12;
  letter-spacing:-2.8px;
  font-weight:600;
  margin:25px 0
}
.login-story h1 span {
  color:var(--brand)
}
.login-story>p {
  font-size:14px;
  line-height:1.9;
  color:#7786a4;
  max-width:350px
}
.story-line {
  border-top:1px solid #d3ddf4;
  margin-top:40px;
  padding-top:22px;
  display:grid;
  gap:14px;
  font-size:11px;
  color:#7386af
}
.login-card {
  width:min(400px,100%);
  margin:auto;
  padding:45px 28px
}
.login-logo {
  width:76px;
  height:76px;
  object-fit:contain;
  border-radius:50%;
  margin-bottom:26px
}
.login-card h2 {
  font-size:27px;
  letter-spacing:-.6px;
  line-height:1.3;
  margin:10px 0 14px
}
.login-card>p {
  font-size:12px;
  line-height:1.9
}
.login-card form {
  margin-top:25px
}
.login-card label {
  font-size:11px;
  font-weight:600;
  display:block;
  margin-bottom:9px
}
.login-card input {
  border:1px solid #dce3ee;
  border-radius:8px;
  width:100%;
  padding:15px;
  font-size:13px;
  margin-bottom:14px
}
.login-links {
  display:grid;
  gap:15px;
  text-align:center;
  margin-top:25px;
  font-size:10px;
  color:var(--muted)
}
.login-links a:hover {
  color:var(--brand)
}
.boot-state {
  height:100vh;
  display:grid;
  place-items:center;
  font-size:14px;
  color:var(--muted)
}
.error {
  font-size:12px;
  color:#b94349;
  line-height:1.6
}
.error-banner,.info-banner {
  padding:13px 15px;
  border-radius:7px;
  font-size:11px;
  line-height:1.8;
  margin:15px 0;
  white-space:pre-line
}
.error-banner {
  color:#a83840;
  background:#fff0f1;
  border:1px solid #f8dadd
}
.info-banner {
  color:#60759e;
  background:#eef3fe;
  border:1px solid #e1e8f6
}
.notice {
  position:fixed;
  bottom:24px;
  left:50%;
  transform:translateX(-50%);
  background:#1a2d4d;
  color:white;
  box-shadow:0 7px 30px #10254825;
  padding:15px 22px;
  border-radius:9px;
  z-index:100;
  font-size:12px;
  max-width:calc(100% - 32px);
  line-height:1.7
}
dialog {
  border:1px solid var(--line);
  border-radius:14px;
  padding:32px;
  width:min(620px,calc(100vw - 30px));
  max-height:90dvh;
  box-shadow:0 30px 100px #10254830;
  color:var(--ink)
}
dialog::backdrop {
  background:#1b2a4659;
  backdrop-filter:blur(3px)
}
dialog h2 {
  font-size:23px;
  letter-spacing:-.5px;
  margin:12px 0 15px
}
dialog p {
  font-size:12px;
  line-height:1.8;
  color:var(--muted)
}
.dialog-close {
  position:absolute;
  top:12px;
  right:16px;
  border:0;
  background:none;
  font-size:27px;
  color:var(--muted);
  padding:2px 7px
}
.dialog-actions {
  display:flex;
  gap:12px;
  justify-content:flex-end;
  margin-top:24px;
  flex-wrap:wrap
}
.preview-names {
  padding:8px 15px 8px 40px;
  max-height:260px;
  overflow:auto;
  background:#fafbfe;
  border:1px solid var(--line);
  border-radius:8px;
  font-size:12px;
  line-height:2.3
}
.preview-names:empty {
  display:none
}
.result-mark {
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  background:#eaf8f0;
  color:var(--green);
  border-radius:50%;
  font-size:23px;
  margin-bottom:20px
}
.result-table {
  max-height:330px;
  margin-top:18px
}
.result-table td {
  padding:12px
}
.result-table code {
  font-size:12px;
  color:var(--brand)
}
#accessCodeResult {
  width:100%;
  font-size:14px;
  line-height:1.8;
  resize:none;
  border:1px solid var(--line);
  border-radius:8px;
  padding:14px;
  background:#f8faff;
  overflow-wrap:anywhere
}
#actionDialog {
  max-width:460px
}
@media(min-width:1500px) {
  .students-layout {
    grid-template-columns:minmax(0,1fr) 370px
  }
  .content {
    padding-top:43px
  }
  .chat-body {
    min-height:310px
  }
  .chat-composer textarea {
    min-height:110px
  }
  td {
    padding-top:18px;
    padding-bottom:18px
  }
}
@media(max-width:1200px) {
  .sidebar {
    width:204px;
    padding-left:13px;
    padding-right:13px
  }
  .workspace {
    margin-left:204px
  }
  .content {
    padding:28px 24px
  }
  .topbar {
    padding:0 24px
  }
  .students-layout {
    grid-template-columns:minmax(0,1fr) 300px;
    gap:16px
  }
  .table-tools {
    padding-left:14px;
    padding-right:14px
  }
  .table-tools select {
    width:110px
  }
  td,th {
    padding-left:12px;
    padding-right:12px
  }
  .student-cell {
    min-width:125px;
    gap:7px
  }
  .student-cell .avatar {
    display:none
  }
  .school-brand {
    gap:8px
  }
  .school-brand strong {
    font-size:18px
  }
}
@media(max-width:1000px) {
  .students-layout {
    grid-template-columns:1fr
  }
  .chat-panel {
    display:grid;
    grid-template-columns:1fr 1fr
  }
  .chat-heading {
    grid-column:1/-1
  }
  .chat-body {
    min-height:0;
    max-height:300px
  }
  .chat-composer {
    margin-top:18px;
    align-self:start
  }
  .chat-footnote {
    grid-column:2;
    margin-top:-18px
  }
  .page-heading h1 {
    font-size:27px
  }
  .stats article {
    padding:18px
  }
  .stats article>.icon {
    display:none
  }
  .connection {
    display:none
  }
  .brand-grid {
    grid-template-columns:1fr
  }
}
@media(max-width:720px) {
  .sidebar {
    position:static;
    width:auto;
    padding:16px;
    border-right:0;
    border-bottom:1px solid var(--line)
  }
  .school-app {
    display:block
  }
  .school-brand {
    padding:0
  }
  .school-brand img {
    width:38px;
    height:38px
  }
  .school-brand strong {
    font-size:18px
  }
  .school-brand small {
    font-size:9px;
    margin-top:3px
  }
  .sidebar nav {
    display:flex;
    gap:6px;
    margin-top:17px
  }
  .nav-item {
    padding:10px;
    font-size:10px;
    justify-content:center;
    gap:7px
  }
  .nav-item .icon {
    width:15px;
    height:15px
  }
  .nav-item#navAdd {
    display:none
  }
  .nav-count {
    margin-left:0
  }
  .nav-label,.sidebar-note,.sidebar-footer,.teacher-back {
    display:none
  }
  .workspace {
    margin:0
  }
  .topbar {
    height:57px;
    padding:0 18px;
    gap:10px
  }
  .topbar>span:first-child {
    font-size:10px
  }
  .school-switch {
    font-size:0
  }
  .school-switch select {
    font-size:11px;
    max-width:145px
  }
  .content {
    padding:26px 17px
  }
  .page-heading {
    align-items:flex-start;
    gap:12px;
    flex-direction:column;
    margin-bottom:23px
  }
  .page-heading h1 {
    font-size:28px
  }
  .page-heading .eyebrow {
    font-size:8px
  }
  .page-heading>div>p:last-child {
    font-size:11px
  }
  .page-heading>.button {
    width:100%
  }
  .stats {
    gap:8px;
    margin-bottom:20px
  }
  .stats article {
    padding:14px 10px
  }
  .stats article>span {
    font-size:9px
  }
  .stats strong {
    font-size:27px;
    margin:10px 0
  }
  .stats small {
    font-size:8px;
    line-height:1.6;
    display:block
  }
  .stats .dot {
    display:none
  }
  .chat-panel {
    display:block
  }
  .chat-body {
    max-height:340px
  }
  .chat-composer {
    margin-top:0
  }
  .chat-footnote {
    margin:0
  }
  .branding-strip {
    align-items:flex-start;
    padding:17px;
    gap:12px;
    flex-wrap:wrap
  }
  .branding-strip>.text-button {
    margin-left:49px;
    padding-top:0
  }
  .branding-strip>div {
    flex:1
  }
  .branding-strip p {
    font-size:10px
  }
  .table-tools {
    gap:7px
  }
  .panel-heading {
    padding:16px
  }
  .panel h2 {
    font-size:13px
  }
  .table-tools select {
    width:116px
  }
  .student-cell {
    min-width:130px
  }
  .student-cell strong {
    font-size:10px
  }
  .table-footer {
    padding:10px 14px;
    flex-wrap:wrap
  }
  .table-footer>span {
    font-size:8px
  }
  .brand-preview,.access-panel {
    padding:25px
  }
  .login-view {
    display:block
  }
  .login-story {
    padding:40px 26px
  }
  .login-story h1 {
    font-size:38px;
    letter-spacing:-1.4px;
    margin:14px 0
  }
  .login-story>p {
    font-size:12px;
    margin-bottom:0
  }
  .story-line {
    display:none
  }
  .login-card {
    padding:35px 26px
  }
  .login-logo {
    width:55px;
    height:55px
  }
  .login-card h2 {
    font-size:24px
  }
  dialog {
    padding:28px 20px
  }
  dialog h2 {
    font-size:21px
  }
  .dialog-actions .button {
    flex:1;
    white-space:normal
  }
}
@media(max-width:720px) {
  .school-app .sidebar {
    position:relative
  }
  .school-app .sidebar-footer {
    display:flex;
    position:absolute;
    top:19px;
    right:16px;
    border:0;
    padding:0;
    margin:0
  }
  .school-app .sidebar-footer>span {
    display:none
  }
  .school-app .logout {
    width:38px;
    height:38px;
    border:1px solid var(--line);
    border-radius:8px
  }
  .school-app .school-brand {
    padding-right:52px
  }
}
[data-school-slug="centr-lux"] .school-brand img {
  width:166px;
  height:45px
}
[data-school-slug="centr-lux"] .school-brand>span {
  display:none
}
[data-school-slug="centr-lux"] .brand-preview img {
  width:230px;
  height:170px
}

.student-profile-link {
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  color: inherit;
  width: 100%;
}
.student-profile-link strong { color: var(--brand); }
.student-profile-link:hover strong { text-decoration: underline; }
.table-token-button { display: block; border: 0; background: none; padding: 6px 0 0; color: var(--brand); font-size: 9px; }
.table-token-button:hover { text-decoration: underline; }
.student-profile-dialog { width: min(890px, calc(100vw - 30px)); padding: 32px; }
.profile-header { display: flex; align-items: center; gap: 15px; padding-right: 25px; margin-bottom: 23px; }
.profile-header > .avatar { width: 55px; height: 55px; font-size: 18px; }
.profile-header .eyebrow { font-size: 9px; margin-bottom: 8px; }
.profile-header h2 { font-size: 25px; line-height: 1.3; margin: 0 0 10px; overflow-wrap: anywhere; }
.profile-token { padding: 18px 21px; border: 1px solid #dfe7f9; background: #f5f8ff; border-radius: 10px; }
.profile-token strong { font-size: 11px; font-weight: 600; }
.profile-token code { display: block; font-size: 19px; font-weight: 600; letter-spacing: 1px; color: var(--brand); margin: 12px 0; overflow-wrap: anywhere; }
.profile-token > p { margin: 10px 0 0; font-size: 10px; line-height: 1.8; }
.profile-code-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; }
.profile-code-actions:has(> [hidden]):not(:has(> :not([hidden]))) { display: none; }
.profile-row-heading { display: flex; justify-content: space-between; align-items: start; gap: 15px; }
.profile-row-heading h3 { margin: 0; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.profile-row-heading .text-button { padding-top: 0; padding-bottom: 0; }
.profile-report-heading { display: flex; gap: 14px; align-items: center; justify-content: space-between; margin-top: 25px; }
.profile-report-heading h3 { font-size: 14px; font-weight: 600; }
.profile-report-heading .text-button { flex-shrink: 0; }
dialog p.profile-meta, .profile-meta { color: var(--muted); font-size: 10px; line-height: 1.8; margin: 8px 0; }
.profile-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 17px 0; }
.profile-metrics article { border: 1px solid var(--line); border-radius: 9px; padding: 16px; }
.profile-metrics article > span { font-size: 10px; color: var(--muted); }
.profile-metrics strong { display: block; font-size: 29px; font-weight: 600; margin: 10px 0; }
.profile-metrics small { display: block; font-size: 9px; color: var(--muted); line-height: 1.6; }
.profile-tabs { display: flex; border-bottom: 1px solid var(--line); gap: 22px; margin: 24px 0 15px; }
.profile-tabs button { border: 0; background: none; border-bottom: 2px solid transparent; padding: 11px 0; font-size: 12px; color: var(--muted); }
.profile-tabs button.active { color: var(--brand); border-color: var(--brand); font-weight: 600; }
.profile-lesson, .profile-topic, .profile-answer { border: 1px solid var(--line); border-radius: 9px; padding: 18px; margin-top: 12px; }
.profile-status { background: #f0f3f8; color: #77869a; border-radius: 5px; padding: 5px 8px; font-size: 9px; white-space: nowrap; }
.profile-status.attended, .profile-status.in_progress { background: #eaf7f0; color: #21845b; }
.profile-status.missed { background: #fff0f1; color: #b54652; }
dialog .profile-lesson-topics { font-size: 11px; color: #3c5d9b; line-height: 1.7; margin: 9px 0; }
.profile-answer-filter { display: flex; justify-content: flex-end; align-items: center; gap: 8px; color: var(--muted); font-size: 10px; }
.profile-answer-filter select { background: white; border: 1px solid var(--line); border-radius: 6px; padding: 9px; font-size: 10px; }
.profile-answer h3 { font-size: 13px; font-weight: 600; line-height: 1.8; margin: 13px 0 8px; overflow-wrap: anywhere; }
dialog p.profile-selected-answer { color: #3e526f; font-size: 12px; line-height: 1.8; padding: 12px; background: #f6f8fc; border-radius: 7px; }
dialog p.profile-correct-answer { color: #23825b; font-size: 11px; line-height: 1.8; }
.profile-answer details { border-top: 1px solid var(--line); padding-top: 13px; margin-top: 13px; }
.profile-answer summary { cursor: pointer; font-size: 11px; color: var(--brand); }
.profile-answer details p { font-size: 11px; }
dialog p.profile-empty { padding: 30px 18px; text-align: center; border: 1px dashed #dce4f1; border-radius: 9px; background: #fafbfe; font-size: 12px; line-height: 1.9; }
dialog p.profile-footnote { font-size: 10px; line-height: 1.9; color: #8b97aa; border-top: 1px solid var(--line); padding-top: 15px; margin-top: 23px; }
@media (max-width: 720px) {
  .student-profile-dialog { padding: 24px 18px; }
  .profile-header { gap: 10px; padding-right: 15px; }
  .profile-header > .avatar { width: 39px; height: 39px; font-size: 12px; }
  .profile-header h2 { font-size: 21px; }
  .profile-header .eyebrow { font-size: 8px; letter-spacing: 1px; }
  .profile-token { padding: 15px; }
  .profile-token code { font-size: 17px; letter-spacing: .5px; }
  .profile-report-heading { align-items: start; flex-direction: column; gap: 0; margin-top: 18px; }
  .profile-report-heading h3 { font-size: 13px; line-height: 1.5; }
  .profile-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .profile-metrics article { padding: 13px; }
  .profile-metrics strong { font-size: 26px; }
  .profile-tabs { gap: 17px; }
  .profile-tabs button { font-size: 10px; }
  .profile-lesson, .profile-topic, .profile-answer { padding: 14px; }
  .profile-row-heading { gap: 9px; }
  .profile-row-heading h3 { font-size: 12px; }
  .profile-status { font-size: 8px; white-space: normal; flex-shrink: 0; max-width: 85px; }
}
/* Share the selected school's student sign-in link from the brand panel. */
.student-entry-url {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid var(--line, #e7e7e3);
  border-radius: 10px;
  background: #f8f9fb;
  color: #293547;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.5;
}
