:root {
  --color-primary: #005A9C;
  --color-primary-dark: #004377;
  --color-secondary: #F5A623;
  --color-background: #F4F6F8;
  --color-surface: #FFFFFF;
  --color-text: #212121;
  --color-muted: #606A76;
  --color-border: rgba(0, 0, 0, 0.08);
  --color-success: #1B9A5F;
  --shadow-soft: 0 12px 24px rgba(12, 42, 85, 0.12);
  --shadow-hover: 0 18px 32px rgba(12, 42, 85, 0.18);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --transition: all 200ms ease;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: var(--color-background);
  color: var(--color-text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}
.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.top-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 20px clamp(16px, 3vw, 48px);
  backdrop-filter: blur(10px);
  background: rgba(244, 246, 248, 0.84);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.top-nav-panel {
  display: contents;
}
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 14px;
  border: 1px solid rgba(0, 90, 156, 0.14);
  background: linear-gradient(135deg, #0a4476 0%, #005a9c 100%);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 90, 156, 0.2);
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
  z-index: 22;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 4px;
  transition: transform 200ms ease, opacity 200ms ease;
}
.nav-toggle span:nth-child(2) {
  width: 16px;
}
.nav-toggle span + span {
  margin-top: 0;
}
.nav-toggle:hover {
  border-color: rgba(0, 90, 156, 0.24);
  box-shadow: 0 14px 30px rgba(0, 90, 156, 0.26);
}
.nav-toggle:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}
.top-nav.mobile-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.top-nav.mobile-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
.top-nav.mobile-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.top-menu {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--color-border);
  box-shadow: 0 10px 20px rgba(0, 90, 156, 0.08);
}
.menu-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--color-muted);
  transition: var(--transition);
}
.menu-link:hover {
  color: var(--color-primary);
  background: rgba(0, 90, 156, 0.08);
}
.menu-link.active {
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--color-primary), #3278B5);
  box-shadow: 0 12px 22px rgba(0, 90, 156, 0.2);
}
.nav-badge {
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 8px 16px rgba(239, 68, 68, 0.35);
}
.nav-badge[hidden] {
  display: none;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-primary) 0%, #3278B5 100%);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 1rem;
  overflow: hidden;
}
.brand-logo {
  background: #fff;
  border: 1px solid var(--color-border);
}
.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}
.ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: #FFFFFF;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: 0 8px 14px rgba(0, 90, 156, 0.08);
  transition: var(--transition);
}
.ghost-btn:hover {
  border-color: rgba(0, 90, 156, 0.25);
  box-shadow: 0 10px 16px rgba(0, 90, 156, 0.12);
}
.ghost-btn.danger {
  border-color: rgba(185, 28, 28, 0.3);
  color: #b91c1c;
  box-shadow: 0 8px 14px rgba(185, 28, 28, 0.12);
}
.ghost-btn.danger:hover {
  border-color: rgba(185, 28, 28, 0.5);
  box-shadow: 0 10px 18px rgba(185, 28, 28, 0.18);
}
.open-app-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  border: none;
  background: var(--color-primary);
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: 0 10px 18px rgba(0, 90, 156, 0.18);
  transition: var(--transition);
}
.open-app-btn:hover {
  background: var(--color-primary-dark);
  box-shadow: 0 14px 28px rgba(0, 90, 156, 0.22);
}
.landing-bar {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 20px clamp(16px, 4vw, 32px) 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.landing-bar-actions {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
}
.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  box-shadow: 0 10px 18px rgba(0, 90, 156, 0.12);
  transition: var(--transition);
}
.pill-btn.primary-pill {
  background: var(--color-secondary);
  color: #2E1A00;
  box-shadow: 0 14px 26px rgba(245, 166, 35, 0.24);
}
.pill-btn.primary-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(245, 166, 35, 0.28);
}
.pill-btn.ghost-pill {
  background: #FFFFFF;
  color: var(--color-primary);
  border-color: var(--color-border);
}
.pill-btn.ghost-pill:hover {
  border-color: rgba(0, 90, 156, 0.2);
  box-shadow: 0 12px 22px rgba(0, 90, 156, 0.14);
}
.role-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 14px;
  border: 1px solid rgba(0, 90, 156, 0.16);
  background: linear-gradient(135deg, var(--color-primary), #3278B5);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 12px 24px rgba(0, 90, 156, 0.2);
  transition: var(--transition);
}
.role-switch-btn .role-switch-label {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.2;
}
.role-switch-btn .role-switch-state {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.12);
}
.role-switch-btn.is-learner {
  background: linear-gradient(135deg, var(--color-secondary), #FFCB68);
  color: #2E1A00;
  border-color: rgba(245, 166, 35, 0.32);
  box-shadow: 0 12px 22px rgba(245, 166, 35, 0.22);
}
.role-switch-btn.is-learner .role-switch-state {
  background: #2E1A00;
  box-shadow: 0 0 0 6px rgba(46, 26, 0, 0.08);
}
.role-switch-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  box-shadow: none;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(12, 20, 39, 0.48);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 1100;
}
.modal-backdrop.hidden {
  display: none;
}
.modal-card {
  width: min(520px, 100%);
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  padding: 24px;
  border: 1px solid rgba(0, 90, 156, 0.1);
}
.modal-card h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  color: #0C1427;
}
.modal-card p {
  margin: 0 0 20px;
  color: #3A455A;
  line-height: 1.5;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.role-switch-btn:not(:disabled):hover {
  transform: translateY(-1px);
}
main {
  flex: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 56px) clamp(16px, 4vw, 32px) 80px;
}
.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(24px, 5vw, 60px);
  padding: clamp(24px, 4vw, 56px);
  background: radial-gradient(circle at 70% 30%, rgba(0, 90, 156, 0.12), transparent 40%), var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 90, 156, 0.08);
  box-shadow: var(--shadow-soft);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 15% 15%, rgba(245, 166, 35, 0.18), transparent 50%);
}
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2vw, 26px);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 90, 156, 0.08);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.85rem;
  width: fit-content;
}
.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.hero p {
  margin: 0;
  max-width: 540px;
  font-size: 1.05rem;
  color: var(--color-muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.hero-actions .primary {
  padding: 14px 28px;
  border-radius: 99px;
  background: var(--color-secondary);
  color: #2E1A00;
  font-weight: 600;
  border: none;
  box-shadow: 0 12px 20px rgba(245, 166, 35, 0.2);
}
.cta-actions .primary {
  padding: 12px 22px;
  border-radius: 99px;
  background: linear-gradient(135deg, var(--color-primary), #3278B5);
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 14px 24px rgba(0, 90, 156, 0.18);
}
.hero-actions .secondary {
  padding: 12px 20px;
  border-radius: 99px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  color: var(--color-primary);
}
.hero-actions .secondary.ghost {
  background: #FFFFFF;
}
.code-card {
  position: relative;
  z-index: 1;
  margin-top: 4px;
  padding: clamp(18px, 3vw, 28px);
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.code-card h3 {
  margin: 0;
  font-size: 1.05rem;
}
.code-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
}
.code-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.code-form .field {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.code-form input {
  flex: 1;
  min-width: 180px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #FFFFFF;
  font-size: 0.98rem;
  font-weight: 500;
}
.code-form button {
  padding: 14px 22px;
  border-radius: 12px;
  border: none;
  background: var(--color-primary);
  color: #FFFFFF;
  font-weight: 600;
  transition: var(--transition);
}
.code-form button:hover {
  background: var(--color-primary-dark);
}
.hero-visual {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(400px, 100%);
  justify-self: center;
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: -36px;
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(0, 90, 156, 0.16), rgba(245, 166, 35, 0.12));
  filter: blur(12px);
  z-index: -1;
}
.device-preview {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  border: 10px solid rgba(0, 0, 0, 0.85);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}
.device-status-bar {
  height: 18px;
  background: rgba(0, 0, 0, 0.85);
}
.device-screen {
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.16), rgba(0, 90, 156, 0.35));
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 280px;
}
.device-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.device-card img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 14px;
}
.device-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 90, 156, 0.12);
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 600;
}
.device-price {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-primary);
}
.landing-main {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 60px) clamp(16px, 5vw, 36px) 90px;
}
.landing-hero {
  margin-top: clamp(12px, 4vw, 28px);
  background: radial-gradient(circle at 12% 12%, rgba(245, 166, 35, 0.16), transparent 40%), radial-gradient(circle at 88% 10%, rgba(0, 90, 156, 0.16), transparent 40%), linear-gradient(135deg, #FFFFFF 0%, #f6f9fc 60%, #eef4ff 100%);
  box-shadow: 0 22px 46px rgba(12, 42, 85, 0.12);
}
.hero-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.highlight-card {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 12px 24px rgba(12, 42, 85, 0.08);
  display: grid;
  gap: 6px;
}
.highlight-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(0, 90, 156, 0.1);
  display: grid;
  place-items: center;
  font-size: 0.95rem;
}
.highlight-label {
  font-size: 0.88rem;
  color: var(--color-muted);
  font-weight: 600;
}
.highlight-card strong {
  font-size: 1.05rem;
}
.device-card.ghost {
  background: rgba(255, 255, 255, 0.7);
  border: 1px dashed rgba(0, 0, 0, 0.08);
}
.landing-device {
  box-shadow: 0 20px 44px rgba(12, 42, 85, 0.2);
}
.floating-card {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(140deg, rgba(0, 90, 156, 0.08), rgba(245, 166, 35, 0.08));
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 16px 32px rgba(12, 42, 85, 0.12);
  display: grid;
  gap: 10px;
}
.floating-label {
  width: fit-content;
  padding: 6px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.85rem;
}
.avatar-stack {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--color-primary), #3278B5);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.82rem;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}
.avatar.more {
  background: linear-gradient(135deg, var(--color-secondary), #FFCB68);
  color: #2E1A00;
}
.avatar-text {
  font-weight: 600;
  color: var(--color-text);
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.section-head p {
  margin: 0;
  color: var(--color-muted);
}
.feature-section {
  margin-top: clamp(38px, 6vw, 68px);
  padding: clamp(20px, 4vw, 32px);
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.96), rgba(238, 245, 251, 0.96));
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 18px 36px rgba(14, 56, 102, 0.08);
}
.feature-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}
.feature-card {
  padding: 16px;
  border-radius: 16px;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 12px 26px rgba(12, 42, 85, 0.08);
  display: grid;
  gap: 8px;
}
.feature-card h3 {
  margin: 0;
  font-size: 1.05rem;
}
.feature-card p {
  margin: 0;
  color: var(--color-muted);
}
.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(0, 90, 156, 0.1);
  display: grid;
  place-items: center;
  font-size: 1.05rem;
}
.steps-section {
  margin-top: clamp(34px, 5vw, 62px);
  display: grid;
  gap: 20px;
}
.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.step-card {
  padding: 18px;
  border-radius: 18px;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 14px 28px rgba(12, 42, 85, 0.08);
  display: grid;
  gap: 8px;
}
.step-card h3 {
  margin: 0;
  font-size: 1.05rem;
}
.step-card p {
  margin: 0;
  color: var(--color-muted);
}
.step-id {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(0, 90, 156, 0.1);
  color: var(--color-primary);
  font-weight: 700;
  display: grid;
  place-items: center;
}
.cta-banner {
  margin-top: clamp(36px, 5vw, 64px);
  padding: clamp(18px, 3vw, 28px);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(0, 90, 156, 0.14), rgba(245, 166, 35, 0.12));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 18px 32px rgba(12, 42, 85, 0.12);
  flex-wrap: wrap;
}
.cta-text h3 {
  margin: 0 0 6px;
  font-size: 1.4rem;
}
.cta-text p {
  margin: 0;
  color: var(--color-muted);
}
.cta-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.cta-link {
  font-weight: 700;
  color: var(--color-primary);
}
.catalog-header {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  align-items: center;
  padding: clamp(18px, 3.5vw, 32px);
  background: linear-gradient(120deg, #fff7ec 0%, #eef5fb 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 20px 38px rgba(12, 42, 85, 0.1);
}
.catalog-copy h1 {
  margin: 8px 0 10px;
}
.catalog-copy p {
  margin: 0;
  color: var(--color-muted);
  max-width: 620px;
}
.catalog-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.code-card.compact {
  margin-top: 0;
  box-shadow: 0 16px 30px rgba(12, 42, 85, 0.1);
  max-width: 520px;
  width: 100%;
}
.filters {
  margin-top: clamp(18px, 3vw, 28px);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  align-content: flex-start;
  justify-content: space-between;
}
.code-access-bar {
  margin-top: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  border-radius: 16px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.95) 0%, rgba(236, 243, 251, 0.9) 100%);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 20px rgba(12, 42, 85, 0.08);
}
.code-access-text {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 220px;
}
.code-access-title {
  font-weight: 600;
  font-size: 0.96rem;
  color: #0f172a;
}
.code-access-subtitle {
  font-size: 0.82rem;
  color: var(--color-muted);
}
.code-form.code-form-inline {
  flex: 1 1 360px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.code-form.code-form-inline .field {
  flex-wrap: nowrap;
}
.code-form.code-form-inline input {
  padding: 12px 14px;
  font-size: 0.92rem;
}
.code-form.code-form-inline button {
  padding: 12px 18px;
  font-size: 0.92rem;
}
.code-form.code-form-inline small {
  font-size: 0.78rem;
  color: var(--color-muted);
}
.search-box {
  flex: 1 1 260px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  max-height: 60px;
  border-radius: 14px;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 6px 16px rgba(14, 56, 102, 0.08);
}
.search-box input {
  flex: 1;
  border: none;
  font-size: 0.95rem;
  outline: none;
  height: 100%;
}
.selects {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.selects select {
  appearance: none;
  padding: 12px 42px 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23005A9C" viewBox="0 0 16 16"><path d="M2.5 5l5.5 6 5.5-6"/></svg>') right 14px center no-repeat #FFFFFF;
  font-size: 0.92rem;
  font-weight: 500;
  min-width: 160px;
}
.results-summary {
  margin-top: 28px;
  margin-bottom: 18px;
  font-size: 0.96rem;
  color: var(--color-muted);
}
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: clamp(18px, 3vw, 26px);
}
.course-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 12px 24px rgba(14, 56, 102, 0.08);
  overflow: hidden;
  transition: var(--transition);
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.course-thumb {
  position: relative;
  padding-top: 60%;
  overflow: hidden;
}
.course-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}
.course-card:hover .course-thumb img {
  transform: scale(1.04);
}
.card-badges {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}
.badge-new {
  background: linear-gradient(135deg, var(--color-secondary), #FFCB68);
  color: #2E1A00;
  box-shadow: 0 6px 12px rgba(245, 166, 35, 0.35);
}
.badge-live {
  background: linear-gradient(135deg, var(--color-primary), #3D84C8);
}
.badge-full {
  background: linear-gradient(135deg, #b91c1c, #ef4444);
}
.card-body {
  padding: 20px clamp(18px, 2.5vw, 24px) 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.card-title {
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
}
.card-author {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--color-muted);
  width: fit-content;
  max-width: 100%;
}
.card-author.author-clickable,
.detail-author.author-clickable,
.author-clickable {
  cursor: pointer;
}
.card-author.author-clickable:hover span:last-child,
.detail-author.author-clickable:hover span:last-child,
.author-clickable:hover {
  color: var(--color-primary);
  text-decoration: underline;
}
.author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  position: relative;
  background: linear-gradient(160deg, var(--color-primary), #1b4e80);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  display: grid;
  place-items: center;
  text-transform: uppercase;
  overflow: hidden;
}
.author-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.author-avatar .author-initial {
  position: relative;
  z-index: 1;
}
.author-avatar.has-photo .author-initial {
  display: none;
}
.card-description {
  flex: 1;
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.45;
  max-height: 72px;
  overflow: hidden;
}
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.9rem;
}
.price-tag {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1.05rem;
}
.free-tag {
  color: var(--color-success);
}
.rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #FFB400;
}
.rating span {
  color: var(--color-muted);
  font-weight: 500;
}
.load-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 48px auto 0;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  color: var(--color-primary);
  box-shadow: 0 12px 22px rgba(0, 90, 156, 0.12);
}
.load-more:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}
.scroll-sentinel {
  width: 100%;
  height: 1px;
}
.empty-state {
  margin-top: 56px;
  padding: 48px;
  text-align: center;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.75);
  border: 2px dashed rgba(0, 0, 0, 0.06);
  color: var(--color-muted);
}
.loader {
  display: none !important;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--color-primary);
  margin: 24px auto;
}
.spinner {
  width: 18px;
  height: 18px;
  border: 3px solid rgba(0, 90, 156, 0.18);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- Skeleton loading ---------- */
.skeleton-shell {
  pointer-events: none;
}
.skeleton {
  position: relative;
  overflow: hidden;
  background: rgba(148, 163, 184, 0.18);
  border-radius: 12px;
}
.skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  animation: skeleton-shimmer 1.25s infinite;
}
@keyframes skeleton-shimmer {
  to { transform: translateX(100%); }
}
.skeleton-line {
  height: 12px;
  border-radius: 999px;
}
.skeleton-line.sm {
  height: 10px;
}
.skeleton-line.lg {
  height: 18px;
}
.skeleton-chip {
  height: 20px;
  border-radius: 999px;
}
.skeleton-btn {
  width: 34px;
  height: 34px;
  border-radius: 12px;
}
.skeleton-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.skeleton-row {
  display: flex;
  gap: 10px;
  align-items: center;
}
.course-detail-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 15, 26, 0.65);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px clamp(16px, 4vw, 48px);
  z-index: 99;
}
.course-detail-overlay.hidden {
  display: none;
}
.course-detail {
  position: relative;
  width: min(860px, 100%);
  height: min(90vh, 840px);
  max-height: 92vh;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 100%);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 50px rgba(11, 30, 60, 0.26);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}
.detail-content {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow-y: auto;
}
.detail-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.05);
  font-size: 1.4rem;
  color: var(--color-muted);
}
.detail-header {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 28px;
  padding: clamp(24px, 4vw, 42px);
}
.detail-cover {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  aspect-ratio: 4 / 5;
  cursor: zoom-in;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.detail-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 200ms ease, object-fit 180ms ease, background-color 180ms ease;
}
.detail-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.35) 100%);
  transition: opacity 180ms ease;
  pointer-events: none;
}
.detail-cover:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.22);
}
.detail-cover:hover img {
  object-fit: contain;
  background: #0b1627;
  transform: scale(1.05);
}
.detail-cover:hover::after {
  opacity: 0;
}
.detail-cover.has-video {
  aspect-ratio: 16 / 9;
}
.detail-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: none;
  background: rgba(0, 0, 0, 0.68);
  color: #fff;
  z-index: 2;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}
.detail-cover.has-video .detail-play {
  display: inline-flex;
}
.detail-play.hidden {
  display: none !important;
}
.detail-play .play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  color: #0f172a;
  font-size: 0.9rem;
  font-weight: 800;
}
.detail-play:hover {
  transform: translate(-50%, -50%) scale(1.04);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.32);
}
.detail-play:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.detail-price-chip {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  color: var(--color-primary);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}
.detail-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.detail-title {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
}
.detail-author {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--color-muted);
  width: fit-content;
  max-width: 100%;
}
.detail-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 90, 156, 0.12);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.78rem;
}
.chip.alt {
  background: rgba(96, 106, 118, 0.12);
  color: var(--color-muted);
}
.chip.danger {
  background: rgba(185, 28, 28, 0.14);
  color: #b91c1c;
}
.detail-description {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--color-muted);
  white-space: pre-wrap;
}
.plan-selector {
  display: inline-flex;
  padding: 0;
  border-radius: 16px;
  background: transparent;
  border: none;
  gap: 6px;
}
.plan-selector button {
  border: none;
  padding: 10px 16px;
  border-radius: 12px;
  background: transparent;
  font-weight: 600;
  color: var(--color-primary);
}
.plan-selector button.active {
  background: #FFFFFF;
  color: var(--color-primary);
  box-shadow: 0 8px 18px rgba(0, 90, 156, 0.18);
}
.detail-price-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.detail-price-main {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-primary);
}
.detail-price-note {
  font-size: 0.85rem;
  color: var(--color-muted);
}
.detail-body {
  padding: 0 clamp(24px, 4vw, 42px) clamp(24px, 4vw, 42px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.detail-section-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}
.detail-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.detail-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--color-muted);
}
.review-card {
  padding: 18px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 600;
}
.review-text {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.5;
}
.detail-footer {
  padding: clamp(20px, 3vw, 32px) clamp(24px, 4vw, 42px) clamp(24px, 4vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  box-shadow: 0 -12px 28px rgba(12, 42, 85, 0.12);
}
.cta-button {
  padding: 16px 24px;
  border-radius: 14px;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  background: linear-gradient(135deg, var(--color-primary), #3278B5);
  color: #FFFFFF;
  box-shadow: 0 18px 28px rgba(0, 90, 156, 0.25);
  transition: var(--transition);
}
.cta-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}
.cta-button:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 32px rgba(0, 90, 156, 0.32);
}
.detail-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.detail-actions .cta-button,
.detail-actions .ghost-btn {
  width: 100%;
  justify-content: center;
}
.detail-footnote {
  font-size: 0.85rem;
  color: var(--color-muted);
  text-align: center;
}
.code-redeem {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}
.code-redeem .ghost-btn {
  align-self: center;
}
.code-redeem-form {
  padding: 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px dashed var(--color-border);
  width: 100%;
}
.code-redeem-form[hidden] {
  display: none !important;
}
.code-redeem-form .field {
  align-items: stretch;
}
.code-redeem small {
  color: var(--color-muted);
  display: block;
  text-align: center;
}
.media-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 12, 24, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 40px);
  z-index: 140;
}
.media-overlay-content {
  position: relative;
  width: min(960px, 92vw);
  background: #0b1627;
  border-radius: 18px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.media-overlay-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
}
.media-overlay-frame iframe,
.media-overlay-frame img,
.media-overlay-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  object-fit: contain;
}
.media-overlay-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.26);
}
.media-overlay-close:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.3);
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%) translateY(120%);
  background: var(--color-text);
  color: #FFFFFF;
  padding: 14px 22px;
  border-radius: 14px;
  font-size: 0.92rem;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: transform 320ms ease, opacity 320ms ease;
  z-index: 120;
}
.toast.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.profile-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(244, 246, 248, 0.96));
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 14px 34px rgba(12, 42, 85, 0.16);
  border-radius: 16px;
  padding: 10px;
  display: none;
  min-width: 220px;
  z-index: 20;
}
.profile-menu.visible {
  display: grid;
  gap: 8px;
}
.profile-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  right: 36px;
  width: 16px;
  height: 16px;
  background: inherit;
  border-left: 1px solid rgba(0, 0, 0, 0.05);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  transform: rotate(45deg);
  z-index: -1;
}
.profile-menu-header {
  padding: 10px;
  border-radius: 12px;
  background: rgba(0, 90, 156, 0.06);
  display: grid;
  gap: 4px;
}
.profile-menu-name {
  font-weight: 700;
  color: var(--color-text);
}
.profile-menu-email {
  font-size: 0.9rem;
  color: var(--color-muted);
}
.profile-menu button,
.profile-menu a {
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 600;
  color: var(--color-text);
}
.profile-menu button:hover,
.profile-menu a:hover {
  background: rgba(0, 90, 156, 0.08);
  color: var(--color-primary);
}
.profile-menu .logout {
  color: #b00020;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}
.profile-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 14px 26px rgba(14, 56, 102, 0.08);
  padding: 18px;
  display: grid;
  gap: 16px;
}
.profile-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.profile-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.eyebrow {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.form-grid {
  display: grid;
  gap: 12px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-field span {
  font-weight: 600;
  font-size: 0.95rem;
}
.form-field input,
.form-field textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  font-size: 0.98rem;
  font-weight: 500;
  resize: vertical;
}
.form-row.error label,
.form-field.error label {
  color: #d32f2f;
}
.form-row.error input[type="text"],
.form-row.error input[type="url"],
.form-row.error input[type="number"],
.form-row.error input[type="color"],
.form-row.error input[type="file"],
.form-row.error select,
.form-row.error textarea,
.form-field.error input,
.form-field.error textarea,
.form-field.error select {
  border-color: #d32f2f;
  box-shadow: 0 0 0 1px rgba(211, 47, 47, 0.12);
}
.languages-block,
.diploma-block {
  display: grid;
  gap: 12px;
}
.languages-header,
.diploma-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.language-add {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.language-add input {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.diploma-list {
  margin-top: 4px;
  display: grid;
  gap: 10px;
}
.diploma-item {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 12px;
  display: grid;
  gap: 8px;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.04);
}
.diploma-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.diploma-item-title {
  font-weight: 600;
  color: #0f172a;
}
.diploma-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--color-muted);
}
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
}
.status-chip.verified {
  background: #e8f6ee;
  color: #1b7a45;
}
.status-chip.pending {
  background: #fff2e0;
  color: #b25900;
}
.status-chip.rejected {
  background: #ffe8e6;
  color: #c0392b;
}
.diploma-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.diploma-actions .ghost-btn {
  padding: 6px 12px;
}
.muted {
  color: var(--color-muted);
  font-size: 0.95rem;
}
.role-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(0, 90, 156, 0.08);
  color: var(--color-primary);
  font-weight: 700;
}
.role-chip-toggle {
  align-items: center;
  gap: 10px;
}
.role-toggle-icon {
  border: none;
  background: rgba(0, 90, 156, 0.14);
  color: var(--color-primary);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 8px 16px rgba(0, 90, 156, 0.16);
}
.role-toggle-icon:hover {
  background: rgba(0, 90, 156, 0.22);
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(0, 90, 156, 0.2);
}
.cta-outline {
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  font-weight: 600;
  color: var(--color-primary);
}
.cta-outline:hover {
  border-color: rgba(0, 90, 156, 0.3);
  box-shadow: 0 8px 18px rgba(0, 90, 156, 0.12);
}
.hidden {
  display: none !important;
}

.profile-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 24px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.98) 0%, rgba(238, 245, 251, 0.98) 100%);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 18px 30px rgba(14, 56, 102, 0.08);
  flex-wrap: wrap;
}
.profile-summary-main {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
}
.profile-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--color-primary), #1b4e80);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.4rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.16);
  position: relative;
  border: none;
  cursor: pointer;
  overflow: hidden;
}
.profile-summary-meta {
  display: grid;
  gap: 6px;
}
.profile-summary-name {
  font-weight: 700;
  font-size: 1.28rem;
}
.profile-summary-email {
  font-weight: 600;
  color: var(--color-primary);
}
.profile-summary-copy {
  margin: 4px 0 0;
  color: var(--color-muted);
  font-size: 0.9rem;
  max-width: 520px;
}
.profile-summary-actions {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.avatar-edit {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-primary);
  font-size: 0.78rem;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.16);
}
.avatar-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.avatar-loader {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.28);
}
.avatar-spinner {
  width: 26px;
  height: 26px;
  border-width: 3px;
  border-top-color: var(--color-secondary);
}
.profile-avatar.loading {
  cursor: progress;
  pointer-events: none;
}
.profile-avatar.has-photo #avatarInitial {
  opacity: 0;
}
.profile-avatar.has-photo .avatar-edit {
  background: rgba(255, 255, 255, 0.92);
}
.role-switch-inline {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  position: relative;
}
.role-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
  padding: 6px;
  display: grid;
  gap: 6px;
  min-width: 180px;
  z-index: 15;
}
.role-menu button {
  border: none;
  background: transparent;
  padding: 10px 12px;
  text-align: left;
  border-radius: 10px;
  font-weight: 600;
  color: var(--color-text);
}
.role-menu button:hover {
  background: rgba(0,90,156,0.08);
  color: var(--color-primary);
}
.stripe-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.profile-grid-single {
  grid-template-columns: 1fr;
}

.profile-hero {
  background: linear-gradient(120deg, #fff4e6 0%, #eef5fb 100%);
  border-radius: 28px;
  padding: clamp(24px, 5vw, 48px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}
.profile-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 10px 0 12px;
}
.profile-hero p {
  margin: 0;
  color: var(--color-muted);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.6;
}
.profile-hero-card {
  background: linear-gradient(160deg, #dfe9f5, #fefefe);
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.auth-hero {
  max-width: 700px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 64px);
  background: linear-gradient(145deg, rgba(0, 90, 156, 0.12), rgba(245, 166, 35, 0.08));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 90, 156, 0.08);
  box-shadow: var(--shadow-soft);
}
.auth-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(18px, 4vw, 28px);
  box-shadow: 0 14px 26px rgba(14, 56, 102, 0.12);
  display: grid;
  gap: 16px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.auth-card h1 {
  margin: 0;
  font-size: 1.6rem;
}
.auth-card p {
  margin: 0;
  color: var(--color-muted);
}
.oauth-box {
  display: grid;
  gap: 10px;
  margin: 8px 0 18px;
}
.google-btn-container {
  display: flex;
  justify-content: center;
}
.google-btn-container > div {
  width: 100%;
  max-width: 420px;
}
.apple-btn-container {
  display: flex;
  justify-content: center;
}
.apple-signin-btn {
  width: 100%;
  max-width: 420px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #0b0b0b;
  background: #0b0b0b;
  color: #fff;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
}
.apple-signin-btn svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}
.apple-signin-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.oauth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-muted);
  font-weight: 600;
  font-size: 0.92rem;
}
.oauth-divider::before,
.oauth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-field label {
  font-weight: 600;
  font-size: 0.95rem;
}
.form-field input {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  font-size: 0.98rem;
  font-weight: 500;
}
.input-with-toggle {
  position: relative;
}
.input-with-toggle input {
  width: 100%;
  padding-right: 86px;
}
.toggle-visibility {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: var(--color-muted);
  font-weight: 600;
  cursor: pointer;
}
.toggle-visibility:hover {
  color: var(--color-primary);
}
.primary-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, var(--color-primary), #3278B5);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 12px 22px rgba(0, 90, 156, 0.18);
  transition: var(--transition);
}
.inline-btn {
  width: auto;
  min-width: 0;
  padding: 12px 18px;
}
.primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 26px rgba(0, 90, 156, 0.25);
}
.auth-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--color-muted);
  font-size: 0.95rem;
}
.auth-footer a {
  color: var(--color-primary);
  font-weight: 600;
}
.error-box {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(220, 53, 69, 0.08);
  color: #b00020;
  border: 1px solid rgba(220, 53, 69, 0.18);
}
.success-box {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(27, 154, 95, 0.08);
  color: var(--color-success);
  border: 1px solid rgba(27, 154, 95, 0.2);
}
.helper-text {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
}
.helper-text.small {
  font-size: 0.88rem;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
}
.modal[hidden] {
  display: none !important;
}
.form-row[hidden],
#oneTimePriceRow[hidden],
#subscriptionPriceRow[hidden],
#sessionsRow[hidden] {
  display: none !important;
}
.info-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-left: 6px;
  border-radius: 50%;
  background: rgba(0, 90, 156, 0.12);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.72rem;
  line-height: 1;
  position: relative;
  cursor: default;
}
.info-chip::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(6px);
  background: #0f172a;
  color: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.85rem;
  line-height: 1.35;
  min-width: 190px;
  max-width: 300px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease, transform 140ms ease;
  z-index: 6;
  text-align: left;
  white-space: pre-line;
}
.info-chip::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: calc(100% + 2px);
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #0f172a;
  opacity: 0;
  transition: opacity 140ms ease;
  z-index: 6;
}
.info-chip:hover::after,
.info-chip:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.info-chip:hover::before,
.info-chip:focus-visible::before {
  opacity: 1;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: none;
  z-index: 1;
}
.modal-panel {
  position: relative;
  width: min(920px, 94vw);
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  padding: 24px;
  z-index: 2;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.modal-header h2 {
  margin: 4px 0 0;
}
.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin: 0;
}
.form-grid {
  display: grid;
  gap: 16px;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-row.double {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.form-row.inline {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.form-row label {
  font-weight: 600;
  color: #0f172a;
}
.form-row input[type="text"],
.form-row input[type="url"],
.form-row input[type="number"],
.form-row input[type="color"],
.form-row input[type="file"],
.form-row select,
.form-row textarea {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
}
.form-row textarea {
  resize: vertical;
}
.segmented {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  background: #f5f7fb;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 8px 10px;
}
.segmented label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.helper {
  font-size: 0.9rem;
  color: var(--color-muted);
}
.helper.warning {
  color: #a15a00;
}
.helper.small {
  font-size: 0.85rem;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}
.form-error {
  background: #ffe8e5;
  color: #9c1b1b;
  border: 1px solid rgba(156, 27, 27, 0.2);
  padding: 10px 12px;
  border-radius: 10px;
}
.ghost-btn.small {
  padding: 8px 12px;
  font-size: 0.9rem;
}

body.modal-open {
  overflow: hidden;
}
.form-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: -4px;
  margin-bottom: 12px;
}
.form-footer a {
  color: var(--color-primary);
  font-weight: 600;
}
.reset-form {
  display: grid;
  gap: 12px;
}
.reset-form + .reset-form {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.password-conditions {
  margin: 4px 0 16px;
}
.conditions-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  gap: 8px;
}
.condition-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-muted);
  font-size: 0.95rem;
}
.condition-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(176, 0, 32, 0.35);
  color: #b00020;
  font-size: 13px;
  background: #fff;
}
.condition-item.valid {
  color: var(--color-success);
}
.condition-item.valid .condition-icon {
  background: rgba(27, 154, 95, 0.12);
  border-color: rgba(27, 154, 95, 0.4);
  color: var(--color-success);
}

/* ---------- Espace formateur : Mes cours ---------- */
.loader.visible {
  display: inline-flex !important;
}
.stripe-banner {
  margin-bottom: 18px;
  padding: clamp(16px, 3vw, 22px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #fff7eb 0%, #eef5fb 100%);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 18px 32px rgba(12, 42, 85, 0.1);
}
.stripe-banner-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.stripe-banner-text {
  display: grid;
  gap: 6px;
  min-width: 240px;
}
.stripe-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 6px 12px rgba(0, 90, 156, 0.12);
  width: fit-content;
}
.stripe-banner h3 {
  margin: 0;
  font-size: 1.2rem;
}
.stripe-banner p {
  margin: 0;
  color: var(--color-muted);
}
.stripe-banner .banner-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.courses-head {
  display: grid;
  gap: 10px;
  padding: clamp(18px, 3vw, 26px);
  margin-bottom: 18px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 14px 26px rgba(12, 42, 85, 0.08);
}
.courses-head-copy h1 {
  margin: 6px 0 6px;
}
.courses-head-copy p {
  margin: 0;
  color: var(--color-muted);
}
.courses-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.head-actions {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.head-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
  justify-content: center;
}
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 90, 156, 0.08);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9rem;
}
.status-chip.ready {
  background: rgba(27, 154, 95, 0.12);
  color: var(--color-success);
}
.status-chip.warning {
  background: rgba(245, 166, 35, 0.16);
  color: #a66a00;
}
.toolbar-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  font-weight: 600;
  color: var(--color-primary);
  transition: var(--transition);
}
.action-btn:hover {
  border-color: rgba(0, 90, 156, 0.22);
  box-shadow: 0 10px 18px rgba(0, 90, 156, 0.14);
}
.action-btn.primary {
  background: linear-gradient(135deg, var(--color-primary), #3278B5);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 12px 22px rgba(0, 90, 156, 0.16);
}
.action-btn.primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}
.action-btn.live {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 12px 22px rgba(185, 28, 28, 0.22);
}
.action-btn.live:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  box-shadow: none;
}
.my-course-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 18px;
  box-shadow: 0 16px 32px rgba(12, 42, 85, 0.12);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.my-course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.my-course-cover {
  position: relative;
  padding-top: 60%;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 90, 156, 0.08), rgba(0, 0, 0, 0.04));
}
.my-course-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 300ms ease;
}
.my-course-cover.placeholder {
  display: grid;
  place-items: center;
  color: var(--color-muted);
  font-weight: 600;
}
.my-course-card:hover .my-course-cover img {
  transform: scale(1.04);
}
.price-chip {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.14);
}
.my-course-body {
  padding: 18px;
  display: grid;
  gap: 12px;
}
.progress-block {
  display: grid;
  gap: 6px;
}
.progress-track {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--color-primary), #3278B5);
  transition: width 180ms ease;
}
.progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-muted);
  font-size: 0.86rem;
}
.course-title {
  font-size: 1.02rem;
  font-weight: 700;
  margin: 0;
}
.course-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.course-title-row .course-title {
  flex: 1;
  min-width: 0;
}
.course-enrollment {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 90, 156, 0.2);
  background: rgba(0, 90, 156, 0.08);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.82rem;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
}
.course-enrollment:hover {
  border-color: rgba(0, 90, 156, 0.35);
  background: rgba(0, 90, 156, 0.14);
  box-shadow: 0 8px 16px rgba(0, 90, 156, 0.18);
}
.course-enrollment:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.stat-row,
.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.stat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.04);
  color: var(--color-muted);
  font-weight: 600;
  font-size: 0.82rem;
}
.code-chip {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(0, 90, 156, 0.06);
  color: var(--color-primary);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}
.code-chip-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-muted);
  font-weight: 700;
}
.code-chip-value {
  flex-basis: 100%;
  font-weight: 600;
  color: var(--color-text);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.code-chip-hint {
  margin-left: auto;
  font-size: 0.82rem;
}
.code-chip:hover {
  border-color: rgba(0, 90, 156, 0.3);
  box-shadow: 0 8px 16px rgba(0, 90, 156, 0.12);
}
.code-chip.disabled {
  cursor: not-allowed;
  background: rgba(0, 0, 0, 0.04);
  color: var(--color-muted);
}
.code-chip.disabled .code-chip-value,
.code-chip.disabled .code-chip-hint {
  color: var(--color-muted);
}
.code-hint {
  margin-top: -4px;
  color: var(--color-muted);
  font-size: 0.9rem;
}
.badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
}
.pill-badge.success { background: #e8f6ed; color: #1b9a5f; }
.pill-badge.info,
.pill-badge.chip-video { background: #e6f0ff; color: #1f63d0; }
.pill-badge.chip-pdf { background: #ffe8e6; color: #c62828; }
.pill-badge.chip-text { background: #fff2cc; color: #946200; }
.pill-badge.chip-devoir { background: #e2f4ec; color: #1b7a45; }
.pill-badge.chip-eval { background: #ebe8ff; color: #5b4ecb; }
.pill-badge.chip-quiz { background: #f1e6ff; color: #7a1fa0; }
.pill-badge.chip-block { background: #e8edf4; color: #3a4a63; }
.pill-badge.chip-default { background: rgba(0, 0, 0, 0.06); color: var(--color-muted); }
.pill-badge.danger { background: #ffe8e6; color: #c62828; }
.pill-badge.muted { background: rgba(0, 0, 0, 0.06); color: var(--color-muted); }
.my-course-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.my-course-actions .action-btn {
  padding: 8px 12px;
  font-size: 0.9rem;
}

.editor-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(460px, 2fr) minmax(280px, 1fr);
  gap: 16px;
  align-items: start;
}
.summary-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.summary-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.summary-value {
  font-weight: 700;
  font-size: 1.05rem;
}
.tiny-label {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.8rem;
}
.editor-grid.single {
  grid-template-columns: 1fr;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.section-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.section-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.sections-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}
.section-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}
.section-card summary {
  padding: 14px 16px;
  list-style: none;
  cursor: pointer;
}
.section-card summary::-webkit-details-marker {
  display: none;
}
.section-summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.section-head-main {
  flex: 1;
  min-width: 0;
}
.drag-handle {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 6px;
  border-radius: 10px;
  border: 1px dashed rgba(0, 0, 0, 0.08);
  background: #f3f6f9;
  cursor: grab;
}
.drag-line {
  width: 14px;
  height: 2px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 2px;
}
.section-title {
  font-weight: 700;
  font-size: 1.05rem;
}
.section-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.full-add-btn {
  width: 100%;
  justify-content: center;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #f7fbff;
  font-weight: 700;
  color: var(--color-primary);
  box-shadow: 0 10px 20px rgba(0, 90, 156, 0.08);
  transition: var(--transition);
}
.full-add-btn.primary {
  background: linear-gradient(135deg, var(--color-primary), #3278B5);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 12px 24px rgba(0, 90, 156, 0.18);
}
.full-add-btn.secondary {
  background: #fff;
}
.full-add-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0, 90, 156, 0.16);
}
.section-buttons {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}
.section-body {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 12px 16px 14px;
}
.section-footer {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
}
.content-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.content-item {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  background: #f9fbfd;
}
.content-main {
  flex: 1;
  min-width: 0;
}
.content-item .drag-handle {
  margin-top: 4px;
}
.content-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.content-title {
  font-weight: 600;
  font-size: 1rem;
}
.content-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--color-muted);
}
.content-preview {
  margin-top: 6px;
  color: #3a455a;
  font-size: 0.95rem;
  line-height: 1.4;
}
.meta-pill {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.05);
}
.meta-pill.with-clear {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-right: 6px;
}
.chip-clear {
  border: none;
  background: transparent;
  color: inherit;
  font-weight: 800;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}
.chip-clear.outside {
  margin-left: 6px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  padding: 4px 8px;
  background: #fff;
  color: #1f63d0;
  box-shadow: 0 6px 12px rgba(0, 90, 156, 0.12);
}
.chip-clear:hover {
  opacity: 0.7;
}
.meta-pill.info {
  background: #e6f0ff;
  color: #1f63d0;
}
.meta-pill.warning {
  background: #fff3cd;
  color: #946200;
}
.content-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.ghost-icon {
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  border-radius: 8px;
  padding: 6px 8px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 700;
  font-size: 0.95rem;
}
.ghost-icon:hover {
  border-color: var(--color-primary);
}
.ghost-icon.danger {
  color: #c62828;
  border-color: rgba(198, 40, 40, 0.3);
}
.ghost-icon:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.empty-block {
  padding: 16px;
  border: 1px dashed rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  text-align: center;
  color: var(--color-muted);
  background: #fbfdff;
}
.empty-block.soft {
  border-style: dotted;
  background: #fff;
}
.content-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.content-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 14px;
  text-align: left;
  background: #fff;
  cursor: pointer;
  transition: var(--transition);
  display: grid;
  gap: 8px;
  grid-template-columns: auto 1fr;
  align-items: center;
}
.content-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 12px 24px rgba(0, 90, 156, 0.14);
}
.content-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
}
.content-card-icon.content-card-thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
  background: #eef1f5;
}
.content-card-icon.content-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.content-card[data-tag="bloc"] .content-card-icon { background: #3a4a63; }
.content-card[data-tag="texte"] .content-card-icon { background: #946200; }
.content-card[data-tag="media"] .content-card-icon { background: #1f63d0; }
.content-card[data-tag="évaluation"] .content-card-icon { background: #5b4ecb; }
.content-card-title {
  font-weight: 700;
}
.content-card-desc {
  color: var(--color-muted);
  font-size: 0.9rem;
}
.recording-list {
  display: grid;
  gap: 10px;
}
.recording-item {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 12px;
  background: #f8f9fb;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}
.recording-item:hover {
  border-color: var(--color-primary);
}
.prereq-grid {
  display: grid;
  gap: 12px;
  max-height: 60vh;
  overflow: auto;
}
.prereq-section {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
}
.prereq-section > label {
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 600;
}
.prereq-lessons {
  margin-top: 8px;
  padding-left: 12px;
  display: grid;
  gap: 6px;
}
.prereq-lessons label {
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 500;
  color: #374151;
}
.rating-card {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 12px;
  background: #fff;
  margin-bottom: 10px;
}
.rating-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.rating-user {
  font-weight: 700;
}
.rating-date {
  font-size: 0.9rem;
  color: var(--color-muted);
}
.rating-stars {
  font-size: 1rem;
  color: #f6b900;
}
.rating-title {
  font-weight: 600;
  margin: 6px 0 4px;
}
.rating-text {
  margin: 0;
  color: #222;
}
.loader.inline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--color-muted);
}
.confirm-body {
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  padding: 8px 0;
}
.modal-panel.confirm {
  max-width: 480px;
}
.datetime-row .datetime-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}
.datetime-fields input {
  width: 100%;
}
.datetime-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.pill-input {
  background: #f7fbff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 10px 12px;
  display: grid;
  gap: 6px;
  box-shadow: 0 8px 18px rgba(0, 90, 156, 0.06);
}
.pill-input input {
  border: none;
  background: transparent;
  font-weight: 600;
  font-size: 1rem;
  outline: none;
}
.pill-input input::-webkit-calendar-picker-indicator {
  cursor: pointer;
  filter: invert(34%) sepia(67%) saturate(493%) hue-rotate(172deg) brightness(91%) contrast(88%);
}
.ghost-icon.tiny {
  padding: 4px 8px;
  font-size: 0.85rem;
  box-shadow: none;
}
.editor-side {
  display: grid;
  gap: 12px;
}
.cover-row {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 14px;
  align-items: center;
}
.cover-box {
  position: relative;
  width: 100%;
  padding-top: 56%;
  border-radius: 14px;
  overflow: hidden;
  background: #f3f5f7;
  border: 1px dashed rgba(0, 0, 0, 0.08);
  display: grid;
  place-items: center;
}
.cover-box.is-placeholder {
  border: 1px dashed rgba(0, 0, 0, 0.2);
}
.cover-box img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cover-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  color: #ffffff;
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  letter-spacing: -0.02em;
  padding: 10px;
}
.cover-delete-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: var(--transition);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}
.cover-delete-btn:hover {
  background: rgba(185, 28, 28, 0.9);
}
.cover-actions {
  display: grid;
  gap: 10px;
}
.color-picker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  width: fit-content;
  background: #fff;
}
.color-picker input[type="color"] {
  -webkit-appearance: none;
  appearance: none;
  width: 52px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  background: none;
  cursor: pointer;
}
.color-picker input[type="color"]::-webkit-color-swatch {
  border: none;
  border-radius: 8px;
}
.color-picker input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}
.color-picker span {
  font-weight: 700;
  color: var(--color-muted);
  min-width: 84px;
}
.code-display {
  padding: 12px 14px;
  border-radius: 12px;
  background: #0f172a;
  color: #fff;
  letter-spacing: 2px;
  font-weight: 700;
  text-align: center;
}
.code-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.danger-zone {
  border: 1px solid rgba(255, 0, 0, 0.16);
  box-shadow: 0 10px 24px rgba(255, 0, 0, 0.08);
}
.danger-zone h3 {
  color: #b91c1c;
}
.helper.warning {
  color: #a66a00;
}

/* ============================
   Course player (web)
   ============================ */
.course-player-shell {
  padding: clamp(16px, 4vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.course-player-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 18px;
  padding: clamp(14px, 3vw, 22px);
  box-shadow: 0 14px 30px rgba(12, 42, 85, 0.08);
  flex-wrap: wrap;
}
.course-head-left h1 {
  margin: 8px 0 6px;
}
.course-head-left .pill {
  background: rgba(0, 90, 156, 0.08);
  color: var(--color-primary);
}
.course-head-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(0, 90, 156, 0.06);
  color: #0f172a;
  font-weight: 600;
  font-size: 0.9rem;
}
.course-player-layout {
  display: grid;
  grid-template-columns: minmax(320px, 360px) 1fr;
  gap: 16px;
  align-items: start;
}
.course-outline {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 12px 26px rgba(14, 56, 102, 0.08);
  position: relative;
  top: auto;
  max-height: none;
  overflow: visible;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}
.course-outline .section-card {
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: none;
  border-radius: 12px;
  margin-bottom: 10px;
}
.course-outline .section-card.is-open {
  box-shadow: 0 10px 22px rgba(0, 90, 156, 0.1);
}
.section-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.02);
  border: none;
  cursor: pointer;
}
.section-title {
  margin: 0;
  font-weight: 700;
}
.section-sub {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-muted);
  font-size: 0.9rem;
  flex-wrap: wrap;
}
.section-body {
  padding: 8px 10px 12px;
}
.lock-banner {
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff8e6;
  color: #8a5a00;
  font-weight: 600;
  border: 1px solid rgba(245, 166, 35, 0.4);
  margin-bottom: 10px;
}
.lesson-row {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: var(--transition);
}
.lesson-row:hover {
  border-color: rgba(0, 90, 156, 0.25);
  box-shadow: 0 8px 18px rgba(0, 90, 156, 0.08);
}
.lesson-row.is-active {
  border-color: var(--color-primary);
  box-shadow: 0 10px 22px rgba(0, 90, 156, 0.16);
}
.lesson-row.is-locked {
  opacity: 0.6;
  cursor: not-allowed;
}
.lesson-row-left {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.lesson-row-right {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-muted);
}
.lesson-deadline {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
}
.lesson-deadline.warning {
  color: #a66a00;
}
.lesson-status {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.1);
  margin-top: 6px;
  flex-shrink: 0;
}
.lesson-status.completed {
  border-color: var(--color-success);
  background: rgba(27, 154, 95, 0.14);
}
.lesson-status.neutral {
  border-color: rgba(0, 0, 0, 0.12);
}
.lesson-row-text {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.lesson-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.lesson-title {
  font-weight: 700;
  font-size: 0.98rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lesson-ico {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.06);
  font-size: 0;
}
.lesson-ico svg {
  width: 14px;
  height: 14px;
  color: #0f172a;
}
.lesson-ico.ico-devoir { background: rgba(27, 122, 69, 0.12); }
.lesson-ico.ico-devoir svg { color: #1b7a45; }
.lesson-ico.ico-evaluation { background: rgba(91, 78, 203, 0.12); }
.lesson-ico.ico-evaluation svg { color: #5b4ecb; }
.lesson-ico.ico-video { background: rgba(31, 99, 208, 0.12); }
.lesson-ico.ico-video svg { color: #1f63d0; }
.lesson-ico.ico-pdf { background: rgba(176, 0, 32, 0.12); }
.lesson-ico.ico-pdf svg { color: #b00020; }
.lesson-ico.ico-quiz { background: rgba(122, 31, 160, 0.12); }
.lesson-ico.ico-quiz svg { color: #7a1fa0; }
.lesson-ico.ico-text { background: rgba(148, 98, 0, 0.12); }
.lesson-ico.ico-text svg { color: #946200; }
.lesson-ico.ico-contenu { background: rgba(0, 0, 0, 0.08); }
.lesson-ico.ico-contenu svg { color: #3a455a; }
.lesson-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
}
.lesson-chip.badge-devoir { background: #e2f4ec; color: #1b7a45; }
.lesson-chip.badge-evaluation { background: #ebe8ff; color: #5b4ecb; }
.lesson-chip.badge-video { background: #e6f0ff; color: #1f63d0; }
.lesson-chip.badge-document { background: #ffe8e6; color: #b00020; }
.lesson-chip.badge-quiz { background: #f1e6ff; color: #7a1fa0; }
.lesson-chip.badge-text { background: #fff2cc; color: #946200; }
.lesson-chip.badge-default { background: rgba(0, 0, 0, 0.06); color: var(--color-muted); }
.lesson-sub {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  color: var(--color-muted);
  font-size: 0.88rem;
}
.lesson-sub .badge {
  font-size: 0.7rem;
  padding: 4px 8px;
}
.lesson-lock {
  color: #a66a00;
  font-weight: 600;
}
.block-row {
  background: #f7f9fc;
}
.instructional-inline {
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  padding: 12px 14px;
  background: #f9fbff;
  margin-bottom: 10px;
}
.instructional-inline .inline-meta {
  color: var(--color-muted);
  font-size: 0.85rem;
  margin-bottom: 6px;
}
.instructional-inline .inline-text {
  color: #0f172a;
  line-height: 1.5;
}
.instructional-inline.is-locked {
  opacity: 0.6;
}
.block-row .lesson-status {
  border-color: rgba(0, 0, 0, 0.1);
}
.lesson-row .chevron {
  font-weight: 800;
}
.course-outline .empty-outline {
  padding: 16px;
  border: 1px dashed rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  text-align: center;
  color: var(--color-muted);
}
.lesson-viewer {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  padding: clamp(14px, 3vw, 24px);
  box-shadow: 0 14px 30px rgba(12, 42, 85, 0.08);
  min-height: 480px;
  display: grid;
  gap: 12px;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}
.lesson-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}
.lesson-header h2 {
  margin: 6px 0 0;
}
.lesson-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.lesson-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.lesson-content {
  display: grid;
  gap: 12px;
}
.content-block {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  padding: 12px 14px;
  background: #fdfefe;
  box-shadow: 0 10px 18px rgba(14, 56, 102, 0.05);
}
.content-block-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.content-label {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(0, 90, 156, 0.08);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.86rem;
}
.content-meta {
  color: var(--color-muted);
  font-weight: 600;
  font-size: 0.9rem;
}
.content-body {
  display: grid;
  gap: 10px;
  color: #0f172a;
  line-height: 1.5;
}
.media-frame img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}
.video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.14);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.doc-frame {
  width: 100%;
  min-height: 340px;
  border: none;
  border-radius: 10px;
  background: #f5f7fa;
}
.quiz-block .quiz-body {
  display: grid;
  gap: 12px;
}
.quiz-question {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
  display: grid;
  gap: 8px;
}
.quiz-q-head {
  display: grid;
  gap: 6px;
}
.quiz-q-title {
  font-weight: 700;
  font-size: 1rem;
}
.quiz-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #f9fafb;
}
.quiz-option input {
  margin: 0;
}
.quiz-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}
.quiz-result {
  display: grid;
  gap: 8px;
}
.quiz-result .score {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-primary);
}
.attempt-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.04);
  font-weight: 600;
}
.submission-block .upload-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.submission-list {
  display: grid;
  gap: 8px;
  margin: 10px 0;
}
.submission-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: #f7f9fc;
}
.submission-name {
  font-weight: 700;
}
.submission-link {
  font-size: 0.9rem;
  color: var(--color-primary);
  word-break: break-all;
}
.submission-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}
.feedback-box {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f1f5f9;
  color: #0f172a;
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.lesson-placeholder {
  display: grid;
  place-items: center;
  text-align: center;
  gap: 8px;
  padding: 40px 14px;
  color: var(--color-muted);
}
.placeholder-emoji {
  font-size: 1.8rem;
}
.inline-loader {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  color: #0f172a;
  font-weight: 700;
  font-size: 0.85rem;
  width: fit-content;
}
.pill-success {
  background: rgba(27, 154, 95, 0.14);
  color: #1b7a45;
}
.pill-warning {
  background: rgba(245, 166, 35, 0.18);
  color: #a66a00;
}
.pill-danger {
  background: rgba(185, 28, 28, 0.12);
  color: #b91c1c;
}
.badge-text { background: #fff2cc; color: #946200; }
.badge-video { background: #e6f0ff; color: #1f63d0; }
.badge-document { background: #ffe8e6; color: #b00020; }
.badge-quiz { background: #efe6ff; color: #6a1b9a; }
.badge-devoir, .badge-evaluation { background: #e8f6ee; color: #1b7a45; }

@media (max-width: 1080px) {
  .course-player-layout {
    grid-template-columns: 1fr;
  }
  .course-outline {
    position: relative;
    max-height: none;
    top: auto;
  }
}

.course-share-page main {
  padding: 0 0 48px;
}
.share-main {
  background: linear-gradient(180deg, rgba(0, 90, 156, 0.06) 0%, rgba(244, 246, 248, 1) 26%);
}
.share-hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.share-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0ea5e9 0%, #312e81 100%);
  filter: saturate(1.05);
  transform: scale(1.01);
}
.share-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.2), transparent 40%),
              radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.18), transparent 38%);
  opacity: 0.7;
}
.share-hero-bg.with-image {
  background-size: cover;
  background-position: center;
  filter: saturate(1.1) brightness(0.96);
}
.share-hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  align-items: center;
  gap: 28px;
  padding: 36px clamp(18px, 4vw, 52px);
  max-width: 1200px;
  margin: 0 auto;
}
.share-cover {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.26);
}
.share-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.share-cover-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 2.4rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  letter-spacing: 0.02em;
}
.chip-row {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.share-hero-text h1 {
  margin: 12px 0 6px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.01em;
}
.share-subtitle {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.86);
  max-width: 700px;
}
.share-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 14px;
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}
.share-price-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.share-price {
  font-size: 1.4rem;
  font-weight: 700;
}
.share-price-note {
  color: rgba(255, 255, 255, 0.82);
}
.share-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.share-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px clamp(18px, 4vw, 52px) 54px;
}
.share-grid {
  display: grid;
  grid-template-columns: minmax(280px, 320px) 1fr;
  gap: 20px;
  align-items: start;
}
.share-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 18px 18px 16px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
}
.share-card h3 {
  margin: 0 0 12px;
}
.share-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.share-sidebar {
  display: grid;
  gap: 14px;
}
.share-content {
  display: grid;
  gap: 14px;
}
.instructor-card .eyebrow {
  margin: 0;
}
.instructor-card {
  min-height: 320px;
  display: grid;
  gap: 10px;
  cursor: pointer;
}
.instructor-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.instructor-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #e2e8f0;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--color-primary-dark);
  overflow: hidden;
}
.instructor-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.instructor-meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}
.instructor-bio {
  margin: 12px 0;
  color: var(--color-muted);
}
.instructor-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}
.instructor-stats .stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--color-muted);
}
.instructor-languages {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.share-link-card h4 {
  margin: 0;
}
.share-link-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.share-link-hint {
  margin: 6px 0 12px;
  color: var(--color-muted);
}
.share-link-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}
.share-link-row input {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  font-size: 0.95rem;
  background: #f8fafc;
}
.share-link-row .action-btn {
  white-space: nowrap;
}
.share-link-card .ghost-btn.full {
  width: 100%;
  margin-top: 10px;
}
.share-description {
  margin: 8px 0 12px;
  color: var(--color-muted);
}
.share-pill-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.share-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.share-keypoints {
  display: grid;
  gap: 12px;
}
.keypoint {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
}
.keypoint-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-primary);
  margin-top: 6px;
  box-shadow: 0 0 0 6px rgba(0, 90, 156, 0.1);
}
.keypoint p {
  margin: 0;
  color: var(--color-text);
}
.share-reviews {
  display: grid;
  gap: 12px;
}
.review {
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 12px;
  background: #f8fafc;
}
.review-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #e2e8f0;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--color-primary-dark);
}
.review-name {
  font-weight: 700;
}
.review-rating {
  font-size: 0.86rem;
  color: var(--color-muted);
}
.review-text {
  margin: 0;
  color: var(--color-text);
  line-height: 1.5;
}
.share-video {
  border-radius: 16px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}
.share-video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}
.share-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.share-video-link {
  padding: 16px;
  background: #0f172a;
}
.share-video-link a {
  color: #fff;
  font-weight: 700;
}
.loader.centered {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(0, 90, 156, 0.08);
  color: var(--color-primary);
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}
.share-meta .hero-chip,
.share-price,
.share-price-note {
  color: #fff;
}
.share-meta .hero-chip {
  background: rgba(255, 255, 255, 0.12);
}

/* ============================
   Livestream (web)
   ============================ */
.live-shell {
  padding: clamp(16px, 4vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: min(1360px, 100%);
  margin: 0 auto;
}
.live-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: clamp(12px, 2vw, 18px);
  box-shadow: 0 12px 26px rgba(12, 42, 85, 0.08);
}
.live-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.live-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px dashed rgba(0, 90, 156, 0.24);
  background: linear-gradient(135deg, rgba(0, 90, 156, 0.08), rgba(255, 255, 255, 0.85));
  padding: 12px 14px;
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(12, 42, 85, 0.08);
}
.live-preview.hidden {
  display: none;
}
.preview-icon {
  font-size: 1.4rem;
}
.preview-copy {
  display: grid;
  gap: 2px;
}
.preview-title {
  margin: 0;
  font-weight: 700;
}
.preview-sub {
  margin: 0;
  color: var(--color-muted);
}
.preview-actions {
  margin-left: auto;
  display: inline-flex;
  gap: 8px;
}
.live-container {
  position: relative;
  width: 100%;
  min-height: 78vh;
  height: calc(100vh - 220px);
  background: #0f172a;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 34px rgba(12, 42, 85, 0.16);
}
.live-meeting {
  width: 100%;
  height: 100%;
}
.live-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: block;
  border: none;
}
.live-loader {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  z-index: 2;
}
.live-footnote {
  text-align: center;
  color: var(--color-muted);
  font-size: 0.95rem;
}
.live-banner {
  position: sticky;
  top: 72px;
  z-index: 54;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.12), rgba(255, 255, 255, 0.94));
  border: 1px solid rgba(239, 68, 68, 0.32);
  box-shadow: 0 12px 24px rgba(239, 68, 68, 0.16);
}
.live-banner.hidden {
  display: none;
}
.live-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.2);
  flex-shrink: 0;
}
.live-banner-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.live-banner-title {
  font-weight: 800;
  font-size: 0.98rem;
  color: #b91c1c;
}
.live-banner-sub {
  color: #4b5563;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.live-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 12px 22px rgba(185, 28, 28, 0.2);
  cursor: pointer;
}
.live-banner-close {
  border: none;
  background: transparent;
  color: var(--color-muted);
  font-weight: 800;
  font-size: 1.1rem;
  cursor: pointer;
}
.live-banner-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

@media (max-width: 900px) {
  body.mobile-nav-open {
    overflow: hidden;
  }
  .top-nav {
    grid-template-columns: auto 1fr;
    padding: 16px clamp(14px, 4vw, 24px);
    position: sticky;
    top: 0;
    z-index: 60;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav-toggle {
    display: inline-flex;
    position: absolute;
    right: clamp(14px, 4vw, 26px);
    top: 50%;
    transform: translateY(-50%);
  }
  .top-menu,
  .nav-actions,
  .top-nav:not(.mobile-open) .top-menu,
  .top-nav:not(.mobile-open) .nav-actions {
    display: none !important;
  }
  .top-nav-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(380px, 84vw);
    padding: 92px 22px 28px;
    border-radius: 0;
    background: #FFFFFF;
    border-left: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: -24px 0 48px rgba(12, 42, 85, 0.18);
    transform: translateX(110%);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: transform 260ms ease, opacity 220ms ease;
    overflow-y: auto;
    z-index: 40;
  }
  .top-nav-panel::before {
    content: 'Navigation';
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-muted);
    letter-spacing: 0.02em;
    margin-bottom: 4px;
  }
  .top-nav.mobile-open {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    height: 100vh;
    align-items: flex-start;
    padding: 16px clamp(14px, 4vw, 24px);
    box-shadow: 0 12px 28px rgba(12, 42, 85, 0.12);
    background: rgba(244, 246, 248, 0.92);
  }
  .top-nav.mobile-open::after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(12, 20, 39, 0.35);
    z-index: 30;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }
  .top-nav.mobile-open .brand,
  .top-nav.mobile-open .nav-toggle {
    position: relative;
    z-index: 50;
  }
  .top-nav.mobile-open .top-nav-panel {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    max-height: 100vh;
    height: 100vh;
    padding-top: 110px;
  }
  .top-nav.mobile-open .top-menu,
  .top-nav.mobile-open .nav-actions {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  .top-nav.mobile-open .top-menu {
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .top-nav.mobile-open .menu-link {
    width: 100%;
    justify-content: space-between;
    border-radius: 14px;
    border: 1px solid var(--color-border);
    background: linear-gradient(135deg, #f7f9fc 0%, #ffffff 100%);
    box-shadow: 0 8px 18px rgba(12, 42, 85, 0.08);
    padding: 12px 16px;
    text-align: left;
  }
  .top-nav.mobile-open .menu-link.active {
    box-shadow: 0 12px 28px rgba(0, 90, 156, 0.22);
    color: var(--color-primary);
    border-color: rgba(0, 90, 156, 0.2);
    background: linear-gradient(135deg, #ecf3fb 0%, #ffffff 100%);
  }
  .top-nav.mobile-open .nav-actions {
    position: relative;
    align-items: stretch;
    padding-top: 4px;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
  }
  .top-nav.mobile-open .ghost-btn,
  .top-nav.mobile-open .role-switch-btn,
  .top-nav.mobile-open .open-app-btn {
    width: 100%;
    justify-content: center;
  }
  .top-nav.mobile-open .profile-menu {
    position: relative;
    top: auto;
    right: auto;
    min-width: 100%;
    box-shadow: 0 12px 26px rgba(12, 42, 85, 0.14);
    background: #f7f9fc;
  }
  .top-nav.mobile-open .profile-menu::before {
    display: none;
  }
}

@media (max-width: 960px) {
  .detail-header {
    grid-template-columns: 1fr;
  }
  .detail-cover {
    aspect-ratio: 16 / 9;
    border-radius: 18px;
  }
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    align-items: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .code-form .field {
    justify-content: center;
  }
  .code-form.code-form-inline .field {
    justify-content: flex-start;
  }
  .hero-visual {
    margin-top: 20px;
  }
  .catalog-header {
    grid-template-columns: 1fr;
  }
  .code-access-bar {
    align-items: flex-start;
  }
  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .landing-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .share-hero-shell {
    grid-template-columns: 1fr;
    padding: 26px 18px 30px;
    text-align: left;
  }
  .share-cover {
    max-width: 460px;
    margin: 0 auto;
  }
  .share-hero-actions {
    justify-content: flex-start;
  }
  .share-grid {
    grid-template-columns: 1fr;
  }
  .share-sidebar {
    order: 2;
  }
  .share-content {
    order: 1;
  }
}
@media (max-width: 720px) {
  .top-nav {
    padding: 14px 16px;
    grid-template-columns: auto 1fr;
    gap: 10px;
  }
  .top-nav-panel {
    width: min(360px, 88vw);
    padding: 88px 18px 24px;
  }
  .nav-toggle {
    right: 16px;
  }
  main {
    padding: 20px 18px 64px;
  }
  .landing-main {
    padding: 20px 18px 64px;
  }
  .landing-bar {
    padding: 16px 18px 8px;
  }
  .landing-bar-actions {
    width: 100%;
  }
  .hero {
    padding: 22px;
  }
  .editor-grid {
    grid-template-columns: 1fr;
  }
  .cover-row {
    grid-template-columns: 1fr;
  }
  .hero-highlights {
    grid-template-columns: 1fr;
  }
  .filters {
    flex-direction: column;
    align-items: stretch;
  }
  .code-access-bar {
    padding: 12px 14px;
  }
  .code-access-text {
    min-width: 100%;
  }
  .code-form.code-form-inline {
    width: 100%;
  }
  .code-form.code-form-inline .field {
    flex-wrap: wrap;
  }
  .selects {
    width: 100%;
  }
  .selects select {
    flex: 1;
  }
  .course-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
  .course-detail-overlay {
    align-items: flex-start;
    padding: 12px;
  }
  .course-detail {
    height: 100vh;
    max-height: none;
    border-radius: 18px;
  }
  .detail-close {
    top: 12px;
    right: 12px;
    width: 48px;
    height: 48px;
    font-size: 1.6rem;
    background: #FFFFFF;
    color: #0f172a;
    border: 1px solid var(--color-border);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
    z-index: 5;
  }
  .nav-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .feature-grid,
  .step-grid {
    grid-template-columns: 1fr;
  }
  .catalog-header {
    padding: 18px;
  }
  .cta-banner {
    padding: 18px;
  }
  .cta-actions {
    width: 100%;
  }
  .profile-summary {
    padding: 16px;
  }
  .profile-summary-main {
    width: 100%;
  }
  .profile-summary-actions {
    width: 100%;
    justify-content: flex-start;
  }
  .live-banner {
    flex-direction: column;
    align-items: flex-start;
    top: 64px;
  }
  .live-banner-actions {
    width: 100%;
    justify-content: flex-start;
  }
}
