.fl-text {
  align-items: flex-start;
  display: flex;
  gap: 0.65rem;
  margin-block: 0.75rem;
}

.fl-text[dir="rtl"] {
  flex-direction: row;
}

.fl-text[dir="ltr"] {
  flex-direction: row;
}

.fl-speak {
  align-items: center;
  background: #eef4ff;
  border: 1px solid #bfd1f4;
  border-radius: 999px;
  color: #173b78;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  height: 2rem;
  justify-content: center;
  width: 2rem;
}

.fl-text-content {
  min-width: 0;
}

.fl-catalog {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.fl-level {
  border: 1px solid #d9e2ef;
  border-radius: 0.9rem;
  padding: 1.25rem;
}

.fl-level h2 {
  margin-top: 0;
}

.fl-coming-soon {
  color: #667085;
  font-size: 0.95rem;
}

.fl-hero {
  background: linear-gradient(135deg, #f1f6ff, #fff7ef);
  border-radius: 1.4rem;
  margin-bottom: 2rem;
  padding: clamp(2rem, 6vw, 5rem);
}

.fl-hero h1 {
  font-size: clamp(2.25rem, 6vw, 4.8rem);
  line-height: 1.02;
  margin: 0.3rem 0 1rem;
  max-width: 13ch;
}

.fl-kicker {
  color: #274c8d;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.fl-primary,
.fl-start-practice,
.fl-check-answer {
  background: #173b78;
  border: 0;
  border-radius: 0.65rem;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-weight: 700;
  padding: 0.8rem 1.1rem;
  text-decoration: none;
}

.fl-primary:hover,
.fl-start-practice:hover,
.fl-check-answer:hover {
  background: #0e2b5f;
  color: #fff;
}

.fl-practice {
  border-top: 2px solid #e6ebf2;
  margin-top: 3rem;
  padding-top: 2rem;
}

.fl-question {
  background: #fff;
  border: 1px solid #d9e2ef;
  border-radius: 0.9rem;
  margin: 1rem 0;
  padding: 1.25rem;
}

.fl-answer-control {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.fl-answer-control label {
  border: 1px solid #d9e2ef;
  border-radius: 0.55rem;
  cursor: pointer;
  padding: 0.75rem;
}

.fl-short-answer {
  box-sizing: border-box;
  max-width: 30rem;
  padding: 0.75rem;
  width: 100%;
}

.fl-feedback {
  margin-top: 0.8rem;
}

.fl-feedback.is-correct { color: #147a42; }
.fl-feedback.is-incorrect { color: #a12b2b; }

.fl-carnet table {
  border-collapse: collapse;
  width: 100%;
}

.fl-carnet th,
.fl-carnet td {
  border-bottom: 1px solid #e4e7ec;
  padding: 0.8rem;
  text-align: start;
}

.fl-notice {
  background: #fff8df;
  border-inline-start: 4px solid #d8a500;
  padding: 1rem;
}

.fl-language-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 2rem;
}

.fl-language-selector a {
  border: 1px solid #cfd8e7;
  border-radius: 999px;
  color: #173b78;
  padding: 0.55rem 0.85rem;
  text-decoration: none;
}

.fl-language-selector a.is-current {
  background: #173b78;
  color: #fff;
}

.fl-translation {
  background: #f8fafc;
  border-inline-start: 4px solid #6687bf;
  margin: 2rem 0;
  padding: 1rem 1.25rem;
}

.fl-lesson-actions {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  margin: 2rem 0;
}

.fl-complete-lesson {
  background: #eaf7ef;
  border: 1px solid #9cccad;
  border-radius: 0.6rem;
  color: #125c31;
  cursor: pointer;
  font-weight: 700;
  padding: 0.7rem 1rem;
}
