@font-face {
  font-family: Inter;
  src: url("../fonts/inter-400.ttf");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("../fonts/inter-500.ttf");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("../fonts/inter-600.ttf");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("../fonts/inter-700.ttf");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("../fonts/inter-800.ttf");
  font-weight: 800;
  font-display: swap;
}
:root {
  --ink: #131016;
  --muted: #716b73;
  --soft: #f6f4f2;
  --paper: #fff;
  --line: #e8e3e6;
  --rose: #c9457f;
  --coral: #dc6a6d;
  --orange: #ef8c4c;
  --gradient: linear-gradient(
    110deg,
    var(--rose) 0%,
    var(--coral) 50%,
    var(--orange) 100%
  );
  --green: #276451;
  --mint: #e6f4ed;
  --radius: 18px;
  --shadow: 0 12px 36px #26162408;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.14;
}
h1 {
  font-size: clamp(34px, 4.1vw, 52px);
}
h2 {
  font-size: 28px;
}
h3 {
  font-size: 20px;
}
p {
  color: var(--muted);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
summary {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
  object-fit: cover;
}
svg {
  flex-shrink: 0;
}
a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[contenteditable]:focus-visible {
  outline: 3px solid #df9954;
  outline-offset: 4px;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
[hidden] {
  display: none !important;
}
.shell {
  width: min(1180px, calc(100% - 80px));
  margin-inline: auto;
}
.icon {
  vertical-align: middle;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.5;
  color: #8b6a79;
}
.gradient-text {
  color: var(--rose);
  background: var(--gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.muted {
  color: var(--muted);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}
.text-link:hover {
  color: var(--rose);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #fff;
  background: var(--gradient);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  box-shadow: 0 5px 18px #c9457f12;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
  white-space: normal;
  text-align: center;
}
.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 7px 24px #c9457f25;
}
.button--small {
  min-height: 44px;
  padding: 11px 20px;
  font-size: 13px;
}
.button--secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
  box-shadow: none;
}
.button--completed {
  color: var(--green);
  background: var(--mint);
  box-shadow: none;
}
.button .icon {
  width: 18px;
  height: 18px;
}
.full-width {
  width: 100%;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: 8px;
  padding: 12px;
  background: white;
  border: 2px solid var(--rose);
  z-index: 999;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: none;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--soft);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  white-space: nowrap;
}
.badge .icon {
  width: 12px;
  height: 12px;
}
.badge--locked {
  background: #f4f2f0;
  color: var(--muted);
}
.badge--green {
  background: var(--mint);
  color: var(--green);
}
.badge--large {
  font-size: 12px;
  padding: 8px 12px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.notice {
  background: var(--mint);
  color: var(--green);
  padding: 15px 20px;
  border: 1px solid #d2e7dc;
  border-radius: 12px;
  font-size: 13px;
}
.notice--error {
  background: #fff1f0;
  border-color: #e9c5c1;
  color: #983f3b;
}
.notice a {
  text-decoration: underline;
}
.notifications {
  padding-top: 20px;
  display: grid;
  gap: 10px;
}
.circle-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  background: var(--soft);
  border-radius: 14px;
  margin-bottom: 20px;
}
.circle-icon .icon {
  width: 24px;
  height: 24px;
}
.field-hint {
  font-size: 12px;
  line-height: 1.6;
  margin-top: 8px;
  color: var(--muted);
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 28px 0;
}
.text-button {
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 12px;
  padding: 8px;
  text-decoration: underline;
}
.danger {
  color: #983f3b;
}
/* Quiet shared INSIDE chrome. */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.brand img {
  width: 176px;
  height: auto;
}
.brand > span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 20px;
}
.header-inner nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-link {
  font-size: 13px;
  font-weight: 500;
  display: flex;
  gap: 7px;
  align-items: center;
}
.nav-link.active {
  color: var(--rose);
}
.nav-link .icon {
  width: 15px;
  height: 15px;
}
.account-menu {
  position: relative;
  font-size: 12px;
}
.account-menu summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
}
.account-menu summary::-webkit-details-marker {
  display: none;
}
.account-menu summary > .icon {
  width: 12px;
  height: 12px;
}
.avatar-letter {
  display: grid;
  place-items: center;
  background: #f2e8ed;
  color: #995875;
  font-weight: 700;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex: none;
}
.account-menu > div {
  position: absolute;
  right: 0;
  top: 50px;
  z-index: 40;
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 12px;
  min-width: 235px;
}
.account-menu > div > span {
  display: block;
  color: var(--muted);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.account-menu button {
  display: flex;
  gap: 10px;
  align-items: center;
  background: none;
  border: 0;
  padding: 14px 0 0;
  font-size: 13px;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
  padding-bottom: 30px;
  font-size: 11px;
  color: var(--muted);
  margin-top: 85px;
}
.site-footer a {
  display: flex;
  align-items: center;
  gap: 7px;
}
.site-footer .icon {
  width: 13px;
  height: 13px;
}
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 28px;
}
.breadcrumb .icon {
  width: 15px;
  height: 15px;
}
/* Entry and passwordless authentication. */
.login-page {
  background: #f7f6f4;
}
.login-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}
.login-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 38px;
  width: min(444px, 100%);
  box-shadow: 0 16px 44px #21152605;
}
.login-logo {
  margin-bottom: 28px;
  border-radius: 12px;
}
.login-card > .eyebrow {
  margin-bottom: 12px;
}
.login-card h1 {
  font-size: 32px;
}
.login-intro {
  font-size: 14px;
  line-height: 1.75;
  margin-top: 15px;
  margin-bottom: 28px;
}
.login-card .notice {
  margin-bottom: 24px;
}
.login-card input {
  height: 52px;
  margin-bottom: 20px;
}
.login-safe {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 11px;
}
.login-safe .icon {
  width: 12px;
  height: 12px;
}
.login-example {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
}
.login-example a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-weight: 600;
}
.login-example .icon {
  width: 14px;
  height: 14px;
}
.login-foot {
  margin-top: 22px;
  font-size: 11px;
}
.login-foot a {
  color: var(--ink);
}
.mail-confirmation {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  background: var(--soft);
  border-radius: 12px;
  margin-bottom: 24px;
}
.mail-confirmation > .icon {
  color: var(--rose);
  margin-top: 4px;
}
.mail-confirmation strong {
  font-size: 13px;
}
.mail-confirmation p {
  font-size: 12px;
  margin-top: 5px;
}
/* Overview and course covers. */
.page-hero {
  background: var(--soft);
  padding: 52px 0 56px;
}
.page-hero h1 {
  margin-top: 12px;
}
.page-hero p:not(.eyebrow) {
  margin-top: 16px;
  font-size: 15px;
}
.dashboard-content {
  padding-top: 46px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}
.section-heading h2 {
  margin-top: 8px;
}
.section-heading > p {
  font-size: 13px;
}
.count {
  display: inline-grid;
  place-items: center;
  min-width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--soft);
  font-size: 12px;
  font-weight: 600;
  vertical-align: middle;
  margin-left: 12px;
  letter-spacing: 0;
}
.course-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.course-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card-cover-link {
  display: block;
}
.course-cover {
  position: relative;
  aspect-ratio: 2.05;
  padding: 28px 32px;
  background: #f2eeeb;
  overflow: hidden;
  isolation: isolate;
}
.cover-label {
  display: flex;
  gap: 10px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.cover-label > span {
  font-weight: 400;
  color: #bcb1b4;
}
.cover-title {
  font-weight: 800;
  font-size: clamp(30px, 3.4vw, 43px);
  letter-spacing: -0.055em;
  line-height: 1.06;
  margin-top: 19px;
  position: relative;
  z-index: 1;
}
.cover-title > span {
  color: #b7657c;
}
.cover-bottom {
  position: absolute;
  left: 32px;
  bottom: 23px;
  right: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  color: var(--muted);
}
.cover-symbol {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
}
.cover-decoration {
  position: absolute;
  right: 48px;
  top: 63px;
  transform: rotate(-12deg);
  color: #ddd1ce;
  z-index: -1;
}
.cover-decoration .icon {
  width: 115px;
  height: 115px;
  stroke-width: 0.65;
}
.course-cover--masterclass {
  background: #f0edeb;
}
.course-cover--masterclass .cover-title > span {
  color: #947778;
}
.course-cover--masterclass .cover-decoration {
  transform: rotate(12deg);
  color: #d8cdca;
}
.course-cover-image {
  width: 100%;
  aspect-ratio: 2.05;
  object-fit: cover;
}
.course-card-body {
  padding: 26px 28px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.card-kicker {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.13em;
  color: var(--muted);
  min-height: 24px;
}
.course-card h2 {
  font-size: 23px;
  margin-top: 11px;
}
.course-card-body > p {
  font-size: 13px;
  margin-top: 12px;
  line-height: 1.8;
}
.card-progress {
  width: 100%;
  margin-top: 25px;
  margin-bottom: 20px;
}
.progress-copy {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 10px;
}
.progress-copy b {
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
}
.progress {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: #eee9e7;
  display: block;
  width: 100%;
  height: 5px;
  border-radius: 5px;
  overflow: hidden;
}
.progress::-webkit-progress-bar {
  background: #eee9e7;
  border-radius: 5px;
}
.progress::-webkit-progress-value {
  background: var(--gradient);
  border-radius: 5px;
}
.progress::-moz-progress-bar {
  background: var(--gradient);
  border-radius: 5px;
}
.price {
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.price s {
  font-size: 14px;
  color: var(--muted);
}
.price strong {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.045em;
}
.price small {
  font-size: 10px;
  color: var(--muted);
}
.card-purchase {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  margin-top: auto;
  padding-top: 30px;
  align-items: center;
}
.card-purchase .text-link {
  font-size: 12px;
}
.discover-section {
  margin-top: 58px;
}
.resume-strip {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 23px 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 44px;
  background: #fff;
}
.resume-strip h2 {
  font-size: 19px;
  margin-top: 5px;
}
.resume-strip p:not(.eyebrow) {
  font-size: 12px;
  margin-top: 4px;
}
.resume-strip .button {
  margin-left: auto;
}
.resume-strip-icon {
  background: #f9edf1;
  color: var(--rose);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
}
.empty-state {
  padding: 40px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  background: #fdfcfc;
  text-align: center;
}
.empty-icon {
  display: block;
  color: var(--rose);
  margin-bottom: 16px;
}
.empty-state p {
  margin-top: 12px;
  font-size: 14px;
}
/* Course introduction and curriculum. */
.course-hero {
  background: var(--soft);
  padding: 30px 0 50px;
}
.course-hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.course-hero h1 {
  margin-top: 10px;
}
.hero-summary {
  max-width: 700px;
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.75;
}
.course-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 25px;
  font-size: 12px;
}
.course-meta > span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
}
.course-meta .icon {
  width: 15px;
  height: 15px;
}
.author-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
}
.author-chip img {
  border-radius: 50%;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}
.hero-actions > small {
  color: var(--muted);
  font-size: 11px;
}
.hero-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.hero-price s {
  font-size: 15px;
  color: var(--muted);
}
.hero-price b {
  font-size: 24px;
  letter-spacing: -0.04em;
}
.hero-price small {
  font-size: 10px;
  color: var(--muted);
}
.hero-monogram {
  display: grid;
  place-items: center;
  align-self: center;
  flex: none;
  width: 160px;
  height: 160px;
  color: #b88991;
  background: #ece5e1;
  border: 1px solid #e7ded9;
  border-radius: 36px;
  transform: rotate(-7deg);
  margin-right: 20px;
}
.hero-monogram .icon {
  height: 75px;
  width: 75px;
  stroke-width: 0.9;
}
.course-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 46px;
  padding-top: 40px;
  align-items: start;
}
.tabs {
  display: flex;
  gap: 30px;
  align-items: center;
  height: 44px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
  font-size: 12px;
  color: var(--muted);
}
.tabs > .active {
  color: var(--ink);
  border-bottom: 2px solid var(--rose);
  align-self: stretch;
  display: flex;
  align-items: center;
}
.tabs a {
  padding-bottom: 2px;
}
.course-description {
  margin-bottom: 25px;
  font-size: 14px;
}
.modules {
  display: grid;
  gap: 17px;
}
.module {
  border: 0;
}
.module summary {
  background: var(--soft);
  padding: 19px 20px;
  border-radius: 12px;
  display: flex;
  gap: 15px;
  align-items: center;
  list-style: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}
.module summary::-webkit-details-marker {
  display: none;
}
.module summary > span:nth-child(2) {
  flex: 1;
}
.module summary small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 3px;
}
.module summary > .icon {
  width: 17px;
  height: 17px;
  color: var(--muted);
  transition: transform 0.2s;
}
.module[open] summary > .icon {
  transform: rotate(180deg);
}
.module-number {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: #eae7e4;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
  flex: none;
  color: #837780;
}
.module-number.complete {
  background: var(--mint);
  color: var(--green);
}
.module-lessons {
  padding-top: 12px;
  display: grid;
  gap: 9px;
}
.lesson-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.15s;
}
.lesson-row:hover {
  border-color: #bc929f;
}
.lesson-row > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.lesson-row b {
  font-size: 13px;
  line-height: 1.5;
  display: block;
}
.lesson-row small {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 10px;
  color: var(--muted);
  margin-top: 6px;
}
.lesson-row small .icon {
  width: 12px;
  height: 12px;
}
.lesson-row > .icon {
  width: 16px;
  height: 16px;
  color: #a1949c;
}
.lesson-thumb {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 96px;
  aspect-ratio: 16/9;
  background: #eee9e5;
  border-radius: 7px;
  overflow: hidden;
}
.lesson-thumb > img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lesson-thumb > span {
  position: relative;
  background: #fffe;
  border-radius: 50%;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--ink);
}
.lesson-thumb > span > .icon {
  width: 13px;
  height: 13px;
}
.lesson-thumb.is-complete > span {
  color: #fff;
  background: #508b72;
}
.lesson-thumb.is-complete:after {
  content: "";
  position: absolute;
  inset: 0;
  background: #62987a22;
  pointer-events: none;
}
.completed-text {
  color: var(--green) !important;
  font-size: 11px;
  font-weight: 500;
}
.lesson-row .completed-text {
  margin-left: 8px;
}
.module-empty {
  font-size: 12px;
  padding: 16px 22px;
}
.locked-module {
  background: var(--soft);
  padding: 21px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.locked-module h2 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  flex: 1;
}
.locked-module > .icon {
  width: 15px;
  height: 15px;
  color: #9b9097;
}
.course-aside {
  padding-top: 4px;
}
.course-aside > h2 {
  font-size: 15px;
  letter-spacing: -0.02em;
  line-height: 1.5;
  margin-bottom: 17px;
}
.continue-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: white;
}
.continue-image {
  position: relative;
  aspect-ratio: 16/9;
}
.continue-image > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.play-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  background: var(--gradient);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 3px 20px #0002;
}
.play-circle > .icon {
  width: 19px;
  height: 19px;
}
.continue-card > div:last-child {
  padding: 20px;
}
.continue-card small {
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.continue-card h3 {
  font-size: 16px;
  line-height: 1.4;
  margin-top: 6px;
  letter-spacing: -0.025em;
}
.continue-card > div > span:not(.play-circle) {
  font-size: 11px;
  display: block;
  color: var(--muted);
  margin-top: 7px;
}
.progress-panel {
  margin-top: 19px;
  padding: 22px;
}
.progress-panel h3 {
  font-size: 14px;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.progress-panel > p {
  margin-top: 14px;
  font-size: 11px;
}
.instructor-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 27px;
}
.instructor-mini > img {
  border-radius: 50%;
}
.instructor-mini > span {
  display: grid;
  gap: 4px;
  flex: 1;
}
.instructor-mini small {
  font-size: 8px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.instructor-mini b {
  font-size: 11px;
}
.instructor-mini > .icon {
  width: 15px;
  height: 15px;
  color: var(--muted);
}
.access-panel {
  padding: 25px;
}
.access-panel h2 {
  font-size: 23px;
}
.access-panel > p:not(.field-hint) {
  font-size: 13px;
  margin-top: 15px;
  line-height: 1.75;
}
.access-panel .price {
  margin-top: 24px;
}
.access-panel .price strong {
  font-size: 34px;
}
.access-panel > .button,
.access-panel > .badge {
  margin-top: 24px;
}
.included-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 13px;
  font-size: 12px;
}
.included-list li {
  display: flex;
  align-items: center;
  gap: 9px;
}
.included-list .icon {
  width: 18px;
  height: 18px;
  padding: 2px;
  background: var(--mint);
  color: var(--green);
  border-radius: 4px;
}
.access-panel > .field-hint a {
  text-decoration: underline;
}
/* Focused lesson player and navigation. */
.lesson-shell {
  display: grid;
  grid-template-columns: 278px minmax(0, 1fr);
  gap: 46px;
  padding-top: 30px;
}
.lesson-nav {
  border-right: 1px solid var(--line);
  padding-right: 26px;
}
.lesson-nav .breadcrumb {
  margin-bottom: 20px;
}
.lesson-nav > h2 {
  font-size: 20px;
  margin-bottom: 20px;
}
.lesson-nav-list {
  margin-top: 26px;
}
.lesson-nav-list > summary {
  display: none;
}
.nav-module {
  margin-bottom: 22px;
}
.nav-module > h3 {
  font-size: 11px;
  letter-spacing: -0.005em;
  font-weight: 600;
  display: flex;
  gap: 9px;
  align-items: baseline;
  line-height: 1.5;
  color: #5d545e;
  margin-bottom: 10px;
}
.nav-module h3 > span {
  font-size: 9px;
  color: #948890;
}
.nav-lesson {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 10px;
  margin: 3px -10px;
  border-radius: 9px;
  font-size: 11px;
  line-height: 1.6;
  font-weight: 500;
}
.nav-lesson.active {
  background: #f7edef;
  color: #a64f73;
}
.nav-lesson small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  font-weight: 400;
  margin-top: 3px;
}
.nav-status {
  padding-top: 2px;
}
.nav-status .icon {
  width: 13px;
  height: 13px;
  color: #b4a6ae;
}
.nav-status.complete .icon {
  color: var(--green);
}
.nav-help {
  font-size: 10px;
  margin-top: 10px;
}
.nav-help .icon {
  width: 12px;
  height: 12px;
}
.lesson-main {
  min-width: 0;
}
.preview-notice {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
  background: var(--soft);
  border-radius: 9px;
  padding: 11px 15px;
  margin-bottom: 15px;
}
.preview-notice > .icon {
  width: 14px;
  height: 14px;
}
.preview-notice > a {
  margin-left: auto;
  color: var(--ink);
  font-weight: 600;
}
.preview-notice a .icon {
  width: 13px;
  height: 13px;
}
.video-player {
  aspect-ratio: 16/9;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  background: #17151a;
}
.video-player iframe,
.video-player video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  position: absolute;
  inset: 0;
}
.lesson-heading {
  margin-top: 30px;
}
.lesson-heading h1 {
  font-size: 32px;
  line-height: 1.22;
  margin-top: 10px;
}
.lesson-meta {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 11px;
  margin-top: 13px;
}
.lesson-meta > span {
  display: flex;
  gap: 5px;
  align-items: center;
}
.lesson-meta .icon {
  width: 13px;
  height: 13px;
}
.prose {
  line-height: 1.9;
  overflow-wrap: anywhere;
}
.prose p {
  margin: 0 0 17px;
}
.prose h2 {
  font-size: 24px;
  margin: 28px 0 14px;
}
.prose h3 {
  font-size: 19px;
  margin: 24px 0 12px;
}
.prose a {
  color: #ad4e75;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose ul,
.prose ol {
  padding-left: 22px;
  color: var(--muted);
}
.prose li {
  margin-bottom: 8px;
}
.prose strong {
  color: var(--ink);
  font-weight: 600;
}
.prose pre {
  padding: 23px;
  background: var(--soft);
  font:
    13px/1.85 Inter,
    Arial,
    sans-serif;
  white-space: pre-wrap;
  border-radius: 12px;
  border: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.prose blockquote {
  margin: 20px 0;
  border-left: 3px solid var(--rose);
  padding: 10px 20px;
  background: #fbf9f8;
}
.lesson-body {
  font-size: 14px;
  margin-top: 28px;
}
.lesson-resources {
  margin-top: 34px;
}
.lesson-resources h2 {
  font-size: 18px;
  margin-bottom: 16px;
}
.resource-row {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 11px;
  margin-top: 9px;
}
.resource-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 9px;
  background: var(--soft);
  color: #9b6d7e;
}
.resource-icon > .icon {
  height: 17px;
  width: 17px;
}
.resource-row > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.resource-row b {
  display: block;
  font-size: 12px;
}
.resource-row small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
}
.resource-row > .icon {
  width: 16px;
  height: 16px;
}
.feedback-note {
  background: var(--soft);
  padding: 22px;
  border-radius: 12px;
  margin-top: 28px;
}
.feedback-note h3 {
  font-size: 15px;
}
.feedback-note p {
  font-size: 12px;
  margin-top: 9px;
}
.feedback-note a {
  text-decoration: underline;
}
.lesson-complete {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.lesson-complete h2 {
  font-size: 18px;
}
.lesson-complete p {
  font-size: 12px;
  margin-top: 5px;
}
.lesson-complete .button {
  font-size: 12px;
  min-height: 44px;
  padding: 12px 20px;
}
.lesson-pagination {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 25px;
}
.lesson-pagination > a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  max-width: 46%;
  line-height: 1.5;
}
.lesson-pagination > a:last-child {
  text-align: right;
}
.lesson-pagination small {
  display: block;
  font-size: 8px;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 6px;
}
.lesson-pagination .icon {
  width: 16px;
  height: 16px;
}
/* Profile, preview, and forms. */
.author-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 66px;
  padding-top: 60px;
  max-width: 960px;
  align-items: center;
}
.author-portrait {
  border-radius: 28px;
  aspect-ratio: 1;
}
.author-layout h2 {
  margin: 13px 0 20px;
  font-size: 32px;
}
.author-layout .prose {
  font-size: 14px;
}
.author-courses {
  padding-top: 65px;
}
.example-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 30px;
  padding-top: 48px;
}
.example-layout h2 {
  margin-bottom: 20px;
}
.example-layout .prose {
  font-size: 14px;
}
.example-layout .eyebrow {
  margin-bottom: 12px;
}
.example-layout aside .button {
  margin-top: 30px;
}
.example-lesson {
  display: flex;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  margin-top: 14px;
}
.example-lesson > div {
  flex: 1;
}
.example-lesson b {
  font-size: 12px;
}
.example-lesson small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.example-layout .field-hint {
  margin-top: 22px;
}
.error-page {
  padding-block: 100px;
}
.error-page h1 {
  margin: 16px 0;
}
.error-page .button {
  margin-top: 24px;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
  margin-top: 20px;
}
input:not([type="checkbox"], [type="radio"]),
select,
textarea {
  border: 1px solid #ddd7dc;
  border-radius: 9px;
  padding: 11px 13px;
  color: var(--ink);
  background: white;
  width: 100%;
  min-width: 0;
  font-size: 13px;
  line-height: 1.6;
}
input::placeholder,
textarea::placeholder {
  color: #a99da5;
}
textarea {
  resize: vertical;
  min-height: 100px;
}
select {
  min-height: 44px;
}
input[type="file"] {
  font-size: 11px !important;
  padding: 10px !important;
}
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--rose);
  width: 16px;
  height: 16px;
  flex: none;
}
.checkbox-label {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 500;
}
.form-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.inline-form {
  display: flex;
  gap: 12px;
  align-items: center;
}
.inline-form .button {
  flex: none;
}
.admin-form > .button {
  margin-top: 25px;
}
/* Plain, direct management. */
.admin-page {
  background: #faf9f8;
}
.admin-shell {
  padding-top: 28px;
}
.admin-nav {
  display: flex;
  gap: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 35px;
}
.admin-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.admin-nav .icon {
  width: 16px;
  height: 16px;
}
.admin-nav a.active {
  color: var(--rose);
}
.admin-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 28px;
}
.admin-heading .eyebrow {
  margin-bottom: 10px;
}
.admin-heading h1 {
  font-size: 34px;
  line-height: 1.2;
}
.admin-heading p:not(.eyebrow) {
  font-size: 13px;
  margin-top: 12px;
}
.admin-course-list {
  display: grid;
  gap: 14px;
}
.admin-course-row {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 23px 25px;
}
.admin-course-symbol {
  background: var(--soft);
  width: 54px;
  height: 54px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #9b6d7e;
}
.admin-course-row > span:nth-child(2) {
  flex: 1;
}
.admin-course-row h2 {
  font-size: 19px;
  line-height: 1.3;
  margin-bottom: 8px;
}
.admin-course-row small {
  font-size: 11px;
  color: var(--muted);
}
.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 25px;
  align-items: start;
}
.admin-grid .panel h2,
.admin-resources > h2 {
  font-size: 20px;
  margin-bottom: 12px;
}
.admin-grid aside > .button,
.admin-grid aside > form > .button {
  margin-top: 24px;
}
.instructor-fixed {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  margin-top: 25px;
  padding-top: 24px;
}
.instructor-fixed img {
  border-radius: 50%;
}
.instructor-fixed span {
  display: grid;
  gap: 3px;
}
.instructor-fixed small {
  font-size: 8px;
  letter-spacing: 0.13em;
  color: var(--muted);
}
.instructor-fixed b {
  font-size: 11px;
}
.admin-content {
  margin-top: 50px;
}
.admin-module {
  margin-bottom: 16px;
  padding: 22px 25px;
}
.admin-module-header {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 15px;
}
.admin-module-header h3 {
  font-size: 16px;
  flex: 1;
  line-height: 1.4;
}
.admin-module-header .text-link {
  font-size: 11px;
}
.admin-module-header .icon-button {
  width: 25px;
}
.icon-button {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  width: 28px;
  height: 28px;
  color: var(--muted);
  font-size: 14px;
}
.admin-module-header > form {
  display: flex;
  gap: 4px;
}
.admin-lesson-row {
  display: flex;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 13px 0;
  gap: 15px;
}
.admin-lesson-row > a {
  display: flex;
  gap: 12px;
  align-items: center;
  flex: 1;
  min-width: 0;
}
.admin-lesson-row b {
  font-weight: 500;
  font-size: 12px;
  flex: 1;
}
.admin-lesson-row a > .icon {
  width: 15px;
  height: 15px;
  color: var(--muted);
}
.admin-lesson-row small {
  font-size: 10px;
  color: var(--muted);
}
.admin-lesson-row form {
  display: flex;
  gap: 4px;
}
.module-edit {
  margin-top: 10px;
  font-size: 11px;
  color: var(--muted);
}
.module-edit summary {
  cursor: pointer;
}
.module-edit form {
  max-width: 560px;
}
.module-edit .button {
  margin-top: 10px;
}
.add-module > label {
  margin-top: 0;
}
.media-editor {
  background: #f4f2f0;
  border-color: #e8e3df;
}
.media-editor-heading {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-bottom: 22px;
}
.media-editor-heading > .icon {
  width: 28px;
  height: 28px;
  color: #a3939d;
}
.media-editor-heading h2 {
  font-size: 18px !important;
  margin-bottom: 5px !important;
}
.media-editor-heading p {
  font-size: 12px;
}
.media-options {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  background: #fff;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.media-options label {
  display: flex;
  gap: 7px;
  align-items: center;
  margin: 0;
  font-size: 12px;
  font-weight: 500;
}
.lesson-editor-body {
  margin-top: 22px;
}
.lesson-editor-body > label {
  margin-top: 0;
}
.title-input {
  font-size: 22px !important;
  font-weight: 700;
  letter-spacing: -0.035em;
  padding: 12px !important;
}
.rich-editor {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.editor-toolbar {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  background: #faf9f8;
  padding: 8px;
  border-bottom: 1px solid var(--line);
}
.editor-toolbar button {
  padding: 5px 9px;
  border: 0;
  background: none;
  font-size: 11px;
  border-radius: 4px;
}
.editor-toolbar button:hover {
  background: #eee8ec;
}
.editor-content {
  min-height: 220px;
  padding: 18px;
  font-size: 14px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
.editor-content p {
  margin-bottom: 14px;
  color: var(--ink);
}
.editor-content h2 {
  font-size: 22px;
  margin: 20px 0 12px;
}
.editor-content pre {
  white-space: pre-wrap;
  background: var(--soft);
  padding: 15px;
  font-size: 12px;
}
.editor-content a {
  color: var(--rose);
  text-decoration: underline;
}
.rich-editor > textarea {
  display: block;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  min-height: 160px;
}
.js-editor .editor-content {
  display: block;
}
.js-editor > textarea {
  display: none;
}
.rich-editor:not(.js-editor) .editor-content,
.rich-editor:not(.js-editor) .editor-toolbar {
  display: none;
}
.publication-checkbox {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 24px;
}
.upload-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 28px 20px;
  border: 1px dashed #cfc3ca;
  border-radius: 12px;
  background: #ffffff80;
  cursor: pointer;
  font-weight: 400;
}
.upload-zone > .icon {
  width: 27px;
  height: 27px;
  color: var(--rose);
}
.upload-zone b {
  font-size: 13px;
}
.upload-zone span {
  font-size: 10px;
  color: var(--muted);
}
.upload-zone input {
  max-width: 350px;
  background: white;
}
.admin-resources {
  margin-top: 28px;
}
.admin-resources > p {
  font-size: 13px;
}
.admin-resources form > .button {
  margin-top: 24px;
}
.admin-resource-row {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  font-size: 12px;
}
.admin-resource-row > span {
  display: flex;
  gap: 10px;
  align-items: center;
}
.admin-resource-row .icon {
  width: 16px;
  height: 16px;
}
.upload-filter {
  max-width: 550px;
  margin-bottom: 25px;
}
.upload-filter > label {
  margin-top: 0;
}
.upload-form {
  margin-bottom: 30px;
}
.upload-form .upload-zone {
  margin: 0 0 18px;
}
.uploads-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.upload-card {
  padding: 18px;
  min-width: 0;
}
.upload-preview {
  height: 145px;
  display: grid;
  place-items: center;
  background: var(--soft);
  border-radius: 9px;
  overflow: hidden;
  margin-bottom: 18px;
}
.upload-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.upload-preview .icon {
  width: 36px;
  height: 36px;
  color: #b099a6;
}
.upload-card h2 {
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  letter-spacing: -0.01em;
}
.upload-card p {
  font-size: 11px;
  margin: 8px 0 12px;
}
.upload-card .text-link {
  font-size: 11px;
}
.new-user {
  margin-bottom: 25px;
  padding: 20px 25px;
}
.new-user summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  list-style: none;
  display: flex;
  gap: 10px;
  align-items: center;
}
.new-user form > .button {
  margin-top: 22px;
}
.user-list {
  padding: 8px 25px;
}
.user-row {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.user-row:last-child {
  border: 0;
}
.user-row > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.user-row b {
  font-size: 13px;
  display: block;
}
.user-row small {
  font-size: 11px;
  color: var(--muted);
  display: block;
  overflow-wrap: anywhere;
}
.user-row .user-date {
  font-size: 10px;
  color: var(--muted);
}
.grant-row {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.grant-row:last-child {
  border: 0;
}
.grant-row b {
  font-size: 13px;
}
.grant-row p {
  font-size: 12px;
  margin-top: 5px;
}
.grant-row small {
  font-size: 10px;
  color: var(--muted);
}
.grant-row details {
  font-size: 11px;
  margin-top: 10px;
}
.grant-row summary {
  cursor: pointer;
}
.grant-row form .button {
  margin-top: 15px;
}
.student-progress {
  margin-bottom: 20px;
}
.student-progress > h3 {
  margin-bottom: 22px;
}
.student-progress > .progress {
  margin-bottom: 20px;
}
.student-module {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 14px;
}
.student-module summary {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 12px;
  cursor: pointer;
}
.student-module summary > span {
  font-size: 11px;
  color: var(--muted);
}
.student-module p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  padding: 12px 0;
}
.student-module p > span {
  margin-left: auto;
  font-size: 10px;
}
.student-module .icon {
  width: 14px;
  height: 14px;
  color: var(--green);
}
.author-edit {
  max-width: 800px;
}
.author-edit > .button {
  margin-top: 22px;
}
@media (min-width: 901px) {
  .lesson-nav-list:not([open]) > .nav-module,
  .lesson-nav-list:not([open]) > .nav-help {
    display: block;
  }
  .lesson-nav {
    position: sticky;
    top: 24px;
    max-height: calc(100vh - 48px);
    overflow: auto;
    scrollbar-width: thin;
  }
  .course-aside {
    position: sticky;
    top: 30px;
  }
}
@media (max-width: 1000px) {
  .shell {
    width: calc(100% - 48px);
  }
  .brand {
    gap: 12px;
  }
  .brand > span {
    padding-left: 12px;
  }
  .header-inner nav {
    gap: 20px;
  }
  .course-layout {
    grid-template-columns: minmax(0, 1fr) 285px;
    gap: 25px;
  }
  .hero-monogram {
    width: 130px;
    height: 130px;
    margin-right: 0;
  }
  .lesson-shell {
    grid-template-columns: 225px minmax(0, 1fr);
    gap: 28px;
  }
  .lesson-nav {
    padding-right: 20px;
  }
  .course-cover {
    padding: 22px;
    aspect-ratio: 1.85;
  }
  .cover-bottom {
    left: 22px;
    bottom: 15px;
    right: 20px;
  }
  .cover-decoration {
    right: 20px;
  }
  .admin-grid {
    grid-template-columns: minmax(0, 1fr) 285px;
    gap: 20px;
  }
  .admin-grid .panel {
    padding: 22px;
  }
  .card-purchase {
    flex-wrap: wrap;
  }
  .lesson-complete {
    flex-wrap: wrap;
  }
}
@media (max-width: 760px) {
  .shell {
    width: calc(100% - 36px);
  }
  .header-inner {
    min-height: 72px;
    gap: 10px;
  }
  .brand img {
    width: 136px;
  }
  .brand > span {
    display: none;
  }
  .header-inner nav {
    gap: 15px;
  }
  .nav-link {
    font-size: 11px;
  }
  .nav-link > .icon {
    display: none;
  }
  .account-name {
    display: none;
  }
  .account-menu summary > .icon {
    display: none;
  }
  .avatar-letter {
    width: 30px;
    height: 30px;
    font-size: 11px;
  }
  .page-hero {
    padding: 35px 0 38px;
  }
  .page-hero h1 {
    font-size: 34px;
  }
  .page-hero p:not(.eyebrow) {
    font-size: 13px;
    max-width: 290px;
    line-height: 1.8;
  }
  .dashboard-content {
    padding-top: 32px;
  }
  .section-heading h2 {
    font-size: 25px;
  }
  .section-heading > p {
    display: none;
  }
  .section-heading > .text-link {
    font-size: 11px;
  }
  .course-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .course-cover {
    aspect-ratio: 1.9;
    padding: 24px;
  }
  .cover-title {
    font-size: 39px;
    margin-top: 18px;
  }
  .cover-bottom {
    left: 24px;
    bottom: 18px;
    right: 24px;
  }
  .cover-decoration {
    right: 35px;
    top: 65px;
  }
  .cover-decoration .icon {
    width: 95px;
    height: 95px;
  }
  .course-card-body {
    padding: 22px;
  }
  .course-card h2 {
    font-size: 23px;
  }
  .card-purchase {
    flex-wrap: nowrap;
    gap: 10px;
  }
  .card-purchase .text-link {
    font-size: 10px;
  }
  .course-card-body > p {
    font-size: 12px;
  }
  .discover-section {
    margin-top: 42px;
  }
  .resume-strip {
    flex-wrap: wrap;
    gap: 14px;
    padding: 20px;
    margin-bottom: 32px;
  }
  .resume-strip > .resume-strip-icon {
    display: none;
  }
  .resume-strip h2 {
    font-size: 17px;
  }
  .resume-strip .eyebrow {
    font-size: 8px;
  }
  .resume-strip .button {
    margin-left: 0;
    min-height: 39px;
    font-size: 11px;
  }
  .course-hero {
    padding: 22px 0 32px;
  }
  .breadcrumb {
    font-size: 11px;
    margin-bottom: 24px;
  }
  .course-hero h1 {
    font-size: 36px;
  }
  .hero-summary {
    font-size: 14px;
    margin-top: 15px;
  }
  .hero-monogram {
    display: none;
  }
  .course-meta {
    gap: 15px;
    font-size: 11px;
    margin-top: 20px;
  }
  .author-chip {
    font-size: 11px;
  }
  .course-meta > span > .icon {
    width: 13px;
    height: 13px;
  }
  .hero-actions {
    margin-top: 25px;
    gap: 15px;
  }
  .hero-actions > .button {
    min-height: 47px;
    font-size: 12px;
  }
  .hero-price b {
    font-size: 21px;
  }
  .hero-price s {
    font-size: 13px;
  }
  .course-layout {
    grid-template-columns: 1fr;
    padding-top: 25px;
    gap: 30px;
  }
  .tabs {
    font-size: 11px;
    margin-bottom: 22px;
  }
  .module summary {
    padding: 16px 14px;
    font-size: 12px;
    gap: 10px;
  }
  .module-number {
    width: 28px;
    height: 28px;
    font-size: 10px;
  }
  .lesson-row {
    gap: 11px;
    padding: 12px;
  }
  .lesson-thumb {
    width: 78px;
  }
  .lesson-row b {
    font-size: 11px;
  }
  .lesson-row small {
    font-size: 9px;
  }
  .lesson-row > .icon {
    width: 14px;
    height: 14px;
  }
  .locked-module {
    padding: 17px 15px;
    gap: 10px;
  }
  .locked-module h2 {
    font-size: 12px;
  }
  .course-aside {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }
  .course-aside > h2 {
    font-size: 15px;
  }
  .continue-card {
    display: flex;
  }
  .continue-image {
    width: 42%;
    flex: none;
    aspect-ratio: auto;
    min-height: 120px;
  }
  .continue-card > div:last-child {
    padding: 17px;
  }
  .continue-card h3 {
    font-size: 14px;
  }
  .continue-card small {
    font-size: 8px;
  }
  .progress-panel {
    margin-top: 15px;
  }
  .instructor-mini {
    margin-top: 25px;
  }
  .site-footer {
    flex-direction: column;
    gap: 12px;
    margin-top: 55px;
    font-size: 10px;
    padding-top: 23px;
  }
  .lesson-shell {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding-top: 20px;
  }
  .lesson-nav {
    padding: 0;
    border: 0;
  }
  .lesson-nav > h2 {
    font-size: 21px;
    margin-bottom: 16px;
  }
  .lesson-nav > .breadcrumb {
    margin-bottom: 13px;
  }
  .lesson-nav > .progress-copy {
    font-size: 10px;
  }
  .lesson-nav-list {
    margin-top: 20px;
    background: var(--soft);
    border-radius: 11px;
    padding: 13px 15px;
  }
  .lesson-nav-list > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
  }
  .lesson-nav-list > summary::-webkit-details-marker {
    display: none;
  }
  .lesson-nav-list > summary > .icon {
    width: 15px;
    height: 15px;
  }
  .lesson-nav-list[open] > summary {
    margin-bottom: 22px;
  }
  .lesson-nav .nav-module > h3 {
    font-size: 12px;
  }
  .nav-lesson {
    font-size: 12px;
    padding: 10px;
    margin-inline: 0;
  }
  .nav-lesson small {
    font-size: 10px;
  }
  .nav-help {
    display: none;
  }
  .video-player {
    border-radius: 11px;
  }
  .lesson-heading {
    margin-top: 23px;
  }
  .lesson-heading h1 {
    font-size: 26px;
  }
  .lesson-heading .eyebrow {
    font-size: 9px;
  }
  .lesson-body {
    font-size: 13px;
    margin-top: 22px;
  }
  .lesson-complete {
    margin-top: 30px;
    gap: 18px;
  }
  .lesson-complete form {
    width: 100%;
  }
  .lesson-complete .button {
    width: 100%;
  }
  .lesson-pagination {
    gap: 20px;
  }
  .lesson-pagination > a {
    font-size: 10px;
  }
  .lesson-pagination small {
    font-size: 7px;
  }
  .prose pre {
    padding: 17px;
    font-size: 12px;
  }
  .resource-row {
    padding: 14px;
    gap: 10px;
  }
  .resource-row b {
    font-size: 11px;
  }
  .preview-notice {
    font-size: 10px;
  }
  .preview-notice a {
    margin-left: 0;
  }
  .author-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 35px;
  }
  .author-portrait {
    width: 200px;
    border-radius: 24px;
  }
  .author-layout h2 {
    font-size: 28px;
  }
  .author-layout .prose {
    font-size: 13px;
  }
  .author-courses {
    padding-top: 35px;
  }
  .example-layout {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 30px;
  }
  .example-layout .panel {
    padding: 22px;
  }
  .example-lesson {
    padding: 12px;
    gap: 10px;
  }
  .example-lesson .lesson-thumb {
    width: 55px;
  }
  .example-lesson b {
    font-size: 11px;
  }
  .example-lesson > .badge {
    display: none;
  }
  .login-wrap {
    padding: 30px 18px;
  }
  .login-card {
    padding: 30px 25px;
  }
  .login-card h1 {
    font-size: 30px;
  }
  .admin-shell {
    padding-top: 20px;
  }
  .admin-nav {
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 18px;
    margin-bottom: 28px;
  }
  .admin-nav a {
    font-size: 10px;
    white-space: nowrap;
    gap: 5px;
  }
  .admin-nav .icon {
    width: 13px;
    height: 13px;
  }
  .admin-heading {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 18px;
  }
  .admin-heading h1 {
    font-size: 28px;
  }
  .admin-heading > .inline-form {
    width: 100%;
  }
  .admin-course-row {
    padding: 18px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .admin-course-symbol {
    height: 40px;
    width: 40px;
    border-radius: 10px;
  }
  .admin-course-row h2 {
    font-size: 16px;
  }
  .admin-course-row small {
    font-size: 9px;
  }
  .admin-course-row > .badge {
    margin-left: 52px;
  }
  .admin-course-row > .icon {
    margin-left: auto;
    width: 16px;
    height: 16px;
  }
  .admin-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .admin-grid .panel {
    padding: 22px;
  }
  .form-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .admin-content {
    margin-top: 35px;
  }
  .admin-content > .section-heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .admin-module {
    padding: 17px;
  }
  .admin-module-header {
    gap: 8px;
    flex-wrap: wrap;
  }
  .admin-module-header h3 {
    font-size: 13px;
    min-width: 150px;
  }
  .admin-module-header .module-number {
    display: none;
  }
  .admin-module-header > .form {
    margin-left: auto;
  }
  .admin-lesson-row > a {
    gap: 7px;
    flex-wrap: wrap;
  }
  .admin-lesson-row b {
    font-size: 11px;
    min-width: 70%;
  }
  .admin-lesson-row .badge {
    font-size: 8px;
    margin-left: 22px;
  }
  .admin-lesson-row .icon-button {
    height: 25px;
    width: 22px;
  }
  .module-edit {
    font-size: 10px;
  }
  .inline-form {
    flex-wrap: wrap;
  }
  .inline-form > .button {
    width: 100%;
  }
  .uploads-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
  }
  .upload-card {
    padding: 14px;
  }
  .upload-preview {
    height: 95px;
  }
  .upload-card h2 {
    font-size: 11px;
  }
  .user-list {
    padding: 5px 16px;
  }
  .user-row {
    gap: 10px;
  }
  .user-date {
    display: none;
  }
  .user-row small {
    font-size: 10px;
  }
  .user-row b {
    font-size: 12px;
  }
  .new-user {
    padding: 18px;
  }
  .student-progress {
    padding: 20px;
  }
  .student-module summary {
    font-size: 11px;
  }
  .student-module p {
    flex-wrap: wrap;
    font-size: 10px;
  }
  .student-module p > span {
    width: 100%;
    margin-left: 24px;
    font-size: 9px;
  }
  .admin-resources {
    padding: 22px;
  }
  .admin-resource-row {
    flex-wrap: wrap;
  }
  .admin-resource-row .text-button {
    padding-left: 0;
  }
  .error-page {
    padding-block: 60px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}

.player-caption {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
  font-size: 11px;
  color: var(--muted);
}
.player-caption .icon {
  width: 12px;
  height: 12px;
  margin-left: 4px;
}
