:root {
  --bg-1: #f8fff1;
  --bg-2: #e0ffb4;
  --bg-3: #c8f977;
  --text: #19310b;
  --muted: #537143;
  --line: rgba(76, 125, 21, 0.18);
  --glass: rgba(255, 255, 255, 0.54);
  --glass-strong: rgba(255, 255, 255, 0.72);
  --shadow: 0 22px 60px rgba(96, 145, 34, 0.18);
  --button-1: #8bcf2f;
  --button-2: #b7f55f;
  --button-text: #153000;
  --surface-soft: rgba(255, 255, 255, 0.58);
  --surface-strong: rgba(255, 255, 255, 0.76);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

body[data-theme="dark"] {
  --bg-1: #0f1418;
  --bg-2: #1b2630;
  --bg-3: #23394a;
  --text: #eef7ff;
  --muted: #9bb0c1;
  --line: rgba(180, 214, 235, 0.16);
  --glass: rgba(17, 28, 38, 0.62);
  --glass-strong: rgba(25, 38, 48, 0.82);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
  --button-1: #314859;
  --button-2: #4d6d87;
  --button-text: #f1f8ff;
  --surface-soft: rgba(21, 34, 44, 0.72);
  --surface-strong: rgba(30, 45, 56, 0.86);
}

body[data-theme="ocean"] {
  --bg-1: #091520;
  --bg-2: #113149;
  --bg-3: #1f587d;
  --text: #eef9ff;
  --muted: #9bc8df;
  --line: rgba(132, 207, 255, 0.18);
  --glass: rgba(10, 35, 53, 0.58);
  --glass-strong: rgba(18, 51, 74, 0.78);
  --shadow: 0 22px 60px rgba(7, 17, 30, 0.36);
  --button-1: #27a7cf;
  --button-2: #75d9ff;
  --button-text: #072236;
  --surface-soft: rgba(19, 55, 78, 0.68);
  --surface-strong: rgba(31, 74, 103, 0.84);
}

body[data-theme="forest"] {
  --bg-1: #09130d;
  --bg-2: #153121;
  --bg-3: #255438;
  --text: #effff3;
  --muted: #a4cfb2;
  --line: rgba(158, 220, 178, 0.18);
  --glass: rgba(16, 43, 28, 0.58);
  --glass-strong: rgba(23, 58, 38, 0.78);
  --shadow: 0 22px 60px rgba(5, 17, 10, 0.36);
  --button-1: #2d9a59;
  --button-2: #74db98;
  --button-text: #072614;
  --surface-soft: rgba(20, 53, 35, 0.68);
  --surface-strong: rgba(30, 68, 45, 0.84);
}

body[data-theme="frost"] {
  --bg-1: #f7fbff;
  --bg-2: #dff0ff;
  --bg-3: #bfdfff;
  --text: #10253a;
  --muted: #56728d;
  --line: rgba(91, 144, 198, 0.18);
  --glass: rgba(255, 255, 255, 0.62);
  --glass-strong: rgba(255, 255, 255, 0.82);
  --shadow: 0 22px 60px rgba(87, 134, 190, 0.18);
  --button-1: #63aef8;
  --button-2: #9ed4ff;
  --button-text: #0f2740;
  --surface-soft: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.9);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-y: auto;
}

html.touch-device {
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 34%),
    radial-gradient(circle at 85% 20%, rgba(209, 255, 145, 0.85), transparent 28%),
    linear-gradient(135deg, var(--bg-1), var(--bg-2) 45%, #efffd1 100%);
}

body.reduced-motion *,
body.reduced-motion *::before,
body.reduced-motion *::after {
  animation: none !important;
  transition: none !important;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  z-index: 0;
  border-radius: 999px;
  filter: blur(8px);
  opacity: 0.5;
  pointer-events: none;
}

body::before {
  width: 280px;
  height: 280px;
  top: 10%;
  right: 7%;
  background: rgba(217, 255, 162, 0.7);
}

body::after {
  width: 220px;
  height: 220px;
  bottom: 8%;
  left: 6%;
  background: rgba(255, 255, 255, 0.7);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.glass {
  background: linear-gradient(180deg, var(--glass-strong), var(--glass));
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

html.touch-device .glass {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(96, 145, 34, 0.14);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.topbar,
.hero,
.content-card,
.auth-card,
.auth-intro,
.notice-box,
.modal-card,
.admin-card {
  border-radius: var(--radius-xl);
}

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

.topbar-left,
.topbar-right,
.hero-actions,
.modal-head,
.toggle-row,
.stat-line,
.pill-row {
  display: flex;
  align-items: center;
}

.topbar-left,
.hero-actions,
.pill-row {
  gap: 14px;
}

.topbar-right {
  gap: 20px;
}

.brand-block {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: center;
}

.compact-brand {
  grid-template-columns: 54px 1fr;
}

.site-logo,
.hero-logo,
.auth-logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.site-logo {
  width: 64px;
  filter: drop-shadow(0 10px 22px rgba(83, 143, 28, 0.16));
}

.hero-logo {
  width: clamp(110px, 18vw, 180px);
  margin-bottom: 10px;
  filter: drop-shadow(0 14px 34px rgba(109, 166, 47, 0.18));
}

.auth-logo {
  width: 140px;
  margin-bottom: 14px;
  filter: drop-shadow(0 14px 34px rgba(109, 166, 47, 0.16));
}

.brand,
.hero-title,
.section-head h3,
.auth-intro h1,
.auth-card h2,
.admin-card h1 {
  margin: 0;
  font-family: "Unbounded", sans-serif;
}

.brand {
  font-size: 1.05rem;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 800;
}

.icon-button,
.profile-button,
.primary-button,
.secondary-button,
.feature-card,
input,
select {
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.icon-button,
.profile-button,
.secondary-button,
.feature-card,
.link-button {
  background: var(--surface-soft);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.icon-button,
.profile-button {
  border-radius: 16px;
  color: var(--text);
  cursor: pointer;
}

.icon-button {
  width: 48px;
  height: 48px;
  font-size: 1.2rem;
}

.soft-icon {
  background: var(--surface-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.profile-button,
.primary-button,
.secondary-button,
.back-link {
  padding: 14px 18px;
  text-decoration: none;
  font-weight: 800;
}

.hero {
  display: grid;
  grid-template-columns: 1.55fr 0.9fr;
  gap: 24px;
  margin-top: 20px;
  padding: 28px;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1.05;
  animation: riseIn 0.75s ease both;
}

.hero-text,
.plain-text,
.auth-intro p,
.auth-card span,
.feature-card p {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.hero-text {
  max-width: 56ch;
  font-size: 1.05rem;
}

.hero-panel,
.auth-card,
.auth-intro,
.notice-box,
.admin-card,
.content-card {
  padding: 24px;
}

#roles.content-card,
#training.content-card,
#salary.content-card,
#progress.content-card,
#access.content-card {
  padding: 24px;
}

.hero-panel {
  border-radius: 28px;
  display: grid;
  gap: 16px;
  align-content: start;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.24), transparent 35%),
    linear-gradient(180deg, var(--glass-strong), var(--glass));
}

.panel-label {
  margin: 0;
  font-weight: 800;
}

.stat-line {
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.stat-line:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.primary-button,
.secondary-button,
.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  border: 1px solid transparent;
  cursor: pointer;
}

.primary-button {
  background: linear-gradient(135deg, var(--button-1), var(--button-2));
  color: var(--button-text);
  box-shadow: 0 14px 28px rgba(126, 191, 47, 0.28);
}

.secondary-button,
.back-link {
  color: var(--text);
}

.primary-button:hover,
.secondary-button:hover,
.profile-button:hover,
.icon-button:hover,
.feature-card:hover,
input:focus,
select:focus {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 16px 32px rgba(104, 155, 42, 0.2);
}

.hub,
.content-stack,
.admin-layout {
  margin-top: 28px;
}

.section-head {
  margin-bottom: 12px;
}

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

.feature-card {
  padding: 22px;
  border-radius: 28px;
  text-align: left;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  min-height: 170px;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: auto -30% -40% auto;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: rgba(193, 255, 126, 0.36);
  transition: transform 0.3s ease;
}

html.touch-device .feature-card::after {
  display: none;
}

.feature-card:hover::after {
  transform: scale(1.2);
}

.feature-card span {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  font-weight: 800;
}

.feature-card strong,
.section-head h3 {
  display: block;
  font-size: 1.2rem;
  overflow-wrap: anywhere;
}

#roles .section-head h3,
#training .section-head h3,
#salary .section-head h3,
#progress .section-head h3,
#access .section-head h3 {
  font-size: 1.2rem;
}

.content-stack,
.admin-layout {
  display: grid;
  gap: 20px;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 10px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.steps-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
}

.pill-row {
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
}

.pill {
  padding: 8px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.72);
  font-weight: 700;
  max-width: min(100%, 160px);
  overflow-wrap: anywhere;
  line-height: 1.2;
  font-size: 0.8rem;
}

.activity-list {
  display: grid;
  gap: 12px;
}

.user-admin-actions {
  display: grid;
  gap: 8px;
}

.user-role-actions {
  display: grid;
  gap: 8px;
}

.mini-input {
  min-height: 40px;
  padding: 10px 12px;
  border-radius: 14px;
}

.mini-button {
  min-height: 40px;
  padding: 10px 14px;
}

.mini-button.danger {
  background: linear-gradient(135deg, #8d2d2d, #c45c5c);
  color: #fff;
}

.owner-locked {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(86, 140, 53, 0.18);
  border: 1px solid rgba(86, 140, 53, 0.22);
  font-weight: 800;
}

.divider-line {
  height: 1px;
  margin: 8px 0;
  background: rgba(255, 255, 255, 0.2);
}

.activity-item {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.activity-item strong,
.activity-item span {
  display: block;
  overflow-wrap: anywhere;
}

.auth-shell {
  display: grid;
  gap: 18px;
}

.auth-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.2fr;
  gap: 20px;
  align-items: start;
}

.auth-forms {
  display: grid;
  gap: 20px;
}

.auth-tabs {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 8px;
  border-radius: 22px;
}

.auth-tab {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 14px 18px;
  border-radius: 16px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.auth-tab.active {
  background: rgba(255, 255, 255, 0.74);
  color: var(--text);
}

.auth-card.auth-pane {
  display: none;
}

.auth-card.auth-pane.active {
  display: grid;
}

.auth-card {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
}

input,
select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(130, 180, 73, 0.22);
  background: var(--surface-strong);
  font: inherit;
  color: var(--text);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.notice-box {
  min-height: 62px;
  display: none;
}

.notice-box.visible {
  display: block;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 9;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(21, 48, 0, 0.22);
}

.modal.hidden {
  display: none;
}

.modal-card {
  width: min(560px, 100%);
  padding: 26px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.24), transparent 30%),
    linear-gradient(180deg, var(--glass-strong), var(--glass));
}

.modal-head,
.toggle-row {
  justify-content: space-between;
  gap: 16px;
}

.toggle-row {
  align-items: center;
  grid-template-columns: 1fr auto auto;
}

.toggle-switch {
  position: relative;
  width: 62px;
  height: 34px;
  display: inline-flex;
  flex: 0 0 auto;
}

.toggle-switch input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}

.toggle-slider {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: rgba(157, 76, 76, 0.22);
  border: 1px solid rgba(255, 120, 120, 0.35);
  transition: background 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.toggle-slider::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f3fff0, #b7f55f);
  box-shadow: 0 8px 20px rgba(86, 140, 53, 0.28);
  transition: transform 0.25s ease;
}

.toggle-switch input:checked + .toggle-slider {
  background: rgba(120, 220, 160, 0.3);
  border-color: rgba(120, 220, 160, 0.55);
}

.toggle-switch input:checked + .toggle-slider::after {
  transform: translateX(28px);
}

.toggle-state {
  min-width: 42px;
  text-align: right;
  font-size: 0.92rem;
}

.toggle-state[data-state="on"] {
  color: #b7f55f;
}

.toggle-state[data-state="off"] {
  color: #ff9f9f;
}

.profile-info,
.settings-box {
  display: grid;
  gap: 14px;
}

.info-row {
  padding: 16px 18px;
  border-radius: 20px;
  background: var(--surface-strong);
  border: 1px solid rgba(255, 255, 255, 0.55);
  font-size: 1.03rem;
}

.full-width {
  width: 100%;
}

.role-select {
  min-width: 170px;
}

.settings-title {
  margin: 2px 0 12px;
  font-weight: 800;
}

.theme-section {
  padding: 16px;
  border-radius: 22px;
  background: var(--surface-soft);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

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

.theme-chip {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: var(--surface-strong);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.theme-chip.active {
  border-color: rgba(112, 196, 255, 0.65);
  box-shadow: 0 10px 24px rgba(58, 118, 175, 0.18);
}

.theme-preview {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.theme-lime {
  background: linear-gradient(135deg, #f8fff1, #c8f977);
}

.theme-dark {
  background: linear-gradient(135deg, #0f1418, #314859);
}

.theme-ocean {
  background: linear-gradient(135deg, #0f2334, #27a7cf);
}

.theme-forest {
  background: linear-gradient(135deg, #102118, #2d9a59);
}

.theme-frost {
  background: linear-gradient(135deg, #ffffff, #8cc8ff);
}

.bridge-grid,
.bridge-command-form {
  display: grid;
  gap: 14px;
}

.bridge-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 16px;
}

.bridge-status {
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--surface-soft);
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.console-box {
  min-height: 280px;
  margin-top: 16px;
  margin-bottom: 16px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(10, 18, 12, 0.9);
  color: #bbf5c9;
  font-family: Consolas, "Courier New", monospace;
  white-space: pre-wrap;
  overflow: auto;
  border: 1px solid rgba(167, 255, 132, 0.15);
}

.bridge-command-form {
  grid-template-columns: 1fr auto;
}

.site-footer {
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: 24px;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--surface-soft);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
}

.footer-copy {
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 700;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 920px) {
  .bridge-grid,
  .bridge-command-form,
  .hero,
  .auth-layout,
  .auth-forms,
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 14px, 100%);
    padding: 12px 0 28px;
  }

  .topbar {
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-radius: 24px;
  }

  .topbar-left,
  .topbar-right,
  .hero-actions {
    flex-wrap: wrap;
  }

  .topbar-right > * {
    flex: 1 1 auto;
  }

  .brand-block,
  .compact-brand {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .site-logo {
    width: 48px;
  }

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

  .hero {
    padding: 18px;
    gap: 16px;
    border-radius: 24px;
  }

  .hero-title {
    font-size: 1.7rem;
  }

  .hero-text,
  .plain-text {
    font-size: 0.95rem;
  }

  .hero-panel,
  .auth-card,
  .auth-intro,
  .content-card,
  .admin-card,
  .notice-box {
    padding: 18px;
    border-radius: 22px;
  }

  .auth-layout {
    grid-template-columns: 1fr;
  }

  .auth-intro {
    width: 100%;
  }

  .auth-forms {
    width: 100%;
    display: grid;
    gap: 14px;
  }

  .auth-card {
    width: min(100%, 420px);
    justify-self: center;
  }

  #roles.content-card,
  #training.content-card,
  #salary.content-card,
  #progress.content-card,
  #access.content-card {
    padding: 18px;
  }

  .feature-grid,
  .content-stack,
  .admin-layout,
  .hub {
    margin-top: 18px;
  }

  .feature-card {
    min-height: 0;
    padding: 18px;
    border-radius: 22px;
  }

  .feature-card strong,
  .section-head h3 {
    font-size: 1.05rem;
  }

  .auth-tabs {
    width: 100%;
    padding: 6px;
    border-radius: 18px;
  }

  .auth-tab {
    padding: 12px 10px;
    font-size: 0.95rem;
  }

  input,
  select,
  .primary-button,
  .secondary-button,
  .profile-button,
  .back-link {
    min-height: 48px;
    padding: 12px 14px;
    font-size: 0.95rem;
  }

  .modal {
    padding: 10px;
  }

  .modal-card {
    width: 100%;
    padding: 18px;
    border-radius: 24px;
  }

  .info-row {
    padding: 14px;
    border-radius: 16px;
    font-size: 0.95rem;
  }

  .console-box {
    min-height: 220px;
    padding: 12px;
    font-size: 0.82rem;
  }

  .pill-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .pill {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    text-align: center;
    font-size: 0.78rem;
    padding: 8px 10px;
  }

  .site-footer {
    margin-top: 18px;
    padding: 16px;
    border-radius: 20px;
  }

  .footer-links {
    gap: 10px;
  }

  .footer-button {
    width: 100%;
  }

  .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .table-wrap table {
    min-width: 560px;
  }

  #progressTable {
    min-width: 680px;
  }

  .table-wrap table {
    min-width: 520px;
  }

  #progressTable {
    min-width: 620px;
  }

  .pill-row::-webkit-scrollbar,
  .table-wrap::-webkit-scrollbar {
    height: 4px;
  }

  th,
  td {
    padding: 10px 8px;
    font-size: 0.9rem;
  }
}

@media (max-width: 920px) {
  body::before,
  body::after {
    display: none;
  }

  body {
    background: linear-gradient(180deg, var(--bg-1), var(--bg-2) 55%, var(--bg-1) 100%);
  }

  .hero,
  .content-card,
  .auth-card,
  .auth-intro,
  .modal-card,
  .admin-card {
    border-radius: 24px;
  }
}
