/* ===== 在线考试系统自定义样式(颜色全部沿用 expassway 模板变量,仅补充排版) ===== */

[data-theme-toggle] { display: none !important; }
.site-ui a.paper-set-btn, .site-ui a.paper-set-btn:hover,
.site-ui a.paper-set-btn:focus, .site-ui a.paper-set-btn:active { text-decoration: none; }

/* ---------- Toast ---------- */
.login-page .auth-brand { display: flex; flex-direction: column; align-items: center; gap: 24px; font-size: 1.8rem; }
.auth-brand__logo { display: block; width: min(100%, 280px); height: auto; }
.home-brand img.brand-logo { display: block; width: 64px; height: 42px; object-fit: contain; flex-shrink: 0; }
.paper-filters { display: grid; gap: 16px; margin: 0 0 20px; }
.paper-filters__search { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px; }
.paper-filters__menus { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.paper-filters__menus label { display: grid; gap: 8px; min-width: 0; color: var(--muted); font-size: .875rem; }
.site-ui .paper-filters input, .site-ui .paper-filters select,
.site-ui .paper-filters button { box-sizing: border-box; height: 48px; min-height: 48px; margin: 0; border-radius: 16px; font: inherit; }
.site-ui .paper-filters input, .site-ui .paper-filters select { width: 100%; min-width: 0; padding: 0 16px; color: var(--text); background: var(--surface, #292d34); border: 1px solid var(--border, #454950); }
.site-ui .paper-filters button { padding: 0 20px; white-space: nowrap; font-weight: 700; }
.oe-practice-list summary.chapter-band__heading { cursor: pointer; list-style: none; }
.oe-practice-list summary.chapter-band__heading::-webkit-details-marker { display: none; }
.oe-practice-list summary.chapter-band__heading > div { min-width: 0; flex: 1; }
.oe-practice-list summary.chapter-band__heading h2 { overflow-wrap: anywhere; }
.chapter-chevron { width: 10px; height: 10px; margin: 0 4px 4px 12px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); flex-shrink: 0; }
details:not([open]) .chapter-chevron { transform: rotate(-45deg); }
.paper-filters :focus-visible, .chapter-band > summary:focus-visible { outline: 2px solid var(--accent, #aad7ae); outline-offset: -3px; }
@media (max-width: 760px) {
  .paper-filters__menus { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .paper-filters__menus label:last-child { grid-column: 1 / -1; }
  .paper-filters__search { grid-template-columns: 1fr 1fr; }
  .paper-filters__search input { grid-column: 1 / -1; }
}
.oe-practice-list .chapter-band { overflow: hidden; }
.oe-practice-list .chapter-section-row { grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr); }
.oe-practice-list .chapter-start { grid-column: 1 / -1; width: max-content; min-height: 48px; }
@media (max-width: 760px) {
  .oe-practice-list .chapter-section-row { grid-template-columns: minmax(0, 1fr); }
}

.oe-toast-host {
  position: fixed;
  top: 72px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.oe-toast {
  background: var(--surface-raised, var(--bg));
  color: var(--text);
  border: 1px solid var(--surface-border-soft, transparent);
  border-radius: 12px;
  padding: 10px 18px;
  font-size: 0.9rem;
  box-shadow: var(--surface-shadow-hover, 0 12px 30px rgba(0, 0, 0, 0.3));
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s, transform 0.25s;
  max-width: min(480px, 90vw);
  backdrop-filter: var(--surface-blur, none);
}
.oe-toast.is-show { opacity: 1; transform: translateY(0); }

/* ---------- 通用 ---------- */
.oe-empty {
  padding: 28px 16px;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}
.oe-muted { color: var(--muted); font-size: 0.85em; margin-left: 4px; }
.oe-pass { color: var(--status-good, var(--accent)); font-weight: 700; }
.oe-fail { color: var(--status-bad, var(--error)); font-weight: 700; }
.oe-danger { color: var(--status-bad, var(--error)) !important; }
.oe-hint { color: var(--muted); font-size: 0.85rem; margin: 4px 0 10px; }
.oe-warn-text { color: var(--status-bad, var(--error)); }

/* ---------- 表格(管理后台):外观直接使用目标站 table-wrap/data-table ---------- */
.oe-actions-cell { white-space: nowrap; }
.oe-cell-ellipsis { max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 表单控件:外观直接使用目标站 site-ui 表单规则 ---------- */
.site-ui #exTerm { width: 220px; max-width: 100%; min-height: 44px; }
.oe-input--inline { width: 190px; }
.oe-filter-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 16px 0; }
.oe-check { display: flex; align-items: center; gap: 8px; font-size: 0.92rem; }
.site-ui .oe-check input[type="checkbox"] {
  width: 22px;
  min-width: 22px;
  height: 22px;
  min-height: 22px;
  margin: 0;
  padding: 0;
}
.oe-full-row { grid-column: 1 / -1; }
textarea.oe-input { resize: vertical; min-height: 40px; }

/* ---------- 分页 ---------- */
.oe-pager { display: flex; align-items: center; gap: 12px; margin-top: 14px; justify-content: flex-end; }
.oe-pager span { color: var(--muted); font-size: 0.88rem; }

/* ---------- 管理后台 ---------- */
.site-ui.oe-admin-body .home-topbar__inner { display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 4px; }
.site-ui.oe-admin-body .home-header-controls { gap: 4px; }
.site-ui .oe-admin-tabs { display: flex; margin-left: auto; justify-self: end; justify-content: flex-end; align-items: center; min-width: 0; gap: 4px; flex-wrap: wrap; }
.site-ui .oe-admin-tabs .home-nav-button.is-active { color: var(--accent); }
.oe-admin-main { padding-bottom: 60px; }
.oe-stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.oe-stat-card {
  background: var(--surface-raised, var(--bg));
  border: 1px solid var(--surface-border-soft, transparent);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--surface-shadow-deep);
}
.oe-stat-card__icon { font-size: 1.4rem; }
.oe-stat-card__value { font-size: 1.7rem; font-weight: 800; color: var(--text); }
.oe-stat-card__label { color: var(--muted); font-size: 0.85rem; }

/* ---------- 角色 Tab ---------- */
.site-ui .oe-role-tabs { display: inline-flex; }

/* ---------- 组卷 ---------- */
.oe-paper-builder { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; }
.oe-paper-builder > * { min-width: 0; }
.site-ui .oe-paper-builder .oe-filter-bar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.site-ui .oe-paper-builder .oe-filter-bar input { width: 100%; }
.oe-paper-builder .oe-pager { flex-wrap: wrap; }
.oe-paper-builder .oe-pager button { white-space: nowrap; flex-shrink: 0; }
.site-ui .data-table th { background: var(--surface-raised); color: var(--text); border-color: var(--surface-border-soft); }
.site-ui .data-table td { border-color: var(--surface-border-soft); }
.site-ui dialog.oe-wide-dialog { width: min(1100px, calc(100vw - 32px)); max-width: calc(100vw - 32px); }
.site-ui .oe-wide-dialog .profile-dialog__shell { width: 100%; box-sizing: border-box; }
.oe-paper-bank-list {
  border: 1px solid var(--surface-border-soft, transparent);
  border-radius: 14px;
  max-height: 340px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.oe-paper-bank-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border-bottom: 1px solid var(--surface-border-soft, transparent);
  cursor: pointer;
  font-size: 0.88rem;
}
.oe-paper-bank-item:last-child { border-bottom: none; }
.oe-paper-bank-item.is-selected { background: color-mix(in srgb, var(--primary, var(--accent)) 10%, transparent); }
.site-ui .oe-paper-bank-item input[type="checkbox"] { width: 20px; min-width: 20px; height: 20px; min-height: 20px; padding: 0; margin: 3px 0 0; flex: 0 0 20px; }
.oe-paper-bank-item__type {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--secondary, var(--muted)) 16%, transparent);
  color: var(--secondary, var(--muted));
}
.oe-paper-bank-item__text { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.oe-paper-bank-item__score { flex-shrink: 0; color: var(--muted); font-size: 0.8rem; }
.oe-paper-selected-head { margin: 0 0 10px; font-weight: 700; }
.oe-paper-selected-list {
  border: 1px solid var(--surface-border-soft, transparent);
  border-radius: 14px;
  max-height: 420px;
  overflow-y: auto;
}
.oe-paper-selected-item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 9px 12px;
  border-bottom: 1px solid var(--surface-border-soft, transparent);
  font-size: 0.86rem;
}
.oe-paper-selected-item:last-child { border-bottom: none; }
.oe-paper-selected-item__num {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary, var(--accent));
  color: var(--primary-text, #fff);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}
.oe-paper-selected-item__text { flex: 1; min-width: 0; overflow-wrap: anywhere; white-space: normal; }
.oe-paper-selected-item button { flex-shrink: 0; white-space: nowrap; }

/* ---------- 题型标签(配色沿用模板 bloom 色系) ---------- */
.oe-qtype-chip {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: color-mix(in srgb, var(--bloom-sky, #a9d4e5) 28%, transparent);
  color: var(--ink-on-bloom, var(--text));
  white-space: nowrap;
}
.oe-qtype--multi { background: color-mix(in srgb, var(--bloom-pink, #f6a6b3) 28%, transparent); }
.oe-qtype--judge { background: color-mix(in srgb, var(--bloom-mauve, #deb7d5) 30%, transparent); }
.oe-qtype--fill { background: color-mix(in srgb, var(--bloom-cream, #fffac8) 34%, transparent); }
.oe-qtype--practical { background: color-mix(in srgb, var(--bloom-mauve, #deb7d5) 30%, transparent); }

/* ---------- 对话框 ---------- */
.oe-wide-dialog .profile-dialog__shell { width: min(920px, 94vw); }
.oe-dialog-subtitle { font-size: 1rem; margin: 4px 0 12px; }
.oe-confirm-message { margin: 10px 0 16px; color: var(--text); line-height: 1.6; }
.oe-profile-info { margin-bottom: 4px; }
.oe-info-item { display: flex; flex-direction: column; gap: 2px; font-size: 0.88rem; }
.oe-info-item span { color: var(--muted); font-size: 0.78rem; }
.oe-options-editor { margin: 12px 0; }
.oe-option-row { display: flex; align-items: center; gap: 8px; }
.oe-option-row__key {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--surface-border-soft, transparent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
}
.oe-option-row input[type="radio"] { width: auto; flex-shrink: 0; }
.oe-answer-editor { margin: 8px 0 14px; }
.oe-answer-editor__judge { display: flex; gap: 14px; }

/* ---------- 富文本(题目代码块/图片) ---------- */
.oe-rich { line-height: 1.75; }
#registrationFields:not([hidden]), #setupFields:not([hidden]) { display: flex; flex-direction: column; gap: 14px; }
#registrationFields p, #passwordStrength { margin: 0; font-size: 0.9rem; line-height: 1.6; }
#passwordStrength:empty { display: none; }
#passwordSettings > .grid-2 { align-items: start; }
#passwordSettings > .grid-2 > label { align-content: start; }
#newPasswordStrength { margin: 0; }
#newPasswordStrength:empty { display: none; }
#loginTwoFactor:not([hidden]) { display: grid; gap: 14px; }
#loginTwoFactor p { margin: 0; font-size: .9rem; line-height: 1.6; }
#twoFactorSettings > input, #factorCodeField input, #factorEnrollment input, #factorRecoveryCodes { width: 100%; margin: 8px 0 14px; }
#factorEnrollment img { display: block; max-width: 100%; height: auto; margin: 14px auto; border-radius: 12px; }
#factorRecoveryCodes { font-family: monospace; resize: vertical; }
.oe-security-events { padding-left: 20px; font-size: .85rem; line-height: 1.6; overflow-wrap: anywhere; }
.student-ui.auth-page.login-page #loginBtn { margin-top: 0; }
.student-ui.auth-page.login-page #registrationFields .auth-input { color: #e5e7eb; }
.oe-rich-p { margin: 0 0 10px; white-space: pre-wrap; overflow-wrap: anywhere; }
.oe-rich-p:last-child { margin-bottom: 0; }
.oe-rich-h { margin: 12px 0 8px; font-size: 1.05rem; }
.oe-code-block {
  background: var(--glass-well, color-mix(in srgb, var(--text) 8%, transparent));
  border: 1px solid var(--surface-border-soft, transparent);
  border-radius: 10px;
  padding: 12px 16px;
  overflow-x: auto;
  font-family: "Cascadia Code", Consolas, "Courier New", monospace;
  font-size: 0.86rem;
  line-height: 1.6;
  margin: 8px 0 12px;
  white-space: pre-wrap;
  word-break: break-word;
}
.oe-rich-img {
  max-width: min(100%, 520px);
  border-radius: 10px;
  border: 1px solid var(--surface-border-soft, transparent);
  margin: 8px 0;
  display: block;
  background: #fff;
}
.oe-rich code {
  background: color-mix(in srgb, var(--text) 12%, transparent);
  border-radius: 5px;
  padding: 1px 6px;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.88em;
}
.oe-detail-options .oe-rich { display: inline; }
.oe-opt-key { font-weight: 700; color: var(--muted); }

/* ---------- 试卷列表页 ---------- */
.oe-paper-score { color: var(--status-good, var(--accent)); font-size: 0.85rem; font-weight: 700; margin-top: 4px; }

/* ---------- 做题页(机器人等级考试试卷排版) ---------- */
.exam-page .home-topbar { position: sticky; top: 0; z-index: 100; }
.oe-exam-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.oe-exam-meta__name { color: var(--text); font-weight: 700; font-size: 0.95rem; }
.oe-timer {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--primary, var(--accent));
  color: var(--primary-text, #fff);
  min-width: 76px;
  text-align: center;
}
.oe-timer.is-urgent { background: var(--status-bad, var(--error)); animation: oe-blink 1s infinite; }
@keyframes oe-blink { 50% { opacity: 0.65; } }
.oe-exam-layout {
  padding-inline: 0;
}
.oe-exam-nav__head { font-weight: 800; margin-bottom: 12px; }
.oe-exam-nav__legend { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; font-size: 0.8rem; color: var(--muted); }
.oe-exam-nav__legend span { display: flex; align-items: center; gap: 7px; }
.oe-dot { display: inline-block; width: 11px; height: 11px; border-radius: 3px; border: 1px solid var(--surface-border-soft, transparent); }
.oe-dot--done { background: color-mix(in srgb, var(--primary, var(--accent)) 35%, transparent); }
.oe-save-status { margin-top: 12px; font-size: 0.78rem; color: var(--muted); min-height: 1.2em; }

/* 试卷纸 */
.oe-paper {
  min-height: 60vh;
}
.oe-paper__head { text-align: center; margin-bottom: 26px; }
.oe-paper__head h1 { margin: 0 0 6px; font-size: 1.5rem; font-weight: 800; }
.oe-paper__subtitle { margin: 0 0 6px; color: var(--muted); font-size: 0.92rem; }
.oe-paper__tips { margin: 0; color: var(--muted); font-size: 0.85rem; }
.oe-paper-section { display: grid; gap: 16px; margin-bottom: 30px; }
.oe-paper-section__title {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--surface-border-soft, transparent);
}
.oe-qitem__stem {
  display: flex;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.7;
}
.oe-qitem__no { font-weight: 800; flex-shrink: 0; }
.oe-qitem__stem .oe-rich { flex: 1; min-width: 0; }
.oe-qitem__stem .oe-rich-p:last-child { margin-bottom: 0; }
.oe-qopt {
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.6;
}
.oe-qopt input { margin-top: 4px; accent-color: var(--primary, var(--accent)); }
.site-ui .oe-qopt input[type="checkbox"] {
  width: 20px;
  min-width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 0;
  padding: 0;
  border-radius: 6px;
  box-shadow: none;
  background: none;
  flex-shrink: 0;
  cursor: pointer;
}
.option-item > .oe-qopt__key {
  flex: 0 0 24px;
  flex-shrink: 0;
  min-width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--surface-border-soft, transparent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.82rem;
}
.oe-qopt__text { flex: 1; min-width: 0; }
.oe-qopt__text.oe-rich p { margin: 0; }
.oe-fill-answer { width: min(480px, 100%); }

/* ---------- 实操题上传 ---------- */
.oe-upload-zone {
  margin-top: 8px;
  padding: 16px 18px;
  border: 1px dashed var(--surface-border, transparent);
  border-radius: 12px;
  background: var(--glass-well, color-mix(in srgb, var(--text) 6%, transparent));
}
.oe-upload-status { margin: 0 0 12px; color: var(--muted); font-size: 0.92rem; }
.oe-upload-status--done { color: var(--status-good, var(--accent)); }
.oe-upload-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.oe-upload-filename { color: var(--muted); font-size: 0.88rem; word-break: break-all; }
.oe-upload-progress { width: 100%; margin-top: 12px; height: 8px; accent-color: var(--primary, var(--accent)); }

/* ---------- 成绩回顾页 ---------- */
.oe-score-summary {
  display: flex;
  align-items: center;
  gap: 26px;
  background: var(--surface-raised, var(--bg));
  border: 1px solid var(--surface-border-soft, transparent);
  border-radius: 18px;
  box-shadow: var(--surface-shadow-deep);
  padding: 24px 30px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.oe-score-summary__main { display: flex; align-items: baseline; gap: 8px; }
.oe-score-summary__value { font-size: 3rem; font-weight: 800; color: var(--primary, var(--accent)); }
.oe-score-summary__total { color: var(--muted); font-size: 1.1rem; }
.oe-score-summary__side { border-left: 1px solid var(--surface-border-soft, transparent); padding-left: 26px; }
.oe-score-summary__pass { font-size: 1.1rem; font-weight: 800; margin: 0 0 6px; }
.oe-score-summary__date { color: var(--muted); margin: 0; font-size: 0.88rem; }

.oe-detail-list { display: flex; flex-direction: column; gap: 14px; }
.oe-detail-item {
  background: var(--surface-raised, var(--bg));
  border: 1px solid var(--surface-border-soft, transparent);
  border-left: 5px solid var(--muted);
  border-radius: 14px;
  box-shadow: var(--surface-shadow-deep);
  padding: 18px 22px;
}
.oe-detail-item.is-correct { border-left-color: var(--status-good, var(--accent)); }
.oe-detail-item.is-wrong { border-left-color: var(--status-bad, var(--error)); }
.oe-detail-item.is-practical { border-left-color: var(--bloom-mauve, #deb7d5); }
.oe-detail-head { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.oe-detail-num { font-weight: 800; }
.oe-detail-type, .oe-detail-score { color: var(--muted); font-size: 0.8rem; }
.oe-detail-result { margin-left: auto; font-weight: 800; font-size: 0.85rem; }
.is-correct .oe-detail-result { color: var(--status-good, var(--accent)); }
.is-wrong .oe-detail-result { color: var(--status-bad, var(--error)); }
.oe-detail-question { font-size: 1rem; line-height: 1.65; margin: 0 0 10px; }
.oe-detail-options { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column; gap: 4px; color: var(--muted); font-size: 0.92rem; }
.oe-detail-answers {
  background: var(--glass-well, color-mix(in srgb, var(--text) 6%, transparent));
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.92rem;
}
.oe-detail-answers p { margin: 0; }
.oe-label { display: inline-block; min-width: 72px; color: var(--muted); font-size: 0.82rem; }
.oe-user-answer.is-wrong-text { color: var(--status-bad, var(--error)); font-weight: 700; }
.oe-correct-answer { color: var(--status-good, var(--accent)); font-weight: 700; }
.oe-detail-analysis { line-height: 1.6; }
.oe-detail-footer { text-align: center; color: var(--muted); padding: 10px 0 20px; }
.oe-practical-note { color: var(--muted); font-size: 0.86rem; margin: 8px 0 0; }

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
  .site-ui.exam-page .home-header-controls { grid-column: 2; grid-row: 1; }
  .site-ui.exam-page .oe-exam-meta { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; }
  .site-ui.oe-admin-body .home-header-controls { margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
  .site-ui.oe-admin-body .oe-admin-tabs { order: 3; }
  .oe-paper-builder { grid-template-columns: 1fr; }
  .oe-admin-tabs { width: 100%; overflow-x: auto; }
  .oe-input--inline { width: 140px; }
  .oe-qitem__stem { flex-direction: column; gap: 4px; }
}
html { color-scheme: dark; }
.site-ui.exam-page .oe-save-paper-btn {
  background: #acdcb0;
  color: #213b28;
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 12px 18px;
  font-weight: 750;
  white-space: nowrap;
  text-decoration: none;
}
.site-ui.exam-page .oe-save-paper-btn:hover { background: #bee7c1; }
.site-ui.exam-page .oe-save-paper-btn:disabled { opacity: .55; cursor: wait; }
@media (max-width: 520px) {
  .site-ui.exam-page .home-brand > span:last-child { display: none; }
  .site-ui.exam-page .home-header-controls { gap: 8px; }
}
/* Admin import and invitation controls share the existing dark dialog language. */
.oe-import-file { display: grid; gap: 10px; margin-block: 18px; }
#newInvitesArea { display: grid; gap: 12px; margin-block: 16px; }
#newInvitesArea[hidden] { display: none; }
#newInvites { font-family: ui-monospace, monospace; overflow-wrap: anywhere; }
#importQuestionsDialog .actions a { text-decoration: none; }
#websiteUpdateDetails { white-space: pre-wrap; overflow-wrap: anywhere; }
.login-page #switchAuth { background: rgba(255,255,255,.06); color: #dce3e2; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; min-height: 44px; }
