@charset "UTF-8";
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: #0B1220;
  background: #FBFBF8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: #0B1220;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}

h4 {
  font-size: 1.15rem;
}

h5 {
  font-size: 1rem;
}

p {
  margin: 0 0 1em;
}

a {
  color: #1B4F8C;
  text-decoration: none;
  transition: color 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
  color: #1BA0DB;
}

::selection {
  background: #1BA0DB;
  color: #FFFFFF;
}

.kicker {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #1F7A1B;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.kicker::before {
  content: '';
  width: 22px;
  height: 2px;
  background: #3AAA35;
}

.kicker--plain::before {
  display: none;
}

.kicker--blue {
  color: #1B4F8C;
}

.kicker--blue::before {
  background: #1BA0DB;
}

.kicker--light {
  color: #4FC74A;
}

.kicker--light::before {
  background: #4FC74A;
}

.section-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 1rem;
}

.section-row__num {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: #1F7A1B;
  font-weight: 700;
}

.section-row__title {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  letter-spacing: -0.02em;
  color: #0B1220;
  margin: 0;
}

.section-row__rule {
  flex-grow: 1;
  height: 1px;
  background: #DDE0E4;
}

.section-row__aside {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #4A5466;
}

@media (max-width: 768px) {
  .section-row__aside {
    display: none;
  }
}

.container-x {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.text-cyan {
  color: #1BA0DB !important;
}

.text-green {
  color: #4FC74A !important;
}

.text-mute {
  color: #4A5466 !important;
}

.bg-paper {
  background: #FBFBF8 !important;
}

.bg-soft {
  background: #EAF2FB !important;
}

.bg-navy {
  background: #0E2E55 !important;
  color: #FFFFFF;
}

.bg-ink {
  background: #0B1220 !important;
  color: #FFFFFF;
}

section {
  padding: 4rem 0;
}

.section-tight {
  padding: 2.5rem 0;
}

.section-wide {
  padding: 6rem 0;
}

@media (max-width: 768px) {
  section {
    padding: 3rem 0;
  }
  .section-wide {
    padding: 4rem 0;
  }
}

.btn-cm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  padding: 0.75rem 1.4rem;
  border-radius: 4px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 220ms cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.btn-cm i, .btn-cm svg {
  font-size: 0.85em;
  transition: transform 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-cm:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(11, 18, 32, 0.08);
}

.btn-cm:hover i, .btn-cm:hover svg {
  transform: translateX(2px);
}

.btn-cm:active {
  transform: translateY(0);
}

.btn-cm--primary {
  background: #3AAA35;
  color: #FFFFFF;
  border-color: #3AAA35;
}

.btn-cm--primary:hover {
  background: #1F7A1B;
  border-color: #1F7A1B;
  color: #FFFFFF;
}

.btn-cm--warning {
  background: #c2c211;
  color: #FFFFFF;
  border-color: #c2c211;
}

.btn-cm--warning:hover {
  background: #9a9a09;
  border-color: #9a9a09;
  color: #FFFFFF;
}

.btn-cm--secondary {
  background: #1B4F8C;
  color: #FFFFFF;
  border-color: #1B4F8C;
}

.btn-cm--secondary:hover {
  background: #0E2E55;
  border-color: #0E2E55;
  color: #FFFFFF;
}

.btn-cm--outline-light {
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-cm--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.btn-cm--outline {
  background: transparent;
  color: #0B1220;
  border-color: #0B1220;
}

.btn-cm--outline:hover {
  background: #0B1220;
  color: #FFFFFF;
}

.btn-cm--ghost {
  background: transparent;
  color: #1B4F8C;
  border-color: transparent;
  padding: 0.5rem 0;
}

.btn-cm--ghost:hover {
  background: transparent;
  color: #1BA0DB;
  transform: translateX(2px);
  box-shadow: none;
}

.btn-cm--lg {
  padding: 0.95rem 1.8rem;
  font-size: 0.95rem;
}

.btn-cm--sm {
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
}

.btn-cm--block {
  width: 100%;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 4px;
  font-weight: 600;
  background: #EAF2FB;
  color: #1B4F8C;
}

.tag--green {
  background: #ECF8EB;
  color: #1F7A1B;
}

.tag--cyan {
  background: rgba(27, 160, 219, 0.12);
  color: #1583B5;
}

.tag--ink {
  background: rgba(11, 18, 32, 0.08);
  color: #0B1220;
}

.tag--outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.cm-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #0E2E55;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cm-navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1.25rem;
  /* One row. It wrapped onto two once a mentor signed in and seven buttons
     appeared; the links shrink instead. */
  flex-wrap: nowrap;
}

.cm-navbar__actions {
  display: flex;
  align-items: center;
  /* A real gap, replacing the per-button inline margin-right this carried. */
  gap: 0.4rem;
  flex: 0 0 auto;
  flex-wrap: nowrap;
}

.cm-navbar__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.cm-navbar__logo img {
  height: 48px;
  width: auto;
  display: block;
}

.cm-navbar__links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
  /* Never shrink, never clip — letting these give way is what hid the back
     half of "Contact" behind the Dashboard button. When the header is tight
     it is the buttons that tighten. */
  flex-shrink: 0;
  white-space: nowrap;
}

.cm-navbar__links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 220ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.cm-navbar__links a:hover, .cm-navbar__links a.active {
  color: #FFFFFF;
}

.cm-navbar__links a.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 2px;
  background: #4FC74A;
}

@media (max-width: 992px) {
  .cm-navbar__links {
    display: none;
  }
  .cm-navbar__links.is-open {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: #0E2E55;
    padding: 1.5rem 1.5rem 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 768px) {
  .cm-navbar__cta {
    display: none;
  }
}

.cm-navbar__toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  padding: 0.5rem 0.7rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
}

@media (max-width: 992px) {
  .cm-navbar__toggle {
    display: inline-flex;
  }
}

.hero {
  position: relative;
  background: #0E2E55;
  color: #FFFFFF;
  padding: 4.5rem 0 5rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 380px;
  height: 380px;
  border: 2px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  top: 30px;
  right: 100px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, #3AAA35 0%, transparent 70%);
  opacity: 0.15;
  border-radius: 50%;
}

.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 992px) {
  .hero__content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.hero__headline {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: #FFFFFF;
  margin: 0.8rem 0 1.2rem;
}

.hero__headline em {
  font-style: italic;
  font-weight: 500;
  color: #4FC74A;
}

.hero__sub {
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  max-width: 540px;
  margin-bottom: 1.8rem;
}

.hero__cta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.hero__stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem 1.1rem;
  border-radius: 6px;
}

.hero__stat-num {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin-bottom: 0.3rem;
}

.hero__stat-num .unit {
  font-size: 0.7rem;
  color: #4FC74A;
  font-weight: 500;
  letter-spacing: 0;
}

.hero__stat-label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
}

.hero--compact {
  padding: 3.5rem 0 4rem;
}

.hero--compact .hero__content {
  grid-template-columns: 1fr;
  gap: 1rem;
}

.hero--compact .hero__headline {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 0.8rem;
}

.hero__badges {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.hero__badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.4rem 0.85rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #FFFFFF;
  border-radius: 100px;
}

.hero__badge--green {
  background: #3AAA35;
  border-color: #4FC74A;
  font-weight: 600;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

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

.pillar {
  position: relative;
  background: #FFFFFF;
  border: 1.5px solid #0B1220;
  border-radius: 4px;
  padding: 1.4rem 1.4rem 1.4rem;
  transition: transform 220ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

.pillar:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(11, 18, 32, 0.12);
}

.pillar--green-accent {
  background: linear-gradient(180deg, #FFFFFF 55%, #ECF8EB 100%);
}

.pillar__corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  background: #1B4F8C;
  color: #FFFFFF;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 4px 0 14px;
}

.pillar--green-accent .pillar__corner {
  background: #3AAA35;
}

.pillar__icon {
  width: 32px;
  height: 32px;
  color: #1B4F8C;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.pillar--green-accent .pillar__icon {
  color: #1F7A1B;
}

.pillar__label {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.015em;
  color: #0B1220;
  margin-bottom: 0.35rem;
}

.pillar__text {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #4A5466;
  margin: 0;
}

.course-card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid #DDE0E4;
  border-radius: 4px;
  padding: 1.4rem 1.3rem 1.3rem 1.5rem;
  position: relative;
  text-decoration: none;
  color: inherit;
  height: 100%;
  transition: all 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

.course-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #3AAA35;
  border-radius: 4px 0 0 4px;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(11, 18, 32, 0.12);
  border-color: #3AAA35;
}

.course-card:hover .course-card__title {
  color: #1B4F8C;
}

.course-card:hover .course-card__arrow {
  transform: translateX(4px);
  color: #1F7A1B;
}

.course-card__tag {
  display: inline-block;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: #1F7A1B;
  background: #ECF8EB;
  padding: 0.25rem 0.55rem;
  border-radius: 2px;
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  align-self: flex-start;
}

.course-card__icon {
  width: 44px;
  height: 44px;
  background: #ECF8EB;
  color: #1F7A1B;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 0.9rem;
}

.course-card__title {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.15;
  color: #0B1220;
  margin-bottom: 0.4rem;
  letter-spacing: -0.015em;
  transition: color 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

.course-card__text {
  font-size: 0.85rem;
  line-height: 1.55;
  color: #4A5466;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

.course-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid #ECEEF1;
}

.course-card__meta-info {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8A93A4;
}

.course-card__arrow {
  color: #3AAA35;
  font-size: 0.95rem;
  transition: transform 220ms cubic-bezier(0.4, 0, 0.2, 1), color 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

.course-card--free-tag .course-card__tag::before {
  content: '★ ';
  color: #3AAA35;
}

.course-card--it::after {
  background: #1B4F8C;
}

.course-card--it .course-card__icon {
  background: #EAF2FB;
  color: #1B4F8C;
}

.course-card--it .course-card__tag {
  background: #EAF2FB;
  color: #1B4F8C;
}

.course-card--it .course-card__arrow {
  color: #1B4F8C;
}

.course-card--it:hover {
  border-color: #1B4F8C;
}

.course-card--it:hover .course-card__arrow {
  color: #0E2E55;
}

.course-card__audience-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1583B5;
  background: rgba(27, 160, 219, 0.1);
  padding: 0.25rem 0.55rem;
  border-radius: 2px;
  font-weight: 600;
  margin-left: 0.4rem;
}

.brief-card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  height: 100%;
  border: 1px solid #DDE0E4;
  transition: all 220ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.brief-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(11, 18, 32, 0.12);
  border-color: #1BA0DB;
}

.brief-card:hover .brief-card__title {
  color: #1B4F8C;
}

.brief-card:hover .brief-card__arrow {
  transform: translateX(4px);
}

.brief-card__top {
  padding: 1.3rem 1.4rem 0.8rem;
  background: linear-gradient(135deg, #EAF2FB 0%, rgba(27, 160, 219, 0.06) 100%);
  border-bottom: 1px solid #ECEEF1;
  position: relative;
}

.brief-card--arts .brief-card__top {
  background: linear-gradient(135deg, rgba(27, 160, 219, 0.14) 0%, rgba(27, 160, 219, 0.04) 100%);
}

.brief-card--commerce .brief-card__top {
  background: linear-gradient(135deg, rgba(58, 170, 53, 0.14) 0%, rgba(58, 170, 53, 0.04) 100%);
}

.brief-card--science .brief-card__top {
  background: linear-gradient(135deg, rgba(27, 79, 140, 0.14) 0%, rgba(27, 79, 140, 0.04) 100%);
}

.brief-card__num {
  position: absolute;
  top: 0.8rem;
  right: 1.2rem;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: 2.3rem;
  line-height: 1;
  color: #3AAA35;
  letter-spacing: -0.03em;
  opacity: 0.85;
}

.brief-card--arts .brief-card__num {
  color: #1BA0DB;
}

.brief-card--commerce .brief-card__num {
  color: #1F7A1B;
}

.brief-card--science .brief-card__num {
  color: #1B4F8C;
}

.brief-card__stream {
  display: inline-block;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: #1B4F8C;
  background: rgba(255, 255, 255, 0.7);
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.brief-card__body {
  padding: 1.1rem 1.4rem 1.3rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.brief-card__title {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.15;
  color: #0B1220;
  margin: 0 0 0.6rem;
  letter-spacing: -0.02em;
  transition: color 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

.brief-card__text {
  font-size: 0.85rem;
  line-height: 1.55;
  color: #4A5466;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.brief-card__methods {
  border-top: 1px solid #ECEEF1;
  padding-top: 0.7rem;
  margin-bottom: 0.8rem;
}

.brief-card__methods-label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8A93A4;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.brief-card__methods-value {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: #1F7A1B;
  font-weight: 500;
}

.brief-card__cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1B4F8C;
}

.brief-card__arrow {
  transition: transform 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

.faculty-card {
  border: 1.5px solid #0B1220;
  padding: 1rem 1.3rem 1.1rem;
  background: #FFFFFF;
  border-radius: 4px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.faculty-card--arts {
  background: #1BA0DB;
  color: #FFFFFF;
  border-color: #1BA0DB;
}

.faculty-card--commerce {
  background: #1F7A1B;
  color: #FFFFFF;
  border-color: #1F7A1B;
}

.faculty-card--science {
  background: #1B4F8C;
  color: #FFFFFF;
  border-color: #1B4F8C;
}

.faculty-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 0.6rem;
  margin-bottom: 0.7rem;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.25);
}

.faculty-card__title {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.025em;
  line-height: 1;
  color: #FFFFFF;
  margin: 0;
}

.faculty-card__count {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #4FC74A;
  text-align: right;
}

.faculty-card__count .unit {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  display: block;
  margin-top: 0.15rem;
  text-transform: uppercase;
}

.faculty-card__list {
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  columns: 2;
  column-gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.faculty-card--commerce .faculty-card__list {
  columns: 1;
}

.faculty-card__list li {
  padding-left: 0.7rem;
  position: relative;
  break-inside: avoid;
}

.faculty-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 5px;
  height: 5px;
  background: #4FC74A;
  border-radius: 50%;
}

.faculty-card__list li a {
  color: inherit;
  transition: color 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

.faculty-card__list li a:hover {
  color: #4FC74A;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 992px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

@media (max-width: 992px) {
  .cards-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .cards-grid-4 {
    grid-template-columns: 1fr;
  }
}

.tinted-band {
  background: #EAF2FB;
  position: relative;
  padding: 3rem 0;
}

.tinted-band::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #1B4F8C 0%, #3AAA35 100%);
}

.faculty-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr 1fr;
  gap: 1rem;
}

@media (max-width: 992px) {
  .faculty-grid {
    grid-template-columns: 1fr 1fr;
  }
  .faculty-grid .faculty-card:nth-child(3) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .faculty-grid {
    grid-template-columns: 1fr;
  }
  .faculty-grid .faculty-card:nth-child(3) {
    grid-column: auto;
  }
}

.cta-band {
  background: #0E2E55;
  color: #FFFFFF;
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  bottom: -120px;
  left: -100px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, #3AAA35 0%, transparent 65%);
  opacity: 0.15;
  border-radius: 50%;
}

.cta-band__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.5fr auto;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 768px) {
  .cta-band__inner {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

.cta-band__title {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  margin: 0 0 0.4rem;
}

.cta-band__title em {
  color: #4FC74A;
  font-style: italic;
  font-weight: 500;
}

.cta-band__text {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-size: 0.98rem;
}

.cta-band__cta {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.page-header {
  background: #0E2E55;
  color: #FFFFFF;
  padding: 3.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.page-header__bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, #3AAA35 0%, transparent 70%);
  opacity: 0.18;
  border-radius: 50%;
}

.page-header__inner {
  position: relative;
  z-index: 2;
}

.page-header__breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.page-header__breadcrumb a {
  color: rgba(255, 255, 255, 0.55);
}

.page-header__breadcrumb a:hover {
  color: #4FC74A;
}

.page-header__breadcrumb .separator {
  color: #4FC74A;
}

.page-header__title {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin: 0 0 0.7rem;
}

.page-header__title em {
  color: #4FC74A;
  font-style: italic;
  font-weight: 500;
}

.page-header__sub {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 640px;
  margin: 0;
}

.inline-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.inline-stat__num {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  line-height: 1;
  color: #FFFFFF;
}

.inline-stat__num .unit {
  font-size: 0.75rem;
  color: #4FC74A;
  font-weight: 500;
}

.inline-stat__label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.services-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 992px) {
  .services-block {
    grid-template-columns: 1fr;
  }
}

.service-card {
  position: relative;
  border-radius: 6px;
  padding: 2rem 2rem 2.1rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 220ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(11, 18, 32, 0.12);
}

.service-card--dark {
  background: #0E2E55;
  color: #FFFFFF;
}

.service-card--dark::before {
  content: '';
  position: absolute;
  top: -90px;
  right: -90px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, #3AAA35 0%, transparent 65%);
  opacity: 0.18;
  border-radius: 50%;
  pointer-events: none;
}

.service-card--dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.service-card--dark > * {
  position: relative;
  z-index: 1;
}

.service-card--light {
  background: #FFFFFF;
  border: 1.5px solid #DDE0E4;
}

.service-card--light::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, #1BA0DB 0%, transparent 70%);
  opacity: 0.1;
  border-radius: 50%;
  pointer-events: none;
}

.service-card--light > * {
  position: relative;
  z-index: 1;
}

.service-card__eyebrow {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.service-card--dark .service-card__eyebrow {
  color: #4FC74A;
}

.service-card--light .service-card__eyebrow {
  color: #1F7A1B;
}

.service-card__eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: currentColor;
}

.service-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  margin-bottom: 1.1rem;
}

.service-card--dark .service-card__icon {
  background: rgba(255, 255, 255, 0.08);
  color: #4FC74A;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.service-card--light .service-card__icon {
  background: #EAF2FB;
  color: #1B4F8C;
}

.service-card__title {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.55rem, 2.6vw, 1.95rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 0.8rem;
}

.service-card__title em {
  font-style: italic;
  font-weight: 500;
}

.service-card--dark .service-card__title em {
  color: #4FC74A;
}

.service-card--light .service-card__title em {
  color: #1F7A1B;
}

.service-card--dark .service-card__title {
  color: #FFFFFF;
}

.service-card--light .service-card__title {
  color: #0B1220;
}

.service-card__text {
  font-size: 0.97rem;
  line-height: 1.6;
  margin-bottom: 1.3rem;
}

.service-card--dark .service-card__text {
  color: rgba(255, 255, 255, 0.78);
}

.service-card--light .service-card__text {
  color: #4A5466;
}

.service-card__audience {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1.1rem;
  align-self: flex-start;
}

.service-card--dark .service-card__audience {
  background: rgba(58, 170, 53, 0.18);
  color: #4FC74A;
  border: 1px solid rgba(79, 199, 74, 0.25);
}

.service-card--light .service-card__audience {
  background: rgba(27, 160, 219, 0.1);
  color: #1583B5;
  border: 1px solid rgba(27, 160, 219, 0.25);
}

.service-card__audience i {
  font-size: 0.75em;
}

.service-card__features {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.service-card__feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  line-height: 1.4;
}

.service-card--dark .service-card__feature {
  color: rgba(255, 255, 255, 0.88);
}

.service-card--light .service-card__feature {
  color: #0B1220;
}

.service-card__feature i {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
}

.service-card--dark .service-card__feature i {
  background: rgba(58, 170, 53, 0.18);
  color: #4FC74A;
}

.service-card--light .service-card__feature i {
  background: #ECF8EB;
  color: #1F7A1B;
}

.service-card__stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 1rem 0 1.25rem;
  margin-top: auto;
  border-top: 1px solid;
}

.service-card--dark .service-card__stats {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.service-card--light .service-card__stats {
  border-top-color: #ECEEF1;
}

.service-card__stat-num {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  line-height: 1;
  letter-spacing: -0.02em;
}

.service-card--dark .service-card__stat-num {
  color: #FFFFFF;
}

.service-card--light .service-card__stat-num {
  color: #0B1220;
}

.service-card__stat-num .unit {
  font-size: 0.7rem;
  font-weight: 500;
}

.service-card--dark .service-card__stat-num .unit {
  color: #4FC74A;
}

.service-card--light .service-card__stat-num .unit {
  color: #1F7A1B;
}

.service-card__stat-label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.service-card--dark .service-card__stat-label {
  color: rgba(255, 255, 255, 0.55);
}

.service-card--light .service-card__stat-label {
  color: #8A93A4;
}

.service-card__cta {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.audience-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 768px) {
  .audience-strip {
    grid-template-columns: 1fr;
  }
}

.audience-card {
  background: #FFFFFF;
  border: 1px solid #DDE0E4;
  border-radius: 4px;
  padding: 1.5rem 1.4rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: all 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

.audience-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(11, 18, 32, 0.08);
  border-color: #1BA0DB;
}

.audience-card__icon {
  width: 44px;
  height: 44px;
  background: #EAF2FB;
  color: #1B4F8C;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}

.audience-card__title {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #0B1220;
  margin: 0 0 0.4rem;
  letter-spacing: -0.015em;
}

.audience-card__text {
  font-size: 0.88rem;
  color: #4A5466;
  line-height: 1.5;
  margin: 0;
}

.detail__layout {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

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

.detail__block {
  margin-bottom: 2.5rem;
}

.detail__block:last-child {
  margin-bottom: 0;
}

.detail__heading {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: #0B1220;
  margin: 0 0 1rem;
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
}

.detail__heading-num {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: #1F7A1B;
  font-weight: 700;
}

.detail__text {
  font-size: 1rem;
  line-height: 1.65;
  color: #4A5466;
}

.detail__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.detail__list li {
  position: relative;
  padding: 0.75rem 1rem 0.75rem 2.6rem;
  background: #FBFBF8;
  border: 1px solid #DDE0E4;
  border-radius: 4px;
  font-size: 0.95rem;
  color: #0B1220;
}

.detail__list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  background: #3AAA35;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
}

.detail__brief {
  background: #FFFFFF;
  border: 1px solid #DDE0E4;
  border-radius: 4px;
  padding: 1.2rem 1.4rem 1.2rem 4.5rem;
  position: relative;
  margin-bottom: 0.7rem;
  transition: all 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

.detail__brief:hover {
  border-color: #1BA0DB;
  box-shadow: 0 2px 6px rgba(11, 18, 32, 0.06);
}

.detail__brief-num {
  position: absolute;
  left: 1.2rem;
  top: 1.2rem;
  width: 36px;
  height: 36px;
  background: #EAF2FB;
  color: #1B4F8C;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 700;
  font-size: 0.85rem;
}

.detail__brief-title {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #0B1220;
  margin: 0 0 0.4rem;
  letter-spacing: -0.015em;
}

.detail__brief-text {
  font-size: 0.88rem;
  color: #4A5466;
  margin: 0 0 0.5rem;
  line-height: 1.55;
}

.detail__brief-collect {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  color: #1F7A1B;
  letter-spacing: 0.05em;
  font-weight: 600;
  text-transform: uppercase;
}

.detail__brief-collect i {
  margin-right: 0.4rem;
}

.detail__receive {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

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

.detail__receive-item {
  background: #FFFFFF;
  border: 1px solid #DDE0E4;
  border-radius: 4px;
  padding: 1rem 1.1rem 1.05rem;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.detail__receive-item-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: #ECF8EB;
  color: #1F7A1B;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.detail__receive-item-title {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #0B1220;
  margin: 0 0 0.2rem;
  letter-spacing: -0.01em;
}

.detail__receive-item-text {
  font-size: 0.8rem;
  color: #4A5466;
  margin: 0;
  line-height: 1.5;
}

.detail__sidebar {
  position: sticky;
  top: 90px;
  background: #FFFFFF;
  border: 1.5px solid #0B1220;
  border-radius: 6px;
  padding: 1.5rem 1.5rem 1.6rem;
}

@media (max-width: 992px) {
  .detail__sidebar {
    position: static;
  }
}

.detail__sidebar-title {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: #0B1220;
  margin: 0 0 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1.5px solid #DDE0E4;
  letter-spacing: -0.015em;
}

.detail__sidebar-list {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.detail__sidebar-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.detail__sidebar-list li i {
  width: 32px;
  height: 32px;
  background: #EAF2FB;
  color: #1B4F8C;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
}

.detail__sidebar-list li strong {
  color: #0B1220;
  font-weight: 600;
}

.detail__sidebar-list li span {
  color: #4A5466;
  margin-left: auto;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.8rem;
}

.detail__price {
  text-align: center;
  padding: 1rem 0 1.2rem;
  border-top: 1px dashed #DDE0E4;
  margin-top: 1rem;
}

.detail__price-label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: #4A5466;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.detail__price-value {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: #1F7A1B;
}

.detail__price-value .strike {
  text-decoration: line-through;
  color: #8A93A4;
  font-size: 0.75em;
  margin-right: 0.4rem;
  font-weight: 500;
}

.detail__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.8rem;
}

.detail__filter {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border: 1.5px solid #DDE0E4;
  border-radius: 100px;
  background: #FFFFFF;
  color: #4A5466;
  cursor: pointer;
  transition: all 220ms cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
}

.detail__filter:hover {
  border-color: #1B4F8C;
  color: #1B4F8C;
}

.detail__filter.active {
  background: #0B1220;
  color: #FFFFFF;
  border-color: #0B1220;
}

.enroll__layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

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

.enroll__form {
  background: #FFFFFF;
  border: 1.5px solid #0B1220;
  border-radius: 6px;
  padding: 2rem 2rem 2.2rem;
}

@media (max-width: 576px) {
  .enroll__form {
    padding: 1.5rem 1.25rem 1.7rem;
  }
}

.enroll__form-title {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: #0B1220;
  margin: 0 0 0.4rem;
}

.enroll__form-sub {
  color: #4A5466;
  font-size: 0.92rem;
  margin: 0 0 1.5rem;
}

.enroll__choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}

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

.enroll__choice-option {
  position: relative;
}

.enroll__choice-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.enroll__choice-option label {
  display: flex;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border: 1.5px solid #DDE0E4;
  border-radius: 6px;
  cursor: pointer;
  transition: all 220ms cubic-bezier(0.4, 0, 0.2, 1);
  background: #FFFFFF;
  align-items: flex-start;
}

.enroll__choice-option label:hover {
  border-color: #1BA0DB;
  background: rgba(27, 160, 219, 0.04);
}

.enroll__choice-option input:checked + label {
  border-color: #1B4F8C;
  background: #EAF2FB;
  box-shadow: 0 0 0 3px rgba(27, 79, 140, 0.08);
}

.enroll__choice-option input:checked + label .enroll__choice-icon {
  background: #1B4F8C;
  color: #FFFFFF;
}

.enroll__choice-option-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  background: #EAF2FB;
  color: #1B4F8C;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

.enroll__choice-option-text strong {
  display: block;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 700;
  color: #0B1220;
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.enroll__choice-option-text span {
  font-size: 0.78rem;
  color: #4A5466;
  line-height: 1.4;
}

.enroll__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 0.9rem;
}

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

.enroll__field {
  margin-bottom: 0.9rem;
}

.enroll__field label {
  display: block;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #4A5466;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.enroll__field label .required {
  color: #1F7A1B;
}

.enroll__field input,
.enroll__field select,
.enroll__field textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid #DDE0E4;
  border-radius: 4px;
  background: #FFFFFF;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 0.95rem;
  color: #0B1220;
  transition: all 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

.enroll__field input:focus,
.enroll__field select:focus,
.enroll__field textarea:focus {
  outline: none;
  border-color: #1BA0DB;
  box-shadow: 0 0 0 3px rgba(27, 160, 219, 0.12);
}

.enroll__field input::placeholder,
.enroll__field select::placeholder,
.enroll__field textarea::placeholder {
  color: #8A93A4;
}

.enroll__field textarea {
  min-height: 100px;
  resize: vertical;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

.enroll__field select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234A5466'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.6rem center;
  background-size: 1.2rem;
  padding-right: 2.2rem;
}

.enroll__submit {
  margin-top: 1rem;
}

.enroll__note {
  font-size: 0.78rem;
  color: #4A5466;
  margin-top: 1rem;
  text-align: center;
  line-height: 1.5;
}

.enroll__note i {
  color: #3AAA35;
  margin-right: 0.3rem;
}

.enroll__side {
  background: #0E2E55;
  color: #FFFFFF;
  border-radius: 6px;
  padding: 1.8rem 1.8rem 2rem;
  position: relative;
  overflow: hidden;
}

.enroll__side::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, #3AAA35 0%, transparent 70%);
  opacity: 0.18;
  border-radius: 50%;
}

.enroll__side-title {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1.1;
  color: #FFFFFF;
  margin: 0.5rem 0 0.7rem;
  letter-spacing: -0.02em;
}

.enroll__side-title em {
  color: #4FC74A;
  font-style: italic;
  font-weight: 500;
}

.enroll__side-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  position: relative;
  z-index: 2;
}

.enroll__side-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}

.enroll__side-list li:last-child {
  border-bottom: none;
}

.enroll__side-list li i {
  width: 28px;
  height: 28px;
  background: rgba(58, 170, 53, 0.2);
  color: #4FC74A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
}

.enroll__side-contact {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  z-index: 2;
}

.enroll__side-contact-label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  color: #4FC74A;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.enroll__side-contact a {
  color: #FFFFFF;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
}

.enroll__side-contact a i {
  color: #4FC74A;
}

.enroll__side-contact a:hover {
  color: #4FC74A;
}

.thanks-card {
  text-align: center;
  background: #FFFFFF;
  border: 1.5px solid #3AAA35;
  border-radius: 6px;
  padding: 3rem 2rem;
}

.thanks-card__icon {
  width: 70px;
  height: 70px;
  background: #ECF8EB;
  color: #1F7A1B;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.thanks-card__title {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.7rem;
  color: #0B1220;
  margin: 0 0 0.7rem;
  letter-spacing: -0.02em;
}

.thanks-card__text {
  color: #4A5466;
  max-width: 480px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

.cm-footer {
  background: #0B1220;
  color: #FFFFFF;
  padding: 3rem 0 1.5rem;
}

.cm-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 992px) {
  .cm-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 1.8rem;
  }
}

@media (max-width: 576px) {
  .cm-footer__top {
    grid-template-columns: 1fr;
  }
}

.cm-footer__brand img {
  height: 56px;
  width: auto;
  margin-bottom: 1rem;
  display: block;
}

.cm-footer__brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 1rem;
  max-width: 280px;
}

.cm-footer__socials {
  display: flex;
  gap: 0.5rem;
}

.cm-footer__socials a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

.cm-footer__socials a:hover {
  background: #3AAA35;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.cm-footer__head {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: #4FC74A;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 1rem;
}

.cm-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cm-footer__list li {
  margin-bottom: 0.55rem;
}

.cm-footer__list a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: color 220ms cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cm-footer__list a:hover {
  color: #4FC74A;
}

.cm-footer__list a i {
  color: #4FC74A;
  font-size: 0.7rem;
  width: 14px;
}

.cm-footer__cred {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  line-height: 1.7;
  margin-top: 1rem;
}

.cm-footer__bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.cm-footer__bottom .dot {
  color: #4FC74A;
}

.cm-footer__bottom a {
  color: rgba(255, 255, 255, 0.45);
}

.cm-footer__bottom a:hover {
  color: #4FC74A;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: #3AAA35;
  color: #FFFFFF;
  padding: 0.5rem 1rem;
  z-index: 999;
  border-radius: 4px;
}

.container {
  max-width: 1240px;
}

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

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

/* ──────────────────────────────────────────────────────────────────────────
   Auth (sign in / sign up) page styling
   Higher specificity (a.btn-social) so it wins over the global `a` rule.
   ────────────────────────────────────────────────────────────────────────── */

/* Social provider buttons (Google, LinkedIn) */
a.btn-social,
button.btn-social {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 52px;
  padding: 0.9rem 1.25rem;
  border-radius: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  letter-spacing: -0.005em;
  text-decoration: none !important;
  border: 1.5px solid #E1E5EB;
  background: #FFFFFF;
  color: #0E2E55 !important;
  box-shadow: 0 1px 2px rgba(14, 46, 85, 0.04);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
  cursor: pointer;
  position: relative;
}
a.btn-social:hover,
button.btn-social:hover {
  background: #FBFCFE;
  border-color: #0E2E55;
  color: #0E2E55 !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(14, 46, 85, 0.10);
}
a.btn-social:active,
button.btn-social:active {
  transform: translateY(0);
  box-shadow: 0 1px 3px rgba(14, 46, 85, 0.08);
}
a.btn-social i,
button.btn-social i {
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
}
a.btn-social--google i        { color: #DB4437; }
a.btn-social--linkedin i      { color: #0A66C2; }
button.btn-social--google i   { color: #DB4437; }
button.btn-social--linkedin i { color: #0A66C2; }

/* Divider with horizontal rules on each side, centered text */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 1.4rem 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8A93A4;
  text-align: center;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #E1E5EB, transparent);
}

/* Group wrapper around the two social buttons */
.auth-social-group {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 0.5rem;
}

/* ──────────────────────────────────────────────────────────────────────────
   Phone input with country-code prefix (+91)
   ────────────────────────────────────────────────────────────────────────── */
.phone-input {
  display: flex;
  align-items: stretch;
  border: 1.5px solid #E1E5EB;
  border-radius: 10px;
  background: #FFFFFF;
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.phone-input:focus-within {
  border-color: #0E2E55;
  box-shadow: 0 0 0 3px rgba(14, 46, 85, 0.08);
}
.phone-input__prefix {
  display: inline-flex;
  align-items: center;
  padding: 0 0.95rem;
  background: #F5F7FA;
  border-right: 1.5px solid #E1E5EB;
  color: #4A5466;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  user-select: none;
}
.phone-input input[type="tel"] {
  flex: 1;
  min-width: 0;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  padding: 0.85rem 0.95rem !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  color: #0E2E55;
  letter-spacing: 0.02em;
}
.phone-input input[type="tel"]::placeholder {
  color: #B3BAC4;
  letter-spacing: normal;
}
.phone-input input[type="tel"]:focus {
  box-shadow: none !important;
}

/* ──────────────────────────────────────────────────────────────────────────
   Role chooser cards (signup) — Student vs Mentor
   ────────────────────────────────────────────────────────────────────────── */
.role-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}
.role-choice__option {
  cursor: pointer;
  display: block;
}
.role-choice__option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.role-choice__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  border: 1.5px solid #E1E5EB;
  border-radius: 12px;
  background: #FFFFFF;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}
.role-choice__card i {
  font-size: 1.35rem;
  color: #0E2E55;
  margin-bottom: 0.15rem;
}
.role-choice__card strong {
  font-family: 'Bricolage Grotesque', serif;
  font-size: 1.05rem;
  color: #0E2E55;
}
.role-choice__card small {
  font-size: 0.78rem;
  color: #4A5466;
  line-height: 1.35;
}
.role-choice__option:hover .role-choice__card {
  border-color: #0E2E55;
  background: #FBFCFE;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(14, 46, 85, 0.06);
}
.role-choice__option input[type="radio"]:checked + .role-choice__card {
  border-color: #1F7A1B;
  background: #F5FAF5;
  box-shadow: 0 0 0 3px rgba(31, 122, 27, 0.10);
}
.role-choice__option input[type="radio"]:checked + .role-choice__card i,
.role-choice__option input[type="radio"]:checked + .role-choice__card strong {
  color: #1F7A1B;
}
@media (max-width: 480px) {
  .role-choice { grid-template-columns: 1fr; }
}

/* ──────────────────────────────────────────────────────────────────────────
   Profile-completion banner (dashboard)
   ────────────────────────────────────────────────────────────────────────── */
.profile-banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.2rem;
  padding: 1.4rem 1.6rem;
  margin: 0 0 2rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(31, 122, 27, 0.06), rgba(14, 46, 85, 0.04));
  border: 1px solid rgba(31, 122, 27, 0.18);
}
.profile-banner__icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(31, 122, 27, 0.12);
  color: #1F7A1B;
  font-size: 1.4rem;
}
.profile-banner__title {
  margin: 0 0 0.25rem;
  font-family: 'Bricolage Grotesque', serif;
  font-size: 1.1rem;
  color: #0E2E55;
}
.profile-banner__sub {
  margin: 0 0 0.6rem;
  font-size: 0.9rem;
  color: #4A5466;
  line-height: 1.45;
}
.profile-banner__bar {
  height: 6px;
  background: rgba(14, 46, 85, 0.08);
  border-radius: 4px;
  overflow: hidden;
  max-width: 340px;
}
.profile-banner__bar-fill {
  height: 100%;
  background: #1F7A1B;
  border-radius: 4px;
  transition: width .35s ease;
}
.profile-banner--warn {
  background: linear-gradient(135deg, rgba(229, 165, 28, 0.08), rgba(14, 46, 85, 0.04));
  border-color: rgba(229, 165, 28, 0.30);
}
.profile-banner--warn .profile-banner__icon {
  background: rgba(229, 165, 28, 0.14);
  color: #B57B0E;
}
@media (max-width: 640px) {
  .profile-banner {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .profile-banner__icon { width: 44px; height: 44px; font-size: 1.2rem; }
}

/* ──────────────────────────────────────────────────────────────────────────
   Slide deck (student-side lesson player)
   ────────────────────────────────────────────────────────────────────────── */
.slide-deck {
  background: #FFFFFF;
  border: 1px solid #E1E5EB;
  border-radius: 18px;
  padding: 1.4rem 1.6rem 1.2rem;
  box-shadow: 0 1px 3px rgba(14, 46, 85, 0.04);
}
.slide-deck__progress {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.2rem;
}
.slide-deck__progress-bar {
  flex: 1;
  height: 5px;
  background: #ECEEF2;
  border-radius: 3px;
  overflow: hidden;
}
.slide-deck__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #1F7A1B, #2BA827);
  border-radius: 3px;
  transition: width .25s ease;
}
.slide-deck__count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: #4A5466;
  letter-spacing: 0.06em;
}
.slide-deck__slide {
  min-height: 280px;
  padding: 0.6rem 0 1.2rem;
}
.slide-deck__title {
  font-family: 'Bricolage Grotesque', serif;
  font-size: clamp(1.4rem, 2vw + 0.6rem, 1.85rem);
  margin: 0 0 1rem;
  color: #0E2E55;
}
.slide-deck__image {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 1rem;
}
.slide-deck__video {
  position: relative;
  padding-top: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
}
.slide-deck__video iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: 0;
}
.slide-deck__video-native {
  display: block;
  width: 100%;
  border-radius: 12px;
  margin-bottom: 1rem;
  background: #000;
}
.slide-deck__body {
  font-size: 1rem;
  line-height: 1.65;
  color: #20283A;
}
.slide-deck__body p { margin: 0 0 0.85rem; }
.slide-deck__body img { max-width: 100%; height: auto; border-radius: 8px; }
.slide-deck__body pre {
  background: #0E2E55; color: #FFFFFF; padding: 1rem 1.1rem;
  border-radius: 10px; overflow-x: auto; font-size: 0.85rem;
}
.slide-deck__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding-top: 1.1rem;
  border-top: 1px solid #ECEEF2;
}
.slide-deck__nav button {
  min-width: 130px;
}
@media (max-width: 540px) {
  .slide-deck { padding: 1rem 1.1rem; }
  .slide-deck__nav button { min-width: 0; flex: 1; }
}

/* ──────────────────────────────────────────────────────────────────────────
   Mentor drag-to-reorder — handle, ghost, drop states, toast
   ────────────────────────────────────────────────────────────────────────── */
.sortable-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.75rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6B7280;
}
.sortable-hint i { color: #0E2E55; }

.sortable-list .sortable-item {
  transition: box-shadow .15s ease, transform .15s ease, background .15s ease;
}

.sortable__handle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #6B7280;
  cursor: grab;
  border-radius: 6px;
  transition: background .15s ease, color .15s ease;
}
.sortable__handle:hover {
  background: #F1F4F8;
  color: #0E2E55;
}
.sortable__handle:active { cursor: grabbing; }
.sortable__handle i { font-size: 0.95rem; }

.sortable__ghost {
  opacity: 0.35;
  background: #F0F7F0 !important;
  border-color: #1F7A1B !important;
}
.sortable__chosen {
  box-shadow: 0 8px 22px rgba(14, 46, 85, 0.12);
}
.sortable__drag {
  background: #FFFFFF !important;
  box-shadow: 0 14px 30px rgba(14, 46, 85, 0.18);
  transform: rotate(0.5deg);
}

.sortable-toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 0.65rem 1.1rem;
  background: #0E2E55;
  color: #FFFFFF;
  font-size: 0.85rem;
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(14, 46, 85, 0.20);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 1000;
}
.sortable-toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.sortable-toast--error { background: #B91C1C; }

/* ──────────────────────────────────────────────────────────────────────────
   Slide thumbnail strip (student-side player)
   ────────────────────────────────────────────────────────────────────────── */
.slide-thumbs {
  display: flex;
  gap: 0.65rem;
  margin: 0 0 1.2rem;
  padding-bottom: 0.6rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #C5CBD3 transparent;
}
.slide-thumbs::-webkit-scrollbar { height: 6px; }
.slide-thumbs::-webkit-scrollbar-thumb { background: #C5CBD3; border-radius: 3px; }
.slide-thumbs::-webkit-scrollbar-track { background: transparent; }

.slide-thumb {
  flex: 0 0 124px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  padding: 0.45rem;
  background: #FFFFFF;
  border: 1.5px solid #E1E5EB;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  scroll-snap-align: start;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
  position: relative;
}
.slide-thumb:hover {
  border-color: #0E2E55;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(14, 46, 85, 0.08);
}
.slide-thumb--active {
  border-color: #1F7A1B;
  box-shadow: 0 0 0 3px rgba(31, 122, 27, 0.18);
}
.slide-thumb--active::after {
  content: "";
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1F7A1B;
}
.slide-thumb__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: #6B7280;
}
.slide-thumb__img {
  width: 100%;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
  background: #F1F4F8;
}
.slide-thumb__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  border-radius: 6px;
  background: linear-gradient(135deg, #F1F4F8, #E6EBF1);
  color: #0E2E55;
  font-size: 1.1rem;
}
.slide-thumb__placeholder--video {
  background: linear-gradient(135deg, #0E2E55, #1B4F8C);
  color: #FFFFFF;
}
.slide-thumb__caption {
  font-size: 0.78rem;
  color: #20283A;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 540px) {
  .slide-thumb { flex-basis: 108px; }
  .slide-thumb__img,
  .slide-thumb__placeholder { height: 56px; }
}

/* ──────────────────────────────────────────────────────────────────────────
   Course player TOC — module + lesson rows (student side, post-enrol)
   ────────────────────────────────────────────────────────────────────────── */
.course-toc {
  display: grid;
  gap: 1rem;
}
.course-toc__module {
  border: 1px solid #E1E5EB;
  border-radius: 14px;
  padding: 1.2rem 1.4rem;
  background: #FFFFFF;
}
.course-toc__module-title {
  margin: 0 0 0.3rem;
  font-family: 'Bricolage Grotesque', serif;
  font-size: 1.15rem;
  color: #0E2E55;
}
.course-toc__module-desc {
  margin: 0 0 0.4rem;
  color: #4A5466;
  font-size: 0.92rem;
  line-height: 1.45;
}
.course-toc__lessons {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: grid;
  gap: 0.4rem;
}
.course-toc__lesson {
  display: grid;
  grid-template-columns: 24px 1fr auto 28px;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0.95rem;
  border: 1px solid transparent;
  border-radius: 10px;
  background: #FAFBFD;
  color: #0E2E55 !important;
  text-decoration: none !important;
  font-weight: 500;
  transition: background .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
  cursor: pointer;
}
.course-toc__lesson:hover {
  background: #FFFFFF;
  border-color: #0E2E55;
  transform: translateX(2px);
  box-shadow: 0 4px 14px rgba(14, 46, 85, 0.06);
}
.course-toc__lesson:hover .course-toc__lesson-cta i {
  transform: translateX(2px);
}
.course-toc__lesson-state i {
  font-size: 1.05rem;
  color: #B3BAC4;
}
.course-toc__lesson--done .course-toc__lesson-state i { color: #1F7A1B; }
.course-toc__lesson--done { background: #F2F9F2; }
.course-toc__lesson--done .course-toc__lesson-title { color: #1F7A1B; }
.course-toc__lesson-title {
  font-size: 0.98rem;
  line-height: 1.35;
}
.course-toc__lesson-meta {
  font-size: 0.78rem;
  color: #6B7280;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.course-toc__lesson-meta i { margin-right: 0.25rem; }
.course-toc__lesson-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(14, 46, 85, 0.08);
  color: #0E2E55;
}
.course-toc__lesson-cta i { transition: transform .15s ease; }
.course-toc__empty {
  padding: 0.6rem 0.95rem;
  color: #6B7280;
  font-size: 0.88rem;
  font-style: italic;
}
@media (max-width: 540px) {
  .course-toc__lesson {
    grid-template-columns: 24px 1fr auto;
  }
  .course-toc__lesson-meta { grid-column: 2 / -1; padding-left: 0; font-size: 0.72rem; }
  .course-toc__lesson-cta { grid-row: 1; grid-column: 3; }
}

/* ──────────────────────────────────────────────────────────────────────────
   Empty-lesson state (no slides yet)
   ────────────────────────────────────────────────────────────────────────── */
.lesson-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  background: #FAFBFD;
  border: 1px dashed #C5CBD3;
  border-radius: 16px;
  margin-bottom: 1.5rem;
}
.lesson-empty__icon {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(14, 46, 85, 0.08);
  color: #0E2E55;
  font-size: 1.6rem;
  margin-bottom: 0.85rem;
}
.lesson-empty__title {
  margin: 0 0 0.4rem;
  font-family: 'Bricolage Grotesque', serif;
  font-size: 1.25rem;
  color: #0E2E55;
}
.lesson-empty__sub {
  margin: 0 0 1.2rem;
  color: #4A5466;
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}





/* ==============================================================
   Mobile / tablet bottom-app-bar — added 2026-05-25
   Below 992px the CTA cluster in templates/partials/navbar.html
   reflows from inline navbar buttons into a fixed mobile-app-style
   bottom navigation bar. Pure CSS — template is unchanged.
   ============================================================== */
.home-cta{
  display: none !important;
}
@media (max-width: 992px) {
  .home-cta{
    display: block !important;
  }
  .cm-navbar__actions {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 90;
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    gap: 0.25rem;
    background: #0E2E55;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.4rem 0.3rem;
    padding-bottom: calc(0.4rem + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -6px 18px rgba(11, 18, 32, 0.22);
  }

  .cm-navbar__cta {
    display: inline-flex !important;
    flex: 1 1 0;
    min-width: 0;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    margin: 0 !important;
    padding: 0.5rem 0.3rem;
    font-size: 0.6rem;
    line-height: 1.15;
    letter-spacing: 0;
    border-radius: 4px;
    text-align: center;
    white-space: nowrap;
    border: none !important;
    background: transparent !important;
  }

  .cm-navbar__cta i,
  .cm-navbar__cta svg {
    font-size: 1.05rem;
    transform: none !important;
  }

  .cm-navbar__cta:hover {
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.08);
  }

  body {
    padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px));
  }
}

/* ──── Category filter chips (training / listing pages) ──── */
.filter-bar { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:1.75rem; }
.cat-chip {
  display:inline-flex; align-items:center; font-size:.85rem; font-weight:600; line-height:1;
  padding:9px 16px; border-radius:999px; border:1px solid #d9dee8; background:#fff; color:#34465d;
  text-decoration:none; white-space:nowrap;
  transition:background .15s ease, border-color .15s ease, color .15s ease;
}
.cat-chip:hover { border-color:#1f5fc4; color:#1f5fc4; }
.cat-chip.is-active { background:#1f5fc4; border-color:#1f5fc4; color:#fff; }

/* ════════════════════════════════════════════════════════════════════════
   HOME REVAMP — new sections (Software, Projects, Why CodeMetrix, How it works)
   All rules are namespaced under `.hr-section` so they cannot affect the
   existing/kept sections. Reuses the site's `.container` (1240px) for width.
   ════════════════════════════════════════════════════════════════════════ */
.hr-section {
  padding: 88px 0;
  position: relative;
  overflow: hidden;
  /* Scoped design tokens from the home mockup */
  --hr-navy-900:#0a2240; --hr-navy-850:#0d2a4d;
  --hr-ink:#0f2444; --hr-ink-soft:#34465d; --hr-muted:#5d6b7e;
  --hr-line:#e3e7ef; --hr-line-dark:#1c3b60;
  --hr-blue:#1f5fc4; --hr-green:#46a83a; --hr-green-cta:#33b14c;
  --hr-green-bright:#6cc24a; --hr-green-soft:#eaf6e7;
  --hr-cream:#fbfaf2; --hr-paper:#ffffff; --hr-blue-bg:#e9f0fb; --hr-chip:#e7eefb;
}
.hr-section--cream { background: var(--hr-cream); }
.hr-section--blue  { background: var(--hr-blue-bg); }
.hr-section--navy {
  color:#eaf2ff;
  background-image:
    radial-gradient(700px 380px at 90% -20%, rgba(108,194,74,.14), transparent 60%),
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: auto, 46px 46px, 46px 46px;
  background-color: var(--hr-navy-900);
}

/* shared type bits (scoped) */
.hr-section .eyebrow {
  font-family:"JetBrains Mono", ui-monospace, monospace; font-size:12.5px;
  letter-spacing:.22em; text-transform:uppercase; font-weight:600; color:var(--hr-green);
}
.hr-section--navy .eyebrow { color: var(--hr-green-bright); }
.hr-section .accent { font-family:Fraunces, Georgia, serif; font-style:italic; color:var(--hr-green); font-weight:600; }
.hr-section--navy .accent { color: var(--hr-green-bright); }

/* section intro / head */
.hr-section .sec-intro {
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:30px; margin-bottom:42px; flex-wrap:wrap;
}
.hr-section .sec-intro h2 {
  font-size:clamp(26px,3vw,34px); font-weight:800; letter-spacing:-.02em;
  margin:12px 0 0; max-width:620px; color:var(--hr-ink);
}
.hr-section--navy .sec-intro h2 { color:#fff; }
.hr-section .sec-intro p { margin:14px 0 0; max-width:520px; color:var(--hr-ink-soft); font-size:16.5px; }
.hr-section--navy .sec-intro p { color:#b8c8dd; }
.hr-section .sec-head { display:flex; align-items:center; gap:26px; margin-bottom:40px; }
.hr-section .sec-title { font-size:clamp(26px,3vw,34px); font-weight:800; letter-spacing:-.02em; margin:0; color:var(--hr-ink); }
.hr-section--navy .sec-title { color:#fff; }
.hr-section .sec-rule { flex:1; height:1px; background:var(--hr-line); }
.hr-section--navy .sec-rule { background:rgba(255,255,255,.14); }

.hr-section .icon-box { width:54px; height:54px; border-radius:12px; display:flex; align-items:center; justify-content:center; }
.hr-section .icon-box svg { width:24px; height:24px; }

/* tags */
.hr-section .tagrow { display:flex; flex-wrap:wrap; gap:8px; }
.hr-section .tag {
  font-family:"JetBrains Mono", ui-monospace, monospace; font-size:11px; letter-spacing:.06em;
  color:#bcd0e8; border:1px solid rgba(255,255,255,.16); border-radius:6px; padding:5px 10px;
}
.hr-section--cream .tag, .hr-section .proj-body .tag { color:#5c6b80; border-color:var(--hr-line); }
.hr-section .svc-card .tag { color:#fff; background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.14); }

/* SOFTWARE — service cards (navy) */
.hr-section .svc-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.hr-section .svc-card { background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.12); border-radius:16px; padding:30px 28px; }
.hr-section .svc-card .icon-box { background:rgba(108,194,74,.13); margin-bottom:22px; }
.hr-section .svc-card .icon-box svg { color:var(--hr-green-bright); }
.hr-section .svc-card h3 { font-size:21px; font-weight:700; letter-spacing:-.01em; margin:0 0 12px; color:#fff; }
.hr-section .svc-card p { margin:0 0 20px; font-size:15.5px; line-height:1.6; color:#aebfd4; }

/* PROJECTS */
.hr-section .proj-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.hr-section .proj-card { background:var(--hr-paper); border:1px solid var(--hr-line); border-radius:14px; overflow:hidden; display:flex; flex-direction:column; }
.hr-section .proj-thumb { height:128px; display:flex; align-items:flex-end; padding:16px; position:relative; overflow:hidden; }
.hr-section .proj-thumb .mono { font-family:"JetBrains Mono", ui-monospace, monospace; font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:rgba(255,255,255,.85); position:relative; z-index:1; }
.hr-section .proj-thumb::after {
  content:""; position:absolute; inset:0;
  background:linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px) 0 0/26px 26px,
             linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px) 0 0/26px 26px;
}
.hr-section .t-navy { background:var(--hr-navy-850); }
.hr-section .t-blue { background:#1f5fc4; }
.hr-section .t-green { background:#2f8f4f; }
.hr-section .t-teal { background:#0f6f86; }
.hr-section .proj-body { padding:22px 22px 20px; display:flex; flex-direction:column; flex:1; }
.hr-section .proj-cat { font-family:"JetBrains Mono", ui-monospace, monospace; font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:var(--hr-green); }
.hr-section .proj-title { font-size:18.5px; font-weight:700; letter-spacing:-.01em; margin:8px 0 8px; color:var(--hr-ink); }
.hr-section .proj-desc { margin:0 0 18px; font-size:14.5px; line-height:1.55; color:var(--hr-muted); }

/* WHY — stats + value cards (blue) */
.hr-section .stat-row { display:grid; grid-template-columns:repeat(4,1fr); gap:22px; margin-bottom:50px; }
.hr-section .stat { background:var(--hr-paper); border:1px solid var(--hr-line); border-radius:14px; padding:28px 26px; }
.hr-section .stat-num { font-size:42px; font-weight:800; letter-spacing:-.03em; color:var(--hr-ink); line-height:1; }
.hr-section .stat-num b { color:var(--hr-green); }
.hr-section .stat-label { font-family:"JetBrains Mono", ui-monospace, monospace; font-size:11.5px; letter-spacing:.15em; text-transform:uppercase; color:var(--hr-muted); margin-top:12px; }
.hr-section .value-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.hr-section .value-card { background:var(--hr-paper); border:1px solid var(--hr-line); border-radius:14px; padding:28px 26px; }
.hr-section .value-card .icon-box { background:var(--hr-green-soft); margin-bottom:18px; }
.hr-section .value-card .icon-box svg { color:var(--hr-green); }
.hr-section .value-card h3 { font-size:18.5px; font-weight:700; margin:0 0 10px; color:var(--hr-ink); }
.hr-section .value-card p { margin:0; font-size:15px; line-height:1.6; color:var(--hr-ink-soft); }

/* HOW IT WORKS — numbered steps */
.hr-section .steps { display:grid; grid-template-columns:repeat(4,1fr); gap:0; position:relative; }
.hr-section .step { padding:0 26px; position:relative; }
.hr-section .step:first-child { padding-left:0; }
.hr-section .step:last-child { padding-right:0; }
.hr-section .step:not(:last-child)::after {
  content:""; position:absolute; top:21px; right:0; width:52px; height:2px;
  background:repeating-linear-gradient(90deg,var(--hr-line) 0 7px,transparent 7px 13px);
  transform:translateX(50%);
}
.hr-section .step-num {
  width:44px; height:44px; border-radius:11px; background:var(--hr-ink); color:#fff;
  font-family:"JetBrains Mono", ui-monospace, monospace; font-weight:600; font-size:16px;
  display:flex; align-items:center; justify-content:center; margin-bottom:20px;
}
.hr-section .step:nth-child(4) .step-num { background:var(--hr-green-cta); }
.hr-section .step-title { font-size:18px; font-weight:700; margin:0 0 8px; color:var(--hr-ink); }
.hr-section .step-desc { margin:0; font-size:14.5px; line-height:1.55; color:var(--hr-muted); }

/* responsive */
@media (max-width:1080px){
  .hr-section .svc-grid,
  .hr-section .proj-grid,
  .hr-section .value-grid { grid-template-columns:1fr 1fr; }
  .hr-section .stat-row { grid-template-columns:repeat(2,1fr); }
  .hr-section .steps { grid-template-columns:1fr 1fr; row-gap:36px; }
  .hr-section .step:not(:last-child)::after { display:none; }
}
@media (max-width:640px){
  .hr-section { padding:60px 0; }
  .hr-section .svc-grid,
  .hr-section .proj-grid,
  .hr-section .value-grid,
  .hr-section .stat-row,
  .hr-section .steps { grid-template-columns:1fr; }
}

/* ──── HERO (static) — namespaced .hr-hero, isolated from existing .hero/.btn ──── */
.hr-hero {
  position:relative; color:#eaf2ff; overflow:hidden;
  --hr-navy-900:#0a2240; --hr-line-dark:#1c3b60;
  --hr-green-bright:#6cc24a; --hr-green-cta:#33b14c;
  background:
    radial-gradient(820px 460px at 88% -8%, rgba(108,194,74,.16), transparent 60%),
    radial-gradient(700px 500px at 6% 120%, rgba(31,95,196,.20), transparent 55%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0/46px 46px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0/46px 46px,
    var(--hr-navy-900);
}
.hr-hero__grid { display:grid; grid-template-columns:1.06fr .94fr; gap:56px; align-items:center; padding:16px 0 48px; }
.hr-hero .eyebrow { font-family:"JetBrains Mono", ui-monospace, monospace; font-size:12.5px; letter-spacing:.22em; text-transform:uppercase; font-weight:600; color:var(--hr-green-bright); }
.hr-hero__title { font-size:clamp(40px,4.4vw,60px); line-height:1.04; letter-spacing:-.025em; font-weight:800; margin:18px 0 0; color:#fff; }
.hr-hero .accent { font-family:Fraunces, Georgia, serif; font-style:italic; font-weight:600; color:var(--hr-green-bright); }
.hr-hero__lede { margin:22px 0 0; max-width:560px; font-size:18px; line-height:1.65; color:#b8c8dd; }
.hr-hero__cta { display:flex; gap:14px; align-items:center; margin-top:32px; flex-wrap:wrap; }
.hr-hero .hbtn { display:inline-flex; align-items:center; gap:9px; font-weight:600; font-size:16px; border-radius:11px; padding:14px 24px; border:1px solid transparent; cursor:pointer; white-space:nowrap; text-decoration:none; }
.hr-hero .hbtn svg { width:18px; height:18px; }
.hr-hero .hbtn--green { background:var(--hr-green-cta); color:#fff; }
.hr-hero .hbtn--outline { background:transparent; color:#eaf2ff; border-color:rgba(255,255,255,.28); }
.hr-hero__textlink { display:inline-flex; align-items:center; gap:8px; color:#cfe0f5; font-weight:600; font-size:15px; }
.hr-hero__textlink svg { width:16px; height:16px; }
.hr-hero__badges { display:flex; gap:10px; flex-wrap:wrap; margin-top:38px; }
.hr-hero .hr-badge { font-family:"JetBrains Mono", ui-monospace, monospace; font-size:11px; letter-spacing:.12em; color:#9fb4cc; border:1px solid rgba(255,255,255,.14); border-radius:999px; padding:8px 14px; display:inline-flex; align-items:center; gap:8px; }
.hr-hero .hr-badge .dot { width:6px; height:6px; border-radius:50%; background:var(--hr-green-bright); }
.hr-hero .codecard { background:#0b203c; border:1px solid var(--hr-line-dark); border-radius:16px; box-shadow:0 30px 70px -30px rgba(0,0,0,.7); overflow:hidden; }
.hr-hero .code-bar { display:flex; align-items:center; gap:8px; padding:14px 18px; border-bottom:1px solid var(--hr-line-dark); background:#0d2547; }
.hr-hero .code-bar .d { width:11px; height:11px; border-radius:50%; }
.hr-hero .d.r { background:#ff6058; } .hr-hero .d.y { background:#ffbe2f; } .hr-hero .d.g { background:#2bca44; }
.hr-hero .code-file { margin-left:10px; font-family:"JetBrains Mono", ui-monospace, monospace; font-size:12.5px; color:#7d96b4; }
.hr-hero .code-body { font-family:"JetBrains Mono", ui-monospace, monospace; font-size:14px; line-height:2.05; padding:22px 24px; }
.hr-hero .cl { white-space:pre; }
.hr-hero .c-key { color:#6cc24a; } .hr-hero .c-str { color:#e0b15a; } .hr-hero .c-fn { color:#5aa8f0; } .hr-hero .c-com { color:#5e7799; } .hr-hero .c-pun { color:#8fa6c2; }
.hr-hero .code-foot { display:flex; align-items:center; justify-content:space-between; padding:14px 24px; border-top:1px solid var(--hr-line-dark); background:#0d2547; }
.hr-hero .chip-pass { display:inline-flex; align-items:center; gap:8px; font-family:"JetBrains Mono", ui-monospace, monospace; font-size:12px; color:#9be08a; background:rgba(108,194,74,.13); border:1px solid rgba(108,194,74,.35); border-radius:999px; padding:6px 12px; }
.hr-hero .code-foot .meta { font-family:"JetBrains Mono", ui-monospace, monospace; font-size:12px; color:#6f89a8; }
@media (max-width:1080px){
  .hr-hero__grid { grid-template-columns:1fr; gap:28px; padding:12px 0 40px; }
}

/* ========================================================= */
/*  Public mentor directory — /mentors/                      */
/* ========================================================= */
.stars { color:#f5a623; letter-spacing:1px; white-space:nowrap; }
.stars i { font-size:0.95rem; }

/* ---- Layout: filter rail + results ---- */
.mentor-layout { display:grid; grid-template-columns:250px 1fr; gap:2rem; align-items:start; margin-top:1.5rem; }

.mentor-filters { background:#fff; border:1px solid #e3e8ef; border-radius:0.9rem; padding:1.25rem; position:sticky; top:90px; }
.mentor-filters__head { display:flex; align-items:center; justify-content:space-between; margin-bottom:1rem; }
.mentor-filters__head h2 { font-size:1rem; font-weight:700; color:#0f172a; margin:0; }
.mentor-filters__clear { font-size:0.78rem; color:#1f5fc4; text-decoration:none; }
.mentor-filters__clear:hover { text-decoration:underline; }
.mentor-filters__group { padding-top:0.9rem; margin-top:0.9rem; border-top:1px solid #f1f5f9; }
.mentor-filters__group:first-of-type { padding-top:0; margin-top:0; border-top:0; }
.mentor-filters__group h3 { font-size:0.72rem; font-weight:700; text-transform:uppercase; letter-spacing:0.06em; color:#94a3b8; margin:0 0 0.6rem; }
.mentor-filters__opt { display:flex; align-items:center; gap:0.5rem; padding:0.3rem 0; font-size:0.86rem; color:#334155; cursor:pointer; }
.mentor-filters__opt input { accent-color:#1f5fc4; cursor:pointer; }
.mentor-filters__opt:hover span { color:#1f5fc4; }
.mentor-filters__any { color:#94a3b8; font-style:italic; }
.mentor-filters__apply { width:100%; margin-top:1.1rem; justify-content:center; }

.mentor-results__count { font-size:0.85rem; color:#64748b; margin:0 0 1rem; }
.mentor-results__empty { color:#94a3b8; font-style:italic; }
.mentor-results__empty a { color:#1f5fc4; }

/* ---- Cards ---- */
.mentor-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(250px, 1fr)); gap:1.5rem; }

.mentor-card { display:flex; flex-direction:column; background:#fff; border:1px solid #e3e8ef; border-radius:0.9rem; padding:1.5rem; box-shadow:0 1px 3px rgba(16,24,40,.05); transition:transform .2s ease, box-shadow .2s ease; }
.mentor-card:hover { transform:translateY(-3px); box-shadow:0 10px 24px rgba(16,24,40,.1); }
.mentor-card__top { display:flex; align-items:center; gap:0.9rem; margin-bottom:1rem; }
.mentor-card__avatar { flex:0 0 58px; width:58px; height:58px; border-radius:50%; overflow:hidden; background:linear-gradient(135deg,#1f5fc4,#3d7fe0); display:flex; align-items:center; justify-content:center; }
.mentor-card__avatar img { width:100%; height:100%; object-fit:cover; }
.mentor-card__avatar i { color:#fff; font-size:1.35rem; }
.mentor-card__id { min-width:0; }
.mentor-card__name { font-size:1.1rem; font-weight:700; margin:0 0 0.15rem; color:#0f172a; }
.mentor-card__role { font-size:0.85rem; color:#64748b; margin:0; }
.mentor-card__edu { font-size:0.85rem; color:#475569; margin:0 0 0.9rem; }
.mentor-card__edu i { color:#1f5fc4; margin-right:0.35rem; }
.mentor-card__rating { display:flex; align-items:center; gap:0.5rem; margin-bottom:1.2rem; }
.mentor-card__score { font-weight:700; color:#0f172a; font-size:0.9rem; }
.mentor-card__norating { font-size:0.82rem; color:#94a3b8; font-style:italic; }
.mentor-card__btn { margin-top:auto; align-self:flex-start; }

/* ---- Detail page ---- */
.mentor-detail { display:grid; grid-template-columns:300px 1fr; gap:2.5rem; align-items:start; margin-top:1.5rem; }
.mentor-detail__aside { background:#fff; border:1px solid #e3e8ef; border-radius:0.9rem; padding:1.75rem; text-align:center; position:sticky; top:90px; }
.mentor-detail__avatar { width:110px; height:110px; margin:0 auto 1rem; border-radius:50%; overflow:hidden; background:linear-gradient(135deg,#1f5fc4,#3d7fe0); display:flex; align-items:center; justify-content:center; }
.mentor-detail__avatar img { width:100%; height:100%; object-fit:cover; }
.mentor-detail__avatar i { color:#fff; font-size:2.6rem; }
.mentor-detail__rating { display:flex; align-items:center; justify-content:center; gap:0.4rem; flex-wrap:wrap; margin-bottom:1.25rem; font-size:0.95rem; }
.mentor-detail__count { color:#64748b; font-size:0.82rem; }
.mentor-detail__facts { list-style:none; padding:0; margin:0; text-align:left; }
.mentor-detail__facts li { font-size:0.87rem; color:#475569; padding:0.5rem 0; border-top:1px solid #f1f5f9; }
.mentor-detail__facts li i { color:#1f5fc4; width:18px; margin-right:0.4rem; }
.mentor-detail__h { font-size:1.25rem; font-weight:700; color:#0f172a; margin:2rem 0 1rem; }
.mentor-detail__h:first-child { margin-top:0; }
.mentor-detail__bio { color:#475569; line-height:1.7; }
.mentor-detail__tags { display:flex; flex-wrap:wrap; gap:0.5rem; }
.mentor-detail__empty { color:#94a3b8; font-style:italic; }

/* ---- Rating form ---- */
.mentor-rate-form { background:#f8fafc; border:1px solid #e3e8ef; border-radius:0.75rem; padding:1.25rem; }
.mentor-rate-form__stars { margin-bottom:1rem; }
.mentor-rate-form__stars ul { list-style:none; padding:0; margin:0; display:flex; flex-wrap:wrap; gap:1rem; }
.mentor-rate-form__stars label { font-size:0.88rem; color:#334155; cursor:pointer; display:inline-flex; align-items:center; gap:0.3rem; }
.mentor-rate-form textarea { width:100%; border:1px solid #cbd5e1; border-radius:0.5rem; padding:0.65rem 0.8rem; font-family:inherit; font-size:0.9rem; resize:vertical; }

/* ---- Reviews ---- */
.mentor-reviews { display:grid; gap:1rem; }
.mentor-review { background:#fff; border:1px solid #e3e8ef; border-left:3px solid #1f5fc4; border-radius:0.6rem; padding:1.1rem 1.25rem; margin:0; }
.mentor-review p { color:#334155; margin:0.5rem 0; line-height:1.6; }
.mentor-review cite { font-size:0.83rem; color:#64748b; font-style:normal; }

@media (max-width:860px){
  .mentor-layout { grid-template-columns:1fr; gap:1.25rem; }
  .mentor-filters { position:static; }
  .mentor-detail { grid-template-columns:1fr; gap:1.75rem; }
  .mentor-detail__aside { position:static; }
}

/* ========================================================= */
/*  Mentor course-builder — two-column layout                */
/* ========================================================= */
.builder { display:grid; grid-template-columns:minmax(300px, 26%) 1fr; gap:1.75rem; align-items:start; }

/* ---- Left rail ---- */
.builder__rail { background:#fff; border:1px solid #e3e8ef; border-radius:0.9rem; padding:1rem; position:sticky; top:84px; max-height:calc(100vh - 110px); overflow-y:auto; }
.builder__rail-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:0.75rem; }

/* ---- "How to build your course" help panel ---- */
.rail-help__btn { cursor:pointer; list-style:none; border-radius:0.4rem; }
.rail-help__btn::-webkit-details-marker { display:none; }
.rail-help__btn::marker { content:""; }
.rail-help__btn:hover .rail-help__icon { background:#eef2f7; color:#1f5fc4; }
.rail-help__icon { display:inline-flex; align-items:center; justify-content:center; width:22px; height:22px; border-radius:50%; color:#64748b; font-size:0.85rem; flex:0 0 auto; transition:background .12s ease, color .12s ease; }
.rail-help[open] .rail-help__icon { background:rgba(31,95,196,.1); color:#1f5fc4; }
.rail-help__panel { margin-top:0.65rem; margin-bottom:0.9rem; background:#f8fafc; border:1px solid #e3e8ef; border-radius:0.7rem; padding:0.9rem 1rem; font-size:0.82rem; line-height:1.5; }
.rail-help__panel h3 { font-size:0.9rem; font-weight:700; color:#0f172a; margin:0 0 0.5rem; }
.rail-help__lead { color:#475569; margin:0 0 0.85rem; }
.rail-help__list { margin:0; }
.rail-help__list dt { display:flex; align-items:center; gap:0.4rem; font-weight:700; color:#0f172a; margin-top:0.7rem; }
.rail-help__list dt:first-child { margin-top:0; }
.rail-help__list dt i { color:#1f5fc4; font-size:0.75rem; width:14px; }
.rail-help__list dd { margin:0.15rem 0 0 1.15rem; color:#475569; }
.rail-help__tip { margin:0.9rem 0 0; padding-top:0.7rem; border-top:1px solid #f1f5f9; color:#475569; }
.rail-help__tip i { color:#f5a623; margin-right:0.3rem; }
.builder__rail-head h2 { font-size:0.75rem; font-weight:700; text-transform:uppercase; letter-spacing:0.06em; color:#64748b; margin:0; }
.builder__rail-add { width:100%; justify-content:center; margin-top:0.9rem; }

/* ---- Outline tree ---- */
.outline { font-size:0.85rem; }
.outline__row { display:flex; align-items:flex-start; gap:0.15rem; }
.outline__toggle { flex:0 0 18px; width:18px; height:18px; margin-top:0.28rem; display:inline-flex; align-items:center; justify-content:center; border:0; background:none; padding:0; cursor:pointer; color:#64748b; font-size:0.62rem; }
.outline__toggle i { transition:transform .15s ease; }
.outline__toggle:disabled { opacity:0.25; cursor:default; }
.outline__link { flex:1; display:flex; gap:0.45rem; align-items:baseline; padding:0.32rem 0.45rem; border-radius:0.4rem; color:#334155; text-decoration:none; min-width:0; }
.outline__link:hover { background:#f1f5f9; color:#1f5fc4; }
.outline__link.is-active { background:rgba(31,95,196,.09); color:#1f5fc4; font-weight:600; }
.outline__num { flex:0 0 auto; font-family:"JetBrains Mono", ui-monospace, monospace; font-size:0.72rem; color:#64748b; }
.outline__grip { cursor:grab; padding:0.1rem 0.2rem; border-radius:0.25rem; user-select:none; margin-top:0.28rem; }
.outline__grip:hover { background:#eef2f7; color:#1f5fc4; }
.outline__grip:active { cursor:grabbing; }
.outline__actions { display:flex; align-items:center; gap:0.1rem; flex:0 0 auto; margin-top:0.15rem; opacity:0.25; transition:opacity .12s ease; }
.outline__actions form { margin:0; }
.outline__row:hover .outline__actions, .outline__row:focus-within .outline__actions { opacity:1; }
.outline__act { display:inline-flex; align-items:center; justify-content:center; width:22px; height:22px; padding:0; border:0; background:none; border-radius:0.3rem; color:#64748b; font-size:0.7rem; cursor:pointer; text-decoration:none; }
.outline__act:hover { background:#eef2f7; color:#1f5fc4; }
.outline__act--danger:hover { background:rgba(212,60,60,.1); color:#d43c3c; }
.outline__title { overflow-wrap:anywhere; line-height:1.35; }
.outline__children { display:none; margin-left:0.85rem; padding-left:0.5rem; border-left:1px solid #eef2f7; }
.outline__module.is-open > .outline__children,
.outline__lesson.is-open > .outline__children { display:block; }
.outline__module.is-open > .outline__row > .outline__toggle i,
.outline__lesson.is-open > .outline__row > .outline__toggle i { transform:rotate(90deg); }
.outline__module > .outline__row > .outline__link { font-weight:600; color:#0f172a; }
.outline__slide > .outline__row > .outline__link { font-size:0.82rem; color:#64748b; }
.outline__empty { color:#94a3b8; font-size:0.82rem; font-style:italic; margin:0; }

/* ---- Right panel ---- */
.builder__panel { display:grid; gap:1rem; min-width:0; }

/* ---- Collapsible panels ---- */
.panel { background:#fff; border:1px solid #e3e8ef; border-radius:0.9rem; overflow:hidden; }
.panel__summary { display:flex; align-items:center; gap:0.6rem; padding:0.95rem 1.15rem; cursor:pointer; user-select:none; list-style:none; }
.panel__summary::-webkit-details-marker { display:none; }
.panel__summary::marker { content:""; }
.panel__summary:hover { background:#f8fafc; }
.panel__caret { font-size:0.7rem; color:#64748b; transition:transform .15s ease; }
.panel[open] .panel__caret { transform:rotate(90deg); }
.panel__title { font-weight:700; color:#0f172a; font-size:0.98rem; }
.panel__hint { margin-left:auto; font-size:0.78rem; color:#64748b; }
.panel__body { padding:1.15rem; border-top:1px solid #f1f5f9; }
.panel .enroll__form { background:transparent; border:0; padding:0; margin:0; }

/* ---- Generic builder list ---- */
.builder-list { list-style:none; padding:0; margin:0; display:grid; gap:0.6rem; }
.builder-list__item { display:flex; gap:0.8rem; align-items:center; padding:0.85rem 1rem; border:1px solid #e3e8ef; border-radius:0.7rem; background:#fff; }
.builder-list__num { font-family:"JetBrains Mono", ui-monospace, monospace; font-size:0.8rem; color:#64748b; flex:0 0 1.6rem; }
.builder-list__body { flex:1; min-width:0; }
.builder-list__title { color:inherit; font-weight:600; text-decoration:none; }
.builder-list__title:hover { color:#1f5fc4; }
.builder-list__meta { margin:0.2rem 0 0; font-size:0.82rem; color:#64748b; }

/* ---- Course features ---- */
.feature-list { list-style:none; padding:0; margin:0 0 1rem; display:grid; gap:0.5rem; }
.feature-list__item { display:flex; gap:0.8rem; align-items:center; padding:0.75rem 1rem; border:1px solid #e3e8ef; border-radius:0.65rem; background:#fff; }
.feature-list__icon { width:26px; display:inline-flex; justify-content:center; color:#1f7a1b; }
.feature-list__text { flex:1; }
.feature-list__code { font-size:0.72rem; color:#64748b; background:#f1f4f8; padding:0.15rem 0.45rem; border-radius:6px; }
.feature-list__empty { padding:0.6rem 0.95rem; color:#64748b; font-size:0.88rem; font-style:italic; }
.feature-add { display:grid; grid-template-columns:1fr 200px auto; gap:0.5rem; }
.feature-add input { margin:0; }
.feature-add__icon { font-family:"JetBrains Mono", ui-monospace, monospace; font-size:0.85rem; }

/* ---- Module cards ---- */
.course-toc__module { border:1px solid #e3e8ef; border-radius:0.75rem; padding:0.95rem 1.05rem; background:#fff; }
.course-toc__head { display:flex; align-items:center; gap:0.8rem; }
.course-toc__title { margin:0; flex:1; font-size:1rem; }
.course-toc__num { font-family:"JetBrains Mono", ui-monospace, monospace; color:#64748b; margin-right:0.35rem; }
.course-toc__desc { opacity:0.75; font-size:0.88rem; margin:0.5rem 0 0 2.4rem; }
.course-toc__meta { font-size:0.83rem; color:#64748b; margin:0.5rem 0 0 2.4rem; }

.page-header--compact { padding:2rem 0 1.6rem; }

@media (max-width:1100px){
  .builder { grid-template-columns:minmax(280px, 32%) 1fr; }
}
@media (max-width:900px){
  .builder { grid-template-columns:1fr; gap:1.25rem; }
  .builder__rail { position:static; max-height:none; }
}
@media (max-width:700px){
  .feature-add { grid-template-columns:1fr; }
  .feature-list__code { display:none; }
}

/* ========================================================= */
/*  Internships                                       */
/* ========================================================= */
.internship-form__h { font-size:1.05rem; font-weight:700; color:#0f172a; margin:1.75rem 0 0.9rem; }
.internship-form__h:first-child { margin-top:0; }

.internship-note { background:#f8fafc; border:1px solid #e3e8ef; border-left:3px solid #1f5fc4; border-radius:0.6rem; padding:0.9rem 1.1rem; margin-bottom:1.25rem; }
.internship-note p { margin:0.35rem 0 0; color:#475569; font-size:0.88rem; }
.internship-note--warn { border-left-color:#d97706; }

.internship-courses { max-height:220px; overflow-y:auto; border:1px solid #e3e8ef; border-radius:0.5rem; padding:0.65rem 0.85rem; }
.internship-courses ul { list-style:none; padding:0; margin:0; }
.internship-courses label { display:flex; align-items:center; gap:0.5rem; padding:0.25rem 0; font-size:0.88rem; cursor:pointer; }

.internship-list { list-style:none; padding:0; margin:0; display:grid; gap:0.75rem; }
.internship-list__item { display:flex; align-items:center; gap:1rem; flex-wrap:wrap; background:#fff; border:1px solid #e3e8ef; border-radius:0.75rem; padding:1rem 1.15rem; }
.internship-list__main { flex:1; min-width:260px; }
.internship-list__head { display:flex; align-items:center; gap:0.6rem; flex-wrap:wrap; }
.internship-list__title { font-weight:700; color:#0f172a; text-decoration:none; }
.internship-list__title:hover { color:#1f5fc4; }
.internship-list__meta { margin:0.3rem 0 0; font-size:0.84rem; color:#64748b; }
.internship-list__note { margin:0.5rem 0 0; font-size:0.84rem; color:#92400e; background:#fffbeb; border-radius:0.4rem; padding:0.4rem 0.6rem; }

.internship-badge { font-size:0.7rem; font-weight:700; text-transform:uppercase; letter-spacing:0.04em; padding:0.18rem 0.55rem; border-radius:999px; background:#f1f5f9; color:#64748b; }
.internship-badge--approved { background:#dcfce7; color:#166534; }
.internship-badge--submitted { background:#fef3c7; color:#92400e; }
.internship-badge--rejected { background:#fee2e2; color:#991b1b; }

.internship-card__facts { display:grid; gap:0.25rem; margin:0.75rem 0; font-size:0.82rem; color:#64748b; }
.internship-card__facts i { width:15px; color:#1f5fc4; }

.internship-facts { list-style:none; padding:0; margin:0 0 1.25rem; }
.internship-facts li { font-size:0.88rem; color:#475569; padding:0.5rem 0; border-bottom:1px solid #f1f5f9; }
.internship-facts li i { width:18px; color:#1f5fc4; margin-right:0.4rem; }

.internship-mentor { background:#f8fafc; border-radius:0.6rem; padding:0.9rem 1rem; margin-bottom:1.25rem; }
.internship-mentor h3 { font-size:0.72rem; text-transform:uppercase; letter-spacing:0.06em; color:#64748b; margin:0 0 0.4rem; }
.internship-mentor__name { font-weight:700; color:#0f172a; margin:0; }
.internship-mentor__role { font-size:0.84rem; color:#64748b; margin:0.15rem 0 0.6rem; }

.internship-review__table { width:100%; border-collapse:collapse; font-size:0.88rem; }
.internship-review__table th, .internship-review__table td { text-align:left; padding:0.45rem 0; border-bottom:1px solid #f1f5f9; vertical-align:top; }
.internship-review__table th { width:160px; color:#64748b; font-weight:600; }

.field-error { color:#d43c3c; display:block; }

/* ========================================================= */
/*  Student lesson player                                    */
/* ========================================================= */
.learn-rail__progress { margin:0.6rem 0 0.9rem; }
.learn-rail__bar { height:6px; background:#eef2f7; border-radius:3px; overflow:hidden; }
.learn-rail__fill { height:100%; background:#1f7a1b; border-radius:3px; transition:width .3s ease; }
.learn-rail__pct { display:block; margin-top:0.35rem; font-size:0.75rem; color:#64748b; }

.learn-outline .outline__link--locked { color:#94a3b8; cursor:not-allowed; text-decoration:none; }
.learn-outline .outline__link--locked:hover { background:transparent; color:#94a3b8; }
.learn-outline .outline__link--static { cursor:default; }
.learn-outline .outline__link--static:hover { background:transparent; color:inherit; }
.learn-outline .outline__module.is-done > .outline__row > .outline__num,
.learn-outline .outline__lesson.is-done > .outline__row > .outline__num { color:#1f7a1b; }

.learn-badge { display:inline-flex; align-items:center; gap:0.25rem; margin-left:auto; margin-top:0.2rem; flex:0 0 auto; }
.learn-badge__done { color:#1f7a1b; font-size:0.78rem; }
.learn-badge__lock { color:#cbd5e1; font-size:0.7rem; }
.learn-badge__count { font-family:"JetBrains Mono", ui-monospace, monospace; font-size:0.68rem; color:#64748b; background:#f1f5f9; border-radius:999px; padding:0.05rem 0.4rem; }

.slide-panel__head { display:flex; align-items:center; gap:0.8rem; padding:0.8rem 1.15rem; border-bottom:1px solid #f1f5f9; }
.slide-panel__bar { flex:1; height:6px; background:#eef2f7; border-radius:3px; overflow:hidden; }
.slide-panel__fill { height:100%; background:#1f7a1b; border-radius:3px; transition:width .25s ease; }
.slide-panel__count { font-family:"JetBrains Mono", ui-monospace, monospace; font-size:0.78rem; color:#64748b; flex:0 0 auto; }

.slide-deck__nav { display:flex; align-items:center; gap:0.8rem; margin-top:1.5rem; padding-top:1.1rem; border-top:1px solid #f1f5f9; }
.slide-deck__nav .slide-deck__status { margin:0 auto; }
.slide-deck__status { font-size:0.82rem; color:#64748b; }
.slide-deck__status.is-done { color:#1f7a1b; }
.slide-deck__status.is-error { color:#d43c3c; }

.lesson-foot { display:flex; align-items:center; justify-content:space-between; gap:0.8rem; margin-top:1rem; }
.btn-cm.is-disabled { opacity:0.45; cursor:not-allowed; pointer-events:auto; }

/* ========================================================= */
/*  Mentor profile — 3-section form                          */
/* ========================================================= */
.prof-section { margin-bottom:1rem; }
.prof-section__num { display:inline-flex; align-items:center; justify-content:center; width:22px; height:22px; border-radius:50%; background:#1f5fc4; color:#fff; font-size:0.72rem; font-weight:700; flex:0 0 auto; }
.prof-hint { font-size:0.85rem; color:#475569; margin:0 0 1rem; }

/* ---- Education filter ---- */
.edu-filter { display:flex; align-items:center; gap:0.5rem; flex-wrap:wrap; margin-bottom:1.1rem; padding-bottom:1rem; border-bottom:1px solid #f1f5f9; }
.edu-filter__label { font-size:0.78rem; font-weight:700; text-transform:uppercase; letter-spacing:0.05em; color:#64748b; margin-right:0.15rem; }
.edu-filter__label i { color:#1f5fc4; margin-right:0.25rem; }
.edu-filter .cat-chip { font-size:0.8rem; padding:0.3rem 0.7rem; cursor:pointer; border:1px solid #e3e8ef; background:#fff; border-radius:999px; }
.edu-filter .cat-chip.is-active { background:#1f5fc4; color:#fff; border-color:#1f5fc4; }

/* ---- Education rows ---- */
.edu-row { border:1px solid #e3e8ef; border-radius:0.75rem; padding:1.1rem 1.15rem; margin-bottom:0.9rem; background:#fff; }
.edu-row.is-removed { opacity:0.45; background:#fef2f2; border-color:#fecaca; }
.edu-row__head { display:flex; align-items:flex-end; gap:0.8rem; margin-bottom:0.9rem; padding-bottom:0.9rem; border-bottom:1px solid #f1f5f9; }
.edu-row__badge { display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px; border-radius:50%; background:#f1f5f9; color:#64748b; font-family:"JetBrains Mono", ui-monospace, monospace; font-size:0.78rem; flex:0 0 auto; margin-bottom:0.35rem; }
.edu-row__level { flex:1; min-width:0; }
.edu-row__level label { display:block; font-size:0.82rem; font-weight:600; margin-bottom:0.25rem; }
.edu-row__level select { width:100%; }
.edu-row__del { display:inline-flex; align-items:center; gap:0.35rem; font-size:0.8rem; color:#d43c3c; cursor:pointer; flex:0 0 auto; margin-bottom:0.4rem; white-space:nowrap; }
.edu-row__marks { display:grid; grid-template-columns:repeat(5, 1fr); gap:0.6rem; }
.edu-row label { font-size:0.82rem; }

@media (max-width:820px){
  .edu-row__marks { grid-template-columns:repeat(2, 1fr); }
}
@media (max-width:520px){
  .edu-row__marks { grid-template-columns:1fr; }
  .edu-row__head { flex-wrap:wrap; }
}

/* ---- Phone input with fixed +91 prefix ---- */
.phone-input { display:flex; align-items:stretch; }
.phone-input__code { display:inline-flex; align-items:center; padding:0 0.7rem; background:#f1f5f9; border:1px solid #cbd5e1; border-right:0; border-radius:0.5rem 0 0 0.5rem; font-weight:600; color:#334155; font-size:0.9rem; white-space:nowrap; }
.phone-input input { border-radius:0 0.5rem 0.5rem 0 !important; margin:0 !important; flex:1; min-width:0; letter-spacing:0.04em; }
.phone-input__hint { display:block; margin-top:0.25rem; font-size:0.78rem; color:#64748b; }
.phone-input__hint.is-error { color:#d43c3c; }
.phone-input__hint.is-ok { color:#1f7a1b; }
select:disabled { background:#f8fafc; color:#94a3b8; cursor:not-allowed; }

/* ---- KYC (Aadhaar / PAN) block ---- */
.kyc-head { display:flex; align-items:center; gap:0.45rem; font-size:0.95rem; font-weight:700; color:#0f172a; margin:1.6rem 0 0.4rem; padding-top:1.1rem; border-top:1px solid #f1f5f9; }
.kyc-head i { color:#1f5fc4; font-size:0.85rem; }
.kyc-note { font-size:0.82rem; color:#475569; background:#f8fafc; border-left:3px solid #1f5fc4; border-radius:0.4rem; padding:0.5rem 0.75rem; margin:0 0 1rem; }
.kyc-note i { color:#1f5fc4; margin-right:0.3rem; }
.kyc-onfile { color:#1f7a1b; }
#aadhaarHint.is-error, #panHint.is-error { color:#d43c3c; }
#aadhaarHint.is-ok, #panHint.is-ok { color:#1f7a1b; }
#id_aadhaar_number { letter-spacing:0.08em; font-family:"JetBrains Mono", ui-monospace, monospace; }
#id_pan_number { letter-spacing:0.08em; font-family:"JetBrains Mono", ui-monospace, monospace; text-transform:uppercase; }

/* ---- Profile picture field ---- */
.avatar-field { display:flex; align-items:center; gap:1rem; margin-bottom:1.1rem; padding-bottom:1.1rem; border-bottom:1px solid #f1f5f9; }
.avatar-field__preview { flex:0 0 84px; width:84px; height:84px; border-radius:50%; overflow:hidden; background:linear-gradient(135deg,#1f5fc4,#3d7fe0); display:flex; align-items:center; justify-content:center; }
.avatar-field__preview img { width:100%; height:100%; object-fit:cover; }
.avatar-field__preview i { color:#fff; font-size:1.9rem; }
.avatar-field__body { flex:1; min-width:0; }
.avatar-field__body label { display:block; font-size:0.82rem; font-weight:600; margin-bottom:0.3rem; }
.avatar-field__body small { display:block; margin-top:0.25rem; color:#64748b; font-size:0.78rem; }
@media (max-width:520px){
  .avatar-field { flex-direction:column; align-items:flex-start; }
}

/* Internship category badges + the Basic -> Standard -> Premium ladder. */
.internship-badge--cat-basic { background: #eef2ff; color: #3730a3; }
.internship-badge--cat-standard { background: #e0f2fe; color: #075985; }
.internship-badge--cat-premium { background: #f3e8ff; color: #6b21a8; }

.ladder {
  border: 1px solid #e3e8ef;
  border-radius: 0.6rem;
  padding: 1rem 1.15rem;
  margin-bottom: 1.5rem;
  background: #fff;
}
.ladder__title { font-size: 0.95rem; font-weight: 700; margin: 0 0 0.75rem; }
.ladder__rungs { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.ladder__rung {
  display: grid;
  grid-template-columns: 1.25rem auto;
  align-items: center;
  gap: 0 0.5rem;
  font-size: 0.88rem;
}
.ladder__rung.is-open { color: #166534; }
.ladder__rung.is-locked { color: #64748b; }
.ladder__label { font-weight: 600; }
.ladder__why { grid-column: 2; font-size: 0.78rem; color: #64748b; }

/* Read-only internship price panel on the mentor form. */
.pricebox {
  border: 1px solid #e3e8ef;
  border-radius: 0.6rem;
  padding: 0.9rem 1rem;
  margin-bottom: 1.25rem;
  background: #f8fafc;
}
.pricebox__head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.6rem;
}
.pricebox__head i { color: #1f5fc4; }
.pricebox__table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.pricebox__table td { padding: 0.3rem 0; color: #475569; }
.pricebox__table td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.pricebox__total td {
  border-top: 1px solid #e3e8ef;
  padding-top: 0.5rem;
  font-weight: 700;
  color: #0f172a;
}
.pricebox__none { margin: 0; font-size: 0.85rem; color: #b45309; }

/* Student internship plan chooser. */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.plan-grid__all { margin-top: 1.5rem; text-align: center; font-size: 0.92rem; color: #64748b; }
.plan-card {
  display: flex; flex-direction: column;
  border: 1px solid #e3e8ef; border-top: 4px solid #1f5fc4;
  border-radius: 0.8rem; padding: 1.5rem 1.35rem; background: #fff;
  text-decoration: none; color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.plan-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(15,23,42,0.1); }
.plan-card.is-empty { opacity: 0.72; }
.plan-card--basic { border-top-color: #6366f1; }
.plan-card--standard { border-top-color: #0ea5e9; }
.plan-card--premium { border-top-color: #a855f7; }
.plan-card__name {
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: #64748b;
}
.plan-card__price {
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: 0.4rem; margin: 0.35rem 0 1rem;
}
.plan-card__amount { font-size: 2rem; font-weight: 800; color: #0f172a; line-height: 1.1; }
.plan-card__gst { font-size: 0.85rem; font-weight: 600; color: #64748b; }
.plan-card__star { color: #1f5fc4; font-weight: 700; }
.plan-grid__note { margin-top: 1.25rem; font-size: 0.8rem; color: #64748b; }
.plan-card__points { list-style: none; padding: 0; margin: 0 0 1rem; font-size: 0.85rem; color: #475569; }
.plan-card__points li { display: flex; gap: 0.45rem; align-items: flex-start; padding: 0.22rem 0; }
.plan-card__points i { color: #16a34a; font-size: 0.72rem; margin-top: 0.32rem; }
.plan-card__count { font-size: 0.82rem; font-weight: 600; color: #1f5fc4; margin-top: auto; }
.plan-card__cta {
  display: flex; align-items: center; gap: 0.4rem;
  margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid #f1f5f9;
  font-size: 0.88rem; font-weight: 600; color: #0f172a;
}

/* Internship browse: search on top, facets down the left. */
.browse {
  display: grid;
  grid-template-columns: minmax(220px, 260px) 1fr;
  grid-template-areas: "search search" "filters results";
  gap: 1.5rem; align-items: start;
}
@media (max-width: 860px) {
  .browse {
    grid-template-columns: 1fr;
    grid-template-areas: "search" "filters" "results";
    gap: 1.1rem;
  }
}
.browse__search { grid-area: search; display: flex; gap: 0.6rem; margin-bottom: 0.25rem; }
.browse__search-box {
  flex: 1; display: flex; align-items: center; gap: 0.6rem;
  padding: 0 0.9rem; border: 1px solid #e3e8ef; border-radius: 0.6rem; background: #fff;
}
.browse__search-box i { color: #64748b; font-size: 0.9rem; }
.browse__search-box input {
  flex: 1; border: 0; outline: 0; background: none; padding: 0.75rem 0;
  font-size: 0.95rem; color: #0f172a;
}
.browse__search-box input::placeholder { color: #94a3b8; }
.browse__search-box:focus-within {
  border-color: #1f5fc4; box-shadow: 0 0 0 3px rgba(31, 95, 196, 0.12);
}
.browse__filters {
  grid-area: filters; background: #fff; border: 1px solid #e3e8ef;
  border-radius: 0.8rem; padding: 0.35rem 1rem 1rem;
  position: sticky; top: 84px; max-height: calc(100vh - 110px); overflow-y: auto;
}
@media (max-width: 860px) {
  .browse__filters { position: static; max-height: none; }
}
.browse__filters-head {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 0.85rem 0 0.35rem;
}
.browse__filters-head h2 {
  margin: 0; font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: #64748b;
}
.browse__clear { font-size: 0.78rem; color: #1f5fc4; text-decoration: none; }
.browse__clear:hover { text-decoration: underline; }
.browse__apply { margin-top: 0.9rem; }
.browse__results { grid-area: results; min-width: 0; }
.browse__count { margin: 0 0 1rem; font-size: 0.88rem; color: #64748b; }
.browse__count strong { color: #0f172a; }

.facet { border-top: 1px solid #f1f5f9; }
.facet__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 0; cursor: pointer; list-style: none;
  font-size: 0.85rem; font-weight: 700; color: #0f172a;
}
.facet__head::-webkit-details-marker { display: none; }
.facet__head::marker { content: ""; }
.facet__caret { font-size: 0.65rem; color: #64748b; transition: transform 0.15s ease; }
.facet[open] .facet__caret { transform: rotate(180deg); }
.facet__body { padding-bottom: 0.7rem; display: flex; flex-direction: column; gap: 0.1rem; }
.facet__body--scroll { max-height: 260px; overflow-y: auto; }
.facet__group {
  margin: 0.5rem 0 0.15rem; font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em; color: #94a3b8;
}
.facet__opt {
  display: flex; align-items: center; gap: 0.55rem;
  padding: 0.34rem 0.4rem; margin: 0 -0.4rem; border-radius: 0.35rem;
  font-size: 0.86rem; color: #334155; cursor: pointer;
}
.facet__opt:hover { background: #f8fafc; }
.facet__opt input {
  width: 15px; height: 15px; accent-color: #1f5fc4; flex: 0 0 auto; cursor: pointer;
}
.facet__opt:has(input:checked) { color: #0f172a; font-weight: 600; }
.facet__none { margin: 0.2rem 0 0.6rem; font-size: 0.8rem; color: #94a3b8; }

.internship-empty { padding: 2rem 1rem; text-align: center; color: #64748b; }
.internship-empty p { margin: 0 0 0.4rem; }
.internship-empty strong { color: #0f172a; }

/* AI assistant panel in the course builder. */
.panel--ai { border-color: rgba(31, 95, 196, 0.35); }
.panel--ai .panel__title i { color: #1f5fc4; }
.ai-note { font-size: 0.85rem; line-height: 1.5; color: #475569; margin: 0 0 0.9rem; }
.ai-note--warn {
  background: #fffbeb; border-left: 3px solid #f5a623;
  padding: 0.6rem 0.75rem; border-radius: 0.3rem;
}
.ai-note--warn i { color: #b45309; }
.ai-note--blocked {
  background: #f8fafc; border-left: 3px solid #64748b;
  padding: 0.6rem 0.75rem; border-radius: 0.3rem; margin: 0;
}
.ai-step {
  margin-top: 1.4rem; padding-top: 1.2rem;
  border-top: 1px dashed rgba(31, 95, 196, 0.3);
}
.ai-step__title {
  margin: 0 0 0.7rem; font-size: 0.95rem; font-weight: 700; color: #0f172a;
}
.ai-step__title i { color: #1f5fc4; margin-right: 0.4rem; }
.ai-status {
  margin-top: 0.85rem; padding: 0.65rem 0.8rem; border-radius: 0.4rem;
  font-size: 0.85rem; line-height: 1.5;
}
.ai-status i { margin-right: 0.35rem; }
.ai-status--busy  { background: #eff6ff; color: #1e40af; }
.ai-status--ok    { background: #dcfce7; color: #166534; }
.ai-status--warn  { background: #fffbeb; color: #92400e; }
.ai-status--error { background: #fee2e2; color: #991b1b; }

/* Scroll-triggered "load more" sentinel at the end of a lazy grid. */
.lazy-sentinel {
  grid-column: 1 / -1; display: flex; justify-content: center;
  padding: 1.25rem 0 0.25rem; min-height: 2.5rem;
}
.lazy-sentinel__more {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1.2rem; border: 1px solid #e3e8ef; border-radius: 999px;
  background: #fff; color: #1f5fc4; font-size: 0.88rem; font-weight: 600;
  text-decoration: none;
}
.lazy-sentinel__more:hover { background: #f8fafc; }
.lazy-sentinel__spinner { color: #64748b; font-size: 0.88rem; }

/* Account menu — avatar in the top-right corner. A <details>, so it works
   without JavaScript; the script only adds click-outside-to-close. */
.usermenu { position: relative; flex: 0 0 auto; }
.usermenu__trigger {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.2rem 0.45rem 0.2rem 0.2rem; border-radius: 999px;
  cursor: pointer; list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.usermenu__trigger::-webkit-details-marker { display: none; }
.usermenu__trigger::marker { content: ""; }
.usermenu__trigger:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}
.usermenu[open] .usermenu__trigger {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
}
.usermenu__avatar {
  width: 34px; height: 34px; border-radius: 50%; object-fit: cover;
  display: block; flex: 0 0 auto; background: #7CE38B;
}
.usermenu__avatar--initials {
  display: inline-flex; align-items: center; justify-content: center;
  color: #0E2E55; font-weight: 700; font-size: 0.95rem; line-height: 1;
}
.usermenu__caret {
  font-size: 0.6rem; color: rgba(255, 255, 255, 0.7);
  transition: transform 0.15s ease;
}
.usermenu[open] .usermenu__caret { transform: rotate(180deg); }
.usermenu__panel {
  position: absolute; top: calc(100% + 0.5rem); right: 0; min-width: 210px;
  background: #fff; border-radius: 0.7rem;
  box-shadow: 0 12px 32px rgba(11, 18, 32, 0.28);
  padding: 0.4rem; z-index: 200;
}
.usermenu__who {
  padding: 0.6rem 0.75rem 0.7rem; border-bottom: 1px solid #f1f5f9;
  margin-bottom: 0.3rem; display: flex; flex-direction: column; gap: 0.1rem;
  overflow: hidden;
}
.usermenu__who strong {
  color: #0f172a; font-size: 0.9rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.usermenu__who span { color: #64748b; font-size: 0.75rem; }
.usermenu__item {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.55rem 0.75rem; border-radius: 0.45rem;
  color: #334155; font-size: 0.88rem; text-decoration: none;
}
.usermenu__item i { width: 16px; text-align: center; color: #64748b; }
.usermenu__item:hover { background: #f1f5f9; color: #0E2E55; }
.usermenu__item--danger { color: #b91c1c; }
.usermenu__item--danger i { color: #b91c1c; }
.usermenu__item--danger:hover { background: #fee2e2; color: #991b1b; }

@media (max-width: 1400px) { .cm-navbar__links { gap: 1.1rem; } }
@media (max-width: 992px) {
  .usermenu { margin-left: auto; margin-right: 0.5rem; }
}

/* The bar spans the window rather than the 1240px reading column the page
   body uses. A header is furniture, not prose. */
.cm-navbar > .container { max-width: 1600px; }

/* Tight-header compression: between "stops fitting" and "moves to the bottom
   bar", the buttons give up room rather than the nav labels. */
@media (min-width: 993px) and (max-width: 1500px) {
  .cm-navbar__cta { padding: 0.6rem 0.85rem; font-size: 0.82rem; gap: 0.4rem; }
}
@media (min-width: 993px) and (max-width: 1400px) {
  /* The nav already has a Home link — this button is a duplicate, and the
     cheapest thing in the row to give up. */
  .cm-navbar .home-cta { display: none; }
}
@media (min-width: 993px) and (max-width: 1250px) {
  /* Icons only. Each button keeps its title, and the label stays in the
     accessibility tree rather than being deleted. */
  .cm-navbar__cta { padding: 0.6rem 0.75rem; gap: 0; }
  .cm-navbar__cta-label {
    position: absolute; width: 1px; height: 1px;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
  .cm-navbar__cta i { font-size: 1rem; }
  .cm-navbar__actions { gap: 0.3rem; }
}


/* ── Legal notice (privacy) ─────────────────────────────────────────────
   Long-form statutory prose. Measure is capped well below the container so
   it stays readable; tables scroll inside their own box rather than pushing
   the page sideways. */
.legal-notice { max-width: 72ch; }
.legal-notice h2 {
  margin-top: 2.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 1.35rem;
}
.legal-notice h3 { margin-top: 1.8rem; font-size: 1.05rem; }
.legal-notice__meta { font-size: 0.85rem; opacity: 0.75; }
.legal-notice__meta code { font-size: 0.8rem; }

/* A statement the reader should not skim past — used where we are telling
   them something against our own interest. */
.legal-notice__callout {
  margin: 1.4rem 0;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--cm-primary, #1f6feb);
  background: rgba(31, 111, 235, 0.06);
  border-radius: 0 6px 6px 0;
}

.legal-notice__table-wrap { overflow-x: auto; }
.legal-notice__table {
  width: 100%;
  margin: 1rem 0 1.6rem;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.legal-notice__table th,
.legal-notice__table td {
  padding: 0.6rem 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  text-align: left;
  vertical-align: top;
}
.legal-notice__table th { background: rgba(0, 0, 0, 0.04); font-weight: 600; }

.legal-notice__rights { margin: 1rem 0 1.6rem; }
.legal-notice__rights dt { font-weight: 600; margin-top: 1rem; }
.legal-notice__rights dd { margin: 0.3rem 0 0 0; padding-left: 1rem;
                           border-left: 2px solid rgba(0, 0, 0, 0.08); }

/* Consent line under the footer newsletter form. */
.cm-footer__consent {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  line-height: 1.5;
  opacity: 0.8;
}
.cm-footer__consent a { text-decoration: underline; }

/* Legal links in the footer bottom bar. */
.cm-footer__legal { display: flex; gap: 1rem; }
.cm-footer__legal a { text-decoration: underline; opacity: 0.9; }
.cm-footer__legal a:hover { opacity: 1; }


/* ── Intern details card (mentor + staff view of a student) ───────────── */
.intern-card {
  padding: 1.3rem 1.5rem;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  margin-bottom: 2rem;
}
.intern-card__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem 1.5rem;
}
.intern-card__label {
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6B7280;
  margin-bottom: 0.15rem;
}
.intern-card__none { color: #9CA3AF; font-style: italic; }
.intern-card__h {
  margin: 1.5rem 0 0.6rem;
  font-size: 0.95rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.intern-card__table-wrap { overflow-x: auto; }
.intern-card__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.intern-card__table th,
.intern-card__table td {
  padding: 0.5rem 0.65rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  text-align: left;
  vertical-align: top;
}
.intern-card__table th { background: rgba(0, 0, 0, 0.03); font-weight: 600; }
.intern-card__table small { color: #6B7280; }

/* The reminder that this is somebody's personal data, not a lead list. */
.intern-card__privacy {
  margin: 1.2rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.8rem;
  line-height: 1.55;
  color: #6B7280;
}
.intern-card__privacy a { text-decoration: underline; }


/* Empty state for the bundled-courses picker — an empty box with no
   explanation is the bug this replaces. */
.internship-courses--empty {
  padding: 1rem 1.15rem;
  background: #F8FAFC;
  border: 1px dashed rgba(0, 0, 0, 0.18);
  border-radius: 10px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #475569;
}
.internship-courses--empty p { margin: 0 0 0.6rem; }
.internship-courses--empty a { text-decoration: underline; font-weight: 600; }


/* ── Mentor review panel ─────────────────────────────────────────────────
   Says where a mentor stands in onboarding and what to do next. Colour
   carries the state, but never alone — each panel leads with an icon and a
   heading that names the state in words. */
.review-panel {
  padding: 1.1rem 1.3rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-left-width: 4px;
  margin-bottom: 1.4rem;
  background: #F8FAFC;
}
.review-panel h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.review-panel p { margin: 0; font-size: 0.9rem; line-height: 1.6; color: #475569; }
.review-panel form { margin-top: 0.9rem; }

.review-panel--note     { background: #EFF6FF; border-left-color: #2563EB; }
.review-panel--note p   { color: #1E3A5F; white-space: pre-line; }
.review-panel--rejected { background: #FEF2F2; border-left-color: #DC2626; }
.review-panel--pending  { background: #F1F5F9; border-left-color: #64748B; }
.review-panel--locked   { background: #F0FDF4; border-left-color: #16A34A; }
.review-panel--ready    { background: #F0FDF4; border-left-color: #16A34A; }
.review-panel--draft    { background: #FFFBEB; border-left-color: #D97706; }

/* A locked section of the profile form. */
.locked-note {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  padding: 0.7rem 0.9rem;
  margin-bottom: 0.9rem;
  background: #F1F5F9;
  border: 1px dashed rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  font-size: 0.83rem;
  line-height: 1.55;
  color: #475569;
}
.locked-value {
  display: block;
  padding: 0.55rem 0.75rem;
  background: #F8FAFC;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  color: #334155;
}


/* Locked education list — read-only twin of the editable formset. */
.locked-edu { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .6rem; }
.locked-edu li {
  padding: .7rem .9rem; background: #F8FAFC;
  border: 1px solid rgba(0,0,0,.08); border-radius: 8px; font-size: .88rem;
}
.locked-edu li span { color: #64748B; }
.locked-edu li a { display: inline-block; margin-top: .3rem; text-decoration: underline; }


/* ── Course progress rows (internship application page) ───────────────── */
.course-progress { list-style: none; padding: 0; margin: 0 0 2.5rem; display: grid; gap: .7rem; }
.course-progress li {
  display: flex; gap: .9rem; align-items: center;
  padding: .9rem 1.1rem; background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, .06); border-radius: 10px;
}
.course-progress__icon {
  width: 36px; height: 36px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: #F1F4F8; border-radius: 50%; color: #0E2E55;
}
.course-progress__body { flex: 1; min-width: 0; }
.course-progress__meta {
  display: block; margin-top: .15rem; font-size: .82rem; color: #6B7280;
}
.course-progress__bar {
  display: block; height: 6px; margin-top: .45rem;
  background: #E5E7EB; border-radius: 3px; overflow: hidden;
}
.course-progress__bar > span {
  display: block; height: 100%; background: #1F7A1B; border-radius: 3px;
}
.course-progress__pct {
  flex: none; font-weight: 600; font-size: .9rem; color: #0E2E55;
  min-width: 3ch; text-align: right;
}


/* "Your CV is on file" line above the replace-file input. */
.resume-current {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  margin: 0 0 .5rem; padding: .55rem .75rem;
  background: #F0FDF4; border: 1px solid rgba(22, 163, 74, .25);
  border-radius: 8px; font-size: .85rem;
}
.resume-current a { text-decoration: underline; font-weight: 600; }
.resume-current span { color: #6B7280; font-size: .8rem; }


/* ── Work experience rows (mentor profile) ───────────────────────────────
   Deliberately close to .edu-row so the two repeatable sections read as one
   family, but kept separate: education has a level filter and a per-level
   count that work experience has no use for. */
.work-row {
  padding: 1rem 1.1rem;
  margin-bottom: .8rem;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 10px;
}
.work-row.is-removed { opacity: .45; }
.work-row.is-removed input,
.work-row.is-removed select,
.work-row.is-removed textarea { text-decoration: line-through; }

.work-row__head { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: .8rem; }
.work-row__badge {
  flex: none; width: 26px; height: 26px; margin-top: 1.6rem;
  display: inline-flex; align-items: center; justify-content: center;
  background: #0E2E55; color: #FFFFFF; border-radius: 50%;
  font-size: .78rem; font-weight: 600;
}
.work-row__title { flex: 1; min-width: 0; }
.work-row__del {
  flex: none; margin-top: 1.6rem; display: inline-flex; gap: .35rem;
  align-items: center; font-size: .8rem; color: #B91C1C; cursor: pointer;
}

.work-row__current { display: flex; align-items: flex-end; }
.work-row__check {
  display: inline-flex; gap: .45rem; align-items: center;
  padding-bottom: .55rem; font-size: .88rem; cursor: pointer;
}
.work-row__check input { width: auto; margin: 0; }

/* The end-date field while "I currently work here" is ticked. */
.enroll__field.is-muted { opacity: .5; }


/* ── Consent checkboxes (DPDP s. 6) ──────────────────────────────────────
   Always rendered unticked, never with `checked`. A pre-ticked box is not a
   clear affirmative action, so the styling never implies one either. */
.consent-check {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  margin: 0 0 .9rem;
  padding: .7rem .85rem;
  background: #F8FAFC;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 8px;
  font-size: .84rem;
  line-height: 1.55;
  color: #475569;
  cursor: pointer;
}
.consent-check input[type="checkbox"] {
  flex: none;
  width: auto;
  margin: .18rem 0 0;
}
.consent-check a { text-decoration: underline; }
.consent-check--compact {
  margin-top: .6rem;
  padding: .5rem .6rem;
  font-size: .78rem;
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .12);
  color: inherit;
}


/* ── My purchases ────────────────────────────────────────────────────── */
.purchase-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.purchase-row {
  display: flex; gap: .9rem; align-items: center; flex-wrap: wrap;
  padding: .9rem 1.1rem; background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, .06); border-radius: 10px;
}
.purchase-row__icon {
  width: 38px; height: 38px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: #F1F4F8; border-radius: 50%; color: #0E2E55;
}
.purchase-row__body { flex: 1; min-width: 190px; }
.purchase-row__meta { display: block; margin-top: .15rem; font-size: .8rem; color: #6B7280; }
.purchase-row__amount { font-weight: 600; color: #0E2E55; }

.purchase-status {
  padding: .2rem .6rem; border-radius: 999px;
  font-size: .74rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .03em; background: #F1F5F9; color: #475569;
}
.purchase-status--paid { background: #DCFCE7; color: #166534; }
.purchase-status--refunded { background: #E0E7FF; color: #3730A3; }
.purchase-status--failed,
.purchase-status--rejected { background: #FEE2E2; color: #991B1B; }
.purchase-status--awaiting_verification { background: #FEF3C7; color: #92400E; }

.purchase-empty {
  text-align: center; padding: 3rem 1.5rem; color: #6B7280;
  background: #FFFFFF; border: 1px dashed rgba(0, 0, 0, .14); border-radius: 12px;
}
.purchase-empty i { font-size: 2rem; color: #CBD5E1; margin-bottom: .6rem; }
.purchase-empty p { margin: .3rem 0; }

/* ── Receipt document ────────────────────────────────────────────────── */
.receipt-back { margin: 0 0 1rem; font-size: .88rem; }
.receipt-back a { text-decoration: underline; }

.receipt-notice {
  display: flex; gap: .8rem; align-items: flex-start;
  padding: 1rem 1.2rem; margin-bottom: 1.2rem;
  background: #FEF3C7; color: #92400E; border-radius: 12px; font-size: .9rem;
}
.receipt-notice p { margin: .3rem 0 0; }

.receipt {
  padding: 2rem; background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, .08); border-radius: 12px;
}
.receipt__head {
  display: flex; justify-content: space-between; gap: 1.5rem;
  flex-wrap: wrap; padding-bottom: 1.2rem;
  border-bottom: 2px solid #0E2E55;
}
.receipt__brand { font-size: 1.1rem; color: #0E2E55; }
.receipt__seller { margin: .4rem 0 0; font-size: .8rem; line-height: 1.6; color: #6B7280; }
.receipt__title { margin: 0; font-size: 1.5rem; color: #0E2E55; }

.receipt__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem; margin: 1.4rem 0;
}
.receipt__grid p { margin: .25rem 0 0; font-size: .88rem; line-height: 1.7; }
.receipt__label {
  display: block; font-size: .72rem; text-transform: uppercase;
  letter-spacing: .05em; color: #6B7280;
}

.receipt__table-wrap { overflow-x: auto; }
.receipt__table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.receipt__table th, .receipt__table td { padding: .6rem .2rem; text-align: left; }
.receipt__table thead th { border-bottom: 2px solid #0E2E55; color: #0E2E55; }
.receipt__table tbody td { border-bottom: 1px solid #E5E7EB; }
.receipt__table tfoot td { border-top: 2px solid #0E2E55; padding-top: .8rem; }
.receipt__table .num { text-align: right; white-space: nowrap; }

.receipt__note {
  margin: 1.2rem 0 0; padding: .8rem 1rem;
  background: #EEF2FF; color: #3730A3; border-radius: 8px; font-size: .88rem;
}
.receipt__foot {
  margin-top: 1.6rem; padding-top: 1rem;
  border-top: 1px solid #E5E7EB; font-size: .78rem; color: #6B7280;
}
.receipt__foot p { margin: .2rem 0; }

.receipt-actions { margin-top: 1.4rem; text-align: center; }


/* Pointer to My Purchases, where the payment ledger moved to. */
.purchases-pointer {
  display: flex; gap: .55rem; align-items: center;
  margin: 0 0 1.5rem; padding: .75rem 1rem;
  background: #F1F5F9; border-radius: 10px;
  font-size: .88rem; color: #475569;
}
.purchases-pointer a { text-decoration: underline; font-weight: 600; }


/* The payable figure on the manual payment forms. Fixed text, not an input —
   instalments were removed, so there is nothing to choose. */
.pay-amount {
  margin: 0 0 .35rem;
  font-size: 1.6rem;
  font-weight: 700;
  color: #0E2E55;
}


/* Checkout status line — cancellation, failure, and the pause while the
   server verifies the signature. */
.pay-status {
  margin: .9rem 0 0;
  padding: .7rem .9rem;
  border-radius: 8px;
  font-size: .88rem;
  line-height: 1.55;
  background: #F1F5F9;
  color: #475569;
}
.pay-status[data-state="error"] { background: #FEE2E2; color: #991B1B; }
.pay-status[data-state="loading"] { background: #DBEAFE; color: #1E40AF; }

/* ── Help & Support ──────────────────────────────────────────────────── */
.support-flash {
  padding: .7rem 1rem; border-radius: 8px; margin-bottom: 1rem;
  background: #F1F5F9; color: #334155; font-size: .9rem;
}
.support-flash--success { background: #DCFCE7; color: #166534; }
.support-flash--error { background: #FEE2E2; color: #991B1B; }
.support-flash--info { background: #DBEAFE; color: #1E40AF; }

.support-cta {
  display: flex; gap: 1rem; align-items: center; flex-wrap: wrap;
  justify-content: space-between;
  padding: 1.1rem 1.3rem; margin-bottom: 1.8rem;
  background: #FFFFFF; border: 1px solid rgba(0, 0, 0, .06);
  border-left: 4px solid #0E2E55; border-radius: 10px;
}
.support-cta strong { color: #0E2E55; }
.support-cta p { margin: .2rem 0 0; font-size: .88rem; color: #6B7280; }

.support-heading {
  font-size: 1.05rem; font-weight: 700; color: #0E2E55;
  margin: 1.8rem 0 .8rem;
}
.support-heading:first-of-type { margin-top: 0; }

.support-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.support-list--muted .support-row { opacity: .72; }
.support-row {
  display: flex; gap: .9rem; align-items: center; flex-wrap: wrap;
  padding: .9rem 1.1rem; background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, .06); border-radius: 10px;
}
.support-row__body { flex: 1; min-width: 200px; }
.support-row__subject { font-weight: 600; color: #0E2E55; }
.support-row__subject:hover { text-decoration: underline; }
.support-row__meta { display: block; margin-top: .15rem; font-size: .8rem; color: #6B7280; }

.support-pill {
  padding: .2rem .6rem; border-radius: 999px;
  font-size: .74rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .03em; background: #F1F5F9; color: #475569;
}
.support-pill--open { background: #FEF3C7; color: #92400E; }
.support-pill--in_progress { background: #DBEAFE; color: #1E40AF; }
.support-pill--waiting_on_user { background: #EDE9FE; color: #5B21B6; }
.support-pill--resolved { background: #DCFCE7; color: #166534; }
.support-pill--closed { background: #E5E7EB; color: #374151; }

.support-empty {
  text-align: center; padding: 3rem 1.5rem; color: #6B7280;
  background: #FFFFFF; border: 1px dashed rgba(0, 0, 0, .14); border-radius: 12px;
}
.support-empty i { font-size: 2rem; color: #CBD5E1; margin-bottom: .6rem; }
.support-empty p { margin: .3rem 0; }

.support-topics {
  display: grid; gap: .7rem;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.support-topic {
  display: block; padding: .85rem 1rem; background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, .06); border-radius: 10px;
  transition: border-color .18s ease, transform .18s ease;
}
.support-topic:hover { border-color: #0E2E55; transform: translateY(-2px); }
.support-topic strong { display: block; color: #0E2E55; font-size: .92rem; }
.support-topic span { display: block; margin-top: .2rem; font-size: .8rem; color: #6B7280; }

.support-foot { margin-top: 2rem; font-size: .85rem; color: #6B7280; }
.support-foot a { text-decoration: underline; }

/* ── Request form ────────────────────────────────────────────────────── */
.support-form {
  background: #FFFFFF; border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 12px; padding: 1.4rem 1.5rem;
}
.support-form--reply { margin-top: 1.4rem; }
.support-field { margin-bottom: 1.1rem; }
.support-field > label {
  display: block; margin-bottom: .35rem;
  font-size: .88rem; font-weight: 600; color: #0E2E55;
}
.support-field .req { color: #B91C1C; }
.support-field input[type="text"],
.support-field input[type="file"],
.support-field select,
.support-field textarea {
  width: 100%; padding: .6rem .8rem;
  border: 1px solid #D6DCE5; border-radius: 8px;
  font-size: .92rem; background: #FFFFFF; color: #1F2937;
}
.support-field textarea { resize: vertical; min-height: 96px; }
.support-field input:focus,
.support-field select:focus,
.support-field textarea:focus {
  outline: none; border-color: #0E2E55;
  box-shadow: 0 0 0 3px rgba(14, 46, 85, .1);
}
.support-hint { margin: .3rem 0 0; font-size: .78rem; color: #6B7280; }
.support-error { margin: .3rem 0 0; font-size: .8rem; color: #B91C1C; }
.support-actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.2rem; }

/* ── Thread ──────────────────────────────────────────────────────────── */
.support-status-bar {
  display: flex; gap: .8rem; align-items: center; flex-wrap: wrap;
  margin-bottom: 1.2rem;
}
.support-status-bar__note { font-size: .84rem; color: #6B7280; }

.support-thread { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.support-msg {
  padding: 1rem 1.15rem; background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, .06); border-radius: 10px;
  border-left: 3px solid #CBD5E1;
}
.support-msg--staff { background: #F8FAFF; border-left-color: #0E2E55; }
.support-msg__head {
  display: flex; gap: .6rem; align-items: baseline; flex-wrap: wrap;
  justify-content: space-between; margin-bottom: .5rem;
}
.support-msg__head strong { font-size: .9rem; color: #0E2E55; }
.support-msg__head time { font-size: .78rem; color: #94A3B8; }
.support-msg__body { font-size: .92rem; color: #334155; line-height: 1.6; }
.support-msg__file { margin: .7rem 0 0; font-size: .84rem; }
.support-msg__file a { text-decoration: underline; }

@media (max-width: 575.98px) {
  .support-row .btn-cm { width: 100%; }
  .support-cta { flex-direction: column; align-items: flex-start; }
}

/* ── Certificate document + verification ─────────────────────────────── */
.cert-page {
  background: #FFFFFF;
  color: #0E2E55;
  max-width: 1024px;
  margin: 0 auto;
  padding: 3rem 3.5rem;
  border: 14px double #C9A227;
  box-shadow: 0 24px 60px rgba(14, 46, 85, .18);
  font-family: 'Georgia', 'Times New Roman', serif;
  position: relative;
}
.cert-page::before {
  content: "";
  position: absolute; inset: 12px;
  border: 1px solid #C9A227;
  pointer-events: none;
}
.cert-page__inner { position: relative; text-align: center; }

.cert-kicker {
  text-transform: uppercase; letter-spacing: .4em;
  color: #C9A227; font-size: .8rem; margin-bottom: .6rem;
}
.cert-title { font-size: 3rem; font-weight: 700; margin: .4rem 0 1rem; }
.cert-divider {
  width: 80px; border: 0; border-top: 2px solid #C9A227; margin: 1rem auto;
}
.cert-intro { font-size: 1.1rem; line-height: 1.7; margin: .8rem 0 .2rem; }
.cert-name {
  font-size: 2.4rem; font-style: italic;
  margin: .8rem 0; color: #1F7A1B;
}
.cert-credential { font-size: 1.6rem; font-weight: 600; margin: .4rem 0 .8rem; }
.cert-meta { max-width: 680px; margin: 1rem auto 0; }
.cert-meta p { font-size: 1.05rem; line-height: 1.7; margin: .3rem 0; }

.cert-foot {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 2rem; margin-top: 3rem; text-align: left;
}
.cert-verify { display: flex; gap: .9rem; align-items: center; }
.cert-verify__qr { flex: none; width: 96px; height: 96px; }
.cert-verify__text { display: flex; flex-direction: column; gap: .15rem; }
.cert-verify__text strong { font-size: .82rem; }
.cert-verify__url,
.cert-verify__id {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: .7rem; color: #6B7280; letter-spacing: .04em;
  word-break: break-all;
}
.cert-verify__id { letter-spacing: .1em; }

.cert-signature { flex: none; min-width: 200px; text-align: center; }
.cert-signature__line { border-top: 1px solid #0E2E55; margin: 2.5rem 0 .4rem; }
.cert-signature__role { font-size: .78rem; color: #6B7280; }

.cert-actions { text-align: center; max-width: 720px; margin: 0 auto 1.5rem; }
.cert-actions h2 { margin: 0 0 .3rem; }
.cert-actions p { color: #6B7280; }

@media print {
  body * { visibility: hidden; }
  .cert-page, .cert-page * { visibility: visible; }
  .cert-page {
    position: absolute; left: 0; top: 0; width: 100%;
    box-shadow: none; margin: 0;
  }
  .cert-no-print { display: none !important; }
}

@media (max-width: 767.98px) {
  .cert-page { padding: 1.8rem 1.4rem; border-width: 8px; }
  .cert-title { font-size: 2rem; }
  .cert-name { font-size: 1.7rem; }
  .cert-credential { font-size: 1.25rem; }
  .cert-foot { flex-direction: column; align-items: stretch; gap: 1.4rem; }
  .cert-signature { min-width: 0; }
}

/* ── Verification pages ──────────────────────────────────────────────── */
.verify-form {
  background: #FFFFFF; border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 12px; padding: 1.6rem 1.7rem;
}
.verify-form label {
  display: block; font-weight: 600; color: #0E2E55; margin-bottom: .2rem;
}
.verify-form__hint { margin: 0 0 .7rem; font-size: .84rem; color: #6B7280; }
.verify-form__input {
  width: 100%; padding: .75rem .9rem; margin-bottom: 1rem;
  border: 1px solid #D6DCE5; border-radius: 8px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 1rem; letter-spacing: .06em; text-transform: uppercase;
}
.verify-form__input:focus {
  outline: none; border-color: #0E2E55;
  box-shadow: 0 0 0 3px rgba(14, 46, 85, .1);
}
.verify-form__error { margin: -.6rem 0 .8rem; font-size: .85rem; color: #B91C1C; }

.verify-note { margin-top: 2rem; color: #475569; }
.verify-note h2 { font-size: 1.05rem; color: #0E2E55; margin-bottom: .5rem; }
.verify-note p { font-size: .9rem; line-height: 1.65; margin: .5rem 0; }
.verify-note a { text-decoration: underline; }

.verify-card {
  background: #FFFFFF; border: 1px solid rgba(0, 0, 0, .06);
  border-top: 4px solid #94A3B8; border-radius: 12px;
  padding: 1.8rem 2rem;
}
.verify-card--valid { border-top-color: #16A34A; }
.verify-card--revoked { border-top-color: #B91C1C; }
.verify-card--unknown { border-top-color: #D97706; }

.verify-card__badge {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  font-size: .82rem; margin-bottom: .8rem;
}
.verify-card__badge i { font-size: 1.15rem; }
.verify-card--valid .verify-card__badge { color: #15803D; }
.verify-card--revoked .verify-card__badge { color: #B91C1C; }
.verify-card--unknown .verify-card__badge { color: #B45309; }

.verify-card__lead { font-size: 1.05rem; color: #0E2E55; margin: 0 0 1.2rem; }
.verify-card p { font-size: .92rem; line-height: 1.65; color: #475569; }
.verify-card a { text-decoration: underline; }

.verify-card__facts {
  display: grid; grid-template-columns: 180px 1fr;
  gap: .5rem 1rem; margin: 0 0 1.2rem;
}
.verify-card__facts dt {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .05em;
  color: #94A3B8; font-weight: 600; padding-top: .1rem;
}
.verify-card__facts dd { margin: 0; color: #1F2937; font-size: .95rem; }
.verify-card__number {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  letter-spacing: .08em; font-size: .88rem; word-break: break-all;
}
.verify-card__foot {
  margin: 1.2rem 0 0; padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, .06);
  font-size: .8rem; color: #94A3B8;
}
.verify-again { margin-top: 1.5rem; font-size: .88rem; }
.verify-again a { text-decoration: underline; }

@media (max-width: 575.98px) {
  .verify-card { padding: 1.3rem 1.2rem; }
  .verify-card__facts { grid-template-columns: 1fr; gap: .1rem .5rem; }
  .verify-card__facts dd { margin-bottom: .6rem; }
}

/* ── Unpaid order: the pay-now panel that replaces the receipt ────────── */
.receipt-pending {
  background: #FFFFFF; border: 1px solid rgba(0, 0, 0, .06);
  border-top: 4px solid #D97706; border-radius: 12px;
  padding: 1.8rem 2rem; text-align: center;
}
.receipt-pending__badge {
  display: inline-block; margin-bottom: .9rem;
  padding: .2rem .7rem; border-radius: 999px;
  font-size: .74rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .04em; background: #FEF3C7; color: #92400E;
}
.receipt-pending__title { font-size: 1.4rem; color: #0E2E55; margin: 0 0 .3rem; }
.receipt-pending__meta { font-size: .82rem; color: #6B7280; margin: 0 0 1.2rem; }
.receipt-pending__amount {
  display: flex; flex-direction: column; gap: .1rem;
  margin: 0 0 1.2rem; padding: .9rem;
  background: #F8FAFC; border-radius: 10px;
}
.receipt-pending__amount span {
  font-size: .74rem; text-transform: uppercase; letter-spacing: .05em;
  color: #94A3B8; font-weight: 600;
}
.receipt-pending__amount strong { font-size: 1.7rem; color: #0E2E55; }
.receipt-pending__body { max-width: 460px; margin: 0 auto 1.4rem; }
.receipt-pending__body p {
  font-size: .92rem; line-height: 1.65; color: #475569; margin: 0;
}
.receipt-pending__foot {
  margin: 1.3rem 0 0; padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, .06);
  font-size: .8rem; color: #94A3B8;
}
.receipt-pending__foot a { text-decoration: underline; }

/* ── Mentor: reschedule a locked internship ──────────────────────────── */
.reschedule {
  background: #FFFFFF; border: 1px solid rgba(0, 0, 0, .06);
  border-left: 4px solid #0E2E55; border-radius: 12px;
  padding: 1.3rem 1.5rem; margin-bottom: 1.6rem;
}
.reschedule__title {
  font-size: 1.02rem; font-weight: 700; color: #0E2E55; margin: 0 0 .3rem;
}
.reschedule__title i { color: #C9A227; margin-right: .35rem; }
.reschedule__hint {
  font-size: .85rem; color: #6B7280; margin: 0 0 1rem; line-height: 1.6;
}
.reschedule__row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem;
}
@media (max-width: 575.98px) {
  .reschedule__row { grid-template-columns: 1fr; }
  .reschedule .btn-cm { width: 100%; }
}

/* ── Attendance: sessions, register, per-student tally ────────────────── */
.attend-h {
  font-size: 1.05rem; font-weight: 700; color: #0E2E55; margin: 2rem 0 .8rem;
}
.attend-new {
  background: #FFFFFF; border: 1px solid rgba(0, 0, 0, .06);
  border-left: 4px solid #0E2E55; border-radius: 12px;
  padding: 1.3rem 1.5rem;
}
.attend-new__title {
  font-size: 1.02rem; font-weight: 700; color: #0E2E55; margin: 0 0 1rem;
}
.attend-new__title i { color: #C9A227; margin-right: .35rem; }
.attend-new__row {
  display: grid; grid-template-columns: 220px 1fr; gap: 1rem; margin-bottom: 1rem;
}

.attend-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.attend-row {
  display: flex; gap: .9rem; align-items: center; flex-wrap: wrap;
  padding: .8rem 1.1rem; background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, .06); border-radius: 10px;
}
.attend-row__date {
  flex: none; width: 62px; text-align: center; line-height: 1.1;
  padding-right: .8rem; border-right: 1px solid rgba(0, 0, 0, .08);
}
.attend-row__date strong { display: block; color: #0E2E55; font-size: .95rem; }
.attend-row__date span { font-size: .72rem; color: #94A3B8; }
.attend-row__body { flex: 1; min-width: 180px; }
.attend-row__title { font-weight: 600; color: #0E2E55; }
.attend-row__title:hover { text-decoration: underline; }
.attend-row__meta { display: block; margin-top: .15rem; font-size: .8rem; color: #6B7280; }
.attend-row__delete { margin: 0; }
.attend-del {
  border: 0; background: transparent; color: #CBD5E1;
  padding: .4rem .5rem; cursor: pointer; border-radius: 6px;
}
.attend-del:hover { color: #B91C1C; background: #FEE2E2; }

.attend-empty {
  text-align: center; padding: 2.4rem 1.5rem; color: #6B7280;
  background: #FFFFFF; border: 1px dashed rgba(0, 0, 0, .14); border-radius: 12px;
}
.attend-empty i { font-size: 1.9rem; color: #CBD5E1; margin-bottom: .5rem; }
.attend-empty p { margin: .3rem 0; }

.attend-table-wrap { overflow-x: auto; }
.attend-table {
  width: 100%; border-collapse: collapse; background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, .06); border-radius: 10px;
}
.attend-table th, .attend-table td {
  padding: .65rem .9rem; text-align: left; font-size: .9rem;
  border-bottom: 1px solid rgba(0, 0, 0, .05);
}
.attend-table th {
  font-size: .74rem; text-transform: uppercase; letter-spacing: .05em;
  color: #94A3B8; font-weight: 600; background: #F8FAFC;
}
.attend-table td.num, .attend-table th.num { text-align: right; }
.attend-table tbody tr:last-child td { border-bottom: 0; }
.attend-pct { font-weight: 700; color: #15803D; }
.attend-pct--low { color: #B45309; }
.attend-pct--none { color: #CBD5E1; font-weight: 400; }
.attend-foot { margin-top: .8rem; font-size: .8rem; color: #94A3B8; }

/* ── The register ────────────────────────────────────────────────────── */
.register {
  background: #FFFFFF; border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 12px; padding: 1.4rem 1.5rem;
}
.register__bulk {
  display: flex; gap: .5rem; align-items: center; flex-wrap: wrap;
  padding-bottom: 1rem; margin-bottom: .4rem;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}
.register__bulk span { font-size: .82rem; color: #6B7280; margin-right: .2rem; }
.register__bulk .btn-cm { padding: .3rem .8rem; font-size: .8rem; }

.register__list { list-style: none; padding: 0; margin: 0; }
.register__row {
  display: flex; gap: 1rem; align-items: center; justify-content: space-between;
  flex-wrap: wrap; padding: .7rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, .05);
}
.register__row:last-child { border-bottom: 0; }
.register__name { font-size: .95rem; color: #1F2937; }
.register__tag {
  display: inline-block; margin-left: .4rem; padding: .1rem .45rem;
  border-radius: 999px; background: #DCFCE7; color: #166534;
  font-size: .66rem; text-transform: uppercase; letter-spacing: .04em;
  font-weight: 600;
}
.register__choices { display: flex; gap: .4rem; }
.register__opt {
  display: inline-flex; align-items: center; cursor: pointer;
  border: 1px solid #D6DCE5; border-radius: 999px;
  padding: .3rem .8rem; font-size: .82rem; color: #6B7280;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.register__opt input { position: absolute; opacity: 0; pointer-events: none; }
.register__opt:hover { border-color: #94A3B8; }
.register__opt--present:has(input:checked) {
  background: #DCFCE7; border-color: #16A34A; color: #166534; font-weight: 600;
}
.register__opt--absent:has(input:checked) {
  background: #FEE2E2; border-color: #DC2626; color: #991B1B; font-weight: 600;
}
.register__opt--none:has(input:checked) {
  background: #F1F5F9; border-color: #94A3B8; color: #475569; font-weight: 600;
}
.register__opt input:focus-visible + span { outline: 2px solid #0E2E55; outline-offset: 3px; }
.register__actions {
  display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.4rem;
  padding-top: 1.2rem; border-top: 1px solid rgba(0, 0, 0, .06);
}

/* ── Student's own record ────────────────────────────────────────────── */
.myattend { display: grid; gap: .45rem; }
.myattend__row {
  display: flex; gap: .8rem; align-items: baseline; justify-content: space-between;
  font-size: .88rem; padding: .35rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, .04);
}
.myattend__row:last-child { border-bottom: 0; }
.myattend__when { color: #475569; }
.myattend__what { color: #94A3B8; font-size: .8rem; }
.myattend__mark { font-weight: 600; font-size: .78rem; text-transform: uppercase;
                  letter-spacing: .04em; }
.myattend__mark--present { color: #15803D; }
.myattend__mark--absent { color: #B91C1C; }

@media (max-width: 575.98px) {
  .attend-new__row { grid-template-columns: 1fr; }
  .register__row { align-items: flex-start; }
  .register__choices { width: 100%; }
  .register__opt { flex: 1; justify-content: center; }
}
.attend-cta { margin: 0 0 1.4rem; }
.myattend__mark--none { color: #94A3B8; font-weight: 400; text-transform: none;
                        letter-spacing: 0; font-style: italic; }

/* ── Verification resend ─────────────────────────────────────────────── */
.verify-resend { display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; margin: 1rem 0; }
.verify-resend__hint { font-size: .82rem; color: #6B7280; }


/* ─────────────────────────────────────────────────────────────────────────
   Cookie consent banner and settings
   Added with the analytics consent control (apps/core/cookies.py). The banner
   is server-rendered and removed by the server once a choice exists, so there
   is no "hidden" state here and no JavaScript involved in showing or hiding
   it.
   ───────────────────────────────────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1080;                 /* above the sticky navbar, below modals */
  background: #0E2E55;
  color: #fff;
  border-top: 3px solid #17B978;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.25);
  padding: 1rem 0 calc(1rem + env(safe-area-inset-bottom));
}

.cookie-banner__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.cookie-banner__text { flex: 1 1 auto; }
.cookie-banner__text p { margin: 0 0 0.35rem; font-size: 0.86rem; line-height: 1.55; }
.cookie-banner__text p:last-child { margin-bottom: 0; }

.cookie-banner__title {
  font-weight: 700;
  font-size: 0.95rem !important;
}
.cookie-banner__title i { color: #17B978; margin-right: 0.4rem; }

.cookie-banner__links { font-size: 0.8rem !important; opacity: 0.85; }
.cookie-banner__links a { color: #fff; text-decoration: underline; }

.cookie-banner__actions {
  flex: 0 0 auto;
  display: flex;
  gap: 0.6rem;
  margin: 0;
}
/* Both answers are the same size and weight. Making "refuse" quieter than
   "accept" is how a consent banner stops being a question — see the note in
   templates/partials/cookie_consent.html. */
.cookie-banner__actions .btn-cm { white-space: nowrap; }

@media (max-width: 767.98px) {
  .cookie-banner__inner { flex-direction: column; align-items: stretch; gap: 0.9rem; }
  .cookie-banner__actions { justify-content: stretch; }
  .cookie-banner__actions .btn-cm { flex: 1 1 0; text-align: center; }
  .cookie-banner__text p { font-size: 0.82rem; }
}

/* The same control, on the Cookie Policy page. */
.cookie-settings {
  margin: 2rem 0;
  padding: 1.25rem 1.4rem;
  border: 1px solid rgba(14, 46, 85, 0.15);
  border-left: 4px solid #17B978;
  border-radius: 8px;
  background: rgba(23, 185, 120, 0.05);
}
.cookie-settings h2 { margin-top: 0 !important; }
.cookie-settings__state { font-size: 0.92rem; }
.cookie-settings__form { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0 0.75rem; }
.cookie-settings__note { font-size: 0.8rem; opacity: 0.75; margin: 0; }
