:root {
  color-scheme: dark;
  --portal-bg: #07090d;
  --portal-panel: #10151c;
  --portal-panel-2: #161d26;
  --portal-line: #293341;
  --portal-text: #f1f4f7;
  --portal-muted: #8f9bab;
  --portal-blue: #3182f6;
  --portal-yellow: #f2bd33;
  --portal-red: #ef6969;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(49, 130, 246, .10), transparent 34rem),
    radial-gradient(circle at 90% 10%, rgba(242, 189, 51, .06), transparent 32rem),
    var(--portal-bg);
  color: var(--portal-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button, input, select, textarea { font: inherit; }
a { color: inherit; }

.eyebrow {
  color: var(--portal-yellow);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
}

.button {
  min-height: 42px;
  padding: 10px 15px;
  color: var(--portal-text);
  border: 1px solid var(--portal-line);
  border-radius: 9px;
  background: #141a22;
  cursor: pointer;
  font-weight: 750;
  letter-spacing: .04em;
}

.button:hover { filter: brightness(1.09); }
.button-primary { background: #1458b8; border-color: #236fd9; }
.button-ghost { background: transparent; }
.button-small { min-height: 36px; padding: 7px 11px; font-size: 11px; }
.button-full { width: 100%; }

.auth-page { display: grid; min-height: 100vh; place-items: center; padding: 22px; }
.auth-shell { width: min(100%, 440px); }
.auth-card {
  position: relative;
  overflow: hidden;
  padding: 38px;
  border: 1px solid var(--portal-line);
  border-radius: 18px;
  background: rgba(16, 21, 28, .95);
  box-shadow: 0 25px 80px rgba(0, 0, 0, .32);
}

.auth-card::after {
  position: absolute;
  top: -100px;
  right: -120px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(255,255,255,.04);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(255,255,255,.02), 0 0 0 58px rgba(255,255,255,.015);
  content: "";
  pointer-events: none;
}

.brand-mark {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  place-items: center;
  border: 1px solid #36506d;
  border-radius: 15px;
  background: #0a0f15;
}

.brand-lens {
  width: 25px;
  height: 25px;
  border: 6px solid var(--portal-yellow);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px #0a0f15;
}

.auth-card h1, .portal-header h1 {
  margin: 6px 0 0;
  font-size: clamp(30px, 6vw, 44px);
  line-height: 1;
  letter-spacing: -.035em;
}
.auth-copy { margin: 13px 0 27px; color: var(--portal-muted); line-height: 1.6; }
.auth-form { display: grid; gap: 16px; }
.auth-form label { display: grid; gap: 8px; }
.auth-form label > span { color: #c6d0da; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.auth-form input {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  color: var(--portal-text);
  border: 1px solid var(--portal-line);
  border-radius: 9px;
  outline: none;
  background: #0a0f15;
}
.auth-form input:focus { border-color: #3c79c7; box-shadow: 0 0 0 3px rgba(49,130,246,.10); }
.auth-foot { margin-top: 24px; color: #687586; font-size: 10px; text-align: center; letter-spacing: .08em; }
.alert { margin-bottom: 18px; padding: 11px 13px; border-radius: 9px; font-size: 13px; line-height: 1.5; }
.alert-error { color: #ffd8d8; border: 1px solid rgba(239,105,105,.35); background: rgba(239,105,105,.09); }

.portal-shell { width: min(1280px, calc(100% - 36px)); margin: 0 auto; padding: 28px 0 60px; }
.portal-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.user-actions { display: flex; align-items: center; gap: 10px; }
.user-chip { display: flex; align-items: center; gap: 8px; color: #cbd4de; font-size: 12px; }
.user-dot { width: 7px; height: 7px; border-radius: 50%; background: #45c97a; box-shadow: 0 0 0 4px rgba(69,201,122,.08); }

.hero-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
  margin-top: 38px;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--portal-line);
  border-radius: 18px;
  background: linear-gradient(135deg, #111823 0%, #0c1118 52%, #0b0f14 100%);
}
.hero-kicker { color: #6eafff; font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.hero-panel h2 { margin: 12px 0; font-size: clamp(34px, 6vw, 68px); line-height: .97; letter-spacing: -.055em; }
.hero-panel h2 span { color: #768596; }
.hero-panel p { max-width: 680px; margin: 18px 0 0; color: var(--portal-muted); font-size: 15px; line-height: 1.7; }
.hero-meter { display: flex; gap: 6px; align-items: end; height: 100px; }
.hero-meter span { display: block; width: 10px; border-radius: 8px; background: #23303f; }
.hero-meter span:nth-child(1) { height: 28%; }
.hero-meter span:nth-child(2) { height: 46%; }
.hero-meter span:nth-child(3) { height: 68%; background: #365575; }
.hero-meter span:nth-child(4) { height: 88%; background: var(--portal-yellow); }
.hero-meter span:nth-child(5) { height: 58%; background: #6a5820; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 38px 0 14px; }
.section-heading h3 { margin: 6px 0 0; font-size: 23px; }
.module-count { color: #657383; font-size: 10px; font-weight: 750; letter-spacing: .12em; }
.module-grid { display: grid; grid-template-columns: minmax(0, 620px); gap: 18px; }
.module-card { overflow: hidden; color: inherit; border: 1px solid var(--portal-line); border-radius: 16px; background: var(--portal-panel); text-decoration: none; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.module-card:hover { transform: translateY(-3px); border-color: #425267; background: #121922; }
.module-visual { padding: 22px; background: radial-gradient(circle at 70% 20%, rgba(49,130,246,.15), transparent 45%), #080c11; }
.camera-frame { position: relative; height: 210px; overflow: hidden; border: 1px solid #24303f; border-radius: 10px; background: linear-gradient(150deg, #111926, #0a0e13 62%); }
.camera-frame::after { position: absolute; inset: 18% 20%; border: 1px solid rgba(242,189,51,.24); border-radius: 50%; content: ""; box-shadow: 0 0 0 28px rgba(242,189,51,.025), 0 0 0 60px rgba(242,189,51,.018); }
.rec-dot { position: absolute; top: 14px; left: 14px; z-index: 2; width: 8px; height: 8px; border-radius: 50%; background: #ef6969; }
.frame-corner { position: absolute; z-index: 2; width: 24px; height: 24px; border-color: rgba(255,255,255,.52); }
.corner-a { top: 20px; left: 20px; border-top: 1px solid; border-left: 1px solid; }
.corner-b { top: 20px; right: 20px; border-top: 1px solid; border-right: 1px solid; }
.corner-c { bottom: 20px; left: 20px; border-bottom: 1px solid; border-left: 1px solid; }
.corner-d { right: 20px; bottom: 20px; border-right: 1px solid; border-bottom: 1px solid; }
.exposure-lines { position: absolute; right: 18px; bottom: 20px; z-index: 2; display: flex; gap: 4px; align-items: end; }
.exposure-lines i { display: block; width: 5px; border-radius: 4px; background: #627184; }
.exposure-lines i:nth-child(1){height:15px}.exposure-lines i:nth-child(2){height:27px}.exposure-lines i:nth-child(3){height:40px;background:var(--portal-yellow)}.exposure-lines i:nth-child(4){height:31px}.exposure-lines i:nth-child(5){height:19px}
.module-body { padding: 22px; }
.module-meta { display: flex; gap: 7px; flex-wrap: wrap; }
.module-meta span { padding: 5px 7px; color: #8e9aaa; border: 1px solid #283342; border-radius: 6px; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.module-body h4 { margin: 16px 0 8px; font-size: 29px; letter-spacing: -.03em; }
.module-body p { max-width: 520px; margin: 0; color: var(--portal-muted); font-size: 13px; line-height: 1.65; }
.module-launch { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; padding-top: 17px; color: #dfe7ef; border-top: 1px solid #242e3a; font-size: 11px; font-weight: 850; letter-spacing: .1em; }
.module-launch span { color: var(--portal-yellow); font-size: 21px; }

.sim-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 18px;
  color: #9ca8b7;
  border-bottom: 1px solid #222b36;
  background: #090d12;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .10em;
}
.sim-back { width: max-content; text-decoration: none; }
.sim-back:hover { color: #fff; }
.sim-nav-title span { color: var(--portal-yellow); }
.sim-user { justify-self: end; color: #d1d9e2; }

@media (max-width: 720px) {
  .auth-card { padding: 28px 22px; }
  .portal-header { align-items: flex-start; }
  .user-chip { display: none; }
  .hero-panel { grid-template-columns: 1fr; }
  .hero-meter { display: none; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .module-grid { grid-template-columns: 1fr; }
  .camera-frame { height: 170px; }
  .sim-nav { grid-template-columns: 1fr auto; }
  .sim-nav-title { display: none; }
}


/* V7.1 — NDC Videographer roles & trainer management */
.role-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 7px;
  color: #dbe8f8;
  border: 1px solid #35506f;
  border-radius: 999px;
  background: #0d1722;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .12em;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.stat-card {
  display: grid;
  gap: 5px;
  min-height: 112px;
  padding: 20px;
  border: 1px solid var(--portal-line);
  border-radius: 14px;
  background: rgba(16, 21, 28, .88);
}

.stat-card span {
  color: #778596;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .14em;
}

.stat-card strong {
  font-size: 34px;
  line-height: 1;
  letter-spacing: -.04em;
}

.stat-card small { color: var(--portal-muted); }

.module-grid-wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 100%;
}

.management-visual {
  display: grid;
  height: 254px;
  place-items: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(49,130,246,.16), transparent 42%),
    #080c11;
}

.people-stack {
  display: flex;
  align-items: end;
  gap: 12px;
}

.people-stack i {
  position: relative;
  display: block;
  width: 58px;
  height: 82px;
  border: 1px solid #33455a;
  border-radius: 28px 28px 14px 14px;
  background: #111923;
}

.people-stack i::before {
  position: absolute;
  top: -29px;
  left: 50%;
  width: 40px;
  height: 40px;
  border: 1px solid #3d5570;
  border-radius: 50%;
  background: #111923;
  content: "";
  transform: translateX(-50%);
}

.people-stack i:nth-child(2) {
  width: 68px;
  height: 96px;
  border-color: #6b5721;
  background: #19170f;
}

.people-stack i:nth-child(2)::before {
  border-color: #8e7122;
  background: #19170f;
}

.back-link {
  display: inline-block;
  margin-bottom: 16px;
  color: #778596;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
  text-decoration: none;
}

.back-link:hover { color: #fff; }

.management-intro {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  margin-top: 34px;
  padding: 30px;
  border: 1px solid var(--portal-line);
  border-radius: 16px;
  background: linear-gradient(135deg, #111823, #0b0f14);
}

.management-intro h2 {
  margin: 8px 0 10px;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1;
  letter-spacing: -.045em;
}

.management-intro p {
  max-width: 720px;
  margin: 0;
  color: var(--portal-muted);
  line-height: 1.7;
}

.management-summary {
  display: grid;
  grid-template-columns: auto auto;
  gap: 4px 12px;
  align-items: baseline;
  min-width: 190px;
  padding: 18px;
  border: 1px solid #273444;
  border-radius: 12px;
  background: #0a0f15;
}

.management-summary strong {
  color: var(--portal-yellow);
  font-size: 28px;
}

.management-summary span {
  color: #8794a3;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}

.alert-success {
  color: #d8ffe5;
  border: 1px solid rgba(69,201,122,.35);
  background: rgba(69,201,122,.09);
}

.management-panel {
  margin-top: 22px;
  padding: 24px;
  border: 1px solid var(--portal-line);
  border-radius: 16px;
  background: var(--portal-panel);
}

.management-panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.management-panel-head h3 {
  margin: 6px 0 0;
  font-size: 24px;
}

.trainer-form,
.trainer-form-grid {
  display: grid;
  gap: 12px;
}

.trainer-form-create {
  grid-template-columns: 1.15fr 1fr 1fr auto;
  align-items: end;
}

.trainer-form-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trainer-form label,
.trainer-form-grid label {
  display: grid;
  gap: 7px;
}

.trainer-form label > span,
.trainer-form-grid label > span {
  color: #98a5b4;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .11em;
}

.trainer-form input,
.trainer-form select,
.trainer-form-grid input,
.trainer-form-grid select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--portal-text);
  border: 1px solid var(--portal-line);
  border-radius: 9px;
  outline: none;
  background: #0a0f15;
}

.trainer-form input:focus,
.trainer-form select:focus,
.trainer-form-grid input:focus,
.trainer-form-grid select:focus {
  border-color: #3c79c7;
  box-shadow: 0 0 0 3px rgba(49,130,246,.10);
}

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

.trainer-card {
  padding: 20px;
  border: 1px solid var(--portal-line);
  border-radius: 14px;
  background: rgba(16,21,28,.92);
}

.trainer-card-head,
.trainer-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.trainer-card-head { margin-bottom: 18px; }

.trainer-card-head > div {
  display: grid;
  gap: 4px;
}

.trainer-card-head strong { font-size: 18px; }
.trainer-card-head span { color: #798696; font-size: 11px; }

.status-pill {
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 8px !important;
  font-weight: 900;
  letter-spacing: .12em;
}

.status-active {
  color: #bdf8d0 !important;
  border: 1px solid rgba(69,201,122,.35);
  background: rgba(69,201,122,.09);
}

.status-inactive {
  color: #ffc8c8 !important;
  border: 1px solid rgba(239,105,105,.35);
  background: rgba(239,105,105,.08);
}

.trainer-card-foot {
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px solid #222c38;
}

.trainer-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: #667485;
  font-size: 9px;
  letter-spacing: .04em;
}

.empty-state {
  padding: 28px;
  color: var(--portal-muted);
  border: 1px dashed #354254;
  border-radius: 14px;
  text-align: center;
}

@media (max-width: 920px) {
  .module-grid-wide,
  .admin-stats,
  .trainer-form-create,
  .trainer-form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trainer-form-create .button { min-height: 44px; }
}

@media (max-width: 640px) {
  .module-grid-wide,
  .admin-stats,
  .trainer-form-create,
  .trainer-form-grid,
  .management-intro {
    grid-template-columns: 1fr;
  }

  .management-summary { width: 100%; }
  .trainer-card-head,
  .trainer-card-foot {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* V7.2 + V7.3 — Workshop system and trainer stations */
.admin-stats-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.text-link {
  color: #9bbbe2;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
  text-decoration: none;
}

.workshop-visual,
.station-preview-visual {
  display: grid;
  min-height: 254px;
  place-items: center;
  background: radial-gradient(circle at 50% 35%, rgba(242,189,51,.12), transparent 42%), #080c11;
}

.workshop-visual > span {
  color: #7f8d9d;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .2em;
}

.workshop-visual-grid {
  display: grid;
  grid-template-columns: repeat(3, 54px);
  gap: 10px;
}

.workshop-visual-grid i {
  height: 54px;
  border: 1px solid #38485b;
  border-radius: 12px;
  background: #111821;
}

.workshop-visual-grid i:nth-child(2),
.workshop-visual-grid i:nth-child(5) {
  border-color: #756120;
  background: #19170f;
}

.station-preview-visual {
  grid-template-columns: repeat(3, auto);
  gap: 12px;
  align-content: center;
}

.station-preview-visual span {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border: 1px solid #34455a;
  border-radius: 14px;
  background: #101720;
  font-size: 22px;
  font-weight: 900;
}

.workshop-create-form,
.workshop-detail-form,
.stack-form,
.bulk-participant-form {
  display: grid;
  gap: 12px;
}

.workshop-create-form {
  grid-template-columns: 1.5fr .75fr .65fr 1fr auto;
  align-items: end;
}

.workshop-detail-form {
  grid-template-columns: 1.5fr .8fr .65fr 1fr .75fr;
}

.workshop-detail-form .form-span { grid-column: 1 / -1; }

.workshop-create-form label,
.workshop-detail-form label,
.stack-form label,
.assignment-controls label {
  display: grid;
  gap: 7px;
}

.workshop-create-form label > span,
.workshop-detail-form label > span,
.stack-form label > span,
.assignment-controls label > span {
  color: #98a5b4;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .11em;
}

.workshop-create-form input,
.workshop-detail-form input,
.workshop-detail-form select,
.workshop-detail-form textarea,
.stack-form input,
.stack-form select,
.stack-form textarea,
.assignment-controls input,
.assignment-controls select,
.bulk-participant-form textarea,
.participant-row input,
.participant-row select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--portal-text);
  border: 1px solid var(--portal-line);
  border-radius: 9px;
  outline: none;
  background: #0a0f15;
}

.workshop-detail-form textarea,
.stack-form textarea,
.bulk-participant-form textarea { resize: vertical; }

.workshop-list,
.assignment-list,
.participant-list,
.participant-queue {
  display: grid;
  gap: 12px;
}

.workshop-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 20px;
  border: 1px solid var(--portal-line);
  border-radius: 14px;
  background: rgba(16,21,28,.92);
  text-decoration: none;
}

.workshop-card:hover { border-color: #425267; }

.workshop-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.workshop-card-title h3 { margin: 0; font-size: 22px; }

.workshop-meta,
.workshop-overview-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
  color: #778596;
  font-size: 10px;
}

.workshop-card-stats {
  display: flex;
  align-items: center;
  gap: 20px;
}

.workshop-card-stats > div {
  display: grid;
  gap: 3px;
  min-width: 72px;
}

.workshop-card-stats strong { font-size: 24px; }
.workshop-card-stats span { color: #788596; font-size: 9px; }
.workshop-open { color: var(--portal-yellow) !important; font-weight: 900; letter-spacing: .1em; }

.workshop-status-active {
  color: #bdf8d0 !important;
  border: 1px solid rgba(69,201,122,.35);
  background: rgba(69,201,122,.09);
}

.workshop-status-draft {
  color: #ffe7a0 !important;
  border: 1px solid rgba(242,189,51,.35);
  background: rgba(242,189,51,.08);
}

.workshop-status-completed {
  color: #b8c4d0 !important;
  border: 1px solid #3a4654;
  background: #141a21;
}

.workshop-overview,
.station-hero,
.active-participant-card,
.training-context-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--portal-line);
  border-radius: 16px;
  background: linear-gradient(135deg, #111823, #0b0f14);
}

.workshop-overview { margin-top: 30px; }

.workshop-mini-stats {
  display: flex;
  gap: 22px;
}

.workshop-mini-stats > div,
.station-participant-count {
  display: grid;
  gap: 3px;
  min-width: 88px;
  text-align: right;
}

.workshop-mini-stats strong,
.station-participant-count strong { font-size: 30px; }
.workshop-mini-stats span,
.station-participant-count span { color: #778596; font-size: 9px; text-transform: uppercase; }

.setup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.setup-panel { margin-top: 0; }

.assignment-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--portal-line);
  border-radius: 14px;
  background: rgba(16,21,28,.92);
}

.assignment-number,
.queue-number {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #37485d;
  border-radius: 12px;
  background: #0a0f15;
  color: var(--portal-yellow);
  font-weight: 900;
}

.assignment-main { display: grid; gap: 14px; }
.assignment-title { display: grid; gap: 5px; }
.assignment-title strong { font-size: 19px; }
.assignment-title span { color: var(--portal-muted); font-size: 12px; }

.assignment-controls {
  display: grid;
  grid-template-columns: 1.4fr .45fr .65fr auto;
  gap: 10px;
  align-items: end;
}

.bulk-participant-form textarea { min-height: 150px; }

.participant-row {
  display: grid;
  grid-template-columns: 52px minmax(180px, 1.5fr) minmax(130px, 1fr) 120px auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid #242f3b;
  border-radius: 12px;
  background: #0d1218;
}

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

.trainer-station-card {
  display: block;
  padding: 22px;
  border: 1px solid var(--portal-line);
  border-radius: 16px;
  background: linear-gradient(155deg, #111923, #0b0f14);
  text-decoration: none;
}

.trainer-station-card:hover {
  transform: translateY(-2px);
  border-color: #40536a;
}

.trainer-station-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.station-order {
  color: var(--portal-yellow);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .14em;
}

.trainer-station-card h3 {
  margin: 18px 0 8px;
  font-size: 27px;
}

.trainer-station-card p {
  min-height: 42px;
  color: var(--portal-muted);
  font-size: 12px;
  line-height: 1.6;
}

.trainer-workshop-info {
  display: grid;
  gap: 5px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid #27323f;
  border-radius: 10px;
  background: #0a0f15;
}

.trainer-workshop-info strong { font-size: 12px; }
.trainer-workshop-info span { color: #758394; font-size: 10px; }

.station-hero {
  margin-top: 30px;
  align-items: end;
}

.station-hero h2 {
  margin: 8px 0;
  font-size: clamp(32px, 5vw, 54px);
  letter-spacing: -.045em;
}

.station-hero p {
  max-width: 700px;
  color: var(--portal-muted);
}

.active-participant-card {
  margin-top: 16px;
  background: linear-gradient(135deg, rgba(49,130,246,.13), #0d141d);
}

.active-participant-card h3 { margin: 6px 0 0; font-size: 28px; }
.active-participant-card p { margin: 4px 0 0; color: var(--portal-muted); }

.active-participant-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.group-chips {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.group-chips span {
  padding: 5px 8px;
  border: 1px solid #334153;
  border-radius: 999px;
  color: #8e9bab;
  background: #0c1117;
  font-size: 9px;
  font-weight: 800;
}

.queue-card {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid #26313e;
  border-radius: 12px;
  background: #0d1218;
}

.queue-person {
  display: grid;
  gap: 4px;
}

.queue-person strong { font-size: 15px; }
.queue-person span { color: #738091; font-size: 10px; }

.training-context-bar {
  margin: 12px 18px 0;
  padding: 12px 16px;
  border-radius: 11px;
  background: linear-gradient(90deg, rgba(49,130,246,.16), rgba(242,189,51,.08));
}

.training-context-bar > div {
  display: grid;
  gap: 2px;
}

.training-context-bar span {
  color: #8291a2;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .13em;
}

.training-context-bar strong { font-size: 13px; }
.training-context-bar small { color: #8b99a9; }
.training-context-bar a {
  color: var(--portal-yellow);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .1em;
  text-decoration: none;
}

@media (max-width: 1050px) {
  .admin-stats-four,
  .trainer-station-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workshop-create-form { grid-template-columns: 1fr 1fr; }
  .workshop-detail-form { grid-template-columns: 1fr 1fr; }
  .assignment-controls { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .admin-stats-four,
  .trainer-station-grid,
  .setup-grid,
  .workshop-create-form,
  .workshop-detail-form {
    grid-template-columns: 1fr;
  }

  .workshop-detail-form .form-span { grid-column: auto; }
  .workshop-card,
  .workshop-overview,
  .station-hero,
  .active-participant-card,
  .training-context-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .workshop-card-stats,
  .workshop-mini-stats { width: 100%; justify-content: space-between; }
  .assignment-card { grid-template-columns: 1fr; }
  .assignment-controls { grid-template-columns: 1fr; }
  .participant-row { grid-template-columns: 44px 1fr; }
  .participant-row select,
  .participant-row button { grid-column: 2; }
  .queue-card { grid-template-columns: 44px 1fr; }
  .queue-card button { grid-column: 2; width: 100%; }
  .active-participant-actions { width: 100%; flex-wrap: wrap; }
}
