/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[3]!./src/app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
/* ============================================================
   Admin Portal — design system
   ============================================================ */
:root {
  /* Surfaces */
  --bg: #f7f8fb;
  --surface: #ffffff;
  --surface-2: #f3f5f9;
  --border: #e6e9f0;
  --border-strong: #d6dbe6;

  /* Text */
  --text: #131722;
  --muted: #667085;
  --faint: #98a2b3;

  /* Brand / accents */
  --primary: #065299;
  --primary-dark: #054377;
  --primary-soft: #e4eef7;
  --secondary: #d06c38;
  --secondary-dark: #b85a2a;
  --secondary-soft: #fbeee4;
  --success: #16a34a;
  --success-soft: #e7f6ed;
  --warning: #d97706;
  --warning-soft: #fdf2e3;
  --danger: #dc2626;
  --danger-soft: #fdecec;

  /* Sidebar (dark) */
  --side-bg: #0c1a2b;
  --side-text: #aab2c5;
  --side-text-strong: #ffffff;
  --side-active: #065299;
  --side-hover: rgba(255, 255, 255, 0.06);

  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow: 0 1px 3px rgba(16, 24, 40, 0.08), 0 1px 2px rgba(16, 24, 40, 0.04);
  --shadow-lg: 0 12px 32px rgba(16, 24, 40, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.05s ease,
    box-shadow 0.15s ease;
}
.btn:hover {
  background: var(--primary-dark);
}
.btn:active {
  transform: translateY(1px);
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover {
  background: var(--surface-2);
}
.btn-block {
  width: 100%;
}

/* ---------- Inputs ---------- */
.input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 14px;
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.input::placeholder {
  color: var(--faint);
}
.input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(6, 82, 153, 0.15);
}
.input-icon {
  position: relative;
}
.input-icon .input {
  padding-left: 38px;
}
.input-icon svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--faint);
  pointer-events: none;
}
.label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 7px;
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* ---------- Login ---------- */
.login-wrap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
.login-aside {
  position: relative;
  background: radial-gradient(
      1200px 600px at 10% 10%,
      rgba(255, 255, 255, 0.12),
      transparent 50%
    ),
    linear-gradient(135deg, #065299 0%, #053a6b 55%, #0c1a2b 100%);
  color: #fff;
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.login-aside::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.5;
}
.login-aside > * {
  position: relative;
  z-index: 1;
}
.login-aside h2 {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.25;
  max-width: 380px;
}
.login-aside p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 380px;
}
.login-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
}
.login-logo .logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
}
.login-foot {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}
.login-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.login-card {
  width: 100%;
  max-width: 400px;
  padding: 40px 36px;
}
.login-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
}
.login-sub {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 30px;
}
.field {
  margin-bottom: 18px;
}
.error-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--danger-soft);
  color: var(--danger);
  border: 1px solid #f6cccc;
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 13px;
  margin-bottom: 18px;
}

/* ---------- App shell ---------- */
.shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 248px;
  flex-shrink: 0;
  background: var(--side-bg);
  color: var(--side-text);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  height: 100vh;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 6px 8px 22px;
  color: var(--side-text-strong);
  font-size: 17px;
  font-weight: 700;
}
.brand .logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
}
.nav-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--faint);
  padding: 12px 10px 8px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--side-text);
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 3px;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-item svg {
  flex-shrink: 0;
}
.nav-item:hover {
  background: var(--side-hover);
  color: var(--side-text-strong);
}
.nav-item.active {
  background: var(--side-active);
  color: #fff;
  box-shadow: 0 4px 12px rgba(6, 82, 153, 0.45);
}
/* ---------- Collapsible sidebar sections ---------- */
.side-nav {
  /* Every section open is taller than a short laptop screen, so scroll the
     menu rather than push the user card and Log out button out of reach. */
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  /* Bleed the scroll area past the padding so an active row still looks
     full-width, then put the padding back inside it. */
  margin: 0 -4px;
  padding: 0 4px;
}
.nav-group {
  margin-top: 4px;
}
.nav-group-head {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  background: none;
  border-radius: var(--radius-sm);
  color: var(--side-text);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-group-head:hover {
  background: var(--side-hover);
  color: var(--side-text-strong);
}
.nav-group-text {
  flex: 1 1;
}
/* Says which section you are in even while that section is shut. */
.nav-group-head.has-active {
  color: var(--side-text-strong);
}
.nav-caret {
  display: flex;
  color: var(--faint);
  transition: transform 0.2s ease;
}
.nav-group.open .nav-caret {
  transform: rotate(180deg);
}
/* --full-height is the measured content height, published by NavGroup. The
   fallback keeps the section usable if the measurement has not landed yet. */
.nav-group-items {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.22s ease;
}
.nav-group.open > .nav-group-items {
  max-height: var(--full-height, 100vh);
}
.nav-group-items .nav-item {
  padding-left: 22px;
  padding-right: 8px;
  font-size: 13px;
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.side-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  margin-bottom: 10px;
}
.side-user .avatar {
  width: 34px;
  height: 34px;
  font-size: 13px;
}
.side-user-meta {
  min-width: 0;
}
.side-user-name {
  color: var(--side-text-strong);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.side-user-role {
  font-size: 12px;
  color: var(--faint);
}
.logout-btn {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--side-text);
}
.logout-btn:hover {
  background: var(--side-hover);
  color: var(--side-text-strong);
}

.main {
  flex: 1 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 64px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 5;
}
.topbar-title {
  font-size: 16px;
  font-weight: 600;
}
.content {
  padding: 28px 32px;
}
.page-head {
  margin-bottom: 24px;
}
.page-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.page-sub {
  color: var(--muted);
  margin-top: 2px;
}

/* ---------- Stat cards ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 18px;
  gap: 18px;
  margin-bottom: 26px;
}
.stat {
  padding: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.stat-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.stat-value {
  font-size: 30px;
  font-weight: 700;
  margin-top: 6px;
  letter-spacing: -0.02em;
}
.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--primary-soft);
  color: var(--primary);
}
.stat-icon.secondary {
  background: var(--secondary-soft);
  color: var(--secondary);
}
.stat-icon.green {
  background: var(--success-soft);
  color: var(--success);
}
.stat-icon.amber {
  background: var(--warning-soft);
  color: var(--warning);
}
.stat-icon.red {
  background: var(--danger-soft);
  color: var(--danger);
}

/* ---------- Section card ---------- */
.section {
  margin-bottom: 22px;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}
.section-title {
  font-size: 15px;
  font-weight: 600;
}
.section-body {
  padding: 20px;
}

/* ---------- Role breakdown bars ---------- */
.rolebar {
  margin-bottom: 16px;
}
.rolebar:last-child {
  margin-bottom: 0;
}
.rolebar-top {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 6px;
}
.rolebar-top .name {
  font-weight: 600;
  text-transform: capitalize;
}
.rolebar-top .val {
  color: var(--muted);
}
.rolebar-track {
  height: 8px;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden;
}
.rolebar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), #0a78d2);
}

/* ---------- Toolbar ---------- */
.toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.toolbar .input-icon {
  flex: 1 1;
  max-width: 360px;
}

/* ---------- Table ---------- */
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th {
  text-align: left;
  padding: 13px 18px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  vertical-align: middle;
}
tbody tr:last-child td {
  border-bottom: none;
}
tbody tr {
  transition: background 0.12s ease;
}
tbody tr:hover {
  background: var(--surface-2);
}

/* User cell */
.user-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #065299, #0a78d2);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  text-transform: uppercase;
}
.user-name {
  font-weight: 600;
  color: var(--text);
}
.user-email {
  font-size: 12.5px;
  color: var(--muted);
}
.mono {
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;
}
.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.badge-admin {
  background: var(--primary-soft);
  color: var(--primary);
}
.badge-user {
  background: var(--surface-2);
  color: var(--muted);
}
.badge-success {
  background: var(--success-soft);
  color: var(--success);
}
.badge-danger {
  background: var(--danger-soft);
  color: var(--danger);
}

/* ---------- Pagination ---------- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}
.page-info {
  color: var(--muted);
  font-size: 13px;
}
.page-btns {
  display: flex;
  gap: 8px;
}

/* ---------- States ---------- */
.empty,
.loading {
  text-align: center;
  padding: 56px 20px;
  color: var(--muted);
}
.spinner {
  width: 22px;
  height: 22px;
  border: 2.5px solid var(--border-strong);
  border-top-color: var(--primary);
  border-radius: 50%;
  margin: 0 auto 12px;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Skeleton shimmer for table rows */
.skel {
  height: 14px;
  border-radius: 6px;
  background: linear-gradient(
    90deg,
    var(--surface-2) 25%,
    #e9edf3 37%,
    var(--surface-2) 63%
  );
  background-size: 400% 100%;
  animation: shimmer 1.3s ease infinite;
}
@keyframes shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

/* ---------- Secondary button ---------- */
.btn-secondary {
  background: var(--secondary);
}
.btn-secondary:hover {
  background: var(--secondary-dark);
}

/* ---------- Textarea + file drop ---------- */
.textarea {
  width: 100%;
  min-height: 150px;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  line-height: 1.6;
  background: var(--surface);
  color: var(--text);
  resize: vertical;
}
.textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(6, 82, 153, 0.15);
}
.select {
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 14px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}
.select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(6, 82, 153, 0.15);
}
.hint {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 6px;
}
.dropzone {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  padding: 14px;
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 13.5px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.dropzone:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary);
}

/* ---------- Level badges ---------- */
.badge-easy {
  background: var(--success-soft);
  color: var(--success);
}
.badge-medium {
  background: var(--warning-soft);
  color: var(--warning);
}
.badge-hard {
  background: var(--danger-soft);
  color: var(--danger);
}

/* ---------- Row action buttons ---------- */
.row-actions {
  display: flex;
  gap: 6px;
}
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s ease;
}
.icon-btn:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: var(--primary-soft);
}
.icon-btn.danger:hover {
  color: var(--danger);
  border-color: var(--danger);
  background: var(--danger-soft);
}

/* Mini audio player */
.audio-mini {
  height: 34px;
  max-width: 220px;
}
.audio-mini::-webkit-media-controls-panel {
  background: var(--surface-2);
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  z-index: 50;
  overflow-y: auto;
}
.modal {
  width: 100%;
  max-width: 560px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  animation: pop 0.14s ease;
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}
.modal-title {
  font-size: 17px;
  font-weight: 700;
}
.modal-body {
  padding: 22px;
}
.modal-foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 22px;
  border-top: 1px solid var(--border);
}
.tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--surface-2);
  border-radius: 10px;
  margin-bottom: 20px;
}
.tab {
  padding: 8px 16px;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.tab.active {
  background: var(--surface);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.close-btn {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.close-btn:hover {
  background: var(--surface-2);
  color: var(--text);
}

/* Bulk result summary */
.result-box {
  margin-top: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  background: var(--surface-2);
  font-size: 13px;
  max-height: 180px;
  overflow-y: auto;
}
.result-line {
  display: flex;
  gap: 8px;
  padding: 3px 0;
}
.result-line.ok {
  color: var(--success);
}
.result-line.fail {
  color: var(--danger);
}
.topic-text {
  max-width: 460px;
  white-space: normal;
  line-height: 1.5;
}

/* ---------- Question builder ---------- */
.q-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 14px;
  background: var(--surface-2);
}
.q-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.q-card-head .q-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.option-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.option-row input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  flex-shrink: 0;
  cursor: pointer;
}
.option-row .input {
  flex: 1 1;
}
.option-row .correct-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--success);
  min-width: 54px;
}
.link-btn {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.link-btn:hover {
  text-decoration: underline;
}
.link-btn:disabled {
  color: var(--faint);
  cursor: not-allowed;
  text-decoration: none;
}
.mini-x {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  flex-shrink: 0;
}
.mini-x:hover {
  color: var(--danger);
  border-color: var(--danger);
}
.q-preview {
  font-size: 13px;
  color: var(--muted);
}
.q-preview .q-line {
  padding: 2px 0;
}
.modal.wide {
  max-width: 720px;
}

/* ---------- Assessment sections ---------- */
.sec-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  overflow: hidden;
}
.sec-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.sec-head input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}
.sec-head .sec-title {
  font-weight: 700;
  font-size: 14px;
}
.sec-head .sec-letter {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
}
.sec-body {
  padding: 14px;
}
.sec-body.disabled {
  opacity: 0.5;
  pointer-events: none;
}
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 14px;
  gap: 14px;
}
.grid3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 14px;
  gap: 14px;
}
@media (max-width: 640px) {
  .grid3 {
    grid-template-columns: 1fr;
  }
}
.subfield {
  margin-bottom: 12px;
}
.subfield:last-child {
  margin-bottom: 0;
}
.small-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 5px;
}
.avail {
  font-weight: 500;
  color: var(--faint);
}
.inline-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
}
.inline-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
}
.sub-block {
  border: 1px dashed var(--border-strong);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 12px;
}
.sub-block:last-child {
  margin-bottom: 0;
}
.sub-block-title {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}

/* ---------- Chips ---------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 6px 5px 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
}
.chip-x {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: none;
  background: rgba(6, 82, 153, 0.15);
  color: var(--primary);
  cursor: pointer;
}
.chip-x:hover {
  background: var(--danger);
  color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .login-wrap {
    grid-template-columns: 1fr;
  }
  .login-aside {
    display: none;
  }
}
@media (max-width: 760px) {
  .sidebar {
    width: 70px;
    padding: 20px 10px;
  }
  .brand span,
  .nav-label,
  .nav-item span,
  .side-user-meta {
    display: none;
  }
  .nav-item {
    justify-content: center;
  }
  /* The rail shows icons only. With no labels to read there is nothing for an
     expander to reveal, so drop the headers and lay every link out flat. */
  .nav-group-head {
    display: none;
  }
  .nav-group-items,
  .nav-group.open > .nav-group-items {
    max-height: none;
    overflow: visible;
  }
  .nav-group-items .nav-item {
    padding-left: 12px;
    font-size: 14px;
  }
  .content,
  .topbar {
    padding-left: 18px;
    padding-right: 18px;
  }
}


/* ---------- Assessment report header ---------- */
.report-head {
  padding: 20px 22px;
  border-bottom: 1px solid var(--border);
}
.report-head-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.report-title-wrap {
  min-width: 0;
}
.report-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.chip {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 600;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.report-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.report-actions-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.report-actions-hint {
  margin: 0;
  text-align: right;
}
.mini-stats {
  display: grid;
  /* 4 across, then 2x2, then stacked — never an orphan card on its own row */
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 12px;
  gap: 12px;
  margin-top: 18px;
}
@media (max-width: 1100px) {
  .mini-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .mini-stats { grid-template-columns: 1fr; }
}
.mini-stat {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--surface);
}
.mini-stat.warn {
  border-color: #f3d19e;
  background: var(--warning-soft);
}
.mini-stat-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.mini-stat-value {
  font-size: 22px;
  font-weight: 700;
  margin-top: 4px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.mini-stat-value.small {
  font-size: 15px;
  margin-top: 8px;
  white-space: normal; /* a long date wraps rather than spilling out */
}
.mini-stat-pct {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-left: 8px;
}
.mini-stat-sub {
  font-size: 12px;
  color: var(--faint);
  margin-top: 2px;
}
.notice {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
}
.notice.success {
  background: var(--success-soft);
  color: #166534;
}
.notice.error {
  background: var(--danger-soft);
  color: var(--danger);
}
@media (max-width: 760px) {
  .report-actions,
  .report-actions-row {
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
  }
  .report-actions-hint {
    text-align: left;
  }
}

/* ---------- Bulk upload (shared by every content module) ---------- */
.modal.xwide {
  max-width: 980px;
}
.bulk-step {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 14px;
}
.bulk-step-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.bulk-num {
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.bulk-step-title {
  font-weight: 600;
  font-size: 14.5px;
}
.bulk-sample-btns {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bulk-cols {
  width: 100%;
  margin-top: 12px;
  font-size: 13px;
}
.bulk-cols td {
  padding: 5px 8px;
  border-top: 1px solid var(--border);
  vertical-align: top;
}
.bulk-cols td:first-child {
  white-space: nowrap;
  width: 1%;
  color: var(--primary);
}
.bulk-req {
  color: var(--danger);
}
.bulk-level {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}
.bulk-level .select {
  width: auto;
  padding-top: 6px;
  padding-bottom: 6px;
}
.bulk-drop {
  margin-top: 12px;
  padding: 26px 14px;
  flex-direction: column;
  text-align: center;
}
.bulk-drop.over {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary);
}
.bulk-file {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}
.bulk-file-name {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1 1;
  min-width: 0;
}
.bulk-pill {
  font-size: 12.5px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: none;
  font-family: inherit;
}
.bulk-pill.ok {
  background: var(--success-soft);
  color: var(--success);
}
.bulk-pill.bad {
  background: var(--danger-soft);
  color: var(--danger);
  cursor: pointer;
}
.bulk-pill.bad.on {
  border-color: var(--danger);
}
.bulk-preview {
  margin-top: 12px;
  max-height: 340px;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.bulk-preview table {
  width: 100%;
  font-size: 13px;
}
.bulk-preview th {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  padding: 7px 8px;
  z-index: 1;
}
.bulk-preview td {
  padding: 6px 8px;
  vertical-align: top;
}
.bulk-preview tr.bad td {
  background: #fff8f8;
}
.bulk-ok {
  color: var(--success);
  white-space: nowrap;
  font-weight: 600;
}
.bulk-bad {
  color: var(--danger);
  min-width: 180px;
}
.bulk-progress {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.bulk-bar {
  flex: 1 1;
  height: 8px;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden;
}
.bulk-bar > div {
  height: 100%;
  background: var(--primary);
  transition: width 0.3s ease;
}
.bulk-actions {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 640px) {
  .bulk-sample-btns,
  .bulk-level {
    width: 100%;
  }
}

/* ---------- Assign assessment page ---------- */
.badge-muted {
  background: var(--surface-2);
  color: var(--muted);
}
.assign-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}
.assign-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  grid-gap: 18px;
  gap: 18px;
  align-items: start;
}
.assign-card {
  padding: 18px;
}
.assign-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.assign-batches {
  margin-top: 10px;
  max-height: 320px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.assign-batch {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-top: 1px solid var(--border);
  cursor: pointer;
  font-size: 13.5px;
}
.assign-batch:first-child {
  border-top: none;
}
.assign-batch:hover {
  background: var(--surface-2);
}
.assign-batch.all {
  font-weight: 600;
  background: var(--surface-2);
}
.assign-batch.done {
  cursor: default;
  color: var(--muted);
}
.assign-batch-name {
  flex: 1 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.assign-quick {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: -4px;
}
.chip-btn {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12.5px;
  font-family: inherit;
  cursor: pointer;
}
.chip-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
}
.assign-list {
  margin-top: 8px;
}
.assign-row {
  padding: 12px 0;
  border-top: 1px solid var(--border);
}
.assign-row:first-child {
  border-top: none;
}
.assign-row-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.assign-row .row-actions {
  align-items: center;
  flex: none;
}
.assign-edit {
  margin-top: 10px;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}
@media (max-width: 1000px) {
  .assign-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Assessment report: the table as a leaderboard ---------- */
.rank-cell {
  font-weight: 700;
  color: var(--muted);
  text-align: center;
}
/* The first three places carry the weight of the list. */
tr.top-rank td {
  background: var(--primary-soft);
}
tr.top-rank .rank-cell {
  color: var(--primary);
}

/* ---------- Assessment report: search above the table ---------- */
.report-table-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 0 18px 12px;
}
.report-search {
  flex: 0 1 380px;
  min-width: 240px;
  position: relative;
}
.search-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: none;
  cursor: pointer;
  color: var(--muted);
  display: flex;
  padding: 4px;
  border-radius: 6px;
}
.search-clear:hover {
  color: var(--text);
  background: var(--surface-2);
}
.report-search .input {
  padding-right: 32px;
}
@media (max-width: 640px) {
  .report-table-head {
    padding: 0 12px 10px;
  }
  .report-search {
    flex: 1 1 100%;
  }
}
/* The clear button carries its own icon, which must not be captured by the
   .input-icon rule that pins the search glyph to the left edge. */
.report-search .search-clear svg {
  position: static;
  left: auto;
  transform: none;
  pointer-events: auto;
  color: inherit;
}


/* ---------- Banners ---------- */
.banner-thumb {
  width: 300px;
  /* Locked to the shape the app uses. The upload is held to 16:9 too, so
     nothing is actually cropped here -- this just keeps the column steady if a
     legacy row from before that rule is ever shown. */
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-2);
  display: block;
}
.banner-dims {
  margin-top: 6px;
  font-size: 12px;
  color: var(--faint);
}
.banner-added {
  color: var(--muted);
  font-size: 13.5px;
  white-space: nowrap;
}
/* Shown when the image cannot be loaded, so the row still reads as a banner
   rather than as a broken page. */
.banner-thumb-missing {
  display: grid;
  place-items: center;
  color: var(--faint);
}
/* The picker shown before an image is chosen. */
.image-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 170px;
  padding: 22px;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.image-drop:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.image-drop-title {
  font-weight: 600;
  font-size: 14px;
}
.image-drop-hint {
  font-size: 12.5px;
}

.banner-preview {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-2);
}
.banner-preview img {
  display: block;
  width: 100%;
  /* The same 16:9 box the app uses. Since the upload must already be 16:9 the
     image fills it exactly -- so the preview is literally what students see,
     with nothing cropped and no letterboxing. */
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
/* "Replace image" next to the pixel size it currently is. */
.banner-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}
.banner-preview-clear {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--surface);
}

.field-hint {
  margin-top: 5px;
  font-size: 12px;
  color: var(--faint);
  text-align: right;
}

/* ---------- Switch (checkbox styled as a toggle) ---------- */
.switch-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.switch-caption {
  font-size: 13px;
  color: var(--muted);
}
.switch {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
}
/* The real control sits on top, invisible but full size: it keeps the click
   target, the keyboard focus and the screen-reader semantics. */
.switch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}
.switch.is-disabled input {
  cursor: progress;
}
.switch-track {
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: #cbd5e1;
  display: block;
  transition: background 0.18s ease;
}
.switch-knob {
  display: block;
  width: 16px;
  height: 16px;
  margin: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.3);
  transition: transform 0.18s ease;
}
.switch.on .switch-track {
  background: var(--primary);
}
.switch.on .switch-knob {
  transform: translateX(16px);
}
.switch.is-disabled {
  opacity: 0.6;
}
.switch input:focus-visible + .switch-track {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}


/* ---------- Notifications ---------- */
.notification-thumb {
  width: 72px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-2);
  display: block;
}
.notification-desc {
  margin-top: 3px;
  font-size: 13px;
  color: var(--muted);
  /* Two lines keeps every row the same height; the rest is on the edit page. */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 440px;
}
.notification-meta {
  margin-top: 4px;
  font-size: 12px;
  color: var(--faint);
}
.audience-summary {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text);
}
.audience-summary svg {
  flex-shrink: 0;
  color: var(--faint);
}
.notification-preview img {
  /* Notifications are not held to one shape, so show the whole picture rather
     than cropping it to a ratio the admin never chose. */
  aspect-ratio: auto;
  max-height: 260px;
  object-fit: contain;
}

/* The running total of who a notification will reach. */
.reach-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  border: 1px solid transparent;
  color: var(--text);
  font-size: 14px;
  margin-top: 4px;
}
.reach-box svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--primary);
}
/* Sending to all 40,000 is legitimate but worth looking twice at. */
.reach-box.everyone {
  background: var(--warning-soft);
  border-color: var(--warning);
}
.reach-box.everyone svg {
  color: var(--warning);
}

.form-section-head {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  padding-bottom: 8px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--border);
}
.form-section-sub {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 14px;
}
.label-optional {
  font-weight: 500;
  font-size: 11.5px;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-left: 6px;
}
.field-note {
  margin-top: 5px;
  font-size: 12.5px;
  color: var(--faint);
}

/* ---------- MultiSelect ---------- */
.multiselect {
  position: relative;
}
.multiselect-control {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  padding: 7px 10px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 14px;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}
.multiselect-control:hover:not(:disabled) {
  border-color: var(--primary);
}
.multiselect-control:disabled {
  opacity: 0.6;
  cursor: default;
}
.multiselect-value {
  flex: 1 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}
.multiselect-placeholder {
  color: var(--faint);
}
.multiselect-caret {
  display: flex;
  color: var(--faint);
  transition: transform 0.18s ease;
}
.multiselect-caret.open {
  transform: rotate(180deg);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 7px 3px 9px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 600;
  max-width: 100%;
}
.chip-x {
  display: inline-flex;
  opacity: 0.7;
  cursor: pointer;
}
.chip-x:hover {
  opacity: 1;
}

.multiselect-panel {
  position: absolute;
  z-index: 40;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
  overflow: hidden;
}
.multiselect-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border-bottom: 1px solid var(--border);
  color: var(--faint);
}
.multiselect-search .input {
  border: 0;
  padding: 0;
  height: auto;
  background: none;
  font-size: 14px;
}
.multiselect-search .input:focus {
  outline: none;
  box-shadow: none;
}
.multiselect-list {
  /* Roughly nine rows. The branch list runs to ~98, so it has to scroll. */
  max-height: 260px;
  overflow-y: auto;
}
.multiselect-option {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  font-size: 13.5px;
  cursor: pointer;
}
.multiselect-option:hover {
  background: var(--surface-2);
}
.multiselect-option input {
  flex-shrink: 0;
  margin: 0;
}
.multiselect-option-label {
  flex: 1 1;
  min-width: 0;
}
.multiselect-option-hint {
  color: var(--faint);
  font-size: 12px;
  white-space: nowrap;
}
.multiselect-empty {
  padding: 16px 12px;
  text-align: center;
  color: var(--faint);
  font-size: 13px;
}
.multiselect-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--muted);
}

/* ---- the test-push panel on the notifications list ---- */
.test-push {
  padding: 18px 20px;
  margin-bottom: 16px;
}
.test-push-row {
  display: flex;
  gap: 10px;
  align-items: center;
  max-width: 520px;
}
.test-push-row .input {
  flex: 1 1;
}
.test-push-result {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
  border: 1px solid transparent;
}
.test-push-result.ok {
  background: var(--success-soft);
  border-color: var(--success);
  color: var(--text);
}
.test-push-result.bad {
  background: var(--danger-soft);
  border-color: var(--danger);
  color: var(--text);
}
.test-push-result.ok svg {
  color: var(--success);
}
.test-push-result.bad svg {
  color: var(--danger);
}
.test-push-result svg {
  flex: 0 0 auto;
  margin-top: 2px;
}
@media (max-width: 560px) {
  .test-push-row {
    flex-direction: column;
    align-items: stretch;
  }
}

