:root {
  --frame-width: 1540px;
  --header-height: 58px;
  --navy: #002a5c;
  --ink: #061b38;
  --teal: #008a7b;
  --teal-dark: #006f66;
  --mint: #eef8f7;
  --line: #d9e3e7;
  --panel: #f1f8f7;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  overflow-y: scroll;
  color: var(--ink);
  font-family: "Inter", "Segoe UI", Tahoma, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.45;
  background: #f7f7f6;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

.site-shell {
  width: min(calc(100% - 14px), var(--frame-width));
  margin: 7px auto;
  overflow: hidden;
  border: 1px solid #aeb8bd;
  background: var(--white);
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 218px;
  border: 0;
  padding: 0;
  color: var(--navy);
  text-align: left;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.05;
  font-family: "Inter", "Segoe UI", Tahoma, Arial, sans-serif;
  background: transparent;
  text-decoration: none;
}

.brand:hover {
  opacity: 0.9;
}

.brand svg {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
}

.brand small {
  display: block;
  font-size: 14px;
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  min-height: var(--header-height);
  padding: 8px clamp(34px, 4.5vw, 62px);
  border-bottom: 1px solid #e1e6e9;
  background: #fff;
}

.topbar.training {
  padding: 8px clamp(26px, 3vw, 46px);
  color: #fff;
  border-bottom: 0;
  background: var(--navy);
}

.topbar.training .brand,
.topbar.training .nav-link,
.topbar.training .protected {
  color: #fff;
}

.topbar.training .brand {
  min-width: 188px;
  font-size: 12px;
}

.topbar.training .brand svg {
  width: 34px;
  height: 34px;
}

.topbar.training .brand small {
  font-size: 11px;
}

.nav {
  display: flex;
  align-items: stretch;
  gap: clamp(22px, 3vw, 42px);
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav-link {
  min-width: max-content;
  border: 0;
  border-bottom: 3px solid transparent;
  padding: 13px 0 9px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
  background: transparent;
  text-decoration: none;
}

.nav-link.active {
  border-color: currentColor;
}

.protected {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: max-content;
  color: var(--navy);
  font-size: 13px;
}

.protected::before {
  display: none;
  content: "";
  position: absolute;
  left: auto;
  right: calc(100% + 8px);
  top: 50%;
  transform: translateY(-28%);
  width: 12px;
  height: 11px;
  border-radius: 2px;
  background: currentColor;
}

.protected::after {
  display: none;
  content: "";
  position: absolute;
  left: auto;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-92%);
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.profile-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.profile-link::before {
  content: "";
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 36%, currentColor 0 3px, transparent 3.5px),
    radial-gradient(circle at 50% 82%, currentColor 0 6px, transparent 6.5px);
}

.page {
  display: none;
}

.page.active {
  display: block;
}

.hero {
  display: grid;
  grid-template-columns: 54% 46%;
  height: clamp(450px, 37vw, 560px);
  background: #fff;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 48px 0 48px clamp(58px, 6vw, 98px);
}

.hero h1 {
  max-width: 520px;
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(46px, 4.2vw, 64px);
  line-height: 1.04;
  letter-spacing: 0;
  font-weight: 900;
  font-family: "Inter", "Segoe UI", Tahoma, Arial, sans-serif;
}

.hero p {
  max-width: 405px;
  margin: 0 0 28px;
  color: #102b53;
  font-size: clamp(22px, 1.85vw, 28px);
  line-height: 1.35;
}

.hero-image {
  min-height: 100%;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.4) 32%, rgba(255,255,255,0) 66%),
    url("https://images.unsplash.com/photo-1584515933487-779824d29309?auto=format&fit=crop&w=1300&q=80") center / cover;
}

.value-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  min-height: clamp(160px, 13vw, 186px);
  gap: clamp(48px, 6vw, 82px);
  padding: 28px clamp(58px, 6vw, 96px);
  color: #fff;
  background: var(--navy);
}

.value-item {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 18px;
  align-items: center;
}

.value-icon,
.value-icon svg {
  width: 58px;
  height: 58px;
}

.value-icon {
  display: grid;
  place-items: center;
}

.value-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.35;
}

.value-item strong {
  display: block;
  margin-bottom: 2px;
  font-size: 15px;
  font-weight: 900;
}

.value-item span {
  font-size: 14px;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 154px;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 0 22px;
  color: #fff;
  background: var(--teal);
  font-size: 14px;
  font-weight: 800;
  font-family: "Inter", "Segoe UI", Tahoma, Arial, sans-serif;
  text-decoration: none;
}

.btn:hover {
  background: var(--teal-dark);
}

.btn.secondary {
  min-width: 126px;
  min-height: 38px;
  color: var(--navy);
  border-color: #c7d2d8;
  background: #fff;
}

.btn.ghost {
  color: #fff;
  border-color: rgba(255,255,255,0.72);
  background: transparent;
}

.content {
  width: calc(100% - clamp(34px, 4vw, 64px));
  margin: 0 auto;
  padding: clamp(22px, 2.4vw, 34px) 0 clamp(22px, 2.6vw, 34px);
}

.content.training-layout {
  width: calc(100% - clamp(18px, 2vw, 34px));
}

.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  min-height: 540px;
}

.welcome-profile-row {
  display: grid;
  grid-template-columns: minmax(0, 500px) minmax(300px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.profile-card {
  display: grid;
  gap: 16px;
  min-height: 132px;
  border: 1px solid #d8ece9;
  border-radius: 7px;
  padding: 20px;
  background: var(--mint);
}

.profile-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.profile-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  font-size: 20px;
  font-weight: 900;
}

.profile-card h3 {
  margin: 0 0 4px;
  font-size: 22px;
}

.profile-card p {
  margin: 0;
  color: #29465d;
  font-size: 13px;
  font-weight: 700;
}

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

.profile-details strong {
  display: block;
  margin-bottom: 3px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
}

.profile-details span {
  display: block;
  color: #29465d;
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.profile-actions {
  display: flex;
  justify-content: flex-end;
  align-self: end;
}

.profile-actions .btn {
  min-width: 118px;
  min-height: 32px;
  padding: 7px 12px;
  font-size: 12px;
}

.eyebrow {
  margin: 0 0 3px;
  color: var(--teal);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h2 {
  margin: 0 0 15px;
  color: var(--navy);
  font-size: 31px;
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 900;
  font-family: "Inter", "Segoe UI", Tahoma, Arial, sans-serif;
}

h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 900;
  font-family: "Inter", "Segoe UI", Tahoma, Arial, sans-serif;
}

.intro-copy {
  max-width: 500px;
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
}

.pathway {
  display: flex;
  align-items: start;
  gap: 22px;
  margin: 24px 0 42px;
  padding: 6px 0 10px;
}

.path-step {
  position: relative;
  display: grid;
  flex: 1 1 0;
  justify-items: center;
  gap: 7px;
  min-width: 0;
  border: 0;
  padding: 0;
  color: var(--navy);
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.1;
  background: transparent;
  text-decoration: none;
}

.path-progress {
  display: block;
  margin-top: -2px;
  color: #526679;
  font-size: 11px;
  font-weight: 900;
}

.path-step:not(:last-child)::after {
  content: "\2192";
  position: absolute;
  top: 20px;
  right: -20px;
  color: var(--navy);
  font-size: 30px;
  font-weight: 400;
}

.path-badge {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  font-size: 26px;
  line-height: 1;
}

.path-badge svg {
  width: 35px;
  height: 35px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.hint-box,
.notice,
.reflection {
  border: 0;
  border-radius: 7px;
  background: var(--mint);
}

.hint-box {
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 12px;
  min-height: 152px;
  padding: 26px 30px;
}

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

.welcome-widgets .hint-box {
  min-height: 188px;
  align-content: start;
  padding: 24px 22px;
}

.overview-actions {
  display: flex;
  justify-content: center;
  padding: 10px 0 30px;
}

.overview-start {
  min-width: 230px;
}

.hint-box::before {
  content: "\2606";
  color: var(--navy);
  font-size: 28px;
  line-height: 1;
}

.hint-box h3,
.hint-box ul {
  grid-column: 2;
}

.hint-list,
.focus-list,
.completion-list {
  margin: 8px 0 0;
  padding-left: 0;
  list-style: none;
}

.hint-list li,
.focus-list li,
.completion-list li {
  position: relative;
  margin-bottom: 6px;
  padding-left: 24px;
}

.hint-list li::before,
.focus-list li::before,
.completion-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0.05em;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  color: #fff;
  background: #5ecdb5;
  font-size: 11px;
  font-weight: 900;
}

.training-layout {
  display: grid;
  grid-template-columns: clamp(205px, 15vw, 245px) minmax(0, 1fr);
  gap: clamp(18px, 1.9vw, 30px);
}

.training-layout.no-sidebar {
  display: block;
}

.side-nav {
  padding: 0 14px 0 0;
  border-right: 1px solid var(--line);
}

.side-nav h3 {
  margin-bottom: 16px;
  font-size: 14px;
}

.side-link {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 9px;
  align-items: center;
  width: 100%;
  min-height: 44px;
  margin-bottom: 8px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 6px 8px;
  color: var(--ink);
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.16;
  background: transparent;
}

.side-link.active {
  border-color: #d8ece9;
  background: var(--mint);
  font-weight: 900;
}

.side-number {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid #8fa4b1;
  border-radius: 50%;
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
}

.side-link.active .side-number {
  color: #fff;
  border-color: var(--teal);
  background: var(--teal);
}

.progress-box {
  margin-top: 24px;
  padding: 14px;
  border-radius: 6px;
  background: #f1f7f8;
  font-size: 13px;
  font-weight: 800;
}

.progress-track {
  height: 8px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 99px;
  background: #d5e0e5;
}

.progress-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--teal);
}

.module-main {
  min-width: 0;
}

.module-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(230px, 19vw, 300px);
  gap: clamp(18px, 2vw, 30px);
  align-items: stretch;
}

.training-layout:not(.no-sidebar) .module-grid {
  grid-template-columns: minmax(0, 1fr) clamp(230px, 19vw, 300px);
  gap: clamp(18px, 2vw, 30px);
}

.video-card {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: #101820;
  box-shadow: none;
}

.video-frame {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.module-image-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.module-empty-media {
  display: grid;
  place-items: center;
  min-height: 260px;
  color: #dbeafe;
  font-weight: 900;
  text-align: center;
}

.video-progress-panel {
  display: grid;
  gap: 8px;
  margin: 18px 0 22px;
}

.video-progress-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

.video-progress-copy span {
  color: #30536d;
  font-weight: 800;
}

.video-progress-track {
  overflow: hidden;
  height: 8px;
  border-radius: 999px;
  background: #d4e7e5;
}

.video-progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--teal);
  transition: width 0.2s ease;
}

.video-poster {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  color: #fff;
  background-position: center;
  background-size: cover;
}

.play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(255,255,255,0.96);
  transform: translate(-50%, -50%);
}

.play-button::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 6px;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 23px solid var(--ink);
}

.video-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 14px;
  color: #fff;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.55));
  font-size: 12px;
  font-weight: 700;
}

.control-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid currentColor;
}

.control-spacer {
  flex: 1;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.info-panel {
  min-height: 100%;
  border-radius: 7px;
  padding: clamp(20px, 1.8vw, 28px);
  background: var(--panel);
  font-size: 14px;
}

.info-panel strong {
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 900;
}

.meta-row {
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 700;
}

.module-content {
  width: 100%;
  margin: clamp(32px, 4vw, 52px) 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: clamp(26px, 3.1vw, 42px);
  background: #002A5C;
  box-shadow: 0 18px 40px rgba(0, 42, 92, 0.16);
}

.module-content h3 {
  margin: 0 0 22px;
  color: #ffffff;
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 900;
  line-height: 1.18;
}

.module-content h4 {
  margin: 28px 0 10px;
  color: #ffffff;
  font-size: clamp(17px, 1.45vw, 20px);
  font-weight: 900;
  line-height: 1.25;
}

.module-content h4:first-of-type {
  margin-top: 0;
}

.module-content p {
  max-width: 82ch;
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 650;
  line-height: 1.72;
}

.module-content strong {
  color: #ffffff;
}

.module-content ul {
  display: grid;
  gap: 10px;
  max-width: 82ch;
  margin: 12px 0 22px;
  padding-left: 22px;
  color: #ffffff;
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 700;
  line-height: 1.55;
}

.module-content li::marker {
  color: #9be4dc;
}

.notice {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  width: calc(100% - 84px);
  margin: 0 auto 26px;
  padding: 18px 22px;
  font-size: 15px;
}

.notice-icon,
.reflection-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--teal);
  border-radius: 50%;
  color: var(--teal);
  font-size: 15px;
  font-weight: 900;
}

.reflection {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 58px;
  margin: 28px 0 20px;
  padding: 11px 12px;
}

.reflection > div {
  min-width: 0;
}

.reflection strong {
  display: block;
  margin-bottom: 2px;
  font-size: 14px;
  font-weight: 900;
}

.reflection p {
  margin: 0;
  font-size: 14px;
}

.reflection-list {
  display: grid;
  gap: 8px;
  margin: 10px 0 12px;
}

.reflection-item {
  display: grid;
  gap: 3px;
  padding: 8px 10px;
  border: 1px solid #d7e7ea;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
}

.reflection-item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
}

.reflection-item strong {
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
}

.reflection-item span {
  color: #5a6f7a;
  font-size: 11px;
  font-weight: 700;
}

.reflection textarea {
  display: block;
  width: 100%;
  min-height: 74px;
  margin-top: 9px;
  border: 1px solid #b8cbd5;
  border-radius: 5px;
  padding: 9px;
  resize: vertical;
}

.reflection-challenge {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.reflection-challenge input {
  width: 76px;
  max-width: 76px;
  border: 1px solid #b8cbd5;
  border-radius: 5px;
  padding: 5px 7px;
}

.reflection .btn {
  min-width: 132px;
  min-height: 36px;
  font-size: 13px;
  grid-column: 2;
  justify-self: start;
  margin-top: 4px;
}

.button-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.intro-button-row {
  margin-top: 28px;
  padding-bottom: 26px;
}

.button-row .btn:not(.secondary) {
  min-width: 220px;
}

.complete-grid {
  display: grid;
  grid-template-columns: 53% 47%;
  min-height: clamp(534px, 47vw, 620px);
}

.complete-panel {
  padding: clamp(48px, 5vw, 70px) clamp(50px, 5vw, 72px);
  color: #fff;
  background: var(--navy);
}

.complete-panel h2 {
  margin-bottom: 26px;
  color: #fff;
  font-size: 34px;
  font-weight: 900;
}

.complete-panel p {
  max-width: 430px;
  margin: 0 0 18px;
  font-size: 15px;
}

.checkmark {
  display: grid;
  place-items: center;
  float: left;
  width: 62px;
  height: 62px;
  margin: -2px 20px 18px 0;
  border: 2px solid rgba(255,255,255,0.9);
  border-radius: 50%;
  color: transparent;
  font-size: 0;
}

.checkmark::before {
  content: "\2713";
  color: #fff;
  font-size: 39px;
  line-height: 1;
}

.complete-actions {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.resource-panel {
  padding: clamp(38px, 4vw, 58px) clamp(52px, 5vw, 74px);
  background: #fff;
}

.resource-panel h2 {
  margin-bottom: 28px;
  font-size: 28px;
  font-weight: 900;
}

.resource-card {
  display: grid;
  grid-template-columns: 36px 1fr 30px;
  gap: 14px;
  align-items: center;
  min-height: 70px;
  margin-bottom: 16px;
  border: 0;
  border-radius: 5px;
  padding: 12px 16px;
  background: #f8f8f7;
  color: var(--ink);
  text-decoration: none;
}

.resource-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 29px;
  height: 36px;
  border: 2px solid #244260;
  border-radius: 2px;
  color: transparent;
  font-size: 0;
}

.resource-icon::before,
.resource-icon::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  height: 2px;
  background: #244260;
}

.resource-icon::before {
  top: 11px;
  box-shadow: 0 7px 0 #244260;
}

.resource-icon::after {
  top: 25px;
}

.resource-card strong {
  display: block;
  margin-bottom: 1px;
  font-size: 14px;
  font-weight: 900;
}

.resource-card div span {
  font-size: 14px;
}

.download {
  color: transparent;
  font-size: 0;
  text-align: center;
}

.download::before {
  content: "\2193";
  color: var(--navy);
  font-size: 28px;
}

.bot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.auth-page {
  min-height: 100vh;
  color: var(--ink);
  background: #ffffff;
}

.auth-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 12px clamp(28px, 6vw, 92px);
  border-bottom: 1px solid #d9e1e6;
  background: #ffffff;
}

.auth-topbar nav {
  display: flex;
  gap: 28px;
}

.auth-topbar a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.auth-shell {
  display: grid;
  place-items: start center;
  min-height: calc(100vh - 74px);
  padding: clamp(54px, 8vw, 92px) 18px;
}

.auth-panel {
  width: min(100%, 610px);
}

.auth-panel h1,
.register-panel h1 {
  margin: 0 0 42px;
  color: #27242d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5vw, 58px);
  font-weight: 600;
  text-align: center;
}

.auth-panel label {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
  font-weight: 900;
}

.auth-panel input,
.register-panel input {
  width: 100%;
  min-height: 54px;
  border: 1px solid #cfd6da;
  border-radius: 0;
  padding: 13px 14px;
  color: var(--ink);
  background: #ffffff;
  font-size: 18px;
}

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 8px 0 26px;
  color: #51545c;
  font-size: 14px;
}

.auth-check {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 8px !important;
  margin: 0 !important;
  font-weight: 700 !important;
}

.auth-check input {
  width: auto;
  min-height: auto;
}

.auth-button {
  min-width: 108px;
  min-height: 60px;
  border: 0;
  border-radius: 999px;
  padding: 16px 26px;
  color: #ffffff;
  background: #1f1d28;
  font-weight: 900;
  cursor: pointer;
}

.auth-switch {
  margin-top: 24px;
  color: #53616b;
  font-weight: 700;
}

.auth-admin-link {
  margin-top: 8px;
  color: #53616b;
  font-size: 14px;
  font-weight: 700;
}

.registration-confirmation {
  width: min(100%, 760px);
  margin: 0 auto;
  border: 1px solid #c9eee9;
  border-radius: 8px;
  padding: clamp(28px, 4vw, 46px);
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(0, 42, 92, 0.08);
}

.registration-confirmation h1 {
  margin-bottom: 18px;
  color: #002A5C;
  text-align: left;
}

.registration-confirmation p {
  max-width: 68ch;
  margin: 0 0 16px;
  color: #304653;
  font-size: 18px;
  line-height: 1.6;
}

.registration-confirmation .auth-button {
  display: inline-grid;
  place-items: center;
  margin-top: 10px;
  text-decoration: none;
}

.confirmation-lead {
  color: #006b5f !important;
  font-weight: 900;
}

.register-shell {
  background: #dff3fb;
}

.register-panel {
  width: min(100%, 980px);
  border-radius: 8px;
  padding: clamp(26px, 4vw, 42px);
}

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

.register-grid input[name="phone"] {
  grid-column: 1 / -1;
}

.interest-field {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 26px;
  margin: 34px 0 24px;
  border: 0;
  padding: 0;
}

.interest-field legend {
  grid-column: 1 / -1;
  margin-bottom: 8px;
  font-size: 26px;
  font-weight: 900;
}

.interest-field label,
.auth-challenge {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 900;
}

.interest-field input {
  width: 24px;
  min-height: 24px;
}

.auth-challenge {
  margin-bottom: 28px;
  font-size: 18px;
}

.auth-challenge input {
  width: 92px;
  min-height: 44px;
}

.admin-shell {
  width: min(calc(100% - 32px), 1280px);
  margin: 24px auto;
  color: var(--ink);
}

.admin-login {
  display: grid;
  min-height: calc(100vh - 48px);
  place-items: center;
  gap: 18px;
}

.admin-login-note {
  margin: -2px 0 18px;
  color: #53616b;
  font-weight: 800;
}

.admin-login-logo {
  opacity: 0.9;
}

.admin-login-logo .brand {
  justify-content: center;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  padding: 22px 26px;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
}

.admin-header h1,
.admin-card h1,
.admin-card h2 {
  margin: 0 0 8px;
  font-weight: 900;
  font-family: "Inter", "Segoe UI", Tahoma, Arial, sans-serif;
}

.admin-header p {
  margin: 0;
}

.admin-header nav,
.admin-actions,
.admin-two {
  display: flex;
  gap: 12px;
}

.admin-card {
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 22px;
  align-items: start;
}

.admin-stack {
  display: grid;
  gap: 18px;
  align-content: start;
}

.admin-accent-module-form {
  border-top: 4px solid #0f766e;
  background: linear-gradient(180deg, #f8fdfc 0%, #ffffff 56%);
}

.admin-accent-modules {
  border-top: 4px solid #1d4ed8;
  background: linear-gradient(180deg, #fbfcff 0%, #ffffff 56%);
}

.admin-accent-reflections {
  border-top: 4px solid #7c3aed;
  background: linear-gradient(180deg, #fbfaff 0%, #ffffff 56%);
}

.admin-accent-reflection-editor {
  border-top: 4px solid #d97706;
  background: linear-gradient(180deg, #fffaf2 0%, #ffffff 56%);
}

.admin-accent-resources {
  border-top: 4px solid #0ea5a3;
  background: linear-gradient(180deg, #f6fefe 0%, #ffffff 56%);
}

.admin-card.admin-accent-resources {
  padding: 0;
}

.admin-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
}

.admin-accordion summary::-webkit-details-marker {
  display: none;
}

.admin-accordion summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #b9deda;
  border-radius: 50%;
  color: #0f766e;
  background: #ffffff;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.admin-accordion[open] summary::after {
  content: "-";
}

.admin-accordion summary strong {
  display: block;
  color: #0f766e;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.1;
}

.admin-accordion summary small {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}

.admin-accordion-body {
  padding: 0 18px 16px;
}

.admin-accent-admins {
  border-top: 4px solid #002A5C;
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 56%);
}

.admin-accent-users {
  border-top: 4px solid #008777;
  background: linear-gradient(180deg, #f4fffd 0%, #ffffff 56%);
}

.admin-accent-site-content {
  border-top: 4px solid #0f766e;
  background: linear-gradient(180deg, #f8fdfc 0%, #ffffff 56%);
}

.admin-accent-module-form h2,
.admin-accent-module-form label,
.admin-accent-module-form .admin-check,
.admin-accent-module-form .btn,
.admin-accent-module-form strong,
.admin-accent-module-form p,
.admin-accent-module-form span {
  color: #0f3f3c;
}

.admin-accent-modules h2 {
  color: #1d4ed8;
}

.admin-accent-reflections h2,
.admin-accent-reflection-editor h2 {
  color: #7c3aed;
}

.admin-accent-resources h2 {
  color: #0f766e;
  font-size: 24px;
  line-height: 1.1;
}

.admin-accent-resources > p {
  margin: 0 0 14px;
  font-size: 14px;
}

.admin-accent-admins h2 {
  color: #002A5C;
}

.admin-accent-users h2 {
  color: #008777;
}

.admin-accent-site-content h2 {
  color: #0f766e;
}

.admin-accent-modules .admin-row {
  border-color: #d7e2ff;
  background: #f8fbff;
}

.admin-accent-reflections .admin-row {
  border-color: #e6dbff;
  background: #fbf8ff;
}

.reflection-module-groups {
  display: grid;
  gap: 10px;
}

.reflection-module-group {
  overflow: hidden;
  border: 1px solid #decfff;
  border-radius: 8px;
  background: #ffffff;
}

.reflection-module-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 58px;
  padding: 10px 12px;
  cursor: pointer;
  list-style: none;
  color: #32125d;
  background: #f5f0ff;
}

.reflection-module-group summary::-webkit-details-marker {
  display: none;
}

.reflection-module-group summary strong,
.reflection-module-group summary small {
  display: block;
}

.reflection-module-group summary strong {
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
}

.reflection-module-group summary small {
  margin-top: 2px;
  color: #6b5b87;
  font-size: 12px;
  font-weight: 800;
}

.reflection-count {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 5px 10px;
  color: #ffffff;
  background: #7c3aed;
  font-size: 12px;
  font-weight: 900;
}

.reflection-count::after {
  content: "+";
  font-size: 15px;
  line-height: 1;
}

.reflection-module-group[open] .reflection-count::after {
  content: "-";
}

.reflection-module-items {
  display: grid;
  gap: 10px;
  max-height: 360px;
  overflow-y: auto;
  padding: 10px 12px 12px;
}

.reflection-admin-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid #eadfff;
  border-radius: 7px;
  padding: 12px;
  background: #fbf8ff;
}

.reflection-admin-entry p {
  margin: 6px 0 0;
  color: #263f5d;
  font-size: 14px;
  line-height: 1.45;
}

.reflection-admin-entry form {
  margin: 0;
}

.reflection-admin-module {
  display: inline-block;
  border-radius: 999px;
  padding: 4px 9px;
  color: #32125d;
  background: #ede4ff;
  font-size: 12px;
  font-weight: 900;
}

.reflection-admin-date {
  display: block;
  margin-top: 6px;
  color: #6a7586;
  font-size: 12px;
  font-weight: 700;
}

.admin-empty {
  margin: 0;
  border: 1px dashed #decfff;
  border-radius: 7px;
  padding: 14px;
  color: #5a4d74;
  background: #fbf8ff;
  font-weight: 800;
}

.admin-accent-resources .admin-row {
  border-color: #c9f1ef;
  background: #f7fefc;
}

.admin-accent-admins .admin-row {
  border-color: #c9d8ed;
  background: #f8fbff;
}

.admin-accent-users .admin-row {
  border-color: #c9eee9;
  background: #f7fffd;
}

.status-pill {
  display: inline-block !important;
  margin: 0 0 0 8px !important;
  border-radius: 999px;
  padding: 3px 8px;
  color: #002A5C !important;
  background: #dff3fb;
  font-size: 11px;
  text-transform: uppercase;
}

.admin-form label,
.admin-login label {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
  font-weight: 900;
}

.admin-form input,
.admin-form textarea,
.admin-form select,
.admin-login input {
  width: 100%;
  border: 1px solid #bac9d0;
  border-radius: 5px;
  padding: 10px 11px;
  color: var(--ink);
  background: #fff;
}

.admin-form textarea {
  resize: vertical;
}

.admin-editor {
  gap: 8px;
}

.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.editor-toolbar button {
  min-height: 32px;
  border: 1px solid #b7c8d2;
  border-radius: 5px;
  padding: 6px 10px;
  color: #0f3f3c;
  background: #ffffff;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.editor-toolbar button:hover {
  border-color: #0f766e;
  background: #ecfdf5;
}

[data-content-editor] {
  min-height: 250px;
  font-family: "Inter", "Segoe UI", Tahoma, Arial, sans-serif;
  line-height: 1.5;
}

.admin-form select {
  background: #fff;
}

.admin-check {
  align-content: end;
  grid-template-columns: 20px 1fr !important;
}

.admin-check input {
  width: auto;
}

.admin-two {
  align-items: start;
}

.admin-two > * {
  flex: 1;
}

.admin-widget-editor {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 12px 0 16px;
}

.admin-widget-editor section {
  border: 1px solid #c9eee9;
  border-radius: 7px;
  padding: 14px;
  background: #f7fffd;
}

.admin-widget-editor h3 {
  margin-bottom: 12px;
  color: #0f766e;
  font-size: 16px;
}

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

.admin-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid #e1e8eb;
  border-radius: 7px;
  padding: 14px;
  background: #f8fbfb;
}

.admin-resource {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 10px;
  padding: 12px;
}

.admin-resource .admin-two {
  align-items: end;
  gap: 10px;
}

.admin-resource .admin-actions {
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
}

.admin-resource .btn {
  min-width: 132px;
  min-height: 42px;
  padding: 10px 16px;
  font-size: 14px;
}

.admin-resource-form {
  display: grid;
  gap: 8px;
}

.admin-resource-delete {
  align-items: center;
  justify-content: flex-end;
  align-self: end;
  padding-bottom: 1px;
}

.admin-resource label {
  margin-bottom: 0;
  font-size: 13px;
}

.admin-resource input[type="file"] {
  padding: 5px 0;
  font-size: 13px;
}

.admin-row span,
.admin-row p {
  display: block;
  margin: 4px 0 0;
  color: #41556a;
  font-size: 14px;
}

.admin-row form {
  margin: 0;
}

.admin-progress-row {
  align-items: stretch;
}

.admin-progress-track {
  overflow: hidden;
  height: 10px;
  max-width: 420px;
  margin-top: 10px;
  border-radius: 999px;
  background: #d4e7e5;
}

.admin-progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--teal);
}

.admin-success,
.admin-alert {
  border-radius: 6px;
  padding: 12px 14px;
  font-weight: 800;
}

.admin-success {
  color: #065f46;
  background: #ecfdf5;
}

.admin-alert {
  color: #8a1f11;
  background: #fff2ef;
}

.danger {
  color: #8a1f11 !important;
}

@media (max-width: 1100px) {
  .topbar.training {
    gap: 14px;
  }

  .topbar.training .brand {
    min-width: 170px;
  }

  .nav {
    gap: 20px;
  }

  .value-strip {
    gap: 32px;
  }

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

  .welcome-profile-row,
  .profile-card {
    grid-template-columns: 1fr;
  }

  .side-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 18px;
  }

  .side-nav h3,
  .progress-box {
    grid-column: 1 / -1;
  }

  .progress-box {
    margin-top: 8px;
  }
}

@media (max-width: 900px) {
  .site-shell {
    width: min(calc(100% - 14px), var(--frame-width));
    margin: 0 auto;
    border-width: 0;
  }

  .topbar,
  .topbar.training {
    padding-inline: 18px;
  }

  .hero,
  .training-layout,
  .module-grid,
  .training-layout:not(.no-sidebar) .module-grid,
  .complete-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    height: auto;
  }

  .hero-copy {
    padding: 34px 20px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-image {
    min-height: 320px;
    order: -1;
  }

  .value-strip {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 28px 24px;
  }

  .pathway {
    display: grid;
    gap: 24px;
    justify-items: center;
    text-align: center;
  }

  .path-step {
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: center;
    text-align: center;
    width: min(100%, 340px);
    margin-inline: auto;
    gap: 8px;
    font-size: 13px;
    font-weight: 900;
  }

  .path-step:not(:last-child)::after {
    display: none;
  }

  .side-nav {
    display: block;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 18px;
  }

  .notice {
    width: 100%;
  }

  .admin-grid,
  .admin-row,
  .reflection-admin-entry,
  .admin-widget-editor,
  .profile-details {
    grid-template-columns: 1fr;
  }

  .reflection-module-group summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-header,
  .admin-two {
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .auth-topbar,
  .auth-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .auth-panel h1,
  .register-panel h1 {
    margin-bottom: 28px;
    text-align: left;
  }

  .register-grid,
  .interest-field {
    grid-template-columns: 1fr;
  }

  .interest-field label {
    font-size: 19px;
  }

  .topbar,
  .topbar.training {
    align-items: flex-start;
    flex-direction: row;
    justify-content: space-between;
    height: auto;
    min-height: var(--header-height);
    gap: 10px;
  }

  .nav {
    order: 3;
    width: 100%;
    gap: 18px;
  }

  .topbar.training .nav {
    display: none;
  }

  .protected {
    align-self: flex-start;
    display: flex;
    gap: 10px;
    padding-left: 0;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
  }

  .protected::before,
  .protected::after {
    display: none;
  }

  .profile-link,
  .account-link {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
  }

  .profile-link::before {
    width: 17px;
    height: 17px;
    border-width: 2px;
  }

.account-link::before {
    display: none;
  }

  .content {
    width: calc(100% - 20px);
    padding-top: 18px;
  }

  .overview-grid {
    gap: 16px;
  }

  .hero-copy,
  .content {
    text-align: center;
  }

  .hero-copy {
    align-items: center;
  }

  .hero p,
  .intro-copy {
    max-width: 100%;
  }

  .intro-copy {
    font-size: 16px;
    line-height: 1.48;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 22px;
  }

  .pathway {
    justify-items: center;
    margin-inline: auto;
  }

  .welcome-widgets {
    grid-template-columns: 1fr;
  }

  .path-step {
    grid-template-columns: 1fr;
    gap: 8px;
    width: min(100%, 310px);
    margin-inline: auto;
    justify-items: center;
    text-align: center;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.18;
  }

  .path-badge {
    width: 62px;
    height: 62px;
    font-size: 26px;
  }

  .path-badge svg {
    width: 34px;
    height: 34px;
  }

  .path-progress {
    font-size: 13px;
    font-weight: 900;
  }

  .hint-box {
    padding: 22px 18px;
    text-align: center;
  }

  .hint-box::before {
    justify-self: center;
    font-size: 24px;
  }

  .hint-box h3,
  .hint-box ul {
    grid-column: 1 / -1;
  }

  .hint-list {
    display: grid;
    gap: 8px;
    justify-items: center;
  }

  .hint-list li {
    width: fit-content;
    max-width: 100%;
    text-align: left;
    font-size: 15px;
    font-weight: 700;
  }

  .reflection {
    grid-template-columns: 30px minmax(0, 1fr);
    justify-items: stretch;
    text-align: left;
  }

  .reflection-challenge {
    gap: 3px;
    font-size: 12px;
  }

  .reflection .btn {
    margin-top: 6px;
  }

  .reflection p,
  .reflection-challenge {
    text-align: left;
  }

  .reflection > div {
    justify-self: stretch;
  }

  .reflection-list {
    margin: 12px 0 14px;
  }

  .reflection-item {
    padding: 8px 9px;
  }

  .reflection-challenge input {
    width: 64px;
    max-width: 64px;
    padding: 4px 6px;
  }

  .info-panel,
  .complete-panel,
  .resource-panel {
    text-align: left;
  }

  .module-main h2,
  .module-main .eyebrow {
    text-align: center;
  }

  .module-grid {
    gap: 18px;
  }

  .button-row {
    flex-direction: column;
  }

  .button-row .btn,
  .button-row .btn:not(.secondary) {
    width: 100%;
  }
}
