:root {
  color-scheme: light;
  --bg: #eef2f7;
  --surface: #ffffff;
  --surface-strong: #f8fafc;
  --ink: #18202f;
  --muted: #687386;
  --line: #d8dee8;
  --blue: #2459d6;
  --blue-dark: #193f9a;
  --green: #16845d;
  --red: #b23535;
  --amber: #a86410;
  --shadow: 0 18px 45px rgba(25, 37, 60, 0.11);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(36, 89, 214, 0.08), transparent 360px),
    var(--bg);
  color: var(--ink);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
}

button,
input,
select {
  font: inherit;
}

button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 0 16px;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

input,
select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  color: var(--ink);
}

.app-shell {
  width: min(1500px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 28px 0 40px;
}

.topbar,
.metrics,
.workspace,
.fairness-band,
.history-section {
  margin-bottom: 18px;
}

.topbar,
.fairness-band,
.panel,
.draw-stage,
.history-section,
.admin-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
}

.topbar h1,
.panel h2,
.draw-stage h2,
.history-section h2,
.admin-panel h1,
.csv-help h2 {
  margin: 0;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mode-badge {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: var(--surface-strong);
  color: var(--blue-dark);
  font-weight: 800;
}

.mode-gate,
.simulation-panel {
  margin-bottom: 18px;
}

.mode-gate {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mode-card,
.simulation-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.mode-card {
  padding: 20px;
}

.mode-card h2 {
  margin: 0;
}

.mode-card p {
  color: var(--muted);
  line-height: 1.65;
}

.mode-card button {
  width: 100%;
}

.credential-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.login-status {
  min-height: 22px;
  margin-top: 10px;
  color: var(--green);
  font-weight: 700;
}

.simulation-panel {
  padding: 18px;
}

.simulation-grid {
  display: grid;
  grid-template-columns: minmax(360px, 1.25fr) minmax(270px, 0.92fr);
  gap: 18px;
}

.simulation-stage {
  min-height: 420px;
}

.simulation-history {
  margin-top: 18px;
  margin-bottom: 0;
}

.status-pill.simulation,
.history-item.simulation {
  background: #fffaf0;
  color: var(--amber);
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.sound-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: var(--surface-strong);
  color: var(--muted);
  font-weight: 700;
}

.sound-toggle input {
  width: auto;
  min-height: auto;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.metric {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--surface);
}

.metric span,
.pending-meta,
.student-row span,
.result-card span,
.history-item span,
.admin-note {
  color: var(--muted);
}

.metric strong {
  display: block;
  margin-top: 8px;
  font-size: 30px;
}

.fairness-band {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(360px, 1.2fr);
  gap: 18px;
  padding: 18px 20px;
  border-left: 5px solid var(--green);
}

.fairness-band h2 {
  margin: 0 0 8px;
}

.fairness-band p,
.fairness-band ul {
  margin: 0;
}

.fairness-band ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 8px 18px;
  padding-left: 20px;
}

.workspace {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.panel,
.draw-stage,
.history-section {
  padding: 18px;
}

.panel-heading,
.stage-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.count-badge,
.code-badge,
.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border-radius: 8px;
  padding: 0 10px;
  background: #e8eefc;
  color: var(--blue-dark);
  font-weight: 800;
  white-space: nowrap;
}

.code-badge {
  background: #fff4df;
  color: var(--amber);
}

.status-pill {
  background: #e7f5ef;
  color: var(--green);
}

.filters {
  display: grid;
  grid-template-columns: 1fr 132px;
  gap: 10px;
  margin-bottom: 12px;
}

.student-list {
  display: grid;
  max-height: 510px;
  overflow: auto;
  gap: 8px;
  padding-right: 4px;
}

.student-row,
.result-card,
.history-item,
.empty-state {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
}

.student-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 10px 12px;
}

.draw-stage {
  display: flex;
  flex-direction: column;
}

.ticker {
  display: grid;
  place-items: center;
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(36, 89, 214, 0.10), rgba(22, 132, 93, 0.10)),
    #fff;
  text-align: center;
  overflow: hidden;
}

.ticker-name {
  max-width: 90%;
  font-size: clamp(42px, 5vw, 84px);
  font-weight: 900;
  line-height: 1.05;
}

.ticker-name.rolling {
  color: var(--blue);
  transform: scale(1.02);
}

.ticker p {
  max-width: 72%;
  margin: 12px auto 0;
  color: var(--muted);
}

.control-strip {
  display: grid;
  grid-template-columns: 140px 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.secondary-controls {
  grid-template-columns: repeat(3, 1fr);
}

.count-control span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.primary-button {
  background: var(--blue);
}

.primary-button:hover:not(:disabled) {
  background: var(--blue-dark);
}

.danger-button {
  background: var(--red);
}

.success-button {
  background: var(--green);
}

.ghost-button {
  border: 1px solid var(--line);
  background: var(--surface-strong);
  color: var(--ink);
}

.progress-block {
  margin-top: auto;
  padding-top: 18px;
}

.progress-line {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-weight: 700;
}

.progress-track {
  height: 12px;
  margin-top: 8px;
  border-radius: 8px;
  background: #dde4ee;
  overflow: hidden;
}

.progress-fill {
  width: 0%;
  height: 100%;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transition: width 220ms ease;
}

.pending-meta {
  min-height: 24px;
  margin-bottom: 12px;
  font-size: 14px;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-height: 510px;
  overflow: auto;
}

.result-card {
  min-height: 86px;
  padding: 14px;
  opacity: 1;
}

.result-card strong {
  display: block;
  font-size: 20px;
}

.result-card.reveal {
  animation: reveal 360ms ease both;
}

.history-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.history-item {
  padding: 12px;
}

.history-item.reverted {
  border-color: #f1d2a5;
  background: #fffaf0;
}

.history-item div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.history-item p {
  margin: 8px 0 0;
  color: var(--muted);
}

.empty-state {
  padding: 18px;
  color: var(--muted);
  text-align: center;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  transform: translateY(16px);
  opacity: 0;
  pointer-events: none;
  border-radius: 8px;
  padding: 12px 16px;
  background: var(--ink);
  color: #fff;
  transition: 180ms ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.error {
  background: var(--red);
}

.admin-shell {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
}

.admin-panel {
  width: min(640px, 100%);
  padding: 28px;
}

.admin-form {
  display: grid;
  gap: 14px;
  margin: 18px 0;
}

.admin-form label span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-weight: 700;
}

.csv-help {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--surface-strong);
}

.csv-help pre {
  overflow: auto;
  margin: 10px 0 0;
  color: var(--muted);
}

.admin-status {
  min-height: 24px;
  color: var(--green);
  font-weight: 700;
}

.admin-status.error {
  color: var(--red);
}

.hidden {
  display: none;
}

@keyframes reveal {
  from {
    transform: translateY(10px) scale(0.96);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@media (max-width: 1180px) {
  .workspace {
    grid-template-columns: 1fr;
  }

  .student-list,
  .result-grid {
    max-height: 340px;
  }
}

@media (max-width: 760px) {
  .app-shell {
    width: min(100% - 24px, 1500px);
    padding-top: 14px;
  }

  .topbar,
  .fairness-band,
  .metrics,
  .mode-gate,
  .simulation-grid,
  .control-strip,
  .secondary-controls,
  .history-list {
    grid-template-columns: 1fr;
  }

  .topbar,
  .fairness-band {
    display: grid;
  }

  .metrics {
    display: grid;
  }

  .fairness-band ul {
    grid-template-columns: 1fr;
  }

  .top-actions,
  .credential-row,
  .history-item div,
  .student-row {
    align-items: stretch;
    flex-direction: column;
  }

  .ticker {
    min-height: 220px;
  }

  .ticker p {
    max-width: 88%;
  }
}

/* Mobile-first application shell and premium visual layer */
:root {
  --bg: #edf1f5;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #f7f9fc;
  --ink: #171d2b;
  --muted: #687184;
  --line: rgba(128, 143, 166, 0.22);
  --blue: #1f5fbf;
  --blue-dark: #163f83;
  --green: #147a63;
  --red: #b34242;
  --amber: #a66a16;
  --nav: #121a2a;
  --nav-soft: rgba(255, 255, 255, 0.08);
  --shadow: 0 18px 48px rgba(26, 36, 58, 0.12);
  --soft-shadow: 0 10px 28px rgba(26, 36, 58, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 18% 0%, rgba(31, 95, 191, 0.13), transparent 34vw),
    radial-gradient(circle at 95% 14%, rgba(20, 122, 99, 0.11), transparent 28vw),
    linear-gradient(180deg, #f5f7fb 0%, var(--bg) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(23, 29, 43, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 29, 43, 0.03) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 72%);
}

button {
  min-height: 46px;
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26);
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(26, 36, 58, 0.12);
}

input,
select {
  min-height: 46px;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 1px 2px rgba(22, 31, 49, 0.04);
}

input:focus,
select:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(31, 95, 191, 0.2);
  outline-offset: 2px;
}

.app-frame {
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr);
  min-height: 100vh;
}

.side-nav {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 18px 14px;
  background:
    linear-gradient(180deg, rgba(31, 95, 191, 0.17), transparent 32%),
    var(--nav);
  color: #fff;
  box-shadow: 16px 0 40px rgba(11, 17, 28, 0.18);
  z-index: 10;
}

.brand-mark,
.nav-link {
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 8px;
  border-radius: 8px;
}

.brand-icon,
.nav-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.brand-icon {
  background: linear-gradient(145deg, #f5c76a, #d58b22);
  color: #201407;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.2);
}

.brand-mark strong,
.brand-mark small,
.nav-foot span,
.nav-foot small {
  display: block;
}

.brand-mark strong {
  font-size: 17px;
}

.brand-mark small,
.nav-foot small {
  color: rgba(255, 255, 255, 0.62);
}

.nav-links {
  display: grid;
  gap: 7px;
  margin-top: 26px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 48px;
  border-radius: 8px;
  padding: 6px 8px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 760;
}

.nav-link:hover,
.nav-link:focus-visible {
  background: var(--nav-soft);
  color: #fff;
}

.nav-icon {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: #c9dcff;
  font-size: 14px;
  font-weight: 900;
}

.nav-foot {
  margin-top: auto;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.nav-foot span {
  font-weight: 850;
}

.app-shell {
  width: min(1480px, 100%);
  margin: 0;
  padding: 22px;
}

.topbar,
.fairness-band,
.panel,
.draw-stage,
.history-section,
.admin-panel,
.metric,
.mode-card,
.simulation-panel {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.82)),
    var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.topbar {
  position: relative;
  overflow: hidden;
  min-height: 148px;
}

.topbar::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: -42px;
  width: 180px;
  height: 180px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(31, 95, 191, 0.16), rgba(20, 122, 99, 0.12));
  transform: rotate(18deg);
}

.topbar > * {
  position: relative;
  z-index: 1;
}

.topbar h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
}

.top-subtitle {
  max-width: 620px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.metric {
  position: relative;
  overflow: hidden;
  min-height: 112px;
  padding: 16px;
}

.metric::after {
  content: "";
  position: absolute;
  inset: auto 12px 12px auto;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(31, 95, 191, 0.08);
}

.metric.accent::after {
  background: rgba(20, 122, 99, 0.12);
}

.metric strong {
  font-size: clamp(28px, 4vw, 38px);
}

.fairness-band {
  border-left: 0;
  overflow: hidden;
  position: relative;
}

.fairness-band::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 5px;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--green), var(--blue));
}

.workspace {
  grid-template-columns: minmax(260px, 0.88fr) minmax(360px, 1.25fr) minmax(270px, 0.92fr);
}

.panel,
.draw-stage,
.history-section {
  padding: 18px;
}

.draw-stage {
  position: relative;
  overflow: hidden;
  min-height: 560px;
}

.draw-stage::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(31, 95, 191, 0.10);
  border-radius: 8px;
  pointer-events: none;
}

.stage-header,
.ticker,
.control-strip,
.progress-block {
  position: relative;
  z-index: 1;
}

.ticker {
  min-height: 290px;
  border: 0;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(18, 26, 42, 0.94), rgba(24, 58, 99, 0.88)),
    #121a2a;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 16px 34px rgba(17, 28, 48, 0.16);
}

.ticker::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 8px;
  pointer-events: none;
}

.ticker-name {
  color: #fff;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.26);
}

.ticker-name.rolling {
  color: #b9d4ff;
}

.ticker p {
  color: rgba(255, 255, 255, 0.68);
}

.control-strip {
  grid-template-columns: 138px minmax(0, 1fr) minmax(0, 1fr);
}

.secondary-controls {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.primary-button {
  background: linear-gradient(135deg, #286fe0, var(--blue-dark));
}

.danger-button {
  background: linear-gradient(135deg, #c95555, #9d3030);
}

.success-button {
  background: linear-gradient(135deg, #1b9879, #0f6654);
}

.ghost-button {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}

.sound-toggle {
  background: rgba(255, 255, 255, 0.68);
}

.student-list,
.result-grid {
  scrollbar-width: thin;
  scrollbar-color: rgba(31, 95, 191, 0.35) transparent;
}

.student-row,
.result-card,
.history-item,
.empty-state {
  border-color: rgba(128, 143, 166, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(248, 250, 252, 0.9));
  box-shadow: var(--soft-shadow);
}

.student-row,
.result-card {
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.student-row:hover,
.result-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(26, 36, 58, 0.12);
}

.result-card {
  border-top: 3px solid rgba(31, 95, 191, 0.35);
}

.history-item.confirmed {
  border-left: 4px solid var(--green);
}

.history-item.reverted {
  border-left: 4px solid var(--amber);
}

.count-badge,
.code-badge,
.status-pill {
  border: 1px solid rgba(255, 255, 255, 0.62);
}

.admin-shell {
  background:
    radial-gradient(circle at top left, rgba(31, 95, 191, 0.16), transparent 34vw),
    var(--bg);
}

.admin-panel {
  box-shadow: 0 24px 60px rgba(26, 36, 58, 0.16);
}

@media (max-width: 1180px) {
  .app-frame {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .side-nav {
    align-items: center;
    padding: 14px 10px;
  }

  .brand-mark {
    justify-content: center;
  }

  .brand-mark span:last-child,
  .nav-link span:last-child,
  .nav-foot {
    display: none;
  }

  .nav-links {
    margin-top: 22px;
  }

  .nav-link {
    justify-content: center;
    width: 52px;
    padding: 6px;
  }

  .workspace {
    grid-template-columns: 1fr;
  }

  .draw-stage {
    order: 1;
  }

  .result-panel {
    order: 2;
  }

  .roster-panel {
    order: 3;
  }
}

@media (max-width: 760px) {
  body {
    background:
      radial-gradient(circle at 0% 0%, rgba(31, 95, 191, 0.16), transparent 58vw),
      linear-gradient(180deg, #f7f9fc, var(--bg));
  }

  .app-frame {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .side-nav {
    width: 64px;
    padding: 10px 6px;
  }

  .brand-icon,
  .nav-icon {
    width: 42px;
    height: 42px;
  }

  .nav-link {
    width: 48px;
    min-height: 48px;
  }

  .app-shell {
    width: 100%;
    padding: 12px 10px 20px;
  }

  .topbar,
  .fairness-band,
  .panel,
  .draw-stage,
  .history-section {
    padding: 14px;
  }

  .topbar {
    min-height: auto;
  }

  .topbar h1 {
    font-size: 28px;
  }

  .top-subtitle {
    font-size: 14px;
  }

  .top-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .sound-toggle,
  .top-actions button {
    width: 100%;
    justify-content: center;
  }

  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .metric {
    min-height: 96px;
    padding: 13px;
  }

  .metric strong {
    font-size: 28px;
  }

  .fairness-band {
    gap: 12px;
  }

  .fairness-band ul {
    padding-left: 18px;
  }

  .draw-stage {
    min-height: auto;
  }

  .ticker {
    min-height: 238px;
  }

  .ticker-name {
    font-size: clamp(38px, 13vw, 62px);
  }

  .control-strip,
  .secondary-controls,
  .filters {
    grid-template-columns: 1fr;
  }

  .count-control {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
  }

  .count-control span {
    margin: 0;
  }

  button {
    min-height: 50px;
  }

  .student-list,
  .result-grid {
    max-height: 300px;
  }

  .result-grid,
  .history-list {
    grid-template-columns: 1fr;
  }

  .toast {
    right: 12px;
    bottom: 12px;
    left: 76px;
  }

  .admin-shell {
    padding: 12px;
  }

  .admin-panel {
    padding: 18px;
  }
}

@media (max-width: 420px) {
  .app-frame {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .side-nav {
    width: 56px;
  }

  .brand-icon,
  .nav-icon {
    width: 38px;
    height: 38px;
  }

  .nav-link {
    width: 42px;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  .top-actions {
    grid-template-columns: 1fr;
  }
}

/* LYS-Robotics low-saturation legacy theme */
:root {
  --bg: #e9edf2;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #f6f8fb;
  --ink: #17202d;
  --muted: #657184;
  --line: rgba(103, 119, 141, 0.22);
  --blue: #275a8f;
  --blue-dark: #183557;
  --green: #2d7d73;
  --red: #a85950;
  --amber: #9a7441;
  --purple: #5d6592;
  --nav: #101923;
  --nav-soft: rgba(224, 235, 246, 0.09);
  --fresh-cyan: #7bbcb4;
  --metal: #dfe5ec;
  --shadow: 0 20px 52px rgba(21, 31, 46, 0.13);
  --soft-shadow: 0 10px 28px rgba(21, 31, 46, 0.08);
}

body {
  background:
    radial-gradient(circle at 16% 0%, rgba(39, 90, 143, 0.14), transparent 34vw),
    radial-gradient(circle at 98% 8%, rgba(123, 188, 180, 0.14), transparent 28vw),
    linear-gradient(180deg, #f7f8fa 0%, var(--bg) 100%);
}

.side-nav {
  background:
    linear-gradient(180deg, rgba(39, 90, 143, 0.23), transparent 34%),
    linear-gradient(135deg, rgba(123, 188, 180, 0.08), transparent 42%),
    var(--nav);
}

.brand-icon {
  width: 42px;
  background: linear-gradient(145deg, #dce6ee, #aebbc8);
  color: #17202d;
  font-size: 12px;
  letter-spacing: 0;
}

.brand-mark strong {
  letter-spacing: 0;
}

.nav-icon {
  background: rgba(223, 229, 236, 0.10);
  border-color: rgba(223, 229, 236, 0.16);
  color: #dce8f3;
}

.nav-link:hover,
.nav-link:focus-visible {
  background: rgba(123, 188, 180, 0.13);
}

.nav-foot {
  background:
    linear-gradient(135deg, rgba(123, 188, 180, 0.13), rgba(223, 229, 236, 0.06));
}

.topbar::after {
  width: 210px;
  height: 210px;
  border: 1px solid rgba(39, 90, 143, 0.12);
  background:
    linear-gradient(90deg, rgba(39, 90, 143, 0.10) 1px, transparent 1px),
    linear-gradient(rgba(45, 125, 115, 0.11) 1px, transparent 1px),
    rgba(223, 229, 236, 0.34);
  background-size: 22px 22px;
}

.eyebrow {
  color: var(--blue);
}

.metric::after {
  background: rgba(39, 90, 143, 0.08);
}

.metric.accent::after {
  background: rgba(45, 125, 115, 0.12);
}

.fairness-band::before {
  background: linear-gradient(180deg, var(--fresh-cyan), var(--blue));
}

.ticker {
  background:
    linear-gradient(90deg, rgba(123, 188, 180, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(123, 188, 180, 0.05) 1px, transparent 1px),
    linear-gradient(145deg, #101923, #183557);
  background-size: 26px 26px, 26px 26px, auto;
}

.ticker-name.rolling {
  color: #c1e7e1;
}

.primary-button {
  background: linear-gradient(135deg, #346d9d, var(--blue-dark));
}

.danger-button {
  background: linear-gradient(135deg, #b7665d, #8f4c47);
}

.success-button {
  background: linear-gradient(135deg, #3a9185, #21665f);
}

#revertBtn {
  border-color: rgba(154, 116, 65, 0.28);
  background: linear-gradient(135deg, rgba(248, 239, 222, 0.92), rgba(228, 211, 184, 0.88));
  color: #6e4f25;
}

#nextRoundBtn {
  border-color: rgba(93, 101, 146, 0.26);
  background: linear-gradient(135deg, rgba(237, 239, 248, 0.96), rgba(215, 219, 239, 0.9));
  color: #3f4774;
}

#refreshBtn {
  background: linear-gradient(135deg, rgba(250, 251, 253, 0.96), rgba(226, 232, 239, 0.9));
  color: #314052;
}

.count-badge {
  background: #e5edf6;
  color: var(--blue-dark);
}

.code-badge {
  background: #f2eadc;
  color: #765629;
}

.status-pill {
  background: #e2f0ed;
  color: #21665f;
}

.progress-fill {
  background: linear-gradient(90deg, var(--blue), var(--fresh-cyan), var(--green));
}

.result-card {
  border-top-color: rgba(123, 188, 180, 0.55);
}

.history-item.confirmed {
  border-left-color: var(--green);
}

.history-item.reverted {
  border-left-color: var(--amber);
}

.sound-toggle {
  border-color: rgba(103, 119, 141, 0.20);
  background: rgba(246, 248, 251, 0.76);
}

.admin-shell {
  background:
    radial-gradient(circle at top left, rgba(39, 90, 143, 0.16), transparent 34vw),
    radial-gradient(circle at bottom right, rgba(123, 188, 180, 0.12), transparent 28vw),
    var(--bg);
}

@media (max-width: 760px) {
  body {
    background:
      radial-gradient(circle at 0% 0%, rgba(39, 90, 143, 0.14), transparent 58vw),
      linear-gradient(180deg, #f8f9fb, var(--bg));
  }

  .topbar::after {
    right: -44px;
    bottom: -64px;
  }
}

/* Bright campus hero theme */
:root {
  --bg: #f4f8fb;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #fffdf7;
  --ink: #182538;
  --muted: #66788f;
  --line: rgba(87, 112, 142, 0.18);
  --blue: #2f80ed;
  --blue-dark: #1f5fae;
  --green: #27ae60;
  --red: #eb5757;
  --amber: #f2994a;
  --purple: #8f6be8;
  --nav: #eef7ff;
  --nav-soft: rgba(47, 128, 237, 0.10);
  --fresh-cyan: #56ccf2;
  --shadow: 0 18px 42px rgba(47, 84, 126, 0.12);
  --soft-shadow: 0 10px 24px rgba(47, 84, 126, 0.08);
}

body {
  background:
    radial-gradient(circle at 14% 0%, rgba(86, 204, 242, 0.18), transparent 32vw),
    radial-gradient(circle at 90% 8%, rgba(242, 201, 76, 0.16), transparent 24vw),
    linear-gradient(180deg, #fffdf7 0%, var(--bg) 100%);
}

body::before {
  background-image:
    radial-gradient(circle, rgba(47, 128, 237, 0.09) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.34), transparent 64%);
}

.app-shell {
  padding-top: 16px;
}

.maintainer-strip,
.history-maintainer {
  color: rgba(58, 76, 100, 0.72);
  font-size: 12px;
  line-height: 1.6;
}

.maintainer-strip {
  width: fit-content;
  max-width: 100%;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 8px 20px rgba(47, 84, 126, 0.08);
  backdrop-filter: blur(12px);
}

.history-maintainer {
  margin: 14px 2px 0;
  text-align: center;
}

.side-nav {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(238, 247, 255, 0.94)),
    var(--nav);
  color: #24374d;
  box-shadow: 12px 0 34px rgba(47, 84, 126, 0.10);
}

.brand-icon {
  background: linear-gradient(145deg, #f2c94c, #f2994a);
  color: #3d2a09;
}

.brand-mark small,
.nav-foot small {
  color: rgba(36, 55, 77, 0.62);
}

.nav-link {
  color: rgba(36, 55, 77, 0.78);
}

.nav-link:hover,
.nav-link:focus-visible {
  background: var(--nav-soft);
  color: #183557;
}

.nav-icon {
  border-color: rgba(47, 128, 237, 0.18);
  background: rgba(255, 255, 255, 0.68);
  color: var(--blue-dark);
}

.nav-foot {
  border-color: rgba(47, 128, 237, 0.14);
  background: rgba(255, 255, 255, 0.58);
}

.topbar {
  min-height: 230px;
  align-items: end;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.64) 44%, rgba(255, 255, 255, 0.30) 100%),
    linear-gradient(180deg, rgba(255, 253, 247, 0.42), rgba(255, 253, 247, 0.16)),
    url("/assets/campus-hero.jpg") center / cover no-repeat;
  box-shadow: 0 24px 54px rgba(47, 84, 126, 0.16);
}

.topbar::before {
  content: none;
}

.topbar::after {
  content: "";
  right: 20px;
  bottom: 18px;
  width: 150px;
  height: 74px;
  border: 0;
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 40%, rgba(242, 201, 76, 0.55) 0 4px, transparent 5px),
    radial-gradient(circle at 52% 54%, rgba(47, 128, 237, 0.28) 0 5px, transparent 6px),
    radial-gradient(circle at 78% 34%, rgba(39, 174, 96, 0.26) 0 4px, transparent 5px);
  transform: rotate(-4deg);
  opacity: 0.8;
}

.topbar h1 {
  color: #16263a;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
}

.top-subtitle {
  color: #40546d;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.66);
}

.eyebrow {
  color: var(--blue-dark);
}

.ticker {
  background:
    linear-gradient(135deg, rgba(234, 245, 255, 0.96), rgba(255, 248, 225, 0.82)),
    #fff;
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78), 0 16px 34px rgba(47, 84, 126, 0.12);
}

.ticker::before {
  border-color: rgba(47, 128, 237, 0.12);
}

.ticker-name {
  color: #1f5fae;
  text-shadow: 0 8px 22px rgba(47, 128, 237, 0.16);
}

.ticker-name.rolling {
  color: #eb8b32;
}

.ticker p {
  color: var(--muted);
}

.primary-button {
  background: linear-gradient(135deg, #4f9cf5, #2f80ed);
}

.danger-button {
  background: linear-gradient(135deg, #ff7770, #eb5757);
}

.success-button {
  background: linear-gradient(135deg, #45c979, #27ae60);
}

#revertBtn {
  border-color: rgba(242, 153, 74, 0.34);
  background: linear-gradient(135deg, #fff3df, #ffd7a8);
  color: #8b5218;
}

#nextRoundBtn {
  border-color: rgba(143, 107, 232, 0.28);
  background: linear-gradient(135deg, #f1ebff, #dfd2ff);
  color: #6040ad;
}

#refreshBtn {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(234, 245, 255, 0.86));
  color: #29405c;
}

.code-badge {
  background: #fff4cf;
  color: #8b6413;
}

.status-pill {
  background: #e6f7ee;
  color: #1f8f50;
}

.progress-fill {
  background: linear-gradient(90deg, #2f80ed, #56ccf2, #27ae60);
}

.result-card {
  position: relative;
  overflow: hidden;
  border-top: 0;
}

.result-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, #f2c94c, #f2994a);
}

.result-card:nth-child(3n + 2)::before {
  background: linear-gradient(180deg, #56ccf2, #2f80ed);
}

.result-card:nth-child(3n)::before {
  background: linear-gradient(180deg, #6fcf97, #27ae60);
}

.admin-shell {
  background:
    radial-gradient(circle at top left, rgba(86, 204, 242, 0.18), transparent 34vw),
    radial-gradient(circle at bottom right, rgba(242, 201, 76, 0.16), transparent 28vw),
    linear-gradient(180deg, #fffdf7, var(--bg));
}

@media (max-width: 760px) {
  .app-shell {
    padding-top: 10px;
  }

  .maintainer-strip {
    width: 100%;
    font-size: 11px;
  }

  .topbar {
    min-height: 238px;
    align-items: end;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.64) 58%, rgba(255, 255, 255, 0.34) 100%),
      url("/assets/campus-hero.jpg") center / cover no-repeat;
  }

  .topbar::after {
    right: 12px;
    bottom: 12px;
    width: 94px;
    height: 54px;
  }
}

/* Final typography and navigation polish */
body {
  font-family:
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Text",
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei UI",
    "Microsoft YaHei",
    sans-serif;
  font-feature-settings: "kern";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.topbar h1,
.ticker-name,
.metric strong {
  font-family:
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "PingFang SC",
    "Microsoft YaHei UI",
    sans-serif;
  font-weight: 850;
}

.topbar h1 {
  letter-spacing: 0;
}

.top-subtitle,
.maintainer-strip,
.history-maintainer,
.student-row span,
.result-card span,
.history-item p,
.pending-meta {
  font-weight: 450;
}

.eyebrow {
  font-size: 11px;
  font-weight: 850;
}

.side-nav {
  position: sticky;
  isolation: isolate;
  border-right: 1px solid rgba(47, 128, 237, 0.10);
  background:
    radial-gradient(circle at 12% 8%, rgba(47, 128, 237, 0.16), transparent 30%),
    radial-gradient(circle at 82% 22%, rgba(242, 201, 76, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(232, 245, 255, 0.92));
  box-shadow: 16px 0 42px rgba(45, 92, 138, 0.12);
}

.side-nav::before {
  content: "";
  position: absolute;
  inset: 12px 10px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.22));
}

.brand-mark {
  min-height: 64px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.brand-icon {
  width: 44px;
  height: 44px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.36), transparent),
    linear-gradient(145deg, #2f80ed, #56ccf2 54%, #f2c94c);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(47, 128, 237, 0.24);
}

.brand-mark strong {
  color: #17304f;
  font-size: 16px;
  font-weight: 850;
}

.brand-mark small {
  color: rgba(23, 48, 79, 0.58);
  font-size: 12px;
  font-weight: 550;
}

.nav-links {
  gap: 9px;
}

.nav-link {
  position: relative;
  min-height: 50px;
  padding: 7px 9px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: rgba(25, 49, 79, 0.74);
  font-size: 14px;
  font-weight: 720;
}

.nav-link:hover,
.nav-link:focus-visible {
  border-color: rgba(47, 128, 237, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(234, 245, 255, 0.76));
  color: #17304f;
  box-shadow: 0 10px 24px rgba(47, 128, 237, 0.10);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  content: "";
  position: absolute;
  right: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2f80ed;
  box-shadow: 0 0 0 4px rgba(47, 128, 237, 0.12);
}

.nav-icon {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(47, 128, 237, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(234, 245, 255, 0.72));
  color: #1f5fae;
  font-size: 13px;
  font-weight: 850;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.nav-link:nth-child(2) .nav-icon {
  color: #27ae60;
}

.nav-link:nth-child(3) .nav-icon {
  color: #eb8b32;
}

.nav-link:nth-child(4) .nav-icon {
  color: #8f6be8;
}

.nav-link:nth-child(5) .nav-icon {
  color: #66788f;
}

.brand-icon svg,
.nav-icon svg,
.metric-icon svg {
  width: 1em;
  height: 1em;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-icon svg {
  width: 24px;
  height: 24px;
  fill: rgba(255, 255, 255, 0.28);
  stroke-width: 1.55;
}

.nav-icon svg {
  width: 20px;
  height: 20px;
}

.metric::after {
  display: none;
}

.metric-icon {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(47, 128, 237, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.66), rgba(234, 245, 255, 0.56)),
    rgba(47, 128, 237, 0.08);
  color: rgba(47, 128, 237, 0.78);
}

.metric-icon svg {
  width: 24px;
  height: 24px;
}

.metric:nth-child(2) .metric-icon {
  border-color: rgba(39, 174, 96, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.66), rgba(230, 247, 238, 0.60)),
    rgba(39, 174, 96, 0.10);
  color: rgba(39, 174, 96, 0.82);
}

.metric:nth-child(3) .metric-icon {
  border-color: rgba(242, 153, 74, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.66), rgba(255, 243, 223, 0.64)),
    rgba(242, 153, 74, 0.12);
  color: rgba(213, 118, 35, 0.82);
}

.metric:nth-child(4) .metric-icon {
  border-color: rgba(143, 107, 232, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.66), rgba(241, 235, 255, 0.62)),
    rgba(143, 107, 232, 0.10);
  color: rgba(112, 78, 197, 0.78);
}

.metric strong {
  position: relative;
  z-index: 1;
  padding-right: 52px;
}

.nav-foot {
  border-color: rgba(47, 128, 237, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.70), rgba(234, 245, 255, 0.70));
  color: #17304f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.nav-foot span {
  font-size: 13px;
  font-weight: 850;
}

.nav-foot small {
  color: rgba(23, 48, 79, 0.58);
  font-size: 11px;
}

.nav-head {
  display: grid;
  gap: 8px;
}

.nav-head .brand-mark {
  padding-right: 10px;
}

.brand-text {
  min-width: 0;
}

.brand-text strong,
.brand-text small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-toggle {
  display: grid;
  place-items: center;
  min-height: 36px;
  width: 36px;
  border: 1px solid rgba(47, 128, 237, 0.16);
  border-radius: 8px;
  padding: 0;
  background: rgba(255, 255, 255, 0.66);
  color: #1f5fae;
}

.nav-head .sidebar-toggle {
  justify-self: end;
  min-height: 30px;
  width: 44px;
}

.nav-head .sidebar-toggle:hover:not(:disabled) {
  transform: translateY(-1px);
}

.sidebar-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 160ms ease;
}

.nav-foot {
  display: grid;
  gap: 10px;
}

.nav-status-card {
  display: grid;
  gap: 9px;
  border: 1px solid rgba(47, 128, 237, 0.14);
  border-radius: 8px;
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(234, 245, 255, 0.72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.nav-status-row,
.nav-status-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.nav-status-row span {
  color: #17304f;
  font-size: 13px;
  font-weight: 820;
}

.nav-status-row strong {
  color: #1f5fae;
  font-size: 13px;
}

.nav-status-meta {
  color: rgba(23, 48, 79, 0.58);
  font-size: 11px;
}

.nav-progress-track {
  height: 7px;
  border-radius: 8px;
  background: rgba(47, 128, 237, 0.12);
  overflow: hidden;
}

.nav-progress-fill {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2f80ed, #56ccf2, #27ae60);
  transition: width 220ms ease;
}

.nav-maintainer {
  display: grid;
  gap: 2px;
}

body.sidebar-collapsed .app-frame {
  grid-template-columns: 84px minmax(0, 1fr);
}

body.sidebar-collapsed .side-nav {
  align-items: center;
  padding-inline: 10px;
}

body.sidebar-collapsed .nav-head {
  display: grid;
  grid-template-columns: 1fr;
}

body.sidebar-collapsed .brand-mark {
  justify-content: center;
  padding-right: 8px;
  background: transparent;
  box-shadow: none;
}

body.sidebar-collapsed .brand-text,
body.sidebar-collapsed .nav-link span:last-child,
body.sidebar-collapsed .nav-status-card,
body.sidebar-collapsed .nav-maintainer span,
body.sidebar-collapsed .nav-maintainer small {
  display: none;
}

body.sidebar-collapsed .sidebar-toggle {
  width: 44px;
  margin: 8px auto 0;
  transform: none;
}

body.sidebar-collapsed .sidebar-toggle:hover:not(:disabled) {
  transform: none;
}

body.sidebar-collapsed .sidebar-toggle svg {
  transform: rotate(180deg);
}

body.sidebar-collapsed .nav-link {
  justify-content: center;
  width: 52px;
  padding: 6px;
}

body.sidebar-collapsed .nav-foot {
  width: 52px;
  min-height: 74px;
  place-items: center;
}

body.sidebar-collapsed .nav-foot::before {
  content: "";
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 50%, #2f80ed 0 3px, transparent 4px),
    rgba(47, 128, 237, 0.10);
}

button {
  font-weight: 760;
}

.student-row strong,
.result-card strong,
.history-item strong {
  font-weight: 780;
}

@media (max-width: 1180px) {
  .side-nav::before,
  .nav-link:hover::after,
  .nav-link:focus-visible::after {
    display: none;
  }

  .brand-mark {
    background: transparent;
    box-shadow: none;
  }

  .brand-icon svg,
  .nav-icon svg {
    width: 20px;
    height: 20px;
  }

  .nav-head {
    grid-template-columns: 1fr;
  }

  .sidebar-toggle,
  .nav-status-card {
    display: none;
  }
}

@media (max-width: 760px) {
  .side-nav {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(232, 245, 255, 0.94));
  }

  .brand-icon,
  .nav-icon {
    width: 40px;
    height: 40px;
  }

  .nav-link {
    width: 48px;
    min-height: 48px;
  }

  .metric-icon {
    right: 12px;
    bottom: 12px;
    width: 42px;
    height: 42px;
  }

  .metric-icon svg {
    width: 21px;
    height: 21px;
  }
}
