*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
body {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #1a1208;
  background-color: #f5ede0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: #1a3d2b;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  color: #1a1208;
}
ul {
  list-style: none;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}
.label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #b8862a;
}
.rule {
  border: none;
  border-top: 1px solid #c9a24a;
  margin: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 0.75rem 1.75rem;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.18s, color 0.18s;
  text-decoration: none;
  border: none;
}
.btn.btn-primary {
  background-color: #1a3d2b;
  color: #fff;
}
.btn.btn-primary:hover {
  background-color: #2d5a40;
  color: #fff;
}
.btn.btn-ghost {
  background-color: transparent;
  color: #1a1208;
  border: 1px solid #ddd5c4;
}
.btn.btn-ghost:hover {
  border-color: #1a1208;
}
.btn.btn-sm {
  font-size: 0.8rem;
  padding: 0.5rem 1.25rem;
}
.badge-pro {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background-color: #1a3d2b;
  color: #fff;
  padding: 0.15rem 0.45rem;
  border-radius: 2px;
  vertical-align: middle;
}
.alert {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9rem;
  padding: 0.875rem 1.25rem;
  border-radius: 2px;
  margin-bottom: 1.25rem;
}
.alert.alert-success {
  background-color: #eef7f1;
  color: #1a3d2b;
  border: 1px solid #b2d8c0;
}
.alert.alert-error {
  background-color: #fdf1f0;
  color: #8b2020;
  border: 1px solid #f0b9b7;
}
.site-header {
  background-color: #f5ede0;
  border-bottom: 1px solid #c9a24a;
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
}
.site-logo__diamond {
  color: #b8862a;
  font-size: 0.9rem;
  line-height: 1;
}
.site-logo__name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: #1a1208;
  letter-spacing: 0.01em;
}
.site-logo:hover {
  color: #1a1208;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.site-nav a {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  color: #1a1208;
  text-decoration: none;
  transition: color 0.15s;
}
.site-nav a:hover {
  color: #1a3d2b;
}
.nav-user-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav-email {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.875rem;
  color: #5c4a32;
  text-decoration: none;
}
.nav-email:hover {
  color: #b8862a;
}
.nav-signout {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.875rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #1a1208;
  padding: 0;
}
.nav-signout:hover {
  color: #1a3d2b;
}
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}
.lang-switcher__option {
  color: #8a7560;
  text-decoration: none;
  transition: color 0.15s;
}
.lang-switcher__option:hover {
  color: #1a1208;
}
.lang-switcher__option--active {
  color: #1a1208;
  font-weight: 500;
  pointer-events: none;
}
.lang-switcher__sep {
  color: #ddd5c4;
  font-size: 0.65rem;
}
.site-main {
  flex: 1;
}
.site-footer {
  background-color: #f5ede0;
  border-top: 1px solid #ddd5c4;
  margin-top: 6rem;
}
.site-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem 2rem;
}
.site-footer__cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #ddd5c4;
}
@media (max-width: 640px) {
  .site-footer__cols {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
.site-footer__brand p {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.875rem;
  color: #5c4a32;
  margin-top: 0.75rem;
  line-height: 1.6;
}
.site-footer__links h4 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5c4a32;
  margin-bottom: 1rem;
}
.site-footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.site-footer__links a {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.875rem;
  color: #1a1208;
}
.site-footer__links a:hover {
  color: #1a3d2b;
}
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 1.5rem;
  gap: 1rem;
}
.site-footer__bottom p {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8rem;
  color: #8a7560;
}
@media (max-width: 480px) {
  .site-footer__bottom {
    flex-direction: column;
  }
}
.page-hero {
  padding: 4rem 0 3rem;
  text-align: center;
}
.page-hero__rule {
  border: none;
  border-top: 1px solid #c9a24a;
  margin-bottom: 2.5rem;
}
.page-hero__label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #b8862a;
  margin-bottom: 1rem;
}
.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 600;
  line-height: 1.08;
  margin-bottom: 1.25rem;
}
.page-hero p {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.05rem;
  color: #5c4a32;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.65;
}
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  padding-top: 5rem;
  padding-bottom: 4rem;
  text-align: center;
}
.hero__rule {
  border: none;
  border-top: 1px solid #c9a24a;
  margin-bottom: 3rem;
}
.hero__label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #b8862a;
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
.hero h1 em {
  font-style: italic;
  color: #1a3d2b;
}
.hero p {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.1rem;
  color: #5c4a32;
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.hero__diamond {
  color: #b8862a;
  font-size: 1.25rem;
  display: block;
  margin: 2.5rem auto;
}
.home-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  padding-top: 3rem;
  padding-bottom: 4rem;
}
.home-section__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
}
.home-section__header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}
.home-section__header a {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.875rem;
  color: #5c4a32;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.home-section__header a:hover {
  color: #1a3d2b;
}
.home-section__label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #b8862a;
  margin-bottom: 0.5rem;
}
.home-features {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  padding-top: 3rem;
  padding-bottom: 5rem;
}
.home-features__label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #b8862a;
  margin-bottom: 1rem;
}
.home-features h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 3rem;
}
.home-features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
@media (max-width: 768px) {
  .home-features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .home-features__grid {
    grid-template-columns: 1fr;
  }
}
.home-features__item {
  border-top: 1px solid #ddd5c4;
  padding-top: 1.5rem;
}
.home-features__item-num {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8rem;
  color: #b8862a;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  display: block;
}
.home-features__item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.home-features__item p {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9rem;
  color: #5c4a32;
  line-height: 1.65;
}
.courses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 600px) {
  .courses-grid {
    grid-template-columns: 1fr;
  }
}
.course-card {
  background-color: #faf6f0;
  border: 1px solid #ddd5c4;
  border-left: 3px solid #c9a24a;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.15s;
}
.course-card:hover {
  border-color: #b8862a;
}
.course-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
}
.course-card__topic {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #b8862a;
}
.course-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
}
.course-card p {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9rem;
  color: #5c4a32;
  line-height: 1.6;
  flex: 1;
}
.course-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid #ddd5c4;
}
.course-card__lessons {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8rem;
  color: #8a7560;
}
.filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-btn {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 1.1rem;
  border: 1px solid #ddd5c4;
  background: none;
  color: #1a1208;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.15s;
}
.filter-btn:hover {
  border-color: #1a1208;
}
.filter-btn.active {
  background-color: #1a3d2b;
  border-color: #1a3d2b;
  color: #fff;
}
.courses-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  padding-top: 0;
  padding-bottom: 5rem;
}
.auth-page {
  display: flex;
  justify-content: center;
  padding: 5rem 2rem;
}
.auth-container {
  width: 100%;
  max-width: 520px;
}
.auth-container h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.auth-container > p {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.95rem;
  color: #5c4a32;
  margin-bottom: 2.5rem;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.875rem;
  color: #1a1208;
  font-weight: 400;
}
.form-group input,
.form-group textarea,
.form-group select {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.975rem;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd5c4;
  border-radius: 2px;
  background-color: #fff;
  color: #1a1208;
  width: 100%;
  transition: border-color 0.15s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #b8862a;
}
.form-group input::placeholder,
.form-group textarea::placeholder,
.form-group select::placeholder {
  color: #8a7560;
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}
.auth-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 0.75rem 1.75rem;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.18s, color 0.18s;
  text-decoration: none;
  border: none;
  background-color: #1a3d2b;
  color: #fff;
  width: 100%;
  justify-content: center;
  font-size: 0.95rem;
  padding: 0.9rem;
  margin-top: 0.25rem;
}
.auth-submit.btn-primary {
  background-color: #1a3d2b;
  color: #fff;
}
.auth-submit.btn-primary:hover {
  background-color: #2d5a40;
  color: #fff;
}
.auth-submit.btn-ghost {
  background-color: transparent;
  color: #1a1208;
  border: 1px solid #ddd5c4;
}
.auth-submit.btn-ghost:hover {
  border-color: #1a1208;
}
.auth-submit.btn-sm {
  font-size: 0.8rem;
  padding: 0.5rem 1.25rem;
}
.auth-submit--sm {
  font-size: 0.75rem;
  padding: 0.3rem 0.8rem;
}
.auth-submit--outline {
  background: transparent;
  border: 1px solid #1a1208;
  color: #1a1208;
}
.auth-submit--outline:hover {
  background: #1a1208;
  color: #fff;
}
.auth-submit:hover {
  background-color: #2d5a40;
  color: #fff;
}
.auth-link {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9rem;
  color: #5c4a32;
  text-align: center;
}
.auth-link a {
  color: #1a1208;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.auth-link a:hover {
  color: #1a3d2b;
}
.lesson-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  padding-top: 3rem;
  padding-bottom: 5rem;
  max-width: 800px;
}
.lesson-page__back {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.875rem;
  color: #5c4a32;
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline-block;
  margin-bottom: 2rem;
}
.lesson-page__back:hover {
  color: #1a3d2b;
}
.lesson-page__label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #b8862a;
  margin-bottom: 0.75rem;
}
.lesson-page h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 2rem;
}
.lesson-page__video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #1a1208;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 2.5rem;
}
.lesson-page__video iframe,
.lesson-page__video video {
  width: 100%;
  height: 100%;
}
.lesson-page__content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #1a1208;
  margin-bottom: 2.5rem;
}
.lesson-notes {
  border-top: 1px solid #ddd5c4;
  padding-top: 2rem;
  margin-top: 1rem;
}
.lesson-notes__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.lesson-notes__private {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  color: #8a7560;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.lesson-notes__form {
  border: 1px solid #ddd5c4;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  background: #fff;
}
.lesson-notes__type-bar {
  display: inline-flex;
  border: 1px solid #ddd5c4;
  margin-bottom: 1rem;
  overflow: hidden;
}
.lesson-notes__type-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #8a7560;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.12s, background 0.12s;
}
.lesson-notes__type-btn + .lesson-notes__type-btn {
  border-left: 1px solid #ddd5c4;
}
.lesson-notes__type-btn:hover {
  color: #1a1208;
}
.lesson-notes__type-btn--active {
  background: #1a1208;
  color: #fff;
}
.lesson-notes textarea,
.lesson-notes input[type="url"],
.lesson-notes input[type="text"] {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid #ddd5c4;
  border-radius: 0;
  background-color: #f5ede0;
  width: 100%;
  color: #1a1208;
  transition: border-color 0.15s;
  display: block;
  resize: vertical;
}
.lesson-notes textarea:focus,
.lesson-notes input[type="url"]:focus,
.lesson-notes input[type="text"]:focus {
  outline: none;
  border-color: #b8862a;
}
.lesson-notes__fc-row {
  margin-bottom: 0.75rem;
}
.lesson-notes__fc-label {
  display: block;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #8a7560;
  margin-bottom: 0.3rem;
}
.lesson-notes__fc-image-upload {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.lesson-notes__fc-image-choose {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8rem;
  padding: 0.3rem 0.75rem;
  border: 1px solid #ddd5c4;
  background: #f5ede0;
  cursor: pointer;
  color: #1a1208;
  transition: border-color 0.12s;
}
.lesson-notes__fc-image-choose:hover {
  border-color: #b8862a;
}
.lesson-notes__fc-image-choose:disabled {
  opacity: 0.5;
  cursor: default;
}
.lesson-notes__fc-image-name {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8rem;
  color: #8a7560;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lesson-notes__fc-image-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: #8a7560;
  font-size: 0.8rem;
  padding: 0 0.2rem;
  line-height: 1;
}
.lesson-notes__fc-image-remove:hover {
  color: #b94a48;
}
.lesson-notes__fc-image-preview {
  display: block;
  margin-top: 0.5rem;
  max-width: 150px;
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 3px;
  border: 1px solid #ddd5c4;
}
.lesson-notes__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.875rem;
}
.lesson-notes__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.note-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border: 1px solid #ddd5c4;
  padding: 1rem 1.1rem;
  background: #fff;
  position: relative;
  transition: box-shadow 0.12s, opacity 0.12s;
}
.note-card__drag-handle {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding-top: 0.15rem;
  color: #ddd5c4;
  cursor: grab;
  opacity: 0;
  transition: opacity 0.12s, color 0.12s;
}
.note-card__drag-handle:active {
  cursor: grabbing;
}
.note-card:hover .note-card__drag-handle {
  opacity: 1;
}
.note-card--dragging {
  opacity: 0.45;
  box-shadow: none;
}
.note-card--drag-over {
  border-top: 2px solid #b8862a;
  margin-top: -1px;
}
.note-card__icon {
  margin-top: 0.15rem;
  flex-shrink: 0;
  color: #8a7560;
}
.note-card__body {
  flex: 1 1 0;
  min-width: 0;
}
.note-card__text {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #1a1208;
  white-space: pre-wrap;
  margin-bottom: 0.35rem;
}
.note-card__link-text {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9rem;
  color: #1a3d2b;
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-all;
  display: block;
  margin-bottom: 0.35rem;
}
.note-card__link-text:hover {
  color: #b8862a;
}
.note-card__date {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  color: #8a7560;
  margin: 0;
}
.note-card__actions {
  display: flex;
  gap: 0.25rem;
  flex-shrink: 0;
}
.note-card__delete {
  background: none;
  border: none;
  cursor: pointer;
  color: #8a7560;
  padding: 0.15rem;
  line-height: 1;
  transition: color 0.12s;
}
.note-card__delete:hover {
  color: #b94a48;
}
.note-card__flip-btn {
  width: 100%;
  text-align: left;
  background: #f5ede0;
  border: 1px solid #ddd5c4;
  cursor: pointer;
  padding: 0.875rem 1rem;
  transition: border-color 0.12s;
  margin-bottom: 0.35rem;
}
.note-card__flip-btn:hover {
  border-color: #b8862a;
}
.note-card__fc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}
.note-card__fc-side {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #8a7560;
}
.note-card__fc-hint {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #b8862a;
}
.note-card__fc-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.05rem;
  color: #1a1208;
  margin: 0;
  white-space: pre-wrap;
}
.note-card__fc-text strong {
  font-weight: 700;
}
.note-card__fc-text em {
  font-style: italic;
}
.note-card__fc-text code {
  font-family: monospace;
  font-size: 0.9em;
  background: #f5ede0;
  padding: 0.1em 0.3em;
  border-radius: 3px;
}
.note-card__fc-layout {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  width: 100%;
}
.note-card__fc-image {
  max-width: 150px;
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 3px;
  border: 1px solid #ddd5c4;
  flex-shrink: 0;
  display: block;
  align-self: flex-start;
}
.note-card__fc-content {
  flex: 1 1 0;
  min-width: 0;
}
.lesson-media {
  display: flex;
  gap: 1.25rem;
  align-items: stretch;
  margin-bottom: 2.5rem;
}
.lesson-media__video-wrap {
  flex: 1 1 100%;
  min-width: 0;
}
.lesson-media__video-wrap .lesson-page__video {
  margin-bottom: 0.75rem;
}
.lesson-media--open .lesson-media__video-wrap {
  flex: 0 0 60%;
}
.lesson-transcript-panel {
  display: none;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}
.lesson-media--open .lesson-transcript-panel {
  display: flex;
  flex: 1 1 0;
  min-height: 0;
  max-height: 420px;
  overflow: hidden;
}
.lesson-transcript-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid #ddd5c4;
  margin-bottom: 0.5rem;
  flex-shrink: 0;
}
.lesson-transcript-panel__search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  flex-shrink: 0;
}
.lesson-transcript-panel__search input[type="search"] {
  flex: 1 1 0;
  min-width: 0;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8rem;
  padding: 0.3rem 0.6rem;
  border: 1px solid #ddd5c4;
  border-radius: 2px;
  background: #fff;
  color: #1a1208;
  outline: none;
  transition: border-color 0.15s;
}
.lesson-transcript-panel__search input[type="search"]:focus {
  border-color: #b8862a;
}
.lesson-transcript-panel__search input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
.lesson-transcript-panel__search-count {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  color: #8a7560;
  white-space: nowrap;
  min-width: 4.5rem;
  text-align: right;
}
.lesson-transcript-panel__close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: #8a7560;
  padding: 0;
  line-height: 1;
}
.lesson-transcript-panel__close:hover {
  color: #1a1208;
}
.lesson-transcript-panel__body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.85rem;
  line-height: 1.8;
  color: #5c4a32;
  white-space: pre-wrap;
  overflow-y: auto;
  flex: 1 1 0;
  min-height: 0;
}
.transcript-highlight {
  background: #fff3cd;
  color: #1a1208;
  border-radius: 2px;
  padding: 0 1px;
}
.transcript-highlight--first {
  background: #f0c040;
  outline: 2px solid #f0c040;
  outline-offset: 1px;
}
.lesson-transcript-toggle {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: #5c4a32;
  background: transparent;
  border: 1px solid #ddd5c4;
  border-radius: 2px;
  padding: 0.3rem 0.75rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: border-color 0.15s, color 0.15s;
}
.lesson-transcript-toggle:hover,
.lesson-transcript-toggle[aria-expanded="true"] {
  border-color: #b8862a;
  color: #1a1208;
}
.contributor-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  padding-top: 3rem;
  padding-bottom: 5rem;
}
.contributor-page h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 0.75rem;
}
.contributor-page__subtitle {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.95rem;
  color: #5c4a32;
  margin-bottom: 3rem;
}
.contributor-courses {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contributor-course-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border: 1px solid #ddd5c4;
  background-color: #faf6f0;
  gap: 1rem;
}
.contributor-course-row__info h3 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}
.contributor-course-row__info p {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.85rem;
  color: #5c4a32;
}
.contributor-course-row__actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}
.admin-layout {
  display: flex;
  min-height: 100vh;
  background: #f5ede0;
}
.admin-sidebar {
  width: 220px;
  min-width: 220px;
  background: #1a3d2b;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  gap: 0;
}
.admin-sidebar__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  color: #b8862a;
  letter-spacing: 0.04em;
  margin-bottom: 2.5rem;
}
.admin-sidebar__diamond {
  font-size: 0.7rem;
}
.admin-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}
.admin-sidebar__link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  padding: 0.6rem 0.75rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.admin-sidebar__link svg {
  opacity: 0.7;
}
.admin-sidebar__link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #f5ede0;
}
.admin-sidebar__link.active {
  background: rgba(255, 255, 255, 0.12);
  color: #b8862a;
}
.admin-sidebar__link.active svg {
  opacity: 1;
}
.admin-sidebar__back {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  margin-top: auto;
  padding-top: 2rem;
}
.admin-sidebar__back:hover {
  color: rgba(255, 255, 255, 0.6);
}
.admin-main {
  flex: 1;
  padding: 2.5rem 2rem;
  overflow: auto;
}
.admin-main__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 2rem;
}
.admin-main__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  color: #1a3d2b;
  margin: 0 0 0.25rem;
}
.admin-main__subtitle {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.875rem;
  color: #5c4a32;
  margin: 0;
}
.admin-stats {
  display: flex;
  gap: 1.5rem;
}
.admin-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #faf6f0;
  border: 1px solid #ddd5c4;
  border-radius: 8px;
  padding: 0.75rem 1.25rem;
  min-width: 70px;
}
.admin-stat__value {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  color: #1a3d2b;
  line-height: 1;
}
.admin-stat__label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5c4a32;
  margin-top: 0.25rem;
}
.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.admin-toolbar__search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid #ddd5c4;
  border-radius: 8px;
  padding: 0.5rem 0.875rem;
  flex: 1;
  max-width: 380px;
}
.admin-toolbar__search svg {
  color: #5c4a32;
  flex-shrink: 0;
}
.admin-toolbar__search input {
  border: none;
  outline: none;
  background: transparent;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.875rem;
  color: #1a1208;
  width: 100%;
}
.admin-toolbar__search input::placeholder {
  color: #5c4a32;
}
.admin-toolbar__filters {
  display: flex;
  gap: 0.5rem;
}
.admin-filter {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.4rem 0.875rem;
  border: 1px solid #ddd5c4;
  border-radius: 20px;
  background: #fff;
  color: #5c4a32;
  cursor: pointer;
  transition: all 0.15s;
}
.admin-filter:hover {
  border-color: #1a3d2b;
  color: #1a3d2b;
}
.admin-filter.active {
  background: #1a3d2b;
  border-color: #1a3d2b;
  color: #f5ede0;
}
.admin-table-wrap {
  background: #fff;
  border: 1px solid #ddd5c4;
  border-radius: 10px;
  overflow-x: auto;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.875rem;
}
.admin-table th {
  overflow: hidden;
}
.admin-table th {
  text-align: left;
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #5c4a32;
  padding: 0.75rem 0.75rem;
  border-bottom: 1px solid #ddd5c4;
  background: #faf6f0;
  white-space: nowrap;
  overflow: hidden;
}
.admin-table td {
  padding: 0.75rem 0.75rem;
  border-bottom: 1px solid #ddd5c4;
  color: #1a1208;
  vertical-align: middle;
}
.admin-table tr:last-child td {
  border-bottom: none;
}
.admin-table tr:hover td {
  background: #faf6f0;
}
.admin-table__row--suspended td {
  opacity: 0.55;
}
.admin-table__loading td,
.admin-table__empty td,
.admin-table__error td {
  text-align: center;
  padding: 3rem;
  color: #5c4a32;
  font-size: 0.875rem;
}
.admin-table__error td {
  color: #c0392b;
}
.admin-table__user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.admin-table__roles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.admin-table__number {
  font-variant-numeric: tabular-nums;
}
.admin-table__date {
  white-space: nowrap;
  color: #5c4a32;
  font-size: 0.8rem;
}
.admin-table__courses-list {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}
.admin-table__muted {
  color: #5c4a32;
}
.admin-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1a3d2b;
  color: #b8862a;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.admin-user-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  overflow: hidden;
}
.admin-user-info__name {
  font-weight: 500;
  color: #1a1208;
  font-size: 0.875rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-user-info__email {
  font-size: 0.775rem;
  color: #5c4a32;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-course-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: #1a3d2b;
  text-decoration: none;
  min-width: 0;
  overflow: hidden;
}
.admin-course-link:hover {
  text-decoration: underline;
}
.admin-course-title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.admin-course-lessons {
  font-size: 0.7rem;
  font-weight: 600;
  color: #5c4a32;
  background: #ddd5c4;
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
  flex-shrink: 0;
}
.role-pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}
.role-pill.role--admin {
  background: rgba(139, 90, 43, 0.15);
  color: #8b5a2b;
}
.role-pill.role--contributor {
  background: rgba(30, 80, 50, 0.12);
  color: #1a3d2b;
}
.role-pill.role--pro {
  background: rgba(180, 140, 60, 0.15);
  color: #8a6a00;
}
.role-pill.role--user {
  background: #ddd5c4;
  color: #5c4a32;
}
.admin-status {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  text-transform: capitalize;
}
.admin-status--active {
  background: rgba(30, 120, 60, 0.1);
  color: #1e7840;
}
.admin-status--suspended {
  background: rgba(180, 40, 40, 0.1);
  color: #b42828;
}
.admin-status--inactive {
  background: #ddd5c4;
  color: #5c4a32;
}
.admin-manage-btn {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border: 1px solid #ddd5c4;
  border-radius: 6px;
  background: #fff;
  color: #1a1208;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}
.admin-manage-btn:hover {
  border-color: #1a3d2b;
  color: #1a3d2b;
}
.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.admin-modal[hidden] {
  display: none;
}
.admin-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.admin-modal__dialog {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}
.admin-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}
.admin-modal__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  color: #1a3d2b;
  margin: 0;
}
.admin-modal__close {
  background: none;
  border: none;
  font-size: 1rem;
  color: #5c4a32;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}
.admin-modal__close:hover {
  background: #ddd5c4;
  color: #1a1208;
}
.admin-modal__email {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.875rem;
  color: #5c4a32;
  margin: 0 0 1.5rem;
}
.admin-modal__roles {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.admin-modal__actions {
  display: flex;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid #ddd5c4;
}
.admin-role-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid #ddd5c4;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.admin-role-toggle input[type="checkbox"] {
  cursor: pointer;
}
.admin-role-toggle.active {
  background: #faf6f0;
  border-color: #1a3d2b;
}
.admin-role-toggle:hover {
  background: #faf6f0;
}
.btn-admin-danger {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border: 1px solid #c0392b;
  border-radius: 6px;
  background: #fff;
  color: #c0392b;
  cursor: pointer;
  transition: all 0.15s;
}
.btn-admin-danger:hover {
  background: #c0392b;
  color: #fff;
}
.btn-admin-secondary {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border: 1px solid #ddd5c4;
  border-radius: 6px;
  background: #fff;
  color: #1a1208;
  cursor: pointer;
  transition: all 0.15s;
}
.btn-admin-secondary:hover {
  background: #faf6f0;
}
.admin-course-cell {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  overflow: hidden;
}
.admin-course-cell__title {
  color: #2d5a40;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}
.admin-course-cell__title:hover {
  text-decoration: underline;
}
.admin-table__contributors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.admin-contributor-tag {
  display: inline-block;
  background: #f0f4f0;
  border: 1px solid #d0ddd0;
  border-radius: 20px;
  padding: 1px 8px;
  font-size: 0.75rem;
  color: #1a1208;
  white-space: nowrap;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-modal__section {
  margin-bottom: 1rem;
}
.admin-modal__section-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #5c4a32;
  margin: 0 0 0.5rem;
}
.admin-modal__contributors {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}
.admin-modal__contributor-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.5rem;
  background: #f8f8f6;
  border: 1px solid #ddd5c4;
  border-radius: 6px;
  font-size: 0.875rem;
}
.admin-modal__contributor-row span:first-child {
  font-weight: 500;
  flex: 1;
}
.admin-modal__contributor-row span:nth-child(2) {
  font-size: 0.75rem;
}
.admin-contributor-remove {
  margin-left: auto;
  background: none;
  border: none;
  color: #5c4a32;
  cursor: pointer;
  font-size: 0.75rem;
  padding: 2px 4px;
  border-radius: 3px;
  line-height: 1;
}
.admin-contributor-remove:hover {
  background: #fde8e8;
  color: #c0392b;
}
.admin-modal__add-contributor {
  position: relative;
}
.admin-modal__add-contributor input {
  width: 100%;
  padding: 0.45rem 0.65rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.875rem;
  border: 1px solid #ddd5c4;
  border-radius: 6px;
  outline: none;
  box-sizing: border-box;
}
.admin-modal__add-contributor input:focus {
  border-color: #2d5a40;
}
.admin-contributor-suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ddd5c4;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  list-style: none;
  margin: 0;
  padding: 0.25rem 0;
  z-index: 100;
}
.admin-contributor-suggestions li {
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  font-size: 0.875rem;
}
.admin-contributor-suggestions li:hover {
  background: #faf6f0;
}
.admin-status--published {
  background: #e6f4ea;
  color: #1a6b2e;
}
.admin-status--draft {
  background: #f3f3f1;
  color: #5c4a32;
}
.admin-lang-badge {
  display: inline-block;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 1px 6px;
  border-radius: 3px;
}
.admin-lang-badge--da {
  background: #e8f0fb;
  color: #1a3a7a;
}
.admin-lang-badge--en {
  background: #fdf3e3;
  color: #7a4a0a;
}
.admin-modal__select {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.875rem;
  color: #1a1208;
  background: #faf6f0;
  border: 1px solid #ddd5c4;
  border-radius: 4px;
  padding: 0.3rem 0.5rem;
  cursor: pointer;
}
.admin-modal__select:focus {
  outline: 2px solid #b8862a;
  outline-offset: 1px;
}
.admin-content-lang-tabs {
  display: flex;
  gap: 0.25rem;
}
.admin-content-lang-tab {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.35rem 0.85rem;
  border: 1px solid #ddd5c4;
  border-radius: 4px;
  background: #faf6f0;
  color: #5c4a32;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.admin-content-lang-tab.active {
  background: #1a1208;
  color: #f5ede0;
  border-color: #1a1208;
}
.admin-content-lang-tab:not(.active):hover {
  background: #ddd5c4;
  color: #1a1208;
}
.admin-content-back {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8rem;
  color: #8a7560;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.35rem;
}
.admin-content-back:hover {
  color: #b8862a;
}
.admin-content-pagekey {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #1a1208;
  background: #f0ebe3;
  padding: 2px 7px;
  border-radius: 3px;
}
.admin-content-key {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: #5c4a32;
  word-break: break-all;
}
.admin-content-value-preview {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.9rem;
  color: #1a1208;
  word-break: break-word;
}
.admin-modal__input {
  width: 100%;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.875rem;
  color: #1a1208;
  background: #faf6f0;
  border: 1px solid #ddd5c4;
  border-radius: 4px;
  padding: 0.4rem 0.6rem;
}
.admin-modal__input:focus {
  outline: 2px solid #b8862a;
  outline-offset: 1px;
}
.admin-modal__textarea {
  width: 100%;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.95rem;
  color: #1a1208;
  background: #faf6f0;
  border: 1px solid #ddd5c4;
  border-radius: 4px;
  padding: 0.4rem 0.6rem;
  resize: vertical;
  line-height: 1.6;
}
.admin-modal__textarea:focus {
  outline: 2px solid #b8862a;
  outline-offset: 1px;
}
.error-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  padding-top: 5rem;
  text-align: center;
}
.error-page h1 {
  font-size: 5rem;
  margin-bottom: 1rem;
}
.error-page p {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  color: #5c4a32;
  margin-bottom: 2rem;
}
.new-course-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  max-width: 680px;
  padding-top: 3rem;
  padding-bottom: 5rem;
}
.new-course-page__label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #b8862a;
  margin-bottom: 1rem;
}
.new-course-page h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 2.5rem;
}
.course-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.course-form__actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  padding-top: 0.5rem;
}
.pricing-page {
  padding-bottom: 5rem;
}
.pricing-page .page-hero {
  padding-bottom: 3rem;
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 3rem;
}
@media (max-width: 680px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}
.pricing-card {
  background: #faf6f0;
  border: 1px solid #ddd5c4;
  border-radius: 4px;
  padding: 2.5rem;
  position: relative;
}
.pricing-card__recommended {
  position: absolute;
  top: -14px;
  left: 1.5rem;
  background: #1a3d2b;
  color: #fff;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 2rem;
}
.pricing-card__tier {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a7560;
  margin-bottom: 1rem;
}
.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.pricing-card__amount {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1;
  color: #1a1208;
}
.pricing-card__period {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9rem;
  color: #8a7560;
}
.pricing-card__desc {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.95rem;
  color: #5c4a32;
  margin-bottom: 1.75rem;
}
.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.pricing-card__features li {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9rem;
  color: #1a1208;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.pricing-card__features .check {
  color: #b8862a;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 0.05em;
}
.pricing-card__small {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8rem;
  color: #8a7560;
  text-align: center;
  margin-top: 0.75rem;
}
.pricing-card .btn {
  border-radius: 50px;
  justify-content: center;
  border: 1.5px solid #1a1208;
  background: transparent;
  color: #1a1208;
  width: 100%;
  text-align: center;
  margin-top: 1.5rem;
}
.pricing-card .btn:hover {
  background: rgba(0, 0, 0, 0.05);
}
.pricing-card--pro {
  background: #1a1208;
  border-color: #1a1208;
}
.pricing-card--pro .pricing-card__tier,
.pricing-card--pro .pricing-card__period {
  color: rgba(255, 255, 255, 0.5);
}
.pricing-card--pro .pricing-card__amount {
  color: #fff;
}
.pricing-card--pro .pricing-card__desc {
  color: rgba(255, 255, 255, 0.7);
}
.pricing-card--pro .pricing-card__features li {
  color: rgba(255, 255, 255, 0.85);
}
.pricing-card--pro .pricing-card__small {
  color: rgba(255, 255, 255, 0.4);
}
.pricing-card--pro .btn {
  background: #f5ede0;
  color: #1a1208;
  border-color: #f5ede0;
}
.pricing-card--pro .btn:hover {
  background: #eee0c9;
  border-color: #eee0c9;
}
.btn--full {
  width: 100%;
  text-align: center;
}
.pricing-footer-note {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9rem;
  color: #5c4a32;
  text-align: center;
  padding: 2rem 0 0;
}
.pricing-footer-note a {
  color: #b8862a;
  text-decoration: underline;
}
.pricing-footer-note a:hover {
  color: #1a1208;
}
.btn--pill {
  border-radius: 50px;
  border: 1.5px solid #1a1208;
  background: transparent;
  color: #1a1208;
  padding: 0.75rem 2rem;
  text-decoration: none;
}
.btn--pill:hover {
  background: rgba(0, 0, 0, 0.06);
}
.btn--dark {
  background: #1a1208;
  color: #f5ede0;
  border-color: #1a1208;
}
.btn--dark:hover {
  background: #2a1f10;
  border-color: #2a1f10;
}
.about-page {
  padding: 4rem 0 6rem;
}
.about-page__header {
  padding-bottom: 3rem;
}
.about-page__label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #b8862a;
  margin-bottom: 1.5rem;
}
.about-page__header h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 600;
  line-height: 1.08;
  color: #1a1208;
  max-width: 820px;
}
.about-page__body {
  max-width: 680px;
}
.about-page__body p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.75;
  color: #1a1208;
  margin-bottom: 1.5rem;
}
.about-page__body p em {
  font-style: italic;
}
.about-page__body h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: #1a1208;
  margin: 2.5rem 0 0.75rem;
}
.about-page__cta {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.course-detail {
  padding: 3rem 0 6rem;
}
.course-detail .rule {
  border: none;
  border-top: 1px solid #c9a24a;
  margin: 1.75rem 0 2.5rem;
}
.course-detail__back {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5c4a32;
  text-decoration: none;
  display: inline-block;
}
.course-detail__back:hover {
  color: #1a3d2b;
}
.course-detail__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.course-detail__topic {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5c4a32;
}
.course-detail__diamond {
  color: #b8862a;
  font-size: 0.75rem;
}
.course-detail__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 600;
  line-height: 1.06;
  color: #1a1208;
  margin-bottom: 1.25rem;
  max-width: 820px;
}
.course-detail__summary {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem;
  color: #1a1208;
  line-height: 1.65;
  max-width: 620px;
  margin-bottom: 2rem;
}
.course-detail__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}
.course-detail__cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
}
.course-detail__upgrade {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
}
.course-detail__columns {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 768px) {
  .course-detail__columns {
    grid-template-columns: 1fr;
  }
}
.course-detail__section-label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a7560;
  margin-bottom: 0.5rem;
}
.course-detail__lesson-count {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.75rem;
}
.course-detail__sidebar {
  padding-top: 0.25rem;
}
.course-detail__contributor {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.course-detail__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #1a3d2b;
  color: #fff;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.course-detail__contributor-name {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9rem;
  color: #1a1208;
}
.lesson-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lesson-list__item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-top: 1px solid #ddd5c4;
}
.lesson-list__item:last-child {
  border-bottom: 1px solid #ddd5c4;
}
.lesson-list__item--locked {
  opacity: 0.55;
}
.lesson-list__number {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: flex-start;
}
.lesson-list__number > span:first-child {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.85rem;
  color: #5c4a32;
}
.lesson-list__badge {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5c4a32;
  border: 1px solid #ddd5c4;
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
}
.lesson-list__badge--locked {
  background: #1a3d2b;
  color: #fff;
  border-color: #1a3d2b;
}
.lesson-list__title-link {
  text-decoration: none;
}
.lesson-list__title-link:hover h3 {
  color: #1a3d2b;
}
.lesson-list__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #1a1208;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}
.lesson-list__title--locked {
  color: #5c4a32;
}
.lesson-list__desc {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9rem;
  color: #5c4a32;
  line-height: 1.6;
}
.contribute-page {
  background: #f5ede0;
  min-height: 80vh;
  padding: 3rem 0 5rem;
}
.contribute-page .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}
.contribute-page__label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b8862a;
  margin-bottom: 0.4rem;
}
.contribute-page__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.6rem;
  font-weight: 600;
  color: #1a1208;
  margin: 0 0 2rem;
  line-height: 1.15;
}
.contribute-page__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.contribute-back-link {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.85rem;
  color: #5c4a32;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 1.5rem;
}
.contribute-back-link:hover {
  color: #b8862a;
}
.contribute-editor-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.contribute-view-public {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.85rem;
  color: #5c4a32;
  text-decoration: none;
  padding-top: 0.5rem;
}
.contribute-view-public:hover {
  color: #b8862a;
}
.contribute-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contribute-list__item {
  border-top: 1px solid #ddd5c4;
  padding: 0;
}
.contribute-list__item:last-child {
  border-bottom: 1px solid #ddd5c4;
}
.contribute-list__link {
  display: block;
  padding: 1.5rem 0;
  text-decoration: none;
  transition: background 0.15s;
}
.contribute-list__link:hover {
  background: rgba(184, 134, 42, 0.04);
}
.contribute-list__badges {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.5rem;
}
.contribute-list__status {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: #ddd5c4;
  color: #5c4a32;
}
.contribute-list__status--published {
  background: #1a3d2b;
  color: #fff;
}
.contribute-list__pro {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b8862a;
}
.contribute-list__course-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1208;
  margin: 0 0 0.4rem;
}
.contribute-list__summary {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9rem;
  color: #5c4a32;
  margin: 0;
  line-height: 1.55;
}
.contribute-form-page {
  max-width: 540px;
}
.contribute-form-page__subtitle {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.95rem;
  color: #5c4a32;
  margin: -0.5rem 0 2rem;
  line-height: 1.6;
}
.contribute-card {
  background: #faf6f0;
  border: 1px solid #ddd5c4;
  border-radius: 6px;
  padding: 2rem;
  margin-bottom: 2rem;
}
.contribute-card__label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a7560;
  margin-bottom: 1.25rem;
}
.contribute-card__body .form-group {
  margin-bottom: 1.25rem;
}
.contribute-card__body .form-group label {
  display: block;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: #5c4a32;
  margin-bottom: 0.4rem;
  letter-spacing: 0.03em;
}
.contribute-card__body .form-group input[type=text],
.contribute-card__body .form-group input[type=email],
.contribute-card__body .form-group input[type=password] {
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #ddd5c4;
  border-radius: 4px;
  padding: 0.6rem 0.75rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.92rem;
  color: #1a1208;
  transition: border-color 0.15s;
}
.contribute-card__body .form-group input[type=text]:focus,
.contribute-card__body .form-group input[type=email]:focus,
.contribute-card__body .form-group input[type=password]:focus {
  outline: none;
  border-color: #b8862a;
}
.contribute-card__body .form-group input[type=text]:disabled,
.contribute-card__body .form-group input[type=email]:disabled,
.contribute-card__body .form-group input[type=password]:disabled {
  background: #f5ede0;
  color: #8a7560;
  cursor: default;
}
.contribute-card__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #ddd5c4;
}
.contribute-card__feedback {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.85rem;
}
.contribute-lessons-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contribute-lessons-count {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #1a1208;
  margin: 0;
}
.contribute-form .form-group {
  margin-bottom: 1.25rem;
}
.contribute-form .form-group label {
  display: block;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: #5c4a32;
  margin-bottom: 0.4rem;
  letter-spacing: 0.03em;
}
.contribute-form .form-group input[type=text],
.contribute-form .form-group textarea {
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #ddd5c4;
  border-radius: 4px;
  padding: 0.6rem 0.85rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9rem;
  color: #1a1208;
  outline: none;
  transition: border-color 0.15s;
}
.contribute-form .form-group input[type=text]:focus,
.contribute-form .form-group textarea:focus {
  border-color: #b8862a;
}
.contribute-form .form-group textarea {
  resize: vertical;
}
.contribute-form__check-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.contribute-form__check-row input[type=checkbox] {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: #1a3d2b;
}
.contribute-form__check-label {
  display: block;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1a1208;
}
.contribute-form__check-desc {
  display: block;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8rem;
  color: #8a7560;
  margin-top: 0.1rem;
}
.contribute-form__actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.contribute-btn-delete {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #b94a48;
  border-color: #b94a48;
}
.contribute-btn-delete:hover {
  background: #b94a48;
  color: #fff;
}
.contribute-feedback {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.82rem;
  margin-top: 0.5rem;
}
.contribute-unsaved-badge {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #8a6200;
  background: #fff3cd;
  border: 1px solid #f0c040;
  border-radius: 20px;
  padding: 0.2rem 0.65rem;
}
.contribute-form__delete-row {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #ddd5c4;
}
.contribute-delete-confirm {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.contribute-delete-confirm span {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.85rem;
  color: #b94a48;
  font-weight: 600;
}
.contribute-hint {
  font-weight: 400;
  color: #8a7560;
  font-size: 0.75rem;
  margin-left: 0.4rem;
}
.lesson-editor-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lesson-editor-item {
  border-top: 1px solid #ddd5c4;
  padding: 0;
}
.lesson-editor-item:last-child {
  border-bottom: 1px solid #ddd5c4;
}
.lesson-editor-item__row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
}
.lesson-editor-item__num {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #8a7560;
  min-width: 2rem;
}
.lesson-editor-item__title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9rem;
  color: #1a1208;
  flex: 1;
}
.lesson-editor-item__badge {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(184, 134, 42, 0.15);
  color: #b8862a;
}
.lesson-editor-item__edit {
  flex-shrink: 0;
}
.lesson-inline-form {
  background: rgba(184, 134, 42, 0.04);
  border-top: 1px solid #ddd5c4;
  padding: 1.25rem 0 1.5rem 3rem;
  margin-bottom: 0.5rem;
}
.lesson-inline-form .form-group {
  margin-bottom: 1rem;
}
.lesson-inline-form .form-group label {
  display: block;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: #5c4a32;
  margin-bottom: 0.3rem;
}
.lesson-inline-form .form-group input[type=text],
.lesson-inline-form .form-group textarea {
  width: 100%;
  max-width: 520px;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #ddd5c4;
  border-radius: 4px;
  padding: 0.5rem 0.75rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.88rem;
  color: #1a1208;
  outline: none;
}
.lesson-inline-form .form-group input[type=text]:focus,
.lesson-inline-form .form-group textarea:focus {
  border-color: #b8862a;
}
.lesson-inline-form .form-group textarea {
  resize: vertical;
}
.lesson-inline-form .contribute-form__check-row {
  max-width: 520px;
  margin-bottom: 1rem;
}
.lesson-inline-form .contribute-form__actions {
  margin-top: 0.75rem;
}
.btn--sm {
  font-size: 0.75rem;
  padding: 0.3rem 0.8rem;
}
.btn--outline {
  background: transparent;
  border: 1px solid #1a1208;
  color: #1a1208;
}
.btn--outline:hover {
  background: #1a1208;
  color: #fff;
}
.lesson-doc {
  display: block;
  width: 100%;
  min-width: 0;
}
.lesson-doc__headline {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border: none;
  border-bottom: 2px solid #ddd5c4;
  padding: 1.5rem 2rem;
  font: 700 2.4rem/1.3 'Cormorant Garamond', Georgia, serif, Georgia, serif;
  color: #1a1208;
  background: #faf6f0;
  outline: none;
  resize: none;
  overflow: hidden;
  transition: border-color 0.15s;
  -webkit-appearance: none;
  appearance: none;
}
.lesson-doc__headline:focus {
  border-bottom-color: #b8862a;
}
.lesson-doc__headline::placeholder {
  color: #ddd5c4;
  font-weight: 400;
}
.lesson-doc .tox-tinymce {
  border: none !important;
  border-radius: 0 !important;
}
.rte-wrap {
  border: 1px solid #ddd5c4;
  border-radius: 4px;
  overflow: hidden;
}
.rte-toolbar {
  background: #f5ede0;
  border-bottom: 1px solid #ddd5c4;
  padding: 0.35rem 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-wrap: wrap;
}
.rte-btn {
  background: none;
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 0.2rem 0.55rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.82rem;
  color: #5c4a32;
  cursor: pointer;
  line-height: 1.4;
  transition: background 0.1s, border-color 0.1s;
}
.rte-btn:hover {
  background: #faf6f0;
  border-color: #ddd5c4;
}
.rte-btn--active {
  background: #1a3d2b;
  color: #fff;
  border-color: #1a3d2b;
}
.rte-sep {
  display: inline-block;
  width: 1px;
  height: 1.2rem;
  background: #ddd5c4;
  margin: 0 0.25rem;
  vertical-align: middle;
}
.rte-body {
  background: #fff;
  min-height: 280px;
  padding: 1rem 1.1rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.92rem;
  color: #1a1208;
  line-height: 1.7;
  outline: none;
}
.rte-body:focus {
  box-shadow: inset 0 0 0 2px rgba(184, 134, 42, 0.35);
}
.rte-body h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #1a1208;
  margin: 1.2rem 0 0.4rem;
}
.rte-body h2:first-child {
  margin-top: 0;
}
.rte-body h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1208;
  margin: 1rem 0 0.3rem;
}
.rte-body p {
  margin: 0 0 0.8rem;
}
.rte-body p:last-child {
  margin-bottom: 0;
}
.rte-body ul,
.rte-body ol {
  padding-left: 1.6rem;
  margin: 0.5rem 0 0.8rem;
}
.rte-body ul li,
.rte-body ol li {
  margin-bottom: 0.25rem;
}
.rte-body a {
  color: #b8862a;
  text-decoration: underline;
}
.rte-body strong {
  font-weight: 700;
}
.rte-body em {
  font-style: italic;
}
.profile-page {
  padding: 3rem 0 5rem;
}
.profile-page__header {
  margin-bottom: 2.5rem;
}
.profile-page__header h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #1a1208;
}
.profile-page__warning {
  font-family: 'Inter', system-ui, sans-serif;
  color: #5c4a32;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}
.profile-page__warning a {
  color: #b8862a;
}
/*# sourceMappingURL=index.css.map */

/*# sourceMappingURL=academy.css.map*/