:root {
  --ink: #101820;
  --muted: #607080;
  --line: #d8e0e7;
  --panel: #ffffff;
  --soft: #eef4f7;
  --field: #f8fafb;
  --teal: #006d6f;
  --teal-dark: #004c4e;
  --gold: #c8952d;
  --red: #b83232;
  --green: #16805a;
  --lime: #8ec640;
  --shadow: 0 18px 48px rgba(16, 24, 32, 0.12);
  --soft-shadow: 0 16px 42px rgba(17, 24, 39, 0.07);
}

/* Admin console v2 */
.admin-body {
  background:
    radial-gradient(circle at 12% 0%, rgba(9, 140, 233, 0.09), transparent 28%),
    linear-gradient(180deg, #f5fbff 0%, #f7fbfa 58%, #ffffff 100%);
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 0 clamp(20px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid #dbe7ef;
  backdrop-filter: blur(16px);
}

.admin-brand {
  color: #0f1720;
  font-size: clamp(1.15rem, 1.6vw, 1.55rem);
  font-weight: 950;
}

.admin-brand span {
  color: #098ce9;
}

.admin-topbar nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-topbar nav a,
.admin-topbar nav input,
.admin-topbar nav button {
  min-height: 40px;
  padding: 0 14px;
  color: #17212d;
  background: transparent;
  border: 0;
  border-radius: 9px;
  font-weight: 900;
}

.admin-topbar nav a:hover,
.admin-topbar nav a.active {
  color: #006d6f;
  background: #eaf7f5;
}

.admin-console {
  width: min(1260px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0 52px;
}

.admin-hero-panel,
.program-editor-card,
.program-management-area,
.session-studio-panel {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #dbe7ef;
  border-radius: 18px;
  box-shadow: 0 20px 58px rgba(17, 24, 39, 0.08);
}

.admin-hero-panel {
  display: block;
  min-height: 0;
  padding: 16px 20px;
  border-radius: 14px;
  box-shadow: 0 12px 34px rgba(17, 24, 39, 0.055);
}

.admin-hero-panel h1 {
  max-width: none;
  margin-bottom: 4px;
  font-size: clamp(1.18rem, 1.45vw, 1.55rem);
  line-height: 1.1;
}

.admin-hero-panel p:not(.eyebrow) {
  max-width: 780px;
  color: #64748b;
  font-size: 0.86rem;
  line-height: 1.45;
}

.admin-workflow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
  margin-top: 14px;
}

.program-editor-card,
.program-management-area,
.session-studio-panel {
  padding: 16px 18px;
}

.program-editor-card {
  position: static;
}

.program-editor-card.edit-modal-open {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 90;
  width: min(1040px, calc(100vw - 44px));
  max-height: calc(100vh - 52px);
  overflow: auto;
  transform: translate(-50%, -50%);
  box-shadow: 0 30px 90px rgba(15, 23, 32, 0.32);
}

.program-editor-card.edit-modal-open::before {
  content: "";
  position: fixed;
  inset: -100vh -100vw;
  z-index: -1;
  background: rgba(15, 23, 32, 0.48);
  backdrop-filter: blur(8px);
}

.program-editor-card:not(.edit-modal-open) > .editor-modal-close,
.editor-modal-close {
  display: none !important;
}

.program-editor-card.edit-modal-open .editor-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex !important;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: #334155;
  background: #eef4f7;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 900;
}

.program-editor-card.edit-modal-open .collapsible-heading {
  padding-right: 86px;
}

.program-editor-card h2,
.program-management-area h2,
.session-studio-panel h2 {
  max-width: none;
  font-size: clamp(1.25rem, 1.55vw, 1.75rem);
}

.admin-form-grid,
.session-edit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.collapsible-heading,
.session-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.collapsible-heading strong {
  display: block;
  margin-top: 3px;
  font-size: clamp(1.05rem, 1.2vw, 1.35rem);
  line-height: 1.08;
}

.collapsible-heading b,
.session-toggle b {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #006d6f;
  background: #e8f6f6;
  border-radius: 50%;
  font-size: 1.12rem;
  line-height: 1;
}

.program-editor-card .eyebrow {
  font-size: 0.7rem;
}

.program-editor-card.is-collapsed .collapsible-body {
  display: none;
}

.admin-wide {
  grid-column: 1 / -1;
}

.admin-form-actions,
.session-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-button,
.admin-mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 950;
  text-align: center;
}

.admin-button {
  min-height: 40px;
  padding: 0 15px;
  color: white;
  background: #098ce9;
  border-radius: 10px;
  box-shadow: 0 14px 28px rgba(9, 140, 233, 0.2);
}

.admin-button.secondary {
  color: #006d6f;
  background: #e8f6f6;
  box-shadow: none;
}

.admin-mini-button {
  min-height: 34px;
  padding: 0 11px;
  color: #0f1720;
  background: #eef6fb;
  border-radius: 9px;
  font-size: 0.82rem;
}

.admin-mini-button.primary {
  color: white;
  background: #098ce9;
}

.admin-mini-button.danger {
  color: #b91c1c;
  background: #fff1f2;
}

.admin-mini-button:disabled,
.admin-mini-button[disabled] {
  opacity: 0.72;
  cursor: wait;
}

.section-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.section-title-row > span {
  color: #006d6f;
  background: #e8f6f6;
  border-radius: 999px;
  font-weight: 900;
  padding: 8px 12px;
  white-space: nowrap;
}

.section-title-row p {
  color: #64748b;
  margin: 6px 0 0;
}

.admin-program-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.admin-program-card {
  overflow: hidden;
  background: white;
  border: 1px solid #dbe7ef;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.07);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-program-card:hover {
  border-color: #9dd7f7;
  box-shadow: 0 18px 44px rgba(9, 140, 233, 0.13);
  transform: translateY(-2px);
}

.admin-program-card.disabled {
  opacity: 0.66;
}

.admin-program-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #e8f6f6;
}

.admin-program-card-body {
  padding: 13px;
}

.program-card-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.program-card-status-row span,
.program-card-status-row b {
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 950;
  padding: 6px 9px;
}

.program-card-status-row span {
  color: #0c4a6e;
  background: #e0f2fe;
}

.program-card-status-row b {
  color: #166534;
  background: #dcfce7;
}

.admin-program-card.disabled .program-card-status-row b {
  color: #92400e;
  background: #fef3c7;
}

.admin-program-card h3 {
  min-height: 44px;
  font-size: 0.98rem;
  line-height: 1.18;
}

.admin-program-card p {
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.45;
}

.program-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.session-studio-panel {
  margin-top: 18px;
}

.admin-session-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.admin-session-card {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 12px;
  background: #ffffff;
  border: 1px solid #dbe7ef;
  border-radius: 12px;
  padding: 9px;
  box-shadow: 0 10px 26px rgba(17, 24, 39, 0.045);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.admin-session-card.is-collapsed {
  align-items: center;
}

.admin-session-card.is-collapsed .session-small-fields,
.admin-session-card.is-collapsed .session-collapsible-content,
.admin-session-card.is-collapsed .session-row-head label {
  display: none;
}

.admin-session-card.is-collapsed .session-edit-grid {
  align-items: center;
}

.admin-session-card.is-collapsed .session-row-head {
  grid-template-columns: 1fr;
}

.admin-session-card:hover,
.admin-session-card.uploading {
  border-color: #a7d8f6;
  box-shadow: 0 16px 38px rgba(9, 140, 233, 0.11);
}

.session-thumb-preview {
  display: grid;
  gap: 7px;
  align-content: start;
}

.session-thumb-preview img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  background: #eaf7f5;
}

.session-thumb-preview span,
.video-missing,
.video-ready {
  justify-self: start;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 950;
  padding: 6px 9px;
}

.session-thumb-preview span,
.video-missing {
  color: #92400e;
  background: #fffbeb;
}

.video-ready {
  color: #166534;
  background: #dcfce7;
}

.admin-session-card .session-edit-grid {
  margin-top: 0;
}

.session-row-head {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(240px, 360px);
  gap: 10px;
  align-items: end;
}

.session-row-head > div > span,
.session-toggle span {
  display: inline-flex;
  margin-bottom: 6px;
  color: #007574;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.session-toggle strong {
  min-width: 0;
  overflow: hidden;
  font-size: clamp(0.92rem, 1vw, 1.06rem);
  line-height: 1.25;
  text-overflow: ellipsis;
}

.session-toggle span {
  margin: 0;
}

.session-toggle {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
}

.session-small-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.session-content-field textarea {
  min-height: 52px;
}

.session-collapsible-content {
  display: grid;
  gap: 9px;
}

.session-upload-strip {
  display: grid;
  grid-template-columns: minmax(420px, 1.2fr) minmax(260px, 0.8fr) minmax(260px, 0.8fr);
  gap: 10px;
  align-items: stretch;
  padding: 8px;
  border: 1px solid #dbe7ef;
  border-radius: 12px;
  background: #f8fbfd;
}

.session-upload-strip label {
  margin: 0;
  min-width: 0;
  align-content: start;
}

.session-thumbnail-tool {
  display: grid;
  grid-template-columns: auto auto minmax(140px, 1fr);
  gap: 7px;
  align-items: center;
  min-width: 0;
}

.session-thumbnail-tool .thumbnail-upload-state {
  grid-column: 1 / -1;
  color: #0369a1;
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.25;
}

.session-upload-strip input[type="file"],
.admin-session-card input[type="file"] {
  width: 100%;
  max-width: 100%;
  min-height: 38px;
  padding: 7px;
  font-size: 0.86rem;
  overflow: hidden;
}

.image-crop-source {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  min-height: 1px !important;
  padding: 0 !important;
  opacity: 0;
  pointer-events: none;
}

.image-pick-button {
  display: inline-flex;
  width: fit-content;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  color: #ffffff;
  background: #006d6f;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 950;
}

.ajax-thumbnail-upload-button {
  width: fit-content;
}

.crop-file-name {
  display: inline-flex;
  min-width: 0;
  min-height: 32px;
  align-items: center;
  padding: 0 10px;
  overflow: hidden;
  color: #526475;
  background: #f8fafb;
  border: 1px solid #dce5eb;
  border-radius: 9px;
  font-size: 0.76rem;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-session-card textarea {
  min-height: 52px;
}

.crop-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(15, 23, 32, 0.58);
  backdrop-filter: blur(10px);
}

.crop-modal.is-open {
  display: grid;
}

.crop-dialog {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  width: min(820px, 100%);
  max-height: calc(100vh - 36px);
  overflow: hidden;
  padding: 16px;
  background: #ffffff;
  border: 1px solid #dbe7ef;
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.crop-dialog-head,
.crop-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.crop-dialog h3 {
  margin: 3px 0 0;
  font-size: clamp(1.05rem, 1.4vw, 1.45rem);
}

.crop-close {
  min-height: 36px;
  padding: 0 12px;
  color: #334155;
  background: #f1f5f9;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 900;
}

.crop-stage {
  display: grid;
  place-items: center;
  min-height: 0;
  margin-top: 12px;
  padding: 10px;
  overflow: hidden;
  background:
    linear-gradient(45deg, #eef6fb 25%, transparent 25%),
    linear-gradient(-45deg, #eef6fb 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #eef6fb 75%),
    linear-gradient(-45deg, transparent 75%, #eef6fb 75%);
  background-color: #ffffff;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0;
  background-size: 20px 20px;
  border: 1px solid #dbe7ef;
  border-radius: 14px;
}

.crop-stage canvas {
  display: block;
  width: min(680px, 100%);
  max-height: min(48vh, 405px);
  height: auto;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.18);
  cursor: move;
}

.crop-controls {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(220px, auto);
  gap: 12px;
  align-items: center;
  margin: 12px 0;
}

.crop-controls span {
  color: #607080;
  font-size: 0.78rem;
  font-weight: 850;
}

.crop-actions {
  padding-top: 8px;
  border-top: 1px solid #e6eef3;
}

.admin-message {
  margin: 18px 0 0;
  border-radius: 12px;
  padding: 13px 16px;
}

.admin-message.success {
  color: #065f46;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}

.admin-message.error {
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
}

@media (max-width: 1180px) {
  .admin-grid,
  .admin-session-grid {
    grid-template-columns: 1fr;
  }

  .session-row-head,
  .session-upload-strip {
    grid-template-columns: 1fr;
  }

  .program-editor-card {
    position: static;
  }

  .admin-program-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .admin-console {
    width: calc(100% - 24px);
  }

  .admin-topbar,
  .admin-hero-panel,
  .section-title-row {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-program-card-grid,
  .admin-form-grid,
  .session-edit-grid,
  .session-row-head,
  .session-small-fields,
  .session-upload-strip,
  .admin-session-card {
    grid-template-columns: 1fr;
  }
}

.admin-upload-shell {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: start;
}

.admin-upload-panel {
  overflow: hidden;
}

.program-picker {
  display: grid;
  grid-template-columns: minmax(260px, 460px) 1fr;
  gap: 18px;
  align-items: end;
  margin: 22px 0;
  padding: 18px;
  background: #f7fbfd;
  border: 1px solid #dce5eb;
  border-radius: 8px;
}

.program-picker label {
  margin-bottom: 0;
}

.selected-program-summary {
  align-items: center;
  background: #eff8ff;
  border: 1px solid #cfe4f7;
  border-radius: 14px;
  display: flex;
  justify-content: space-between;
  margin: 18px 0;
  padding: 16px 18px;
}

.selected-program-summary strong {
  color: #0f1720;
  font-size: 18px;
}

.selected-program-summary span {
  color: #64748b;
  font-size: 14px;
  font-weight: 800;
}

.upload-slot-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.upload-slot {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 18px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid #dce5eb;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.055);
}

.slot-index {
  display: grid;
  align-content: start;
  gap: 8px;
}

.slot-index span {
  color: #006d6f;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.slot-index strong {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: #098ce9;
  background: #dfefff;
  border-radius: 50%;
  font-size: 1.1rem;
}

.slot-main h3 {
  margin-bottom: 8px;
}

.slot-main p {
  margin-bottom: 10px;
  color: #607080;
  line-height: 1.5;
}

.slot-main small {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 850;
}

.video-missing {
  color: #9b6a0c;
  background: #fff8e8;
  border: 1px solid rgba(200, 149, 45, 0.24);
}

.video-ready {
  color: #16805a;
  background: #ecf9e8;
  border: 1px solid rgba(22, 128, 90, 0.2);
}

.slot-upload-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.slot-file {
  min-height: 44px;
  padding: 10px;
  background: #f8fafb;
}

.slot-upload-button {
  min-width: 150px;
}

.upload-progress {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 38px;
  align-content: center;
  margin: 0;
  padding: 9px 11px;
  overflow: hidden;
  border: 1px solid #d5e5ee;
  border-radius: 10px;
  background: #ffffff;
}

.upload-progress i {
  display: block;
  width: 0%;
  height: 7px;
  overflow: hidden;
  background: linear-gradient(90deg, #098ce9, #00a99d);
  border-radius: 999px;
  transition: width 0.18s ease;
}

.upload-progress::before {
  content: "";
  display: block;
  height: 7px;
  margin-bottom: -15px;
  background: #e5eef4;
  border-radius: 999px;
}

.upload-progress span {
  color: #607080;
  font-size: 0.84rem;
  font-weight: 800;
}

.admin-session-card.uploading .upload-progress {
  border-color: #8bd0fa;
  background: #f3fbff;
}

.admin-session-card.uploading .ajax-upload-button {
  color: #ffffff;
  background: #007574;
  cursor: wait;
}

.upload-guide-card {
  position: sticky;
  top: 92px;
}

@media (max-width: 900px) {
  .admin-upload-shell,
  .program-picker,
  .upload-slot,
  .slot-upload-row {
    grid-template-columns: 1fr;
  }

  .upload-guide-card {
    position: static;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(180deg, #f6fbfb 0%, #ffffff 42%, #eef5f4 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.promo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 36px;
  padding: 6px 16px;
  color: white;
  background: #0d2d57;
  font-size: 0.9rem;
  font-weight: 800;
}

.promo-bar a {
  color: #b8ef65;
  text-decoration: underline;
  text-underline-offset: 3px;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(1440px, calc(100% - 44px));
  min-height: 70px;
  margin: 0 auto;
  padding: 8px 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.nav-brand,
.site-nav nav,
.nav-action,
.hero-actions {
  display: flex;
  align-items: center;
}

.nav-brand {
  gap: 10px;
  font-weight: 850;
}

.nav-brand img {
  width: 260px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.nav-brand .wordmark-logo {
  width: clamp(220px, 19vw, 340px);
  height: auto;
}

.nav-brand span {
  display: grid;
  line-height: 1.05;
}

.nav-brand small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.site-nav nav {
  gap: 8px;
  padding: 6px;
  background: transparent;
  border: 1px solid rgba(16, 24, 32, 0.06);
  border-radius: 8px;
}

.site-nav nav a,
.nav-action {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 7px;
  font-size: 0.9rem;
  font-weight: 800;
}

.site-nav nav a:hover {
  color: var(--teal);
  background: #eef7f5;
}

.nav-action {
  color: white;
  background: var(--teal);
}

.homepage {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 22px 22px 12px;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(520px, 1.1fr);
  gap: 42px;
  min-height: 640px;
  align-items: center;
  padding: 56px;
  color: var(--ink);
  background: #eaf6f3;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 12% 20%, rgba(142, 198, 64, 0.22), transparent 24%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-copy .eyebrow {
  color: var(--teal);
}

.hero-copy h1 {
  max-width: 12ch;
  margin-bottom: 18px;
  color: #0b1320;
  font-size: clamp(3rem, 5vw, 5.65rem);
  line-height: 0.94;
}

.hero-copy h2 {
  max-width: 610px;
  margin-bottom: 18px;
  color: #233447;
  font-size: clamp(1.25rem, 1.65vw, 1.85rem);
  line-height: 1.22;
}

.hero-copy p:not(.eyebrow) {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.72;
}

.course-search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 680px;
  margin-top: 28px;
  padding: 8px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(16, 24, 32, 0.1);
}

.course-search input {
  flex: 1;
  min-height: 46px;
  border: 0;
  background: transparent;
}

.course-search input:focus {
  box-shadow: none;
}

.course-search a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  color: white;
  background: var(--teal);
  border-radius: 7px;
  font-weight: 850;
  white-space: nowrap;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 850;
}

.primary-link {
  color: #0d1824;
  background: #a7e05a;
}

.secondary-link {
  color: var(--teal-dark);
  background: white;
  border: 1px solid var(--line);
}

.hero-photo-card {
  position: relative;
  z-index: 1;
  overflow: hidden;
  min-height: 520px;
  border: 10px solid white;
  background: white;
  border-radius: 8px;
  box-shadow: 0 34px 80px rgba(16, 24, 32, 0.18);
}

.hero-photo-card img {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 6px;
}

.rating-card,
.enroll-card {
  position: absolute;
  display: grid;
  gap: 2px;
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(16, 24, 32, 0.18);
}

.rating-card {
  left: 22px;
  bottom: 24px;
}

.enroll-card {
  right: 22px;
  top: 24px;
}

.rating-card strong,
.enroll-card strong {
  color: var(--teal-dark);
  font-size: 1.35rem;
}

.rating-card span,
.enroll-card span {
  color: var(--muted);
  font-weight: 800;
}

.stat-strip,
.home-section,
.platform-section {
  margin-top: 18px;
  border: 1px solid rgba(16, 24, 32, 0.08);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  border-radius: 8px;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-strip div {
  padding: 22px;
  border-right: 1px solid var(--line);
}

.stat-strip div:last-child {
  border-right: 0;
}

.stat-strip strong,
.stat-strip span {
  display: block;
}

.stat-strip strong {
  font-size: 1.5rem;
}

.stat-strip span {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 750;
}

.home-section,
.platform-section {
  padding: 36px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.5fr) minmax(0, 1fr) auto;
  gap: 28px;
  align-items: start;
  margin-bottom: 24px;
}

.section-heading h2,
.platform-section h2 {
  max-width: 900px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.02;
}

.section-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  color: white;
  background: var(--teal);
  border-radius: 8px;
  font-weight: 850;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.course-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: white;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.08);
}

.course-media {
  display: grid;
  place-items: center;
  height: 158px;
  color: white;
  background: linear-gradient(135deg, #0d2d57, var(--teal));
}

.course-card.kart .course-media {
  background: linear-gradient(135deg, #182130, #c8952d);
}

.course-card.research .course-media {
  background: linear-gradient(135deg, #0d2d57, #6f8fd8);
}

.course-card.fab .course-media {
  background: linear-gradient(135deg, #0b4d4f, #8ec640);
}

.course-media span {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  font-size: 1.35rem;
  font-weight: 900;
}

.course-card small,
.course-card h3,
.course-card p,
.course-card b {
  display: block;
  margin-left: 18px;
  margin-right: 18px;
}

.course-card small {
  margin-top: 18px;
  color: var(--teal);
  font-weight: 850;
}

.course-card h3 {
  margin-top: 8px;
  margin-bottom: 8px;
}

.course-card p {
  color: var(--muted);
  line-height: 1.6;
}

.course-card b {
  margin-top: 16px;
  margin-bottom: 18px;
  color: var(--ink);
}

.category-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.52fr) 1fr;
  gap: 28px;
  margin-top: 18px;
  padding: 34px 36px;
  border: 1px solid rgba(16, 24, 32, 0.08);
  background: #0d2d57;
  color: white;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.category-section .eyebrow {
  color: #a7e05a;
}

.category-section h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.2rem);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.category-grid span {
  min-height: 64px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  font-weight: 850;
}

.eduma-home {
  background:
    linear-gradient(180deg, #f4fbff 0%, #ffffff 48%, #f2fbf8 100%);
}

.eduma-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 0.88fr);
  gap: 44px;
  align-items: center;
  max-width: 1290px;
  margin: 0 auto;
  min-height: min(610px, calc(100vh - 106px));
  padding: 30px 24px 28px;
}

.eduma-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 100%;
  background: linear-gradient(115deg, #e8f7ff 0%, #f8fcff 54%, #dff4ff 100%);
  border-radius: 0 0 32px 32px;
  z-index: 0;
}

.eduma-hero-copy,
.eduma-hero-art {
  position: relative;
  z-index: 1;
}

.deal-label,
.eduma-heading span,
.experience-section > div > span,
.eduma-categories > span {
  display: block;
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eduma-hero h1 {
  max-width: 680px;
  margin-bottom: 14px;
  color: #111827;
  font-size: clamp(2.6rem, 4.55vw, 5.15rem);
  line-height: 0.98;
}

.eduma-hero p {
  max-width: 610px;
  color: #5f6e7d;
  font-size: 1.04rem;
  line-height: 1.62;
}

.eduma-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 18px;
  padding: 0 22px;
  color: white;
  background: #098ce9;
  border-radius: 8px;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(9, 140, 233, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.eduma-primary:hover {
  background: #087bd0;
  box-shadow: 0 18px 34px rgba(9, 140, 233, 0.27);
  transform: translateY(-2px);
}

.hero-access-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-access-actions .eduma-primary {
  margin-top: 18px;
}

.eduma-login-link {
  color: #006d6f;
  background: white;
  border: 1px solid #d8e0e7;
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.07);
}

.eduma-login-link:hover {
  color: white;
  background: #006d6f;
  box-shadow: 0 18px 34px rgba(0, 109, 111, 0.2);
}

.eduma-hero-art {
  min-height: 480px;
  animation: tpAnimUpDown 5.5s ease-in-out infinite;
  will-change: transform;
}

.eduma-hero-art > img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(100%, 620px);
  height: 450px;
  object-fit: cover;
  border-radius: 52% 52% 8px 8px;
  box-shadow: 0 26px 70px rgba(16, 24, 32, 0.16);
}

.eduma-hero-art::before {
  content: "";
  position: absolute;
  right: 8%;
  top: 30px;
  width: 390px;
  height: 390px;
  background: #f86aa7;
  border-radius: 50%;
  z-index: -1;
}

.rating-bubble {
  position: absolute;
  left: 4%;
  bottom: 26px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
  min-width: 310px;
  padding: 18px 22px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 20px 55px rgba(16, 24, 32, 0.16);
}

.rating-bubble strong {
  display: grid;
  place-items: center;
  min-width: 76px;
  min-height: 48px;
  color: white;
  background: #f6b40a;
  border-radius: 999px;
  font-size: 1.55rem;
}

.rating-bubble span {
  color: #3d4957;
  font-weight: 850;
}

.learning-types,
.partner-strip,
.eduma-section,
.eduma-categories,
.package-section,
.experience-section,
.instructor-section,
.newsletter-section {
  max-width: 1290px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.learning-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 24px;
  padding-top: 30px;
  padding-bottom: 30px;
  background: white;
  border: 1px solid #e2e0db;
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.learning-types article {
  display: flex;
  gap: 18px;
  padding: 0 26px;
  border-right: 1px solid #e2e0db;
  overflow: hidden;
}

.learning-types article:last-child {
  border-right: 0;
}

.learning-types i {
  display: grid;
  place-items: center;
  flex: 0 0 56px;
  height: 56px;
  color: #098ce9;
  background: #dfefff;
  border-radius: 50%;
  font-style: normal;
  font-weight: 900;
}

.learning-types article:hover i {
  color: white;
  background: #098ce9;
}

.learning-types h3 {
  margin-bottom: 8px;
}

.learning-types p {
  margin-bottom: 0;
  color: #6b7280;
  line-height: 1.55;
}

.learning-types article.motion-animate.animated.ekit--slide-up {
  animation-name: learning-card-rise;
}

@keyframes learning-card-rise {
  0% {
    opacity: 0;
    transform: translate3d(0, 0.85rem, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes tpAnimUpDown {
  0% {
    transform: translateY(-2px);
  }
  50% {
    transform: translateY(2px);
  }
  100% {
    transform: translateY(-2px);
  }
}

@keyframes ekit--slide-up {
  0% {
    opacity: 0;
    transform: translate3d(0, 2.15rem, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes ekit--slide-down {
  0% {
    opacity: 0;
    transform: translate3d(0, -2.15rem, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes ekit--slide-left {
  0% {
    opacity: 0;
    transform: translate3d(2.15rem, 0, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes ekit--slide-right {
  0% {
    opacity: 0;
    transform: translate3d(-2.15rem, 0, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.motion-animate {
  opacity: 0;
  visibility: hidden;
}

.motion-animate.animated {
  opacity: 1;
  visibility: visible;
  animation-duration: 0.82s;
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}

.learning-types .motion-animate.animated {
  animation-duration: 0.92s;
}

.motion-animate.animated.ekit--slide-up {
  animation-name: ekit--slide-up;
}

.motion-animate.animated.ekit--slide-down {
  animation-name: ekit--slide-down;
}

.motion-animate.animated.ekit--slide-left {
  animation-name: ekit--slide-left;
}

.motion-animate.animated.ekit--slide-right {
  animation-name: ekit--slide-right;
}

.motion-animate[data-delay="1"] {
  animation-delay: 0.08s;
}

.motion-animate[data-delay="2"] {
  animation-delay: 0.16s;
}

.motion-animate[data-delay="3"] {
  animation-delay: 0.24s;
}

.motion-animate[data-delay="4"] {
  animation-delay: 0.32s;
}

.motion-animate[data-delay="5"] {
  animation-delay: 0.4s;
}

@media (prefers-reduced-motion: reduce) {
  .eduma-hero-art,
  .motion-animate {
    animation: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

.partner-strip {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: center;
  padding-top: 54px;
  padding-bottom: 34px;
}

.partner-strip span,
.partner-strip strong {
  display: block;
}

.partner-strip span {
  color: #6b7280;
}

.partner-strip ul {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.partner-strip li {
  display: grid;
  place-items: center;
  min-height: 70px;
  color: #8b97a5;
  background: white;
  border: 1px solid #e2e0db;
  border-radius: 8px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.045);
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.partner-strip li:hover {
  color: #098ce9;
  border-color: rgba(9, 140, 233, 0.32);
  box-shadow: 0 16px 32px rgba(17, 24, 39, 0.08);
  transform: translateY(-3px);
}

.eduma-section,
.package-section,
.instructor-section {
  padding-top: 58px;
  padding-bottom: 30px;
}

.eduma-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.eduma-heading h2,
.eduma-categories h2,
.experience-section h2,
.newsletter-section h2 {
  margin-bottom: 0;
  color: #111827;
  font-size: clamp(2rem, 3.1vw, 3.35rem);
  line-height: 1.03;
}

.eduma-course-grid,
.package-grid,
.instructor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.eduma-course-card,
.package-grid article,
.instructor-grid article {
  overflow: hidden;
  background: white;
  border: 1px solid #e2e0db;
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.eduma-course-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform 0.5s ease-in-out;
}

.eduma-course-card:hover,
.package-grid article:hover,
.instructor-grid article:hover {
  border-color: rgba(9, 140, 233, 0.35);
  box-shadow: 0 22px 48px rgba(17, 24, 39, 0.12);
  transform: translateY(-5px);
}

.eduma-course-card:hover img,
.package-grid article:hover img {
  transform: scale(1.055);
}

.eduma-course-card:nth-child(3) img,
.package-grid article:nth-child(3) img {
  object-position: 68% center;
}

.course-content {
  padding: 18px;
}

.course-content small,
.course-content b {
  display: inline-flex;
  margin-right: 8px;
  margin-bottom: 14px;
  padding: 5px 9px;
  color: #098ce9;
  background: #dfefff;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 850;
}

.course-content b {
  color: #3ab500;
  background: #ecf9e8;
}

.course-content h3 {
  margin-bottom: 10px;
}

.course-content p {
  color: #6b7280;
  line-height: 1.55;
}

.course-content footer {
  display: flex;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid #e2e0db;
  color: #6b7280;
  font-weight: 800;
}

.course-content footer strong {
  color: #098ce9;
}

.course-register-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 16px;
  color: white;
  background: #007a78;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 850;
  text-decoration: none;
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.course-register-link:hover {
  background: #098ce9;
  box-shadow: 0 14px 30px rgba(9, 140, 233, 0.2);
  transform: translateY(-2px);
}

.eduma-categories {
  text-align: center;
  padding-top: 58px;
  padding-bottom: 58px;
}

.eduma-categories div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.eduma-categories a {
  padding: 12px 16px;
  background: white;
  border: 1px solid #e2e0db;
  border-radius: 8px;
  font-weight: 850;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.eduma-categories a:hover {
  color: white;
  background: #098ce9;
  border-color: #098ce9;
  transform: translateY(-3px);
}

.package-grid {
  grid-template-columns: repeat(3, 1fr);
}

.package-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.5s ease-in-out;
}

.package-grid article {
  padding-bottom: 22px;
}

.package-grid span,
.package-grid h3,
.package-grid p,
.package-grid strong {
  display: block;
  margin-left: 20px;
  margin-right: 20px;
}

.package-grid span {
  margin-top: 20px;
  color: #098ce9;
  font-weight: 850;
}

.package-grid h3 {
  margin-top: 8px;
  margin-bottom: 12px;
}

.package-grid p {
  min-height: 48px;
  margin-top: 0;
  margin-bottom: 14px;
  color: #6b7280;
  line-height: 1.5;
}

.package-grid strong {
  color: #111827;
  font-size: 1.25rem;
}

.experience-section {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 40px;
  align-items: center;
  padding-top: 70px;
  padding-bottom: 70px;
}

.experience-section > div {
  padding: 26px 0;
}

.experience-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.experience-list article {
  padding: 20px;
  background: white;
  border: 1px solid #e2e0db;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.055);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.experience-list article:hover {
  border-color: rgba(9, 140, 233, 0.32);
  box-shadow: 0 18px 38px rgba(17, 24, 39, 0.09);
  transform: translateY(-3px);
}

.experience-list p {
  margin-bottom: 0;
  color: #6b7280;
  line-height: 1.55;
}

.experience-section > img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  filter: drop-shadow(0 24px 38px rgba(17, 24, 39, 0.1));
}

.instructor-grid {
  grid-template-columns: repeat(3, 1fr);
}

.instructor-grid img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  background: #dfefff;
}

.instructor-grid h3,
.instructor-grid p {
  margin-left: 18px;
  margin-right: 18px;
}

.instructor-grid h3 {
  margin-top: 18px;
}

.instructor-grid p {
  margin-bottom: 20px;
  color: #6b7280;
}

.newsletter-section {
  margin-top: 46px;
  margin-bottom: 44px;
  padding-top: 44px;
  padding-bottom: 44px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(13, 45, 87, 0.98), rgba(0, 109, 111, 0.94)),
    #0d2d57;
  color: white;
  border-radius: 8px;
  box-shadow: 0 24px 54px rgba(13, 45, 87, 0.22);
}

.newsletter-section h2 {
  color: white;
}

.newsletter-section p {
  max-width: 680px;
  margin: 14px auto 0;
  color: rgba(255, 255, 255, 0.78);
}

.platform-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}

.platform-steps {
  display: grid;
  gap: 12px;
}

.platform-steps article {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 18px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.platform-steps strong {
  color: var(--teal);
}

.platform-steps span {
  color: #354555;
  line-height: 1.6;
  font-weight: 700;
}

.shell {
  display: grid;
  grid-template-columns: minmax(280px, 390px) minmax(0, 1fr);
  gap: 22px;
  width: min(1440px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 22px;
}

.workspace-shell {
  grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
  gap: 26px;
  width: min(1290px, 100%);
  min-height: auto;
  margin-top: 58px;
  margin-bottom: 74px;
  padding: 34px 24px;
  background:
    linear-gradient(135deg, rgba(232, 247, 255, 0.78), rgba(255, 255, 255, 0.96) 54%, rgba(236, 249, 232, 0.74));
  border: 1px solid rgba(16, 24, 32, 0.06);
  border-radius: 18px;
  box-shadow: 0 26px 70px rgba(17, 24, 39, 0.09);
}

.brand-panel,
.workspace,
.panel,
.table-panel,
.program-card {
  border: 1px solid rgba(16, 24, 32, 0.075);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(18px);
}

.brand-panel {
  position: relative;
  top: 0;
  display: flex;
  flex-direction: column;
  align-self: start;
  min-height: 0;
  padding: 28px;
  border-radius: 8px;
  overflow: hidden;
}

.brand-panel::after {
  content: "";
  position: absolute;
  right: -58px;
  bottom: -58px;
  width: 160px;
  height: 160px;
  border: 26px solid rgba(9, 140, 233, 0.1);
  border-radius: 50%;
}

.brand-logo {
  display: block;
  width: 96px;
  height: 96px;
  margin-bottom: 22px;
  object-fit: contain;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.08);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 11ch;
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.workspace-shell h1 {
  max-width: 11ch;
  font-size: clamp(2.15rem, 2.75vw, 3.05rem);
  line-height: 1;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.28rem, 2.1vw, 2.05rem);
  line-height: 1.1;
}

h3 {
  margin-bottom: 0;
  font-size: 1.05rem;
}

.intro {
  max-width: 38rem;
  color: var(--muted);
  line-height: 1.7;
}

.metric-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 24px;
  z-index: 1;
}

.metric-grid div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: baseline;
  padding: 13px 14px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.console-note {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
  margin-top: 16px;
  padding: 16px;
  color: #2f4152;
  background: #fff8e8;
  border: 1px solid rgba(200, 149, 45, 0.28);
  border-radius: 8px;
}

.console-note strong {
  color: #9b6a0c;
}

.console-note span {
  color: #607080;
  font-size: 0.85rem;
  line-height: 1.55;
}

.metric-grid strong,
.metric-grid span {
  display: block;
}

.metric-grid strong {
  color: #098ce9;
  font-size: 1.15rem;
}

.metric-grid span {
  margin-top: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.workspace {
  min-width: 0;
  padding: 28px;
  border-radius: 8px;
}

.topbar,
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar {
  margin-bottom: 24px;
  padding: 6px 0 22px;
  border-bottom: 1px solid var(--line);
}

.segmented {
  display: inline-grid;
  grid-template-columns: repeat(4, 1fr);
  min-width: 420px;
  padding: 4px;
  background: #edf5f8;
  border: 1px solid rgba(16, 24, 32, 0.06);
  border-radius: 8px;
}

.tab {
  min-height: 38px;
  border: 0;
  color: var(--muted);
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 750;
}

.tab.active {
  color: var(--ink);
  background: white;
  box-shadow: 0 8px 22px rgba(16, 24, 32, 0.1);
}

.view {
  display: none;
}

.view.active {
  display: grid;
  gap: 18px;
}

.panel,
.table-panel,
.program-card {
  border-radius: 8px;
}

.panel,
.table-panel {
  padding: 24px;
}

.status-pill {
  padding: 8px 10px;
  color: var(--teal-dark);
  background: rgba(0, 109, 111, 0.1);
  border: 1px solid rgba(0, 109, 111, 0.2);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 750;
  white-space: nowrap;
}

.candidate-register-body {
  min-height: 100vh;
  background:
    linear-gradient(180deg, #ffffff 0, #f2fbff 46%, #f7fff9 100%);
}

.compact-nav {
  min-height: 78px;
  padding-top: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(16, 24, 32, 0.08);
}

.candidate-registration-shell {
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 70px;
}

.registration-intro,
.candidate-form-panel,
.selected-program-panel,
.registration-success-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(16, 24, 32, 0.08);
  border-radius: 10px;
  box-shadow: 0 22px 58px rgba(17, 24, 39, 0.08);
}

.registration-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
  padding: 30px 34px;
}

.registration-intro h1 {
  max-width: 760px;
  margin: 0 0 8px;
  color: #111827;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.04;
}

.registration-intro p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: #66758a;
  font-size: 1.02rem;
  line-height: 1.55;
  font-weight: 650;
}

.registration-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  gap: 22px;
  align-items: start;
}

.selected-program-panel,
.candidate-form-panel {
  padding: 22px;
}

.registration-program-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #dde8ef;
}

.registration-program-card h2,
.selected-program-empty h2,
.candidate-form-panel h2 {
  margin: 0;
  color: #111827;
  font-size: 1.45rem;
  line-height: 1.12;
}

.registration-program-card p:not(.eyebrow),
.selected-program-empty p:not(.eyebrow) {
  color: #66758a;
  line-height: 1.5;
  font-weight: 650;
}

.registration-program-card dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 18px 0 0;
}

.registration-program-card dt,
.registration-program-card dd {
  margin: 0;
}

.registration-program-card dt {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 800;
}

.registration-program-card dd {
  color: #111827;
  font-weight: 900;
}

.section-title-row.compact {
  margin-bottom: 18px;
}

.section-title-row.compact > span {
  padding: 8px 11px;
  color: #006d6f;
  background: #e9f8f7;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 850;
}

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

.candidate-form-grid label {
  display: grid;
  gap: 7px;
  color: #344256;
  font-size: 0.9rem;
  font-weight: 850;
}

.candidate-form-grid input,
.candidate-form-grid select {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  color: #111827;
  background: #fbfdff;
  border: 1px solid #d9e4ec;
  border-radius: 8px;
  font: inherit;
  font-weight: 750;
}

.candidate-form-grid input:focus,
.candidate-form-grid select:focus {
  outline: 2px solid rgba(9, 140, 233, 0.2);
  border-color: #098ce9;
}

.registration-action-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.registration-action-row .register-submit-button {
  display: inline-block;
  min-width: 280px;
  border: 0;
  cursor: pointer;
}

.registration-action-row a:not(.eduma-primary) {
  color: #007a78;
  font-weight: 850;
  text-decoration: none;
}

.registration-success-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding: 20px 22px;
  border-color: rgba(0, 122, 120, 0.2);
  background: linear-gradient(135deg, #f2fffb, #ffffff);
}

.registration-success-card h2,
.registration-success-card p {
  margin: 0;
}

.registration-success-card p:not(.eyebrow) {
  color: #344256;
  font-weight: 750;
}

.academy-alert {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 800;
}

.academy-alert.error {
  color: #9f1239;
  background: #fff1f2;
  border: 1px solid #fecdd3;
}

.learner-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  background: white;
  border: 1px solid rgba(16, 24, 32, 0.075);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.learner-toolbar label {
  min-width: min(360px, 100%);
}

.login-panel {
  display: grid;
  grid-template-columns: 1.1fr minmax(180px, 0.55fr) minmax(150px, 0.45fr) auto;
  gap: 16px;
  align-items: end;
  padding: 22px;
  background: white;
  border: 1px solid rgba(16, 24, 32, 0.075);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.login-panel h3 {
  margin-bottom: 8px;
}

.login-panel p:not(.eyebrow) {
  margin: 0;
  color: #607080;
  font-size: 0.9rem;
  line-height: 1.55;
}

.learner-dashboard {
  display: grid;
  gap: 18px;
}

.candidate-dashboard-body {
  min-height: 100vh;
  background:
    linear-gradient(180deg, #ffffff 0, #f3fbff 42%, #f7fff9 100%);
}

.dashboard-shell {
  width: min(1154px, calc(100% - 40px));
  margin: 0 auto;
  padding: 14px 0 40px;
}

.candidate-dashboard-body.is-theatre-mode .dashboard-shell {
  width: min(1540px, calc(100% - 40px));
}

.dashboard-nav {
  min-height: 58px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(16, 24, 32, 0.08);
}

.dashboard-nav .wordmark-logo {
  width: clamp(170px, 15vw, 250px);
}

.dashboard-nav nav {
  padding: 4px;
}

.dashboard-nav nav a,
.dashboard-nav nav input,
.dashboard-nav nav button {
  min-height: 34px;
  padding: 0 11px;
  font-size: 0.82rem;
}

.learner-summary {
  margin-bottom: 10px;
  background:
    linear-gradient(135deg, rgba(13, 45, 87, 0.98), rgba(0, 109, 111, 0.94)),
    #0d2d57;
  color: white;
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(13, 45, 87, 0.16);
}

.learner-summary-accordion {
  overflow: hidden;
}

.learner-summary-accordion summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  gap: 14px;
  align-items: center;
  min-height: 54px;
  padding: 10px 14px 10px 18px;
  cursor: pointer;
  list-style: none;
}

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

.summary-toggle {
  position: relative;
  display: grid;
  place-items: center;
  justify-self: end;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.summary-toggle::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid rgba(255, 255, 255, 0.9);
  transform: translateX(1px);
  transition: transform 0.2s ease;
}

.learner-summary-accordion[open] .summary-toggle::before {
  transform: rotate(90deg) translateX(1px);
}

.summary-copy {
  display: flex;
  gap: 12px;
  align-items: baseline;
  min-width: 0;
}

.summary-copy .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.summary-copy strong {
  overflow: hidden;
  color: white;
  font-size: clamp(0.98rem, 1.18vw, 1.2rem);
  font-weight: 950;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.summary-copy small {
  overflow: hidden;
  flex: 1 1 auto;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.learner-summary-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 320px);
  gap: 12px;
  align-items: center;
  padding: 0 14px 12px 18px;
}

.certificate-rule {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 750;
}

.attendance-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 6px 9px;
  align-items: center;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.attendance-card span,
.attendance-card small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.attendance-card small {
  grid-column: 1 / -1;
}

.attendance-card strong {
  color: white;
  font-size: 0.96rem;
  line-height: 1;
}

.attendance-card .progress-track {
  min-width: 78px;
}

.progress-track {
  position: relative;
  height: 9px;
  overflow: hidden;
  background: rgba(96, 112, 128, 0.18);
  border-radius: 999px;
}

.progress-track i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: #8ec640;
  border-radius: inherit;
  transition: width 0.35s ease;
}

.player-layout {
  display: grid;
  grid-template-columns: minmax(0, 820px) minmax(290px, 320px);
  justify-content: center;
  gap: 14px;
  align-items: start;
}

.candidate-dashboard-body.is-theatre-mode .player-layout {
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.candidate-dashboard-body.is-theatre-mode .learner-summary {
  display: none;
}

.candidate-dashboard-body.is-theatre-mode .session-panel {
  position: static;
}

.candidate-dashboard-body.is-theatre-mode .session-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-height: none;
  overflow: visible;
}

.player-panel,
.session-panel,
.watch-log-panel {
  background: white;
  border: 1px solid rgba(16, 24, 32, 0.075);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.player-panel {
  overflow: hidden;
}

.player-session-head {
  display: none;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px 8px;
  border-bottom: 1px solid var(--line);
}

.player-session-head h2 {
  margin: 0 0 3px;
  color: #111827;
  font-size: clamp(0.98rem, 1.12vw, 1.22rem);
  line-height: 1.12;
}

.player-session-head p:not(.eyebrow) {
  margin: 0;
  color: #66758a;
  font-size: 0.8rem;
  font-weight: 750;
}

.player-session-head > span {
  flex: 0 0 auto;
  padding: 7px 10px;
  color: #006d6f;
  background: #e9f8f7;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
}

.video-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  color: white;
  background:
    linear-gradient(135deg, rgba(7, 26, 47, 0.9), rgba(0, 109, 111, 0.78)),
    url("../public/brand/irdo-academy-hero-optimized.jpg") center / cover;
}

.session-video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: #061726;
  object-fit: contain;
}

.youtube-buffer {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.youtube-buffer.is-visible {
  opacity: 1;
}

.youtube-buffer span {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255, 255, 255, 0.32);
  border-top-color: #fff;
  border-radius: 50%;
  animation: youtubeBufferSpin 0.8s linear infinite;
}

@keyframes youtubeBufferSpin {
  to {
    transform: rotate(360deg);
  }
}

.youtube-player-shell {
  background: #05070a;
  overflow: hidden;
  scroll-margin-top: 76px;
}

.candidate-dashboard-body.is-theatre-mode .youtube-player-shell {
  display: grid;
  background: #000000;
}

.candidate-dashboard-body.is-theatre-mode .video-frame {
  justify-self: center;
  width: min(100%, 138vh);
  max-height: calc(100vh - 148px);
}

.youtube-controls {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  color: white;
  background: #0b0f14;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.youtube-controls button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: white;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.youtube-controls button:hover {
  background: rgba(255, 255, 255, 0.12);
}

.youtube-controls button[aria-pressed="true"] {
  color: #ff0033;
  background: rgba(255, 255, 255, 0.14);
}

.youtube-controls button.is-muted {
  color: #ff0033;
}

.youtube-controls svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.youtube-controls svg text {
  fill: currentColor;
  font-size: 9px;
  font-weight: 950;
  font-family: Arial, Helvetica, sans-serif;
}

.youtube-time {
  display: flex;
  gap: 5px;
  flex: 0 0 116px;
  justify-content: flex-end;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.76rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.youtube-seek-shell {
  position: relative;
  flex: 1 1 auto;
  height: 6px;
  margin-left: 10px;
  overflow: visible;
  background: rgba(255, 255, 255, 0.28);
  border-radius: 999px;
}

.youtube-buffer-track,
.youtube-played-track {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  border-radius: inherit;
  pointer-events: none;
}

.youtube-buffer-track {
  z-index: 1;
  background: rgba(255, 0, 51, 0.3);
}

.youtube-played-track {
  z-index: 2;
  background: #ff0033;
}

.youtube-seek-thumb {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 4;
  width: 14px;
  height: 14px;
  background: #ff0033;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.youtube-controls input[type="range"] {
  position: absolute;
  inset: -8px 0;
  z-index: 3;
  width: 100%;
  height: 22px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  outline: none;
}

.youtube-controls input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  background: transparent;
  border-radius: 999px;
}

.youtube-controls input[type="range"]::-webkit-slider-thumb {
  width: 20px;
  height: 20px;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  border-radius: 50%;
  margin-top: -7px;
}

.youtube-controls input[type="range"]::-moz-range-track {
  height: 6px;
  background: transparent;
  border-radius: 999px;
}

.youtube-controls input[type="range"]::-moz-range-progress {
  height: 6px;
  background: transparent;
  border-radius: 999px;
}

.youtube-controls input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: transparent;
  border: 0;
  border-radius: 50%;
}

.video-frame:has(.session-video:not(.hidden))::after {
  background: linear-gradient(0deg, rgba(7, 26, 47, 0.58), transparent 42%);
}

.video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 26, 47, 0.8), transparent 58%),
    linear-gradient(0deg, rgba(7, 26, 47, 0.45), transparent 46%);
  pointer-events: none;
}

.video-frame.has-video::after {
  display: none;
}

.video-status {
  position: relative;
  z-index: 2;
  justify-self: start;
  align-self: end;
  display: grid;
  gap: 8px;
  max-width: 560px;
}

.video-status span,
.video-status small {
  color: rgba(255, 255, 255, 0.78);
}

.video-status strong {
  color: white;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.05;
}

.play-button {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border: 0;
  color: #098ce9;
  background: white;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.6rem;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.play-button:hover {
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.34);
  transform: scale(1.05);
}

.watch-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px 8px;
  background: white;
}

.watch-title-row h3 {
  margin: 0 0 4px;
  color: #101820;
  font-size: clamp(1rem, 1.25vw, 1.28rem);
  line-height: 1.15;
}

.watch-title-row p {
  margin: 0;
  color: #607080;
  font-size: 0.82rem;
  font-weight: 800;
}

.watch-title-row > span {
  flex: 0 0 auto;
  padding: 7px 10px;
  color: #607080;
  background: #f3f8fb;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.session-progress {
  display: grid;
  gap: 10px;
  padding: 0 12px 12px;
  color: #354555;
  font-weight: 850;
}

.video-description {
  padding: 12px;
  background: #f7fbfd;
  border-top: 1px solid var(--line);
}

.video-description h4 {
  margin: 0 0 5px;
  color: #101820;
  font-size: 0.9rem;
}

.video-description p {
  margin: 0;
  color: #4f6174;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.5;
}

.session-panel {
  padding: 12px;
  position: sticky;
  top: 82px;
}

.session-panel .panel-head {
  align-items: flex-start;
  gap: 10px;
}

.session-panel .panel-head h2 {
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  line-height: 1.02;
}

.session-panel .panel-head > span {
  padding-top: 7px;
  color: #101820;
  font-size: 0.9rem;
  font-weight: 750;
  white-space: nowrap;
}

.session-list {
  display: grid;
  gap: 7px;
  max-height: calc(100vh - 160px);
  margin-top: 10px;
  overflow-y: auto;
  padding-right: 4px;
}

.session-item {
  display: grid;
  grid-template-columns: 56px 22px 1fr;
  gap: 3px 8px;
  align-items: center;
  width: 100%;
  padding: 7px 8px;
  color: #354555;
  background: #f7fbfd;
  border: 1px solid #dce5eb;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.session-item img {
  grid-row: 1 / 4;
  width: 56px;
  height: 38px;
  object-fit: cover;
  border-radius: 7px;
  border: 1px solid #dce5eb;
}

.session-item span {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  color: #087dcb;
  background: #e7f3ff;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}

.session-item strong {
  color: #101820;
  font-size: 0.78rem;
  line-height: 1.18;
}

.session-item small {
  grid-column: 2 / 4;
  color: #607080;
  font-size: 0.74rem;
  font-weight: 750;
}

.session-item.active {
  background: #eef8ff;
  border-color: rgba(9, 140, 233, 0.45);
  transform: translateX(2px);
}

.session-item.complete span {
  color: #0b6f51;
  background: #dcf6ec;
  box-shadow: inset 0 0 0 1px rgba(22, 128, 90, 0.16);
}

.session-item.pending-video {
  opacity: 0.72;
}

.suggested-programs-section {
  margin-top: 14px;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 252, 254, 0.94)),
    #ffffff;
  border: 1px solid rgba(16, 24, 32, 0.075);
  border-radius: 10px;
  box-shadow: var(--soft-shadow);
}

.suggested-programs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.suggested-programs-head h2 {
  margin: 0;
  color: #101820;
  font-size: clamp(1.05rem, 1.25vw, 1.32rem);
  line-height: 1.1;
}

.suggested-programs-head a {
  flex: 0 0 auto;
  padding: 8px 11px;
  color: #007a7a;
  background: #e9f8f7;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
  text-decoration: none;
}

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

.dashboard-suggested-card img {
  height: 145px;
}

.dashboard-suggested-card .course-content {
  padding: 14px;
}

.dashboard-suggested-card .course-content small,
.dashboard-suggested-card .course-content b {
  margin-bottom: 10px;
  font-size: 0.68rem;
}

.dashboard-suggested-card .course-content h3 {
  margin-bottom: 8px;
  font-size: 0.96rem;
  line-height: 1.18;
}

.dashboard-suggested-card .course-content p {
  font-size: 0.78rem;
  line-height: 1.42;
}

.dashboard-suggested-card .course-content footer {
  padding-top: 11px;
  font-size: 0.78rem;
}

.dashboard-suggested-card .course-register-link {
  min-height: 36px;
  margin-top: 12px;
  font-size: 0.78rem;
}

.watch-log-panel {
  padding: 20px;
}

.watch-log-panel .panel-head > span {
  color: #607080;
  font-weight: 850;
}

.watch-log-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.watch-log-list article {
  display: grid;
  gap: 5px;
  padding: 14px;
  background: #f7fbfd;
  border: 1px solid #dce5eb;
  border-radius: 8px;
}

.watch-log-list article span {
  color: #16805a;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.watch-log-list article small {
  color: #607080;
}

.compact-empty {
  margin-top: 0;
  padding: 16px;
}

.system-design-section {
  width: min(1290px, calc(100% - 48px));
  margin: 0 auto 82px;
  padding: 44px 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(232, 247, 255, 0.78)),
    white;
  border: 1px solid rgba(16, 24, 32, 0.075);
  border-radius: 18px;
  box-shadow: 0 26px 70px rgba(17, 24, 39, 0.09);
}

.system-heading {
  display: grid;
  gap: 10px;
  max-width: 840px;
  margin-bottom: 30px;
}

.system-heading h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(2rem, 3vw, 3.25rem);
  line-height: 1.03;
}

.system-heading p:not(.eyebrow) {
  margin: 0;
  color: #607080;
  line-height: 1.65;
}

.architecture-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.architecture-map article {
  display: grid;
  gap: 10px;
  min-height: 188px;
  padding: 18px;
  background: white;
  border: 1px solid #dce5eb;
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.architecture-map article:hover {
  border-color: rgba(9, 140, 233, 0.34);
  box-shadow: 0 18px 38px rgba(17, 24, 39, 0.1);
  transform: translateY(-3px);
}

.architecture-map span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #098ce9;
  background: #dfefff;
  border-radius: 50%;
  font-weight: 900;
}

.architecture-map h3 {
  margin: 0;
  color: #101820;
}

.architecture-map p {
  margin: 0;
  color: #607080;
  font-size: 0.92rem;
  line-height: 1.55;
}

.system-flow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.system-flow > div {
  padding: 24px;
  background: #0d2d57;
  color: white;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(13, 45, 87, 0.18);
}

.system-flow > div:nth-child(2) {
  background: #006d6f;
}

.system-flow .eyebrow,
.system-flow p,
.system-flow li {
  color: rgba(255, 255, 255, 0.78);
}

.system-flow h3 {
  margin-bottom: 14px;
  color: white;
  font-size: 1.35rem;
}

.system-flow ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  line-height: 1.55;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

label {
  display: grid;
  gap: 7px;
  color: #354555;
  font-size: 0.82rem;
  font-weight: 800;
}

.upload-helper-label {
  gap: 10px;
}

.upload-helper {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 10px;
  color: #0369a1;
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.45;
  padding: 8px 10px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #dce5eb;
  background: #fbfdff;
  color: var(--ink);
  border-radius: 8px;
  outline: 0;
}

input,
select {
  min-height: 40px;
  padding: 0 11px;
}

textarea {
  resize: vertical;
  padding: 10px 11px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 109, 111, 0.12);
}

.wide,
.primary-action {
  grid-column: 1 / -1;
}

.primary-action,
.ghost-action,
.icon-action {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 850;
}

.primary-action {
  color: white;
  background: #098ce9;
  box-shadow: 0 12px 26px rgba(9, 140, 233, 0.2);
  transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.primary-action:hover {
  background: #087bd0;
  box-shadow: 0 16px 32px rgba(9, 140, 233, 0.26);
  transform: translateY(-2px);
}

.ghost-action {
  padding: 0 14px;
  color: var(--teal-dark);
  background: #e4eff1;
}

.icon-action {
  width: 38px;
  min-height: 38px;
  color: var(--ink);
  background: var(--soft);
}

.icon-action.danger {
  color: white;
  background: var(--red);
}

.icon-action.warning {
  color: var(--teal-dark);
  background: rgba(200, 149, 45, 0.22);
}

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

.program-card {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.program-card.disabled {
  opacity: 0.55;
}

.program-card header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.program-card h4 {
  margin: 0;
  font-size: 1rem;
}

.program-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.card-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.card-meta span {
  padding: 10px;
  background: var(--soft);
  border-radius: 8px;
  color: #354555;
  font-size: 0.8rem;
  font-weight: 750;
}

.curriculum-preview {
  display: grid;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.curriculum-preview strong {
  font-size: 0.85rem;
}

.curriculum-preview p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.curriculum-preview ol {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
  color: #354555;
  font-size: 0.82rem;
  line-height: 1.4;
}

.table-wrap {
  width: 100%;
  margin-top: 18px;
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

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

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

td {
  font-size: 0.9rem;
}

.row-title {
  display: grid;
  gap: 4px;
}

.row-title strong {
  font-size: 0.95rem;
}

.row-title span {
  color: var(--muted);
  font-size: 0.8rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 850;
}

.badge.active {
  color: var(--green);
  background: rgba(22, 128, 90, 0.12);
}

.badge.disabled {
  color: var(--red);
  background: rgba(184, 50, 50, 0.12);
}

.actions {
  display: flex;
  gap: 8px;
}

.empty-state {
  margin-top: 18px;
  padding: 22px;
  color: var(--muted);
  background: var(--soft);
  border: 1px dashed var(--line);
  border-radius: 8px;
}

.hidden {
  display: none;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  max-width: min(420px, calc(100vw - 44px));
  padding: 14px 16px;
  color: white;
  background: var(--ink);
  border-radius: 8px;
  opacity: 0;
  transform: translateY(12px);
  transition: 160ms ease;
  pointer-events: none;
  box-shadow: var(--shadow);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .site-nav {
    width: min(100% - 24px, 1440px);
  }

  .dashboard-shell {
    width: min(100% - 24px, 980px);
  }

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

  .session-panel {
    position: static;
  }

  .session-list {
    max-height: none;
  }

  .candidate-dashboard-body.is-theatre-mode .session-list {
    grid-template-columns: 1fr;
  }

  .suggested-program-grid,
  .candidate-dashboard-body.is-theatre-mode .suggested-program-grid {
    grid-template-columns: 1fr;
  }

  .hero-section,
  .platform-section,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: 14ch;
  }

  .hero-photo-card {
    min-height: 460px;
  }

  .hero-photo-card img {
    height: 460px;
  }

  .course-grid,
  .stat-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-section {
    grid-template-columns: 1fr;
  }

  .stat-strip div:nth-child(2) {
    border-right: 0;
  }

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

  .player-layout,
  .learner-summary-body,
  .login-panel {
    grid-template-columns: 1fr;
  }

  .learner-summary-body {
    padding-left: 18px;
  }

  .attendance-card {
    grid-template-columns: auto auto minmax(70px, 1fr);
    border-radius: 8px;
  }

  .attendance-card small {
    grid-column: 1 / -1;
  }

  .eduma-hero,
  .experience-section {
    grid-template-columns: 1fr;
  }

  .eduma-hero-art {
    min-height: 460px;
  }

  .eduma-hero-art > img {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    height: 440px;
  }

  .learning-types,
  .eduma-course-grid,
  .package-grid,
  .instructor-grid,
  .architecture-map {
    grid-template-columns: repeat(2, 1fr);
  }

  .partner-strip {
    grid-template-columns: 1fr;
  }

  .partner-strip ul {
    grid-template-columns: repeat(3, 1fr);
  }

  .brand-panel {
    position: relative;
    top: 0;
    min-height: auto;
  }

  h1 {
    max-width: 16ch;
  }

  .program-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-nav {
    align-items: stretch;
    flex-direction: column;
    padding: 10px 0;
  }

  .site-nav nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .nav-action {
    justify-content: center;
  }

  .homepage {
    padding: 12px;
  }

  .hero-section,
  .home-section,
  .platform-section {
    padding: 20px;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-copy h1 {
    max-width: 12ch;
    font-size: 3rem;
  }

  .hero-photo-card {
    min-height: auto;
  }

  .hero-photo-card img {
    height: 320px;
  }

  .rating-card,
  .enroll-card {
    position: static;
    margin-top: 10px;
  }

  .course-search {
    align-items: stretch;
    flex-direction: column;
  }

  .course-search a {
    width: 100%;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .course-grid,
  .category-grid,
  .stat-strip {
    grid-template-columns: 1fr;
  }

  .stat-strip div {
    border-right: 0;
  }

  .shell {
    padding: 12px;
  }

  .promo-bar {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  .eduma-hero {
    padding: 40px 16px 34px;
    min-height: auto;
  }

  .eduma-hero h1 {
    font-size: 3rem;
  }

  .eduma-hero-art {
    min-height: 360px;
  }

  .eduma-hero-art::before {
    width: 280px;
    height: 280px;
  }

  .eduma-hero-art > img {
    height: 330px;
  }

  .rating-bubble {
    left: 0;
    right: 0;
    bottom: 0;
    min-width: 0;
  }

  .learning-types,
  .eduma-course-grid,
  .package-grid,
  .instructor-grid,
  .experience-list,
  .partner-strip ul,
  .architecture-map,
  .system-flow,
  .registration-layout,
  .candidate-form-grid {
    grid-template-columns: 1fr;
  }

  .system-design-section {
    width: calc(100% - 24px);
    padding: 28px 16px;
    border-radius: 12px;
  }

  .learning-types article {
    border-right: 0;
    border-bottom: 1px solid #e2e0db;
    padding: 20px;
  }

  .learning-types article:last-child {
    border-bottom: 0;
  }

  .eduma-heading {
    align-items: start;
    flex-direction: column;
  }

  .brand-panel,
  .workspace,
  .panel,
  .table-panel {
    padding: 16px;
  }

  .topbar,
  .panel-head,
  .learner-toolbar,
  .registration-success-card {
    align-items: stretch;
    flex-direction: column;
  }

  .candidate-registration-shell {
    width: calc(100% - 24px);
    padding-top: 18px;
  }

  .registration-intro,
  .selected-program-panel,
  .candidate-form-panel {
    padding: 18px;
  }

  .registration-intro h1 {
    font-size: 2.15rem;
  }

  .registration-action-row {
    align-items: stretch;
    flex-direction: column;
  }

  .login-panel {
    align-items: stretch;
  }

  .segmented,
  .form-grid,
  .program-board,
  .metric-grid {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .segmented {
    grid-template-columns: repeat(2, 1fr);
  }

  .video-frame {
    height: auto;
    aspect-ratio: 16 / 9;
    min-height: 180px;
    padding: 0;
  }

  .youtube-controls {
    gap: 4px;
    padding: 7px;
  }

  .youtube-controls button {
    width: 30px;
    height: 30px;
  }

  .youtube-controls svg {
    width: 18px;
    height: 18px;
  }

  .youtube-time {
    flex-basis: 82px;
    font-size: 0.68rem;
  }

  .play-button {
    width: 62px;
    height: 62px;
  }

  .watch-title-row {
    align-items: stretch;
    flex-direction: column;
  }

  .watch-title-row > span {
    align-self: flex-start;
  }

  .suggested-programs-section {
    padding: 12px;
  }

  .suggested-programs-head {
    align-items: start;
    flex-direction: column;
  }

  .dashboard-suggested-card img {
    height: 132px;
  }

  .status-pill {
    justify-self: start;
  }
}
