:root {
  --ge-blue: #245ca8;
  --ge-blue-dark: #123a70;
  --ge-yellow: #f7c600;
  --ge-navy: #0b1e33;
  --ge-black: #121212;
  --ge-white: #ffffff;
  --ge-bg: #f4f7fb;
  --ge-card: #ffffff;
  --ge-border: #d9e2ef;
  --ge-muted: #667085;
  --ge-success: #16803c;
  --ge-warning: #b77900;
  --ge-danger: #b42318;
  --ge-info: #155eef;
  --shadow: 0 12px 30px rgba(11, 30, 51, 0.08);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ge-navy);
  background: var(--ge-bg);
  font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.shell { min-height: 100vh; display: flex; flex-direction: column; }
.header {
  background: linear-gradient(135deg, var(--ge-blue-dark), var(--ge-blue));
  color: var(--ge-white);
  border-bottom: 5px solid var(--ge-yellow);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}
.brand { display: flex; gap: 12px; align-items: center; }
.logo-mark {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--ge-yellow);
  color: var(--ge-blue-dark);
  font-weight: 900;
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.4);
}
.brand h1 { font-size: 18px; margin: 0; letter-spacing: .04em; text-transform: uppercase; }
.brand p { margin: 2px 0 0; opacity: .9; font-size: 13px; }
.nav { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.nav a {
  color: white; padding: 9px 11px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22); font-size: 13px;
}
.nav a:hover { background: rgba(255,255,255,.12); }
.main { flex: 1; width: 100%; max-width: 1180px; margin: 0 auto; padding: 28px 22px 48px; }
.footer { background: var(--ge-navy); color: white; }
.footer-inner { max-width: 1180px; margin: 0 auto; padding: 18px 22px; font-size: 13px; color: rgba(255,255,255,.75); }

.hero {
  background: radial-gradient(circle at 85% 15%, rgba(247,198,0,.28), transparent 24%), linear-gradient(135deg, #102d55, #245ca8);
  color: white; border-radius: 28px; padding: 36px; box-shadow: var(--shadow); overflow: hidden; position: relative;
}
.hero h2 { margin: 0 0 10px; font-size: clamp(30px, 5vw, 56px); line-height: 1; }
.hero p { max-width: 760px; color: rgba(255,255,255,.88); font-size: 17px; line-height: 1.6; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: var(--ge-card); border: 1px solid var(--ge-border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 8px; font-size: 20px; }
.card p { color: var(--ge-muted); line-height: 1.55; }
.kicker { color: var(--ge-yellow); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; }
.btn {
  border: 0; border-radius: 999px; padding: 12px 18px; font-weight: 800; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary { background: var(--ge-yellow); color: var(--ge-blue-dark); }
.btn-blue { background: var(--ge-blue); color: white; }
.btn-soft { background: #e9f1fb; color: var(--ge-blue-dark); }
.btn-danger { background: #fee4e2; color: var(--ge-danger); }
.status {
  display: inline-flex; align-items: center; border-radius: 999px; padding: 6px 10px; font-size: 12px; font-weight: 800;
}
.status.completed { background: #e7f6ed; color: var(--ge-success); }
.status.progress { background: #e8f1ff; color: var(--ge-info); }
.status.pending { background: #fff6d6; color: var(--ge-warning); }
.status.correction { background: #fee4e2; color: var(--ge-danger); }
.status.locked { background: #eef2f6; color: #475467; }
.progress-wrap { width: 100%; height: 14px; background: #e7edf6; border-radius: 999px; overflow: hidden; }
.progress-bar { height: 100%; background: linear-gradient(90deg, var(--ge-yellow), #ffd84a); border-radius: 999px; }
.task-card {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--ge-border);
  border-radius: 16px;
  padding: 18px 20px;
  background: white;
}
.task-card + .task-card { margin-top: 12px; }
.task-card-content {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  flex: 1;
}
.task-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.task-badges {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.task-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--ge-muted);
  padding: 4px;
}
.task-card-clickable {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1),
              background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.task-card-clickable:hover {
  border-color: var(--ge-blue);
  background-color: #fafbfc;
  box-shadow: 0 8px 24px rgba(11, 30, 51, 0.06);
  transform: translateY(-2px);
}
.task-card-clickable:active {
  transform: translateY(0);
  background-color: #f4f6f9;
}
.task-card-clickable:focus-visible {
  outline: 3px solid var(--ge-yellow);
  outline-offset: 2px;
}
.chevron-icon {
  transition: transform 0.2s ease, color 0.2s ease;
}
.task-card-clickable:hover .chevron-icon {
  color: var(--ge-blue);
  transform: translateX(4px);
}
.task-card-locked {
  opacity: 0.6;
  background: #fafbfc;
  cursor: not-allowed;
}
.task-icon { width: 42px; height: 42px; border-radius: 12px; background: #e9f1fb; display: grid; place-items: center; color: var(--ge-blue); flex: 0 0 auto; }
.task-title { margin: 0 0 4px; font-weight: 900; }
.task-meta { margin: 0; color: var(--ge-muted); font-size: 14px; line-height: 1.45; }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 800; font-size: 14px; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--ge-border); border-radius: 12px; padding: 12px 13px; background: white; color: var(--ge-navy);
}
.field textarea { min-height: 100px; resize: vertical; }
.notice { border-left: 5px solid var(--ge-yellow); background: #fff9df; padding: 14px 16px; border-radius: 12px; color: #513f00; }
.page-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.page-title h2 { margin: 0; font-size: 34px; }
.page-title p { margin: 8px 0 0; color: var(--ge-muted); max-width: 760px; line-height: 1.5; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 14px 10px; border-bottom: 1px solid var(--ge-border); vertical-align: top; }
.table th { font-size: 12px; text-transform: uppercase; color: var(--ge-muted); letter-spacing: .06em; }
.video-box { aspect-ratio: 16/9; border-radius: 18px; background: linear-gradient(135deg, #071b32, #245ca8); color: white; display: grid; place-items: center; text-align: center; padding: 20px; }
.dropzone { border: 2px dashed #adc1da; border-radius: 18px; padding: 28px; background: #f8fbff; text-align: center; }
.summary-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--ge-border); }
@media (max-width: 800px) {
  .header-inner, .page-title { flex-direction: column; }
  .nav { justify-content: flex-start; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .hero { padding: 26px; border-radius: 20px; }
  .module-meta-row { flex-direction: column; }
  .module-content .video-box { aspect-ratio: 4/3; }
}

/* ────────────────────────────────────────────────────────
   Training Modules — Step Timeline
   ──────────────────────────────────────────────────────── */

.module-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.module-card {
  display: flex;
  gap: 20px;
  padding: 22px 24px;
  background: var(--ge-card);
  border: 1px solid var(--ge-border);
  border-radius: var(--radius);
  margin-bottom: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
}
.module-card + .module-card {
  margin-top: -1px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.module-card:not(:last-child) {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.module-card:first-child {
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
}
.module-card:last-child {
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
}

.module-active {
  border-color: var(--ge-blue);
  box-shadow: 0 0 0 2px rgba(36, 92, 168, 0.12), var(--shadow);
  z-index: 1;
}

.module-complete {
  background: #f8fdf9;
}

.module-locked {
  opacity: 0.7;
  background: #fafbfc;
}

.module-body {
  flex: 1;
  min-width: 0;
}

.module-header {
  margin-bottom: 16px;
}

.module-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.module-title {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 8px;
}

.module-desc {
  margin: 6px 0 0;
  color: var(--ge-muted);
  font-size: 14px;
  line-height: 1.5;
}

.module-version {
  font-size: 12px;
  color: var(--ge-muted);
  white-space: nowrap;
}

.lock-inline {
  color: var(--ge-muted);
  flex-shrink: 0;
}

/* Step indicators (left column) */
.step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 36px;
  padding-top: 2px;
}

.step-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 14px;
  flex-shrink: 0;
}

.step-complete {
  background: var(--ge-success);
  color: white;
}

.step-active {
  background: var(--ge-blue);
  color: white;
  box-shadow: 0 0 0 4px rgba(36, 92, 168, 0.18);
}

.step-locked {
  background: #e7edf6;
  color: #8898aa;
}

.step-line {
  width: 2px;
  flex: 1;
  min-height: 20px;
  background: #d9e2ef;
  margin-top: 6px;
}

.step-line-complete {
  background: var(--ge-success);
}

/* Video & progress inside active modules */
.module-content .video-box {
  aspect-ratio: 16/9;
  border-radius: 14px;
  margin-bottom: 16px;
  font-size: 14px;
}

.module-meta-row {
  display: flex;
  gap: 24px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.module-progress-section {
  flex: 1;
  min-width: 180px;
}

.module-progress-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--ge-muted);
}

/* Quiz result badge */
.quiz-result {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.quiz-result-label {
  font-size: 12px;
  color: var(--ge-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 800;
}

.quiz-score {
  font-size: 20px;
  font-weight: 900;
  padding: 4px 14px;
  border-radius: 12px;
}

.quiz-pass {
  color: var(--ge-success);
  background: #e7f6ed;
}

.quiz-fail {
  color: var(--ge-danger);
  background: #fee4e2;
}

/* Locked message */
.module-locked-msg {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #f4f6f9;
  border-radius: 12px;
  color: #667085;
  font-size: 14px;
  line-height: 1.4;
}

/* Actions bar */
.module-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.module-quiz-note {
  font-size: 12px;
  color: var(--ge-muted);
}

/* ────────────────────────────────────────────────────────
   Policy Documents — Acknowledgement
   ──────────────────────────────────────────────────────── */

.policy-embed-placeholder {
  border: 2px dashed #c5d3e5;
  border-radius: 14px;
  padding: 32px;
  text-align: center;
  background: #f8fbff;
  margin-bottom: 16px;
}

.policy-embed-placeholder p {
  margin: 8px 0 0;
  color: var(--ge-muted);
  font-size: 14px;
}

.policy-acknowledge {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  background: #fff9df;
  border-left: 5px solid var(--ge-yellow);
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
  margin-bottom: 14px;
}

.policy-acknowledge input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--ge-blue);
  flex-shrink: 0;
}

.policy-action-area {
  margin-top: 4px;
}

/* ────────────────────────────────────────────────────────
   Section Labels
   ──────────────────────────────────────────────────────── */

.training-section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 16px;
  margin-bottom: 14px;
  color: var(--ge-navy);
}

.training-section-label .task-meta {
  margin-left: auto;
}

.training-progress-summary {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.training-progress-count {
  font-size: 28px;
  font-weight: 900;
  color: var(--ge-blue);
  line-height: 1;
}

