:root {
  color-scheme: dark;
  --bg: #090909;
  --paper: #171716;
  --ink: #f7f2ea;
  --muted: #a8a098;
  --graphite: #20201e;
  --soft: #171716;
  --soft-2: #20201e;
  --paper-light: #efeadf;
  --paper-ink: #151412;
  --blue: #82d9ff;
  --lime: #c8ff2e;
  --orange: #d7a447;
  --red: #d9342a;
  --red-dark: #501c18;
  --green: #47d66f;
  --error: #ff5a52;
  --line: rgba(247, 242, 234, .14);
  --line-strong: rgba(247, 242, 234, .28);
  --radius: 8px;
  --shadow-blue: 0 0 0 1px rgba(130, 217, 255, .22), 0 18px 42px rgba(0, 0, 0, .34);
  --shadow-ink: 0 26px 70px rgba(0, 0, 0, .38);
}

.panel-admin-summary {
  grid-template-columns: repeat(5, minmax(130px, 1fr));
}

.panel-admin-count {
  margin: 14px 0 0;
}

.panel-admin-table-panel {
  padding: 0;
  overflow: hidden;
}

.panel-admin-table {
  min-width: 1380px;
  font-size: 13px;
}

.panel-admin-table th,
.panel-admin-table td {
  vertical-align: top;
}

.panel-admin-table td {
  min-width: 180px;
}

.panel-admin-table td:first-child {
  min-width: 230px;
}

.panel-device-card + .panel-device-card {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line, rgba(255,255,255,.1));
}

@media (max-width: 1100px) {
  .panel-admin-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(247, 242, 234, .035) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(180deg, #10100f 0%, #090909 38%, #11110f 100%);
  color: var(--ink);
  font: 15px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

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

button {
  cursor: pointer;
}

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

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

h1,
h2,
h3,
.display {
  font-family: Oswald, Inter, ui-sans-serif, system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0;
}

.app-shell {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  min-height: 100vh;
  transition: grid-template-columns .18s ease;
}

.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100vh;
  padding: 22px;
  border-right: 1px solid var(--line);
  background: rgba(15, 15, 14, .92);
  backdrop-filter: blur(18px);
  transition: padding .18s ease;
}

.sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 42px;
  font-weight: 950;
  text-transform: uppercase;
}

.brand-text {
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: var(--radius);
  background: var(--red);
  color: #fff;
  font-family: Oswald, Inter, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: none;
}

.sidebar-toggle {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(247, 242, 234, .04);
  color: var(--ink);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.sidebar-toggle:hover {
  border-color: var(--line-strong);
  background: rgba(247, 242, 234, .08);
}

.sidebar-toggle:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

.nav-group {
  display: grid;
  gap: 7px;
}

.nav-label {
  margin: 10px 8px 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.nav-icon {
  display: grid;
  place-items: center;
  width: 18px;
  color: var(--muted);
  font-weight: 900;
}

.nav-item:hover {
  border-color: var(--line-strong);
  background: rgba(247, 242, 234, .04);
  color: var(--ink);
}

.nav-item.active {
  border-color: rgba(217, 52, 42, .86);
  background: rgba(217, 52, 42, .13);
  color: var(--ink);
  box-shadow: inset 3px 0 0 var(--red);
}

.sidebar-bottom {
  margin-top: auto;
  display: grid;
  gap: 12px;
}

.side-card {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(23, 23, 22, .82);
  color: var(--ink);
}

.side-card b {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
}

.side-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.side-access-list {
  display: grid;
  gap: 9px;
}

.side-access-list span {
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.side-access-list strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.3;
}

.side-support-card {
  border-color: rgba(217, 52, 42, .42);
  background: rgba(217, 52, 42, .1);
}

.side-support-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: 12px;
  padding: 0 12px;
  border-radius: var(--radius);
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.side-support-button:hover {
  background: #f04a3e;
}

.credit-promo {
  position: fixed;
  z-index: 40;
  left: 284px;
  bottom: 16px;
  width: 236px;
  overflow: hidden;
  border: 1px solid rgba(243, 238, 22, .7);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(243, 238, 22, .16), transparent 48%),
    rgba(12, 16, 17, .98);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .52), 0 0 0 1px rgba(243, 238, 22, .08);
  color: #f4f4e9;
}

.credit-promo[hidden] {
  display: none;
}

.credit-promo-link {
  display: grid;
  gap: 8px;
  padding: 16px;
  padding-top: 18px;
}

.credit-promo-kicker {
  color: #f3ee16;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}

.credit-promo strong {
  max-width: 190px;
  font-family: Oswald, Inter, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.08;
  text-transform: uppercase;
}

.credit-promo-copy {
  max-width: 200px;
  color: #aeb7b3;
  font-size: 12px;
  line-height: 1.4;
}

.credit-promo-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  margin-top: 2px;
  padding: 0 10px;
  border-radius: 6px;
  background: #f3ee16;
  color: #050607;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.credit-promo-link:hover .credit-promo-button {
  background: #fff92b;
}

.credit-promo-close {
  position: absolute;
  z-index: 2;
  top: 7px;
  right: 7px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  min-width: 26px;
  min-height: 26px;
  max-width: 26px;
  max-height: 26px;
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid rgba(244, 244, 233, .2);
  border-radius: 50%;
  background: rgba(5, 6, 7, .78);
  color: #f4f4e9;
  font-size: 18px;
  line-height: 1;
}

.credit-promo-close:hover,
.credit-promo-close:focus-visible {
  border-color: #f3ee16;
  color: #f3ee16;
  transform: none;
}

.app-shell.sidebar-collapsed + .credit-promo {
  left: 92px;
}

.panel-upgrade {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 28px;
  width: 100%;
  margin: 0 0 24px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(243, 238, 22, .42);
  border-top: 4px solid #f3ee16;
  border-radius: 10px;
  background:
    linear-gradient(125deg, rgba(243, 238, 22, .14), transparent 46%),
    rgba(12, 16, 17, .96);
  color: #f4f4e9;
  box-shadow: 0 20px 54px rgba(0, 0, 0, .32);
}

.panel-upgrade-copy {
  min-width: 0;
}

.panel-upgrade-eyebrow {
  margin: 0 0 10px;
  color: #f3ee16;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}

.panel-upgrade h2 {
  margin: 0 0 10px;
  color: #f4f4e9;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.05;
}

.panel-upgrade-current {
  margin: 0 0 18px;
  color: #aeb7b3;
  font-size: 14px;
}

.panel-upgrade ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.panel-upgrade li {
  min-width: 0;
}

.panel-upgrade li::before {
  content: "+";
  margin-right: 8px;
  color: #f3ee16;
  font-weight: 900;
}

.panel-upgrade-action {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  padding-left: 28px;
  border-left: 1px solid rgba(244, 244, 233, .16);
}

.panel-upgrade-action > span,
.panel-upgrade-action small {
  color: #aeb7b3;
  font-size: 12px;
}

.panel-upgrade-action strong {
  color: #f4f4e9;
  font-family: Oswald, Inter, sans-serif;
  font-size: clamp(38px, 4vw, 54px);
  line-height: 1;
  white-space: nowrap;
}

.panel-upgrade-action .button {
  width: 100%;
  margin-top: 8px;
  border-color: #f3ee16;
  background: #f3ee16;
  color: #050607;
}

@media (max-width: 820px) {
  .panel-upgrade {
    grid-template-columns: minmax(0, 1fr);
  }

  .panel-upgrade-action {
    padding: 20px 0 0;
    border-top: 1px solid rgba(244, 244, 233, .16);
    border-left: 0;
  }
}

@media (max-width: 760px) {
  .panel-upgrade {
    gap: 20px;
    padding: 20px 18px;
  }

  .panel-upgrade ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .panel-upgrade-action strong {
    white-space: normal;
  }
}

.app-shell.sidebar-collapsed {
  grid-template-columns: 76px minmax(0, 1fr);
}

.sidebar-collapsed .sidebar {
  align-items: center;
  padding: 18px 10px;
}

.sidebar-collapsed .sidebar-head {
  display: grid;
  justify-items: center;
}

.sidebar-collapsed .brand {
  justify-content: center;
}

.sidebar-collapsed .brand-text,
.sidebar-collapsed .nav-text,
.sidebar-collapsed .nav-label,
.sidebar-collapsed .sidebar-bottom {
  display: none;
}

.sidebar-collapsed .nav-group {
  width: 100%;
}

.sidebar-collapsed .nav-item {
  justify-content: center;
  padding: 0;
}

.sidebar-collapsed .nav-icon {
  width: 100%;
}

.sidebar-collapsed .nav-item.active {
  box-shadow: inset 0 -3px 0 var(--red);
}

.main {
  min-width: 0;
  padding: 22px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 62px;
  margin: -22px -22px 22px;
  padding: 12px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 9, 9, .86);
  backdrop-filter: blur(18px);
}

.crumb,
.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.crumb {
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.crumb a,
.crumb-current {
  display: inline-block;
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crumb a {
  color: rgba(247, 242, 234, .82);
}

.crumb a:hover {
  color: var(--lime);
}

.crumb-current {
  color: var(--muted);
}

.crumb-sep {
  color: var(--line-strong);
}

.top-actions form {
  margin: 0;
}

.content-shell {
  width: min(1300px, 100%);
  margin: 0 auto;
}

.content-shell-wide {
  width: min(1680px, 100%);
}

.account-hero {
  position: relative;
  min-height: 178px;
  padding-right: 360px;
}

.account-hero-row {
  display: block;
  width: 100%;
}

.account-identity {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.account-identity h1 {
  max-width: none;
}

.account-channel-widget {
  position: absolute;
  top: 84px;
  right: 0;
  width: 230px;
  text-align: center;
}

.account-channel-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  border: 1px solid rgba(130, 217, 255, .55);
  background: var(--blue);
  color: #090909;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(130, 217, 255, .18);
  text-decoration: none;
}

.account-channel-button:hover {
  background: #9ee3ff;
}

.account-channel-note {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.25;
  color: var(--muted);
}

.page-title,
.hero {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.hero {
  align-items: center;
  min-height: 62vh;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow:before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(217, 52, 42, .18);
}

.hero h1,
.page-title h1 {
  max-width: 960px;
  font-size: clamp(34px, 4.8vw, 64px);
  line-height: 1.12;
  font-weight: 700;
}

.page-title p:not(.eyebrow),
.hero p:not(.eyebrow),
.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
  font-weight: 560;
}

.muted {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.grid,
.list,
.actions,
.live-main,
.live-blocks,
.lesson-list,
.offer-list {
  display: grid;
  gap: 16px;
}

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

.login-wrap {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, .72fr);
  gap: 22px;
  align-items: center;
  min-height: calc(100vh - 102px);
}

.login-poster {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 560px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(217, 52, 42, .26), transparent 34%),
    linear-gradient(315deg, rgba(200, 255, 46, .14), transparent 42%),
    var(--paper);
  box-shadow: var(--shadow-ink);
}

.login-poster h1 {
  max-width: 660px;
  font-size: clamp(34px, 4.8vw, 62px);
  line-height: 1.12;
  font-weight: 900;
}

.login-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(23, 23, 22, .86);
  box-shadow: var(--shadow-blue);
}

.login-form h2 {
  font-size: clamp(26px, 2.7vw, 36px);
  line-height: 1.14;
  font-weight: 900;
}

.alert {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(23, 23, 22, .92);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.35;
}

.alert.error {
  border-color: rgba(255, 90, 82, .44);
  background: rgba(255, 90, 82, .12);
}

.alert.success {
  border-color: rgba(200, 255, 46, .44);
  background: rgba(200, 255, 46, .12);
}

.metrics {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 24px 0;
}

.metric,
.stat {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(23, 23, 22, .82);
}

.metric span,
.stat strong {
  display: block;
  margin-top: 8px;
  font-size: 32px;
  line-height: 1;
  font-weight: 900;
}

.metric p,
.stat span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

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

.student-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 24px;
}

.panel,
.row-card,
.video-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(23, 23, 22, .82);
}

.panel {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
  padding: 18px;
  overflow: hidden;
}

.row-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 126px;
  padding: 18px;
}

.row-card:nth-child(1) {
  border-color: rgba(217, 52, 42, .52);
}

.row-card h2,
.panel h2 {
  font-size: 19px;
  line-height: 1.22;
  font-weight: 900;
}

.row-card p {
  color: var(--muted);
}

.live-row-card {
  align-items: stretch;
}

.live-row-ended {
  border-color: rgba(215, 164, 71, .58);
  background:
    linear-gradient(90deg, rgba(215, 164, 71, .08), rgba(23, 23, 22, .82) 38%),
    rgba(23, 23, 22, .82);
}

.live-row-content {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.live-row-summary {
  max-width: 920px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
  font-weight: 620;
}

.live-row-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  max-width: 1080px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.live-row-points li {
  position: relative;
  min-width: 0;
  padding-left: 18px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.42;
  font-weight: 680;
}

.live-row-points li::before {
  content: "";
  position: absolute;
  top: .58em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
}

.live-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.live-row-meta span {
  min-height: 26px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
}

.live-row-card .button {
  align-self: flex-end;
  min-width: 190px;
  margin-bottom: 4px;
}

.live-ended-actions {
  display: grid;
  gap: 10px;
  align-self: flex-end;
  min-width: 230px;
  margin-bottom: 4px;
}

.live-ended-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 16px;
  border: 1px solid rgba(215, 164, 71, .72);
  border-radius: var(--radius);
  background: rgba(215, 164, 71, .14);
  color: var(--paper-light);
  font-size: 15px;
  line-height: 1.25;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.live-recording-button {
  border-color: #e11922;
  background: #e11922;
  color: #fff;
  box-shadow: 0 16px 36px rgba(221, 33, 43, .32);
}

.live-recording-button:hover {
  background: #ff1f2a;
}

.live-status-ended {
  border-color: rgba(215, 164, 71, .62) !important;
  background: rgba(215, 164, 71, .12);
  color: var(--orange) !important;
}

.live-locked-note {
  margin: 10px 0 16px;
  color: var(--gold);
  font-weight: 850;
}

.live-locked-link {
  display: block;
  padding: 13px 16px;
  border: 1px solid rgba(215, 164, 71, .45);
  border-radius: var(--radius);
  background: rgba(215, 164, 71, .1);
  color: var(--ink);
  font-weight: 850;
}

.live-locked-link span {
  display: block;
  margin-top: 6px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.live-ended-link {
  border-color: rgba(215, 164, 71, .55);
  background: rgba(215, 164, 71, .11);
}

.live-locked-link .course-live-recording-button {
  display: inline-flex;
  width: fit-content;
  margin-top: 12px;
  color: #fff;
  font-size: 14px;
  text-transform: none;
}

.live-locked-link .course-live-recording-button.secondary {
  color: var(--ink);
}

.live-locked-button {
  pointer-events: none;
  opacity: .88;
}

.live-locked-panel p {
  max-width: 760px;
  color: var(--muted);
}

.access-row {
  min-height: 96px;
}

.course-tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  align-items: start;
}

.course-tile {
  position: relative;
  display: block;
  aspect-ratio: 1;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(23, 23, 22, .82);
  box-shadow: none;
}

.course-tile-locked {
  cursor: not-allowed;
  opacity: .68;
  filter: saturate(.55);
}

.course-tile-locked::after {
  position: absolute;
  inset: 0;
  content: "";
  border-radius: inherit;
  background: rgba(8, 8, 8, .18);
  pointer-events: none;
}

.course-tile-locked .course-tile-body {
  z-index: 1;
}

.course-locked-pill,
.course-locked-action {
  background: #3b3b39;
  color: var(--muted);
}

.course-tile-cover {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(217, 52, 42, .28), transparent 36%),
    linear-gradient(315deg, rgba(200, 255, 46, .13), transparent 42%),
    var(--soft-2);
}

.course-tile-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-cover-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  color: var(--ink);
  font-family: Oswald, Inter, sans-serif;
  font-size: 26px;
  line-height: 1.14;
  font-weight: 700;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.course-tile-body {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 16px;
  background: linear-gradient(180deg, transparent, rgba(23, 23, 22, .88) 33%, rgba(23, 23, 22, .98));
}

.course-tile-title {
  font-size: 18px;
  line-height: 1.2;
  font-weight: 900;
}

.course-tile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.course-tile-description {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.progress-line {
  display: block;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(247, 242, 234, .12);
}

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

.tile-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: var(--radius);
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.secondary-action {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.catalog-tile {
  background: linear-gradient(180deg, rgba(247, 242, 234, .035), rgba(247, 242, 234, .015));
  box-shadow: none;
}

.catalog-tile .course-tile-cover {
  background:
    linear-gradient(135deg, rgba(217, 52, 42, .22), transparent 38%),
    linear-gradient(315deg, rgba(215, 164, 71, .2), transparent 42%),
    var(--soft-2);
}

.catalog-status {
  width: max-content;
  min-height: 24px;
  padding: 4px 9px;
  border: 1px solid rgba(215, 164, 71, .55);
  border-radius: 999px;
  background: rgba(215, 164, 71, .12);
  color: var(--orange);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.module-board {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.module-card {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(23, 23, 22, .82);
  box-shadow: none;
}

.module-card:hover {
  transform: translate(-2px, -2px);
  border-color: rgba(217, 52, 42, .72);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .34);
}

.module-card.locked {
  cursor: default;
}

.module-card.locked:hover {
  transform: none;
  border-color: var(--line);
  box-shadow: none;
}

.module-card.locked .module-cover img {
  filter: grayscale(.35) brightness(.55);
}

.module-card.tariff-preview-locked .module-cover img {
  filter: grayscale(.18) brightness(.58);
}

.module-card.locked .module-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 9, 9, .1), rgba(9, 9, 9, .58));
}

.module-card.tariff-preview-locked .module-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 9, 9, .12), rgba(9, 9, 9, .64));
}

.module-cover {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(217, 52, 42, .28), transparent 38%),
    linear-gradient(315deg, rgba(130, 217, 255, .12), transparent 44%),
    var(--soft-2);
}

.module-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.module-position {
  font-size: 82px;
  line-height: 1;
  font-family: Oswald, Inter, sans-serif;
  font-weight: 900;
}

.module-lock-mark {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  padding: 7px 10px;
  border: 1px solid rgba(247, 242, 234, .28);
  border-radius: 999px;
  background: rgba(9, 9, 9, .66);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.module-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}

.module-body h2 {
  font-size: 20px;
  line-height: 1.22;
  font-weight: 900;
  min-height: calc(1.22em * 3);
  overflow-wrap: anywhere;
}

.module-count {
  line-height: 1.25;
}

.module-release {
  width: fit-content;
  max-width: 100%;
  margin-top: auto;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.module-release.locked {
  border: 1px solid rgba(215, 164, 71, .42);
  background: rgba(215, 164, 71, .13);
  color: var(--orange);
}

.module-release.open {
  border: 1px solid rgba(71, 214, 111, .35);
  background: rgba(71, 214, 111, .1);
  color: var(--green);
}

.module-release.tariff-locked {
  border: 1px solid rgba(217, 52, 42, .62);
  background: rgba(217, 52, 42, .16);
  color: #ff7b70;
}

.module-release.update-locked {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  padding: 7px 12px;
  border-radius: 18px;
  font-size: 11px;
  line-height: 1.15;
  white-space: normal;
}

.module-preview-button {
  width: 100%;
  margin-top: 2px;
  white-space: normal;
  text-align: center;
}

.tariff-locked-release {
  border-color: rgba(217, 52, 42, .46);
  background: rgba(217, 52, 42, .12);
}

.tariff-locked-release em {
  color: #ff7b70;
}

.tariff-upgrade-link {
  display: block;
  width: fit-content;
  margin-top: 4px;
  color: #ff4f43;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
}

.tariff-upgrade-link:hover {
  color: #ff7b70;
}

.module-lessons {
  gap: 8px;
}

.module-lessons a {
  padding: 11px 12px;
  box-shadow: none;
}

.course-actions-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 16px;
}

.course-learning-map {
  margin: -2px 0 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(217, 52, 42, .12), transparent 32%),
    rgba(23, 23, 22, .82);
  box-shadow: var(--shadow-ink);
}

.course-learning-map img {
  display: block;
  width: 100%;
  height: auto;
}

.course-action-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 18px;
  border: 1px solid rgba(217, 52, 42, .46);
  border-radius: var(--radius);
  background: rgba(217, 52, 42, .13);
  color: var(--ink);
  font-weight: 950;
  text-transform: uppercase;
}

.course-action-card::after {
  content: "↗";
  color: var(--red);
  font-size: 20px;
  line-height: 1;
}

.course-action-card.disabled {
  border-color: var(--line);
  background: rgba(23, 23, 22, .58);
  color: var(--muted);
}

.course-action-card.disabled::after {
  content: "";
}

.course-upgrade-panel {
  margin: 0 0 16px;
}

.course-upgrade-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid rgba(217, 52, 42, .42);
  border-radius: var(--radius);
  background: rgba(217, 52, 42, .11);
  color: var(--ink);
  text-decoration: none;
}

.course-upgrade-card span {
  font-size: 16px;
  font-weight: 950;
  line-height: 1.25;
  text-transform: uppercase;
}

.course-upgrade-card small {
  max-width: 760px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.course-upgrade-button {
  align-self: flex-start;
  margin-top: 10px;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(217, 52, 42, .24);
}

.course-upgrade-button:hover {
  background: var(--accent-2);
}

.release-list {
  display: grid;
  gap: 10px;
}

.release-calendar-months {
  display: grid;
  gap: 12px;
}

.release-calendar-month {
  display: grid;
  gap: 8px;
  overflow-x: auto;
}

.release-calendar-month[hidden] {
  display: none;
}

.release-calendar-nav {
  display: grid;
  grid-template-columns: 34px minmax(0, max-content) 34px;
  gap: 8px;
  align-items: center;
}

.release-calendar-switch {
  width: 34px;
  min-height: 34px;
  padding: 0;
  border-color: var(--line-strong);
  background: rgba(9, 9, 9, .28);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
}

.release-calendar-switch:disabled {
  cursor: default;
  opacity: .28;
  transform: none;
}

.release-calendar-month h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 950;
  text-transform: uppercase;
}

.release-calendar-weekdays,
.release-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  min-width: 560px;
}

.release-calendar-weekdays span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.release-calendar-day {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 76px;
  min-width: 0;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(9, 9, 9, .28);
}

.release-calendar-day.outside-month {
  opacity: .34;
}

.release-calendar-day.has-releases {
  border-color: rgba(217, 52, 42, .54);
  background: rgba(217, 52, 42, .08);
}

.release-calendar-day > time {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
}

.release-calendar-events {
  display: grid;
  gap: 4px;
  max-height: 92px;
  overflow-y: auto;
}

.release-calendar-module {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 6px;
  border: 1px solid rgba(71, 214, 111, .28);
  border-radius: calc(var(--radius) - 2px);
  background: rgba(71, 214, 111, .08);
}

.release-calendar-module.locked-release {
  border-color: rgba(215, 164, 71, .34);
  background: rgba(215, 164, 71, .11);
}

.release-calendar-module.tariff-locked-release {
  border-color: rgba(217, 52, 42, .42);
  background: rgba(217, 52, 42, .13);
}

.release-calendar-module span,
.release-calendar-module small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

.release-calendar-module strong {
  min-width: 0;
  color: var(--ink);
  font-size: 10px;
  line-height: 1.15;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.release-calendar-module em {
  width: fit-content;
  max-width: 100%;
  padding: 4px 6px;
  border: 1px solid rgba(71, 214, 111, .35);
  border-radius: 999px;
  background: rgba(71, 214, 111, .1);
  color: var(--green);
  font-size: 8px;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.release-calendar-module.locked-release em {
  border-color: rgba(215, 164, 71, .42);
  background: rgba(215, 164, 71, .13);
  color: var(--orange);
}

.release-calendar-module.tariff-locked-release em {
  border-color: rgba(217, 52, 42, .62);
  background: rgba(217, 52, 42, .16);
  color: #ff7b70;
}

.release-item {
  display: grid;
  grid-template-columns: 160px minmax(110px, .35fr) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(9, 9, 9, .3);
}

.release-item time,
.release-item span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.release-item strong {
  min-width: 0;
  font-size: 15px;
  line-height: 1.3;
}

.release-item em {
  min-width: 92px;
  padding: 6px 9px;
  border: 1px solid rgba(71, 214, 111, .35);
  border-radius: 999px;
  background: rgba(71, 214, 111, .1);
  color: var(--green);
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.locked-release {
  cursor: default;
}

.locked-release em {
  border-color: rgba(215, 164, 71, .42);
  background: rgba(215, 164, 71, .13);
  color: var(--orange);
}

.module-hero {
  aspect-ratio: 16 / 7;
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(23, 23, 22, .82);
}

.module-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.panel h3 {
  font-size: 17px;
  line-height: 1.22;
  font-weight: 900;
}

.narrow {
  max-width: 460px;
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--red);
  border-radius: var(--radius);
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: none;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.button:hover,
button:hover {
  transform: translate(2px, 2px);
  box-shadow: none;
}

.button.secondary,
button.secondary,
.secondary {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

.button.lime,
button.lime {
  background: var(--lime);
  color: var(--paper-ink);
  box-shadow: none;
}

.button.orange,
button.orange {
  background: var(--orange);
  color: var(--paper-ink);
  box-shadow: none;
}

.danger,
button.danger {
  background: var(--red);
  color: white;
  box-shadow: none;
}

button:disabled,
.button.disabled {
  cursor: not-allowed;
  opacity: .45;
  box-shadow: none;
  transform: none;
}

.form {
  display: grid;
  gap: 14px;
}

.form.inline {
  align-items: end;
  grid-template-columns: 1fr 1fr auto;
}

.access-grant-form {
  grid-template-columns: minmax(220px, 1fr) minmax(280px, 1.25fr) minmax(320px, 1.4fr) minmax(180px, .75fr) auto;
}

.field-hint {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  text-transform: none;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(9, 9, 9, .72);
  color: var(--ink);
  font-size: 16px;
  font-weight: 650;
  outline: none;
}

input,
select {
  min-height: 44px;
  padding: 0 12px;
}

textarea {
  min-height: 110px;
  padding: 12px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(130, 217, 255, .12);
}

input[type="checkbox"] {
  width: auto;
  min-height: 0;
}

.check {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.newsletter-editor-shell {
  display: grid;
  gap: 0;
}

.newsletter-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-bottom: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  background: rgba(23, 23, 22, .82);
}

.newsletter-toolbar button {
  min-width: 42px;
  min-height: 36px;
  padding: 0 10px;
  box-shadow: none;
}

.color-tool {
  display: inline-flex;
  align-items: center;
  flex-direction: row;
  gap: 8px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(9, 9, 9, .72);
}

.color-tool input {
  width: 28px;
  min-height: 28px;
  padding: 0;
  border: 0;
}

.newsletter-editor {
  min-height: 280px;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 0 0 var(--radius) var(--radius);
  background: rgba(9, 9, 9, .72);
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
  outline: none;
}

.newsletter-editor:empty:before {
  content: attr(data-placeholder);
  color: var(--muted);
}

.newsletter-editor:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(130, 217, 255, .12);
}

.newsletter-editor h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.mail-callout {
  margin: 14px 0;
  padding: 14px;
  border-left: 5px solid var(--blue);
  border-radius: var(--radius);
  background: rgba(130, 217, 255, .1);
  font-weight: 800;
}

.mail-button {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: var(--radius);
  background: var(--blue);
  color: var(--paper-ink);
  font-weight: 900;
}

.newsletter-media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.spam-check {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(23, 23, 22, .82);
}

.spam-check-result {
  grid-column: 1 / -1;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: rgba(215, 164, 71, .14);
}

.spam-check-result.ok {
  background: rgba(71, 214, 111, .12);
  color: var(--green);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(23, 23, 22, .82);
}

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

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

th {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

td {
  font-weight: 720;
  color: var(--ink);
}

tr:last-child td {
  border-bottom: 0;
}

.users-table {
  min-width: 980px;
}

.orders-table {
  min-width: 0;
  table-layout: fixed;
}

.orders-table th,
.orders-table td {
  overflow-wrap: anywhere;
  font-size: 12px;
  line-height: 1.35;
}

.online-table {
  min-width: 820px;
}

.online-status {
  gap: 6px;
}

.online-status i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(71, 214, 111, .14);
}

.table-strong-link {
  color: var(--ink);
  font-weight: 950;
  text-decoration: underline;
  text-decoration-color: rgba(217, 52, 42, .8);
  text-underline-offset: 4px;
}

.table-strong-link:hover {
  color: var(--red);
}

.composition-cell {
  width: 24%;
  white-space: normal;
}

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

.detail-list {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 12px 16px;
  margin: 0;
}

.detail-list dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 780;
  overflow-wrap: anywhere;
}

.detail-note {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.order-composition {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(9, 9, 9, .48);
  color: var(--ink);
  font-weight: 800;
  line-height: 1.5;
  white-space: pre-wrap;
}

.order-match-list,
.detail-stack {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.order-match,
.detail-card {
  display: grid;
  gap: 6px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(247, 242, 234, .04);
}

.order-match strong,
.detail-card strong {
  color: var(--ink);
  font-weight: 950;
}

.order-match span,
.detail-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.raw-payload-grid {
  display: grid;
  gap: 8px;
}

.raw-payload-row {
  display: grid;
  grid-template-columns: minmax(180px, .36fr) minmax(0, 1fr);
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(9, 9, 9, .35);
}

.raw-payload-row span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.raw-payload-row strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 780;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

@media (max-width: 860px) {
  .order-detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-list,
  .raw-payload-row {
    grid-template-columns: 1fr;
  }
}

.money,
.nowrap {
  white-space: nowrap;
}

.pill,
.status,
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  margin: 0 6px 6px 0;
  padding: 0 9px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(247, 242, 234, .06);
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.pill {
  border-color: rgba(200, 255, 46, .5);
  background: rgba(200, 255, 46, .12);
  color: var(--lime);
}

.status-active {
  border-color: var(--green);
  background: rgba(71, 214, 111, .12);
  color: var(--green);
}

.status-off {
  border-color: var(--orange);
  background: rgba(215, 164, 71, .12);
  color: var(--orange);
}

.lesson-list.compact {
  margin-top: 12px;
}

.lesson-list a {
  display: block;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(9, 9, 9, .52);
  font-weight: 850;
}

.lesson-list a:hover {
  border-color: rgba(217, 52, 42, .72);
  background: rgba(217, 52, 42, .12);
}

.lesson-card-link {
  display: grid !important;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.lesson-card-index {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(217, 52, 42, .55);
  border-radius: 50%;
  background: rgba(217, 52, 42, .14);
  color: var(--ink);
  font-family: Oswald, Inter, sans-serif;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.lesson-card-body {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.lesson-card-body strong {
  font-size: 19px;
  line-height: 1.2;
}

.lesson-card-body span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
  white-space: pre-line;
}

.lesson-release-date {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 5px 9px;
  border: 1px solid rgba(215, 164, 71, .5);
  border-radius: 999px;
  background: rgba(215, 164, 71, .1);
  color: var(--orange);
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
  line-height: 1.25;
}

.lesson-release-date.open {
  border-color: rgba(71, 214, 111, .38);
  background: rgba(71, 214, 111, .1);
  color: var(--green);
}

.locked-lessons-list {
  gap: 10px;
}

.locked-lesson-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(9, 9, 9, .42);
  opacity: .78;
}

.locked-lesson-card .lesson-card-index {
  border-color: rgba(247, 242, 234, .24);
  background: rgba(247, 242, 234, .08);
}

.upgrade-panel {
  margin-top: 18px;
}

.upgrade-button {
  width: 100%;
  min-height: 56px;
  padding: 12px 18px;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
}

.lesson-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lesson-step-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: -4px 0 18px;
}

.lesson-step-card {
  display: grid;
  gap: 6px;
  min-height: 86px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(9, 9, 9, .52);
}

.lesson-step-card:hover {
  border-color: rgba(200, 255, 46, .48);
  background: rgba(200, 255, 46, .10);
}

.lesson-step-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.lesson-step-card strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.25;
}

.lesson-step-card em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.35;
}

.lesson-step-card.next {
  text-align: right;
}

.lesson-step-card.disabled {
  opacity: .46;
  pointer-events: none;
}

.lesson-step-card.disabled.lesson-step-card-locked {
  opacity: .72;
}

.secondary-title {
  margin-top: 34px;
}

.video-box {
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(130, 217, 255, .12), transparent 45%),
    linear-gradient(315deg, rgba(217, 52, 42, .14), transparent 48%),
    #0b0b0a;
  color: white;
  overflow: hidden;
}

.video-box video {
  display: block;
  width: min(100%, 1100px);
  max-height: 70vh;
  border-radius: var(--radius);
  background: #000;
}

.lesson-player-shell {
  min-height: 0;
  padding: 0;
  background:
    linear-gradient(135deg, rgba(130, 217, 255, .08), transparent 40%),
    linear-gradient(315deg, rgba(217, 52, 42, .10), transparent 42%),
    #050505;
}

.lesson-player {
  position: relative;
  width: min(100%, 1160px);
  overflow: hidden;
  border: 1px solid rgba(247, 242, 234, .18);
  border-radius: var(--radius);
  background: #050505;
  box-shadow: var(--shadow-ink);
  user-select: none;
}

.lesson-player video {
  width: 100%;
  max-height: 72vh;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  object-fit: contain;
  -webkit-user-drag: none;
}

.player-big-play {
  position: absolute;
  top: calc((100% - 63px) / 2);
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  padding: 0 0 0 5px;
  border: 1px solid rgba(247, 242, 234, .30);
  border-radius: 50%;
  background: rgba(9, 9, 9, .72);
  color: var(--lime);
  box-shadow: 0 18px 54px rgba(0, 0, 0, .42), 0 0 0 10px rgba(200, 255, 46, .08);
  font-size: 34px;
  line-height: 1;
  transform: translate(-50%, -50%);
  transition: opacity .16s ease, transform .16s ease, background .16s ease;
}

.player-big-play:hover {
  background: rgba(200, 255, 46, .18);
  transform: translate(-50%, -50%) scale(1.04);
}

.lesson-player.is-playing .player-big-play {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(.94);
}

.lesson-player-controls {
  display: grid;
  grid-template-columns: 42px auto minmax(180px, 1fr) 84px 42px 112px 42px;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-top: 1px solid rgba(247, 242, 234, .12);
  background: rgba(14, 14, 13, .96);
}

.player-icon-button {
  display: grid;
  place-items: center;
  width: 42px;
  min-width: 42px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(247, 242, 234, .18);
  border-radius: var(--radius);
  background: rgba(247, 242, 234, .08);
  color: var(--ink);
  box-shadow: none;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.player-icon-button:hover {
  transform: none;
  background: rgba(200, 255, 46, .16);
  border-color: rgba(200, 255, 46, .48);
}

.player-time {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 96px;
  color: rgba(247, 242, 234, .78);
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.player-seek,
.player-volume {
  width: 100%;
  min-width: 0;
  accent-color: var(--lime);
}

.player-seek {
  --player-progress: 0%;
}

.player-seek,
.player-volume {
  appearance: none;
  height: 8px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--lime) var(--player-progress), rgba(247, 242, 234, .20) var(--player-progress));
  cursor: pointer;
}

.player-volume {
  --player-progress: 100%;
}

.player-seek::-webkit-slider-thumb,
.player-volume::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #050505;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 1px rgba(247, 242, 234, .24);
}

.player-seek::-moz-range-thumb,
.player-volume::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 2px solid #050505;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 1px rgba(247, 242, 234, .24);
}

.player-speed {
  width: 84px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid rgba(247, 242, 234, .18);
  border-radius: var(--radius);
  background: rgba(247, 242, 234, .08);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.lesson-player:fullscreen {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
}

.lesson-player:fullscreen video {
  width: 100%;
  height: 100%;
  max-height: none;
}

.lesson-content-panel {
  padding: clamp(18px, 3vw, 30px);
}

.lesson-content-panel {
  background:
    linear-gradient(135deg, rgba(200, 255, 46, .08), transparent 34%),
    rgba(23, 23, 22, .82);
}

.lesson-content-block {
  display: grid;
  gap: 14px;
  max-width: 900px;
}

.lesson-content {
  display: grid;
  gap: 16px;
}

.lesson-content h2 {
  max-width: 760px;
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1.12;
}

.lesson-content h3 {
  margin-top: 8px;
  color: var(--lime);
  font-size: 17px;
  line-height: 1.28;
  text-transform: uppercase;
}

.lesson-content p {
  max-width: 800px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.68;
}

.lesson-content .lesson-small-note {
  margin-bottom: -6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.lesson-kinescope-embed {
  position: relative;
  width: 100%;
  max-width: 900px;
  aspect-ratio: var(--lesson-embed-aspect, 16 / 9);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #050505;
}

.lesson-kinescope-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.lesson-image {
  width: 100%;
  max-width: 760px;
  margin: 0;
}

.lesson-image img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.lesson-content ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lesson-content li {
  position: relative;
  padding: 14px 16px 14px 42px;
  border: 1px solid rgba(247, 242, 234, .10);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .045);
  color: var(--ink);
  line-height: 1.55;
}

.lesson-content li:before {
  content: "";
  position: absolute;
  top: 19px;
  left: 18px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(200, 255, 46, .12);
}

.lesson-content a {
  color: var(--lime);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.lesson-content .lesson-highlight {
  display: inline-block;
  padding: 1px 7px 2px;
  border-radius: 6px;
  background: #ffe600;
  color: #080808;
  font-weight: 900;
  line-height: 1.2;
  box-shadow: 0 0 0 2px rgba(255, 125, 0, .95), 0 8px 22px rgba(255, 230, 0, .22);
}

.lesson-callout {
  display: grid;
  gap: 12px;
  max-width: 820px;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid rgba(200, 255, 46, .28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(200, 255, 46, .14), rgba(255, 255, 255, .045)),
    rgba(255, 255, 255, .06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10), 0 18px 44px rgba(0, 0, 0, .24);
}

.lesson-content .lesson-callout h3 {
  margin: 0;
  color: var(--lime);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.2;
  text-transform: none;
}

.lesson-content .lesson-callout p {
  margin: 0;
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.45;
}

.lesson-content .lesson-callout ul {
  gap: 8px;
}

.lesson-content .lesson-callout li {
  padding: 0 0 0 22px;
  border: 0;
  background: transparent;
  color: #f7f2ea;
  font-weight: 700;
}

.lesson-content .lesson-callout li:before {
  top: 8px;
  left: 0;
  width: 8px;
  height: 8px;
  box-shadow: 0 0 0 4px rgba(200, 255, 46, .14);
}

.lesson-download-row {
  margin-top: 4px;
}

.lesson-content .lesson-download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.lesson-content .lesson-download-button:hover {
  transform: translateY(-1px);
  background: #ff3b32;
}

.lesson-prompt-card {
  position: relative;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .035);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .18);
}

.lesson-prompt-head {
  display: block;
  min-height: 54px;
  padding: 15px 126px 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  background: rgba(0, 0, 0, .22);
}

.lesson-prompt-head h3 {
  margin: 0;
  color: var(--accent);
  font-size: 16px;
  line-height: 1.25;
}

.lesson-copy-button {
  position: absolute;
  top: 12px;
  right: 12px;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 7px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}

.lesson-copy-button:hover {
  border-color: rgba(255, 255, 255, .34);
  background: rgba(255, 255, 255, .14);
  transform: translateY(-1px);
}

.lesson-prompt-text {
  box-sizing: border-box;
  max-width: 100%;
  margin: 0;
  padding: 16px;
  overflow-x: hidden;
  white-space: pre-wrap;
  color: rgba(255, 255, 255, .88);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.lesson-content .lesson-prompt-text code {
  display: block;
  max-width: 100%;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.video-box code,
.obs-guide code,
code {
  display: block;
  max-width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: #0b0b0a;
  color: #f8fafc;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.live-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  align-items: start;
}

.live-recording-layout {
  display: block;
}

.recording-series {
  display: grid;
  gap: 34px;
}

.recording-series-item {
  display: grid;
  gap: 14px;
}

.recording-series-item h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 34px);
}

.recording-player-shell {
  display: grid;
  gap: 10px;
}

.recording-player-switch {
  display: inline-flex;
  gap: 4px;
  width: fit-content;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
}

.recording-player-switch button {
  min-width: 112px;
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  color: var(--text);
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.recording-player-switch button.is-active {
  color: #12120f;
  background: var(--lime);
}

.recording-player-panel[hidden] {
  display: none;
}

.live-player {
  position: relative;
  aspect-ratio: 518 / 335;
  padding: 0;
}

.video-poster-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background-color: #000;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  cursor: pointer;
}

.video-poster-overlay[hidden] {
  display: none;
}

.video-poster-overlay span {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  padding-left: 5px;
  border-radius: 50%;
  color: #111;
  background: var(--lime);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .45);
  font-size: 30px;
}

.live-player iframe,
.live-player video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--radius);
  background: #000;
}

.live-player video {
  object-fit: contain;
}

.live-player p {
  padding: 20px;
}

.live-admin-presence {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(247, 242, 234, .06);
}

.live-admin-presence span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 780;
}

.live-admin-presence strong {
  min-width: 28px;
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  text-align: right;
}

.live-chat {
  position: sticky;
  top: 86px;
}

.live-sales-blocks {
  transition: opacity .28s ease, transform .28s ease;
}

.live-sales-blocks.is-hidden {
  display: none;
}

.live-sales-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0;
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(247, 242, 234, .045);
}

.live-recording-admin {
  display: grid;
  gap: 12px;
  margin: 14px 0;
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(247, 242, 234, .045);
}

.live-recording-admin > div {
  display: grid;
  gap: 4px;
}

.live-recording-admin span {
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.live-recording-form {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
}

.recording-timer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 18px;
  padding: 22px 18px;
  border: 1px solid rgba(221, 33, 43, .35);
  border-radius: var(--radius);
  background: #130606;
  color: #fff;
  box-shadow: 0 18px 44px rgba(221, 33, 43, .16);
}

.recording-timer div {
  display: grid;
  gap: 4px;
  justify-items: center;
  text-align: center;
}

.recording-timer strong {
  font-size: clamp(24px, 3.2vw, 42px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}

.recording-timer span {
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  font-weight: 750;
}

.recording-timer-value {
  flex: 0 0 auto;
  padding: 14px 20px;
  border-radius: var(--radius);
  background: var(--red);
  color: #fff;
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  text-align: center;
}

.recording-expired {
  display: grid;
  justify-items: center;
  gap: 16px;
  margin: 0 auto 18px;
  padding: 46px 22px;
  border: 1px solid rgba(221, 33, 43, .38);
  border-radius: var(--radius);
  background: #130606;
  color: #fff;
  text-align: center;
  box-shadow: 0 18px 44px rgba(221, 33, 43, .16);
}

.recording-expired h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 6vw, 78px);
  font-weight: 950;
  line-height: .98;
  text-transform: uppercase;
}

.recording-expired p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(18px, 2.6vw, 30px);
  font-weight: 800;
  line-height: 1.2;
}

.live-recording-cta-stack {
  display: grid;
  gap: 14px;
  margin: 18px 0 22px;
}

.live-recording-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 86px;
  margin: 0;
  padding: 18px 28px;
  border: 0;
  border-radius: var(--radius);
  background: #e11922;
  color: #fff;
  font-size: clamp(22px, 3.3vw, 36px);
  font-weight: 900;
  line-height: 1.08;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 22px 52px rgba(221, 33, 43, .36);
  cursor: pointer;
}

.live-recording-cta:hover {
  background: #ff1f2a;
  transform: translateY(-1px);
}

.live-sales-toggle div {
  display: grid;
  gap: 4px;
}

.live-sales-toggle span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 780;
}

.live-sales-toggle form {
  margin: 0;
}

.live-chat-messages {
  display: grid;
  gap: 10px;
  min-height: 240px;
  max-height: 440px;
  margin-bottom: 14px;
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(9, 9, 9, .52);
  overflow-y: auto;
}

.live-chat-message {
  display: grid;
  gap: 2px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.live-chat-message span {
  color: var(--muted);
  font-size: 12px;
}

.live-chat-message p {
  overflow-wrap: anywhere;
}

.live-retouch-offers {
  margin: 18px 0;
}

.live-retouch-offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 18px;
}

.live-retouch-offer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 34px 30px 30px;
  border: 1px solid rgba(255, 184, 98, .18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 132, 53, .08), transparent 22%),
    #14100d;
  color: #fff7ef;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 18px 46px rgba(0, 0, 0, .24);
}

.live-retouch-offer-badge {
  align-self: center;
  margin-top: -46px;
  margin-bottom: 30px;
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffd991, #dc6b26);
  color: #271209;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 22px rgba(220, 107, 38, .4);
  white-space: nowrap;
}

.live-retouch-offer-card h2 {
  min-height: 64px;
  margin: 0 0 12px;
  color: #fff7ef;
  font-size: clamp(22px, 1.9vw, 30px);
  font-weight: 950;
  line-height: 1.04;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.live-retouch-offer-note {
  min-height: 22px;
  margin: 0 0 22px;
  color: rgba(255, 247, 239, .68);
  font-size: 15px;
  font-weight: 650;
}

.live-retouch-offer-list {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.live-retouch-offer-list li {
  position: relative;
  padding-left: 26px;
  color: rgba(255, 247, 239, .86);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.live-retouch-offer-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -.05em;
  color: #72ee91;
  font-weight: 950;
}

.live-retouch-offer-list li.is-disabled {
  color: rgba(220, 104, 104, .72);
}

.live-retouch-offer-list li.is-disabled::before {
  content: "×";
  color: #d76b6b;
}

.live-retouch-offer-extras {
  display: grid;
  gap: 10px;
  margin: auto 0 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 247, 239, .09);
}

.live-retouch-offer-extras p {
  margin: 0;
  color: rgba(255, 247, 239, .86);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
}

.live-retouch-offer-price {
  display: grid;
  grid-template-columns: minmax(76px, auto) minmax(0, 1fr);
  align-items: end;
  gap: 10px;
  min-height: 62px;
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 247, 239, .09);
}

.live-retouch-offer-price span {
  align-self: end;
  color: rgba(255, 247, 239, .88);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.live-retouch-offer-price div {
  display: grid;
  justify-items: end;
  gap: 4px;
  min-width: 0;
  align-self: end;
}

.live-retouch-offer-price del {
  color: rgba(255, 247, 239, .58);
  font-size: 14px;
  font-weight: 750;
}

.live-retouch-offer-price strong {
  color: #ff9b48;
  font-size: clamp(24px, 1.8vw, 30px);
  font-weight: 950;
  line-height: 1;
  text-shadow: 0 0 14px rgba(255, 155, 72, .42);
  white-space: nowrap;
}

.live-retouch-offer-card button {
  width: 100%;
  min-height: 56px;
  margin-top: 26px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #d98a37, #c65418);
  color: #fff7ef;
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(198, 84, 24, .32);
}

.live-retouch-offer-card button:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #eda047, #d76020);
}

.chat-moderation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.chat-moderation-actions button {
  min-height: 30px;
  padding: 0 10px;
  font-size: 12px;
}

.public-live-body {
  min-height: 100vh;
}

.public-live-shell {
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.public-live-layout {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
}

.public-live-gate {
  max-width: 520px;
}

.public-live-name-form {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.live-checkout-open {
  width: fit-content;
  min-height: 48px;
  margin-top: 14px;
  padding: 0 22px;
}

.payment-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: rgba(5, 5, 5, .78);
  backdrop-filter: blur(12px);
}

.payment-modal.is-open {
  display: flex;
}

.payment-dialog {
  position: relative;
  width: min(680px, calc(100vw - 20px));
  max-height: calc(100dvh - 20px);
  overflow: auto;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  background: #12110f;
  box-shadow: 0 32px 90px rgba(0, 0, 0, .48);
}

.payment-dialog h3 {
  display: none;
}

.payment-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff7ef;
  font-size: 22px;
  line-height: 1;
}

.payment-close:hover {
  transform: none;
}

.payment-body {
  display: block;
}

.payment-summary {
  display: none;
}

.payment-widget {
  border: 1px solid rgba(255, 214, 94, .22);
  border-radius: 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 0, rgba(217, 52, 42, .12), transparent 36%),
    #0d0c0b;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 18px 60px rgba(0,0,0,.28);
}

.payment-widget form.lt-form {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 5vw, 46px);
}

.payment-widget form.lt-form input[type="text"],
.payment-widget form.lt-form input[type="email"],
.payment-widget form.lt-form input:not([type]) {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  color: #fff7ef;
  font: 800 15px/1.2 Inter, system-ui, sans-serif;
  outline: none;
}

.payment-widget form.lt-form input::placeholder {
  color: rgba(255, 247, 239, .66);
}

.payment-widget form.lt-form input:focus {
  border-color: rgba(217, 52, 42, .72);
  box-shadow: 0 0 0 3px rgba(217, 52, 42, .16);
}

.payment-consents {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 2px 0 0;
}

.payment-consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: rgba(255, 247, 239, .78);
  font-size: 11px;
  line-height: 1.34;
  font-weight: 650;
  text-transform: none;
}

.payment-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 5px;
  accent-color: var(--red);
}

.payment-consent a {
  color: #ffb4ac;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.payment-widget form.lt-form button[type="submit"] {
  min-height: 58px;
  margin-top: 4px;
  border: 0;
  border-radius: 999px;
  background: var(--red);
  color: #fff7ef;
  font: 950 13px/1 Inter, system-ui, sans-serif;
  text-transform: uppercase;
  box-shadow: 0 18px 42px rgba(217, 52, 42, .34);
}

.live-tariff-details {
  margin: 16px 0 0;
}

.live-tariff-details summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
  user-select: none;
}

.live-tariff-details summary::marker {
  content: "";
}

.live-tariff-details[open] summary {
  background: rgba(255, 255, 255, .1);
}

.live-tariff-modules {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.live-tariff-module {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
    #11110f;
  background-size: 72px 72px;
}

.live-tariff-module-label {
  margin: 0;
  color: #ef2a25;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.live-tariff-module h3 {
  margin: 0;
  color: #f4f0e8;
  font-family: "Oswald", "Inter", sans-serif;
  font-size: 34px;
  line-height: 1.05;
  text-transform: uppercase;
}

.live-tariff-module ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.live-tariff-module li {
  position: relative;
  padding-left: 24px;
  color: rgba(244, 240, 232, .86);
  font-size: 16px;
  line-height: 1.45;
}

.live-tariff-module li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #b9ff20;
}

.live-tariff-gift {
  padding: 12px 14px;
  border-radius: 8px;
  background: linear-gradient(180deg, #e7322a, #b90f0d);
  color: #fff8ed;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

.student-form {
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
}

.compact-user-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.compact-user-form button {
  width: max-content;
}

.user-detail-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checkbox-line {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.checkbox-line input {
  width: auto;
}

.user-permissions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.user-permissions article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(247, 242, 234, .05);
}

.user-permissions span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.permission-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.course-edit-form {
  grid-template-columns: 1.2fr 1fr auto;
}

.lesson-form {
  grid-template-columns: 1.2fr .4fr 1fr;
}

.product-form,
.product-edit-form,
.offer-form,
.offer-edit-form,
.product-create-form,
.product-detail-form,
.offer-create-form,
.offer-detail-form,
.live-form {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-board,
.tariff-list {
  display: grid;
  gap: 14px;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .38fr);
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(23, 23, 22, .82);
}

.product-card-main,
.product-card-side,
.product-card-title,
.product-card-side > div,
.tariff-card,
.tariff-facts > div,
.checkout-strip > div {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.product-card-main {
  align-content: space-between;
}

.product-card-title h2 {
  font-size: 24px;
  line-height: 1.18;
  font-weight: 900;
}

.product-card-title p,
.tariff-price span,
.checkout-strip span,
.tariff-facts span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-card-meta span {
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(247, 242, 234, .045);
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
}

.product-card-meta b {
  margin-right: 4px;
  color: var(--ink);
}

.product-card-side {
  align-content: start;
}

.product-card-side strong,
.tariff-price strong {
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
}

.product-summary-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, .7fr));
  gap: 14px;
  margin: 0 0 16px;
}

.product-detail-title .inline-actions {
  margin-top: 14px;
}

.wide-field {
  grid-column: span 2;
}

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

.checkout-strip > div,
.tariff-facts > div {
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(247, 242, 234, .045);
}

.tariff-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10, 10, 9, .35);
}

.tariff-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.tariff-card h3 {
  font-size: 21px;
  line-height: 1.2;
  font-weight: 900;
}

.tariff-price {
  display: grid;
  gap: 6px;
  min-width: 150px;
  text-align: right;
}

.tariff-facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 10px;
}

.tariff-facts strong {
  overflow-wrap: anywhere;
}

.tariff-edit {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.tariff-edit summary {
  cursor: pointer;
  color: var(--lime);
  font-size: 13px;
  font-weight: 900;
}

.tariff-edit[open] summary {
  margin-bottom: 12px;
}

.live-block-form {
  grid-template-columns: 1.2fr .35fr .8fr 1.2fr;
}

.live-block-edit-form {
  grid-template-columns: 1.2fr .35fr .8fr 1.2fr;
  padding-top: 4px;
}

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

.obs-guide {
  display: grid;
  gap: 8px;
}

.admin-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.compact-head {
  margin-bottom: 12px;
}

.nested-tool {
  margin: -6px 0 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.nested-tool h3,
.module-admin h3 {
  margin: 18px 0 10px;
  font-size: 16px;
}

.module-admin {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.lesson-admin {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(247, 242, 234, .035);
}

.upload-form {
  grid-template-columns: 1fr auto;
}

.upload-progress {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .72);
}

.upload-progress[hidden] {
  display: none;
}

.upload-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
}

.upload-progress-head strong {
  min-width: 44px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.upload-progress-track {
  height: 10px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #f2eadf;
}

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

.danger-form {
  margin-top: 10px;
}

.order-filters {
  align-items: end;
}

.newsletter-form {
  grid-template-columns: minmax(0, 1fr);
}

.empty-state,
.list > p,
tbody td[colspan] {
  min-height: 120px;
  padding: 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: rgba(247, 242, 234, .035);
  color: var(--muted);
  text-align: center;
  font-weight: 760;
}

@media (max-width: 1060px) {
  .app-shell.sidebar-collapsed,
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar-collapsed .sidebar,
  .sidebar {
    align-items: stretch;
    position: relative;
    height: auto;
    padding: 22px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .sidebar-collapsed .sidebar-head {
    display: flex;
    justify-items: stretch;
  }

  .sidebar-collapsed .brand-text {
    display: inline;
  }

  .sidebar-collapsed .nav-group,
  .nav-group {
    width: auto;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .sidebar-collapsed .nav-label,
  .sidebar-collapsed .sidebar-bottom,
  .sidebar-collapsed .side-card,
  .nav-label,
  .sidebar-bottom,
  .side-card {
    display: none;
  }

  .sidebar-collapsed .nav-item,
  .nav-item {
    justify-content: center;
    padding: 0 10px;
  }

  .sidebar-collapsed .nav-text,
  .nav-item span:last-child {
    display: none;
  }

  .sidebar-collapsed .nav-item.active {
    box-shadow: inset 3px 0 0 var(--red);
  }

  .app-shell.sidebar-collapsed + .credit-promo,
  .credit-promo {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: min(320px, calc(100vw - 24px));
  }

  .metrics,
  .student-overview,
  .order-summary,
  .live-layout,
  .login-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .student-form,
  .product-form,
  .product-edit-form,
  .offer-form,
  .offer-edit-form,
  .product-create-form,
  .product-detail-form,
  .offer-create-form,
  .offer-detail-form,
  .live-form,
  .live-block-form,
  .live-recording-form,
  .user-detail-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card,
  .product-summary-grid,
  .checkout-strip,
  .tariff-facts {
    grid-template-columns: 1fr;
  }

  .tariff-price {
    text-align: left;
  }

  .lesson-player-controls {
    grid-template-columns: 42px auto minmax(140px, 1fr) 84px;
  }

  .player-volume,
  [data-player-mute],
  [data-player-fullscreen] {
    display: none;
  }
}

@media (max-width: 760px) {
  .main {
    padding: 14px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    margin: -14px -14px 14px;
    padding: 10px 14px;
  }

  .crumb {
    width: 100%;
    flex-wrap: wrap;
  }

  .crumb a,
  .crumb-current {
    max-width: min(100%, 280px);
  }

  .top-actions,
  .top-actions .button,
  .top-actions button {
    width: 100%;
  }

  .sidebar {
    gap: 12px;
    padding: 12px;
  }

  .brand small {
    display: none;
  }

  .nav-group {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .nav-item {
    min-height: 38px;
    padding: 0;
  }

  .hero h1,
  .page-title h1 {
    font-size: 30px;
    line-height: 1.14;
  }

  .account-hero {
    min-height: 140px;
    padding-right: 240px;
  }

  .account-channel-widget {
    top: 54px;
  }

  .metrics,
  .student-overview,
  .order-summary,
  .course-actions-panel,
  .release-item,
  .course-tile-grid,
  .live-layout,
  .login-wrap,
  .form.inline,
  .student-form,
  .compact-user-form,
  .course-edit-form,
  .lesson-form,
  .upload-form,
  .product-form,
  .product-edit-form,
  .offer-form,
  .offer-edit-form,
  .product-create-form,
  .product-detail-form,
  .offer-create-form,
  .offer-detail-form,
  .live-form,
  .live-block-form,
  .live-recording-form,
  .user-detail-form,
  .newsletter-media-grid,
  .spam-check,
  .user-permissions {
    grid-template-columns: 1fr;
  }

  .row-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .live-row-points {
    grid-template-columns: 1fr;
  }

  .live-retouch-offers-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .live-retouch-offer-card {
    padding: 30px 22px 24px;
  }

  .live-retouch-offer-card h2 {
    min-height: auto;
  }

  .live-retouch-offer-price {
    align-items: flex-start;
    grid-template-columns: 1fr;
    justify-items: start;
    min-height: 0;
  }

  .live-retouch-offer-price div {
    justify-items: start;
  }

  .wide-field {
    grid-column: 1;
  }

  .tariff-card header {
    display: grid;
  }

  .live-row-card .button {
    align-self: stretch;
    margin-bottom: 0;
  }

  .live-ended-actions {
    align-self: stretch;
    width: 100%;
    min-width: 0;
    margin-bottom: 0;
  }

  .live-ended-badge {
    width: 100%;
    min-width: 0;
  }

  .lesson-step-nav {
    grid-template-columns: 1fr;
  }

  .lesson-step-card.next {
    text-align: left;
  }

  .admin-section-head {
    flex-direction: column;
  }

  .row-card .button,
  .inline-actions .button,
  .inline-actions button,
  .form button {
    width: 100%;
  }

  .live-chat {
    position: static;
  }

  .recording-timer {
    align-items: center;
    flex-direction: column;
  }

  .recording-timer-value {
    text-align: center;
  }

  .live-main {
    display: contents;
  }

  .live-player {
    order: 1;
  }

  .live-retouch-offers {
    order: 2;
  }

  .live-chat {
    order: 3;
  }

  .live-program-blocks {
    order: 4;
  }

  .live-sales-blocks {
    order: 5;
  }

  .login-poster {
    min-height: 360px;
    padding: 20px;
    box-shadow: none;
  }

  .login-form {
    box-shadow: none;
  }

  .lesson-player-controls {
    grid-template-columns: 42px 1fr 76px;
    gap: 8px;
  }

  .player-time {
    justify-content: flex-end;
    min-width: 0;
  }

  .player-seek {
    grid-column: 1 / -1;
  }

  .player-icon-button {
    width: 40px;
    min-width: 40px;
  }
}
.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
}

.language-switch button {
  min-width: 38px;
  min-height: 30px;
  padding: 4px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.language-switch button[aria-pressed="true"] {
  background: #f3ee16;
  color: #080b0a;
}
